/* ============================================================
   XHEALTH · BRAND DIAGNOSIS LANDING — page-scoped system
   Palette per brief: navy #18549C · cyan #189CCC · dark #0F3A6B
   · light grey #F4F6F9 · pink CTA #F5DADF (navy ink). No orange.
   Fonts inherited from design-system styles.css (GenJyuuGothic,
   Sora, Space Grotesk) + Noto Sans TC fallback.
   ============================================================ */
:root {
  --d-navy: #18549C;
  --d-navy-deep: #0F3A6B;
  --d-navy-hover: #123f78;
  --d-cyan: #189CCC;
  --d-cyan-deep: #147ba3;
  --d-grey: #F4F6F9;
  --d-pink: #F5DADF;
  --d-pink-hover: #efc9d1;
  --d-ink: #10233d;
  --d-body: #46586f;
  --d-muted: #7688a0;
  --d-faint: #9aa9bd;
  --d-line: #e6ebf1;
  --d-line-soft: #eef2f6;

  --font-cn: "GenJyuuGothic", "Noto Sans TC", sans-serif;
  --font-en: "Sora", "GenJyuuGothic", "Noto Sans TC", sans-serif;
  --font-lbl: "Space Grotesk", "Sora", sans-serif;
  --d-container: 1180px;
  --d-shadow: 0 18px 48px -22px rgba(15,58,107,.28);
  --d-shadow-soft: 0 12px 34px -20px rgba(15,58,107,.22);
  --d-shadow-lg: 0 30px 70px -30px rgba(15,58,107,.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-en);
  color: var(--d-body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-cn); color: var(--d-ink); margin: 0; line-height: 1.24; font-weight: 700; letter-spacing: .002em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.en { font-family: var(--font-en); }
::selection { background: #cdeaf6; color: var(--d-navy-deep); }

.wrap { width: 100%; max-width: var(--d-container); margin-inline: auto; padding-inline: 28px; }

/* ---- eyebrow ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-lbl); font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--d-navy); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--d-cyan); }
.eyebrow--light { color: #7fd0ea; }
.eyebrow--center { justify-content: center; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-cn); font-weight: 700; font-size: 16px; line-height: 1; height: 56px; padding: 0 30px; border-radius: 999px; border: 1.6px solid transparent; cursor: pointer; transition: transform .18s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn__ar { font-family: var(--font-en); font-weight: 500; opacity: .8; }
.btn--pink { background: var(--d-pink); color: var(--d-navy); box-shadow: 0 12px 30px -14px rgba(245,166,185,.9); }
.btn--pink:hover { background: var(--d-pink-hover); transform: translateY(-2px); box-shadow: 0 18px 36px -16px rgba(245,166,185,1); }
.btn--outline { background: #fff; color: var(--d-navy); border-color: #cdd8e6; }
.btn--outline:hover { border-color: var(--d-navy); background: #f7fafd; transform: translateY(-2px); }
.btn--navy { background: var(--d-navy); color: #fff; }
.btn--navy:hover { background: var(--d-navy-hover); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--d-body); border-color: var(--d-line); }
.btn--ghost:hover { border-color: #c6d1df; background: #f7fafd; }
.btn--onnavy { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--onnavy:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn--sm { height: 46px; font-size: 14.5px; padding: 0 22px; }
.btn--lg { height: 60px; font-size: 17px; padding: 0 36px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ============================================================ NAV ============================================================ */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--d-line-soft); }
.nav__in { max-width: var(--d-container); margin-inline: auto; padding: 16px 28px; display: flex; align-items: center; gap: 18px; }
.nav__logo { height: 30px; }
.nav__spacer { flex: 1; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-en); font-weight: 600; font-size: 15px; color: var(--d-navy-deep); text-decoration: none; transition: color .15s ease; }
.nav__phone:hover { color: var(--d-cyan-deep); }
.nav__wa { width: 19px; height: 19px; flex: none; fill: currentColor; }

