:root {
  --bg: #14101a;
  --panel: #1e1830;
  --text: #ece7f5;
  --muted: #a79fc0;
  --accent: #c77dff;
  --line: #372d52;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}
a { color: var(--accent); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
.r18 {
  background: #3d0a2e;
  color: #ffd7ef;
  text-align: center;
  font-size: 13px;
  padding: 6px 8px;
  letter-spacing: 0.05em;
}
header.site { border-bottom: 1px solid var(--line); padding: 18px 0 10px; }
.logo { font-size: 26px; font-weight: 700; color: var(--text); text-decoration: none; }
.tagline { color: var(--muted); font-size: 13px; margin-top: 2px; }
nav.main { margin-top: 10px; display: flex; gap: 16px; flex-wrap: wrap; }
nav.main a { color: var(--text); text-decoration: none; font-size: 14px; }
nav.main a:hover { color: var(--accent); }
main { padding: 24px 0 40px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 16px;
}
.card h2, .card h3 { margin-top: 0; }
.card h2 a, .card h3 a { color: var(--text); text-decoration: none; }
.meta { color: var(--muted); font-size: 13px; }
.ad-note {
  border: 1px dashed var(--accent);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0;
}
.link-slot {
  display: block;
  text-align: center;
  background: #2a1b47;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 12px;
  margin: 16px 0;
  color: var(--accent);
  font-size: 14px;
}
footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  padding: 20px 0 32px;
}
footer.site nav { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
footer.site a { color: var(--muted); }
.gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.gate-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 560px;
  padding: 32px 28px;
  text-align: center;
}
.gate-box .mark {
  display: inline-block;
  border: 2px solid #ff5da2;
  color: #ff5da2;
  border-radius: 8px;
  padding: 2px 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.gate-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}
.btn-enter { background: var(--accent); color: #17102a; }
.btn-leave { background: transparent; color: var(--muted); border: 1px solid var(--line); }
h1 { font-size: 24px; line-height: 1.5; }
h2 { font-size: 20px; }
article p { margin: 0 0 1em; }
/* 年齢確認モーダル（age-gate.js が生成） */
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 6, 18, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
}
.age-box h2 { margin-top: 4px; }
button.btn { font: inherit; border: none; cursor: pointer; }
/* サイト内検索（search.html） */
.search-form { display: flex; gap: 8px; margin: 16px 0 4px; }
.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 16px;
}
.tag-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 20px; }
.tag-chip {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  cursor: pointer;
}
.tag-chip[aria-pressed="true"] {
  background: var(--accent);
  color: #17102a;
  border-color: var(--accent);
  font-weight: 700;
}
.tag {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 8px;
  font-size: 12px;
  color: var(--muted);
  margin-right: 4px;
  line-height: 1.9;
}
/* ジャンル診断（shindan.html） */
.quiz-progress { color: var(--muted); font-size: 13px; margin: 0; }
.quiz-choices { display: grid; gap: 10px; margin-top: 14px; }
.quiz-choice {
  font: inherit;
  text-align: left;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
}
.quiz-choice:hover { border-color: var(--accent); color: var(--accent); }
.share-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
/* セールカレンダー（sale-calendar.html） */
.countdown { font-size: 22px; font-weight: 700; color: var(--accent); margin: 4px 0 0; }
