@charset "utf-8";
/*===========================================================*/
/* ロゴアウトラインアニメーション
/*===========================================================*/
/* Loading背景画面設定 */
#splash {
  position: fixed;/*fixedで全面に固定*/
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: #e94710;
  text-align: center;
  color: #fff;
}
#splash_logo {/* Loading画像中央配置 */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#splash_logo svg {/* Loading アイコンの大きさ設定 */
  width: 100px;
}
/*===========================================================*/
/* 背景色が伸びる（右から左）
/*===========================================================*/
/*========= 画面遷移用CSS ===============*/
/*画面遷移アニメーション*/
.splashbg {
  display: none;
}
/*bodyにappearクラスがついたら出現*/
body.appear .splashbg {
  display: block;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  transform: scaleX(0);
  background-color: #e94710; /*伸びる背景色の設定*/
  animation-name: PageAnime;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
@keyframes PageAnime {
  0% {
    transform-origin: right;
    transform: scaleX(0);
  }
  50% {
    transform-origin: right;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: left;
  }
  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
}
#container {/*画面遷移の後現れるコンテンツ設定*/
  opacity: 0; /*はじめは透過0に*/
}
body.appear #container {/*bodyにappearクラスがついたら出現*/
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*=============== SVGアニメーション内の指定 =================*/
/*アニメーション前の指定*/
#mask path {
  fill-opacity: 0; /*最初は透過0で見えない状態*/
  transition: fill-opacity .3s; /*カラーがつく際のアニメーション0.5秒で変化*/
  fill: none; /*塗りがない状態*/
  stroke: #fff; /*線の色*/
}
/*アニメーション後に.doneというクラス名がで付与された時の指定*/
#mask.done path {
  fill: #fff; /*塗りの色*/
  fill-opacity: 1; /*透過1で見える状態*/
  stroke: none; /*線の色なし*/
}

/*===========================================================*/
/* クリックしたら円形背景が拡大（下から）
/*===========================================================*/
/*========= ナビゲーション ===============*/
@media screen and (max-width:990px) {
  /*アクティブになったエリア*/
  #g-nav.panelactive {
    width: 100%;
    height: 100vh;
  }
  /*丸の拡大*/
  .circle-bg {
    position: fixed;
    z-index: 3;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #e94710;
    /*丸のスタート位置と形状*/
    transform: scale(0); /*scaleをはじめは0に*/
    bottom: -50px;
    left: calc(50% - 50px); /*50%から円の半径を引いた値*/
    transition: all .6s;
  }
  .circle-bg.circleactive {
    transform: scale(50); /*クラスが付与されたらscaleを拡大*/
  }
  /*ナビゲーションの縦スクロール*/
  #g-nav-list {
    display: none; /*はじめは表示なし*/
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  #g-nav.panelactive #g-nav-list {
    display: block; /*クラス付与で出現*/
  }
  /*ナビゲーション*/
  #g-nav ul {
    opacity: 0; /*はじめは透過0*/
    /*ナビゲーション天地中央*/
    position: absolute;
    z-index: 999;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
  }
  /*背景出現後にナビゲーション表示*/
  #g-nav.panelactive ul {
    opacity: 1;
  }
  /* 背景出現後にナビゲーション li を表示*/
  #g-nav.panelactive ul li {
    animation-name: gnaviAnime;
    animation-duration: 1s;
    animation-delay: .2s; /*0.2 秒遅らせて出現*/
    animation-fill-mode: forwards;
    opacity: 0;
  }
}
@keyframes gnaviAnime {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/*===========================================================*/
/* ハンバーガーメニュー
/*===========================================================*/
.openbtn {
  display: none;
}
@media screen and (max-width:990px) {
/*===========================================================*/
/* MENUが×に
/*===========================================================*/
  /*ボタン外側*/
  .openbtn {
    display: block;
    position: fixed;
    z-index: 9999;
    cursor: pointer;
    top: 10px;
    right: 10px;
    width: 55px;
    height: 55px;
    background: #999;
    border: 1px solid #fff;
    opacity: 0.7;
  }
  /*ボタン内側*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    color: #fff;
  }
  .openbtn span:nth-of-type(1), .openbtn span:nth-of-type(3) {
    height: 1px;
    background: #fff;
    width: 62%;
    left: 10px;
  }
  .openbtn span:nth-of-type(1) {
    top: 13px;
  }
  .openbtn span:nth-of-type(2) {
    top: 19px;
    left: 9px;
    font-size: 0.55rem;
    text-transform: uppercase;
    color: #fff;
  }
  .openbtn span:nth-of-type(3) {
    top: 41px;
  }
  /*activeクラス付与後に線が回転して×に、Menu表記2つ目の要素が透過して消える*/
  .openbtn.active span:nth-of-type(1) {
    top: 22px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 34px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
}

/*===========================================================*/
/* 縦線が動いてスクロールを促す
/*===========================================================*/
/* スクロールダウン全体の場所 */
.scrolldown1 {
  position: absolute;
  left: 50%;
  top: -40px;
  height: 80px;
}
_::-webkit-full-page-media, _:future, :root .scrolldown1 {
  bottom: 0vh;
  }
/* 線の描写 */
.scrolldown1::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 80px;
  background: #e94710;
  animation: pathmove 1.8s ease-in-out infinite;/*線の動き1.8秒かけて動く。ループ*/
  opacity: 0;
}
@keyframes pathmove {/*高さ・位置・透過が変化して線が上から下に動く*/
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 60px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 80px;
    opacity: 0;
  }
}
@media screen and (max-width:420px) {
  .scrolldown1 {
    margin-top: -5em;
    height: 40px;
  }
}

