/*
 * kikotto の見た目（スマホの縦画面を中心にしている）
 *
 * もくじ
 *   1. 色・文字・大きさの設定（ここを変えると、画面全体に反映される）
 *   2. ページ全体（背景、ロゴ、見出し）
 *   3. 部品（ボタン、入力欄、カード、お知らせ、たたむ部品）
 *   4. イベント作成（お題の設定・回答フォーム）
 *   5. 自分のID（人型アイコンと吹き出し）
 *   6. ゲーム画面
 *   7. 結果の画面
 *   8. 管理画面
 *   9. あそびかた
 *  10. トップページ（サービス紹介。トップページとコラムで使う lp- のクラス）
 *  11. コラム（column- のクラス）
 *  12. メンテナンスモード（準備中のお知らせ）
 */

/* ========== 1. 色・文字・大きさの設定 ========== */

:root {
  /* 配色「ラムネ」：すんだ空色の地に、紺の文字と線。
     くすんで見えないよう、文字・線はグレーではなく「色のある濃い色（紺）」にしている（2026-11 に変更） */

  /* 文字（紺）。太い線（ゲーム画面のカードや入力欄、ボタンのふち）にも、同じ紺を使う */
  --color-text: #14365a;
  --color-sub: #47668a;

  /* アクセント（青）：ボタンの地。濃い青は、白い背景の上の文字・リンクに使う */
  --color-main: #1670c4;
  --color-main-dark: #105a9e;
  --color-main-light: #cde7ff;

  /* 背景・カード・線 */
  --color-bg: #e3f2ff;
  --color-card: #fff;
  --color-border: #b9d6f2;
  /* 少し濃い線（入力欄・ラジオボタンの輪など。白い背景の上でも見える） */
  --color-border-strong: #6f93ba;
  /* いま入力している欄の枠 */
  --color-focus: #14365a;
  /* カードの影（コラムの記事のカードなど。背景になじむ、うすい青の影） */
  --shadow-card: 0 4px 16px rgba(20, 54, 90, 0.08);

  /* コラムの本文をのせる面（ほぼ白。空色の地の上で、長い文章を読みやすくする） */
  --color-article-bg: #fcfeff;

  /* 自分のIDの札（うすいピンク） */
  --color-id-bg: #ffe4ea;

  /* にじむ影。左にミント（#5df7f7）、右に空色（#5aa9ff）の影を重ねて、2色のにじみに見せる。使い分けのルール：
     - そのページのメインのカード・目立たせたいカード → --shadow-glow-card
     - ページの地（空色）の上にじかに置いたボタン → --shadow-glow-button
     - カードなど、白っぽい面の上に置いたボタン → 影なし（ふつうのボタン） */
  --shadow-glow-card: -12px 16px 24px -14px rgba(93, 247, 247, 0.8), 12px 20px 24px -14px rgba(90, 169, 255, 0.8);
  --shadow-glow-button: -12px 16px 10px -14px rgba(93, 247, 247, 0.8), 12px 20px 10px -14px rgba(90, 169, 255, 0.8);

  /* 正解（緑）・エラー（赤） */
  --color-success: #0f7a43;
  --color-success-light: #d6f5e3;
  --color-error: #c0392b;
  --color-error-light: #fdecea;

  /* ゲームでIDがちがったとき（きいろの地に、あざやかなオレンジの枠）。
     責める印象にならないよう、赤ではなくオレンジ。文字は、きいろの上でも読める濃さにしている */
  --color-wrong: #c23d00;
  --color-wrong-line: #ff5400;
  --color-wrong-light: #fff7cc;

  /* 丸みのある書体（ロゴ・ボタン）。入っていない端末では、ふつうの書体になる。
     Webフォントは読みこまない（表示を速くするため）。
     ゲームの回答とIDは、くっきり見せたいので、丸ゴシックではなくふつうのゴシックの太字にしている
     （ヒラギノ丸ゴには太字がなく、細く見えるため） */
  --font-logo: "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", "M PLUS Rounded 1c", system-ui, sans-serif;

  /* 指で押しやすい高さ（ボタン・入力欄・たたむ部品の見出し） */
  --tap-size: 44px;
}

/* ========== 2. ページ全体 ========== */

* { box-sizing: border-box; }

