:root {
  --ink: #101a22;
  --muted: #5d6870;
  --line: #dfe5e3;
  --paper: #f6f8f7;
  --white: #fff;
  --accent: #2252d6;
  --accent-dark: #173ba1;
  --accent-soft: #edf2ff;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body.trade { --accent: #1f55d9; --accent-dark: #153d9f; --accent-soft: #edf3ff; }
body.llmo { --accent: #0b7c71; --accent-dark: #075b54; --accent-soft: #edf7f5; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: #fff;
}
.skip:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner, .footer-inner, .page-head-inner, .content {
  width: min(1120px, calc(100% - 48px)); margin-inline: auto;
}
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: .06em; }
.brand-mark { width: 35px; height: 28px; background: url('/assets/mark-dark.png') center/contain no-repeat; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; text-decoration: none; }
.site-nav .nav-cta { padding: 0 20px; border: 1px solid var(--ink); }
.page-head { background: var(--ink); color: #fff; padding: clamp(62px, 8vw, 104px) 0; }
.breadcrumbs { margin: 0 0 26px; color: rgba(255,255,255,.65); font-size: 13px; }
.breadcrumbs a { color: inherit; }
.eyebrow { margin: 0 0 15px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.page-head .eyebrow { color: #8eabff; }
body.llmo .page-head .eyebrow { color: #76d3c8; }
body.llmo .page-head h1 { max-width: 1000px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); }
h1 { max-width: 820px; margin-bottom: 22px; font-size: clamp(34px, 5vw, 64px); line-height: 1.4; letter-spacing: -.02em; }
.page-head p:last-child { max-width: 720px; margin-bottom: 0; color: rgba(255,255,255,.78); font-size: clamp(16px, 2vw, 19px); }
.content { padding: clamp(64px, 9vw, 112px) 0; }
.choice-intro { max-width: 680px; margin-bottom: 48px; }
.choice-intro h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.55; }
.choice-intro p { color: var(--muted); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.choice-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(28px, 4vw, 46px); background: #fff; border: 1px solid var(--line); }
.choice-card .number { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.choice-card h2 { margin: 18px 0 14px; font-size: clamp(24px, 3vw, 36px); line-height: 1.5; }
.choice-card p { margin-bottom: 30px; color: var(--muted); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; width: fit-content; margin-top: auto; padding: 0 24px;
  border: 1px solid var(--accent); background: var(--accent); color: #fff;
  font-weight: 700; text-decoration: none; cursor: pointer;
}
.button::after { content: "→"; }
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.button-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.button-secondary:hover { background: var(--paper); border-color: var(--ink); }
.form-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(420px, 1.25fr); gap: clamp(38px, 7vw, 88px); align-items: start; }
.form-guide { position: sticky; top: 112px; }
.form-guide h2 { font-size: clamp(25px, 3vw, 38px); line-height: 1.55; }
.form-guide p { color: var(--muted); }
.guide-list { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.guide-list li { padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.guide-list strong { display: block; color: var(--ink); }
.sub-link { margin-top: 28px; font-size: 14px; }
.form-card { min-width: 0; background: #fff; border: 1px solid var(--line); padding: clamp(24px, 4vw, 42px); }
.form-card h2 { font-size: clamp(25px, 3vw, 36px); }
.form-note { color: var(--muted); font-size: 14px; }
.field { margin-top: 22px; }
.field label { display: block; margin-bottom: 7px; font-weight: 700; }
.required, .optional { margin-left: 8px; font-size: 11px; font-weight: 700; }
.required { color: var(--accent); }
.optional { color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px;
  border: 1px solid #cbd4d1; border-radius: 0; background: #fbfcfc; color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); background: #fff; }
.submit-row { margin-top: 30px; }
.submit-row .button { border: 0; }
.assurance { margin: 15px 0 0; color: var(--muted); font-size: 13px; }
.form-done { padding: 28px; border-left: 3px solid var(--accent); background: var(--accent-soft); }
.form-done h2 { font-size: 25px; }
.form-done p { margin-bottom: 0; }
.site-footer { background: #0b171c; color: rgba(255,255,255,.72); padding: 52px 0 34px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: start; }
.footer-brand { color: #fff; font-weight: 700; letter-spacing: .05em; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; }
.footer-nav a { color: inherit; font-size: 14px; }
.copyright { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }

@media (max-width: 820px) {
  .choice-grid, .form-layout { grid-template-columns: 1fr; }
  .form-guide { position: static; }
  .site-nav a:not(.nav-cta) { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .header-inner, .footer-inner, .page-head-inner, .content { width: min(100% - 32px, 1120px); }
  .header-inner { min-height: 64px; }
  .brand { font-size: 15px; }
  .site-nav .nav-cta { padding-inline: 14px; font-size: 12px; }
  .page-head { padding: 54px 0; }
  .content { padding: 56px 0 72px; }
  .choice-card, .form-card { padding: 24px 20px; }
  .button { width: 100%; }
}
