:root {
  --yellow: #f5c800;
  --black: #000;
  --white: #fff;
  --ink-soft: #3a3200;
  --bar: 64px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar); }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-weight: 500;
  font-feature-settings: "palt";
  line-height: 1.7;
  overflow-x: clip;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }

/* 上の帯：きちんとした会社の顔。常に白 */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  height: var(--bar);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 40px);
  background: var(--white);
  border-bottom: 3px solid var(--yellow);
}
.bar-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 17px; }
.bar nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-weight: 700; font-size: 15px; }
.bar nav a { text-decoration: none; padding: 8px 0; }
.bar nav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.bar-mail { background: var(--black); color: var(--white); padding: 8px 16px !important; }
.bar-mail:hover { background: var(--yellow); color: var(--black); text-decoration: none !important; }

/* 入口：画面に止めてスクロール量で板が広がる */
.hero { height: 360vh; height: 360svh; background: var(--yellow); }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--black); }
#wall { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.plate {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding-top: var(--bar);
  background: var(--yellow);
  will-change: clip-path;
  pointer-events: none;
}
.plate-body { text-align: center; padding: 36px clamp(24px, 3vw, 44px) 40px; width: min(540px, 90vw); pointer-events: auto; }
.plate-mark { display: block; margin: 0 auto 12px; }
.plate h1 { margin: 0; font-size: clamp(29px, 3.5vw, 46px); font-weight: 900; line-height: 1.25; letter-spacing: 0; white-space: nowrap; }
.plate-what { margin: 10px 0 0; font-size: clamp(18px, 1.7vw, 22px); font-weight: 900; }
.plate-sub { margin: 6px 0 0; font-size: 15px; font-weight: 700; line-height: 1.6; }
.plate-facts { list-style: none; display: flex; justify-content: center; gap: 0 18px; flex-wrap: wrap; margin: 16px 0 22px; padding: 0; font-size: 14px; font-weight: 700; }
.plate-facts b { font-size: 21px; font-weight: 900; margin: 0 1px; }
.btn { display: inline-block; background: var(--black); color: var(--white); padding: 13px 30px; font-weight: 900; font-size: 15px; text-decoration: none; transition: background .15s, color .15s; }
.btn:hover { background: var(--white); color: var(--black); }

/* 実績：黄色の面がそのまま続く。番組名そのものを絵にする */
.plate-next {
  position: absolute; left: clamp(16px, 5vw, 80px); right: clamp(16px, 5vw, 80px); top: 50%;
  margin: 0; transform: translateY(-40%);
  font-size: clamp(32px, 5.4vw, 80px); font-weight: 900; line-height: 1.25;
  opacity: 0; visibility: hidden;
}
br.sp { display: none; }
.works { background: var(--yellow); padding: 0 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.rows { display: grid; gap: clamp(6px, .9vw, 12px); }
.row { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; gap: clamp(28px, 4vw, 64px); will-change: transform; }
.row li { font-size: clamp(30px, 5.6vw, 84px); font-weight: 900; line-height: 1.2; white-space: nowrap; display: flex; align-items: baseline; gap: .22em; }
.row small { font-size: clamp(11px, 1vw, 15px); font-weight: 700; color: var(--ink-soft); }
.row-m { gap: clamp(18px, 2.4vw, 36px); }
.row-m li { font-size: clamp(17px, 2.5vw, 36px); line-height: 1.25; }
.row-m small { font-size: clamp(10px, .8vw, 12px); }
.row-s { gap: clamp(12px, 1.4vw, 22px); }
.row-s li { font-size: clamp(11px, 1.1vw, 16px); font-weight: 700; line-height: 1.35; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* 数字：作品名の流れと同じ調子で続ける */
.works { padding-bottom: clamp(24px, 3vw, 44px); }
.counts { background: var(--yellow); padding: 0 clamp(16px, 5vw, 80px) clamp(56px, 7vw, 104px); }
.counts ul { list-style: none; margin: 0 0 clamp(28px, 3vw, 44px); padding: 0; }
.counts li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .35em; padding: 8px 0; border-top: 3px solid var(--black); }
.counts li:last-child { border-bottom: 3px solid var(--black); }
.counts b { font-size: clamp(38px, 6.6vw, 100px); font-weight: 900; line-height: 1.15; }
.counts span { font-size: clamp(15px, 1.7vw, 24px); font-weight: 900; }
button.btn { border: 0; cursor: pointer; font-family: inherit; }

/* 国際大会：年と大会の表 */
.scale { background: var(--white); padding: clamp(56px, 7vw, 104px) clamp(16px, 5vw, 80px); }
.scale h2 { margin: 0 0 8px; font-size: clamp(32px, 4.4vw, 64px); font-weight: 900; line-height: 1.2; }
.scale > p { margin: 0 0 clamp(24px, 3vw, 40px); font-size: 16px; font-weight: 700; }
.scale-scroll { overflow-x: auto; margin: 0 calc(clamp(16px, 5vw, 80px) * -1); padding: 0 clamp(16px, 5vw, 80px); }
.scale-table { width: 100%; min-width: 1040px; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.scale-table th { font-weight: 900; }
.scale-table thead th { padding: 0 0 8px; font-size: 12px; text-align: center; }
.scale-table thead th:first-child { width: 172px; }
.scale-table tbody tr { border-top: 1px solid var(--black); }
.scale-table tbody tr:last-child { border-bottom: 1px solid var(--black); }
.scale-table tbody th { position: sticky; left: 0; z-index: 1; padding: 10px 12px 10px 0; background: var(--white); font-size: 15px; line-height: 1.35; text-align: left; }
.scale-table tbody th small { display: block; margin-top: 2px; font-size: 12px; font-weight: 700; }
.scale-table td { height: 124px; padding: 2px; }
.scale-table td.on span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--yellow); font-weight: 900; line-height: 1.1; writing-mode: vertical-rl; }

