/* 共通の見た目: 夜に集まって遊ぶゲーム。群青の夜空に、白いお題の紙とレモン色のボタン。
   「ひとりだけ違う」ものはマゼンタで示す */
:root {
  --night: #1f2a8c;      /* 地の色(夜空の群青) */
  --night-2: #18216f;    /* 一段沈んだ面 */
  --night-3: #2c38a3;    /* 一段浮いた面 */
  --ink: #141a4f;        /* 白い面の上の文字 */
  --paper: #ffffff;
  --sky: #c3cbff;        /* 群青の上の弱い文字 */
  --lemon: #ffe14d;      /* 押すもの */
  --lemon-2: #d9b800;
  --odd: #ff4f8b;        /* ひとりだけ違う(ウルフ) */
  --odd-2: #c92f66;
  --line: rgba(255,255,255,.18);
  --display: "Dela Gothic One", "Hiragino Sans", sans-serif;
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #fff;
  background: var(--night);
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--night); }
a { color: var(--lemon); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.3; }
.display, h1 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; }

.site-head { position: relative; z-index: 5; }
.site-head .in { max-width: 1040px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 8px 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-size: 1.05rem; flex: none; }
.logo img, .logo svg { width: 30px; height: 30px; }
.site-head nav { margin-left: auto; min-width: 0; font-size: .92rem; font-weight: 700; }
.nav-scroll { display: flex; gap: 4px; }
.site-head nav a { color: var(--sky); text-decoration: none; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.site-head nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-head nav a[aria-current] { color: var(--ink); background: var(--lemon); }
.site-head nav a.ext { color: rgba(195,203,255,.75); }
.nav-scroll a:not(.ext) + a.ext { margin-left: 8px; border-left: 0; position: relative; }
.nav-scroll a:not(.ext) + a.ext::before { content: ""; position: absolute; left: -6px; top: 25%; bottom: 25%; border-left: 1px solid var(--line); }
/* スマホ・小さめの画面: ロゴの下に1行で横にすべらせる(3段に折り返さない)。ご意見ボタンが入る分、1100pxから */
@media (max-width: 1100px) {
  .site-head .in { flex-wrap: wrap; padding: 12px 0 6px; }
  .logo { padding: 0 20px; }
  .site-head nav { margin: 0; width: 100%; position: relative; }
  .nav-scroll { overflow-x: auto; scrollbar-width: none; padding: 2px 16px 6px; scroll-padding: 0 16px; }
  .nav-scroll::-webkit-scrollbar { display: none; }
  .site-head nav::after { content: ""; position: absolute; right: 0; top: 0; bottom: 6px; width: 28px; background: linear-gradient(90deg, transparent, var(--night)); pointer-events: none; }
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 16px 20px 56px; }
.narrow { max-width: 620px; }

/* ボタン: 押しこめる厚みのあるレモン色 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 900; border: 0; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; padding: 11px 22px; cursor: pointer; text-decoration: none; min-height: 48px; transition: transform .06s, box-shadow .06s; }
.btn:hover { background: rgba(255,255,255,.2); }
.btn.primary { background: var(--lemon); color: var(--ink); box-shadow: 0 5px 0 var(--lemon-2); }
.btn.primary:hover { background: #ffe976; }
.btn.primary:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--lemon-2); }
.btn.dark { background: var(--odd); color: #fff; box-shadow: 0 5px 0 var(--odd-2); }
.btn.dark:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--odd-2); }
.btn.small { padding: 4px 14px; min-height: 36px; font-size: .86rem; }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--line); color: var(--sky); }
.btn.ghost:hover { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn.wide { width: 100%; }

input[type=text], input[type=tel], select { font: inherit; font-weight: 700; padding: 10px 14px; border: 2px solid transparent; border-radius: 14px; background: #fff; color: var(--ink); min-height: 50px; width: 100%; }
input::placeholder { color: #9aa0c8; font-weight: 400; }
input:focus-visible, select:focus-visible, .btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--lemon); outline-offset: 3px; }
label { font-weight: 700; font-size: .9rem; color: var(--sky); }

/* 面: 群青より一段浮いた面。白い紙は「お題」専用 */
.panel { background: var(--night-3); border-radius: 22px; padding: 20px; }
.muted { color: var(--sky); font-size: .92rem; }
.site-foot { border-top: 1px solid var(--line); color: var(--sky); font-size: .88rem; margin-top: 24px; background: var(--night-2); }
.site-foot .in { max-width: 1040px; margin: 0 auto; padding: 28px 20px calc(34px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.foot-col b { color: #fff; font-size: .82rem; letter-spacing: .08em; margin-bottom: 2px; }
.site-foot a { color: var(--sky); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-fb { font: inherit; font-weight: 900; color: var(--ink); background: var(--lemon); border: 0; border-radius: 999px; padding: 8px 16px; margin-top: 6px; cursor: pointer; box-shadow: 0 3px 0 var(--lemon-2); }
.foot-fb:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--lemon-2); }
.site-foot .copy { grid-column: 1 / -1; color: rgba(195,203,255,.6); }
@media (max-width: 600px) { .site-foot .in { grid-template-columns: 1fr 1fr; } .foot-col:last-of-type { grid-column: 1 / -1; } }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--lemon); color: var(--ink); padding: 10px 20px; border-radius: 999px; font-weight: 900; z-index: 50; max-width: 90vw; box-shadow: 0 8px 24px rgba(0,0,0,.3); }

/* 読み物は白い紙に載せる(長い文を群青の上で読ませない) */
.sheet { background: #fff; color: var(--ink); border-radius: 24px; padding: 28px clamp(20px, 5vw, 44px) 36px; }
.sheet a { color: var(--night); font-weight: 700; }
.sheet h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin: 0 0 12px; }
.prose h2 { margin-top: 2em; font-size: 1.2rem; font-weight: 900; }
.sheet.prose h2 { padding-left: 12px; border-left: 6px solid var(--night); }
.prose h3 { font-size: 1.02rem; margin-bottom: .2em; }
.prose li { margin: .35em 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ご意見: ヘッダーの入口(ゲーム中もいつでも押せる)と、結果画面の声かけ */
.head-fb { flex: none; display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: .85rem; font-weight: 900; color: var(--sky); background: transparent; border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 12px; cursor: pointer; white-space: nowrap; }
.head-fb:hover { color: #fff; border-color: rgba(255,255,255,.4); }
@media (max-width: 1100px) {
  .site-head .in { justify-content: space-between; }
  .head-fb { order: 1; margin-right: 16px; }
  .site-head nav { order: 2; }
}
.fb-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin: 22px 0 0; color: var(--sky); font-size: .92rem; font-weight: 700; }
.fb-ask-btn { font: inherit; font-weight: 900; color: #fff; background: transparent; border: 2px solid rgba(255,255,255,.45); border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.fb-ask-btn:hover { border-color: #fff; background: rgba(255,255,255,.08); }