body {
  margin: 0;
  /* トップページの背景のにじみ（画面の幅いっぱい）で、横にスクロールが出ないようにする */
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

main {
  max-width: 480px;
  margin: 0 auto;
  padding: 8px 16px 48px;
}

a { color: var(--color-main-dark); }

/* 画面の上のロゴ */
.site-header {
  max-width: 480px;
  margin: 0 auto;
  padding: 10px 16px 0;
}
.site-logo {
  font-family: var(--font-logo);
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  color: var(--color-main);
  text-decoration: none;
}

h1 { font-size: 1.5rem; margin: 8px 0 16px; line-height: 1.4; }
h2 { font-size: 1.2rem; margin: 24px 0 8px; line-height: 1.4; }
h3 { font-size: 1rem; margin: 16px 0 4px; }

.event-name { font-weight: bold; margin: 8px 0 12px; }

/* ========== 3. 部品 ========== */

/* --- ボタン --- */

/* いちばん大事な操作（1つの画面に1つ） */
.button {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  margin-top: 24px;
  border: 2px solid var(--color-text);
  border-radius: 999px;
  background: var(--color-main);
  /* ミント×空色のにじむ影 */
  box-shadow: var(--shadow-glow-button);
  color: #fff;
  font-family: var(--font-logo);
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
/* 押したとき：影を小さくして、沈んだように見せる */
.button:active { box-shadow: -6px 8px 6px -10px rgba(93, 247, 247, 0.6), 6px 10px 6px -10px rgba(90, 169, 255, 0.6); }
.button:disabled { opacity: 0.4; cursor: default; box-shadow: none; }
/* カードなど、白っぽい面の上に置いたボタンは、影をつけない（面の上では、影がにごって見えるため） */
.card .button, .card .button:active,
.lp-card .button, .lp-card .button:active,
.lp-panel .button, .lp-panel .button:active,
.lp-bottom-cta .button, .lp-bottom-cta .button:active,
.column-cta .button, .column-cta .button:active { box-shadow: none; }

/* ひかえめな操作（コピー、パスなど） */
.button-sub {
  min-height: var(--tap-size);
  padding: 8px 20px;
  border: 2px solid var(--color-text);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
}

/* 取り消せない操作（ゲームを終了する） */
.button-danger {
  min-height: var(--tap-size);
  padding: 8px 20px;
  border: 1px solid var(--color-error);
  border-radius: 999px;
  background: #fff;
  color: var(--color-error);
  font-size: 0.9rem;
  cursor: pointer;
}

/* 文字だけのボタン（ログアウトなど） */
.link-button {
  min-height: var(--tap-size);
  padding: 8px 16px;
  border: 0;
  background: none;
  color: var(--color-sub);
  font-size: 0.875rem;
  text-decoration: underline;
  cursor: pointer;
}

/* --- 入力欄 --- */

.form .field { margin-bottom: 20px; border: 0; padding: 0; }
.form label, .form legend { display: block; font-weight: bold; margin-bottom: 4px; }
/* fieldset・legend は、ブラウザが左右に少し余白をつけるので消す（ほかの見出しと左をそろえる） */
.form fieldset.field { margin-left: 0; margin-right: 0; }
.form legend { padding: 0; }
/* イベント作成の「STEP 1」など：見出しの上に小さく。上から順に入れればいいことを伝える */
.step-label { display: block; font-size: 0.7em; letter-spacing: 0.05em; color: var(--color-main-dark); }
/* STEP がついた欄は、上を広くあけて、ひとつずつの手順に見えるようにする */
.form .field:has(.step-label) { margin-top: 36px; }

input[type="text"],
input[type="number"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--color-border-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
}
textarea { line-height: 1.6; }

/* いま入力している欄：枠を濃いグレーにし、影で少し太く見せる（太さを変えると、まわりがずれるため） */
input[type="text"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-focus);
  box-shadow: 0 0 0 1px var(--color-focus);
}

select {
  min-height: var(--tap-size);
  padding: 6px 8px;
  border: 1px solid var(--color-border-strong);
  border-radius: 10px;
  background: #fff;
  font-size: 1rem;
}

/* ラジオボタン・チェックボックスと、その文字 */
.choice {
  display: flex !important;
  gap: 8px;
  align-items: center;
  min-height: var(--tap-size);
  font-weight: normal !important;
}

.hint { color: var(--color-sub); font-size: 0.875rem; margin: 4px 0 0; }
/* にじむ影のあるボタンのすぐ下の説明は、影にかぶらないよう、間をあける */
.button + .hint, .form:has(> .button:last-child) + .hint { margin-top: 20px; }
.error { color: var(--color-error); font-size: 0.875rem; margin: 4px 0 0; }

/* 参加登録の画面の「回答を書かずに、探す側だけで参加する」の切りかえ */
.join-switch { margin: 16px 0 0; text-align: center; font-size: 0.9rem; }

/* --- カード --- */

.card {
  margin-bottom: 16px;
  padding: 16px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}
.card h2 { margin-top: 0; }
/* 大事なお知らせのカード：紺の線と、にじむ影で浮かせる */
.card-important { border: 2px solid var(--color-text); box-shadow: var(--shadow-glow-card); }
/* お題に答えるカード（参加登録・開始前の自分の画面）：お題のまわりに余白をとって、何に答えるのかをはっきりさせる */
.answer-card { padding-top: 24px; box-shadow: var(--shadow-glow-card); }
.answer-card > h2 { margin-bottom: 16px; }
.answer-card .topic-description { margin-bottom: 24px; }

/* --- お知らせ --- */

.notice { background: var(--color-main-light); border-radius: 10px; padding: 12px; font-size: 0.9rem; }

/* --- たたむ部品（タップで開く）：見出しを押しやすい高さにする --- */

details > summary {
  min-height: var(--tap-size);
  padding: 10px 0;
  color: var(--color-main-dark);
  cursor: pointer;
}

/* 背景のないたたむ部品の中身：左に縦の線を入れて、どこまでが開いた部分かを分かるようにする（引用のような見た目）
   余白は margin ではなく padding でとる（開け閉めの動き〔js/details.js〕の途中で、高さがずれないように） */
.details-body {
  margin-left: 4px;
  padding: 2px 0 4px 12px;
  border-left: 3px solid var(--color-border-strong);
}

/* --- そのほか --- */

.url { word-break: break-all; font-size: 0.875rem; background: var(--color-bg); padding: 8px; border-radius: 8px; }
.code { font-size: 2rem; font-weight: bold; letter-spacing: 0.2em; margin: 0; }
.qr { max-width: 260px; margin: 8px auto; background: #fff; }
.qr svg { display: block; width: 100%; height: auto; }
.answer-body { white-space: pre-wrap; word-break: break-word; }
/* 参加者の回答フォーム：お題の説明と、最初の入力欄（回答・選択肢）のあいだを空ける */
.topic-description { margin-bottom: 20px; }
.answer-url { word-break: break-all; }
.login { margin-top: 40px; }
.logout { margin-top: 48px; text-align: center; }

/* ========== 4. イベント作成（お題の設定・回答フォーム） ========== */

/* お題の欄（イベント作成・お題の編集）：まず「プリセット2つ＋自分で作る」から選ぶ */
.question-options { display: grid; gap: 10px; }
/* .form label（見出しの太字・ブロック表示）より優先させるため、.question-options をつけて指定する */
.question-options .question-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 16px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  font-weight: normal;
  margin-bottom: 0;
  cursor: pointer;
}
/* ラジオボタン：ブラウザの見た目（太い黒い枠）を消して、CSSで描く */
.question-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 2px solid var(--color-border-strong);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
/* 選んでいるとき：オレンジの輪と、まん中のオレンジの点（白いすき間は内側の影で作る） */
.question-option input[type="radio"]:checked {
  border-color: var(--color-main);
  background: var(--color-main);
  box-shadow: inset 0 0 0 4px #fff;
}
/* キーボードで選んでいるときだけ、細いオレンジの線を出す */
.question-option input[type="radio"]:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
/* 選んでいるお題は、オレンジの枠で分かるようにする（背景は白のまま） */
.question-options .question-option:has(input:checked) { border-color: var(--color-main); box-shadow: 0 0 0 1px var(--color-main); }
.question-option__content { display: flex; flex-direction: column; flex: 1 1 auto; }
.question-option__title { font-weight: bold; line-height: 1.5; }
.question-option__description { font-size: 0.85rem; color: var(--color-sub); }

/* 「自分で作る」と「お題を設定する」の欄を、1つの枠でかこむ */
.question-option-group { background: var(--color-card); border: 1px solid var(--color-border); border-radius: 14px; }
.question-option-group:has(> .question-option input:checked) { border-color: var(--color-main); box-shadow: 0 0 0 1px var(--color-main); }
/* 枠はグループの側でつけるので、中の「自分で作る」には枠をつけない */
.question-options .question-option-group .question-option,
.question-options .question-option-group .question-option:has(input:checked) { border: 0; box-shadow: none; background: transparent; }
/* 右の矢印 */
.question-option__chevron { flex: 0 0 auto; width: 20px; height: 20px; color: var(--color-sub); transition: transform 0.2s; }
/* 開いているとき（is-open）は上向き。選んでいても、閉じていれば下向き */
.question-option-group.is-open .question-option__chevron { transform: rotate(180deg); }

/* 「自分で作る」を選んだときに開く「お題を設定する」の欄（線で区切って、枠の中に続ける） */
.custom-question-settings { margin: 0 16px; padding: 4px 0 8px; border-top: 1px solid var(--color-border); }
.custom-question-settings h3 { margin: 16px 0 12px; font-size: 1.05rem; }
.custom-question-settings[hidden] { display: none; }
.field-label { display: block; font-weight: bold; margin-bottom: 4px; }
.answer-type-settings { margin: 0 0 8px; padding: 12px 0 0; border-top: 1px dashed var(--color-border); }
.answer-type-settings[hidden], [data-url-label-field][hidden] { display: none; }
.topic-note { margin: 8px 0 0; }
.question-selector select { width: 100%; }

/* 選択肢の編集：1行に「入力欄・上へ・下へ・けす」 */
.choice-editor { list-style: none; margin: 0 0 8px; padding: 0; }
.choice-row { display: flex; gap: 4px; align-items: center; margin-bottom: 8px; }
.choice-row input { flex: 1 1 auto; min-width: 0; }
.icon-button {
  flex: 0 0 auto;
  width: var(--tap-size);
  height: var(--tap-size);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-main-dark);
  font-size: 1.1rem;
  cursor: pointer;
}
.icon-button:disabled { opacity: 0.35; cursor: default; }
.button-sub:disabled { opacity: 0.4; cursor: default; }

