:root {
  --blue: #006aa8;
  --blue-dark: #004a79;
  --sky: #eaf7fc;
  --green: #94d817;
  --ink: #1e2d36;
  --muted: #60717d;
  --line: rgba(0, 74, 121, 0.14);
  --paper: #f6fbfd;
  --shadow: 0 20px 58px rgba(0, 74, 121, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.72;
  background: #fff;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 10px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--blue-dark);
  font-weight: 900;
}

.brand img {
  width: 52px;
  height: 42px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  padding: 8px 10px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta {
  color: #fff;
  background: var(--blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  background: var(--blue-dark);
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  min-height: calc(100svh - 74px);
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 82px);
  background:
    linear-gradient(110deg, rgba(0, 106, 168, 0.95), rgba(0, 139, 190, 0.9) 52%, rgba(234, 247, 252, 0.96) 52%),
    var(--sky);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #dff6ff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: #fff;
  max-width: 760px;
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 5px 0 rgba(0, 40, 70, 0.28);
}

h2 {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: clamp(27px, 3.5vw, 42px);
  font-weight: 900;
  line-height: 1.36;
  text-wrap: balance;
}

h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.5;
}

.lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: #eefaff;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  color: var(--blue-dark);
  background: var(--green);
}

.button.secondary {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-points span {
  padding: 7px 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.hero-visual img {
  width: min(520px, 100%);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 5px solid var(--green);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(62px, 8vw, 104px) clamp(20px, 5vw, 82px);
  scroll-margin-top: 86px;
}

.section-head,
.urgent-inner,
.insurance-inner {
  width: min(900px, 100%);
  margin-inline: auto;
  text-align: center;
}

.section-head p,
.urgent-inner p,
.insurance-inner p,
.copy p,
.access-copy p,
.faq-list p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.section-head h2,
.urgent-inner h2,
.insurance-inner h2,
.copy h2,
.access-copy h2 {
  max-width: 850px;
  margin-inline: auto;
}

.urgent {
  color: #fff;
  background: var(--blue-dark);
}

.urgent .eyebrow,
.urgent h2,
.urgent p {
  color: #fff;
}

.symptoms {
  background: #fff;
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1120px, 100%);
  margin: 42px auto 0;
}

.symptom-grid article {
  min-height: 160px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.symptom-grid p {
  margin: 0;
  color: var(--muted);
}

.manga-section {
  padding: clamp(62px, 8vw, 104px) clamp(20px, 5vw, 82px);
  background: #eaf7fc;
}

.comic-page {
  width: min(900px, 100%);
  margin: 44px auto 0;
  background: #fff;
  border: 6px solid #1b2833;
  border-radius: 8px;
  box-shadow: 12px 12px 0 rgba(0, 74, 121, 0.16);
}

.comic-page img {
  width: 100%;
  height: auto;
}

.after-comic-heading {
  padding: clamp(44px, 7vw, 78px) clamp(22px, 5vw, 82px) clamp(36px, 5vw, 58px);
  text-align: center;
  background: linear-gradient(180deg, #eaf7fc 0%, #ffffff 72%);
}

.after-comic-heading h2 {
  margin: 10px auto 16px;
  max-width: 860px;
  color: var(--blue-dark);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.35;
}

.after-comic-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.9;
}

.comic-pages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1180px, 100%);
  margin: 44px auto 0;
}

.comic-panel {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  background: #fff;
  border: 5px solid #1b2833;
  border-radius: 8px;
  box-shadow: 9px 9px 0 rgba(0, 74, 121, 0.16);
}

.comic-panel img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.page-num {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: #1b2833;
  border: 3px solid #fff;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
}

.speech-bubble {
  position: absolute;
  z-index: 2;
  max-width: 78%;
  padding: 13px 16px;
  color: #1b2833;
  background: #fff;
  border: 4px solid #1b2833;
  border-radius: 24px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.12);
  font-weight: 900;
  line-height: 1.45;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -18px;
  width: 26px;
  height: 26px;
  background: #fff;
  border-right: 4px solid #1b2833;
  border-bottom: 4px solid #1b2833;
  transform: rotate(45deg);
}

.bubble-left {
  left: 24px;
  bottom: 128px;
}

.bubble-left::after {
  left: 34px;
}

.bubble-right {
  right: 22px;
  bottom: 128px;
}

.bubble-right::after {
  right: 34px;
}

.bubble-center {
  left: 26px;
  right: 26px;
  bottom: 22px;
  max-width: none;
  text-align: center;
}

.bubble-center::after {
  display: none;
}

.comic-caption {
  margin: 22px 20px 0;
  color: var(--blue-dark);
  font-weight: 900;
  line-height: 1.65;
}

.info-panel,
.finish-panel {
  padding: 74px 26px 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(234, 247, 252, 0.98)),
    repeating-linear-gradient(135deg, rgba(0, 106, 168, 0.12) 0 12px, transparent 12px 28px);
}

.info-panel h3,
.finish-panel h3 {
  font-size: 28px;
}

.info-panel ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 88px;
  padding: 0;
  list-style: none;
}

