/* スクロールアニメーション */
html{
  scroll-padding-top: 50px;
  scroll-behavior: smooth;
}
/* ナビゲーションメニュー */
.nav_area.slide-in{      
    transform: translateX(0);      
  }

.batu_button.slide-in{      
    transform: translateX(0);      
}
/* ナビゲーション モーダルウィンドウ */
.nav_modal{
  visibility: hidden;
  opacity: 0;
  background-color: rgba(0,0,0,0.7);
  width: 100vw;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  transition: all 0.3s ease-in-out;
}
.nav_modal.modalVisual{
  visibility: visible;
  opacity: 1;
  z-index: 98;
}
/* ナビゲーションを左スクロールした時に矢印を消す */
.hide{
  opacity: 0;
  transition: .3s;
}

/* ページトップ */
.pagetop_Link{
  width: 8%;
  min-width: 100px;
  position: absolute;
  bottom: -8px;
  right: 8%;
  cursor: pointer;
}
.pagetop_icon{
  width: 100%;
}
@media screen and (max-width: 640px){
  .pagetop_Link{
    width: 20%;
    bottom: -12px;
  }
}

/* オープニングアニメーション */
.opening {
  background-image: url(../images/opening_bg.png); 
  background-size: 600% 600%;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  -webkit-animation-duration: 0s;
  animation-duration: 0s;
  transform: translateX(0);
  z-index: 99999;
}

.opening.active{
  transform: translateX(100%);
  transition: 0.6s;
  animation-name: gradient;
  animation-duration: 4s;
  animation-iteration-count: infinite;
}

.wrap {
  position: relative;
  width: 100%;
  
}

.logo_01{
  position: absolute;
  opacity: 0;
  top: 50%;
  left: 40%;
  transform: translate(-50%,-50%);
  width: 20%;
  height: auto;
  margin: 0 auto;
}

.logo_01 img{
  width: 100%;
  height: auto;
}

.logo_01.active{
  animation-name: opening_01;
  animation-duration: 3.0s;
  animation-fill-mode: both;
}

.logo_02{
  position: absolute;
  opacity: 0;
  top: 50%;
  left: 27.5%;
  transform: translateY(-50%);
  width: 45%;
  height: auto;
  margin: 0 auto;
}

.logo_02.active{
  animation-name: opening_02;
  animation-duration: 4s;
  animation-fill-mode: both;
}

.logo_02 img{
  width: 100%;
  height: auto;
}

@media screen and (max-width: 640px){
  .logo_01{
    left: 25%;
    width: 50%;
  }
  .logo_02{
    left: 10%;
    width: 80%;
  }
}

@keyframes gradient{
  0%{
      background-position: 0% 50%;
  }
  50%{
      background-position: 100% 50%;
  }
  100%{
      background-position: 0% 50%;
  }
}

@keyframes opening_01{
  0%{
    opacity: 0;
    transform: translateY(0);
  }
  30%{
    opacity: 1;
    transform: translateY(-50%);
  }
  70%{
    opacity: 1;
    transform: translateY(-50%);
  }
  100%{
    opacity: 0;
    transform: translateY(-100%);
  }
}

@keyframes opening_02{
  0%{
    opacity: 0;
    transform: translateY(0);
  }
  30%{
    opacity: 1;
    transform: translateY(-50%);
  }
  100%{
    opacity: 1;
    transform: translateY(-50%);
  }
}

/* .works_middle_container .works_content.ready{
    opacity: 1;
    transform: translate(-50%, -50%);
}

.works_middle_container .works_bg.ready{
    opacity: 0.5;
} */


/* フェードインアニメーション */
@keyframes fadeInUp {
  0% {
      opacity: 0;
      -webkit-transform: translate3d(0, 20%, 0);
      transform: translate3d(0, 20%, 0);
  }

  100% {
      opacity: 1;
      -webkit-transform: none;
      transform: none;
  }
}

  .fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
  }

  @keyframes fadeUpMain {
    0% {
        opacity: 0;
        top: 80%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
  
    100% {
        opacity: 1;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
  }
  
    .fadeUpMain {
    -webkit-animation-name: fadeUpMain;
    animation-name: fadeUpMain;
    }

  #service .service_title,
  #message .service_title,
  #works .service_title,
  #company .service_title,
  #youtube .service_title,
  #service .big_container_text,
  #message .big_container_text,
  #works .service_content_wrap,
  #company .big_container_text,
  .concept_description{
    opacity: 0;
    animation-duration: 0.7s;
    animation-fill-mode: both;
  }

  #service .big_container_text,
  #message .big_container_text,
  #works .service_content_wrap,
  #company .big_container_text{
    opacity: 0;
    animation-duration: 0.7s;
    animation-fill-mode: both;
  }

  .title-line.ready{
    transition-duration: 0.7s;
    transition-delay: 0.5s;
    transform: scaleX(1);
  }