:root {
  --bg: #fbfaf7; --surface: #ffffff; --text: #1d2125; --muted: #5d6670; --line: #e4e1da;
  --accent: #0f7b6c; --accent-soft: #e3f2ef; --pr: #8a5a00; --pr-bg: #fff4dc;
  --radius: 10px; --max: 760px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15181b; --surface: #1d2125; --text: #e8eaec; --muted: #a3abb3; --line: #2f353b;
    --accent: #4cc3b1; --accent-soft: #17332f; --pr: #f0c46c; --pr-bg: #3a2f17;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.85; font-size: 17px;
  font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", system-ui, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 60px; flex-wrap: wrap; gap: 8px; }
header.site .logo { font-weight: 700; color: var(--text); text-decoration: none; }
header.site nav a { margin-left: 16px; color: var(--muted); text-decoration: none; font-size: 14px; }
main { padding: 32px 16px 64px; }
h1 { font-size: 1.7rem; line-height: 1.4; margin: 0 0 8px; }
h2 { font-size: 1.3rem; margin-top: 2.2em; border-left: 4px solid var(--accent); padding-left: 10px; }
.meta { color: var(--muted); font-size: 14px; }
.pr-notice { background: var(--pr-bg); color: var(--pr); border-radius: var(--radius); padding: 10px 14px; font-size: 14px; margin: 16px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 12px 0; }
.card a { text-decoration: none; color: var(--text); font-weight: 700; }
.tag { display: inline-block; font-size: 12px; background: var(--accent-soft); color: var(--accent); border-radius: 99px; padding: 1px 10px; margin-right: 6px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
th, td { border: 1px solid var(--line); padding: 8px; text-align: left; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 24px 0; }
.contact-button a{display:inline-block;padding:.7em 1.4em;border-radius:8px;background:#2a7f8f;color:#fff;text-decoration:none;font-weight:bold}
.contact-button a:hover{opacity:.9}
