@charset "UTF-8";

/* top-fv.css */
.p-top-fv {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 31.25rem;
  border-block: 1px solid #f3f3f3;
}

@media (min-width: 768px) {
  .p-top-fv {
    height: 708px;
  }
}

.p-top-fv::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

.p-top-fv__inner {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 3.125rem;
  padding-inline: 1.5625rem;
}

@media (min-width: 768px) {
  .p-top-fv__inner {
    padding-inline: 4.375rem;
    bottom: 5.3125rem;
  }
}

.p-top-fv__lead {
  color: #ffffff;
  font-size: max(0.8125rem, 10.4px);
}

@media (min-width: 0px) {
  .p-top-fv__lead {
    font-size: 0.8125rem;
  }
}

.p-top-fv__lead {
  font-weight: 500;
  line-height: 1.5384615385;
  letter-spacing: 0.0023076923em;
  max-width: 20rem;
}

@media (min-width: 768px) {
  .p-top-fv__lead {
    font-size: max(1rem, 12.8px);
    font-weight: 500;
    line-height: 1.5625;
    letter-spacing: 0.001875em;
  }
}

@media (min-width: 768px) and (min-width: 0px) {
  .p-top-fv__lead {
    font-size: 1rem;
  }
}

.p-top-fv__heading {
  color: #ffffff;
  font-family: "Lato", sans-serif;
  margin-block-start: 0.75rem;
  font-size: max(1.625rem, 20.8px);
}

@media (min-width: 0px) {
  .p-top-fv__heading {
    font-size: 1.625rem;
  }
}

.p-top-fv__heading {
  font-weight: 700;
  line-height: 1.3846153846;
  letter-spacing: 0.0011538462em;
}

@media (min-width: 768px) {
  .p-top-fv__heading {
    font-size: max(2.375rem, 30.4px);
    font-weight: 700;
    line-height: 1.4736842105;
    letter-spacing: 0.0007894737em;
  }
}

@media (min-width: 768px) and (min-width: 0px) {
  .p-top-fv__heading {
    font-size: 2.375rem;
  }
}

/*----------------------------------
  swiper（参考実装のフェード＋拡大演出）
-----------------------------------*/
.p-top-fv__swiper-container {
  position: relative;
  z-index: 1;
  height: inherit;
}

.p-top-fv__swiper {
  height: inherit;
}

.p-top-fv__swiper .swiper-slide {
  opacity: 0.2;
}

.p-top-fv__swiper .swiper-slide-active {
  opacity: 1;
}

.p-top-fv__swiper .swiper-slide img {
  width: 100%;
  height: inherit;
  object-fit: cover;
  transform: translateY(40px) scale(1.1);
  opacity: 0.2;
  transition: transform 5.5s linear, opacity 1s ease;
}

.p-top-fv__swiper .swiper-slide-active img {
  transform: translateY(0) scale(1.2);
  opacity: 1;
}

/*----------------------------------
  ＣＭＳ管理画面用
-----------------------------------*/
.p-top-fv__swiper-container .swiper-wrapper {
  display: flex;
}