/* =====================================================================
   Judo Gokyo – base styles shared by every page (after theme.css)
   ===================================================================== */
* { box-sizing:border-box; }
body { margin:0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background:var(--bg); color:var(--ink); line-height:1.55; }
a { color:var(--accent); }
a:hover { color:var(--accent-hover); }
.jp, [lang="ja"] { font-family:"Hiragino Mincho ProN","Yu Mincho","Noto Serif CJK JP",serif; }
[hidden] { display:none !important; }

/* site footer – written into every page by build/build.js */
.site-foot { background:var(--header-bg); }
.site-foot .foot-inner { max-width:1240px; margin:0 auto; padding:16px 20px 18px; display:flex; flex-wrap:wrap; gap:8px 20px; justify-content:space-between; font-size:13px; color:var(--header-faint); }
.site-foot nav { display:flex; flex-wrap:wrap; gap:6px 16px; }
.site-foot a { color:var(--header-ink); text-decoration:none; }
.site-foot a:hover { color:var(--header-ink); text-decoration:underline; }
.site-foot .lang-switch { display:flex; gap:4px 12px; }
.site-foot .lang-switch span { color:var(--header-ink); font-weight:600; }
