:root {
  color-scheme: light;
  --max-width: 720px;
  --fg: #14212e;
  --muted: #5b6874;
  --border: #ddd6c9;
  --link: #1f4e79;
  --bg-code: #eeece4;
  --paper: #f4f2ec;
  --panel: #fffdf9;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--fg);
  line-height: 1.8;
  background: var(--paper);
  background-image:
    repeating-linear-gradient(to right, rgba(31,78,121,0.05) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(to bottom, rgba(31,78,121,0.05) 0 1px, transparent 1px 32px);
}
header.site-header, footer.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.25rem;
}
header.site-header {
  border-bottom: 1px solid var(--border);
}
header.site-header a.brand {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--fg);
  text-decoration: none;
}
header.site-header nav {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}
header.site-header nav a {
  margin-right: 1rem;
  color: var(--link);
  text-decoration: none;
}
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2rem;
}
h1 { font-size: 1.5rem; line-height: 1.4; }
h2 { font-size: 1.25rem; margin-top: 2.2rem; border-left: 4px solid var(--link); padding-left: 0.5rem; }
h3 { font-size: 1.05rem; margin-top: 1.5rem; }
p, li { font-size: 0.98rem; }
a { color: var(--link); }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}
th, td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.6rem;
  text-align: left;
  white-space: normal;
}
th { background: #faf8f3; }
pre {
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.85rem;
  white-space: pre-wrap;
  word-break: break-word;
}
code { font-family: SFMono-Regular, Consolas, "Liberation Mono", monospace; }
blockquote {
  margin: 1rem 0;
  padding: 0.6rem 1rem;
  border-left: 4px solid #e0a800;
  background: #fff8e6;
  color: #3d4b58;
  font-size: 0.92rem;
}
.notice {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}
.meta {
  color: var(--muted);
  font-size: 0.85rem;
}
.article-list li {
  margin-bottom: 1rem;
}
.article-list .date {
  color: var(--muted);
  font-size: 0.85rem;
}
.ad-slot {
  margin: 1.5rem 0;
  padding: 0.75rem;
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}
@media (max-width: 480px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
}


/* --- ブランド適用（2026-09-16） --- */
header.site-header {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--link);
}
header.site-header a.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
header.site-header a.brand .mark {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}
header.site-header nav { display: flex; gap: 1rem; flex-wrap: wrap; }

main {
  background: var(--panel);
  border: 1px solid var(--border);
}

/* トップのリード */
.hero { border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; margin-bottom: 1.75rem; }
.hero h1 { margin: 0 0 .75rem; font-size: 1.85rem; line-height: 1.35; }
.hero .lede { margin: 0 0 1.25rem; font-size: 1.05rem; }
.hero .points { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 0; padding: 0; list-style: none; }
.hero .points li { border-left: 3px solid var(--link); padding: .1rem 0 .1rem .75rem; font-size: .95rem; color: var(--fg); }
.hero .points li b { display: block; font-size: .8rem; letter-spacing: .12em; color: var(--link); }

/* 記事カード */
ul.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
ul.article-list li {
  border: 1px solid var(--border);
  background: #fff;
  padding: 1rem 1.15rem;
}
ul.article-list li a { font-weight: 600; text-decoration: none; display: block; line-height: 1.6; }
ul.article-list li a:hover { text-decoration: underline; }
ul.article-list li .date { font-size: .85rem; color: var(--muted); margin-top: .4rem; }

.more { margin-top: 1.5rem; }
.elsewhere { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: .95rem; }
