@charset "UTF-8";
@import url("//use.fontawesome.com/releases/v5.7.2/css/all.css");


/* =====================================================
   OP animation
===================================================== */

/* op02 */
@-webkit-keyframes slideUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(-15%);
            transform: translateY(-15%);
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(-15%);
            transform: translateY(-15%);
  }
}


/* op05 */
@-webkit-keyframes slideRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(-30%);
            transform: translateX(-30%);
  }
}

@keyframes slideRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(-30%);
            transform: translateX(-30%);
  }
}


/* hero */
@-webkit-keyframes slideDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(5%);
            transform: translateY(5%);
  }
}

@keyframes slideDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(5%);
            transform: translateY(5%);
  }
}


/* fade in */
@-webkit-keyframes fadeInall {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInall {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


/* fade out */
@-webkit-keyframes fadeOutall {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeOutall {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


/* =====================================================
   OP
===================================================== */

#top .wrap {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

#top .wrap .opening {
  position: relative;
  z-index: 50;
  width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  background: url("../img/index/op_bg.jpg") no-repeat center center;
  background-size: cover;
  text-align: center;
  overflow: hidden;
}

#top .wrap .opening .op-box {
  position: absolute;
  left: 0;
  top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
}

#top .wrap .opening .op-box .op-photo {
  position: absolute;
  left: 0;
  top: 0;
  min-width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
}

#top .wrap .opening .op-box .op-photo img {
  width: 100%;
  height: 100%;
  max-width: 300%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

#top .wrap .opening .op-box h3 {
  position: relative;
  z-index: 99;
  width: 94%;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 18px;
  font-size: 1.125rem;
  text-align: center;
  letter-spacing: 0.3rem;
  -webkit-filter: drop-shadow(0px 0px 5px #fff);
          filter: drop-shadow(0px 0px 5px #fff);
}

#top .wrap .opening .op-box h3.active {
  -webkit-animation: fadeInall 5s ease 0s forwards;
          animation: fadeInall 5s ease 0s forwards;
}


/* op01
----------------------------------------------------- */

#top .wrap .opening .op01 h2 {
  width: 50%;
}

#top .wrap .opening .op01 h3 {
  display: none;
  width: 80%;
  -webkit-filter: none;
          filter: none;
}


/* op02
----------------------------------------------------- */

#top .wrap .opening .op02 {
  background: #fff;
}

#top .wrap .opening .op02 h3 img {
  -webkit-filter: drop-shadow(0px 0px 5px #fff);
          filter: drop-shadow(0px 0px 5px #fff);
}

#top .wrap .opening .op02 .op-photo {
  height: 120vh;
  height: calc(var(--vh, 1vh) * 120);
}

#top .wrap .opening .op02.active .op-photo {
  -webkit-animation: slideUp 6s linear 0s forwards;
          animation: slideUp 6s linear 0s forwards;
}


/* op03
----------------------------------------------------- */

#top .wrap .opening .op03 {
  background: #fff;
}

#top .wrap .opening .op03 .photos {
  width: 100%;
  height: 100%;
}

#top .wrap .opening .op03 .photos .op-photo {
  position: static;
  width: 100%;
  height: 25vh;
  height: calc(var(--vh, 1vh) * 25);
  opacity: 0;
}

#top .wrap .opening .op03 .photos .photo01 img {
  -o-object-position: center 90%;
     object-position: center 90%;
}

#top .wrap .opening .op03 .photos .photo03 img {
  -o-object-position: center 80%;
     object-position: center 80%;
}

#top .wrap .opening .op03 .photos .photo04 img {
  -o-object-position: center 60%;
     object-position: center 60%;
}

#top .wrap .opening .op03.active .photos .op-photo.photo01 {
  -webkit-animation: fadeInall 3s linear 0.3s forwards;
          animation: fadeInall 3s linear 0.3s forwards;
}

#top .wrap .opening .op03.active .photos .op-photo.photo02 {
  -webkit-animation: fadeInall 3s linear 0.6s forwards;
          animation: fadeInall 3s linear 0.6s forwards;
}

#top .wrap .opening .op03.active .photos .op-photo.photo03 {
  -webkit-animation: fadeInall 3s linear 0.9s forwards;
          animation: fadeInall 3s linear 0.9s forwards;
}

#top .wrap .opening .op03.active .photos .op-photo.photo04 {
  -webkit-animation: fadeInall 3s linear 1.2s forwards;
          animation: fadeInall 3s linear 1.2s forwards;
}


/* op04
----------------------------------------------------- */

#top .wrap .opening .op04 .photos {
  display: none;
  width: 100%;
  height: 100%;
}

#top .wrap .opening .op04 .photos div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
  width: 100%;
  height: 100%;
}

