:root {
  --bg: #fdfbf7;
  --text: #333;
  --muted: #888;
  --accent: #d9776b;
  --line: #ece6dc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f1d1b;
    --text: #e8e4de;
    --muted: #9a948c;
    --accent: #f0998e;
    --line: #3a3632;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.9;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header, .container, .site-footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}
.site-header { padding-top: 48px; padding-bottom: 24px; text-align: center; }
.site-title { font-size: 1.8rem; font-weight: bold; color: var(--text); }
.site-description { margin: 4px 0 0; color: var(--muted); font-size: 0.9rem; }
.site-footer { padding-top: 48px; padding-bottom: 32px; color: var(--muted); font-size: 0.8rem; text-align: center; }

.month-title {
  font-size: 1rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  margin-top: 40px;
}
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.post-list time { color: var(--muted); margin-right: 12px; font-variant-numeric: tabular-nums; }
.post-list .title { font-weight: bold; }
.post-list .excerpt { margin: 4px 0 0; color: var(--muted); font-size: 0.85rem; }
.empty { text-align: center; color: var(--muted); }

.post-header { margin: 24px 0 32px; }
.post-date { color: var(--muted); font-size: 0.9rem; }
.post-title { margin: 4px 0 8px; font-size: 1.6rem; line-height: 1.4; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 0.8rem; color: var(--accent); }
.post-content img { max-width: 100%; height: auto; border-radius: 6px; }
.post-content blockquote { margin: 0; padding-left: 16px; border-left: 3px solid var(--line); color: var(--muted); }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.back { text-align: center; margin-top: 32px; font-size: 0.9rem; }
