/* ==========================================================================
   DANDAN 宿泊体験PWA / Phase 0 ワイヤーフレーム共通スタイル
   白黒（グレースケール）のみ。装飾・ブランドデザインはPhase 6で適用する。
   外部フォント・CDN一切なし（オフラインで開ける自己完結構成）。

   v1.2（仕様書§7.1-1）: 設置機は iPad 第7世代（10.2型）＝論理解像度 縦810×1080。
   iPad画面は「縦置き 810px幅」を第一に組む。管理画面のみ横幅を広く取る。
   ========================================================================== */

:root {
  --ink: #111;
  --muted: #666;
  --line: #111;
  --line-2: #bbb;
  --fill: #f2f2f2;
  --fill-2: #e6e6e6;
  --bg: #fff;
  --tap: 44px;            /* タップ領域の下限 */
  --shell: 810px;         /* iPad第7世代 縦置き 810×1080 想定 */
  --shell-wide: 1100px;   /* 管理画面（Macで見る想定）のみ */
  --shell-mobile: 480px;  /* スマホ想定（チェックインの事前入力） */
}

* { box-sizing: border-box; }

/* display を明示している要素（.toggles など）でも hidden 属性を効かせる */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic",
               "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--ink); }

/* ---------- 検証用バー（ワイヤー専用・本番には存在しない） ---------- */
.wirebar {
  border-bottom: 1px dashed var(--line-2);
  background: var(--fill);
  font-size: 13px;
  line-height: 1.5;
  padding: 8px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.wirebar__tag {
  border: 1px solid var(--line);
  padding: 2px 8px;
  font-weight: 700;
  letter-spacing: .08em;
}
.wirebar__state { color: var(--muted); }
.wirebar__state b { color: var(--ink); font-weight: 700; }
.wirebar__spacer { margin-left: auto; }
.wirebar a { text-decoration: underline; }

/* ---------- レイアウト ---------- */
.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px 100px;
}
.shell--mobile { max-width: var(--shell-mobile); }
.shell--narrow { max-width: 720px; }
.shell--wide   { max-width: var(--shell-wide); }

/* ヘッダーも追従（仕様書§7.3-3）。
   position:sticky にしているため、本文は自然にヘッダーの下をくぐって流れる。
   検証用バー（.wirebar）は従来どおり追従しない（申し送り§0-3）。 */
.apphead {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  background: var(--bg);
  border-bottom: 2px solid var(--line);
  padding: 14px 0 12px;
  margin-bottom: 24px;
}
.apphead__brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .18em;
}
.apphead__title { font-size: 15px; color: var(--muted); }
.apphead__meta { margin-left: auto; font-size: 14px; color: var(--muted); }

/* ---------- パンくずリスト（仕様書§7.4-3） ----------
   ヘッダーの直下に置く。ヘッダーだけを追従させ、パンくずは本文と一緒に流す
   （追従させると縦810pxの画面で常時2段ぶん占有してしまうため）。
   中身は assets/wire.js の CRUMBS から自動で差し込まれる。 */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 13px;
  line-height: 1.6;
  margin: -14px 0 20px;   /* .apphead の margin-bottom:24px を詰めて、見出しとの間を空けすぎない */
  padding: 8px 0 10px;
  border-bottom: 1px solid var(--line-2);
  color: var(--muted);
}
.crumbs a { color: var(--muted); text-decoration: underline; }
.crumbs a:active { color: var(--ink); }
.crumbs__sep { color: var(--line); }
.crumbs__cur { color: var(--ink); font-weight: 700; }

