:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --text: #1d2422;
  --muted: #5b6662;
  --line: #d9dfdc;
  --accent: #1f5a4d;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121615;
    --surface: #1a201e;
    --text: #e6ebe9;
    --muted: #9aa6a1;
    --line: #2e3734;
    --accent: #7fc4b2;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
  line-height: 1.8;
  font-size: 16px;
}
a { color: var(--accent); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-weight: 700; letter-spacing: 0.04em; color: var(--text); text-decoration: none; font-size: 18px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }
main { padding-top: 32px; padding-bottom: 48px; }
section { margin-bottom: 48px; }
.hero h1 { font-size: 34px; margin: 0 0 8px; letter-spacing: 0.03em; }
.lead { font-size: 18px; margin: 0; }
h2 { font-size: 22px; border-bottom: 2px solid var(--accent); padding-bottom: 6px; margin: 0 0 16px; }
h3 { font-size: 17px; margin: 28px 0 8px; }
ul, ol { padding-left: 1.4em; }
li { margin: 4px 0; }
.note { color: var(--muted); font-size: 14px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--surface); font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
th { background: var(--bg); font-weight: 600; }
td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.spec { display: grid; grid-template-columns: 12em 1fr; margin: 0; border-top: 1px solid var(--line); }
.spec dt, .spec dd { margin: 0; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 600; }
@media (max-width: 600px) {
  .spec { grid-template-columns: 1fr; }
  .spec dt { border-bottom: none; padding-bottom: 0; }
  .spec dd { padding-top: 4px; }
  .hero h1 { font-size: 28px; }
}
.doc h1 { font-size: 26px; margin: 0 0 24px; }
.doc .article { margin-bottom: 20px; }
.doc .article h3 { margin: 0 0 4px; }
.doc .article p { margin: 2px 0; }
.doc .article p.item { padding-left: 1em; }
.doc h2 { margin-top: 36px; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14px; }
.site-footer .wrap { padding-top: 20px; padding-bottom: 28px; }
.site-footer p { margin: 2px 0; }
