/* Kantan — 利用規約とプライバシーポリシーのページ（英語だけ・2026-10-28 オーナー指示）。
   長い文を読みやすくするため、本文は端末の文字（Webフォントを読まない＝表示後に文字が差し替わらない）。色は LP と同じ */
:root {
  --canvas: #FBF8F7;
  --card: #FFFFFF;
  --line: #EFE7E4;
  --ink: #4A423D;
  --ink-2: #776D68;
  --sakura-mist: #FDF5F7;
  --sakura-soft: #F8EAEE;
  --rose: #B4566F;
  --gutter: 20px;
}

/* タップ・長押しのチラつきを出さない（共通ルール §9.1-7）。ダブルタップ拡大を止める（§9.1-6） */
html { -webkit-tap-highlight-color: transparent; touch-action: manipulation; -webkit-text-size-adjust: 100%; background: var(--canvas); }
a, button { -webkit-touch-callout: none; }
a, img, svg { -webkit-user-drag: none; }
.lg-top, .lg-toc, .lg-foot { -webkit-user-select: none; user-select: none; }

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rose); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* 上の帯：ロゴだけ（押すとホームへ） */
.lg-top { display: flex; align-items: center; height: 64px; padding: 0 var(--gutter); padding-top: env(safe-area-inset-top, 0px); border-bottom: 1.5px solid var(--line); }
.lg-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.lg-brand img:first-child { width: 36px; height: 30px; }
.lg-brand .wordmark { width: 92px; height: 20px; }

.lg { max-width: 720px; margin: 0 auto; padding: 36px var(--gutter) 56px; }
.lg h1 { margin: 0 0 6px; font-size: 32px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.lg .lg-date { margin: 0 0 24px; color: var(--ink-2); font-size: 15px; }
.lg h2 { margin: 40px 0 10px; font-size: 21px; line-height: 1.35; font-weight: 800; text-wrap: balance; scroll-margin-top: 16px; }
.lg h3 { margin: 22px 0 6px; font-size: 17px; line-height: 1.45; font-weight: 800; }
.lg p { margin: 0 0 14px; }
.lg ul, .lg ol { margin: 0 0 14px; padding-left: 1.3em; }
.lg li { margin: 0 0 6px; }
.lg li::marker { color: var(--rose); }
.lg strong { font-weight: 700; }

/* 要点（はじめの囲み） */
.lg-short { margin: 0 0 28px; padding: 18px 20px 6px; background: var(--sakura-mist); border: 1.5px solid var(--sakura-soft); border-radius: 18px; }
.lg-short h2 { margin: 0 0 8px; font-size: 18px; }
.lg-short ul { padding-left: 1.2em; }

/* 目次 */
.lg-toc { margin: 0 0 8px; padding: 16px 20px; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; }
.lg-toc p { margin: 0 0 6px; font-weight: 800; font-size: 15px; color: var(--ink-2); }
.lg-toc ol { margin: 0; padding-left: 1.5em; columns: 1; font-size: 15px; line-height: 1.5; }
.lg-toc li { margin: 0; break-inside: avoid; }
.lg-toc a { display: inline-block; padding: 6px 0; min-height: 32px; text-decoration: none; color: var(--ink); }

/* 集めるものの一覧 */
.lg-item { margin: 0 0 12px; padding: 14px 18px 2px; background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; }
.lg-item h3 { margin: 0 0 4px; }
.lg-item p { margin: 0 0 12px; }

.lg-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; padding: 28px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1.5px solid var(--line); color: var(--ink-2); font-size: 15px; }
.lg-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.lg-foot a[aria-current="page"] { color: var(--rose); font-weight: 700; }
.lg-foot small { flex-basis: 100%; text-align: center; font-size: 14px; }

@media (min-width: 900px) {
  .lg { padding-top: 56px; }
  .lg h1 { font-size: 40px; }
  .lg-toc ol { columns: 2; column-gap: 32px; }
}
@media (hover: hover) and (pointer: fine) {
  .lg-toc a:hover, .lg-foot a:hover { color: var(--rose); }
  .lg a:hover { text-decoration-thickness: 2px; }
}