/* 回答フォーム */
.answer-hint { margin: 0 0 6px; }
.answer-choice { padding: 4px 12px; margin-bottom: 8px; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; }
.answer-choice:has(input:checked) { border-color: var(--color-main); background: var(--color-main-light); }

/* ========== 5. 自分のID：人型アイコンにIDを書き、そこから吹き出しでひとことを出す ========== */

.my-id { display: flex; align-items: center; gap: 16px; margin: 16px 0 4px; }
.my-id-person { flex: 0 0 auto; text-align: center; }
.my-id-person svg {
  width: 60px;
  height: 60px;
  padding: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-text);
  background: var(--color-card);
  fill: var(--color-text);
}
.my-id-label { margin: 2px 0 0; font-size: 0.75rem; color: var(--color-sub); }
.my-id-label { font-weight: bold; }
/* IDは、うすいピンクの札にのせる（人に見せるときに、ひと目で分かるように） */
.my-id-value {
  display: inline-block;
  margin: 2px 0 0;
  padding: 2px 12px;
  background: var(--color-id-bg);
  border: 2px solid var(--color-text);
  border-radius: 12px;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

/* 吹き出し：左にしっぽ。しっぽは、外側（枠の色）と内側（白）の三角を重ねて、枠線がつながって見えるようにする */
.bubble {
  position: relative;
  flex: 1 1 auto;
  margin: 0 0 0 4px;
  padding: 10px 14px;
  background: #fff;
  border: 2px solid var(--color-text);
  border-radius: 18px;
  word-break: break-word;
}
.bubble::before,
.bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-color: transparent;
  border-left-width: 0;
}
.bubble::before {
  left: -12px;
  border-width: 9px 12px 9px 0;
  border-right-color: var(--color-text);
}
.bubble::after {
  left: -8px;
  border-width: 7px 9px 7px 0;
  border-right-color: #fff;
}

/* ひとこと・合言葉の書きかえ（たたむ部品）：見出しの行をつめて、コンパクトにまとめる */
.greeting-edit { margin: 0; font-size: 0.875rem; }
.greeting-edit > summary, .own-answer > summary { min-height: 0; padding: 4px 0; }
/* 開いたときは、つぎの見出しとの間を少しあける */
.greeting-edit[open] { margin-bottom: 8px; }
/* ひとこと・合言葉のまとまりと、そのあとの中身（結果のカードなど）の間をあける */
.greeting-edit + :not(.greeting-edit) { margin-top: 16px; }
.greeting-edit .form { margin-top: 4px; }
.greeting-edit .field { margin-bottom: 8px; }

