/* ============================================================
   privacy.html / terms.html / security.html 共通スタイル
   style.css は編集せず、法務系ページ固有のスタイルのみここに追加する
   ============================================================ */

/* ---------- 本文セクション ---------- */
.legal-section { padding-block: 52px; border-bottom: 1px solid var(--line-soft); }
.legal-section:last-of-type { border-bottom: none; }

.legal-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1.5;
}
.legal-section h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 20px;
  border-radius: 3px;
  background: var(--yg-500);
  flex: none;
}
.legal-section h3 {
  margin-top: 26px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-strong);
}
.legal-section p {
  margin-top: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  max-width: 62em;
}
.legal-section p + h3 { margin-top: 28px; }

/* ---------- 箇条書き ---------- */
.legal-list { margin-top: 12px; display: grid; gap: 8px; max-width: 62em; }
.legal-list li {
  padding-left: 1.3em;
  text-indent: -1.3em;
  color: var(--text-mid);
  line-height: 1.85;
}
.legal-list li::before { content: "・"; color: var(--yg-700); font-weight: 700; }

.legal-list--num { counter-reset: legalnum; }
.legal-list--num li {
  counter-increment: legalnum;
  padding-left: 1.6em;
  text-indent: -1.6em;
}
.legal-list--num li::before {
  content: counter(legalnum) ". ";
  color: var(--yg-700);
  font-weight: 700;
}

/* ---------- 注記ボックス ---------- */
.legal-note {
  margin-top: 22px;
  background: var(--bg-tint-blue);
  border: 1px solid var(--sb-100);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 62em;
}
.legal-note__title { font-weight: 700; color: var(--text-strong); margin-bottom: 8px; }
.legal-note strong { color: var(--text-strong); }

/* ---------- 制定日 ---------- */
.legal-date {
  margin-top: 44px;
  font-size: 13.5px;
  color: var(--text-weak);
  text-align: right;
}