/* ---- promo bar ---- */
.promo { background: var(--d-navy-deep); color: #eaf3fb; text-align: center; font-size: 13.5px; letter-spacing: .01em; padding: 9px 20px; font-family: var(--font-cn); }
.promo b { color: #fff; font-weight: 700; }
.promo .en { font-family: var(--font-en); }

/* ============================================================ HERO ============================================================ */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 5vw, 84px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__dot { position: absolute; border-radius: 999px; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__h1 { font-family: var(--font-cn); font-weight: 900; font-size: clamp(38px, 5.6vw, 66px); line-height: 1.12; letter-spacing: -.01em; margin: 20px 0 0; }
.hero__sub { margin-top: 22px; font-size: 18px; line-height: 1.85; color: var(--d-body); max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__trust { margin-top: 30px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--d-muted); font-family: var(--font-cn); }
.hero__trust .dot { width: 4px; height: 4px; border-radius: 999px; background: #c4cfde; }
.hero__trust b { font-family: var(--font-en); font-weight: 700; color: var(--d-navy); }
.hero__visual { position: relative; }

/* diagnosis preview card */
.dcard { position: relative; background: #fff; border: 1px solid var(--d-line); border-radius: 26px; box-shadow: var(--d-shadow); padding: 26px; }
.dcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--d-line-soft); }
.dcard__label { font-family: var(--font-lbl); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--d-muted); }
.dcard__pill { font-family: var(--font-cn); font-size: 12.5px; font-weight: 500; color: var(--d-navy); background: #eaf5fb; padding: 5px 12px; border-radius: 999px; }
.dcard__body { display: grid; grid-template-columns: 1fr 168px; gap: 18px; align-items: center; padding: 22px 4px 8px; }
.dcard__scorenum { font-family: var(--font-en); font-weight: 800; font-size: 62px; line-height: .95; color: var(--d-navy-deep); letter-spacing: -.02em; }
.dcard__scorenum sup { font-size: 22px; font-weight: 600; color: var(--d-faint); }
.dcard__scoretxt { margin-top: 6px; font-family: var(--font-cn); font-size: 14px; color: var(--d-muted); }
.dcard__bars { margin-top: 18px; display: flex; flex-direction: column; gap: 11px; }
.dbar { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; }
.dbar__k { font-family: var(--font-cn); font-size: 12.5px; color: var(--d-body); }
.dbar__track { height: 7px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.dbar__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--d-navy), var(--d-cyan)); }
.dcard__foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--d-line-soft); display: flex; align-items: center; gap: 10px; font-family: var(--font-cn); font-size: 13px; color: var(--d-muted); }
.dcard__foot b { color: var(--d-navy-deep); font-family: var(--font-en); font-weight: 700; }
.radar { width: 168px; height: 168px; }

