/* ============================================================
   SBTE 参加登録サイト
   コンセプト：空港・駅の案内サイン（コバルトの面・白の文字・黄色の注意色）
   ============================================================ */
:root {
  --ink: #121a33;          /* 文字 */
  --ink-soft: #56607a;     /* 補足文字 */
  --paper: #ffffff;
  --mist: #f2f5ff;         /* 背景 */
  --tint: #e4eaff;         /* 薄いコバルト */
  --line: #d5dcef;         /* 罫線 */
  --brand: #1f3fbf;        /* コバルト */
  --brand-dark: #152d8e;
  --brand-deep: #0e1d5c;
  --signal: #ffd23f;       /* 注意・行動の黄色 */
  --signal-dark: #f2c200;
  --accent: var(--brand);  /* フォームのボタン・リンク */
  --accent-dark: var(--brand-dark);
  --accent-bg: #eaf0ff;
  --error: #b42318;
  --error-bg: #fdf1f0;
  --ok: #1d7549;
  --ok-bg: #eaf6ef;
  --warn: #7a5200;
  --warn-bg: #fff4d1;
  --radius: 6px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.8; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--signal-dark); outline-offset: 2px; }
.muted { color: var(--ink-soft); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 案内サインの矢印 */
.sign-arrow { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -.12em; }
.sign-badge {
  display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; margin-right: .4em;
  background: var(--brand); color: #fff; border-radius: 4px; vertical-align: -.15em;
}
.sign-badge .sign-arrow { width: .8em; height: .8em; }

/* ===== ヘッダー ===== */
.site-header { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.is-admin .site-header { background: var(--brand-deep); color: #fff; border-bottom: 0; }
.site-header__inner {
  max-width: 1160px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px;
}
.site-header__brand { color: var(--brand); text-decoration: none; font-size: 21px; font-weight: 900; letter-spacing: .04em; }
.site-header__brand:hover { color: var(--brand-dark); }
.is-admin .site-header__brand, .is-admin .site-header__brand:hover { color: #fff; }
.site-header__sub { margin-left: 12px; font-size: 13px; font-weight: 400; letter-spacing: 0; opacity: .8; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.site-nav a, .site-nav button {
  color: inherit; text-decoration: none; font: inherit; font-size: 14px; font-weight: 700;
  padding: 6px 12px; border-radius: 4px; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.site-nav a:hover, .site-nav button:hover { background: var(--accent-bg); color: var(--brand); }
.is-admin .site-nav a:hover, .is-admin .site-nav button:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.site-nav .site-nav__cta { background: var(--signal); color: var(--ink); margin-left: 8px; }
.site-nav .site-nav__cta:hover { background: var(--signal-dark); color: var(--ink); }
.site-nav__logout { margin: 0; }

/* ===== 共通レイアウト ===== */
.main--narrow { max-width: 760px; margin: 0 auto; padding: 32px 20px 56px; }
.main--wide { max-width: 1160px; margin: 0 auto; padding: 28px 20px 56px; }
.main--lp { padding: 0; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 800px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.page-title { font-size: 24px; line-height: 1.4; margin: 0 0 8px; }
.section-title { font-size: 17px; margin: 0 0 14px; }
.lead { margin: 0 0 28px; color: var(--ink-soft); }

/* ===== メインビジュアル ===== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background-color: var(--brand);
  /* 会場の床のグリッド */
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero__inner {
  max-width: 1160px; margin: 0 auto; padding: 48px 20px 56px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center;
}
.hero__code {
  margin: 0 0 0 -.05em; font-size: clamp(96px, 15vw, 200px); font-weight: 900;
  line-height: .82; letter-spacing: -.035em;
}
.hero__fullname { margin: 18px 0 0; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--signal); }
.hero__title { margin: 6px 0 28px; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.35; font-weight: 800; word-break: auto-phrase; }
.hero__plates { display: grid; gap: 10px; margin: 0 0 28px; }
.plate { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 12px 18px; display: flex; gap: 16px; align-items: baseline; }
.plate dt { flex-shrink: 0; font-size: 13px; font-weight: 800; color: #fff; background: var(--brand); border-radius: 3px; padding: 0 8px; }
.plate dd { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.5; }
.plate dd span { display: block; font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero__sublink { color: #fff; font-weight: 700; }
.hero__sublink:hover { color: var(--signal); }

.hero__photo { margin: 0; position: relative; }
.hero__photo img { display: block; width: 100%; border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tint); }
.hall-sign {
  position: absolute; left: -16px; bottom: 24px; display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; padding: 10px 16px 10px 10px; border-radius: 4px; font-weight: 800;
}
.hall-sign__no { white-space: nowrap; background: var(--signal); color: var(--ink); padding: 2px 8px; border-radius: 3px; font-size: 18px; letter-spacing: .02em; }
.hall-sign__text { font-size: 15px; }
.hall-sign .sign-arrow { color: var(--signal); width: 22px; height: 22px; }

.hero__strip {
  list-style: none; margin: 0; padding: 12px 20px; background: var(--signal); color: var(--ink);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 40px; font-weight: 800; font-size: 15px;
}
.hero__strip li { display: flex; align-items: center; gap: 8px; }

/* 登場演出（ページを開いたときに1回だけ） */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.anim { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d, 0) * 90ms); }

/* ===== 数字の帯 ===== */
.figures-band { background: var(--brand-deep); color: #fff; padding: 36px 0; }
.figures { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figures__item { padding: 4px 20px; border-left: 1px solid rgba(255, 255, 255, .2); }
.figures__item:first-child { border-left: 0; }
.figures__value { margin: 0; line-height: 1.1; }
.figures__num { font-size: clamp(36px, 4.6vw, 56px); font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.figures__unit { margin-left: 4px; font-size: 16px; font-weight: 700; color: var(--signal); }
.figures__label { margin: 6px 0 0; font-size: 13px; opacity: .85; }

/* ===== セクション ===== */
.section { padding: 80px 0; background: var(--paper); }
.section--tint { background: var(--mist); }
.section--register { background: var(--brand); padding-top: 64px; }
.section__title { font-size: clamp(24px, 3vw, 32px); line-height: 1.3; margin: 0 0 12px; font-weight: 800; }
.section__lead { margin: 0 0 32px; color: var(--ink-soft); max-width: 40em; }

/* 開催概要 */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about__text p { margin: 0 0 16px; max-width: 34em; }
.spec { margin: 0; border-top: 3px solid var(--brand); }
.spec > div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 14px; font-weight: 700; color: var(--brand); }
.spec dd { margin: 0; }

/* フロアマップ */
.floormap { margin: 0 0 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.floormap svg { display: block; width: 100%; max-width: 820px; margin: 0 auto; height: auto; }
.floormap figcaption { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.fm-hall { fill: var(--mist); stroke: var(--brand); stroke-width: 3; }
.fm-zone rect:first-child { fill: var(--paper); stroke: var(--line); stroke-width: 2; }
.fm-zone__badge { fill: var(--signal); }
.fm-zone__letter { font: 900 26px var(--font); fill: var(--ink); }
.fm-zone__name { font: 700 15px var(--font); fill: var(--brand); }
.fm-room rect { fill: var(--tint); stroke: var(--brand); stroke-width: 2; stroke-dasharray: 6 5; }
.fm-room--stage rect { fill: var(--brand); stroke: none; }
.fm-room text { font: 700 15px var(--font); fill: var(--brand); }
.fm-room--stage text { fill: #fff; }
.fm-entrance { fill: var(--ink); }
.fm-entrance__label { font: 700 14px var(--font); fill: var(--ink); }

/* 展示ゾーン */
.zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.zone { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.zone__photo { position: relative; }
.zone__photo img { display: block; width: 100%; aspect-ratio: 56 / 33; object-fit: cover; background: var(--tint); }
.zone__letter {
  position: absolute; left: 20px; bottom: -24px; margin: 0; width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--signal); color: var(--ink); font-size: 32px; font-weight: 900; border-radius: 6px; line-height: 1;
  box-shadow: 0 0 0 4px var(--paper);
}
.zone__body { padding: 36px 24px 24px; }
.zone__title { margin: 0 0 6px; font-size: 20px; color: var(--brand); }
.zone__body p { margin: 0 0 8px; }
.zone__items { font-size: 14px; color: var(--ink-soft); }

/* プログラム */
.program { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.program__date { margin: 0; padding: 10px 16px; font-size: 19px; background: var(--brand); color: #fff; border-radius: 6px 6px 0 0; }
.timetable { list-style: none; margin: 0; padding: 0 16px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 6px 6px; }
.session { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.session:first-child { border-top: 0; }
.session__time { margin: 0; font-weight: 800; font-size: 15px; line-height: 1.5; color: var(--brand); }
.session__time span { display: block; font-size: 12px; font-weight: 400; color: var(--ink-soft); }
.session__kind { display: inline-block; margin: 0 0 4px; font-size: 12px; font-weight: 700; padding: 0 8px; background: var(--signal); border-radius: 3px; }
.session__title { margin: 0 0 10px; font-size: 16px; line-height: 1.6; }
.speaker { display: flex; align-items: center; gap: 10px; }
.speaker__avatar {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tint); color: var(--brand); font-weight: 800;
}
.speaker__text { margin: 0; font-size: 14px; line-height: 1.5; }
.speaker__text span { display: block; font-size: 12px; color: var(--ink-soft); }

/* 会場・アクセス */
.access { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.access__venue { margin: 0; font-size: 22px; font-weight: 800; }
.access__list { list-style: none; margin: 20px 0 0; padding: 0; }
.access__list li { display: flex; gap: 10px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.access__list .sign-arrow { color: var(--brand); }
.access__map { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.access__map svg { display: block; width: 100%; height: auto; }
.access__map figcaption { font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
.am-line { stroke-width: 8; stroke-linecap: round; }
.am-line--1 { stroke: var(--brand); }
.am-line--2 { stroke: #7f93e3; }
.am-line-label { font: 700 14px var(--font); fill: var(--ink-soft); }
.am-station { fill: #fff; stroke: var(--ink); stroke-width: 4; }
.am-station-label { font: 700 14px var(--font); fill: var(--ink); }
.am-walk { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 4 6; stroke-linecap: round; }
.am-walk-label { font: 700 12px var(--font); fill: var(--brand); }
.am-venue { fill: var(--brand); }
.am-venue-label { font: 900 20px var(--font); fill: var(--signal); }
.am-venue-sub { font: 700 13px var(--font); fill: #fff; }

/* よくある質問 */
.faq { border-top: 3px solid var(--brand); max-width: 860px; }
.faq__item { border-bottom: 1px solid var(--line); background: var(--paper); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 48px 18px 44px; font-weight: 700; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "Q"; position: absolute; left: 12px; top: 17px; font-weight: 900; color: var(--brand); }
.faq__item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--brand); transition: transform .2s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { margin: 0; padding: 0 20px 20px 44px; color: var(--ink-soft); }

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim { animation: none; }
  .faq__item summary::after { transition: none; }
}

/* ===== 進行表示 ===== */
.steps { display: flex; list-style: none; margin: 0 0 28px; padding: 0; font-size: 13px; }
.steps li { flex: 1; text-align: center; padding: 6px 0; border-bottom: 3px solid var(--line); color: var(--ink-soft); }
.steps li.is-done { border-color: var(--ink-soft); }
.steps li.is-current { border-color: var(--accent); color: var(--accent); font-weight: 700; }

/* ===== フォーム ===== */
.form__group { border: 0; margin: 0 0 12px; padding: 0; min-width: 0; }
.form__legend { width: 100%; font-size: 17px; font-weight: 800; padding: 0 0 8px; margin-bottom: 20px; border-bottom: 2px solid var(--brand); color: var(--brand); }
.field { margin-bottom: 22px; }
.field__label { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 6px; }
.field__req { font-size: 11px; font-weight: 700; line-height: 1.8; padding: 0 6px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink-soft); }
.field__req.is-required { background: var(--error); border-color: var(--error); color: #fff; }
.field__hint { margin: 4px 0 8px; font-size: 13px; color: var(--ink-soft); }
.field__error { margin: 6px 0 0; font-size: 14px; color: var(--error); font-weight: 700; }

.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px;
}
.input::placeholder, .textarea::placeholder { color: #9aa3b8; }
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31, 63, 191, .2); }
.has-error .input, .has-error .select, .has-error .textarea { border-color: var(--error); background: var(--error-bg); }

.choices { display: grid; gap: 8px; }
.choices--row { display: flex; flex-wrap: wrap; }
.choice { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.choice input { width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-bg); }
.choice--seminar { font-size: 15px; line-height: 1.6; }
.choice--seminar strong { margin-right: 4px; color: var(--brand); }
.has-error .choice { border-color: var(--error); }
.seminar-group { margin-top: 12px; }
.seminar-group.is-off { display: none; }
.seminar-group__day { margin: 0 0 6px; font-size: 14px; font-weight: 700; }

.field--agree { padding-top: 16px; border-top: 1px solid var(--line); }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 8px; }

/* ===== ボタン ===== */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions--tight { margin-top: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; font: inherit; font-weight: 700;
  border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
}
.btn--large { min-height: 56px; padding: 0 32px; font-size: 17px; }
.btn--small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: var(--signal-dark); color: var(--ink); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-soft); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn[hidden] { display: none; }

/* ===== お知らせ ===== */
.alert { border-radius: var(--radius); padding: 12px 16px; margin-bottom: 24px; border: 1px solid; }
.alert p { margin: 0; }
.alert p + p { margin-top: 4px; }
.alert--error { background: var(--error-bg); border-color: var(--error); color: var(--error); }
.alert--ok { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }

/* ===== 確認画面・完了画面 ===== */
.confirm-list { margin: 0 0 8px; border-top: 1px solid var(--line); }
.confirm-list > div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.confirm-list dt { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.confirm-list dd { margin: 0; overflow-wrap: anywhere; }
.receipt { display: inline-flex; align-items: baseline; gap: 12px; margin: 8px 0 20px; padding: 10px 18px; background: var(--brand); color: #fff; border-radius: var(--radius); font-size: 14px; font-weight: 700; }
.receipt strong { font-size: 24px; letter-spacing: .06em; color: var(--signal); }

/* ===== フッター ===== */
.site-footer { background: var(--brand-deep); color: rgba(255, 255, 255, .8); font-size: 13px; padding: 28px 20px; }
.site-footer a { color: #fff; }
.site-footer__inner { max-width: 1160px; margin: 0 auto 12px; }
.site-footer__inner p { margin: 0; }
.site-footer__name { color: #fff; font-weight: 700; font-size: 15px; }
.site-footer__copy { max-width: 1160px; margin: 0 auto; font-size: 12px; opacity: .7; }
.is-admin .site-footer { background: transparent; color: var(--ink-soft); text-align: center; }

/* ===== 管理画面 ===== */
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.page-head .page-title { margin: 0; }
.backlink { margin: 0 0 12px; font-size: 14px; }
.stats { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.stats li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 18px; font-size: 14px; }
.stats span { display: block; font-size: 12px; color: var(--ink-soft); }
.stats strong { font-size: 26px; margin-right: 2px; color: var(--brand); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; }
.tabs a { display: block; padding: 4px 14px; font-size: 14px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.tabs a.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.filters .input { flex: 1 1 240px; padding: 7px 12px; }
.filters .select { width: auto; max-width: 22em; flex: 0 1 auto; padding: 7px 10px; font-size: 14px; }
.filters__clear { font-size: 14px; }
.filters__csv { margin-left: auto; }
.result-count { margin: 0 0 6px; font-size: 14px; color: var(--ink-soft); }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 14px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--mist); font-weight: 700; }
.table td.wrap { white-space: normal; min-width: 12em; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #f7f9ff; }
.table__sub { display: block; font-size: 12px; color: var(--ink-soft); }

.badge { display: inline-block; padding: 1px 10px; font-size: 12px; font-weight: 700; border-radius: 999px; }
.badge--large { font-size: 14px; padding: 3px 14px; }
.badge--registered { background: var(--accent-bg); color: var(--brand); }
.badge--checked_in { background: var(--ok-bg); color: var(--ok); }
.badge--cancelled { background: #eceff4; color: var(--ink-soft); }

.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 14px; }
.empty { padding: 48px 16px; text-align: center; color: var(--ink-soft); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.detail-side { display: grid; gap: 20px; }
.qr-card { text-align: center; }
.qr-card img { display: block; margin: 0 auto 8px; image-rendering: pixelated; }

/* 受付画面 */
.checkin-today { margin: 0; }
.checkin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.checkin__camera { padding: 20px; }
.camera { position: relative; aspect-ratio: 4 / 3; background: #0b1230; border-radius: var(--radius); overflow: hidden; }
.camera video { width: 100%; height: 100%; object-fit: cover; display: block; }
.camera__frame { position: absolute; inset: 18% 22%; border: 3px solid var(--signal); border-radius: 8px; pointer-events: none; }
.camera__message { position: absolute; inset: auto 0 0 0; margin: 0; padding: 10px 14px; background: rgba(11, 18, 48, .85); color: #fff; font-size: 14px; }
.camera__message[hidden] { display: none; }
.manual { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.manual__row { display: flex; gap: 8px; }

.result { border-radius: var(--radius); padding: 24px; margin-bottom: 24px; border: 2px solid var(--line); background: #fff; min-height: 180px; }
.result__status { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.result--idle .result__status, .result--loading .result__status { font-size: 16px; font-weight: 400; color: var(--ink-soft); }
.result--ok { border-color: var(--ok); background: var(--ok-bg); }
.result--ok .result__status { color: var(--ok); }
.result--already { border-color: #c79500; background: var(--warn-bg); }
.result--already .result__status { color: var(--warn); }
.result--cancelled, .result--notfound, .result--error { border-color: var(--error); background: var(--error-bg); }
.result--cancelled .result__status, .result--notfound .result__status, .result--error .result__status { color: var(--error); }
.result__name { margin: 0; font-size: 30px; font-weight: 800; line-height: 1.3; }
.result__kana { margin: 0; font-size: 14px; color: var(--ink-soft); }
.result__company { margin: 4px 0 12px; font-size: 16px; }
.result__meta { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0 0 8px; }
.result__meta div { display: flex; gap: 8px; }
.result__meta dt { font-size: 13px; color: var(--ink-soft); }
.result__meta dd { margin: 0; font-weight: 700; }
.result__label { margin: 8px 0 2px; font-size: 13px; color: var(--ink-soft); }
.result__seminars { margin: 0; padding-left: 1.2em; font-size: 14px; }
.result__warning { margin: 12px 0 0; padding: 8px 12px; background: var(--warn-bg); color: var(--warn); border-radius: 4px; font-weight: 700; }
.result__message { margin: 8px 0 0; font-weight: 700; }

.history { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); max-height: 360px; overflow-y: auto; }
.history li { display: grid; grid-template-columns: 3.5em 1fr auto; gap: 8px; padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.history li.muted { display: block; }
.history li:last-child { border-bottom: 0; }
.history__time { color: var(--ink-soft); }
.history__result { font-weight: 700; }
.history__item--ok .history__result { color: var(--ok); }
.history__item--already .history__result { color: var(--warn); }
.history__item--cancelled .history__result, .history__item--notfound .history__result, .history__item--error .history__result { color: var(--error); }

.login-panel { max-width: 440px; margin: 24px auto 0; }

/* ===== タブレット・スマホ ===== */
@media (max-width: 960px) {
  .hero__inner, .about, .program, .access, .checkin, .detail-grid { grid-template-columns: 1fr; }
  .hero__inner { gap: 32px; }
  .hall-sign { left: 12px; }
  .about, .access { gap: 28px; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .figures__item:nth-child(3) { border-left: 0; }
}
@media (max-width: 720px) {
  .site-nav { margin-left: 0; width: calc(100% + 40px); margin-right: -20px; overflow-x: auto; padding-right: 20px; }
  .site-nav .site-nav__cta { order: -1; margin: 0 8px 0 0; }
  .hero__inner { padding: 28px 20px 40px; }
  .hero__strip { justify-content: flex-start; font-size: 14px; }
  .zones { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .session { grid-template-columns: 1fr; gap: 4px; }
  .session__time span { display: inline; margin-left: 8px; }
  .floormap { padding: 12px; }
}
@media (max-width: 600px) {
  .main--narrow, .main--wide { padding: 20px 12px 48px; }
  .container { padding: 0 16px; }
  .panel { padding: 22px 16px; }
  .page-title { font-size: 21px; }
  .confirm-list > div { grid-template-columns: 1fr; gap: 2px; }
  .actions .btn, .hero__actions .btn { width: 100%; }
  .spec > div { grid-template-columns: 6em 1fr; }
  .filters .select, .filters__csv { width: 100%; max-width: none; margin-left: 0; }
  .figures__item { padding: 4px 12px; }
  .plate { padding: 12px 14px; gap: 12px; }
  .plate dd { font-size: 16px; }
  .hall-sign { bottom: 12px; right: 12px; padding: 8px 12px 8px 8px; gap: 8px; }
  .hall-sign__no { font-size: 15px; }
  .hall-sign__text { font-size: 13px; }
}
