:root {
  --bg: #faf9f6;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --accent: #0f6e5c;
  --accent-weak: #e4f0ed;
  --border: #e3e0d8;
  --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191b1a;
    --text: #e8e6e0;
    --muted: #9b9a94;
    --accent: #5cc4ab;
    --accent-weak: #21332e;
    --border: #33362f;
    --card: #20231f;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.9;
  font-size: 16px;
}
.site-header {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 8px;
}
.site-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 2px;
}
.site-tagline { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
main { max-width: 720px; margin: 0 auto; padding: 24px 20px 60px; }
.site-intro { color: var(--muted); font-size: 14px; border-left: 3px solid var(--accent); padding-left: 12px; }

.post-list { list-style: none; padding: 0; margin: 32px 0; }
.post-item { margin-bottom: 28px; }
.post-item a { text-decoration: none; color: var(--text); display: block; }
.post-item-date { display: block; font-size: 12px; color: var(--muted); }
.post-item-title { font-size: 19px; font-weight: 700; color: var(--accent); line-height: 1.6; }
.post-item a:hover .post-item-title { text-decoration: underline; }
.post-item-desc { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

article h1 { font-size: 26px; line-height: 1.5; margin: 8px 0 24px; }
article h2 {
  font-size: 20px;
  margin: 44px 0 16px;
  padding: 8px 12px;
  background: var(--accent-weak);
  border-left: 4px solid var(--accent);
  border-radius: 3px;
}
article h3 { font-size: 17px; margin: 32px 0 12px; }
article a { color: var(--accent); }
article img { max-width: 100%; }
article blockquote {
  margin: 20px 0;
  padding: 4px 16px;
  border-left: 3px solid var(--border);
  color: var(--muted);
}
article table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; font-size: 14px; }
article th, article td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
article th { background: var(--accent-weak); }
article code {
  background: var(--accent-weak);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}
article pre { background: var(--card); border: 1px solid var(--border); padding: 16px; overflow-x: auto; border-radius: 8px; }
article pre code { background: none; padding: 0; }
.post-date { color: var(--muted); font-size: 13px; margin-bottom: 0; }

.pr-notice {
  font-size: 12.5px;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0 0 28px;
}
.post-footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}
.site-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.site-footer a { color: var(--muted); }
