/* Hero — spec/v2/hero.md (1440x720, pad 84/88) */
.hero {
  position: relative;
  height: 720px;
  padding: 84px 88px;
  overflow: hidden;
  background: #eef3f8;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9608) 0%, rgba(255, 255, 255, 0.3137) 50%, rgba(255, 255, 255, 0.0392) 100%);
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 1264px;
  margin-top: -55px; /* measured against the Figma export: headline sits 29px below the hero top */
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 690px;
  max-width: 100%;
}

.hero__headline {
  font-weight: 400;
  font-size: 60px;
  line-height: 1.35;
  letter-spacing: -0.004em; /* panel "-240%"; measured line width matches ≈ -0.4% */
  color: var(--color-ink);
}

.hero__sub {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.65;
  color: var(--color-ink);
}

.hero__sub .sp-only {
  display: none;
}

/* exported with its blur halo (≈477x295 around the 465x164 badge row) */
.hero__medals {
  width: 477px;
  height: auto;
  margin: -66px -2px -65px; /* badge row is 164 tall (export includes the blur halo) */
}

.hero__action {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.hero__reassurance {
  font-size: 10px;
  line-height: var(--lh-text);
  color: rgba(255, 255, 255, 0.6902);
}

.hero__note {
  margin-top: -24px;
  width: max-content; /* each ※ line stays on one row; the longest (※3) is ~325px, a fixed 312px left "合" alone */
  max-width: 100%;
  text-wrap: balance; /* on narrow screens a wrapped line is split evenly instead of leaving one orphan character */
  line-break: strict;
  font-family: "Noto Sans", var(--font-jp);
  font-size: 8.54px;
  line-height: 1.2;
  color: #7b8da3;
}

@media (max-width: 1100px) {
  .hero {
    padding: 64px 40px;
  }

  .hero__headline {
    font-size: 48px;
  }
}

@media (max-width: 767px) {
  .hero {
    height: auto;
    min-height: 640px;
    padding: 32px 20px 28px;
  }

  .hero__bg {
    object-position: 68% center;
  }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.82) 55%, rgba(255, 255, 255, 0.55) 100%);
  }

  .hero__content {
    gap: 18px;
    margin-top: 0;
  }

  .hero__note {
    margin-top: 0;
  }

  .hero__copy {
    gap: 12px;
  }

  .hero__headline {
    font-size: 32px;
  }

  .hero__sub {
    font-size: 15px;
  }

  .hero__sub .sp-only {
    display: inline;
  }

  .hero__medals {
    width: 100%;
    max-width: 360px;
    margin: -40px -4px -40px;
  }

  .hero__action {
    width: 100%;
  }

  .hero__reassurance {
    text-align: center;
    color: var(--color-slate);
  }

  .hero__note {
    width: 100%;
    font-size: 9px;
  }
}
