/* ══════════════════════════════════════════
   legal.css — 法的ページ専用（ライトテーマ）
   terms.html / privacy.html / tokushoho.html で読み込む
   ══════════════════════════════════════════ */

/* ── LIGHT THEME OVERRIDES ── */
:root {
  --text:       #1e293b;
  --text-light: #64748b;
  --bg:         #f8f9fc;
  --border:     #e2e8f0;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  font-size: 15px;
}

a { text-decoration: none; color: inherit; }

/* ── NAV OVERRIDES ── */
nav { background: rgba(26,26,46,0.95); }
.logo { color: #fff; }
.nav-back {
  font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s; text-decoration: none;
}
.nav-back:hover { color: rgba(255,255,255,0.9); }

/* ── PAGE HERO ── */
.page-hero {
  padding: 110px 20px 44px;
  background: linear-gradient(170deg, #1a1a2e 0%, #16213e 100%);
  text-align: center;
}
.page-hero .label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 10px;
}
.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700; color: #fff; line-height: 1.4; margin-bottom: 8px;
}
.page-hero p { font-size: 0.88rem; color: rgba(255,255,255,0.45); }

/* ── CONTENT ── */
.content { max-width: 760px; margin: 0 auto; padding: 52px 20px 80px; }

.content > p.lead {
  font-size: 0.93rem; color: var(--text-light); margin-bottom: 32px; line-height: 1.85;
}

.content h2 {
  font-size: 0.95rem; font-weight: 700; color: var(--accent);
  margin: 44px 0 12px; padding: 10px 14px;
  border-left: 3px solid var(--accent);
  background: rgba(233,69,96,0.04);
  border-radius: 0 6px 6px 0;
}
.content h2:first-of-type { margin-top: 8px; }

.content p { font-size: 0.92rem; color: #334155; line-height: 1.95; margin-bottom: 12px; }
.content p:last-of-type { margin-bottom: 0; }

.content ul {
  list-style: none; margin: 8px 0 16px; padding: 0;
}
.content ul li {
  font-size: 0.92rem; padding: 5px 0 5px 22px;
  position: relative; color: #334155; line-height: 1.75;
}
.content ul li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 7px; height: 7px;
  background: var(--accent); border-radius: 50%;
}

/* ── NOTE BOX ── */
.note-box {
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: var(--radius); padding: 16px 20px; margin: 16px 0;
  font-size: 0.87rem; color: #92400e; line-height: 1.75;
}

/* ── INFO BOX (Legal) ── */
.info-box {
  background: var(--white); border-radius: var(--radius);
  padding: 22px 26px; margin: 20px 0;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  font-size: 0.9rem; line-height: 1.9;
}
.info-box p { margin-bottom: 6px; }
.info-box p:last-child { margin-bottom: 0; }
.info-box a { color: var(--accent); text-decoration: underline; }
.info-box .lbl { font-weight: 700; color: var(--text-light); font-size: 0.8rem; margin-right: 6px; }

/* ── INFO TABLE (tokushoho) ── */
.info-table {
  width: 100%; border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}
.info-table tr { border-bottom: 1px solid #f1f5f9; }
.info-table tr:last-child { border-bottom: none; }
.info-table th {
  background: #f8f9fc;
  font-size: 0.88rem; font-weight: 700;
  color: var(--text);
  padding: 18px 22px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  width: 200px;
  border-right: 1px solid var(--border);
}
.info-table td {
  font-size: 0.9rem; color: var(--text);
  padding: 18px 22px; line-height: 1.85;
}
.info-table td a {
  color: var(--accent); text-decoration: underline;
}
.info-table td small {
  display: block; font-size: 0.8rem; color: var(--text-light); margin-top: 4px;
}
.info-table tr.highlight th,
.info-table tr.highlight td {
  background: rgba(233,69,96,0.03);
}

/* ── DATE INFO ── */
.date-info {
  margin-top: 44px; padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem; color: var(--text-light); line-height: 1.9;
}

/* ── BACK LINK ── */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 36px; font-size: 0.9rem; font-weight: 600;
  color: var(--accent); transition: opacity 0.2s;
}
.back-link:hover { opacity: 0.7; }

/* ── FOOTER OVERRIDES ── */
footer {
  background: var(--ink); padding: 32px 20px;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .info-table th {
    display: block; width: 100%;
    padding: 14px 16px 4px; border-right: none;
    border-bottom: none; white-space: normal;
    font-size: 0.82rem; color: var(--text-light);
  }
  .info-table td {
    display: block; width: 100%;
    padding: 4px 16px 16px; font-size: 0.88rem;
  }
  .info-table tr { border-bottom: 1px solid var(--border); }
}
@media (max-width: 600px) {
  .page-hero { padding: 90px 20px 36px; }
  .content { padding: 36px 16px 60px; }
  .info-box { padding: 18px; }
}