.counts-line { font-size: 0.875rem; color: var(--color-sub); margin: 16px 0; }
/* 「あそびかた」は、ひとこと・合言葉のまとまりから少し離す */
.counts-line + .howto { margin-top: 24px; }
.counts-line strong { color: var(--color-text); }

/* ========== 6. ゲーム画面 ========== */

/* 余白の考え方：「なかの余白 ＜ そとの余白」。関係のあるもの同士（お題と回答、ID入力とボタン）は近く、
   ちがうまとまり同士（回答カードとID入力）は大きく離す */

/* ゲームに関する画面（参加・自分の画面・管理画面・イベント作成など）は、ロゴの行に白っぽい帯をしいて、
   下の中身のまとまりと分ける。サービス紹介のページ（.lp-header）には入れない。
   帯は画面の幅いっぱいに広げる（影を左右にのばして、はみ出た分は切る） */
.site-header:not(.lp-header) {
  padding-bottom: 10px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 100vmax rgba(255, 255, 255, 0.6);
  clip-path: inset(0 -100vmax);
}

/* 上に固定する、自分のIDとひとことの帯（ゲーム中だけ） */
.id-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 -16px 16px;
  padding: 10px 16px;
  background: var(--color-bg);
  border-bottom: 2px solid var(--color-text);
}
.id-bar-person { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.id-bar-person svg {
  width: 34px;
  height: 34px;
  padding: 5px;
  border-radius: 50%;
  border: 2px solid var(--color-text);
  background: var(--color-card);
  fill: var(--color-text);
}
.id-bar-label { margin: 0 0 4px; font-size: 0.7rem; font-weight: bold; color: var(--color-sub); line-height: 1.2; }
/* IDは、うすいピンクの札にのせる */
.id-bar-value {
  display: inline-block;
  margin: 0;
  padding: 3px 12px;
  background: var(--color-id-bg);
  border: 2px solid var(--color-text);
  border-radius: 10px;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.25;
  letter-spacing: 0.08em;
}
.id-bar-bubble { font-size: 0.9rem; padding: 8px 14px; line-height: 1.5; }

/* 残り時間と見つけた人数（回答の上に、小さく）。白い丸にのせ、スマホの幅でも1行に収める */
.game-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 0 20px;
}
.game-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--color-card);
  font-size: 0.8125rem;
  white-space: nowrap;
}
.game-meta-icon { width: 1.1em; height: 1.1em; stroke-width: 2.2; color: var(--color-main); }

/* ID入力の結果（正解・不正解など） */
.game-message { margin: 0 0 20px; padding: 12px 16px; border: 2px solid currentColor; border-radius: 14px; font-weight: bold; }
.game-message-correct { background: var(--color-success-light); color: var(--color-success); }
.game-message-wrong { background: var(--color-wrong-light); color: var(--color-wrong); border-color: var(--color-wrong-line); }
.game-message-notice { background: var(--color-main-light); color: var(--color-text); }

/* いま探している回答：画面でいちばん目立たせる（白いカードを紺の線でかこみ、にじむ影） */
.target-card {
  margin: 0 0 32px;
  padding: 20px 20px 24px;
  background: var(--color-card);
  border: 2.5px solid var(--color-text);
  border-radius: 22px;
  box-shadow: var(--shadow-glow-card);
}
.target-topic {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--color-main-light);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-sub);
  word-break: break-word;
}
.target-label {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--color-main-light);
  font-size: 0.875rem;
  font-weight: bold;
}
.target-answer {
  margin: 0;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}
.target-url { margin: 12px 0 0; word-break: break-all; font-size: 0.875rem; }

/* IDの入力欄（接頭辞 R ＋ 数字） */
.guess-form label { font-weight: bold; display: block; margin-bottom: 8px; }
.guess-input { display: flex; align-items: center; gap: 8px; }
.guess-prefix { font-size: 1.6rem; font-weight: bold; }
.guess-input input {
  min-height: 56px;
  border: 2px solid var(--color-text);
  border-radius: 14px;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}
/* 「この人かな？」：ページの地の上にあるので、ほかのボタンと同じにじむ影（.button）。押しやすいよう少し高く */
.guess-form .button { min-height: 52px; }

/* 「今回はパス」：「この人かな？」と押しまちがえないよう、間をあける */
.pass-form { margin-top: 36px; text-align: center; }
.pass-form .hint { margin-top: 4px; }

/* ゲーム中の画面の下：参加人数・ひとことの変更・自分の回答 */
.game-footer { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--color-border); }
.own-answer { margin: 0; font-size: 0.875rem; }
.game-footer .howto { margin-top: 24px; }

/* ========== 7. 結果の画面 ========== */

.my-score { font-size: 1.5rem; color: var(--color-main-dark); }

