/* 利用規約・プライバシーポリシー共通。配色はトップページ（index.html）と揃える */
:root {
  --teal: #12a5a0;
  --teal-light: #e6f5f3;
  --ink: #363634;
  --ink-sub: #5c5a56;
  --wood-ink: #4a3523;
  --page: #fbfaf6;
  --card: #ffffff;
  --hairline: #e9e7e2;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  font-weight: 500;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
a { color: var(--teal); }
.wrap { width: min(800px, 100% - 32px); margin-inline: auto; }

header { background: var(--card); border-bottom: 1px solid var(--hairline); padding: 14px 0; }
.brand { text-decoration: none; font-weight: 800; font-size: 20px; color: var(--wood-ink); }

main { padding: 24px 0 48px; }
.doc { background: var(--card); border-radius: 18px; padding: 28px 22px; box-shadow: 0 1px 3px rgb(0 0 0 / .05); font-size: 14px; }
h1 { margin: 0 0 20px; font-size: 22px; font-weight: 800; color: var(--wood-ink); }
h2 { margin: 32px 0 8px; padding-left: 10px; border-left: 4px solid var(--teal); font-size: 16px; font-weight: 800; }
p { margin: 0 0 10px; }
ol, ul { margin: 0 0 10px; padding-left: 1.6em; }
li { margin-bottom: 4px; }
ol.paren { list-style: none; padding-left: 0; }
ol.paren > li { padding-left: 2.2em; text-indent: -2.2em; }
ol.paren ol, ol.paren ul { text-indent: 0; }
.note { font-size: 12px; color: var(--ink-sub); }

.table-scroll { overflow-x: auto; margin: 8px 0 12px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 13px; }
th, td { border: 1px solid var(--hairline); padding: 8px 10px; vertical-align: top; text-align: left; }
th { background: var(--teal-light); font-weight: 700; white-space: nowrap; }
td ul { list-style: none; padding: 0; margin: 0; }
/* 社名を単語の途中で折らない */
td { overflow-wrap: normal; }
td:first-child { white-space: nowrap; }
td:nth-child(2) { min-width: 12em; }

.history { margin-top: 32px; color: var(--ink-sub); font-size: 13px; }

footer { background: #3f5a3a; color: #e9f2e4; padding: 24px 0 calc(24px + env(safe-area-inset-bottom)); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: inherit; text-decoration: none; font-weight: 700; }
footer a:hover { text-decoration: underline; }
footer small { opacity: .75; }
