/* 静的ページ（都道府県・映画館・スクリーン・ランキング。scripts/build_site.mjs が書き出す）の組み方。
   tokens.css・base.css・components.css・footer.css のあとに読む。部品（.btn・.fmt/.sticker・.ticket・.seat-badge・
   .section-title・.list-rows）とフッターはアプリと同じものを使い、ここにはページの並べ方と表だけを書く。
   静的ページは JS を使わない（フッターの都道府県も CSS だけで PC は開いたまま、スマホはたたむ） */

html,
body {
  height: auto;
}

body.static-page {
  min-height: 100vh;
  background: var(--canvas);
}

body.static-page a:focus-visible {
  border-radius: var(--radius-sm);
}

/* ---- ヘッダー（ロゴと名前・探す・ランキング・右端にトップへ戻る）。アプリのヘッダー（css/layout.css）と同じ高さと並び
   （スマホ 56px・PC 64px）。上には貼りつけない（表の見出し .data-table thead th が画面の上に貼りつくため）。
   静的ページの骨組みは :root で端末の上の切り欠きを空けないので、ここで空ける */
.site-head {
  position: relative;
  z-index: 2;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}

.site-head-in {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 880px;
  height: 56px;
  margin: 0 auto;
  padding: 0 var(--gutter-right) 0 var(--gutter-left);
}

.site-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.site-brand img {
  flex: none;
  width: 32px;
  height: 32px;
  transition: transform 0.2s var(--ease-pop);
}

.site-brand:hover img {
  transform: scale(1.06);
}

/* ロゴの文字（アプリの .wordmark と同じ） */
.site-brand b {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: calc(var(--head-tracking) - 0.025em);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  color: var(--sub);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.site-nav a:hover {
  color: var(--ink);
}

/* スマホでは「探す」はトップへ戻るボタンと同じ行き先なので出さない */
.site-nav-find {
  display: none;
}

/* トップへ戻る（スマホはアイコンだけ、PC は「トップ」の文字も） */
.site-home {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s;
}

.site-home svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-home span {
  display: none;
}

@media (hover: hover) {
  .site-home:hover {
    background: var(--tint);
  }
}

@media (min-width: 960px) {
  .site-head-in {
    gap: 10px;
    height: 64px;
  }

  .site-brand img {
    width: 34px;
    height: 34px;
  }

  .site-brand b {
    font-size: 19px;
  }

  .site-nav-find {
    display: inline;
  }

  .site-home {
    display: inline-flex;
    gap: 6px;
    width: auto;
    margin-right: 0;
    margin-left: 6px;
    padding: 0 16px 0 13px;
    box-shadow: inset 0 0 0 1px var(--line-strong);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
  }

  .site-home span {
    display: inline;
  }
}

/* PC でマウスのときだけ、トップへ戻るボタンを赤く */
@media (min-width: 960px) and (hover: hover) {
  .site-home:hover {
    background: var(--red-soft);
    box-shadow: none;
    color: var(--red-ink);
  }
}

/* ---- 本文の幅（ヘッダー・フッターの中身も同じ幅にそろえる） */
.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 14px var(--gutter-right) 64px var(--gutter-left);
}

.page section {
  margin-top: 44px;
}

.page .section-title {
  margin-bottom: 10px;
  font-size: 20px;
}

.section-title small {
  margin-left: 2px;
  color: var(--sub);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* パンくず */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  color: var(--sub);
  font-size: 12.5px;
  line-height: 1.6;
  list-style: none;
}

.crumbs li + li::before {
  content: '›';
  margin: 0 7px;
  color: var(--sub);
}

.crumbs a {
  color: var(--sub);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--red-ink);
  text-decoration: underline;
}

/* ---- ページの題: 小さな見出し・題（後ろは小さく）・ステッカー・説明 */
.page-head {
  margin-top: 22px;
}

.page-kicker {
  margin: 0 0 8px;
  color: var(--red-ink);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: var(--head-tracking);
}

.page-title {
  font-size: clamp(26px, 6.6vw, 36px);
  line-height: 1.3;
}

.page-title span {
  display: block;
  margin-top: 6px;
  color: var(--sub);
  font-size: 0.56em;
  font-weight: 500;
  line-height: 1.4;
}

.page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
  margin: 16px 0 0;
  padding-left: 2px;
}

.page-lead {
  max-width: 40em;
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.75;
}

/* 3D の画面を開く赤いボタン（映画館・都道府県） */
.page-cta {
  margin: 22px 0 0;
}

.btn.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  font-size: 16px;
  text-decoration: none;
}

.btn.cta-btn:hover,
.cta-ticket:hover .cta-go {
  box-shadow: var(--shadow-accent-strong);
}

