@charset "UTF-8";
.swiper {
  width: 100%;
  height: calc(100dvh - 60px);
}
@media screen and (min-width: 769px) {
  .swiper {
    height: calc(100dvh - 100px);
  }
}
.swiper .swiper-slide {
  position: relative;
}
.swiper .swiper-slide:nth-child(1) {
  background-image: url("/image/top01.jpg");
  background-size: cover;
}
.swiper .swiper-slide:nth-child(2) {
  background-image: url("/image/top02.jpg");
  background-size: cover;
}
.swiper .swiper-slide:nth-child(3) {
  background-image: url("/image/top03.jpg");
  background-size: cover;
}
.swiper .swiper-slide:nth-child(4) {
  background-image: url("/image/top04.jpg");
  background-size: cover;
}
.swiper .swiper-slide .title, .swiper .swiper-slide .subtitle {
  opacity: 0; /* 初期状態を透明にする */
}
.swiper .swiper-slide-active .title, .swiper .swiper-slide-active .subtitle {
  opacity: 1; /* アクティブスライド時に表示 */
  animation-duration: 3s;
  animation-timing-function: ease;
  animation-fill-mode: both;
}
.swiper .swiper-slide-active .title {
  animation-name: slide-down;
}
.swiper .swiper-slide-active .subtitle {
  animation-name: slide-up;
}

@keyframes slide-down {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slide-up {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/*# sourceMappingURL=swiper.css.map */
