@charset "UTF-8";
.swiper-slide {
  /* 表示させる高さの調整 */
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.swiper-slide .main-visual {
  width: 100%;
  height: 100%;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 10% 50%;
     object-position: 10% 50%;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: -webkit-transform 9s ease;
  transition: -webkit-transform 9s ease;
  transition: transform 9s ease;
  transition: transform 9s ease, -webkit-transform 9s ease;
}

.swiper-slide-active .hero__title {
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  opacity: 1;
}

.swiper-slide-active .hero__title-image {
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  opacity: 1;
}

.hero {
  overflow: hidden;
}

.hero__title {
  position: absolute;
  top: 47%;
  left: 21%;
  color: #000;
  letter-spacing: 1.2;
  text-align: center;
  width: 90vw;
  -webkit-transform: translate(-50%, 20px);
          transform: translate(-50%, 20px);
  -webkit-transition: opacity 1.2s ease 1.5s, -webkit-transform 1.2s ease 1.5s;
  transition: opacity 1.2s ease 1.5s, -webkit-transform 1.2s ease 1.5s;
  transition: opacity 1.2s ease 1.5s, transform 1.2s ease 1.5s;
  transition: opacity 1.2s ease 1.5s, transform 1.2s ease 1.5s, -webkit-transform 1.2s ease 1.5s;
  z-index: 1;
  opacity: 0;
  -webkit-animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate;
          animation: wobbling_x 0.8s ease-in-out infinite alternate, wobbling_y 1.1s ease-in-out infinite alternate;
}

.hero__title h2 {
  font-size: 60px;
  text-shadow: 2px 2px 2px #FFF, -2px -2px 2px #FFF, -2px 2px 2px #FFF, 2px -2px 2px #FFF, 2px 2px 2px #FFF,  2px -2px 2px #FFF, -2px 2px 2px #FFF, 2px 2px 2px #FFF !important;
  line-height: 2em;
}

.hero__title span {
  display: block;
}

.hero__title-image {
  position: absolute;
  bottom: 25%;
  left: 20%;
  width: 600px;
  -webkit-transform: translate(-50%, 20px);
          transform: translate(-50%, 20px);
  -webkit-transition: opacity 1.2s ease 2.5s, -webkit-transform 1.2s ease 2.5s;
  transition: opacity 1.2s ease 2.5s, -webkit-transform 1.2s ease 2.5s;
  transition: opacity 1.2s ease 2.5s, transform 1.2s ease 2.5s;
  transition: opacity 1.2s ease 2.5s, transform 1.2s ease 2.5s, -webkit-transform 1.2s ease 2.5s;
  opacity: 0;
  z-index: 1;
  -webkit-animation: wobbling_x 0.7s ease-in-out infinite alternate, wobbling_y 1.2s ease-in-out infinite alternate;
          animation: wobbling_x 0.7s ease-in-out infinite alternate, wobbling_y 1.2s ease-in-out infinite alternate;
}

@-webkit-keyframes wobbling_x {
  0% {
    margin-left: 5px;
  }
  100% {
    margin-left: 0px;
  }
}

@keyframes wobbling_x {
  0% {
    margin-left: 5px;
  }
  100% {
    margin-left: 0px;
  }
}

@-webkit-keyframes wobbling_y {
  0% {
    margin-top: 0px;
  }
  100% {
    margin-top: 5px;
  }
}

@keyframes wobbling_y {
  0% {
    margin-top: 0px;
  }
  100% {
    margin-top: 5px;
  }
}

/* *****************************************************************

Stylesheet: ベーススタイル（全て）に適応

******************************************************************/
@media (max-width: 1023px) {
  /******************************************************************

Stylesheet: 1023px以下（タブレット）で適用

******************************************************************/
  /* ヒーロースライダー */
  .hero__title h2 {
    font-size: 32px;
  }
  .hero .swiper-slide {
    height: 80vh;
  }
}

@media (max-width: 639px) {
  /******************************************************************

Stylesheet: 639px以下(スマホ)で適用

******************************************************************/
  /* ヒーロースライダー */
  .hero__title {
    top: 15%;
  }
  .hero__title h2 {
    font-size: 24px;
  }
  .hero__btn {
    bottom: 20%;
  }
  .hero__btn a {
    /* ボタンのサイズを小さく */
    width: 180px;
    height: 45px;
  }
}
/*# sourceMappingURL=style.css.map */