.floatchip { position: absolute; background: #fff; border: 1px solid var(--d-line); border-radius: 15px; box-shadow: var(--d-shadow-soft); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; z-index: 3; }
.floatchip__n { font-family: var(--font-en); font-weight: 800; font-size: 21px; color: var(--d-navy-deep); line-height: 1; }
.floatchip__l { font-family: var(--font-cn); font-size: 11.5px; color: var(--d-muted); }
.floatchip.tr { top: -18px; right: -14px; }
.floatchip.bl { bottom: -20px; left: -18px; }

/* ============================================================ SECTIONS (generic) ============================================================ */
.sec { padding-block: clamp(64px, 7vw, 116px); }
.sec--grey { background: var(--d-grey); }
.sec--navy { background: var(--d-navy-deep); color: #dce7f2; position: relative; overflow: hidden; }
.sec__head { max-width: 720px; }
.sec__head--center { max-width: 760px; margin-inline: auto; text-align: center; }
.sec__title { font-family: var(--font-cn); font-weight: 800; font-size: clamp(29px, 3.6vw, 44px); line-height: 1.22; margin-top: 16px; letter-spacing: -.005em; }
.sec--navy .sec__title { color: #fff; }
.sec__lead { margin-top: 18px; font-size: 17px; line-height: 1.8; color: var(--d-body); }
.sec--navy .sec__lead { color: #b9cbe0; }

/* ============================================================ 痛點 PAIN ============================================================ */
.pains { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain { background: #fff; border: 1px solid var(--d-line); border-radius: 20px; padding: 32px 30px; box-shadow: var(--d-shadow-soft); }
.pain__q { font-family: var(--font-en); font-weight: 700; font-size: 30px; color: var(--d-pink); line-height: 1; }
.pain__t { margin-top: 16px; font-family: var(--font-cn); font-size: 18px; font-weight: 500; line-height: 1.6; color: var(--d-ink); }
.pain__close { margin-top: 48px; text-align: center; font-family: var(--font-cn); font-weight: 800; font-size: clamp(22px, 3vw, 33px); line-height: 1.5; color: var(--d-navy-deep); max-width: 20em; margin-inline: auto; text-wrap: balance; }
.pain__close b { color: var(--d-cyan); }

/* ============================================================ 五維 DIMENSIONS ============================================================ */
.dims { margin-top: 52px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.dim { background: #fff; border: 1px solid var(--d-line); border-radius: 18px; padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.dim:hover { transform: translateY(-5px); box-shadow: var(--d-shadow); border-color: #d3e0ec; }
.dim__n { font-family: var(--font-lbl); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--d-cyan); }
.dim__ring { width: 40px; height: 40px; }
.dim__t { font-family: var(--font-cn); font-size: 16px; font-weight: 700; color: var(--d-ink); line-height: 1.45; }
.dim__d { font-family: var(--font-cn); font-size: 13.5px; line-height: 1.7; color: var(--d-muted); margin-top: -4px; }
.dims__score { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-cn); font-size: 14px; color: var(--d-muted); }
.dims__score b { font-family: var(--font-en); font-weight: 700; color: var(--d-navy); }

/* ============================================================ PRICING ============================================================ */
.prices { margin-top: 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.pcard { position: relative; background: #fff; border: 1px solid var(--d-line); border-radius: 24px; padding: 40px 36px; display: flex; flex-direction: column; }
.pcard--reco { border: 1.6px solid var(--d-navy); box-shadow: var(--d-shadow); }
.pcard__badge { position: absolute; top: -14px; left: 36px; background: var(--d-navy); color: #fff; font-family: var(--font-cn); font-size: 13px; font-weight: 500; padding: 7px 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
.pcard__badge .en { font-family: var(--font-lbl); font-size: 11px; letter-spacing: .08em; opacity: .85; }
.pcard__name { font-family: var(--font-cn); font-size: 15px; font-weight: 500; color: var(--d-navy); letter-spacing: .02em; }
.pcard__price { margin-top: 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pcard__big { font-family: var(--font-en); font-weight: 800; font-size: 52px; line-height: 1; color: var(--d-ink); letter-spacing: -.02em; }
.pcard__strike { font-family: var(--font-en); font-size: 17px; color: var(--d-faint); text-decoration: line-through; }
.pcard__now { font-family: var(--font-en); font-weight: 800; font-size: 34px; color: var(--d-navy-deep); letter-spacing: -.01em; }
.pcard__unit { font-family: var(--font-cn); font-size: 14px; color: var(--d-muted); font-weight: 400; }
.pcard__note { margin-top: 12px; font-family: var(--font-cn); font-size: 13.5px; color: var(--d-muted); }
.pcard__hr { height: 1px; background: var(--d-line-soft); margin: 26px 0; }
.plist { display: flex; flex-direction: column; gap: 14px; }
.pli { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-family: var(--font-cn); font-size: 15px; line-height: 1.55; color: var(--d-body); }
.pli__ck { width: 22px; height: 22px; border-radius: 999px; background: #eaf5fb; color: var(--d-cyan); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 1px; }
.pcard--reco .pli__ck { background: var(--d-navy); color: #fff; }
.pcard__cta { margin-top: 30px; padding-top: 4px; }
.pcard__cta .btn { width: 100%; }

/* ============================================================ 信任 TRUST (navy) ============================================================ */
.trust__method { margin-top: 34px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tmeth { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 10px 18px; font-family: var(--font-cn); font-size: 15px; font-weight: 500; color: #fff; }
.tmeth .en { font-family: var(--font-lbl); font-size: 12px; letter-spacing: .04em; color: #7fd0ea; }
.trust__arrow { color: #4d6b8c; font-family: var(--font-en); }
.proofs { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.proof { border-top: 1px solid rgba(255,255,255,.16); padding-top: 24px; }
.proof__n { font-family: var(--font-en); font-weight: 800; font-size: clamp(38px, 4.4vw, 54px); line-height: 1; color: #fff; letter-spacing: -.02em; }
.proof__n .u { font-size: .5em; font-weight: 600; color: #7fd0ea; margin-left: 4px; }
.proof__l { margin-top: 14px; font-family: var(--font-cn); font-size: 15px; line-height: 1.6; color: #b9cbe0; }
.proof__l b { color: #fff; font-weight: 500; }
.promises { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 26px 24px; display: flex; gap: 14px; align-items: start; }
.promise__ck { flex: none; width: 26px; height: 26px; border-radius: 999px; background: var(--d-cyan); color: #06263a; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; margin-top: 2px; }
.promise__t { font-family: var(--font-cn); font-size: 15px; line-height: 1.65; color: #e4eefa; }

/* ============================================================ 流程 PROCESS ============================================================ */
.flow { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.flow::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--d-navy), var(--d-cyan)); opacity: .28; z-index: 0; }
.fstep-c { position: relative; z-index: 1; }
.fstep-c__n { width: 54px; height: 54px; border-radius: 999px; background: #fff; border: 2px solid var(--d-navy); color: var(--d-navy); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-en); font-weight: 700; font-size: 20px; box-shadow: 0 8px 20px -10px rgba(15,58,107,.35); }
.fstep-c__t { margin-top: 20px; font-family: var(--font-cn); font-size: 16px; font-weight: 500; line-height: 1.65; color: var(--d-ink); }

/* ============================================================ 內置表單 FORM ============================================================ */
.fwrap { max-width: 780px; margin-inline: auto; }
.fhead { text-align: center; margin-bottom: 30px; }
.fhead .sec__title { margin-top: 14px; }
.fhead .sec__lead { max-width: 34em; margin-inline: auto; }
.fver-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.fver { display: inline-flex; align-items: center; gap: 8px; background: #f2f8fc; border: 1px solid #d6ebf5; border-radius: 999px; padding: 8px 16px; font-family: var(--font-cn); font-size: 13px; font-weight: 500; color: var(--d-navy); }
.fver .dt { width: 8px; height: 8px; border-radius: 999px; background: var(--d-cyan); }
.fchange { font-family: var(--font-cn); font-size: 13px; color: var(--d-muted); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; transition: color .18s ease; }
.fchange:hover { color: var(--d-navy); }
.fcard { background: #fff; border: 1px solid var(--d-line); border-radius: 24px; box-shadow: var(--d-shadow); padding: clamp(26px, 3.4vw, 46px); }

/* version select */
.fselect__ttl { font-family: var(--font-cn); font-size: 22px; font-weight: 800; color: var(--d-ink); text-align: center; }
.fselect__sub { margin-top: 8px; text-align: center; font-family: var(--font-cn); font-size: 14.5px; color: var(--d-muted); }
.vgrid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vcard { position: relative; text-align: left; cursor: pointer; background: #fff; border: 1.6px solid var(--d-line); border-radius: 18px; padding: 26px 24px; font: inherit; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; display: flex; flex-direction: column; gap: 8px; }
.vcard:hover { border-color: #bcd0e6; box-shadow: var(--d-shadow-soft); }
.vcard.on { border-color: var(--d-navy); background: #f7fbfe; box-shadow: var(--d-shadow); }
.vcard__tick { position: absolute; top: 18px; right: 18px; width: 24px; height: 24px; border-radius: 999px; border: 2px solid var(--d-line); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; transition: all .18s ease; }
.vcard.on .vcard__tick { background: var(--d-navy); border-color: var(--d-navy); }
.vcard__badge { align-self: flex-start; font-family: var(--font-cn); font-size: 11.5px; font-weight: 500; color: #fff; background: var(--d-navy); border-radius: 999px; padding: 4px 11px; }
.vcard__name { font-family: var(--font-cn); font-size: 18px; font-weight: 700; color: var(--d-ink); }
.vcard__price { font-family: var(--font-en); font-weight: 700; font-size: 15px; color: var(--d-navy-deep); }
.vcard__desc { font-family: var(--font-cn); font-size: 13.5px; line-height: 1.6; color: var(--d-muted); }
.fselect__go { margin-top: 26px; }
.fselect__go .btn { width: 100%; }

/* progress */
.prog { margin-bottom: 30px; }
.prog__top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.prog__step { font-family: var(--font-lbl); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--d-muted); }
.prog__step b { color: var(--d-navy); font-weight: 700; }
.prog__pct { font-family: var(--font-en); font-size: 13px; font-weight: 600; color: var(--d-cyan); }
.prog__seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.prog__cell { height: 6px; border-radius: 999px; background: #e9eef4; overflow: hidden; transition: background .3s ease; }
.prog__cell.done { background: var(--d-navy); }
.prog__cell.now { background: linear-gradient(90deg, var(--d-navy), var(--d-cyan)); }
.prog__labels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-top: 10px; }
.prog__lb { font-family: var(--font-cn); font-size: 11.5px; text-align: center; color: var(--d-faint); transition: color .2s ease; }
.prog__lb.on { color: var(--d-navy); font-weight: 500; }

.fstep__ttl { font-family: var(--font-cn); font-size: 25px; font-weight: 800; color: var(--d-ink); }
.fstep__sub { margin-top: 8px; font-family: var(--font-cn); font-size: 14.5px; color: var(--d-muted); }
.fstep__hr { height: 1px; background: var(--d-line-soft); margin: 26px 0 4px; }
.fstep[hidden] { display: none; }

/* fields */
.field { margin-top: 26px; }
.field[hidden] { display: none; }
.field__q { display: block; font-family: var(--font-cn); font-size: 15.5px; font-weight: 500; color: var(--d-ink); line-height: 1.5; }
.field__q .req { color: #e0607a; font-family: var(--font-en); margin-left: 4px; }
.tag-all, .tag-free { display: inline-block; font-family: var(--font-lbl); font-size: 10px; letter-spacing: .06em; border-radius: 5px; padding: 1px 6px; margin-right: 6px; vertical-align: 2px; }
.tag-all { color: var(--d-muted); border: 1px solid #d5deea; }
.tag-free { color: var(--d-cyan); border: 1px solid #bfe6f2; }
.field__help { margin-top: 7px; font-family: var(--font-cn); font-size: 13px; color: var(--d-muted); line-height: 1.6; }
.field__in { margin-top: 12px; width: 100%; font-family: var(--font-cn); font-size: 15px; color: var(--d-ink); background: #fff; border: 1.5px solid var(--d-line); border-radius: 14px; padding: 14px 16px; transition: border-color .18s ease, box-shadow .18s ease; }
.field__in:focus { outline: none; border-color: var(--d-cyan); box-shadow: 0 0 0 4px rgba(24,156,204,.14); }
textarea.field__in { min-height: 96px; resize: vertical; line-height: 1.7; }
.field__in::placeholder { color: #aab6c6; }
.field.err .field__in, .field.err .optbtn { border-color: #e0607a; }
.field__errmsg { display: none; margin-top: 8px; font-family: var(--font-cn); font-size: 12.5px; color: #d64c68; }
.field.err .field__errmsg { display: block; }

/* option buttons (radio / checkbox) */
.optset { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.optset--col { flex-direction: column; }
.optbtn { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-family: var(--font-cn); font-size: 14.5px; color: var(--d-body); background: #fff; border: 1.5px solid var(--d-line); border-radius: 12px; padding: 12px 18px; transition: border-color .16s ease, background .16s ease, color .16s ease; user-select: none; }
.optbtn:hover { border-color: #bcd0e6; }
.optbtn input { position: absolute; opacity: 0; width: 0; height: 0; }
.optbtn__box { flex: none; width: 18px; height: 18px; border: 1.5px solid #c3d0df; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; transition: all .16s ease; }
.optbtn--radio .optbtn__box { border-radius: 999px; }
.optbtn--check .optbtn__box { border-radius: 5px; }
.optbtn:has(input:checked) { border-color: var(--d-navy); background: #f4f9fd; color: var(--d-navy-deep); font-weight: 500; }
.optbtn:has(input:checked) .optbtn__box { background: var(--d-navy); border-color: var(--d-navy); }
.subin { margin-top: 10px; }
.subin[hidden] { display: none; }
.subin .field__in { margin-top: 0; }

/* form nav */
.fnav { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--d-line-soft); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.fnav__save { font-family: var(--font-cn); font-size: 13px; color: var(--d-faint); display: inline-flex; align-items: center; gap: 6px; }
.fnav__save::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #74c69d; }
.fnav__spacer { flex: 1; }

/* privacy line */
.fprivacy { margin-top: 22px; font-family: var(--font-cn); font-size: 12.5px; color: var(--d-muted); line-height: 1.6; display: flex; gap: 8px; align-items: start; }
.fprivacy svg { flex: none; margin-top: 1px; }

/* success */
.fsuccess { text-align: center; padding-block: clamp(40px, 6vw, 64px); }
.fsuccess[hidden] { display: none; }
.fsuccess__mark { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 999px; background: #e7f7ef; color: #1f9a73; display: flex; align-items: center; justify-content: center; }
.fsuccess__ttl { font-family: var(--font-cn); font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--d-ink); }
.fsuccess__body { margin-top: 18px; font-family: var(--font-cn); font-size: 16px; line-height: 1.85; color: var(--d-body); max-width: 32em; margin-inline: auto; }
.fsuccess__cta { margin-top: 30px; }

/* ============================================================ FAQ ============================================================ */
.faq { margin-top: 44px; max-width: 820px; margin-inline: auto; border-top: 1px solid var(--d-line); }
.faq__item { border-bottom: 1px solid var(--d-line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: var(--font-cn); font-size: 17px; font-weight: 500; color: var(--d-ink); padding: 24px 44px 24px 4px; position: relative; transition: color .18s ease; }
.faq__q:hover { color: var(--d-navy); }
.faq__ic { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--d-navy); transition: transform .28s ease; }
.faq__item.open .faq__ic { transform: translateY(-50%) rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq__a-in { padding: 0 44px 26px 4px; font-family: var(--font-cn); font-size: 15px; line-height: 1.85; color: var(--d-body); }

/* ============================================================ 結尾 CTA + FOOTER ============================================================ */
.endcta { text-align: center; }
.endcta__big { font-family: var(--font-cn); font-weight: 900; font-size: clamp(32px, 5vw, 58px); line-height: 1.15; color: #fff; letter-spacing: -.01em; }
.endcta__en { margin-top: 16px; font-family: var(--font-lbl); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #7fd0ea; }
.endcta__btns { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.footer { background: #080b24; color: rgba(232,240,250,.72); padding-block: 60px 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo { height: 30px; margin-bottom: 18px; }
.footer__tag { font-family: var(--font-cn); font-size: 14px; color: rgba(232,240,250,.72); max-width: 280px; line-height: 1.7; margin: 0; }
.footer__col { display: flex; flex-direction: column; }
.footer__col h4 { font-family: var(--font-lbl); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(232,240,250,.5); margin: 0 0 16px; }
.footer__col a, .footer__col .footer__plain { display: block; color: rgba(232,240,250,.72); font-size: 14.5px; padding: 6px 0; text-decoration: none; font-family: var(--font-en); transition: color .15s ease; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(232,240,250,.5); flex-wrap: wrap; font-family: var(--font-cn); }
.footer__motto { font-family: var(--font-lbl); letter-spacing: .04em; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; } }

/* motif dots for navy sections */
.navy-dot { position: absolute; border-radius: 999px; pointer-events: none; z-index: 0; }
.sec--navy .wrap { position: relative; z-index: 1; }

/* ============================================================ RESPONSIVE ============================================================ */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 460px; }
  .dims { grid-template-columns: repeat(2, 1fr); }
  .proofs { grid-template-columns: 1fr; gap: 22px; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 34px 22px; }
  .flow::before { display: none; }
}
@media (max-width: 760px) {
  .pains { grid-template-columns: 1fr; gap: 18px; }
  .prices { grid-template-columns: 1fr; gap: 30px; }
  .promises { grid-template-columns: 1fr; gap: 14px; }
  .vgrid { grid-template-columns: 1fr; }
  .nav__phone { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  .nav__in { padding-inline: 20px; }
  .hero__cta .btn, .endcta__btns .btn { width: 100%; }
  .hero__cta, .endcta__btns { gap: 12px; }
  .dims { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .dcard__body { grid-template-columns: 1fr; }
  .radar { margin-inline: auto; }
  .prog__lb { font-size: 10px; }
  .fcard { padding: 24px 20px; }
  .fnav { flex-wrap: wrap; }
  .fnav__save { order: 3; width: 100%; justify-content: center; margin-top: 4px; }
  .pain__q { font-size: 26px; }
  .floatchip.tr { right: 2px; top: -14px; }
  .floatchip.bl { left: 2px; bottom: -14px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* ============================================================ SCROLL REVEAL (appended) ============================================================ */
html.js .sec__head, html.js .pains, html.js .pain__close,
html.js .dims, html.js .dims__score, html.js .prices, html.js .trust__method, html.js .proofs,
html.js .promises, html.js .logowall, html.js .flow, html.js .fhead, html.js .fselect,
html.js .faq, html.js .endcta {
  opacity: 0; transform: translateY(20px);
  transition: opacity .62s cubic-bezier(.22,.61,.36,1), transform .62s cubic-bezier(.22,.61,.36,1);
}
html.js .in { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.js .sec__head, html.js .pains, html.js .pain__close,
  html.js .dims, html.js .dims__score, html.js .prices, html.js .trust__method, html.js .proofs,
  html.js .promises, html.js .logowall, html.js .flow, html.js .fhead, html.js .fselect,
  html.js .faq, html.js .endcta { opacity: 1; transform: none; transition: none; }
}

/* ============================================================ NAV MENU + MOBILE DRAWER (appended) ============================================================ */
.nav__logo-link { flex: none; display: inline-flex; }
.nav__menu { display: flex; align-items: center; gap: 2px; margin-left: 22px; }
.nav__link { font-family: var(--font-cn); font-size: 15px; font-weight: 500; color: var(--d-body); padding: 9px 13px; border-radius: 10px; transition: color .16s ease, background .16s ease; white-space: nowrap; }
.nav__link:hover { color: var(--d-navy-deep); background: #eef4fa; }
.nav__link--active { color: var(--d-navy); font-weight: 700; }
.nav__cta { flex: none; }
.nav__burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0; flex: none; margin-left: 2px; }
.nav__burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--d-navy-deep); margin-inline: auto; transition: transform .24s ease, opacity .2s ease; }
.nav.open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__drawer { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--d-line); box-shadow: var(--d-shadow); flex-direction: column; padding: 12px; gap: 2px; display: none; }
.nav.open .nav__drawer { display: flex; }
.nav__drawer a { padding: 13px 14px; border-radius: 10px; font-family: var(--font-cn); font-size: 15.5px; font-weight: 500; color: var(--d-body); }
.nav__drawer a:hover { background: #eef4fa; }
.nav__drawer a.nav__link--active { color: var(--d-navy); font-weight: 700; }
.nav__drawer .btn { margin-top: 8px; width: 100%; }
@media (max-width: 980px) {
  .nav__menu, .nav__phone { display: none; }
  .nav__burger { display: flex; }
}
@media (max-width: 480px) {
  .nav__cta { display: none; }
}

/* ============================================================ CLIENT LOGO WALL (appended) ============================================================ */
.logowall { margin-top: 56px; background: #fff; border-radius: 20px; padding: 24px 28px 28px; box-shadow: var(--d-shadow-lg); }
.logowall__label { font-family: var(--font-lbl); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--d-muted); text-align: center; margin: 0 0 20px; }
.logowall__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 42px; }
.logowall__row img { height: 34px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .25s ease, opacity .25s ease; }
.logowall__row img:hover { filter: grayscale(0); opacity: 1; }
@media (max-width: 560px) {
  .logowall { padding: 20px 18px 22px; }
  .logowall__row { gap: 18px 26px; }
  .logowall__row img { height: 27px; max-width: 88px; }
}