/* 官公庁・自治体の仕事 */
.public { background: var(--white); padding: 0 clamp(16px, 5vw, 80px) clamp(56px, 7vw, 104px); }
.public h2 { margin: 0 0 clamp(20px, 2.4vw, 32px); font-size: clamp(25px, 3vw, 44px); font-weight: 900; line-height: 1.25; }
.public-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.public-table th { padding: 0 16px 8px 0; font-size: 13px; font-weight: 900; text-align: left; }
.public-table td { padding: 11px 16px 11px 0; border-top: 1px solid var(--black); line-height: 1.5; vertical-align: top; }
.public-table tr:last-child td { border-bottom: 1px solid var(--black); }
.public-table td:first-child { white-space: nowrap; font-weight: 900; }
.public-table td:nth-child(3) { font-weight: 700; }

/* 代表作：絵を主役に、大きさを変えて並べる */
.picks { background: var(--black); color: var(--white); padding: clamp(56px, 7vw, 104px) clamp(16px, 5vw, 80px); }
.picks h2, .people h2, .company h2, .contact h2 { margin: 0 0 clamp(28px, 3.4vw, 52px); font-size: clamp(32px, 4.4vw, 64px); font-weight: 900; line-height: 1.2; }
.picks h2 { color: var(--yellow); }
.pick-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 4.4vw, 68px) clamp(16px, 2vw, 32px); align-items: start; }
.pick { min-width: 0; }
.w-a { grid-column: span 7; } .w-b { grid-column: span 5; }
.w-c { grid-column: span 5; } .w-d { grid-column: span 7; }
.w-f { grid-column: span 4; } .w-g { grid-column: span 8; }
.w-h { grid-column: span 12; }
.pick-pic { aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.pick-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.w-f .pick-pic { aspect-ratio: 1; }
.w-h .pick-pic { aspect-ratio: 21 / 9; }
.pick-plain { height: 100%; display: flex; align-items: center; justify-content: center; padding: 0 8%; background: var(--yellow); color: var(--black); font-size: clamp(22px, 2.3vw, 34px); font-weight: 900; line-height: 1.3; text-align: center; }
.pick h3 { margin: 16px 0 4px; font-size: clamp(21px, 2vw, 30px); font-weight: 900; line-height: 1.35; }
.pick-meta { margin: 0; color: var(--yellow); font-size: 14px; font-weight: 700; }
.pick-role { margin: 8px 0 0; font-size: 14px; font-weight: 700; }
.pick-text { margin: 8px 0 0; max-width: 40em; font-size: 15px; }
.pick-link { margin: 10px 0 0; font-size: 14px; font-weight: 700; }
.pick-link a { text-underline-offset: 4px; }
.pick a:focus-visible { outline-color: var(--yellow); }

/* 担当者 */
.people { background: var(--white); padding: clamp(56px, 7vw, 104px) clamp(16px, 5vw, 80px); }
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); max-width: 1180px; }
.person { display: grid; grid-template-columns: clamp(104px, 11vw, 156px) 1fr; gap: clamp(16px, 2vw, 28px); align-items: start; }
.person img { display: block; width: 100%; height: auto; border-radius: 50%; }
.person-role { margin: 0; font-size: 14px; font-weight: 700; }
.person h3 { margin: 2px 0 10px; font-size: clamp(23px, 2.2vw, 30px); font-weight: 900; line-height: 1.3; }
.person div > p:not(.person-role) { margin: 0; font-size: 15px; }

