/* つくりてオナシャス！ - 工房ダークテーマ */
:root {
  --bg: #121317;
  --bg-panel: #1a1c21;
  --bg-panel2: #21242b;
  --line: #33363f;
  --text: #e8e6e1;
  --text-dim: #a7a49c;
  --accent: #f2760a;
  --accent-soft: #ff9a3c;
  --danger: #e2483d;
  --radius: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  font-size: 16px;
}
a { color: var(--accent-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* 常設表記バー */
.notice-bar {
  background: #0b0c0e;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 12px;
  text-align: center;
  padding: 6px 12px;
  letter-spacing: .05em;
}
.notice-bar strong { color: var(--danger); font-weight: 700; }

/* ヘッダー */
.site-header {
  border-bottom: 2px solid var(--accent);
  background: var(--bg-panel);
}
.site-header .inner {
  max-width: 1080px; margin: 0 auto; padding: 18px 20px 14px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px;
}
.logo {
  font-size: 30px; font-weight: 900; letter-spacing: .02em;
  color: var(--text); line-height: 1.2;
}
.logo .accent { color: var(--accent); }
.logo:hover { text-decoration: none; }
.tagline { color: var(--text-dim); font-size: 13px; }
.main-nav { background: #0b0c0e; }
.main-nav .inner {
  max-width: 1080px; margin: 0 auto; padding: 0 20px;
  display: flex; flex-wrap: wrap; gap: 0;
}
.main-nav a {
  color: var(--text); font-size: 14px; font-weight: 700;
  padding: 10px 14px; display: block;
}
.main-nav a:hover { background: var(--bg-panel2); color: var(--accent-soft); text-decoration: none; }

/* レイアウト */
.container { max-width: 1080px; margin: 0 auto; padding: 28px 20px 48px; }
h1.page-title { font-size: 26px; border-left: 6px solid var(--accent); padding-left: 12px; margin: 0 0 20px; }
h2.section-title {
  font-size: 20px; margin: 36px 0 14px; padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
h2.section-title::before { content: "■ "; color: var(--accent); }
h3 { font-size: 17px; margin: 22px 0 8px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 1.4em; }
table.info-table { border-collapse: collapse; width: 100%; margin: 0 0 18px; background: var(--bg-panel); }
table.info-table th, table.info-table td { border: 1px solid var(--line); padding: 8px 12px; font-size: 14px; text-align: left; vertical-align: top; }
table.info-table th { background: var(--bg-panel2); width: 28%; white-space: nowrap; }

/* ヒーロー */
.hero {
  background: linear-gradient(135deg, #1a1c21 0%, #26221c 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; margin-bottom: 28px;
}
.hero .hero-logo { font-size: 38px; font-weight: 900; line-height: 1.25; }
.hero .hero-logo .accent { color: var(--accent); }
.hero .hero-copy { font-size: 19px; font-weight: 700; margin-top: 10px; }
.hero .hero-sub { color: var(--text-dim); font-size: 14px; margin-top: 6px; }

/* 記事カード */
.article-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.article-card {
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px;
}
.article-card .cat {
  display: inline-block; font-size: 11px; font-weight: 700; color: #121317;
  background: var(--accent); border-radius: 3px; padding: 1px 8px; margin-bottom: 8px;
}
.article-card h3 { margin: 0 0 6px; font-size: 16px; }
.article-card .date { color: var(--text-dim); font-size: 12px; }
.empty-note {
  border: 1px dashed var(--line); border-radius: var(--radius);
  color: var(--text-dim); padding: 22px; text-align: center; font-size: 14px;
  background: var(--bg-panel);
}

/* カテゴリ導線 */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.category-grid a {
  display: block; background: var(--bg-panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; color: var(--text); font-weight: 700; text-align: center;
}
.category-grid a:hover { border-color: var(--accent); color: var(--accent-soft); text-decoration: none; }

/* PR表記 */
.pr-label {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--accent-soft);
  border: 1px solid var(--accent); border-radius: 3px; padding: 0 6px; margin-right: 6px;
}
.pr-box {
  border: 1px solid var(--accent); border-radius: var(--radius);
  background: #241a10; padding: 14px 18px; font-size: 13px; margin: 18px 0;
}

/* 買い判定 */
.verdict {
  border: 2px solid var(--accent); border-radius: var(--radius);
  padding: 16px 20px; margin: 20px 0; background: var(--bg-panel);
}
.verdict .verdict-word { font-size: 20px; font-weight: 900; color: var(--accent-soft); }

/* Q&A */
.qa-q { font-weight: 700; margin: 20px 0 6px; }
.qa-q::before { content: "Q. "; color: var(--accent); font-weight: 900; }
.qa-a { margin: 0 0 14px; }
.qa-a::before { content: "A. "; color: var(--accent-soft); font-weight: 900; }
.editor-note {
  background: var(--bg-panel2); border-radius: var(--radius);
  padding: 14px 18px; font-size: 14px; margin: 20px 0;
}
.editor-note .who { font-weight: 700; color: var(--accent-soft); font-size: 12px; letter-spacing: .08em; }

/* ボタン */
.btn {
  display: inline-block; background: var(--accent); color: #121317; font-weight: 900;
  border: none; border-radius: 6px; padding: 12px 28px; font-size: 16px; cursor: pointer;
}
.btn:hover { background: var(--accent-soft); text-decoration: none; }
.btn-ghost {
  display: inline-block; background: transparent; color: var(--text-dim); font-weight: 700;
  border: 1px solid var(--line); border-radius: 6px; padding: 12px 28px; font-size: 16px; cursor: pointer;
}
.btn-ghost:hover { color: var(--text); text-decoration: none; }

/* 年齢確認：入口ページ */
#age-gate {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, #1d1f24 0%, #0b0c0e 75%);
  padding: 24px;
}
#age-gate .gate-box {
  max-width: 560px; width: 100%; text-align: center;
  background: var(--bg-panel); border: 1px solid var(--line); border-top: 4px solid var(--accent);
  border-radius: var(--radius); padding: 40px 32px;
}
#age-gate .gate-logo { font-size: 32px; font-weight: 900; }
#age-gate .gate-logo .accent { color: var(--accent); }
#age-gate .gate-warn {
  color: var(--danger); font-weight: 900; font-size: 20px; letter-spacing: .1em; margin: 18px 0 6px;
}
#age-gate .gate-q { font-size: 18px; font-weight: 700; margin: 14px 0 4px; }
#age-gate .gate-desc { color: var(--text-dim); font-size: 13px; }
#age-gate .gate-btns { display: flex; gap: 14px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* 年齢確認：オーバーレイモーダル（記事ページ用） */
#age-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(5, 6, 8, .88); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
#age-overlay .gate-box {
  max-width: 480px; width: 100%; text-align: center;
  background: var(--bg-panel); border: 1px solid var(--line); border-top: 4px solid var(--accent);
  border-radius: var(--radius); padding: 32px 26px;
}
#age-overlay .gate-warn { color: var(--danger); font-weight: 900; font-size: 18px; letter-spacing: .1em; }
#age-overlay .gate-q { font-size: 17px; font-weight: 700; margin: 12px 0 4px; }
#age-overlay .gate-desc { color: var(--text-dim); font-size: 12px; }
#age-overlay .gate-btns { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
body.age-locked { overflow: hidden; }

/* フォーム */
form.interview-form { background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
form.interview-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 22px; padding: 18px; }
form.interview-form legend { font-weight: 900; padding: 0 8px; color: var(--accent-soft); }
form.interview-form label { display: block; font-weight: 700; font-size: 14px; margin: 14px 0 6px; }
form.interview-form label .req { color: var(--danger); font-size: 12px; margin-left: 6px; }
form.interview-form label .opt { color: var(--text-dim); font-size: 12px; margin-left: 6px; }
form.interview-form input[type="text"],
form.interview-form input[type="email"],
form.interview-form input[type="url"],
form.interview-form textarea,
form.interview-form select {
  width: 100%; background: #0e0f12; color: var(--text);
  border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font-size: 15px;
  font-family: inherit;
}
form.interview-form textarea { min-height: 96px; resize: vertical; }
form.interview-form .hint { color: var(--text-dim); font-size: 12px; margin-top: 4px; }
form.interview-form .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 14px; }
form.interview-form .check input { margin-top: 6px; }
form.interview-form .field-error { color: var(--danger); font-size: 13px; margin-top: 4px; display: none; }
form.interview-form .invalid { border-color: var(--danger) !important; }
#form-status { margin-top: 16px; font-size: 14px; }

/* フッター */
.site-footer {
  border-top: 1px solid var(--line); background: #0b0c0e; color: var(--text-dim);
  font-size: 13px; margin-top: 40px;
}
.site-footer .inner { max-width: 1080px; margin: 0 auto; padding: 26px 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; }
.site-footer a { color: var(--text-dim); }
.site-footer a:hover { color: var(--accent-soft); }
.site-footer .foot-notice { color: var(--text-dim); font-size: 12px; }
.site-footer .foot-notice strong { color: var(--danger); }

@media (max-width: 640px) {
  .logo { font-size: 24px; }
  .hero .hero-logo { font-size: 28px; }
  h1.page-title { font-size: 22px; }
}