/*===========================================================*/
/* ボタン
/*===========================================================*/
button {
  position: relative;
  display: block;
  width: 75%;
  outline: none;
  cursor: pointer;
  border: none;
  margin: 2em auto 0;
  padding: 1rem 0;
  letter-spacing: 0.05rem;
  font-size: 24px;
  font-weight: 700;
  border-radius: 500px;
  overflow: hidden;
  background: #d51401;
  color: #fff;
  line-height: 1.2;
}
button .btnTxt {
  position: relative;
  z-index: 10;
  transition: color 0.4s;
  padding-right: 12%;
  background: url("../img/arrow_btn.svg") no-repeat right center;
  background-size: 8%;
}
button:hover .btnTxt {
 color: #fff;
}
button .btnTxt .block {
  display: inline-block;
  white-space: nowrap;
}
button::before,
button::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
button::before {
  content: "";
  padding: 0.9rem 0;
  background: #e94710;
  width: 120%;
  left: -10%;
  transform: skew(30deg);
  transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
}
button:hover::before {
 transform: translate3d(100%, 0, 0);
}
@media screen and (max-width:990px) {
  button {
    margin: 1em auto 0;
    padding: 0;
    width: 95%;
    font-size: 24px;
    letter-spacing: 0;
  }
}
@media screen and (max-width:420px) {
  button {
    margin: 1em auto 0;
    padding: 1em 0;
    width: 95%;
    font-size: 16px;
    letter-spacing: 0;
  }
  button .btnTxt .block {
    margin: 0;
    padding: 0;
  }
}

/*===========================================================*/
/* ページの指定の高さを超えたら出現、フッター手前で止まる*/
/*===========================================================*/
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  color: #6C6C6C;
  border: 1px solid #fff;
  transition: all 0.3s;
}
@media screen and (min-width:769px) {
  #page-top a:hover {
    background: #777;
  }
}
#page-top {
  position: fixed;/*リンクを右下に固定*/
  right: 10px;
  z-index: 2;
  cursor: pointer;
  opacity: 0;/*はじめは非表示*/
  transform: translateY(100px);
  background: #ccc;
  mix-blend-mode: multiply;
}
#page-top.UpMove {/* 上に上がる動き */
  animation: UpAnime 0.5s forwards;
  animation-delay: 0s;
}
@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#page-top.DownMove {/* 下に下がる動き */
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(100px);
  }
}

/*===========================================================*/
.visual {
  position: relative;
  z-index: 1;/*z-indexの値をh1のz-indexの値よりも小さくして背景に*/
  height: 90vh; /*スライダー全体の高さ90vhに*/
}
/* 背景画像設定 */
/*.visual-item01 {
  background: url(../img/main_01.jpg);
}*/
/*.slider-item02 {
  background: url(../img/main_01.jpg);
}
.slider-item03 {
  background: url(../img/main_01.jpg);
}*/
.visual-item {
  width: 100%; /*各スライダー全体の横幅を画面の幅いっぱい（100%）に*/
  height: 90vh; /*各スライダー全体の高さを90vhに*/
  background: url(../img/main.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /*背景画像が.slider-item全体を覆う*/
  border-bottom: 6px solid #e94710;
}
@media screen and (max-width:420px) {
  .visual-item {
    background: url(../img/main-sp.jpg);
    background-size: cover;
  }
}

/*===========================================================*/
/* アニメーションライブラリ
/*===========================================================*/
/* じわっ（ぼかしから出現）*/
.blur {
  animation-name: blurAnime;
  animation-duration: 0.7s;
  animation-fill-mode: forwards;
}
@keyframes blurAnime {
  from {
    filter: blur(10px);
    transform: scale(1.02);
    opacity: 0;
  }
  to {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
  }
}
.blurTrigger {
  opacity: 0;/* スクロールをしたら出現する要素にはじめに透過0を指定 */
}

/*==================================================
SVG アニメーション
===================================*/
.svganimeblock svg {
  width: 100%; /*SVGのサイズ*/
}
/*アニメーション前の指定*/
.svganimeblock svg path {
  fill-opacity: 0; /*最初は透過0で見えない状態*/
  transition: fill-opacity .3s; /*カラーがつく際のアニメーション0.5秒で変化*/
  fill: none; /*塗りがない状態*/
  stroke: #fff; /*線の色*/
}
/*アニメーション後に.doneというクラス名が付与された時の指定*/
.svganimeblock svg.done path {
  fill: #fff; /*塗りの色*/
  fill-opacity: 1; /*透過1で見える状態*/
  stroke: none; /*線の色なし*/
}