.head-person { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); padding-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--black); }
.head-person h3 { margin: 2px 0 10px; font-size: clamp(23px, 2.2vw, 30px); font-weight: 900; line-height: 1.3; }
.head-person > p:last-child { margin: 0; font-size: 15px; }
.career { margin: 14px 0 0; font-size: 14px; }
.career div { display: grid; grid-template-columns: 3.2em 1fr; padding: 3px 0; }
.career dt { font-weight: 900; }
.career dd { margin: 0; }
.pick-videos { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; font-weight: 700; }
.pick-videos li { padding: 2px 0; }
.pick-videos a { text-underline-offset: 4px; }

/* 会社概要：遊びを入れない表 */
.company { background: var(--white); padding: 0 clamp(16px, 5vw, 80px) clamp(64px, 8vw, 112px); }
.company dl { margin: 0; max-width: 1180px; }
.company dl > div { display: grid; grid-template-columns: 15em 1fr; gap: 6px 24px; padding: 18px 0; border-top: 1px solid var(--black); }
.company dl > div:last-child { border-bottom: 1px solid var(--black); }
.company dt { font-weight: 900; }
.company dd { margin: 0; }
.company dd p { margin: 0; }
.company .co-cat { font-weight: 900; margin-top: 12px; }
.company .co-cat:first-child { margin-top: 0; }

/* お問い合わせ */
.contact { background: var(--yellow); padding: clamp(56px, 7vw, 104px) clamp(16px, 5vw, 80px); }
.contact h2 { margin-bottom: 12px; }
.contact p { margin: 0 0 6px; max-width: 46em; font-size: 16px; font-weight: 700; }
.contact-mail { font-size: clamp(20px, 2vw, 26px); font-weight: 900; text-underline-offset: 5px; }
.contact-ways { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 28px; }
.contact-tel { font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; text-decoration: none; }
.foot { display: flex; align-items: center; gap: 12px; padding: 22px clamp(16px, 5vw, 80px); background: var(--white); font-size: 14px; font-weight: 700; }
.foot p { margin: 0; }
.foot-c { margin-left: auto !important; font-weight: 500; }

