:root {
  color-scheme: light;
  --accent: #176B5B;
  --accent-dark: #0D4C40;
  --surface: #EEF3EC;
  --paper: #FBFCF9;
  --ink: #15231F;
  --muted: #52645E;
  --line: #C9D6CF;
  --warning: #8A4B0F;
  --warning-surface: #FFF7E8;
  --danger: #8A2B2B;
  --danger-surface: #FFF2F2;
  --shadow: 0 18px 42px rgba(23, 68, 57, .09);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 1rem; line-height: 1.75; }
a { color: var(--accent-dark); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
button, input { font: inherit; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .65rem 1rem; color: #fff; background: var(--accent-dark); border-radius: .4rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .85rem max(1rem, calc((100vw - 72rem) / 2)); border-bottom: 1px solid rgba(201, 214, 207, .9); background: rgba(251, 252, 249, .96); backdrop-filter: blur(14px); }
.brand { color: var(--ink); font-size: 1.05rem; font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.site-header nav { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }
main { max-width: 72rem; margin: 0 auto; padding: 1.25rem 1rem 5rem; }
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(17rem, .55fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(2rem, 6vw, 5.25rem); border-radius: 1.5rem; background: linear-gradient(135deg, var(--surface), #F8F2E8); box-shadow: var(--shadow); }
.hero::after { content: ""; position: absolute; right: -5rem; bottom: -8rem; width: 22rem; height: 22rem; border-radius: 50%; border: 3.5rem solid rgba(23, 107, 91, .08); }
.hero-copy, .hero-aside { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 .65rem; color: var(--accent-dark); font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.35; letter-spacing: .01em; }
h1 { max-width: 17ch; margin: 0; font-size: clamp(2rem, 5vw, 4rem); }
h2 { margin-top: 0; font-size: clamp(1.55rem, 3vw, 2.35rem); }
h3 { font-size: 1.15rem; }
.lead { max-width: 49rem; margin: 1.35rem 0; color: #31443E; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.primary-action, .button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .75rem 1.15rem; border: 2px solid var(--accent); border-radius: .65rem; color: #fff; background: var(--accent); font-weight: 800; text-decoration: none; cursor: pointer; }
.primary-action:hover, .button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.trust-card { padding: 1.25rem; border: 1px solid rgba(23, 107, 91, .26); border-radius: 1rem; background: rgba(255, 255, 255, .78); }
.trust-card strong { display: block; margin-bottom: .35rem; }
.section { margin-top: clamp(2.5rem, 6vw, 5rem); scroll-margin-top: 5rem; }
.section-heading { max-width: 49rem; margin-bottom: 1.5rem; }
.two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.panel { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 8px 28px rgba(23, 68, 57, .05); }
.panel h3 { margin-top: 0; }
.boundary-list { margin: 0; padding-left: 1.2rem; }
.boundary-list li + li { margin-top: .4rem; }
.tool-step { padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--line); border-left: .42rem solid var(--accent); border-radius: 1rem; background: #fff; box-shadow: var(--shadow); }
.step-number { display: inline-grid; width: 2rem; height: 2rem; place-items: center; margin-right: .45rem; border-radius: 50%; color: #fff; background: var(--accent); font-weight: 850; }
fieldset { min-width: 0; margin: 0; padding: 1.25rem 0; border: 0; border-bottom: 1px solid var(--line); }
fieldset:last-of-type { border-bottom: 0; }
legend { padding: 0; font-weight: 800; }
.field-help { margin: .25rem 0 .7rem; color: var(--muted); font-size: .92rem; }
.optional { display: inline-block; margin-left: .45rem; padding: .1rem .45rem; border-radius: 99px; color: var(--muted); background: var(--surface); font-size: .75rem; font-weight: 700; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .65rem; }
.choice { position: relative; display: flex; gap: .55rem; align-items: flex-start; min-height: 3.25rem; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--paper); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent); outline: 2px solid rgba(23, 107, 91, .16); background: var(--surface); }
.choice input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--accent); }
.actions { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-top: 1.3rem; }
.validation { margin: 0; color: var(--danger); font-weight: 750; }
.result { margin-top: 1.4rem; padding: 1.5rem; border-radius: .8rem; background: var(--surface); }
.result[data-status="REQUIREMENT_MISMATCH"] { border-left: .35rem solid var(--danger); background: var(--danger-surface); }
.result[data-status="CHECK_REQUIRED"] { border-left: .35rem solid var(--warning); background: var(--warning-surface); }
.result[data-status="READY_FOR_PLAN_CHECK"], .result[data-status="PLAN_CHECK_COMPLETE"] { border-left: .35rem solid var(--accent); }
.result h3 { margin: 0 0 .45rem; }
.notice-list { margin-bottom: 0; padding-left: 1.25rem; }
.scope-callout { padding: 1rem 1.15rem; border-radius: .75rem; color: #143A31; background: var(--surface); font-weight: 750; }
.official-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.official-link { display: block; min-height: 100%; padding: 1rem; border: 1px solid var(--line); border-radius: .75rem; background: #fff; font-weight: 720; text-decoration: none; }
.official-link small { display: block; margin-top: .3rem; color: var(--muted); font-weight: 500; }
.coupon-intent-link { margin: 1.25rem 0 0; font-weight: 780; }
.checklist { padding: 1.4rem; border-radius: 1rem; background: #F8F5EC; }
.commercial { padding: 1.5rem; border: 2px solid var(--accent); border-radius: 1rem; background: #fff; }
.commercial-disclosure { margin-top: 0; font-weight: 780; }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.offer-card { min-width: 0; padding: 1.15rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); }
.offer-card p { margin: 0 0 .45rem; }
.offer-audience { font-weight: 780; }
.offer-discount { color: var(--accent-dark); font-size: 1.55rem; font-weight: 880; line-height: 1.3; }
.offer-code strong { overflow-wrap: anywhere; letter-spacing: .04em; }
.offer-note { color: var(--muted); font-size: .92rem; }
.offer-card .affiliate-link { margin-top: .5rem; }
.offer-expiry { margin-bottom: .35rem; font-weight: 780; }
.offer-terms { margin-top: .35rem; color: var(--muted); font-size: .92rem; }
.preview-cta, .affiliate-link { display: inline-flex; min-height: 3rem; align-items: center; padding: .75rem 1rem; border-radius: .65rem; font-weight: 800; }
.preview-cta { color: var(--muted); border: 2px dashed #8AA59B; background: var(--surface); cursor: not-allowed; }
.affiliate-link { justify-content: center; color: #fff; background: var(--accent); text-align: center; text-decoration: none; }
.coupon-hero h1 { max-width: 19ch; }
.coupon-guidance ul { margin-bottom: 0; padding-left: 1.25rem; }
.coupon-commercial .commercial-slot { min-width: 0; }
.coupon-preflight p:last-child { margin-bottom: 0; font-weight: 780; }
.evidence-list { display: grid; gap: .75rem; padding: 0; list-style: none; }
.evidence-list li { padding: 1rem; border-left: .25rem solid var(--accent); background: var(--surface); }
.meta-note { color: var(--muted); font-size: .9rem; }
.simple-page { max-width: 52rem; margin: 2rem auto 0; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.simple-page h1 { max-width: none; font-size: clamp(2rem, 5vw, 3rem); }
footer { padding: 2rem max(1rem, calc((100vw - 72rem) / 2)); color: var(--muted); border-top: 1px solid var(--line); background: var(--surface); }
footer nav { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr; }
  .hero-aside { max-width: 34rem; }
  .official-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 38rem) {
  .site-header { position: static; display: block; }
  .site-header nav { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem .8rem; width: 100%; margin-top: .65rem; }
  .hero { padding: 1.5rem; border-radius: 1rem; }
  .two-column, .official-grid, .choices, .offer-grid { grid-template-columns: 1fr; }
  .section { margin-top: 2.5rem; }
  .tool-step { padding: 1.1rem; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
