:root {
  --fg: #1c1c1e;
  --bg: #fdfdfa;
  --muted: #6b6b70;
  --accent: #c93325;
  --line: #e5e2da;
  --code-bg: #f4f2ec;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #ececec;
    --bg: #17171a;
    --muted: #9a9aa0;
    --line: #333338;
    --code-bg: #222228;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0 auto;
  max-width: 44rem;
  padding: 0 1.25rem 3rem;
  color: var(--fg);
  background: var(--bg);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.85;
  font-size: 1rem;
}
.site-header {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line); margin-bottom: 2rem;
  flex-wrap: wrap; gap: .5rem;
}
.site-title { font-weight: 700; font-size: 1.15rem; color: var(--fg); text-decoration: none; }
.site-header nav a { margin-left: 1rem; color: var(--muted); text-decoration: none; font-size: .9rem; }
.site-header nav a:hover { color: var(--accent); }
a { color: var(--accent); }
h1 { font-size: 1.7rem; line-height: 1.4; margin: .5rem 0 1rem; }
h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.lead { color: var(--muted); font-size: 1.05rem; }
.post-list { list-style: none; padding: 0; }
.post-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.post-list time { display: block; color: var(--muted); font-size: .85rem; }
.post-list a { font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.post-list p { margin: .3rem 0 0; color: var(--muted); font-size: .92rem; }
.post-meta { color: var(--muted); font-size: .9rem; }
.content img { max-width: 100%; height: auto; }
pre { background: var(--code-bg); padding: 1rem; overflow-x: auto; border-radius: 6px; font-size: .88rem; line-height: 1.6; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; }
p code, li code { background: var(--code-bg); padding: .1em .35em; border-radius: 4px; }
blockquote { border-left: 3px solid var(--accent); margin-left: 0; padding-left: 1rem; color: var(--muted); }
.site-footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