/* 全実績：全画面で、年ごとに作品名が続く */
.list-open { overflow: hidden; }
.all { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--black); color: var(--white); overflow: hidden; }
.all[open] { display: flex; flex-direction: column; }
.all::backdrop { background: var(--black); }
.all-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 20px; padding: clamp(14px, 2vw, 24px) clamp(16px, 5vw, 80px); background: var(--yellow); color: var(--black); }
.all-head h2 { margin: 0; font-size: clamp(24px, 2.6vw, 36px); font-weight: 900; line-height: 1.2; }
.all-shown { margin: 0; font-size: 17px; font-weight: 900; }
.all-close { padding: 8px 18px; border: 0; background: var(--black); color: var(--white); font: inherit; font-weight: 900; cursor: pointer; }
.all-search { grid-column: 1 / -1; }
.all-search input { width: 100%; max-width: 520px; padding: 10px 12px; border: 2px solid var(--black); border-radius: 0; background: var(--white); color: var(--black); font: inherit; font-size: 16px; }
.chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 4px 12px; border: 2px solid var(--black); background: transparent; color: var(--black); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--black); color: var(--white); }
.all button:focus-visible, .all input:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.all-body { flex: 1; overflow-y: auto; padding: clamp(20px, 3vw, 44px) clamp(16px, 5vw, 80px) 64px; }
.roll-year { display: grid; grid-template-columns: clamp(64px, 9vw, 150px) 1fr; gap: 0 clamp(12px, 2vw, 32px); padding: 16px 0; border-top: 1px solid #555; }
.roll-year[hidden], .roll-year li[hidden] { display: none; }
.roll-year h3 { margin: 0; color: var(--yellow); font-size: clamp(22px, 3vw, 44px); font-weight: 900; line-height: 1.1; }
.roll-year ul { list-style: none; display: flex; flex-wrap: wrap; gap: 3px 22px; margin: 0; padding: 0; font-size: clamp(13px, 1.05vw, 15px); line-height: 1.55; }

@media (max-width: 640px) {
  :root { --bar: 56px; }
  .bar-logo span { font-size: 15px; }
  .bar nav { font-size: 14px; }
  .nav-people { display: none; }
  .bar-mail { padding: 6px 12px !important; }
  .plate-body { padding: 26px 18px 28px; }
  .plate-mark { width: 64px; height: auto; }
  .plate-facts { font-size: 13px; gap: 0 12px; margin: 12px 0 18px; }
  .plate-facts b { font-size: 18px; }
  .pick { grid-column: span 12; }
  .w-h .pick-pic { aspect-ratio: 16 / 9; }
  .w-f .pick-pic { aspect-ratio: 16 / 9; }
  .w-f .pick-pic img { object-fit: contain; }
  .people-grid { grid-template-columns: 1fr; }
  .public-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .public-table, .public-table tbody, .public-table tr, .public-table td { display: block; }
  .public-table tr { padding: 10px 0; border-top: 1px solid var(--black); }
  .public-table tr:last-child { border-bottom: 1px solid var(--black); }
  .public-table td, .public-table tr:last-child td { padding: 1px 0; border: 0; white-space: normal; }
  .person { grid-template-columns: 88px 1fr; }
  .scale-table { min-width: 960px; }
  .scale > p::after { content: "（表は横に動かせます）"; }
  .scale-table thead th:first-child { width: 124px; }
  .scale-table tbody th { font-size: 13px; }
  .scale-table tbody th small { font-size: 11px; }
  .roll-year { grid-template-columns: 1fr; gap: 6px; }
  .company dl > div { grid-template-columns: 1fr; }
  br.sp { display: inline; }
}

/* WebGL が使えない・動きを減らす設定のとき */
.static .hero { height: 100vh; height: 100svh; }
.static .plate { clip-path: inset(calc(50% - 230px) calc(50% - min(270px, 45vw))); }
.static .plate-next { display: none; }
.static .hero-stage { background: #000 url(img/wall_atlas.jpg) center / cover; }
.static #wall { display: none; }
.static .row { flex-wrap: wrap; width: auto; padding: 0 clamp(16px, 5vw, 80px); }
.static .row li { white-space: normal; }
@media (max-width: 359px) { .bar-logo span { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ===== 1本の番組として進む（site_v5） ===== */
/* 順番を入れ替えたので、各コーナーは上の余白を自分で持つ */
.public { padding-top: clamp(56px, 7vw, 104px); }
.company { padding-top: clamp(56px, 7vw, 104px); }

/* アイキャッチ：コーナーの頭で、黒い帯が横切って題名を出す */
.eyecatch { height: 190vh; height: 190svh; background: var(--yellow); }
.ec-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-content: center; justify-items: center; padding: var(--bar) 16px 0; }
.ec-band { position: absolute; inset: 0; background: var(--black); transform: translateX(-100%); will-change: transform; }
.ec-no, .ec-title, .ec-note { position: relative; margin: 0; text-align: center; }
.ec-no { color: var(--yellow); font-size: clamp(15px, 1.5vw, 20px); font-weight: 900; opacity: 0; }
.ec-title { color: var(--yellow); font-size: clamp(36px, min(13vw, calc(84vw / var(--n, 3))), 200px); font-weight: 900; line-height: 1.1; white-space: nowrap; overflow: hidden; padding: .04em 0; }
.ec-title span { display: inline-block; opacity: 0; transform: translateY(60%); will-change: transform, opacity; }
.ec-note { color: var(--white); font-size: clamp(15px, 1.6vw, 22px); font-weight: 700; opacity: 0; }

/* 代表作：絵の左下に名前スーパー */
.pick-pic { position: relative; }
.pick-telop { position: absolute; left: 0; bottom: clamp(10px, 1.4vw, 18px); display: flex; flex-direction: column; align-items: flex-start; max-width: 92%; }
.tl-main { background: var(--black); color: var(--white); padding: .18em .6em .22em; font-size: clamp(17px, 1.9vw, 28px); font-weight: 900; line-height: 1.3; border-left: 6px solid var(--yellow); }
.tl-sub { background: var(--yellow); color: var(--black); padding: .2em .8em; font-size: clamp(11px, .95vw, 14px); font-weight: 900; line-height: 1.4; margin-left: 6px; }
.has-telop h3, .has-telop .pick-meta { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.has-telop .pick-role { margin-top: 12px; }

/* 主要取引先：番組の提供画面のように、黒地の真ん中にそろえる */
.sponsor { background: var(--black); color: var(--white); padding: clamp(64px, 9vw, 140px) clamp(16px, 5vw, 80px); }
.sponsor-screen { max-width: 980px; margin: 0 auto; aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border: 2px solid var(--yellow); padding: clamp(24px, 4vw, 56px); }
.sponsor h2 { margin: 0 0 clamp(16px, 2vw, 28px); font-size: clamp(15px, 1.5vw, 20px); font-weight: 900; color: var(--yellow); }
.sponsor h3 { margin: clamp(12px, 1.6vw, 22px) 0 6px; font-size: 13px; font-weight: 700; color: var(--yellow); }
.sponsor ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 1.2em; margin: 0; padding: 0; font-size: clamp(15px, 1.7vw, 23px); font-weight: 900; line-height: 1.5; }
.sponsor-note { margin: clamp(14px, 1.8vw, 24px) 0 0; font-size: 13px; font-weight: 700; }

/* エンドロール：全実績が下から流れる */
.endroll { height: 620vh; height: 620svh; background: var(--black); color: var(--white); }
.endroll-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: 1fr auto; padding-top: var(--bar); }
.endroll-mask { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.endroll-track { position: absolute; left: 0; right: 0; top: 0; padding: 0 clamp(16px, 8vw, 160px); text-align: center; will-change: transform; }
.er-year { margin: 0 auto 44px; max-width: 1100px; }
.er-y { margin: 0 0 10px; color: var(--yellow); font-size: clamp(22px, 2.6vw, 38px); font-weight: 900; }
.er-year ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 1.6em; margin: 0; padding: 0; font-size: clamp(12px, 1vw, 15px); line-height: 1.7; }
.endroll-ui { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 28px; padding: 18px 16px 64px; }
.endroll-count { margin: 0; font-size: 16px; font-weight: 900; }
.endroll-count b { color: var(--yellow); font-size: clamp(30px, 3.4vw, 48px); margin-right: 4px; }
.endroll .btn { background: var(--yellow); color: var(--black); }
.endroll .btn:hover { background: var(--white); }
.endroll .btn:focus-visible { outline-color: var(--yellow); }

/* 進行バー：画面の下に、タイムコードといまのコーナー */
.runbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; height: 40px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 0 clamp(12px, 3vw, 40px); background: var(--black); color: var(--white); font-size: 13px; font-weight: 900; }
.runbar p { margin: 0; white-space: nowrap; }
.run-now { min-width: 7.5em; color: var(--yellow); }
.run-track { position: relative; height: 18px; cursor: pointer; }
.run-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #555; }
.run-track b { position: absolute; top: 3px; width: 2px; height: 12px; background: var(--white); }
.run-head { position: absolute; top: 0; width: 4px; height: 18px; margin-left: -2px; background: var(--yellow); }
.run-tc { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.foot { padding-bottom: 62px; }

/* 動きを減らす設定：アイキャッチは帯の絵だけ、エンドロールは中を自分で送る */
.calm .eyecatch { height: auto; }
.calm .ec-stage { position: static; height: 46vh; }
.calm .ec-band { transform: none; }
.calm .ec-title span, .calm .ec-no, .calm .ec-note { opacity: 1; transform: none; }
.calm .endroll { height: auto; }
.calm .endroll-stage { position: static; height: auto; }
.calm .endroll-mask { height: 60vh; overflow-y: auto; -webkit-mask-image: none; mask-image: none; }
.calm .endroll-track { position: static; padding-top: 24px; }
.calm .runbar { display: none; }

@media (max-width: 640px) {
  .eyecatch { height: 170vh; height: 170svh; }
  .runbar { gap: 10px; font-size: 12px; height: 36px; }
  .run-now { min-width: 6em; }
  .tl-main { border-left-width: 4px; }
  .sponsor-screen { aspect-ratio: auto; }
  .endroll { height: 520vh; height: 520svh; }
  .er-year ul { gap: 1px 1.1em; }
}

/* 国際大会：開催国の小さな国旗 */
.scale-table td.on span { gap: 6px; }
.scale-table .flag { display: block; width: 18px; height: auto; aspect-ratio: 4 / 3; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.scale-table td { height: 150px; }
.scale-table td.on span { white-space: nowrap; }