h1 { font-size: 26px; line-height: 1.4; margin: 0 0 8px; }
/* ヘッダーが追従するようになったので、#アンカーで飛んだ見出しが隠れないようにする（§7.3-3） */
[id] { scroll-margin-top: 84px; }
h2 {
  font-size: 18px;
  margin: 32px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-2);
  letter-spacing: .04em;
}
h3 { font-size: 16px; margin: 20px 0 8px; }
p { margin: 0 0 12px; }
.lead { font-size: 18px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  min-width: 44px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}
.btn:active { background: var(--fill-2); }
.btn--primary { background: var(--ink); color: #fff; font-weight: 700; }
.btn--lg { min-height: 56px; font-size: 17px; padding: 12px 28px; }
/* 未チェックインの方に向けた最重要ボタン（仕様書§7.1-3「大きめの文字」） */
.btn--xl {
  min-height: 96px;
  font-size: 28px;
  font-weight: 700;
  padding: 16px 32px;
  letter-spacing: .04em;
}
/* 公式LINE想定のボタン（仕様書§7.1-8。色はPhase 6で当てるためワイヤーでは白黒） */
.btn--line::before {
  content: "［LINE］";
  font-size: .8em;
  font-weight: 700;
  margin-right: 8px;
}
.btn--block { display: flex; width: 100%; }
.btn--ghost { border-style: dashed; color: var(--muted); }
.btn[disabled], .btn--off {
  color: var(--muted);
  border-color: var(--line-2);
  background: var(--fill);
  cursor: not-allowed;
}
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.btnrow--end { justify-content: flex-end; }

/* 検証用の小さな切替ボタン */
.toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
}
.toggle {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px dashed var(--line-2);
  background: var(--bg);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.toggle[aria-pressed="true"] {
  border-style: solid;
  border-color: var(--line);
  background: var(--ink);
  color: #fff;
}

/* ---------- カード / グリッド ---------- */
.grid { display: grid; gap: 12px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  border: 1px solid var(--line);
  padding: 16px;
  background: var(--bg);
}
.card--pad { padding: 20px; }

/* タイルボタン（HOME・ガイド一覧など） */
.tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
}
.tile:active { background: var(--fill-2); }
.tile__sub { font-size: 13px; color: var(--muted); }
.tile--off {
  border-style: dashed;
  border-color: var(--line-2);
  color: var(--muted);
  cursor: not-allowed;
}
.tile--hero {
  min-height: 120px;
  background: var(--ink);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  align-items: flex-start;
}
.tile--hero .tile__sub { color: #ddd; }
/* HOMEなどから #アンカー付きで飛んできた項目を目立たせる（見本ページ未作成の項目対策） */
.tile:target {
  border-style: solid;
  border-color: var(--ink);
  box-shadow: inset 0 0 0 3px var(--ink);
}

.sectionlabel {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--muted);
  margin: 24px 0 8px;
}

/* ---------- プレースホルダ（画像・動画枠） ---------- */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  background: repeating-linear-gradient(
    45deg, var(--fill), var(--fill) 8px, var(--bg) 8px, var(--bg) 16px
  );
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 8px;
}
.ph--img { height: 180px; }
.ph--video { height: 220px; }
.ph--wide { height: 120px; }

/* ---------- 注記（ワイヤー上の説明・本番には出さない） ---------- */
.note {
  border: 1px dashed var(--line-2);
  background: var(--fill);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  padding: 10px 12px;
  margin: 12px 0;
}
.note b { color: var(--ink); }

/* ---------- フォーム ---------- */
.field { margin: 0 0 16px; }
.field__label { display: block; font-size: 14px; margin-bottom: 4px; }
.field__label .req { font-size: 12px; color: var(--muted); margin-left: 6px; }
.input, select, textarea {
  width: 100%;
  min-height: var(--tap);
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.input--sm { width: 120px; }
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  font-size: 15px;
  cursor: pointer;
}
.check input { width: 22px; height: 22px; }
.radios { display: flex; flex-wrap: wrap; gap: 12px; }
.radios label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 0 14px;
  border: 1px solid var(--line-2);
  cursor: pointer;
  font-size: 15px;
}
.radios input { width: 20px; height: 20px; }

.guestblock { border: 1px solid var(--line); padding: 16px; margin: 0 0 16px; }
.guestblock__head {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-weight: 700;
}
.guestblock__head .btn { margin-left: auto; min-height: 36px; padding: 4px 12px; font-size: 13px; }

