/* 法定ページ（利用規約・プライバシーポリシー・特定商取引法に基づく表記）の見た目。色はトークンだけ（設計書31.12） */
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.85; -webkit-font-smoothing: antialiased; }
a { color: var(--green-text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.top { background: var(--green-deep); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.top a { color: #fff; text-decoration: none; }
.top .ui-lockup .mk { height: 30px; } .top .ui-lockup .wd { height: 20px; }
.top nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; font-weight: 800; }
.wrap { width: min(820px, 100% - 32px); margin: 0 auto; }
main { padding: 36px 0 64px; }
.draft { background: var(--orange-tint); color: var(--orange-text); border: 1px solid color-mix(in srgb, var(--orange) 40%, transparent); border-radius: var(--r-md); padding: 10px 14px; font-weight: 800; font-size: 13.5px; margin-bottom: 22px; }
h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 900; line-height: 1.3; margin: 0 0 6px; }
.meta { color: var(--text-sub); font-size: 13.5px; margin: 0 0 28px; }
h2 { font-size: 19px; font-weight: 900; margin: 36px 0 10px; padding-top: 14px; border-top: 1.5px solid var(--cream-line); }
h3 { font-size: 16.5px; font-weight: 900; margin: 22px 0 6px; }
p, li { font-size: 15.5px; }
ol, ul { padding-left: 1.5em; }
ol.k { list-style: none; padding-left: 0; counter-reset: k; }
ol.k > li { counter-increment: k; position: relative; padding-left: 2.2em; margin: 6px 0; }
ol.k > li::before { content: '（' counter(k) '）'; position: absolute; left: 0; color: var(--text-sub); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0 16px; background: var(--surface); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
th, td { text-align: left; vertical-align: top; padding: 11px 13px; border-top: 1px solid var(--line-2); }
th { width: 32%; background: var(--surface-2); font-weight: 900; color: var(--text-sub); }
tr:first-child th, tr:first-child td { border-top: none; }
.ph { background: var(--yellow, #FFF2B3); color: var(--text); padding: 0 4px; border-radius: 4px; font-weight: 800; }
.note { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; color: var(--text-sub); font-size: 14px; }
footer { border-top: 1px solid var(--line-2); padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); color: var(--text-sub); font-size: 13px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 8px; }
footer a { text-decoration: none; font-weight: 700; }
@media (max-width: 600px) { th, td { display: block; width: auto; } th { border-top: 1px solid var(--line-2); } td { border-top: none; padding-top: 4px; } tr:first-child th { border-top: none; } }