/* ---- 3D を開く半券（スクリーンのページの主役。左に座席の並び、ミシン目、右に案内と赤いボタン） */
.ticket.cta-ticket {
  --notch: 11px;
  display: flex;
  width: 100%;
  max-width: 640px;
  margin-top: 24px;
  border-radius: var(--radius-xl);
  background: var(--stage);
  color: #fff;
  text-decoration: none;
  -webkit-mask: none;
  mask: none;
  transition: transform 0.22s var(--ease-pop);
}

.cta-ticket:hover {
  transform: translateY(-2px);
}

.cta-ticket:active {
  transform: translateY(1px) scale(0.99);
}

.cta-ticket .ticket-tag {
  flex: 0 0 36%;
  max-width: 220px;
  padding: 14px 12px 14px 20px;
  border-right-color: rgba(255, 255, 255, 0.16);
}

.cta-ticket-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.cta-ticket .ticket-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 16px 22px 18px 16px;
  white-space: normal;
}

.cta-ticket-title {
  font-size: 18px;
  line-height: 1.4;
  word-break: auto-phrase;
}

.cta-ticket-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.cta-ticket-meta b {
  font-weight: 700;
}

.cta-ticket .seat-badge {
  margin-left: 2px;
  background: var(--paper);
}

.btn.cta-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  margin-top: 2px;
  padding: 0 18px;
  font-size: 15px;
}

/* 座席の並びの図（見やすい列は濃く、おすすめの席は赤） */
.seat-map-screen {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-width: 3;
}

.seat-map-seats {
  stroke: var(--ink);
  opacity: 0.28;
}

.seat-map-good {
  stroke: var(--ink);
}

.seat-map-best {
  fill: var(--red);
  stroke: var(--paper);
  stroke-width: 1.5;
}

/* 3D を開く暗い面の上では、座席の図を明るい線で描く（トップの座席表と同じ見え方） */
.cta-ticket .seat-map-screen,
.cta-ticket .seat-map-seats {
  stroke: #fff;
}

.cta-ticket .seat-map-good {
  stroke: var(--yellow);
}

.cta-ticket .seat-map-best {
  stroke: var(--stage);
}

.cta-ticket .ticket-main {
  color: rgba(255, 255, 255, 0.78);
}

.cta-ticket .cta-ticket-title {
  color: #fff;
}

.cta-ticket .seat-badge,
.cta-ticket .seat-badge * {
  color: var(--red-ink);
}

@media (min-width: 720px) {
  .cta-ticket .ticket-main {
    padding: 22px 28px 22px 22px;
  }

  .cta-ticket-title {
    font-size: 21px;
  }
}

/* ---- 要点（罫で区切った行。PC は2列） */
.facts {
  display: grid;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  flex: none;
  color: var(--sub);
  font-size: 13.5px;
}

.facts dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}

.facts > .is-long {
  flex-direction: column;
  gap: 2px;
}

.facts > .is-long dd {
  text-align: left;
}

.facts .num {
  font-size: 16.5px;
}

@media (min-width: 720px) {
  .facts {
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
  }
}

/* ---- 表（見出しの行は上に残る。見やすい列は淡い黄色） */
.data-table {
  width: 100%;
  margin-top: 12px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 1.5;
}

.data-table th,
.data-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.data-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding-top: 9px;
  padding-bottom: 9px;
  border-bottom: 0;
  background: var(--paper);
  box-shadow: inset 0 -2px 0 var(--ink);
  color: var(--sub);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  vertical-align: bottom;
}

.data-table tbody th {
  font-weight: 500;
}

.data-table .n {
  text-align: right;
}

.data-table td.n {
  white-space: nowrap;
}