.ranking { list-style: none; margin: 0; padding: 0; }
.ranking li { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-bottom: 1px solid var(--color-border); }
.ranking li:last-child { border-bottom: 0; }
.ranking-rank { width: 3em; font-weight: bold; color: var(--color-main-dark); }
.ranking-id { font-weight: bold; font-size: 1.1rem; letter-spacing: 0.05em; }
.ranking-badge { font-size: 0.75rem; background: var(--color-main); color: #fff; border-radius: 999px; padding: 2px 8px; }
.ranking-score { margin-left: auto; }
.ranking-me { background: var(--color-main-light); border-radius: 10px; }

.found-list { list-style: none; margin: 0; padding: 0; }
.found-list li { padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.found-list li:last-child { border-bottom: 0; }
.found-id { margin: 0; font-weight: bold; color: var(--color-main-dark); }
.found-list .answer-body { margin: 4px 0 0; }

.anonymous-answers { margin: 0; padding-left: 1.5em; }
.anonymous-answers li { padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.anonymous-answers li:last-child { border-bottom: 0; }
.anonymous-answers .answer-body { margin: 0; }

.choice-tally { list-style: none; margin: 0; padding: 0; }
.choice-tally li { display: flex; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--color-border); }
.choice-tally li:last-child { border-bottom: 0; }
.choice-tally-count { margin-left: auto; font-weight: bold; white-space: nowrap; }

.available-until { text-align: center; margin-top: 24px; }

/* みんなの回答：ゲーム中の回答のカード（.target-card）と同じ、紺の線とにじむ影 */
.answers-card { border: 2.5px solid var(--color-text); border-radius: 22px; box-shadow: var(--shadow-glow-card); }

/* ========== 8. 管理画面 ========== */

.counts { display: flex; gap: 24px; margin: 8px 0 0; }
.counts dt { color: var(--color-sub); font-size: 0.875rem; }
.counts dd { margin: 0; font-size: 1.5rem; font-weight: bold; }

.settings { margin: 0; }
.settings dt { color: var(--color-sub); font-size: 0.875rem; }
.settings dd { margin: 0 0 8px; }

.topic-edit-link { display: inline-flex; align-items: center; text-decoration: none; }

/* 「ゲームを終了する」：うっかり押さないよう、ひかえめなボタンにして、少し離して置く */
.end-form { margin-top: 32px; text-align: center; }

/* ランキングの表示の設定 */
.ranking-setting { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ranking-preview { margin: 12px 0 0; }

/* 参加者の一覧（パスワードの再設定） */
.participant-list > summary { list-style: none; color: var(--color-text); }
.participant-list > summary::-webkit-details-marker { display: none; }
.participant-list > summary h2 { display: inline; margin: 0; }
.participant-list > summary::after { content: " ▼"; color: var(--color-sub); font-size: 0.8rem; }
.participant-list[open] > summary::after { content: " ▲"; }
.participant-filter { margin: 12px 0 8px; }
.participant-list ul { list-style: none; margin: 0; padding: 0; }
.participant-list li { border-bottom: 1px solid var(--color-border); }
.participant-list li:last-child { border-bottom: 0; }
.participant-list li summary { display: flex; gap: 12px; padding: 10px 4px; color: var(--color-text); }
.participant-id { font-weight: bold; min-width: 4.5em; }
.handover-form { padding: 0 4px 12px; }
.handover-form .hint { margin-bottom: 8px; }
.return-form { margin-top: 32px; text-align: center; }

/* 参加者用のQRコード（ゲーム中・終了後は、たたんで下に出す） */
.join-qr > summary { list-style: none; color: var(--color-text); }
.join-qr > summary::-webkit-details-marker { display: none; }
.join-qr > summary h2 { display: inline; margin: 0; }
.join-qr > summary::after { content: " ▼"; color: var(--color-sub); font-size: 0.8rem; }
.join-qr[open] > summary::after { content: " ▲"; }

/* QRコードを大きく表示 */
.qr-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* 主催者も参加者として遊ぶためのリンク：QRコードのボタンより目立たせない */
.join-self { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--color-border); font-size: 0.875rem; }
.join-self p { margin: 0 0 2px; color: var(--color-sub); }
.qr-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fff;
  text-align: center;
  cursor: pointer;
}
.qr-overlay[hidden] { display: none; }
.qr-overlay-name { margin: 0 0 16px; font-size: 1.5rem; font-weight: bold; }
.qr-overlay-code { width: min(85vw, 65vh); }
.qr-overlay-code svg { display: block; width: 100%; height: auto; }
.qr-overlay-hint { margin: 16px 0 0; font-size: 1.2rem; font-weight: bold; color: var(--color-main-dark); }
.qr-overlay-close { margin: 8px 0 0; font-size: 0.875rem; color: var(--color-sub); }

/* ========== 9. あそびかた ========== */

.howto {
  margin: 0 0 16px;
  padding: 4px 16px 12px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  font-size: 0.9rem;
}
.howto summary { font-weight: bold; }
.howto ol { margin: 4px 0 0; padding-left: 1.4em; }
.howto li { margin-bottom: 4px; }
.howto-more { margin: 8px 0 0; }

/* ========== 10. トップページ（サービス紹介） ========== */

/* トップページだけ、本文を広くする（PCでは横に並べる） */
.lp-main { max-width: 960px; padding: 0 16px 24px; }

/* ヘッダー：スマホでは1行目に「ロゴ・イベントを作成する」、2行目に「遊び方・イベントの参加方法」。
   PCでは1行に「ロゴ・遊び方・イベントの参加方法・イベントを作成する」 */
.lp-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 16px;
  max-width: 960px;
  padding: 12px 16px 0;
}
.lp-header .site-logo { order: 1; }
.lp-nav-button {
  order: 2;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--color-main);
  color: #fff;
  font-size: 0.875rem;
  font-weight: bold;
  text-decoration: none;
}
.lp-nav { order: 3; width: 100%; display: flex; gap: 0 20px; font-size: 0.875rem; }
.lp-nav a { color: var(--color-sub); text-decoration: none; min-height: var(--tap-size); display: inline-flex; align-items: center; }
.lp-nav a:hover { color: var(--color-main-dark); }

/* ヒーロー（トップページ・あそびかたの一番上） */
.lp-hero { position: relative; text-align: center; padding: 40px 0 48px; }
/* うしろに、色のにじみを模様として置く（ミント・空色に、IDの札のピンクを少し）。
   画面に固定する（position: fixed）ので、スクロールしても模様はその場に残り、
   文字やカードだけが、模様の上をすべっていくように見える。
   z-index: -1 で、ページのすべての文字・カードのうしろ（背景のすぐ手前）に置く。
   inset をマイナスにして、ぼかしたときに画面のふちが白っぽく欠けないようにしている */
