@charset "utf-8";

.swiper {
  position: relative;
  width: 100%;
  max-width: 1920px;
  max-height: 740px;
  margin: 0 auto;
  overflow: hidden;
}

/* .swiper::after{
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: #fff;
} */

/* スライドを重ねるため高さを指定 */
.swiper-wrapper {
  height: 740px;
}

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

.swiper-slide-active .swiper-img,
.swiper-slide-duplicate-active .swiper-img,
.swiper-slide-prev .swiper-img {
  animation: zoomUp 7s linear 0s normal both;
}

.swiper-slide {
  margin: auto;
}

.swiper-slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.mainContent {
  position: relative;
}

.mainContent .mvText {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
}

@media screen and (max-width: 768px) {
  .swiper {
    max-height: 585px;
  }
  .swiper::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 50%;
    width: 100%;
    background-image: linear-gradient(0deg, #ffffff 22%, transparent);

    z-index: 9;
  }

  .mainContent .mvText {
    top: 47%;
  }
}
