/* 利用規約・プライバシーポリシーの共通の見た目（色は index.html と同じ） */
:root { --ink: #17302a; --sub: #56685f; --line: #dfeae4; --paper: #f3faf6; --green: #12a05f; --teal: #0ea5a4; --deep: #0b3b2c; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink);
       font: 15px/1.9 "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--green); }
.wrap { width: min(820px, calc(100% - 32px)); margin: 0 auto; }

.top { border-bottom: 1px solid var(--line); background: #fff; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 900; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
             background: linear-gradient(135deg, var(--green), var(--teal)); }
.back { font-size: 13px; text-decoration: none; }

.doc { padding: 48px 0 72px; }
.doc h1 { font-size: 28px; margin: 0 0 4px; }
.doc .meta { color: var(--sub); font-size: 13px; margin: 0 0 28px; }
.doc h2 { font-size: 17px; margin: 36px 0 8px; padding-left: 12px; border-left: 4px solid var(--green); }
.doc ol, .doc ul { padding-left: 1.6em; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--paper); }
.doc .end { text-align: right; margin-top: 32px; }
.doc .org { background: var(--paper); border-radius: 10px; padding: 14px 18px; }
.draft { background: #fff7e0; border: 1px solid #f0d58a; color: #7a5a00; border-radius: 8px; padding: 8px 12px; font-size: 13px; }

footer { background: var(--deep); color: rgba(255,255,255,.75); font-size: 13px; padding: 28px 0; }
footer a { color: inherit; text-decoration: none; margin-right: 14px; }
footer a:hover { color: #fff; }

@media (max-width: 560px) {
  .doc h1 { font-size: 23px; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border-width: 0 1px 1px; }
  .doc tr td:first-child { border-top-width: 1px; font-weight: 700; background: var(--paper); }
}