#top .wrap .opening .op04 .photos div h3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  height: 40%;
  opacity: 0;
}

#top .wrap .opening .op04 .photos div h3 img {
  width: 40%;
  margin-top: 10%;
}

#top .wrap .opening .op04 .photos div .op-photo {
  position: static;
  height: 60vh;
}

#top .wrap .opening .op04 .photos div.show .op-photo {
  -webkit-animation: fadeInall 3s linear 0s forwards;
          animation: fadeInall 3s linear 0s forwards;
}

#top .wrap .opening .op04 .photos div.show h3 {
  -webkit-animation: fadeInall 3s linear 1s forwards;
          animation: fadeInall 3s linear 1s forwards;
}

#top .wrap .opening .op04 .photos div.photo02 {
  display: none;
}


/* op05
----------------------------------------------------- */

#top .wrap .opening .op05 h3 {
  width: 70%;
}

#top .wrap .opening .op05 .op-photo {
  width: 150%;
  opacity: 0;
}

#top .wrap .opening .op05.active h3 {
  -webkit-animation: fadeOutall 2s linear 5s forwards;
          animation: fadeOutall 2s linear 5s forwards;
}

#top .wrap .opening .op05.active .op-photo {
  -webkit-animation: slideRight 8s linear 5s forwards;
          animation: slideRight 8s linear 5s forwards;
}


/* hero
----------------------------------------------------- */

#top .wrap .opening .hero {
  display: block;
  height: 100%;
  background: #fff;
}

#top .wrap .opening .hero h2 {
  position: relative;
  z-index: 999;
  width: 80%;
  margin-top: -35%;
  opacity: 0;
}

#top .wrap .opening .hero .hero-photo {
  position: absolute;
  left: 0;
  bottom: 0;
  min-width: 100%;
  height: 120vh;
  height: calc(var(--vh, 1vh) * 120);
  opacity: 0;
}

#top .wrap .opening .hero .hero-photo img {
  width: 100%;
  height: 100%;
  max-width: 300%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center bottom;
     object-position: center bottom;
}

#top .wrap .opening .hero.active h2 {
  -webkit-animation: fadeInall 3s linear 6s forwards;
          animation: fadeInall 3s linear 6s forwards;
}

#top .wrap .opening .hero.active .hero-photo {
  -webkit-animation: slideDown 5s linear 0s forwards;
          animation: slideDown 5s linear 0s forwards;
}


/* 初期非表示
----------------------------------------------------- */

#top .wrap .opening .op01,
#top .wrap .opening .op02,
#top .wrap .opening .op03,
#top .wrap .opening .op04,
#top .wrap .opening .op05,
#top .wrap .opening .hero {
  display: none;
}


/* =====================================================
   PC
===================================================== */

@media only screen and (min-width: 961px) {

  #top .wrap .opening {
    height: 100vh;
  }

  #top .wrap .opening .op-box h3 {
    font-size: 26px;
    font-size: 1.625rem;
  }

  #top .wrap .opening .op01 h2 {
    width: 250px;
  }

  #top .wrap .opening .op01 h3 {
    width: 50%;
  }

  #top .wrap .opening .op02 h3 {
    width: 65%;
  }

  #top .wrap .opening .op03 .photos {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }

  #top .wrap .opening .op03 .photos .op-photo {
    width: 50%;
    height: 50vh;
    min-width: auto;
  }

  #top .wrap .opening .op04 h3 {
    width: 60%;
  }

  #top .wrap .opening .op04 .photos {
    width: 100%;
    height: 100%;
  }

  #top .wrap .opening .op04 .photos div {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }

  #top .wrap .opening .op04 .photos div h3 {
    width: 40%;
  }

  #top .wrap .opening .op04 .photos div h3 img {
    width: 40%;
  }

  #top .wrap .opening .op04 .photos div .op-photo {
    position: static;
    width: 60%;
    height: 100%;
    min-width: auto;
  }

  #top .wrap .opening .op04 .photos div.photo02 {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }

  #top .wrap .opening .op05 h3 {
    width: 35%;
  }

  #top .wrap .opening .hero h2 {
    position: absolute;
    right: 5%;
    top: 15%;
    width: 25%;
    margin: 0;
  }
}


/* =====================================================
   Tablet
===================================================== */

@media screen and (min-width: 600px) and (max-width: 960px) {

  #top {
    font-size: 16px;
    font-size: 1rem;
  }

  #top .wrap .opening .op01 h2 {
    width: 250px;
  }

  #top .wrap .opening .op02 h3 {
    width: 70%;
  }

  #top .wrap .opening .op04 .photos div h3 img {
    width: 30%;
  }

}