@charset "utf-8";

/*========= 背景動画設定のCSS ===============*/


/*header設定*/

#mv_header {
  position: relative;
  height: 100vh;
  text-align: center;
  color: #fff;
  background: url("../img/movie.jpg") no-repeat;
  background-size: cover;
}


/* ローディングアイコン設定 */

#loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
}


/*jQueryで付与されたdisappearクラスがついたらロゴエリアを非表示*/

#loading.disappear {
  display: none;
}

.main_copy_img {
  width: 100%;
}

@media only screen and (max-width: 768px) {
  .main_copy_img {
    width: 100%!important;
  }
}

#youtube-area {
  position: fixed;
  z-index: -99999;
  /*最背面に設定*/
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 0;
}


/*jQueryで付与されたappearクラスがついたらYoutubeエリアをふわっと表示*/

#youtube-area.appear {
  animation-name: PageAnimeAppear;
  animation-duration: .5s;
  animation-fill-mode: forwards;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#youtube {
  /*天地中央配置*/
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /*縦横幅指定*/
  width: 177.77777778vh;
  /* 16:9 の幅→16 ÷ 9＝ 177.77% */
  height: 56.25vw;
  /* 16:9の幅 → 9 ÷ 16 = 56.25% */
  min-height: 100%;
  min-width: 100%;
}


/*youtubeがクリックされないためのマスク*/

#youtube-mask {
  position: absolute;
  z-index: 2;
  /*下から2番目に表示*/
  top: 0;
  width: 100%;
  height: 100%;
}

h1 {
  position: absolute;
  z-index: 2;
  top: 75%;
  left: 33%;
  transform: translateY(-50%) translateX(-50%);
  width: 50%!important;
}

@media only screen and (max-width: 768px) {
  h1 {
    position: absolute;
    z-index: 9;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    width: 65%!important;
  }
}