/* プライバシーポリシー・利用規約の共通スタイル */
:root {
  --forest: #2f4a36;
  --forest-deep: #1f3325;
  --moss: #6f8f5e;
  --sage: #e7eee3;
  --cream: #f7f3ea;
  --wood: #a86f3d;
  --text: #2b2b27;
  --muted: #6b6b62;
  --radius: 16px;
  --font-head: "Zen Kaku Gothic New", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: #e9e6dc;
  line-height: 1.9;
  font-size: 15px;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); }

.page { max-width: 600px; margin: 0 auto; background: var(--cream); min-height: 100vh; }

/* 上のバー */
.legal-head {
  background: var(--forest-deep);
  padding: 12px 20px calc(12px + env(safe-area-inset-top, 0px));
}
.legal-head .inner {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.legal-head img { width: 24px; filter: invert(1); opacity: .9; }
.legal-head span {
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  color: #fff; letter-spacing: .06em;
}

/* 本文 */
.legal-body { padding: 36px 20px 48px; }
.legal-body h1 {
  font-family: var(--font-head);
  font-size: 22px; line-height: 1.6; color: var(--forest);
  text-align: center; margin-bottom: 10px;
}
.legal-lead {
  font-size: 14px; color: var(--muted);
  text-align: center; margin-bottom: 8px;
}
.leaf-line {
  width: 40px; height: 2px; background: var(--moss);
  margin: 18px auto 30px; border-radius: 2px;
}
.legal-body h2 {
  font-family: var(--font-head);
  font-size: 17px; color: var(--forest);
  margin: 32px 0 10px; padding-left: 12px;
  border-left: 4px solid var(--moss);
  line-height: 1.5;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 {
  font-size: 15px; font-weight: 700; color: var(--forest);
  margin: 18px 0 4px;
}
.legal-body p { margin-bottom: 12px; }
.legal-body ul, .legal-body ol { margin: 0 0 12px 1.4em; }
.legal-body li { margin-bottom: 6px; }
.legal-body .note {
  background: #fff; border-radius: var(--radius);
  padding: 16px 18px; font-size: 14px; margin-bottom: 14px;
}
.legal-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.legal-table th, .legal-table td { padding: 12px 14px; border-bottom: 1px solid var(--sage); font-size: 14px; text-align: left; vertical-align: top; }
.legal-table th { width: 110px; color: var(--forest); font-weight: 700; }
.legal-table tr:last-child th, .legal-table tr:last-child td { border-bottom: 0; }

.legal-date { margin-top: 36px; font-size: 13px; color: var(--muted); text-align: right; }

/* 公開前に差し替える部分 */
.todo {
  display: inline-block;
  background: #fff3a8;
  border: 2px dashed #e0b400;
  color: #6b5500;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  line-height: 1.6;
}

/* 戻るボタン */
.back-link {
  display: block; text-align: center;
  margin: 36px auto 0; max-width: 320px;
  background: var(--forest); color: #fff;
  text-decoration: none; font-weight: 700; font-size: 15px;
  border-radius: 999px; padding: 14px;
}

/* フッター */
.legal-foot {
  background: var(--forest-deep); color: rgba(255,255,255,.8);
  text-align: center; font-size: 12px; padding: 24px 20px 32px;
}
.legal-foot a { color: rgba(255,255,255,.85); }
.legal-foot .sep { opacity: .4; margin: 0 8px; }
.legal-foot .copy { margin-top: 12px; opacity: .7; }