.lp-hero::before {
  content: "";
  position: fixed;
  inset: -40px;
  z-index: -1;
  background:
    radial-gradient(circle at 8% 14%, rgba(93, 247, 247, 0.8), transparent 26%),
    radial-gradient(circle at 92% 18%, rgba(90, 169, 255, 0.65), transparent 28%),
    radial-gradient(circle at 80% 72%, rgba(255, 182, 202, 0.75), transparent 24%),
    radial-gradient(circle at 16% 76%, rgba(90, 169, 255, 0.45), transparent 22%);
  filter: blur(24px);
  pointer-events: none;
}
.lp-hero-name {
  margin: 0;
  font-family: var(--font-logo);
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  color: var(--color-main);
}
.lp-catch { margin: 8px 0 16px; font-size: 2.1rem; line-height: 1.35; letter-spacing: 0.02em; }
.lp-lead { max-width: 30em; margin: 0 auto; color: var(--color-sub); line-height: 1.9; }
.lp-cta { display: inline-block; width: auto; min-width: 240px; padding-left: 32px; padding-right: 32px; }

/* セクション・見出し */
.lp-section { padding: 32px 0; scroll-margin-top: 16px; }
/* 遊び方：白い半透明の面にのせて、ひとまとまりに見せる（線や影はつけない。カードより一段うしろの「場所」として） */
.lp-panel { padding: 40px 16px; margin: 32px 0; background: rgba(255, 255, 255, 0.65); border-radius: 20px; }
.lp-heading { margin: 0 0 16px; font-size: 1.3rem; text-align: center; }

/* カード（遊び方・利用シーン・参加の案内で共通）：紺の線と、にじむ影で浮かせる */
.lp-card {
  padding: 20px 16px;
  background: var(--color-card);
  border: 2px solid var(--color-text);
  border-radius: 16px;
  box-shadow: var(--shadow-glow-card);
}
.lp-card h3 { margin: 8px 0 4px; font-size: 1.05rem; }
.lp-card p { margin: 0; font-size: 0.9rem; color: var(--color-sub); line-height: 1.7; }

/* 遊び方の3ステップ：01〜03 を縦に並べ、左にアイコン、右に番号・見出し・説明 */
.lp-steps { list-style: none; max-width: 560px; margin: 0 auto; padding: 0; display: grid; gap: 24px; }
.lp-step { display: flex; align-items: flex-start; gap: 16px; }
.lp-step-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--color-main-light);
  color: var(--color-main-dark);
}
.lp-step-icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.lp-step-number { margin: 0; font-size: 0.85rem; font-weight: bold; letter-spacing: 0.05em; color: var(--color-main-dark); }
.lp-step h3 { margin: 2px 0 4px; font-size: 1.15rem; font-weight: normal; }
.lp-step-text { margin: 0; font-size: 0.95rem; color: var(--color-sub); line-height: 1.7; }
/* 「遊び方を、くわしく見る」（/about.php へ） */
.lp-more { margin: 24px 0 0; text-align: center; }

/* こんな集まりにおすすめ：スマホは2列で、アイコンと見出しだけ中央寄せ。PCは4列で、ぜんぶ中央寄せ */
.lp-scenes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-scene { padding: 16px; }
.lp-scene-icon { display: block; width: 26px; height: 26px; margin: 0 auto; color: var(--color-main-dark); stroke-width: 1.8; }
.lp-scene h3 { margin: 12px 0 4px; font-size: 1rem; font-weight: normal; text-align: center; }

/* イベントの参加方法 */
.lp-join { text-align: center; border: none; }
.lp-join .lp-heading { margin-bottom: 8px; }

/* ページの下のCTA */
.lp-bottom-cta { margin: 24px 0 8px; padding: 32px 16px; text-align: center; background: var(--color-main-light); border-radius: 20px; }
.lp-bottom-cta h2 { margin: 0 0 4px; font-size: 1.3rem; }
.lp-bottom-cta .lp-cta { margin-top: 16px; }

/* フッター */
.lp-footer { max-width: 960px; margin: 0 auto; padding: 24px 16px 40px; text-align: center; border-top: 1px solid var(--color-border); }
.lp-footer-name { margin: 0; font-family: var(--font-logo); font-weight: bold; color: var(--color-main); }
/* 管理画面のフッターでは、ロゴをトップページへのリンクにする */
a.lp-footer-name { display: inline-block; text-decoration: none; }
.lp-footer-catch { margin: 0 0 8px; font-size: 0.875rem; color: var(--color-sub); }
.lp-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; font-size: 0.875rem; }
.lp-footer-nav a { min-height: var(--tap-size); display: inline-flex; align-items: center; color: var(--color-sub); }
/* 運営：c-urb（メニューより小さく、控えめに） */
.lp-footer-operator { margin: 8px 0 0; font-size: 0.8rem; color: var(--color-sub); }
.lp-footer-operator a { color: var(--color-sub); }

/* PC（横幅が広い画面）では、横に並べて、見出しを大きく */
@media (min-width: 720px) {
  .lp-header { padding-bottom: 12px; }
  .lp-nav { order: 2; width: auto; margin-left: auto; }
  .lp-nav-button { order: 3; margin-left: 0; }
  .lp-hero { padding: 96px 0 80px; }
  .lp-section { padding: 40px 0; }
  .lp-panel { padding: 64px 24px; margin: 40px 0; }
  .lp-bottom-cta { margin-top: 48px; }
  .lp-catch { font-size: 2.8rem; }
  .lp-scenes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .lp-scene { padding: 20px; text-align: center; }
  .lp-heading { font-size: 1.5rem; }
}

/* ========== 11. コラム ========== */

/* 読みやすい幅にしぼる（トップページの本文の幅は広いため） */
.column-article, .column-index { max-width: 680px; margin: 0 auto; padding-top: 8px; }

