/* Trace LP スタイル。Notion / Linear 風のミニマル・ダーク基調。
   ジェンダーニュートラル（マッチョにもフェミニンにも寄せない / §3.2, §11.3）。
   外部フォント/CDN は使わず、システムフォントで自己完結。 */

:root {
  --bg: #0e0f12;
  --bg-alt: #15171c;
  --surface: #1b1e24;
  --border: #2a2e37;
  --text: #e6e8ec;
  --text-dim: #a0a6b0;
  --accent: #6b7cff;       /* 中性的なブルーパープル */
  --accent-text: #ffffff;
  --radius: 12px;
  --maxw: 960px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* --- 18禁ゲート --- */
.age-gate {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 9, 11, 0.96);
  z-index: 1000;
  padding: 20px;
}
.age-gate__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.age-gate__title { margin: 0 0 14px; font-size: 1.3rem; }
.age-gate__text { margin: 0 0 14px; font-size: 1.05rem; }
.age-gate__note { margin: 0 0 24px; font-size: 0.82rem; color: var(--text-dim); }
.age-gate__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
}
.btn--primary { background: var(--accent); color: var(--accent-text); border: none; }
.btn--primary:hover { opacity: 0.9; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--text-dim); border: 1px solid var(--border); }
.btn--ghost:hover { color: var(--text); text-decoration: none; }

/* --- ヘッダー --- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(14, 15, 18, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 700; letter-spacing: 0.02em; font-size: 1.15rem; }
.nav a { color: var(--text-dim); margin-left: 18px; font-size: 0.9rem; }
.nav a:hover { color: var(--text); }

/* --- ヒーロー --- */
.hero { padding: 80px 0 64px; }
.hero__eyebrow { color: var(--accent); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 12px; }
.hero__title { font-size: 2rem; line-height: 1.4; margin: 0 0 20px; }
.hero__lead { font-size: 1.05rem; color: var(--text-dim); max-width: 640px; margin: 0 0 16px; }
.hero__cta-note { display: inline-block; font-size: 0.85rem; color: var(--text-dim); border: 1px dashed var(--border); border-radius: 999px; padding: 6px 14px; }

/* --- セクション --- */
.section { padding: 56px 0; border-top: 1px solid var(--border); }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: 1.4rem; margin: 0 0 8px; }
.section__lead { color: var(--text-dim); margin: 0 0 28px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.card h4 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--text-dim); font-size: 0.92rem; }

.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-size: 0.9rem; color: var(--text-dim); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--text-dim); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.checklist strong { color: var(--text); }

/* --- フッター --- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--text-dim); font-size: 0.88rem; }
.site-footer__brand { font-weight: 700; color: var(--text); margin: 0 0 6px; }
.site-footer__disclosure { margin: 0 0 12px; }
.site-footer__nav a { color: var(--text-dim); margin-right: 16px; }
.site-footer__nav a:hover { color: var(--text); }
.site-footer__copyright { margin: 16px 0 0; font-size: 0.8rem; }

/* --- 規約・プライバシーの本文ページ --- */
.doc { padding: 48px 0 64px; }
.doc h1 { font-size: 1.6rem; margin: 0 0 8px; }
.doc .doc__meta { color: var(--text-dim); font-size: 0.85rem; margin: 0 0 32px; }
.doc h2 { font-size: 1.15rem; margin: 32px 0 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.doc p, .doc li { color: var(--text-dim); }
.doc ol, .doc ul { padding-left: 22px; }
.doc .back { display: inline-block; margin-bottom: 24px; font-size: 0.9rem; }
.doc .draft-note { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 8px; padding: 12px 16px; font-size: 0.85rem; }

@media (max-width: 600px) {
  .hero__title { font-size: 1.5rem; }
  .nav { display: none; }
}
