/* ヨルコレ 共通スタイル（外部フォント・画像なし、CSSのみ） */
:root {
  --bg: #17141f;
  --surface: #221e30;
  --surface2: #2b2740;
  --text: #f2eef7;
  --muted: #b7aec9;
  --accent: #e0658a;
  --accent2: #8a7fd6;
  --border: #3a3452;
  --warn-bg: #4a2436;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  font-size: 16px;
}
a { color: var(--accent2); }
img { max-width: 100%; }

/* 全ページ共通の注意バナー */
.notice-bar {
  background: var(--warn-bg);
  color: #ffd9e4;
  text-align: center;
  font-size: 12px;
  padding: 6px 12px;
  letter-spacing: 0.05em;
}

header.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site-header .logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.08em;
}
header.site-header .logo span { color: var(--accent); }
header.site-header .tagline {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
nav.main-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 14px;
}
nav.main-nav a { color: var(--muted); text-decoration: none; }
nav.main-nav a:hover { color: var(--text); }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}
h1 { font-size: 24px; line-height: 1.5; margin: 0 0 12px; }
h2 {
  font-size: 19px;
  border-left: 4px solid var(--accent);
  padding-left: 10px;
  margin: 32px 0 12px;
}
h3 { font-size: 17px; margin: 24px 0 8px; }
p { margin: 0 0 14px; }
.lead { color: var(--muted); font-size: 15px; }

/* PR表記バッジ */
.pr-badge {
  display: inline-block;
  background: var(--surface2);
  border: 1px solid var(--accent);
  color: #ffb3c8;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.pr-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* カテゴリ一覧 */
.category-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0 8px;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.category-card .cat-name { font-weight: 700; font-size: 15px; display: block; }
.category-card .cat-desc { font-size: 12px; color: var(--muted); display: block; margin-top: 4px; }

/* 記事カード */
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
}
.article-card .card-cat {
  font-size: 11px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 1px 8px;
  display: inline-block;
  margin-bottom: 8px;
}
.article-card .card-title { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.article-card .card-title a { color: var(--text); text-decoration: none; }
.article-card .card-desc { font-size: 13px; color: var(--muted); margin: 0; }
.article-card .card-meta { font-size: 12px; color: var(--muted); margin-top: 8px; }
.coming-soon { opacity: 0.55; }

/* 記事ページ */
.work-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}
.work-box .work-title { font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.work-box .work-meta { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.work-box .work-img-placeholder {
  background: var(--surface2);
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 28px 10px;
  margin-bottom: 12px;
}
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 8px;
}
.btn.sub { background: var(--surface2); color: var(--text); border: 1px solid var(--border); }
.placeholder-note {
  font-size: 12px;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 16px 0;
}
ul.criteria { padding-left: 20px; }
ul.criteria li { margin-bottom: 6px; }

footer.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 24px 16px 40px;
  font-size: 12px;
  color: var(--muted);
}
footer.site-footer .footer-inner { max-width: 760px; margin: 0 auto; }
footer.site-footer nav { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
footer.site-footer a { color: var(--muted); }

/* 年齢確認ゲート */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 16, 0.97);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.age-gate.hidden { display: none; }
.age-gate-box {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 14px;
  max-width: 420px;
  width: 100%;
  padding: 28px 22px;
  text-align: center;
}
.age-gate-box .gate-logo { font-size: 26px; font-weight: 800; letter-spacing: 0.08em; }
.age-gate-box .gate-logo span { color: var(--accent); }
.age-gate-box .gate-mark {
  display: inline-block;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 800;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  line-height: 50px;
  font-size: 15px;
  margin: 14px 0;
}
.age-gate-box p { font-size: 14px; color: var(--muted); }
.age-gate-box .gate-q { color: var(--text); font-size: 16px; font-weight: 700; }
.gate-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.gate-btns button, .gate-btns a {
  font-size: 15px;
  font-weight: 700;
  padding: 13px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.gate-btns .yes { background: var(--accent); color: #fff; }
.gate-btns .no { background: var(--surface2); color: var(--muted); border: 1px solid var(--border); }
