/* ============================================================
   legal.css — 法的ページ共通スタイル
   プライバシーポリシー / 著作権・免責 / 特商法 / 会社概要
   ============================================================ */

:root {
  --orange:      #FF6B1A;
  --orange-light:#FF8C4A;
  --dark:        #1a1a1a;
  --white:       #ffffff;
  --gray-bg:     #f7f7f7;
  --gray-border: #e5e5e5;
  --text:        #333333;
  --text-light:  #666666;
  --font-ja:     'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-en:     'Montserrat', 'Arial Black', sans-serif;
  --radius:      8px;
  --transition:  0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ---- ナビ ---- */
.legal-nav {
  background: var(--dark);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.legal-nav-logo {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.legal-nav-back {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.legal-nav-back:hover { color: var(--orange-light); }

/* ---- ヒーロー帯 ---- */
.legal-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  padding: 56px 24px 48px;
  text-align: center;
  color: var(--white);
}
.legal-hero-eyebrow {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--orange-light);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.legal-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.legal-hero-date {
  margin-top: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ---- コンテンツエリア ---- */
.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

/* ---- セクション ---- */
.legal-section {
  margin-bottom: 48px;
}
.legal-section + .legal-section {
  padding-top: 40px;
  border-top: 1px solid var(--gray-border);
}
.legal-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--orange);
}
.legal-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin: 20px 0 8px;
}
.legal-section p {
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.9;
}
.legal-section ul,
.legal-section ol {
  padding-left: 1.4em;
  margin-bottom: 12px;
}
.legal-section li {
  margin-bottom: 6px;
  line-height: 1.8;
}

/* ---- テーブル ---- */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--gray-border);
  padding: 12px 16px;
  vertical-align: top;
  line-height: 1.8;
}
.legal-table th {
  background: var(--gray-bg);
  font-weight: 700;
  white-space: nowrap;
  width: 28%;
  color: var(--dark);
}
.legal-table td { color: var(--text); }

/* ---- 注記 ---- */
.legal-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 16px;
  line-height: 1.8;
}
.legal-note-box {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 16px;
  line-height: 1.9;
}

/* ---- フッター ---- */
.legal-footer {
  background: var(--dark);
  padding: 32px 24px;
  text-align: center;
}
.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-bottom: 16px;
}
.legal-footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--transition);
}
.legal-footer-links a:hover { color: var(--orange-light); }
.legal-footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ---- レスポンシブ ---- */
@media (max-width: 600px) {
  .legal-table th,
  .legal-table td { padding: 10px 12px; }
  .legal-table th { width: 36%; font-size: 0.82rem; }
  .legal-table td { font-size: 0.82rem; }
  .legal-wrap { padding: 40px 16px 64px; }
}
