:root {
  --navy: #082b46;
  --blue: #087db7;
  --blue-dark: #05628f;
  --sky: #eaf8ff;
  --mint: #ecf9f5;
  --green: #06c755;
  --green-dark: #04a947;
  --gold: #efa928;
  --ink: #18313f;
  --muted: #5c7180;
  --line: #d7e7ef;
  --white: #fff;
  --shadow: 0 20px 55px rgba(8, 57, 86, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.35; letter-spacing: .02em; }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); margin-bottom: 1rem; }

.site-header {
  position: relative;
  z-index: 50;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: .55rem clamp(1rem, 2.8vw, 2.5rem);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(8,125,183,.12);
  box-shadow: 0 8px 28px rgba(8,57,86,.05);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
  margin-right: auto;
  color: var(--navy);
  text-decoration: none;
}
.brand img { width: 70px; height: 64px; flex: 0 0 auto; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; line-height: 1.25; }
.brand-copy small { margin-bottom: .18rem; color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.brand-copy strong { color: var(--navy); font-size: 1.02rem; font-weight: 800; letter-spacing: .045em; white-space: nowrap; }
.site-header nav { display: flex; gap: 1.7rem; }
.site-header nav a { font-size: .91rem; font-weight: 700; text-decoration: none; }
.site-header nav a:hover { color: var(--blue); }

.line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(6,199,85,.24);
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.line-button:hover { transform: translateY(-2px); background: var(--green-dark); box-shadow: 0 16px 32px rgba(6,199,85,.3); }
.line-button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }
.header-line { padding: .7rem 1.2rem; font-size: .9rem; }

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3.5rem, 7vw, 7rem) max(5vw, calc((100vw - 1180px) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(105,210,241,.23), transparent 31%),
    radial-gradient(circle at 88% 82%, rgba(137,224,197,.18), transparent 33%),
    linear-gradient(135deg, #ffffff 0%, #eefaff 56%, #f0fbf8 100%);
}
.hero-copy { max-width: 680px; }
.eyebrow, .section-kicker {
  margin-bottom: .8rem;
  color: var(--blue);
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; display: inline-block; width: 34px; height: 3px; margin: 0 .65rem .25rem 0; background: var(--blue); border-radius: 3px; }
.hero h1 { margin-bottom: 1.4rem; font-size: clamp(2.4rem, 5.2vw, 4.3rem); letter-spacing: -.035em; }
.hero h1 span { color: var(--blue); }
.hero-lead { max-width: 620px; margin-bottom: 1.8rem; color: #3f5968; font-size: clamp(1rem, 1.8vw, 1.15rem); }
.trust-row { display: flex; gap: .7rem; margin-bottom: 2rem; }
.trust-row div { min-width: 115px; padding: .65rem 1rem; background: rgba(255,255,255,.75); border: 1px solid rgba(8,125,183,.13); border-radius: 13px; text-align: center; }
.trust-row strong, .trust-row span { display: block; line-height: 1.3; }
.trust-row strong { color: var(--navy); font-size: 1.15rem; }
.trust-row span { margin-top: .22rem; color: var(--muted); font-size: .73rem; font-weight: 700; }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; }
.main-cta { min-width: 310px; padding: 1rem 1.6rem; flex-direction: column; line-height: 1.35; }
.main-cta span { font-size: 1.05rem; }
.main-cta small { margin-top: .15rem; font-size: .73rem; font-weight: 600; opacity: .9; }
.text-link { color: var(--blue-dark); font-weight: 800; text-underline-offset: .28em; }
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4 / 3;
  justify-self: end;
}
.hero-visual::before { content: ""; position: absolute; inset: -18px -24px 24px 24px; z-index: 0; border: 2px solid rgba(8,125,183,.18); border-radius: 34px; transform: rotate(3deg); }
.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.price-badge { position: absolute; z-index: 2; right: -18px; bottom: 22px; min-width: 230px; padding: .9rem 1.2rem; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.price-badge span { display: block; color: var(--muted); font-size: .78rem; font-weight: 700; }
.price-badge strong { display: block; color: var(--blue); font-size: 2.1rem; line-height: 1.2; }
.price-badge small { font-size: 1rem; }

.section { padding: clamp(4.5rem, 9vw, 8rem) max(5vw, calc((100vw - 1120px) / 2)); }
.symptoms { padding: 4rem max(5vw, calc((100vw - 1120px) / 2)); background: var(--navy); color: #fff; text-align: center; }
.symptoms h2 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.35rem); }
.symptoms .section-kicker { color: #75d1f1; }
.symptom-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 1000px; margin: 2.5rem auto 0; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.symptom-list div { min-height: 155px; padding: 1.4rem 1.5rem; background: var(--navy); }
.symptom-list span { display: block; color: #71cee9; font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.symptom-list p { margin: .55rem 0 0; font-weight: 700; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 500px; margin-bottom: .2rem; color: var(--muted); }
.section-heading.centered { display: block; max-width: 750px; margin: 0 auto 3rem; text-align: center; }
.section-heading.centered > p:not(.section-kicker) { margin: .8rem auto 0; }

.results { background: #f8fcfe; }
.result-grid { display: grid; gap: 1.5rem; }
.result-card { padding: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 35px rgba(8,57,86,.05); }
.result-card h3 { margin: 0 0 1rem .2rem; font-size: 1.08rem; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.photo-pair figure {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #e9f1f5;
}
.result-card:first-child .photo-pair figure { aspect-ratio: 1200 / 555; }
.photo-pair img { width: 100%; height: 100%; object-fit: cover; }
.photo-pair span { position: absolute; z-index: 1; top: .75rem; left: .75rem; padding: .25rem .62rem; border-radius: 999px; color: #fff; background: rgba(24,49,63,.85); font-size: .7rem; font-weight: 900; letter-spacing: .08em; }
.photo-pair .after-label { background: var(--blue); }
.results-note, .review-note { margin: 1.3rem 0 0; color: var(--muted); font-size: .78rem; text-align: center; }

.proof { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.proof-photo { position: relative; aspect-ratio: 4 / 3; }
.proof-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 28px; box-shadow: var(--shadow); }
.proof-caption { position: absolute; right: -25px; bottom: 28px; max-width: 270px; padding: 1.1rem 1.3rem; color: #fff; background: var(--navy); border-radius: 15px; box-shadow: var(--shadow); }
.proof-caption strong, .proof-caption span { display: block; }
.proof-caption span { font-size: .84rem; }
.proof-copy > p:not(.section-kicker) { color: var(--muted); }
.proof-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.proof-mini figure { margin: 0; }
.proof-mini img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.proof-mini figcaption { margin-top: .45rem; color: var(--navy); font-size: .85rem; font-weight: 800; }

.features { background: linear-gradient(180deg, #effaff 0%, #f8fdff 100%); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature-grid article { padding: 2rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.feature-number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 1.3rem; border-radius: 50%; color: #fff; background: var(--blue); font-size: .76rem; font-weight: 900; }
.feature-grid h3 { font-size: 1.1rem; }
.feature-grid p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }

.pricing { background: #fff; }
.price-layout { max-width: 950px; margin: 0 auto; }
.main-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.price-card { position: relative; padding: 2rem; background: #f8fcfe; border: 1px solid var(--line); border-radius: 20px; }
.price-card.recommended { border: 2px solid var(--blue); background: #edf9ff; }
.price-tag { position: absolute; top: 0; left: 1.7rem; transform: translateY(-50%); padding: .25rem .75rem; color: #fff; background: var(--blue); border-radius: 99px; font-size: .72rem; font-weight: 800; }
.price-card p { margin-bottom: .3rem; color: var(--navy); font-weight: 800; }
.price-card strong { color: var(--blue); font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1.2; }
.price-card small { font-size: 1.1rem; }
.option-card { margin-top: 1.3rem; padding: 2rem; border: 1px solid var(--line); border-radius: 20px; }
.option-card h3 { margin-bottom: 1rem; }
.option-card dl { margin: 0; }
.option-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem .3rem; border-bottom: 1px solid var(--line); }
.option-card dt { font-weight: 700; }
.option-card dd { margin: 0; color: var(--navy); font-weight: 900; white-space: nowrap; }
.option-card .set-price { margin-top: .35rem; padding: 1rem; background: #fff8e8; border: 1px solid #f0c86a; border-radius: 12px; }
.set-price dt span { margin-right: .6rem; padding: .18rem .45rem; color: #fff; background: var(--gold); border-radius: 5px; font-size: .7rem; }
.set-detail { margin: .7rem 0 0; color: var(--muted); font-size: .8rem; }
.additional-card { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1rem; }
.additional-card p { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 1rem 1.1rem; background: var(--navy); border-radius: 12px; color: #fff; font-weight: 700; }
.additional-card span { padding: .1rem .42rem; color: var(--navy); background: #fff; border-radius: 4px; font-size: .66rem; }
.additional-card strong { margin-left: auto; color: #80daf5; white-space: nowrap; }
.price-cta { max-width: 720px; margin: 2.5rem auto 0; text-align: center; }
.price-cta p { color: var(--muted); }

.reviews { background: var(--navy); }
.reviews h2 { color: #fff; }
.reviews .section-kicker { color: #76d7f1; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.review-grid article { padding: 2rem; background: #fff; border-radius: 20px; }
.stars { color: var(--gold); font-size: 1.2rem; letter-spacing: .15em; }
.review-grid blockquote { margin: 1.2rem 0; color: #334f5e; font-size: .96rem; line-height: 1.9; }
.review-grid article p { margin-bottom: 0; color: var(--muted); font-size: .8rem; font-weight: 700; }
.review-note { color: #aec5d2; }

.area { background: #edf9ff; }
.area-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; padding: clamp(2rem, 5vw, 4rem); color: #fff; background: linear-gradient(125deg, var(--blue-dark), #0898bf); border-radius: 28px; box-shadow: var(--shadow); }
.area-card h2 { color: #fff; }
.area-card .section-kicker { color: #a3ecff; }
.area-card > div p:last-child { margin-bottom: 0; color: #d7f6ff; }
.area-card ul { margin: 0; padding: 0; list-style: none; }
.area-card li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.24); }
.area-card li strong { font-size: 1.08rem; }
.area-card li span { color: #d8f6ff; font-size: .9rem; text-align: right; }

.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.flow-list li { position: relative; padding: 1.5rem; background: #f8fcfe; border: 1px solid var(--line); border-radius: 18px; }
.flow-list li > span { display: block; margin-bottom: 1.2rem; color: var(--blue); font-size: 1.4rem; font-weight: 900; }
.flow-list h3 { font-size: 1.05rem; }
.flow-list p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }

.faq { padding-top: 2rem; }
.faq-list { max-width: 850px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.35rem 3.2rem 1.35rem .4rem; color: var(--navy); font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 50%; right: .5rem; transform: translateY(-50%); color: var(--blue); font-size: 1.7rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 2.5rem 1.3rem .4rem; color: var(--muted); }

.final-cta { padding: 6.5rem 5vw; text-align: center; background: linear-gradient(145deg, #e9f9ff, #eaf9f3); }
.final-cta > img { width: 128px; height: auto; margin: 0 auto 1rem; object-fit: contain; }
.final-cta h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.final-cta > p:not(.section-kicker) { color: var(--muted); }
.final-cta .main-cta { margin-top: 1rem; }

@media (max-width: 960px) {
  .site-header nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr 390px; gap: 2rem; }
  .hero h1 { font-size: clamp(2.2rem, 5.6vw, 3.6rem); }
  .feature-grid, .flow-list { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .review-grid article { padding: 1.6rem 2rem; }
}

@media (max-width: 760px) {
  .site-header { min-height: 70px; padding: .38rem 4vw; }
  .brand { gap: .62rem; }
  .brand img { width: 60px; height: 57px; }
  .brand-copy small { font-size: .75rem; letter-spacing: .04em; }
  .brand-copy strong { font-size: clamp(.9rem, 3.8vw, .96rem); letter-spacing: .02em; }
  .header-line { display: none; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding: 2.8rem 5vw 4.5rem; }
  .hero-copy { display: contents; }
  .eyebrow { order: 1; }
  .hero h1 { order: 2; margin-bottom: .8rem; font-size: clamp(2rem, 8.8vw, 3.35rem); }
  .hero-lead { order: 3; margin-bottom: .7rem; }
  .hero-visual { order: 4; width: 100%; max-width: 520px; margin: 1rem auto 4.6rem; justify-self: center; }
  .hero-visual img { object-position: center 16%; }
  .price-badge { right: 3%; bottom: -3.8rem; min-width: 225px; padding: .8rem 1.1rem; }
  .trust-row { order: 5; justify-content: center; margin: 1rem 0; }
  .trust-row div { flex: 1; min-width: 0; padding: .62rem .3rem; }
  .trust-row strong { font-size: .98rem; }
  .hero-actions { order: 6; flex-direction: column; gap: .8rem; }
  .main-cta { width: 100%; min-width: 0; }
  .symptoms { text-align: left; }
  .symptom-list { grid-template-columns: 1fr; }
  .symptom-list div { min-height: 0; padding: 1rem 1.2rem; }
  .symptom-list span, .symptom-list p { display: inline; }
  .symptom-list span { margin-right: .7rem; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: .8rem; }
  .section-heading.centered { max-width: 100%; }
  .section-heading.centered h2,
  .symptoms h2 { font-size: clamp(1.6rem, 7vw, 2.05rem); line-height: 1.5; }
  .features .section-heading.centered h2 { font-size: clamp(1.4rem, 5.8vw, 1.65rem); }
  .section-heading.centered > p:not(.section-kicker) { max-width: 34rem; line-height: 1.75; }
  .photo-pair { gap: .5rem; }
  .result-card { padding: .85rem; }
  .result-card:first-child .photo-pair figure { aspect-ratio: 4 / 3; }
  .photo-pair span { top: .45rem; left: .45rem; }
  .proof { grid-template-columns: 1fr; }
  .proof-photo { width: 100%; margin-bottom: 4.5rem; }
  .proof-caption { right: 3%; bottom: -3.6rem; max-width: 88%; padding: .9rem 1.1rem; }
  .feature-grid, .main-prices, .additional-card, .area-card, .flow-list { grid-template-columns: 1fr; }
  .feature-grid article { display: grid; grid-template-columns: 48px 1fr; column-gap: .8rem; padding: 1.3rem; }
  .feature-number { grid-row: 1 / span 2; }
  .feature-grid h3 { margin: .2rem 0 .35rem; }
  .feature-grid p { grid-column: 2; }
  .main-prices { gap: 1.6rem; }
  .option-card { padding: 1.25rem; }
  .option-card .set-price { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .set-price dt { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: .55rem; line-height: 1.45; }
  .set-price dt span { margin-right: 0; }
  .additional-card strong { margin-left: 0; }
  .area-card { gap: 1.5rem; }
  .flow-list li { display: grid; grid-template-columns: 50px 1fr; }
  .flow-list li > span { margin: 0; }
  .flow-list h3 { margin-bottom: .4rem; }
  .final-cta h2 { font-size: clamp(1.55rem, 6.4vw, 1.85rem); line-height: 1.5; letter-spacing: 0; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 1.95rem; }
  .price-badge { right: 2%; min-width: 210px; }
  .section-heading.centered h2,
  .symptoms h2 { font-size: 1.55rem; }
  .option-card dl div { gap: .55rem; }
  .option-card .set-price { grid-template-columns: 1fr; }
  .option-card .set-price dd { margin: .45rem 0 0; text-align: right; }
}

@media (max-width: 420px) {
  .hero { padding-top: 2.25rem; }
  .hero h1 { font-size: 2.1rem; }
  .hero-visual { width: 96%; }
  .price-badge { min-width: 180px; padding: .7rem 1rem; }
  .price-badge strong { font-size: 1.8rem; }
  .trust-row { gap: .4rem; }
  .trust-row strong { font-size: .88rem; }
  .trust-row span { font-size: .67rem; }
  .section { padding-right: 4.5vw; padding-left: 4.5vw; }
  .result-card { padding: .7rem; }
  .photo-pair span { padding: .18rem .45rem; font-size: .58rem; }
  .proof-caption { right: -8px; max-width: 235px; }
  .option-card, .price-card { padding: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
