:root {
  --hero-turquoise: #24d9cf;
  --hero-turquoise-deep: #087c83;
  --hero-navy: #06162b;
  --hero-orange: #efba65;
  --hero-orange-hover: #ffd18a;
}

.hero {
  background:
    radial-gradient(circle at 83% 46%, rgba(24, 201, 196, .18), transparent 29%),
    linear-gradient(104deg, var(--hero-navy) 0%, #06182e 57%, #073a48 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 53%;
  background: linear-gradient(125deg, transparent 8%, rgba(20, 179, 177, .08) 52%, rgba(5, 91, 101, .18));
  pointer-events: none;
}

.hero-lines {
  opacity: .07;
  pointer-events: none;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .35), #000 62%, transparent 100%);
}

.hero::after {
  pointer-events: none;
}

.hero h1 {
  max-width: 820px;
  color: #f8fbfd;
  font-size: clamp(50px, 5.6vw, 82px);
  line-height: 1.26;
  letter-spacing: .015em;
}

.hero-title-accent {
  color: var(--hero-turquoise);
}

.hero .lead {
  max-width: 720px;
  margin: 29px 0 34px;
  color: #d6e0e7;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.95;
  letter-spacing: .055em;
}

.hero-lead-line {
  display: block;
}

.hero-actions {
  gap: 16px;
}

.hero-actions .button {
  min-height: 58px;
  min-width: 0;
  gap: 12px;
  padding: 16px 18px;
  font: 700 16px/1.5 "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  letter-spacing: .02em;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.hero-actions .button.gold {
  background: var(--hero-orange);
  color: var(--hero-navy);
}

.hero-actions .button.gold:hover,
.hero-actions .button.gold:focus-visible {
  background: var(--hero-orange-hover);
  transform: translateY(-2px);
}

.hero-actions .hero-diagnosis-button {
  background: rgba(4, 24, 42, .3);
  border-color: rgba(104, 232, 226, .62);
  color: #f5ffff;
}

.hero-actions .hero-diagnosis-button:hover,
.hero-actions .hero-diagnosis-button:focus-visible {
  background: rgba(36, 217, 207, .12);
  border-color: var(--hero-turquoise);
  color: #fff;
  transform: translateY(-2px);
}

.hero-actions .text-link {
  color: #e9ffff;
  border-bottom-color: rgba(92, 233, 225, .72);
}

.hero-actions .text-link:hover,
.hero-actions .text-link:focus-visible {
  color: var(--hero-turquoise);
}

.hero-diagnosis-note {
  color: #afc5cf;
  margin-top: 15px;
}

.hero .kicker,
.scroll span {
  color: var(--hero-turquoise);
}

.hero .kicker span,
.scroll span {
  background: var(--hero-turquoise);
}

.hero-visual {
  width: min(40vw, 510px);
}

.hero-visual .orb {
  border-color: rgba(72, 225, 218, .4);
}

.hero-visual .orb-b {
  border-color: rgba(255, 255, 255, .18);
  border-right-color: rgba(239, 186, 101, .42);
}

.hero-visual .orb-c {
  box-shadow: 0 0 90px rgba(36, 217, 207, .15);
}

.hero-visual .orb-a::before {
  background: var(--hero-turquoise);
  box-shadow: 0 0 18px var(--hero-turquoise);
}

.hero-visual .orb-b::after {
  background: rgba(239, 186, 101, .82);
  box-shadow: 0 0 12px rgba(239, 186, 101, .48);
}

.hero-visual .core {
  background: radial-gradient(circle at 35% 30%, #176f7d, #071a30 72%);
  box-shadow: 0 0 78px rgba(36, 217, 207, .2);
}

.hero-visual .core b {
  color: var(--hero-turquoise);
}

@media (max-width: 980px) and (min-width: 821px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, .72fr);
    gap: 28px;
    padding-inline: 48px;
  }

  .hero h1 {
    font-size: clamp(48px, 6.4vw, 62px);
  }

  .hero .lead {
    font-size: 14px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    width: min(38vw, 350px);
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 58px 24px 72px;
  }

  .hero::before {
    inset: 29% -20% 22% 22%;
    background: radial-gradient(circle at 64% 50%, rgba(36, 217, 207, .17), transparent 57%);
  }

  .hero-copy {
    display: contents;
  }

  .hero .kicker {
    order: 1;
    margin-bottom: 22px;
  }

  .hero h1 {
    order: 2;
    max-width: none;
    font-size: clamp(43px, 10.3vw, 66px);
    line-height: 1.28;
  }

  .hero-visual {
    order: 3;
    position: relative;
    right: auto;
    bottom: auto;
    width: min(68vw, 390px);
    margin: 28px auto 12px;
    opacity: 1;
    justify-self: center;
  }

  .hero .lead {
    order: 4;
    margin: 12px 0 30px;
    font-size: clamp(14px, 2.2vw, 16px);
    line-height: 1.9;
  }

  .hero-actions {
    order: 5;
    align-items: stretch;
  }

  .hero-actions .button {
    width: min(100%, 430px);
  }

  .hero-actions .text-link {
    width: max-content;
  }

  .hero-diagnosis-note {
    order: 6;
    max-width: 430px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 46px 20px 62px;
  }

  .hero h1 {
    font-size: clamp(38px, 11.4vw, 51px);
  }

  .hero .heading-line {
    white-space: nowrap;
  }

  .hero-visual {
    width: min(76vw, 300px);
    margin-top: 23px;
  }

  .hero .lead {
    margin-top: 8px;
    font-size: 13px;
    letter-spacing: .025em;
  }

  .hero-lead-line {
    display: inline;
  }

  .hero-lead-line + .hero-lead-line::before {
    content: " ";
  }

  .hero-actions .button {
    min-height: 56px;
    padding-inline: 18px;
    font-size: 15px;
  }

  .hero-diagnosis-note {
    font-size: 10px;
    line-height: 1.8;
  }
}

@media (max-width: 340px) {
  .hero {
    padding-inline: 16px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-actions .button {
    gap: 8px;
    padding-inline: 14px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions .button {
    transition: none;
  }
}