/* パンくず（kikotto ＞ コラム ＞ 記事） */
.column-breadcrumb ol { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; font-size: 0.8rem; color: var(--color-sub); }
.column-breadcrumb li + li::before { content: "＞"; margin: 0 6px; }
.column-breadcrumb a { color: var(--color-sub); }

.column-article h1, .column-index h1 { font-size: 1.6rem; margin: 8px 0; }
.column-meta { margin: 0 0 24px; font-size: 0.85rem; color: var(--color-sub); }

/* キービジュアル（1200×630）。画面の幅に合わせて縮める */
.column-key-visual { display: block; width: 100%; height: auto; margin: 0 0 24px; border-radius: 12px; }
.column-lead { color: var(--color-sub); }

/* 本文：行間を広めに、見出しの上を空けて区切りを分かりやすく。
   長い文章は、色のついた地より白い地のほうが読みやすいので、ほぼ白の面にのせる */
.column-body { padding: 24px 16px; background: var(--color-article-bg); border-radius: 16px; line-height: 1.9; }
/* 面の上下の余白が、最初・最後の段落や見出しの余白でずれないようにする */
.column-body > :first-child { margin-top: 0; }
.column-body > :last-child { margin-bottom: 0; }
.column-body h2 { margin: 40px 0 12px; padding-bottom: 6px; font-size: 1.3rem; border-bottom: 2px solid var(--color-main-light); }
.column-body h3 { margin: 28px 0 8px; font-size: 1.1rem; }
.column-body ul, .column-body ol { padding-left: 1.4em; }
.column-body li + li { margin-top: 4px; }
.column-body blockquote { margin: 16px 0; padding: 4px 16px; border-left: 4px solid var(--color-border); color: var(--color-sub); }
.column-body img { max-width: 100%; height: auto; border-radius: 8px; }
/* 表：セルの中で折り返して、なるべく画面の幅に収める。それでもはみ出したら横にスクロール（画面全体は横に動かさない） */
.column-body table { display: block; overflow-x: auto; border-collapse: collapse; margin: 16px 0; font-size: 0.875rem; line-height: 1.6; }
.column-body th, .column-body td { min-width: 5em; padding: 8px 10px; border: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.column-body th { background: var(--color-main-light); }

/* 下書きの印（ローカルでだけ出る） */
.column-draft { padding: 8px 12px; background: var(--color-error-light); color: var(--color-error); border-radius: 8px; font-size: 0.85rem; }
.column-draft-label { display: inline-block; margin-bottom: 4px; padding: 0 8px; font-size: 0.75rem; background: var(--color-error-light); color: var(--color-error); border-radius: 999px; }

/* kikotto への導線：導入のあとは控えめなリンク、記事の最後はカード */
.column-cta { margin: 20px 0; padding: 12px 16px; background: var(--color-main-light); border-radius: 12px; }
.column-cta-link { font-weight: bold; }
.column-cta-end { margin-top: 40px; padding: 24px 16px; text-align: center; border-radius: 16px; }
.column-cta-name { margin: 0; font-family: var(--font-logo); font-weight: bold; color: var(--color-main-dark); }
.column-cta-text { margin: 4px 0 16px; font-size: 0.9rem; color: var(--color-sub); }

/* 記事のカードの一覧 */
.column-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; }
/* カード：画像はカードの端まで広げ、文字の部分（.column-card-body）だけに余白をつける。
   2列のとき、となりのカードと高さをそろえる（height: 100%） */
.column-card { display: block; height: 100%; background: var(--color-card); border: 2px solid var(--color-text); border-radius: 16px; box-shadow: var(--shadow-glow-card); color: var(--color-text); text-decoration: none; }
.column-card:hover { border-color: var(--color-main); }
/* 画像の角は、上の2つだけ丸める（カードの枠の内側なので、カードより線の太さの分だけ小さく） */
.column-card-image { display: block; width: 100%; height: auto; border-radius: 14px 14px 0 0; }
.column-card-body { display: block; padding: 16px 20px 20px; }
.column-card-title { display: block; font-weight: bold; line-height: 1.5; }
.column-card-text { display: block; margin-top: 4px; font-size: 0.875rem; color: var(--color-sub); line-height: 1.7; }
.column-card-date { display: block; margin-top: 8px; font-size: 0.8rem; color: var(--color-sub); }
.column-empty { padding: 24px 16px; text-align: center; color: var(--color-sub); background: var(--color-card); border: 1px solid var(--color-border); border-radius: 16px; }

.column-related { margin-top: 40px; }

/* この記事について：だれが作り、だれが確かめて公開しているか。CTA より控えめな、枠だけのカード */
.column-about { margin-top: 40px; padding: 16px 20px; border: 1px solid var(--color-border); border-radius: 12px; font-size: 0.9rem; line-height: 1.8; }
.column-about p { margin: 0 0 8px; }
.column-about-heading { margin: 0 0 8px; font-size: 1rem; }
.column-about-editor { color: var(--color-sub); }
.column-about-name { margin-right: 8px; font-weight: bold; color: var(--color-text); }
.column-about .column-about-link { margin: 0; }

/* PC（横幅が広い画面）では、記事のカードを2列に並べ、本文の面の内側を広くする（1行を約36文字にして、ゆったり読めるように） */
@media (min-width: 720px) {
  .column-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .column-body { padding: 40px 48px; }
}
.column-back { margin-top: 32px; text-align: center; }

/* ========== 12. メンテナンスモード（準備中のお知らせ） ========== */

.maintenance { padding: 40px 0; text-align: center; }
.maintenance-form { max-width: 320px; margin: 40px auto 0; text-align: left; }
.maintenance-form label { font-weight: normal; font-size: 0.875rem; color: var(--color-sub); }

/* ========== 13. kikotto ってどんなゲーム？（/about.php） ========== */