.data-table td.n {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.data-table small {
  display: block;
  color: var(--sub);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.data-table a {
  color: var(--ink);
  text-decoration: none;
}

.data-table a:hover {
  color: var(--red-ink);
  text-decoration: underline;
}

.data-table tr.is-good > * {
  background: var(--yellow-soft);
}

.data-table tr.is-good > :first-child {
  box-shadow: inset 4px 0 0 var(--yellow);
}

.data-table .is-warn {
  color: var(--warn);
}

/* 列ごとの表の「目安」（ちょうどいい・かなり近い など）は折り返さない */
.rows-table td:last-child {
  white-space: nowrap;
}

.data-table tbody tr:hover > * {
  background: var(--tint);
}

.data-table tbody tr.is-good:hover > * {
  background: var(--yellow-soft);
}

/* 列ごとの表: 列の名前は丸ゴシックで大きく */
.rows-table tbody th {
  font-family: var(--font-num);
  font-size: 16px;
}

/* スマホ: 表が画面の幅に収まるよう、余白と文字を少し詰める（横にスクロールさせない） */
@media (max-width: 719.98px) {
  .data-table th,
  .data-table td {
    padding-right: 6px;
    padding-left: 6px;
  }

  .data-table td:not(.n) {
    font-size: 13px;
  }

  .data-table td.n {
    font-size: 14px;
  }
}

.table-legend {
  margin: 0;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.8;
}

.legend-good {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  border-radius: 4px;
  background: var(--yellow-soft);
  box-shadow: inset 4px 0 0 var(--yellow);
  vertical-align: -2px;
}

.table-legend .seat-badge {
  font-size: 12.5px;
}

.page .note {
  margin-top: 12px;
}

/* 表の中の札（スクリーンの種類） */
.cell-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-top: 4px;
}

.data-table small .cell-tags {
  display: inline-flex;
  margin: 0 0 0 6px;
  vertical-align: 1px;
}

/* ランキング: 順位（1〜3位は色の丸） */
.rank-table .rank {
  width: 1%;
  padding-right: 4px;
  text-align: center;
}

.rank span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  color: var(--sub);
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 600;
}

.rank-table tbody tr:nth-child(1) .rank span {
  background: var(--red);
  color: var(--text-on-dark);
}

.rank-table tbody tr:nth-child(2) .rank span {
  background: var(--yellow);
  color: var(--ink);
}

.rank-table tbody tr:nth-child(3) .rank span {
  background: var(--sky);
  color: var(--ink);
}

.rank-table thead .n:first-child {
  text-align: center;
  white-space: nowrap;
}

/* ページの中の目次（ランキング） */
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.jump a {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--tint);
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
}

.jump a:hover {
  background: var(--red-soft);
  color: var(--red-ink);
}

.page section[id] {
  scroll-margin-top: 12px;
}

/* ---- リンクの行（映画館・ほかのスクリーン）: 名前と札、下に補足、右に大きな数字 */
.link-rows a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 10px;
  align-items: center;
  gap: 12px;
  padding: 13px 6px;
  border-radius: var(--radius-md);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s;
}

.link-rows a::after {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--sub);
  border-right: 2px solid var(--sub);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease-pop);
}

.link-rows a:hover {
  background: var(--accent-tint);
}

.link-rows a:hover::after {
  border-color: var(--red-ink);
  transform: translateX(3px) rotate(45deg);
}

/* PC は2列に並べる（行の区切りは下の罫） */
@media (min-width: 720px) {
  .link-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
    border-top: 1px solid var(--line);
  }

  .link-rows > li,
  .link-rows > li + li {
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }
}

.row-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  min-width: 0;
}

.row-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: var(--head-tracking);
  line-height: 1.45;
}

.link-rows a:hover .row-name {
  color: var(--red-ink);
}

.row-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 0;
}

.row-sub {
  flex-basis: 100%;
  color: var(--sub);
  font-size: 12.5px;
}

.row-right {
  color: var(--sub);
  font-size: 11.5px;
  text-align: right;
  white-space: nowrap;
}

.row-right b {
  display: block;
  color: var(--ink);
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: 0;
}

/* ---- よくある質問（Q の赤い丸と答え） */
.faq-item {
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--line);
}

.faq-item h3 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  text-wrap: pretty;
}

