/* ========================================
   法的ページ共通（プライバシーポリシー・特商法）
   ======================================== */

.legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ── 見出しバー（FAQと同じパターン） ── */
.legal-heading-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 40px 0;
  background: var(--color-navy);
}

.legal-heading {
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
}

/* ── 本文エリア ── */
.legal-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  padding: 30px 20px 60px;
  gap: 30px;
}

/* ── セクション ── */
.legal-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-section-title {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-body);
}

.legal-section p {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-body);
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.5em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-section li {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-body);
}

/* ── テーブル（特商法用） ── */
.legal-table {
  width: 100%;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-body);
  padding: 12px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
  width: 30%;
  background: var(--bg-section);
}

.legal-table td {
  font-weight: 400;
}

/* ── 制定日 ── */
.legal-date {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-sub);
  text-align: right;
}

/* ── 問い合わせ窓口 ── */
.legal-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: var(--bg-section);
  border-radius: 8px;
}

.legal-contact p {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-body);
}

.legal-contact strong {
  font-weight: 700;
}