.about-title { margin: 0 0 16px; font-size: 1.9rem; line-height: 1.4; }
.about-note { max-width: 30em; margin: 12px auto 0; font-size: 0.9rem; color: var(--color-sub); line-height: 1.8; }
.about-text { max-width: 560px; margin: 0 auto; color: var(--color-sub); line-height: 1.8; }

/* 4コマ：カード（絵が上、番号・見出し・説明が下）。スマホは縦にならべ、PCは2×2 */
.about-frames { list-style: none; max-width: 860px; margin: 0 auto; padding: 0; display: grid; gap: 20px; }
.about-frame { overflow: hidden; background: var(--color-card); border: 2px solid var(--color-text); border-radius: 16px; box-shadow: var(--shadow-glow-card); }
/* 絵（800×600）は、カードの端まで広げる */
.about-frame-image { display: block; width: 100%; height: auto; }
.about-frame-body { padding: 16px 20px 20px; }
.about-frame h3 { margin: 2px 0 6px; font-size: 1.15rem; }
.about-frame-text { margin: 0; font-size: 0.95rem; color: var(--color-sub); line-height: 1.7; }

/* ここがうれしい：トップページの遊び方と同じ形（アイコン＋見出し＋説明） */
.about-points { list-style: none; max-width: 560px; margin: 0 auto; padding: 0; display: grid; gap: 24px; }

/* 幹事の方へ */
.about-host { max-width: 640px; margin: 0 auto; padding: 24px 20px; }
.about-host h3 { margin: 20px 0 6px; font-size: 1.05rem; }
.about-host p, .about-host li { font-size: 0.95rem; color: var(--color-text); line-height: 1.8; }
.about-host ol, .about-host ul { margin: 0; padding-left: 1.4em; }
.about-host .about-host-cta { margin-top: 24px; text-align: center; }

@media (min-width: 720px) {
  .about-title { font-size: 2.4rem; }
  .about-frames { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

/* ========== 14. よくある質問（/faq.php） ========== */

/* 質問をタップすると答えが開く。質問の行は、指で押しやすい高さにする */
.faq-list { max-width: 680px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--color-card); border: 1px solid var(--color-border); border-radius: 12px; }
.faq-item summary { min-height: var(--tap-size); padding: 12px 16px; font-weight: bold; line-height: 1.6; cursor: pointer; }
.faq-item p { margin: 0; padding: 0 16px 16px; color: var(--color-sub); line-height: 1.8; }

/* ========== 15. お問い合わせ（/contact.php） ========== */

.contact-note { max-width: 640px; margin: 0 auto; padding: 24px 20px; }
.contact-note ul { margin: 0; padding-left: 1.4em; }
.contact-note li { margin-bottom: 6px; font-size: 0.95rem; color: var(--color-text); line-height: 1.8; }

/* ========== 16. プライバシーポリシー（/privacy.php） ========== */

.policy { max-width: 680px; margin: 16px auto 0; padding: 24px 16px; background: var(--color-article-bg); border-radius: 16px; line-height: 1.8; }
/* 面の上下の余白が、最初・最後の見出しや段落の余白でずれないようにする */
.policy > :first-child { margin-top: 0; }
.policy > :last-child { margin-bottom: 0; }
.policy h2 { margin: 32px 0 8px; font-size: 1.15rem; }
.policy h3 { margin: 16px 0 4px; font-size: 1rem; }
.policy ul { margin: 0; padding-left: 1.4em; }
.policy li { margin-bottom: 4px; }
.policy-date { margin-top: 32px; text-align: right; color: var(--color-sub); font-size: 0.9rem; }
/* PCでは、面の内側を広くする（コラムの本文と同じ） */
@media (min-width: 720px) {
  .policy { padding: 40px 48px; }
}

/* ========== 17. アップデート情報（/news.php） ========== */

/* 日付と、変わったことを、新しい順にならべる。1件ずつ、下に細い線で区切る */
.news-list { max-width: 680px; margin: 0 auto; padding: 0; list-style: none; }
.news-item { padding: 24px 4px; border-bottom: 1px solid var(--color-border); }
.news-item:first-child { border-top: 1px solid var(--color-border); }
.news-date { margin: 0 0 4px; font-size: 0.9rem; font-weight: bold; color: var(--color-main-dark); }
.news-item p { margin: 0; line-height: 1.8; }

/* ========== 18. 運営者情報（/operator.php） ========== */

/* 名前と役割のあとに、紹介の文章。読みやすいように、行の間を広めにする */
.operator { max-width: 640px; margin: 0 auto; padding: 24px 20px; }
.operator p { margin: 0 0 12px; font-size: 0.95rem; color: var(--color-text); line-height: 1.9; }
.operator .operator-name { margin: 0; font-size: 1.3rem; font-weight: bold; }
.operator .operator-role { margin: 0 0 20px; font-size: 0.9rem; color: var(--color-sub); }
.operator-heading { margin: 28px 0 8px; font-size: 1.1rem; }
.operator-links { margin: 0 0 20px; padding-left: 1.4em; }
.operator-links li { margin-bottom: 6px; line-height: 1.8; }
.operator .operator-contact { margin: 0; color: var(--color-sub); }

/* ========== 19. 見つかりません（404） ========== */

/* イベント・記事が見つからないときと、存在しないURLで共通。行き止まりにならないよう、案内とリンクを出す */
.not-found { max-width: 560px; margin: 0 auto; padding: 24px 0; text-align: center; }
.not-found-icon { width: 48px; height: 48px; color: var(--color-main); }
.not-found h1 { margin: 12px 0 8px; font-size: 1.4rem; }
.not-found p { margin: 0 0 8px; color: var(--color-sub); line-height: 1.8; }
.not-found-heading { margin: 28px 0 6px; font-size: 1rem; }
.not-found-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; }
.not-found-links a { min-height: var(--tap-size); display: inline-flex; align-items: center; }
