:root {
  --surface: #0a0a0b; --raised: #141416; --raised-2: #1b1b1e; --sunken: #050506;
  --line: #2a2a2d; --line-strong: #646469;
  --ink: #f4f3ef; --muted: #8e8e93; --on-ink: #0a0a0b;
  --beni: #e0102f; --beni-text: #ff3b55; --on-beni: #ffffff; --beni-tint: #1c0b0e;
  --gin: #b8b8bc; --ghost: #151517; --nav-bg: rgba(10,10,11,.74); --shadow: 0 24px 60px rgba(0,0,0,.5);
  --f-sans: "Geist", "SF Pro Display", -apple-system, system-ui, sans-serif;
  --f-mono: "Geist Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --f-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --f-min: "Shippori Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --ease-out: cubic-bezier(.16,1,.3,1); --ease-ink: cubic-bezier(.7,0,.2,1);
  --gutter: clamp(16px, 5vw, 64px);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --surface: #f4f3ef; --raised: #ffffff; --raised-2: #f0efeb; --sunken: #eae9e4;
    --line: #d8d7d2; --line-strong: #85858a;
    --ink: #0a0a0b; --muted: #5e5e63; --on-ink: #f4f3ef;
    --beni-text: #c80a27; --beni-tint: #fbe9ec;
    --gin: #5e5e63; --ghost: #e9e8e3; --nav-bg: rgba(244,243,239,.8); --shadow: 0 24px 60px rgba(20,20,20,.12);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --surface: #f4f3ef; --raised: #ffffff; --raised-2: #f0efeb; --sunken: #eae9e4;
  --line: #d8d7d2; --line-strong: #85858a;
  --ink: #0a0a0b; --muted: #5e5e63; --on-ink: #f4f3ef;
  --beni-text: #c80a27; --beni-tint: #fbe9ec;
  --gin: #5e5e63; --ghost: #e9e8e3; --nav-bg: rgba(244,243,239,.8); --shadow: 0 24px 60px rgba(20,20,20,.12);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--f-sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.label { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.jp { font-family: var(--f-jp); letter-spacing: .3em; }
.min { font-family: var(--f-min); font-weight: 600; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.period { color: var(--beni-text); }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.acc { fill: var(--beni); }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--nav-bg); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.brand svg { height: 22px; width: auto; }
.brand .mk { height: 26px; }
.brand .by { display: inline-flex; align-items: center; gap: 8px; padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--line); color: var(--muted); }
.brand .by svg { height: 12px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .16s var(--ease-out); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .16s var(--ease-out); }
.icon-btn:hover { border-color: var(--line-strong); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 999px; font: 500 15px/1 var(--f-sans); letter-spacing: -.01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: opacity .16s var(--ease-out), border-color .16s var(--ease-out), background-color .16s var(--ease-out), transform .2s var(--ease-out); }
.btn:active { transform: scale(.98); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-beni { background: var(--beni); color: var(--on-beni); }
.btn-primary:hover, .btn-beni:hover { opacity: .88; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); }
.btn .arr { transition: transform .16s var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

/* sections */
.section { padding-block: clamp(88px, 12vw, 152px); border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 820px; }
.sec-head h2 { font-size: clamp(38px, 6vw, 72px); line-height: 1; letter-spacing: -.045em; }
.sec-head p:not(.label) { font-size: 19px; color: var(--muted); max-width: 54ch; }

/* grids of facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fact { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px 36px 0; border-bottom: 1px solid var(--line); }
.fact:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.fact .k { font-family: var(--f-min); font-weight: 600; font-size: 44px; line-height: 1; }
.fact h3 { font-size: 20px; letter-spacing: -.015em; }
.fact p { font-size: 15px; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 2px solid var(--line); }
.steps li:last-child { border-top-color: var(--beni); }
.steps .n { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.steps h3 { font-size: 21px; letter-spacing: -.02em; }
.steps p { color: var(--muted); font-size: 15px; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.pill .jp { letter-spacing: .1em; color: var(--muted); font-size: 12px; }

/* faq */
.faq { border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 4px; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-weight: 400; font-size: 22px; color: var(--muted); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 26px; color: var(--muted); max-width: 70ch; }

/* cta band */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.cta-band h2 { font-size: clamp(52px, 9vw, 120px); line-height: .92; letter-spacing: -.055em; }
.cta-band .side { display: flex; flex-direction: column; gap: 20px; }
.cta-band .side p { color: var(--muted); font-size: 18px; max-width: 40ch; }

/* forms */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label, .field > .lbl { font-size: 14px; font-weight: 500; }
.field .opt { color: var(--muted); font-weight: 400; }
.field .hint { font-size: 13px; color: var(--muted); line-height: 1.45; }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--raised); color: var(--ink); font: 15px/1.4 var(--f-sans); transition: border-color .16s var(--ease-out), box-shadow .16s var(--ease-out); }
.textarea { min-height: 120px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: .8; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 10%, transparent); }
.field.err .input, .field.err .select, .field.err .textarea { border-color: var(--beni-text); }
.field .msg { display: none; font-size: 13px; color: var(--beni-text); }
.field.err .msg { display: block; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 14px; transition: background-color .16s, color .16s, box-shadow .16s; }
.choice input:checked + span { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.card-opt { position: relative; }
.card-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.card-opt > span { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); background: var(--raised); transition: box-shadow .16s; }
.card-opt b { font-weight: 500; font-size: 15px; }
.card-opt small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.card-opt input:checked + span { box-shadow: inset 0 0 0 2px var(--ink); }
.card-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 40px 56px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
footer .brand svg { height: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot-meta { display: flex; gap: 20px; font-size: 13px; color: var(--muted); }

/* reveal */
.pre { opacity: 0; transform: translateY(24px); }
[data-reveal] { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .cta-band, .grid-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .steps, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .brand .by { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .pre { opacity: 1; transform: none; }
}


.wz-top { padding-block: clamp(32px, 5vw, 56px) 8px; }
.wz-top .back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: 14px; }
.wz-top .back:hover { color: var(--ink); }
.wz-top h1 { margin-top: 18px; font-size: clamp(40px, 6vw, 76px); line-height: .96; letter-spacing: -.05em; }
.wz-top p.sub { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 60ch; }
.wz { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; padding-block: 36px 120px; }
.stepper { display: flex; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; overflow-x: auto; scrollbar-width: none; }
.stepper li { flex: 1 0 auto; }
.stepper button { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0; border: 0; background: none; color: var(--muted); font: 500 12px var(--f-sans); letter-spacing: .04em; cursor: pointer; text-align: left; }
.stepper button::before { content: ""; display: block; width: 100%; height: 3px; border-radius: 3px; background: var(--line); transition: background-color .3s var(--ease-out); }
.stepper button[aria-current="step"] { color: var(--ink); }
.stepper button[aria-current="step"]::before { background: var(--ink); }
.stepper button.done::before { background: var(--line-strong); }
.stepper button.done { color: var(--ink); }
.stepper button:disabled { cursor: default; }
.stepper .n { font-family: var(--f-mono); }
.panel { border-radius: 28px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(22px, 4vw, 44px); }
.step { display: flex; flex-direction: column; gap: 26px; border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { padding: 0; display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.step legend .label { display: flex; gap: 10px; }
.step legend h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.035em; line-height: 1.05; }
.step legend p { color: var(--muted); font-size: 16px; max-width: 60ch; font-weight: 400; }
.step .fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.step .fields > .field { grid-column: span 2; }
.step .fields > .field.half { grid-column: span 1; }
.wz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.wz-nav .count { font: 13px var(--f-mono); color: var(--muted); }
.wz-nav .r { display: flex; gap: 10px; }
.turnstile { display: flex; align-items: center; gap: 14px; height: 66px; padding: 0 18px; border-radius: 12px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 13px; max-width: 320px; }
.turnstile i { width: 26px; height: 26px; border-radius: 6px; border: 1.5px solid var(--line-strong); }
.review { display: flex; flex-direction: column; gap: 14px; }
.rv { border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); padding: 18px 20px; }
.rv header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.rv header b { font-weight: 600; font-size: 15px; }
.rv header button { border: 0; background: none; color: var(--muted); font: 500 13px var(--f-sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rv dl { display: grid; grid-template-columns: minmax(120px, 34%) minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 14px; }
.rv dt { color: var(--muted); }
.rv dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.aside { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.sum { border-radius: 24px; background: var(--sunken); box-shadow: inset 0 0 0 1px var(--line); padding: 24px; }
.sum h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.sum h3 .mk { height: 22px; width: auto; }
.sum dl { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.sum dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sum dd { margin: 2px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.sum dd.empty { color: var(--line-strong); }
.next { border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); padding: 24px; }
.next h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.next ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; counter-reset: n; }
.next li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; font-size: 14px; color: var(--muted); }
.next li::before { counter-increment: n; content: "0" counter(n); font: 12px var(--f-mono); color: var(--ink); padding-top: 2px; }
.safe { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); padding: 0 6px; }
.safe svg { flex-shrink: 0; margin-top: 2px; }
.done-panel { text-align: left; display: flex; flex-direction: column; gap: 18px; }
.done-panel .seal { align-self: flex-start; font: 600 13px var(--f-mono); letter-spacing: .08em; padding: 10px 14px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--beni-text); color: var(--beni-text); }
.done-panel h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.045em; line-height: 1; }
.done-panel p { color: var(--muted); font-size: 17px; max-width: 56ch; }
.draft { font-size: 12px; color: var(--muted); }
@media (max-width: 980px) {
  .wz { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .stepper button { min-width: 64px; }
  .stepper .t { display: none; }
}
@media (max-width: 560px) { .step .fields > .field.half { grid-column: span 2; } .rv dl { grid-template-columns: minmax(0, 1fr); } }
