/* ==========================================================================
   Section: Hero
   ADVANCE v2
   ========================================================================== */

.s-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* ---------- Single image ---------- */
.s-hero__image {
  position: relative;
  width: 100%;
}

.s-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px;
  max-height: 90vh;
}

.s-hero__image--sp {
  display: none;
}

/* ---------- Slider (Swiper) ---------- */
.s-hero__slider {
  position: relative;
  width: 100%;
}

.s-hero__slider .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px;
  max-height: 90vh;
}

.s-hero__slider .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
  width: 10px;
  height: 10px;
  transition: opacity var(--transition-fast);
}

.s-hero__slider .swiper-pagination-bullet-active {
  opacity: 1;
}

/* ---------- Video ---------- */
.s-hero__video {
  position: relative;
  width: 100%;
  min-height: 400px;
  max-height: 90vh;
  overflow: hidden;
}

.s-hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* ---------- Overlay ---------- */
.s-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Text content ---------- */
.s-hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.s-hero__catch {
  font-family: var(--font-family);
  font-weight: var(--font-weight-heading);
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  line-height: 1.4;
  margin-bottom: 0.5em;
}

.s-hero__sub {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  line-height: 1.6;
}

/* Slide individual text */
.s-hero__slide-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.s-hero__slide-catch {
  font-weight: var(--font-weight-heading);
  font-size: clamp(1.3rem, 3.5vw, 2.5rem);
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  line-height: 1.4;
  margin-bottom: 0.3em;
}

.s-hero__slide-sub {
  font-size: clamp(0.85rem, 1.3vw, 1.1rem);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .s-hero__image img,
  .s-hero__slider .swiper-slide img {
    min-height: 300px;
    max-height: 70vh;
  }

  .s-hero__video {
    min-height: 300px;
  }

  .s-hero__image--pc {
    display: none;
  }

  .s-hero__image--sp {
    display: block;
  }
}
