/* プライバシーポリシー・利用規約のページ。日本語と英語の両方を書き、legal.js が決めた言語（data-locale）のほうだけを見せる */
:root { color-scheme: light dark; --text: #1b1e26; --muted: #5b6070; --line: #d9dce3; --accent: #ff2d4b; --back: #fff; }
@media (prefers-color-scheme: dark) { :root { --text: #e8eaf0; --muted: #a3a8b6; --line: #3a3e4a; --back: #15171c; } }
html[data-locale='ja'] [lang='en'],
html[data-locale='en'] [lang='ja'] { display: none; }
body { margin: 0; background: var(--back); color: var(--text); font: 15px/1.8 system-ui, -apple-system, 'Segoe UI', 'Hiragino Sans', 'Yu Gothic UI', 'Noto Sans JP', sans-serif; }
main { max-width: 760px; margin: 0 auto; padding: 24px 20px 64px; }
header.legal-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
header.legal-head a.home { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-weight: 700; }
header.legal-head img { width: 28px; height: 28px; }
nav.locale { margin-left: auto; font-size: 13px; }
nav.locale a { color: var(--muted); }
h1 { font-size: 24px; margin: 28px 0 4px; }
h2 { font-size: 18px; margin: 32px 0 8px; padding-left: 10px; border-left: 4px solid var(--accent); }
.dates, .note { color: var(--muted); font-size: 13px; }
ul { padding-left: 1.4em; }
/* 狭い画面（375px）でも横にはみ出さない（長い URL や表の中の言葉は、どこでも折り返す） */
table { border-collapse: collapse; width: 100%; font-size: 14px; table-layout: fixed; }
td, th, main a { overflow-wrap: anywhere; word-break: normal; }
@media (max-width: 480px) { th, td { padding: 4px 6px; font-size: 13px; } }
th, td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; vertical-align: top; }
footer.legal-foot { margin-top: 48px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.legal-foot a, main a { color: inherit; }
