:root {
  --bg: #fff8ee;
  --card: #ffffff;
  --ink: #2b2140;
  --ink-soft: #6b6283;
  --line: #efe4d6;
  --primary: #ff6b4a;
  --primary-dark: #d94a2c;
  --accent: #ffd166;
  --sky: #7cc6f2;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Maru Gothic", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 248, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 900; font-size: 17px; }
.nav { display: flex; gap: 14px; font-size: 14px; font-weight: 700; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--primary); }

main { max-width: 1040px; margin: 0 auto; padding: 0 16px 40px; }

/* ヒーロー */
.hero { text-align: center; padding: 48px 0 28px; }
.hero h1 {
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 6.4vw, 52px);
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--ink);
}
.lead { max-width: 640px; margin: 0 auto 22px; color: var(--ink-soft); font-size: 15px; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900; font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.1s;
}
.btn:active { transform: translateY(2px); }
.btn.play { background: var(--primary); color: #fff; box-shadow: 0 4px 0 var(--primary-dark); }
.btn.play:hover { filter: brightness(1.05); }
.btn.ghost { border-color: var(--line); color: var(--ink-soft); background: #fff; }
.btn.big { font-size: 18px; padding: 16px 30px; }

/* セクション */
.section { padding: 34px 0 10px; }
.section h2 {
  font-size: 24px; font-weight: 900; margin: 0 0 8px;
  display: flex; align-items: center; gap: 10px;
}
.section h2::before { content: ""; flex: none; width: 8px; height: 26px; border-radius: 4px; background: var(--primary); }
.section-lead { color: var(--ink-soft); margin: 0 0 18px; font-size: 14px; }

/* カード */
.cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 6px 0 rgba(43, 33, 64, 0.06);
  display: flex; flex-direction: column;
}
.card-img img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-title { margin: 6px 0 2px; font-size: 22px; font-weight: 900; }
.card-title a { text-decoration: none; }
.card-catch { margin: 0; color: var(--primary); font-weight: 900; font-size: 14px; }
.card-sum { margin: 8px 0 14px; color: var(--ink-soft); font-size: 14px; flex: 1; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #f3ecff; color: #6b4fbb; }
.tag.new { background: var(--accent); color: var(--ink); }

/* 特長 */
.points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .points { grid-template-columns: 1fr 1fr; } }
.point { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.point-icon { grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff1ea; color: var(--primary); }
.point h3 { margin: 0; font-size: 17px; font-weight: 900; }
.point p { margin: 2px 0 0; font-size: 14px; color: var(--ink-soft); }

/* よくある質問 */
.faq { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px; }
.faq-item summary { cursor: pointer; font-weight: 900; padding: 10px 0; list-style: none; display: flex; align-items: baseline; gap: 8px; }
.faq-item summary::before { content: "Q."; flex: none; color: var(--primary); font-family: "Dela Gothic One", sans-serif; font-weight: 400; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0 0 12px; color: var(--ink-soft); font-size: 14px; }

/* ゲーム紹介ページ */
.crumbs { font-size: 12px; color: var(--ink-soft); padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--primary); }
.game-hero { text-align: center; padding: 22px 0 10px; }
.game-hero h1 { font-family: "Dela Gothic One", sans-serif; font-weight: 400; font-size: clamp(34px, 7vw, 54px); line-height: 1.25; margin: 0; }
.h1-sub { display: block; font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 16px; color: var(--ink-soft); margin-top: 6px; }
.catch { color: var(--primary); font-weight: 900; font-size: 17px; margin: 8px 0 18px; }
.game-img { width: 100%; max-width: 760px; margin: 0 auto 22px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(43, 33, 64, 0.15); }
.note { font-size: 13px; color: var(--ink-soft); margin: 12px 0; }
.game-hero .tags { justify-content: center; }
.prose p { margin: 0 0 14px; font-size: 15px; }
.howto { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.howto li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; display: flex; align-items: baseline; gap: 8px; font-weight: 700; }
.howto .num { flex: none; font-family: "Dela Gothic One", sans-serif; color: var(--primary); }
.feats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 720px) { .feats { grid-template-columns: 1fr 1fr; } }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.feat h3 { margin: 0 0 4px; font-size: 16px; font-weight: 900; }
.feat p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.tips { margin: 0; padding-left: 1.3em; }
.tips li { margin: 6px 0; font-size: 15px; }
.cta { text-align: center; }

/* フッター */
.site-footer { border-top: 1px solid var(--line); padding: 28px 16px 40px; text-align: center; color: var(--ink-soft); font-size: 13px; }
.site-footer p { max-width: 640px; margin: 6px auto; }
.foot-brand { font-weight: 900; color: var(--ink); font-size: 15px; }
.copy { font-size: 12px; }

/* スマホ幅でヘッダーが折り返さないように */
.brand span, .nav a { white-space: nowrap; }
@media (max-width: 420px) {
  .brand { font-size: 15px; }
  .nav { gap: 10px; font-size: 13px; }
  .nav a:last-child { display: none; }
}
