:root {
  --ink: #10233b; --ink-2: #30445c; --muted: #667487; --line: #dce2e7;
  --paper: #ffffff; --soft: #f4f7f6; --blue: #1f63c6; --navy: #0c2038;
  --warn-bg: #fff4d6; --warn-ink: #7a4b00; --warn-line: #f1d48a;
  --max: 760px;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; line-height: 1.9; }
a { color: var(--blue); }
.site-header { position: sticky; top: 0; z-index: 20; height: 64px; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(16,35,59,.1); backdrop-filter: blur(10px); }
.header-inner { width: min(calc(100% - 32px), 1080px); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); font-size: 21px; font-weight: 900; }
.brand-mark { width: 28px; height: 28px; }
.header-sub { font-size: 13px; font-weight: 700; color: var(--muted); }
article { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; padding: 40px 0 64px; }
.meta { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
h1 { font-size: clamp(24px, 4.6vw, 32px); line-height: 1.45; margin: 0 0 20px; }
h2 { font-size: 22px; line-height: 1.5; margin: 48px 0 12px; padding-top: 8px; border-top: 1px solid var(--line); }
h3 { font-size: 18px; margin: 28px 0 8px; }
p, li { font-size: 16.5px; }
.lead { font-size: 17.5px; background: var(--soft); border-radius: 12px; padding: 18px 20px; margin: 0 0 8px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; }
table { border-collapse: collapse; min-width: 100%; font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; white-space: nowrap; }
td.wrap, th.wrap { white-space: normal; min-width: 14em; }
th { background: var(--soft); }
.note { font-size: 14px; color: var(--muted); }
.callout { background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.next { margin-top: 40px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; background: var(--soft); padding: 1px 5px; border-radius: 4px; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0; font-size: 13px; color: var(--muted); }
.footer-inner { width: min(calc(100% - 32px), 1080px); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: inherit; text-decoration: none; }
@media (max-width: 600px) { .header-sub { display: none; } }
