/* プライバシーポリシー・利用規約 共通スタイル（index.html と同じ配色） */
:root {
  --green: #06C755;
  --green-dark: #04933F;
  --green-soft: #E6F8EE;
  --yellow: #F7C531;
  --yellow-soft: #FFF6D6;
  --brown: #5B3F2A;
  --brown-soft: #8A6A52;
  --cream: #FFFBF3;
  --white: #FFFFFF;
  --line: #EDE4D8;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
html[lang="th"] body { font-family: "Noto Sans Thai", "Leelawadee UI", sans-serif; }
html:not([lang="ja"]) :is(h1,h2,p,li) { word-break: normal; }
body {
  margin: 0; background: var(--cream); color: var(--brown);
  font-family: "Noto Sans JP", "Noto Sans Thai", system-ui, sans-serif;
  line-height: 1.9; -webkit-font-smoothing: antialiased;
}
h1, h2, p, li { word-break: auto-phrase; line-break: strict; text-wrap: pretty; }
a { color: var(--green-dark); }
header { background: var(--white); border-bottom: 1px solid var(--line); }
.bar { max-width: 860px; margin: 0 auto; padding: 0 16px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; text-decoration: none; color: var(--brown); }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--green); display: grid; place-items: center; color: var(--white); font-size: 16px; }
.logo-mark span { color: var(--yellow); }
.back { font-size: 14px; font-weight: 700; text-decoration: none; }
main { max-width: 860px; margin: 0 auto; padding: 48px 16px 80px; }
h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 900; line-height: 1.4; margin: 0 0 8px; }
.meta { font-size: 13px; color: var(--brown-soft); margin: 0 0 32px; }
.intro { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; margin-bottom: 40px; }
h2 { font-size: 19px; font-weight: 900; line-height: 1.5; margin: 40px 0 12px; padding-left: 14px; border-left: 5px solid var(--green); }
p { margin: 0 0 12px; }
ol, ul { margin: 0 0 12px; padding-left: 1.6em; }
li { margin-bottom: 6px; }
.todo { background: var(--yellow-soft); border-radius: 4px; padding: 0 4px; font-weight: 700; }
.contact-box { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; }
.contact-box dl { display: grid; grid-template-columns: 8em 1fr; gap: 6px 16px; margin: 0; }
.contact-box dt { font-weight: 700; }
.contact-box dd { margin: 0; }
.end { text-align: right; margin-top: 40px; }
footer { background: var(--brown); color: #EADBCB; font-size: 13px; }
footer .bar { height: auto; padding: 24px 16px; flex-wrap: wrap; gap: 12px; }
footer a { color: #EADBCB; }
footer ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 560px) {
  .contact-box dl { grid-template-columns: 1fr; }
}
.lang { display: flex; width: 116px; flex: 0 0 116px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.lang button { width: 36px; flex: 0 0 36px; padding: 4px 0; border: 0; border-radius: 999px; background: transparent; color: var(--brown-soft); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--brown); color: var(--white); }
:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 4px; }
.contact-box dd, main p, main li { overflow-wrap: anywhere; }
.retention-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; margin: 16px 0; background: var(--white); }
.retention-table th, .retention-table td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.retention-table th:first-child { width: 32%; }
.retention-table thead { background: var(--green-soft); }
.policy-note { background: var(--yellow-soft); padding: 14px 16px; border-radius: 10px; }
@media (max-width: 560px) { .retention-table { font-size: 13px; } .retention-table th, .retention-table td { padding: 8px; } }
header { position: sticky; top: 0; z-index: 10; }
footer .bar { align-items: center; }
footer ul { flex-wrap: wrap; }
@media (max-width: 380px) { header .logo { font-size: 17px; gap: 6px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
