:root {
  --bg: #fffaf5;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #ea580c;
  --border: #f1e4d8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17120e;
    --card: #211a14;
    --text: #f3ede7;
    --muted: #b7aca1;
    --accent: #fb923c;
    --border: #3a2e24;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-text-size-adjust: 100%;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header.site { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
header.site .brand { font-weight: 800; color: var(--accent); font-size: 20px; text-decoration: none; }
header.site nav a { color: var(--muted); font-size: 14px; margin-left: 12px; }
h1 { font-size: 26px; line-height: 1.4; margin: 24px 0 8px; }
h2 { font-size: 18px; margin: 32px 0 8px; padding-top: 8px; border-top: 1px solid var(--border); }
p, li { overflow-wrap: anywhere; }
ul, ol { padding-left: 1.4em; }
.lead { color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--border); }
th { white-space: nowrap; color: var(--muted); font-weight: 600; }
a { color: var(--accent); }
footer { margin-top: 48px; color: var(--muted); font-size: 13px; }
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  th { border-bottom: none; padding-bottom: 0; }
}
