:root {
  --bg: #fafaf8;
  --text: #1f2328;
  --muted: #5b636d;
  --line: #e3e3de;
  --accent: #1a5fb4;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --text: #e6e8eb;
    --muted: #a0a7b0;
    --line: #2c3036;
    --accent: #7fb0ff;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.85;
}
main { max-width: 680px; margin: 0 auto; padding: 40px 16px 64px; }
header.site { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 32px; }
header.site a.name { color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.02em; }
nav { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; }
h1 { font-size: 26px; line-height: 1.4; margin: 0 0 8px; }
h2 { font-size: 18px; line-height: 1.5; margin: 36px 0 8px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: 6px; }
a { color: var(--accent); overflow-wrap: anywhere; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.en { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.en h2:first-child { margin-top: 0; }
footer { margin-top: 56px; color: var(--muted); font-size: 13px; }
code { font-size: 14px; overflow-wrap: anywhere; }
