:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #5f6368;
  --line: #e5e7eb;
  --accent: #2563eb;
  --soft: #f4f6f8;
  --warn-bg: #fef2f2;
  --warn-text: #b91c1c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111827;
    --text: #e5e7eb;
    --muted: #a4abb3;
    --line: #374151;
    --accent: #60a5fa;
    --soft: #1f2937;
    --warn-bg: #3b1212;
    --warn-text: #fca5a5;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.8;
  font-family: "Segoe UI", "Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
}
a { color: var(--accent); }
header.site, footer.site { border-color: var(--line); }
header.site { border-bottom: 1px solid var(--line); }
header.site .inner, footer.site .inner, main { max-width: 860px; margin: 0 auto; padding: 0 16px; }
header.site .inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
header.site .brand { font-weight: 700; color: var(--text); text-decoration: none; }
header.site nav a { margin-left: 14px; font-size: 14px; }
main { padding-top: 24px; padding-bottom: 48px; }
h1 { font-size: 26px; line-height: 1.4; margin: 8px 0 16px; }
h2 { font-size: 19px; margin: 32px 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
h3 { font-size: 16px; margin: 20px 0 6px; }
.lead { font-size: 17px; color: var(--muted); }
.updated { color: var(--muted); font-size: 14px; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--soft); white-space: nowrap; width: 11em; }
table.prices th { width: auto; }
table.prices td.num { text-align: right; white-space: nowrap; }
.notice { background: var(--warn-bg); color: var(--warn-text); padding: 12px 16px; border-radius: 8px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 12px 0; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--soft); }
.card h3 { margin-top: 0; }
ol, ul { padding-left: 1.6em; }
li { margin: 4px 0; }
footer.site { border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer.site .inner { padding-top: 16px; padding-bottom: 24px; }
footer.site a { margin-right: 14px; }
@media (max-width: 560px) {
  th { width: 7.5em; white-space: normal; }
  h1 { font-size: 22px; }
}