.info-panel li {
  padding: 10px 12px;
  color: var(--blue-dark);
  background: #fff;
  border-left: 6px solid var(--green);
  border-radius: 8px;
  font-weight: 900;
}

.finish-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.finish-panel p {
  color: var(--muted);
  font-weight: 800;
}

.split,
.access {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.split {
  background: #fff;
}

.photo img {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 18px;
  background: var(--paper);
  border-left: 6px solid var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.flow {
  background: var(--paper);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1120px, 100%);
  margin: 42px auto 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  min-height: 206px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-list span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 34px;
  font-weight: 900;
}

.flow-list p {
  margin: 0;
  color: var(--muted);
}

.insurance {
  color: #fff;
  background: var(--blue);
}

.insurance .eyebrow,
.insurance h2,
.insurance p {
  color: #fff;
}

.golden-time {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  background: linear-gradient(135deg, #fff8e8, #ffffff 58%);
}

.golden-copy h2,
.golden-card h3,
.calculator h3 {
  color: var(--blue-dark);
}

.golden-copy p,
.golden-card p,
.compensation-grid p,
.calculator p,
.calculator-result {
  color: var(--muted);
}

.golden-card {
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  border: 1px solid rgba(216, 154, 48, 0.25);
  border-radius: 8px;
  box-shadow: 14px 14px 0 rgba(216, 154, 48, 0.12);
}

.golden-card .check-list {
  margin-top: 18px;
}

.compensation {
  background: var(--paper);
}

.compensation .section-head p {
  max-width: 860px;
  margin: 0 auto;
  color: var(--muted);
}

.compensation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 42px auto 0;
}

.compensation-grid article {
  min-height: 244px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.compensation-grid h3 {
  margin-top: 0;
  color: var(--blue-dark);
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1.12fr);
  gap: 22px;
  width: min(1060px, 100%);
  margin: 44px auto 0;
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.calculator-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
}

.calculator-form {
  display: grid;
  gap: 12px;
}

.calculator-form label {
  display: grid;
  gap: 6px;
  color: var(--blue-dark);
  font-weight: 900;
}

.calculator-form input {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  color: var(--ink);
  background: #f8fcfe;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.calculator-form .button {
  border: 0;
  cursor: pointer;
}

.calculator-result {
  grid-column: 1 / -1;
  padding: 18px;
  background: #edf8fd;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.access {
  background: #fff;
}

.access .button.secondary {
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}

.faq {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(900px, 100%);
  margin: 38px auto 0;
}

.faq-list details {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-weight: 900;
}

.final-cta {
  padding: clamp(58px, 8vw, 92px) clamp(20px, 5vw, 82px);
  color: #fff;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(0, 74, 121, 0.96), rgba(0, 106, 168, 0.94)),
    var(--blue-dark);
}

.final-cta .eyebrow,
.final-cta h2,
.final-cta p {
  color: #fff;
}

.final-cta h2 {
  max-width: 880px;
  margin-inline: auto;
}

.final-cta p {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.9;
}

.final-cta .hero-actions {
  justify-content: center;
}

.final-cta .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.78);
}

.footer {
  padding: 34px clamp(20px, 5vw, 82px);
  color: rgba(255, 255, 255, 0.76);
  background: #12364d;
}

.footer p {
  max-width: 980px;
  margin: 0 auto 10px;
  font-size: 13px;
}

.footer p:first-child {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    min-height: 62px;
    padding: 8px 16px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    display: grid;
    gap: 8px;
    width: auto;
    padding: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .menu-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    background: var(--paper);
  }

  .nav .nav-cta {
    text-align: center;
    background: var(--blue);
  }

  .hero,
  .split,
  .access,
  .golden-time,
  .calculator {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 58px;
    background: linear-gradient(180deg, var(--blue), #008bbe 64%, var(--sky) 64%);
  }

  h1 {
    max-width: 720px;
  }

  .symptom-grid,
  .comic-pages,
  .flow-list,
  .compensation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: auto;
  }

  .brand span {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(33px, 10.8vw, 46px);
    line-height: 1.23;
    text-shadow: 0 4px 0 rgba(0, 40, 70, 0.24);
  }

  h2 {
    font-size: clamp(24px, 7.6vw, 34px);
    line-height: 1.42;
  }

  h3 {
    font-size: 19px;
  }

  .lead {
    font-size: 16px;
    line-height: 1.8;
  }

  .section,
  .manga-section {
    padding-block: 54px;
  }

  .after-comic-heading {
    padding-block: 42px;
  }

  .after-comic-heading h2 {
    font-size: clamp(24px, 7.2vw, 32px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .symptom-grid,
  .comic-pages,
  .flow-list,
  .compensation-grid {
    grid-template-columns: 1fr;
  }

  .comic-panel {
    min-height: 410px;
  }

  .comic-page {
    border-width: 4px;
    box-shadow: 7px 7px 0 rgba(0, 74, 121, 0.16);
  }

  .calculator {
    padding: 22px;
  }

  .final-cta {
    padding-block: 52px;
  }
}