.faq-item h3::before {
  content: 'Q';
  display: grid;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: -1px;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: var(--text-on-dark);
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.faq-item p {
  margin: 8px 0 0 36px;
  color: var(--prose);
  font-size: 14.5px;
}

/* ---- フッター（footer.css）: 本文と同じ幅にそろえ、静的ページには言語の切り替えが無いので、その段を詰める */
.static-page .foot-inner {
  max-width: 880px;
  grid-template-areas:
    'brand'
    'links'
    'prefs'
    'notes';
}

@media (min-width: 960px) {
  .static-page .foot-inner {
    grid-template-areas:
      'brand links'
      'prefs prefs'
      'notes notes';
    grid-template-columns: minmax(0, 1fr) auto;
  }

  /* PC は都道府県を開いたまま見せる（JS を使わず、閉じた details の中身を出す） */
  .static-page .foot-prefs::details-content {
    display: block;
    content-visibility: visible;
  }
}

/* details の中身を CSS で出せないブラウザでは、PC でも「都道府県から探す」を押して開く */
@supports not selector(::details-content) {
  @media (min-width: 960px) {
    .static-page .foot-prefs summary {
      display: flex;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .static-page * {
    transition: none !important;
  }

  .cta-ticket:hover,
  .cta-ticket:active {
    transform: none;
  }
}

/* ---- 席からの見え方（前・おすすめ・後ろの席。先に作っておいた 3D の絵で、押すとその席でアプリを開く）
   スマホはおすすめを上に大きく、前と後ろを下に2枚。PC は前・おすすめ・後ろの順に3枚 */
.view-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 10px;
  margin-top: 22px;
}

.view-shot {
  display: block;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.view-shot--best {
  grid-column: 1 / -1;
  order: -1;
}

.view-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background: var(--stage);
  object-fit: cover;
}

.view-shot-cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  margin-top: 8px;
  line-height: 1.5;
}

.view-shot-kind {
  width: 100%;
  color: var(--sub);
  font-size: 12px;
}

.view-shot--best .view-shot-kind {
  color: var(--red-ink);
  font-weight: 700;
}

.view-shot-seat {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: var(--head-tracking);
}

.view-shot-nums {
  color: var(--sub);
  font-size: 12.5px;
  white-space: nowrap;
}

.view-shot:hover .view-shot-seat {
  color: var(--red-ink);
  text-decoration: underline;
}

@media (min-width: 720px) {
  .view-shots {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .view-shot--best {
    grid-column: auto;
    order: 0;
  }
}

/* 画像がまだ無いスクリーン: 3つの席を罫で区切った行で出す（半券の下） */
.view-shots.view-shots--text {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 640px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.view-shots--text .view-shot {
  grid-column: auto;
  order: 0;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
}

.view-shots--text .view-shot-cap {
  flex-wrap: nowrap;
  gap: 0 12px;
  margin-top: 0;
}

.view-shots--text .view-shot-kind {
  flex: none;
  width: 7em;
}

.view-shots--text .view-shot-nums {
  margin-left: auto;
}

.view-shots--text .view-shot-nums::after {
  content: '›';
  margin-left: 10px;
  color: var(--red-ink);
}

/* 種類の札の横に添える細かい名前（IMAXレーザー など） */
.page-tags-detail {
  align-self: center;
  color: var(--sub);
  font-size: 13px;
}

/* ---- おすすめの席と、点数の理由 */
.best-seat {
  margin: 0;
}

.best-seat a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red-ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.best-seat a:hover span:nth-child(2) {
  text-decoration: underline;
}

.score-reasons {
  margin: 12px 0 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.75;
  list-style: none;
}

.score-reasons li {
  position: relative;
  padding-left: 20px;
}

.score-reasons li::before {
  content: '';
  position: absolute;
  top: 0.68em;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
}

.score-reasons .is-warn::before {
  background: var(--warn);
}

.data-table td.score-cell {
  font-weight: 700;
}

/* ---- 映画館のページのスクリーン一覧: 罫で区切った行に、座席の並びの図・おすすめの席からの見え方・数字 */
.screen-list {
  margin: 12px 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.screen-item {
  position: relative;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.screen-item:hover {
  background: var(--tint);
}

.screen-item-media {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.screen-item-shot {
  display: block;
  order: -1;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xs);
  background: var(--stage);
}

.screen-item-map {
  display: block;
  padding: 4px 6px;
  border-radius: var(--radius-xs);
  background: var(--tint);
}

.screen-item:hover .screen-item-map {
  background: var(--paper);
}

.screen-item-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.screen-item-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}

.screen-item-name a {
  color: var(--ink);
  text-decoration: none;
}

/* 行のどこを押してもスクリーンのページへ */
.screen-item-name a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.screen-item:hover .screen-item-name a {
  color: var(--red-ink);
  text-decoration: underline;
}

.screen-item-name .cell-tags {
  margin-top: 0;
}

.screen-item-nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin: 10px 0 0;
}

.screen-item-nums div {
  min-width: 0;
}

.screen-item-nums dt {
  color: var(--sub);
  font-size: 11.5px;
  line-height: 1.5;
}

.screen-item-nums dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.screen-item-nums .num {
  font-size: 15px;
}

@media (min-width: 720px) {
  .screen-item {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
  }

  .screen-list.has-shots .screen-item {
    grid-template-columns: 336px minmax(0, 1fr);
  }

  /* 図は右にそろえる（画像の無い行は、画像の分を空ける） */
  .screen-item-media {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  .screen-item-shot {
    order: 0;
    width: 192px;
  }

  .screen-item-map {
    flex: none;
    width: 132px;
  }

  .screen-item-nums {
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    column-gap: 30px;
  }
}

/* 図の説明に添える点（濃い点＝見やすい列・赤い点＝おすすめの席） */
.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 5px 0 0;
  border-radius: 50%;
  background: var(--ink);
  vertical-align: 1px;
}

.legend-dot--best {
  margin-left: 4px;
  background: var(--red);
}
