/* ==========================================================================
   Hero / Main Visual
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #003D7A 0%, #005BAC 45%, #1A7FD4 80%, #00A8E8 100%);
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__slider-track {
  display: flex;
  width: 200%;
  height: 100%;
  animation: hero-slide-track 25s linear infinite;
}

.hero__slider-item {
  flex: 0 0 33.333%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__slider-item--gradient {
  background-image: none;
}

.hero__slider-item--gradient-1 {
  background: linear-gradient(160deg, #003D7A 0%, #005BAC 50%, #1A7FD4 100%);
}

.hero__slider-item--gradient-2 {
  background: linear-gradient(160deg, #004080 0%, #0066A0 50%, #00A8E8 100%);
}

.hero__slider-item--gradient-3 {
  background: linear-gradient(160deg, #002D5C 0%, #005BAC 50%, #0080C0 100%);
}

.hero__slider-item--gradient-4 {
  background: linear-gradient(160deg, #005BAC 0%, #0070B8 50%, #00A8E8 100%);
}

@keyframes hero-slide-track {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 背景画像の上に重ねる暗いオーバーレイ（文字を読みやすく・ほんの少し明るめ） */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,40,80,.18) 0%, rgba(0,30,60,.38) 50%, rgba(0,25,50,.52) 100%),
    radial-gradient(ellipse 80% 60% at 60% 50%, rgba(0,168,232,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 2;
}

.hero__wave svg { width: 100%; height: auto; display: block; }

.hero__wave-inner { opacity: 0.9; }

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 80px 120px;
  display: grid;
  gap: 40px;
}

.hero__content {
  color: var(--color-white);
  text-shadow: 0 1px 2px rgba(0,0,0,.25), 0 2px 8px rgba(0,0,0,.35);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,.6);
}

.hero__title {
  margin-bottom: 28px;
  font-weight: var(--fw-bold);
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0,0,0,.4), 0 4px 12px rgba(0,0,0,.3);
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  line-height: 1.25;
}

.hero__title-line {
  display: block;
}

/* 1行目：リード・やや小さめ */
.hero__title-lead {
  font-size: clamp(1.125rem, 3.5vw, 1.5rem);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.95);
}

/* 2行目：メイン・一番大きく強調 */
.hero__title-main {
  font-size: clamp(2.25rem, 9vw, 4rem);
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  color: #E8F7FC;
  text-shadow: 0 2px 8px rgba(0,0,0,.45), 0 4px 16px rgba(0,0,0,.35);
  line-height: 1.15;
}

/* 3行目：締め・中くらいのサイズ */
.hero__title-tag {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  color: var(--color-white);
}

.hero__desc {
  font-size: clamp(.875rem, 2.5vw, 1.0625rem);
  line-height: 1.9;
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
  max-width: 480px;
  text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 2px 6px rgba(0,0,0,.3);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__actions .btn {
  text-shadow: none;
}

.hero__stats {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}

.hero__stat { text-align: center; }

.hero__stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}

.hero__stat-label {
  font-size: .6875rem;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
  letter-spacing: .04em;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