/* ---------- テーブル / リスト ---------- */
table.wt { width: 100%; border-collapse: collapse; font-size: 14px; }
table.wt th, table.wt td {
  border: 1px solid var(--line-2);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
table.wt th { background: var(--fill); font-weight: 700; }

.deflist { margin: 0; }
.deflist div {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--line-2);
  padding: 10px 0;
}
.deflist dt { width: 160px; flex: none; color: var(--muted); font-size: 14px; margin: 0; }
.deflist dd { margin: 0; flex: 1; }

.badge {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 1px 8px;
  font-size: 12px;
  line-height: 1.6;
}
.badge--off { border-color: var(--line-2); color: var(--muted); }

/* ---------- チャット / 音声 ---------- */
.chatlog {
  border: 1px solid var(--line);
  height: 360px;
  overflow-y: auto;
  padding: 16px;
  background: var(--bg);
}
.bubble { max-width: 78%; padding: 10px 14px; border: 1px solid var(--line); margin: 0 0 12px; }
.bubble--ai { background: var(--fill); }
.bubble--guest { background: var(--bg); margin-left: auto; }
.bubble__who { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.chatform { display: flex; gap: 8px; margin-top: 12px; }
.chatform .input { flex: 1; }

.voicepanel { border: 1px solid var(--line); padding: 24px; text-align: center; }
.voicebtn {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid var(--line);
  background: var(--bg);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.voicebtn[data-state="listening"] { background: var(--ink); color: #fff; border-style: dashed; }
.voicebtn[data-state="speaking"] { background: var(--fill-2); }
.voicestatus { min-height: 28px; margin-top: 12px; font-size: 15px; }
.voicetranscript { min-height: 24px; color: var(--muted); font-size: 14px; }

.actioncard {
  border: 2px solid var(--line);
  padding: 12px 16px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.actioncard .btn { margin-left: auto; }

/* ---------- 完了画面 ---------- */
.done { text-align: center; padding: 48px 16px; }
.done h1 { font-size: 28px; }

/* ---------- ご予約内容カード（仕様書§7.1-11） ---------- */
.optcard { border: 2px solid var(--line); padding: 16px 20px; margin: 0 0 20px; }
.optcard__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-weight: 700;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.optcard__head .small { font-weight: 400; }
.optlist { list-style: none; margin: 0; padding: 0; }
.optlist li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 8px 0;
  font-size: 16px;
}
.optlist li + li { border-top: 1px solid #eee; }
.optlist li > span:first-child { flex: 1 1 auto; }
.optlist .qty { flex: none; margin-left: auto; font-weight: 700; }
.optlist .optnote { flex: 1 0 100%; font-size: 13px; color: var(--muted); }

/* ---------- FAQ導線（仕様書§7.1-10） ---------- */
.faqlist { display: grid; gap: 8px; margin: 12px 0 0; }
.faqlist button {
  display: block;
  width: 100%;
  min-height: var(--tap);
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.faqlist button::before { content: "Q. "; color: var(--muted); }
.faqlist button:active { background: var(--fill-2); }

/* ---------- アンケート / QR（仕様書§7.1-7） ---------- */
.qrph {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border: 1px solid var(--line-2);
  background: repeating-linear-gradient(
    45deg, var(--fill), var(--fill) 8px, var(--bg) 8px, var(--bg) 16px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 8px;
}

/* ---------- 公式LINEのQR導線（設計書§10-2・館内iPad画面） ----------
   iPadは館の備品なので、リンクではなくQRを出して宿泊者のスマホで読み取ってもらう。 */
.lineqr__box {
  display: flex;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line-2);
  padding: 16px;
  background: var(--bg);
}
.lineqr__img {
  width: 220px;
  height: 220px;
  flex: 0 0 auto;
  border: 1px solid var(--line-2);
  background: #fff;
}
.lineqr__body { min-width: 0; }
.lineqr__body b { font-size: 18px; }
.lineqr__hint {
  font-size: 17px;
  font-weight: 700;
  margin: 6px 0 10px;
}
@media (max-width: 520px) {
  .lineqr__box { flex-direction: column; align-items: flex-start; }
  .lineqr__img { width: 180px; height: 180px; }
}

/* ---------- 連絡導線（仕様書§7.1-8 LINE主導線・電話は小さく併記） ---------- */
.telfallback {
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line-2);
  margin-top: 14px;
  padding-top: 10px;
}
.telfallback b { color: var(--ink); font-size: 15px; }

/* ---------- スポット一覧（local-list） ---------- */
.spotrow {
  display: flex;
  gap: 16px;
  border: 1px solid var(--line-2);
  padding: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.spotrow .ph { width: 120px; height: 90px; flex: none; }
.spotrow h3 { margin: 0 0 4px; }
.spotrow p { margin: 0 0 4px; }

/* ---------- 画面下部の固定ナビ（iPad想定・仕様書§7.2-4で正式採用） ---------- */
.bottomnav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  border-top: 1px solid var(--line);
  background: var(--bg);
  z-index: 20;
}
.bottomnav a,
.bottomnav button {
  flex: 1;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-right: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
.bottomnav a:last-child,
.bottomnav button:last-child { border-right: 0; }
.bottomnav button:active { background: var(--fill-2); }
/* 「予約内容」はメニューの中でも役割が違うので、太字で区別だけつけておく */
.bottomnav button[data-reservation] { font-weight: 700; }
/* いま開いている画面（§7.3-4の6項目のうちどこにいるか） */
.bottomnav a[aria-current="page"] {
  background: var(--fill);
  font-weight: 700;
  box-shadow: inset 0 3px 0 var(--ink);
}
/* 6項目が810px幅に収まるように、長い項目名は詰める */
.bottomnav a, .bottomnav button { padding: 0 4px; text-align: center; line-height: 1.3; }

/* ---------- ご予約内容シート（仕様書§7.2-4） ---------- */
.sheetov {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, .45);
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 56px;   /* 追従メニューの高さ分あける */
}
.sheetov.is-open { display: flex; }
.sheet {
  width: 100%;
  max-width: var(--shell);
  max-height: 78vh;
  overflow-y: auto;
  background: var(--bg);
  border: 2px solid var(--line);
  border-bottom: 0;
}
.sheet__head {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 14px 20px;
  font-size: 18px;
  position: sticky;
  top: 0;
  background: var(--bg);
}
.sheet__close {
  margin-left: auto;
  min-height: 40px;
  padding: 4px 16px;
  border: 1px solid var(--line);
  background: var(--bg);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.sheet__body { padding: 16px 20px 24px; }
.sheet__body h3 { margin: 20px 0 4px; }

/* ---------- アコーディオン（仕様書§7.2-6 スポット一覧 / ガイド内の折りたたみ） ---------- */
.acc { border: 1px solid var(--line-2); margin-bottom: 8px; background: var(--bg); }
.acc[open] { border-color: var(--line); }
.acc__sum {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  min-height: var(--tap);
  padding: 12px 16px 12px 34px;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.acc__sum::-webkit-details-marker { display: none; }
.acc__sum::before {
  content: "＋";
  position: absolute;
  left: 12px;
  top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.acc[open] > .acc__sum::before { content: "−"; }
.acc[open] > .acc__sum { border-bottom: 1px solid var(--line-2); }
.acc__sum:active { background: var(--fill-2); }
.acc__name { font-weight: 700; font-size: 16px; }
.acc__meta { margin-left: auto; font-size: 13px; color: var(--muted); }
.acc__body { padding: 12px 16px 16px; }
.acc__cap { font-size: 14px; margin: 0 0 10px; }
.acc__cols { display: flex; gap: 16px; align-items: flex-start; }
.acc__cols .ph { width: 160px; height: 110px; flex: none; }
.deflist--tight div { padding: 6px 0; }
.deflist--tight dt { width: 96px; font-size: 13px; }
.deflist--tight dd { font-size: 14px; }

/* ---------- スポット一覧の強化（仕様書§7.3-8）
   畳んだ状態＝小サムネ＋キャッチコピー（店名の上）＋店名・カテゴリ・距離
   展開＝説明・営業時間・定休日・電話・Googleマップリンク
   ---------------------------------------------------------------- */
.acc--spot > .acc__sum {
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 12px;
}
.acc__thumb {
  width: 60px;
  height: 60px;
  flex: none;
  font-size: 10px;
  line-height: 1.3;
  padding: 2px;
}
.acc__txt { flex: 1 1 auto; min-width: 0; }
/* キャッチコピーは注釈ではなく読ませたい一文なので、本文と同じ濃さで小さく太く置く */
.acc__catch {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 2px;
}
.acc__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.acc--spot .acc__meta { margin-left: 0; }
.maplink { margin-top: 10px; }
.maplink .btn::before { content: "［MAP］"; font-size: .8em; font-weight: 700; margin-right: 8px; }

/* ---------- タクシー案内（仕様書§7.3-7） ---------- */
.taxi { border: 2px solid var(--line); padding: 16px 20px; margin: 0 0 24px; }
.taxi h2 { margin-top: 0; }

/* アコーディオン化（仕様書§7.4-1）。一覧の上部で目立たせたいので枠線だけ太くする */
.acc--taxi { border-width: 2px; border-color: var(--line); margin-bottom: 24px; }
.acc--taxi > .acc__sum { padding-top: 14px; padding-bottom: 14px; }
.acc--taxi .acc__name { font-size: 17px; }
.acc--taxi .acc__body > p:first-child { margin-top: 0; }
.acc--taxi .acc__body h2 { margin-top: 0; }

/* ---------- 自動遷移のカウントダウン（仕様書§7.2-3） ---------- */
.countdown {
  border: 1px solid var(--line);
  background: var(--fill);
  padding: 12px 16px;
  margin: 20px 0 8px;
  font-size: 16px;
  text-align: center;
}
.countdown b { font-size: 22px; }

/* ---------- ガイドページの手順（POPコンテンツ投入・仕様書§7.2-8） ---------- */
.steps { counter-reset: step; margin: 0; padding: 0; list-style: none; }
.steps > li {
  counter-increment: step;
  border-left: 2px solid var(--line);
  padding: 0 0 20px 20px;
  position: relative;
}
.steps > li::before {
  content: "STEP " counter(step);
  display: inline-block;
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}
.steps > li:last-child { padding-bottom: 0; }
.steps h3 { margin: 0 0 8px; }
.callout {
  border: 2px solid var(--line);
  padding: 14px 18px;
  margin: 16px 0;
}
.callout h3 { margin-top: 0; }
.srcnote {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px dashed var(--line-2);
  margin-top: 28px;
  padding-top: 8px;
}

/* ---------- スマホ幅の調整 ---------- */
@media (max-width: 760px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .shell { padding: 0 16px 96px; }
  .deflist div { flex-direction: column; gap: 2px; }
  .deflist dt { width: auto; }
}
@media (max-width: 480px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .spotrow { flex-direction: column; }
  .spotrow .ph { width: 100%; }
  .acc__cols { flex-direction: column; }
  .acc__cols .ph { width: 100%; }
}

/* iPad横向き（1080×810）でも破綻しないことだけ担保する。最適化は縦向きのみ（仕様書§7.1-1） */
@media (min-width: 1000px) and (max-height: 900px) {
  .shell { padding-bottom: 120px; }
}

/* アンケートの11段階スケール（アンケート改修R1）。
   ブランド未適用の面でも横並びが崩れないだけの最小限。見た目の正は brand.css */
.scale { display: flex; align-items: center; gap: 10px; }
.scale__end { flex: 0 0 auto; font-size: 13px; white-space: nowrap; }
.scale__nums { display: flex; flex: 1 1 auto; gap: 4px; min-width: 0; }
.scale__num { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; max-height: 44px; border: 1px solid #ccc; border-radius: 8px; cursor: pointer; }
.scale__num input { position: absolute; opacity: 0; width: 0; height: 0; }
.scale__num.is-on { background: #2e2e2e; color: #fff; }
