:root {
  color-scheme: light;
  --paper: #f5f4ee;
  --surface: #fffefb;
  --ink: #252f2b;
  --muted: #626b64;
  --green: #235b46;
  --line: #d9ded4;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0 auto;
  padding: 0 32px;
  max-width: 1120px;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
a { color: var(--green); text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; border-radius: 2px; }
::selection { background: #d5e6d5; }
.skip { position: absolute; top: -100px; left: 16px; z-index: 1; padding: 12px 20px; background: var(--surface); }
.skip:focus { top: 12px; }
body > header { padding: 52px 0 32px; border-bottom: 1px solid var(--ink); }
.eyebrow { margin: 0 0 16px; color: var(--green); font-size: .8rem; font-weight: 700; letter-spacing: .16em; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.55; }
header h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: .06em; }
.desc { max-width: 650px; margin: 16px 0 0; color: var(--muted); font-size: .9rem; }
nav[aria-label="ページ切り替え"] { padding: 22px 0; }
nav[aria-label="ページ切り替え"] p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
nav[aria-label="ページ切り替え"] a,
nav[aria-label="ページ切り替え"] span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 5px 10px; border: 1px solid transparent; border-radius: 6px; font-size: .85rem; text-decoration: none; font-variant-numeric: tabular-nums; }
nav[aria-label="ページ切り替え"] a:hover { background: var(--surface); border-color: var(--line); }
nav[aria-label="ページ切り替え"] [aria-current] { color: white; background: var(--green); font-weight: 700; }
.listing main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.post { display: flex; flex-direction: column; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.post h2 { margin: 0 0 16px; font-size: 1.3rem; }
.post h2 a { color: var(--ink); text-decoration: none; }
.post h2 a:hover { color: var(--green); text-decoration: underline; }
.meta { display: flex; flex-wrap: wrap; gap: 3px 14px; color: var(--muted); font-size: .76rem; line-height: 1.8; }
.meta time { font-variant-numeric: tabular-nums; }
.post > p { margin: 18px 0 24px; color: var(--muted); font-size: .9rem; line-height: 1.95; }
.post > p:last-child { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.post > p:last-child a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; font-weight: 700; text-decoration: none; }
.listing main > hr { display: none; }
body > footer { margin-top: 24px; padding: 24px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
footer p { margin: 0; }
.reading { max-width: 896px; }
.reading > header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 28px 0; }
.brand { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.reading header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; }
.reading main { margin-top: 32px; }
article { padding: 44px 48px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
article h1 { margin: 0 0 24px; font-size: clamp(1.55rem, 3.5vw, 2.25rem); }
article .meta { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
article > p { margin: 28px 0 0; font-size: 1.05rem; line-height: 2.2; line-break: strict; }
@media (max-width: 640px) {
  body { padding: 0 18px; }
  body > header { padding: 32px 0 24px; }
  .listing main { grid-template-columns: 1fr; gap: 16px; }
  .post { padding: 24px; }
  .reading main { margin-top: 20px; }
  article { padding: 28px 22px; }
  article > p { font-size: 1rem; line-height: 2.1; }
}
@media print {
  body { max-width: none; padding: 0; background: white; color: black; }
  .skip, nav, .post > p:last-child { display: none; }
  .listing main { display: block; }
  .post, article { border: 0; padding: 16px 0; background: none; }
  a { color: inherit; }
}
