/* BoatYELL v4 — standalone, scoped for the WordPress child theme. */
/* 応募デザインの画角は 16:9。場内LED（W2,940 × H1,905mm）は16:9ではないが、
   会場側で上部に帯（ロゴ・レース情報）を足して比率を合わせるため、デザイン素材・プレビュー・サムネイルは16:9のまま扱う（2026-10-22 方針確定）。 */
.by-page { margin: 0; background: #0a1038; }
.by-entry {
  --by-navy: #0a1038;
  --by-surface: #171f46;
  --by-surface-raised: #212b53;
  --by-pink: #ff2f7e;
  --by-aqua: #2dd4dc;
  --by-white: #ffffff;
  --by-muted: #b9c1da;
  --by-paper: #ffffff;
  --by-paper-soft: #f1f3f8;
  --by-ink: #111a3e;
  --by-ink-muted: #59617a;
  --by-line: #cfd4e1;
  --by-radius: 16px;
  --by-font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  /* 英字ラベル用。日本語が混ざったときに別書体へ落ちないよう、Syne のうしろに
     日本語スタックを続ける（Arial だけだと日本語がシステム任せになり、
     周囲と太さ・字面が揃わなくなる）。 */
  --by-font-en: "Syne", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --by-font-mono: "Consolas", monospace;
  /* 太さは 400 / 700 / 800 の3段階だけを使う。実在する太さ以外は指定しない。 */
  --by-w-body: 400;
  --by-w-bold: 700;
  --by-w-display: 800;
  font-family: var(--by-font-jp);
  /* 実在しない太さをブラウザに合成させない。webfontの読み込みに失敗した環境でも
     「偽の太字」で太さがバラつかず、素の太さで一貫して表示される。 */
  font-synthesis-weight: none;
  color: var(--by-white);
  background: var(--by-navy);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}
.by-entry *, .by-entry *::before, .by-entry *::after { box-sizing: border-box; }
.by-entry h1, .by-entry h2, .by-entry h3, .by-entry p, .by-entry figure { margin: 0; }
.by-entry h1, .by-entry h2, .by-entry h3 { font-family: var(--by-font-jp); font-weight: var(--by-w-bold); line-height: 1.3; letter-spacing: -.02em; }
.by-entry h2 { font-size: clamp(30px, 3.5vw, 48px); }
.by-entry h3 { font-size: 21px; }
.by-entry a { color: inherit; text-decoration: none; }
.by-entry button, .by-entry input, .by-entry select { font: inherit; }
.by-entry button { cursor: pointer; }
.by-entry img { display: block; max-width: 100%; }
.by-entry a, .by-entry button, .by-entry input, .by-entry select, .by-entry summary { -webkit-tap-highlight-color: transparent; }
.by-entry :focus-visible { outline: 3px solid var(--by-aqua); outline-offset: 5px; }
.by-entry .by-form-card :focus-visible { outline-color: #007f91; }
.by-entry section, .by-entry form { scroll-margin-top: 104px; }
.by-wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.by-skip { position: fixed; left: 24px; top: -100px; z-index: 100; padding: 12px 24px; border-radius: 50px; background: var(--by-white); color: var(--by-navy) !important; }
.by-skip:focus { top: 12px; }
.by-eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--by-font-en); font-size: 11px; line-height: 1.5; font-weight: var(--by-w-bold); letter-spacing: .16em; }
.by-dot { display: inline-block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--by-aqua); }
.by-btn { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 54px; padding: 14px 26px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: var(--by-w-bold); line-height: 1.5; transition: transform .2s, background .2s, box-shadow .2s; }
.by-btn span[aria-hidden] { font-size: 22px; line-height: 1; }
.by-btn:hover { transform: translateY(-2px); }
.by-entry .by-btn-primary { background: var(--by-pink); color: var(--by-navy); }
.by-btn-primary:hover { background: #ff5797; box-shadow: 0 8px 30px #ff2f7e26; }
.by-entry .by-btn-light { background: var(--by-white); color: var(--by-navy); }
.by-btn-ghost { border-color: #ffffff70; background: transparent; color: var(--by-white); }
.by-btn-ghost:hover { background: #ffffff0d; }
.by-btn-small { min-height: 44px; padding: 10px 22px; font-size: 13px; gap: 18px; }
.by-nav { position: sticky; top: 0; z-index: 20; background: #0a1038ed; backdrop-filter: blur(16px); }
.by-nav-inner { display: flex; align-items: center; gap: 42px; height: 88px; }
.by-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.by-brand img { width: 154px; height: 44px; object-fit: contain; }
/* ロゴ（SVG）は文字が濃紺なので、白い下地に載せる。ロゴの縦横比は約 4.9:1 */
.by-brand.by-brand-plate { padding: 8px 14px; background: var(--by-white); border-radius: 10px; }
.by-brand.by-brand-plate img { width: 154px; height: 31px; }
.by-nav-links { display: flex; gap: 30px; margin-left: auto; font-size: 12px; }
.by-nav-links a { padding-block: 12px; color: #dde2f0; }
.by-nav-links a:hover { color: var(--by-aqua); }
.by-nav .by-btn { flex-shrink: 0; }

/* An original CSS ribbon; imagery retains the supplied BoatYELL URLs. */
.by-hero { position: relative; isolation: isolate; overflow: hidden; padding: 66px 0 0; }
.by-hero-ribbon { position: absolute; z-index: -1; width: 1500px; height: 400px; right: -710px; top: 125px; transform: rotate(-27deg); background: linear-gradient(102deg, #ff2f7e00 3%, #ff2f7e90 23%, #ff2f7e 42%, #2dd4dc 82%, #2dd4dc00 100%); border-radius: 50%; filter: blur(4px); opacity: .88; }
.by-hero-ribbon::after { content: ""; position: absolute; inset: -90px -30px; border-radius: 50%; background: inherit; filter: blur(65px); opacity: .5; }
.by-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 28px; }
.by-hero-copy { position: relative; z-index: 2; }
.by-hero .by-eyebrow { color: var(--by-muted); }
/* グランプリのロゴを左寄せで上、その下に「ボートレース大村」を置く（2026-09-22 指示）。 */
.by-hero-event { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 26px !important; font-size: 13px; letter-spacing: .1em; }
.by-hero-event-name { display: block; }
/* 「グランプリ」の文字をグランプリのロゴに差し替えたもの。文字サイズに合わせて高さで指定し、
   幅は自動にして縦横比を保つ（altに「グランプリ」を入れているので読み上げ・SEO上の情報は落ちない）。 */
.by-gp-logo-inline { width: auto; height: 30px; object-fit: contain; }
.by-hero h1 { font-size: clamp(44px, 5.1vw, 74px); line-height: 1.28; font-weight: var(--by-w-display); margin: 18px -90px 22px 0; letter-spacing: -.045em; }
.by-text-accent { background: linear-gradient(100deg, #ff70ab 0%, #ffa0c7 27%, #2dd4dc 100%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.by-lead { color: #d4dbef; font-size: 15px; line-height: 1.95; }
.by-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.by-hero-caption { font-size: 11px; color: var(--by-muted); margin-top: 18px !important; }
.by-hero-caption span { margin-inline: 10px; }
.by-hero-visual { position: relative; padding-top: 72px; padding-left: 10px; }
.by-visual-topline, .by-visual-bottomline { display: flex; align-items: center; justify-content: space-between; }
.by-visual-topline { font: 10px var(--by-font-en); letter-spacing: .11em; margin: 0 4px 15px; color: #ffffffc9; }
.by-hero-frame { padding: 9px; background: #ffffff18; border: 1px solid #ffffff3b; border-radius: 20px; transform: rotate(-4deg); box-shadow: 0 30px 80px #060b2b60; }
.by-hero-frame .by-vision-screen { border-radius: 12px; }
.by-visual-bottomline { margin: 28px 8px 0; font-size: 14px; }
/* ヒーロー右下の装飾矢印とグランプリロゴは削除（ロゴは冒頭の「ボートレース大村」の行へ移動） */
.by-hero-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; margin-top: 68px; padding-block: 25px; border-top: 1px solid #ffffff20; }
.by-badge { display: flex; align-items: center; gap: 12px; font-size: 11px; color: #d3d9ed; }
.by-scroll-label { display: flex; gap: 32px; align-items: center; font: 10px var(--by-font-en); letter-spacing: .14em; }
.by-scroll-label span { font-size: 21px; }

.by-statement { position: relative; padding-block: 150px 140px; }
.by-statement > .by-eyebrow { color: var(--by-aqua); margin-bottom: 34px; }
.by-entry .by-statement-copy { font-size: clamp(42px, 6.3vw, 86px); line-height: 1.35; letter-spacing: -.04em; }
/* 1語ずつ「くすんだ色 → サイトのグラデーション（ピンク→アクア） → 白」と変化させる。
   グラデーションと単色の間は直接アニメーションできないので、文字をグラデーションで塗り
   （background-clip: text）、そのグラデーションの2色を @property で登録した
   カスタムプロパティにして色自体を補間する。 */
@property --by-word-c1 { syntax: "<color>"; inherits: false; initial-value: #7580a4; }
@property --by-word-c2 { syntax: "<color>"; inherits: false; initial-value: #7580a4; }

.by-reveal-word {
  --by-word-c1: #7580a4;
  --by-word-c2: #7580a4;
  background-image: linear-gradient(100deg, var(--by-word-c1) 0%, var(--by-word-c2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: text-shadow .65s;
}
.by-reveal-word.by-is-lit {
  text-shadow: 0 0 30px #2dd4dc0d;
  animation: by-word-lit 1.15s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes by-word-lit {
  0%   { --by-word-c1: #7580a4; --by-word-c2: #7580a4; }
  /* 中間でブランドカラーのグラデーションを最も強く見せる */
  45%  { --by-word-c1: #ff2f7e; --by-word-c2: #2dd4dc; }
  70%  { --by-word-c1: #ff9ec3; --by-word-c2: #a8f0f3; }
  100% { --by-word-c1: #ffffff; --by-word-c2: #ffffff; }
}
/* @property / background-clip:text が使えない環境では、従来どおり
   くすんだ色→白の単色変化にフォールバックする（文字が消えないことを優先）。 */
@supports not (background-clip: text) {
  .by-reveal-word { background-image: none; color: #7580a4; transition: color .65s, text-shadow .65s; }
  .by-reveal-word.by-is-lit { color: var(--by-white); animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .by-reveal-word.by-is-lit { animation-duration: .001ms; }
}
.by-statement-note { position: absolute; right: 0; bottom: 150px; color: var(--by-muted); line-height: 2; font-size: 13px; }
.by-section { padding-block: 72px; }
.by-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 44px; margin-bottom: 40px; }
.by-section-head .by-eyebrow, .by-faq-layout .by-eyebrow { color: var(--by-aqua); margin-bottom: 18px; }
.by-section-head > p { font-size: 13px; line-height: 2; color: var(--by-muted); padding-bottom: 3px; }
.by-steps-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.by-step { position: relative; border-radius: var(--by-radius); background: var(--by-surface); padding: 28px 30px; min-height: 308px; }
.by-num { font: 44px/1 var(--by-font-en); letter-spacing: -.07em; color: #a2acc9; }
.by-step-tag { float: right; color: var(--by-aqua); font: 10px var(--by-font-en); letter-spacing: .12em; padding-top: 10px; }
.by-step h3 { margin: 37px 0 14px; }
.by-step p { color: var(--by-muted); font-size: 13px; line-height: 1.9; }
.by-step > a, .by-step-foot { display: block; margin-top: 28px; font-size: 11px; }
.by-step > a { color: var(--by-aqua); }
.by-step > a span { float: right; font-size: 20px; line-height: 1; }
.by-step-foot { color: #a2acc9; }
.by-venue-gallery { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.by-venue-photo:nth-child(2) { margin-top: 52px; }
.by-venue-photo img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--by-radius); background: var(--by-surface); color: var(--by-muted); font-size: 12px; }
.by-venue-photo figcaption { display: flex; flex-wrap: wrap; gap: 10px 20px; padding-top: 17px; font-size: 12px; color: #d4dbef; }
.by-venue-photo figcaption span { font: 10px/2 var(--by-font-en); color: var(--by-muted); letter-spacing: .08em; }
.by-caption { text-align: right; color: var(--by-muted); font-size: 10px; margin-top: 20px !important; }

/* The entire interaction surface stays light in both OS color schemes. */
.by-apply { padding-block: 110px 100px; }
.by-apply-grid { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.by-form-card { min-width: 0; padding: 32px; background: var(--by-paper); color: var(--by-ink); border-radius: var(--by-radius); color-scheme: light; }
.by-status-banner { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 10px; background: #edf7f8; color: #30455b; font-size: 11px; line-height: 1.8; }
.by-status-banner .by-dot { background: #007e8c; margin-top: 7px; }
.by-form-stage { display: flex; align-items: center; gap: 12px; margin-block: 40px 24px; }
.by-form-stage > span { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; font: 12px var(--by-font-en); background: var(--by-navy); color: var(--by-white); }
.by-form-stage h3 { font-size: 20px; }
.by-form-stage p { margin-left: auto; font-size: 10px; color: var(--by-ink-muted); }
.by-field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; min-width: 0; }
.by-field label { display: block; font-weight: var(--by-w-bold); font-size: 13px; line-height: 1.7; }
.by-required { color: #b81150; }
.by-optional { display: inline-block; margin-left: 4px; color: var(--by-ink-muted); font-size: 10px; font-weight: var(--by-w-body); }
.by-input { display: block; width: 100%; min-width: 0; height: 48px; padding: 10px 14px; color: var(--by-ink); background: var(--by-paper); border: 1px solid var(--by-line); border-radius: 8px; font-size: 14px !important; line-height: 1.5; }
.by-input::placeholder { color: #737d94; opacity: 1; }
.by-input:focus { border-color: #007f91; }
.by-hint { display: block; font-size: 11px; color: var(--by-ink-muted); line-height: 1.85; }
.by-personal-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.by-personal-grid .by-field { margin-bottom: 10px; }
.by-name-note { margin-top: 4px !important; }
.by-duplicate-warning { display: none; font-size: 12px; color: #ab134a; padding: 10px 12px; border-radius: 8px; background: #fff0f5; }
.by-duplicate-warning.by-is-visible { display: block; }
.by-racer-search-row { position: relative; }
.by-racer-search-row > span { position: absolute; top: 5px; left: 15px; color: #59617a; font-size: 27px; line-height: 1.3; }
.by-racer-search-row .by-input { padding-left: 44px; background: var(--by-paper-soft); border-color: transparent; }
.by-racer-search-empty { display: none; font-size: 12px; padding-block: 15px; color: var(--by-ink-muted); }
.by-racer-card-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 10px; margin-top: 7px; max-height: none; overflow: visible; }
.by-racer-card { min-width: 0; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 0; border: 2px solid transparent; border-radius: 10px; background: var(--by-paper-soft); color: var(--by-ink); text-align: left; transition: border-color .15s, box-shadow .15s; }
.by-racer-card:hover { border-color: #9ca6be; }
.by-racer-card.by-is-selected { border-color: var(--by-pink); box-shadow: 0 0 0 2px #ff2f7e22; }
.by-racer-card.by-is-selected::after { content: "✓"; position: absolute; top: 5px; right: 5px; display: grid; place-items: center; border-radius: 50%; background: var(--by-navy); color: var(--by-white); width: 21px; height: 21px; font-size: 11px; }
/* 選手写真は通常グレースケール。カーソルを載せた／キーボードで選んだ／選択中のカードだけ
   色が戻る（参考サイトと同じ見せ方）。タッチ端末はホバーが無いので最初からカラーにする。 */
.by-racer-card-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #e4e8f0; filter: grayscale(1); transition: filter .35s ease, transform .35s ease; }
.by-racer-card:hover .by-racer-card-photo,
.by-racer-card:focus-visible .by-racer-card-photo,
.by-racer-card.by-is-selected .by-racer-card-photo { filter: grayscale(0); }
.by-racer-card:hover .by-racer-card-photo { transform: scale(1.03); }
@media (hover: none) {
  .by-racer-card-photo { filter: grayscale(0); }
}
@media (prefers-reduced-motion: reduce) {
  .by-racer-card-photo { transition-duration: .001ms; }
  .by-racer-card:hover .by-racer-card-photo { transform: none; }
}
.by-racer-card-photo-fallback { display: grid; place-items: center; color: var(--by-white); font-size: 32px; }
.by-racer-card-body { display: block; padding: 9px 7px 10px; }
.by-racer-card-body strong { display: block; font-size: 10px; line-height: 1.55; font-weight: var(--by-w-bold); overflow-wrap: anywhere; }
.by-racer-card-body > span { display: block; margin-top: 4px; font-size: 9px; line-height: 1.4; color: var(--by-ink-muted); }
.by-empty-note { margin-top: 8px !important; padding: 20px; background: var(--by-paper-soft); border-radius: 10px; font-size: 12px; color: var(--by-ink-muted); }
.by-preset-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.by-preset-btn { position: relative; aspect-ratio: 16/9; min-width: 0; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; }
.by-preset-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.by-preset-btn.by-is-selected { border-color: var(--by-pink); box-shadow: 0 0 0 2px #ff2f7e25; }
.by-preset-btn.by-is-selected::after { content: "✓"; position: absolute; top: 7px; right: 7px; border-radius: 50%; background: var(--by-pink); color: var(--by-navy); width: 20px; height: 20px; font: 700 12px/20px var(--by-font-en); }
.by-preset-code { position: absolute; left: 9px; bottom: 6px; z-index: 2; font: 700 13px/1.6 var(--by-font-en); color: var(--by-white); }
.by-preset-band { position: absolute; bottom: 0; left: 0; right: 0; height: 28%; background: #0a1038b3; }
.by-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 3px; }
.by-chip { padding: 10px 14px; min-height: 43px; border: 1px solid var(--by-line); border-radius: 999px; background: var(--by-paper); color: var(--by-ink); font-size: 12px !important; line-height: 1.5; }
.by-chip:hover { border-color: var(--by-pink); }
.by-chip.by-is-selected { color: var(--by-white); border-color: var(--by-navy); background: var(--by-navy); }
.by-font-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.by-font-chip { min-width: 0; min-height: 80px; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--by-line); border-radius: 10px; color: var(--by-ink); background: var(--by-paper); }
.by-font-chip.by-is-selected { border-color: var(--by-pink); box-shadow: 0 0 0 1px var(--by-pink); background: #fff5f9; }
.by-font-chip-sample { display: block; max-width: 100%; font-size: 14px; line-height: 1.4; height: 1.4em; white-space: nowrap; overflow: hidden; }
.by-font-chip-label { font-family: var(--by-font-jp); font-size: 9px; color: var(--by-ink-muted); }
.by-check-row { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: var(--by-paper-soft); border-radius: 10px; }
.by-check-row input { width: 19px; height: 19px; flex-shrink: 0; margin: 3px 0 0; accent-color: var(--by-navy); }
.by-check-row label { font-size: 12px; line-height: 1.9; }
.by-check-row a { text-decoration: underline; text-underline-offset: 3px; font-weight: var(--by-w-bold); }
.by-submit-row { margin-top: 24px; text-align: center; }
.by-submit-row .by-btn { width: 100%; justify-content: space-between; }
.by-submit-row .by-btn[disabled] { background: #e1e5ed; color: #69748d; transform: none; box-shadow: none; cursor: not-allowed; }
.by-helper { font-size: 11px; color: var(--by-ink-muted); margin-top: 12px !important; }

.by-preview-aside { position: sticky; top: 118px; min-width: 0; padding-top: 9px; }
.by-preview-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.by-preview-heading .by-eyebrow { font-size: 10px; color: var(--by-muted); }
.by-preview-live { display: flex; align-items: center; gap: 6px; font: 9px var(--by-font-en); letter-spacing: .05em; color: var(--by-aqua); }
.by-preview-aside h3 { font-size: 16px; margin-bottom: 22px; }
.by-vision-screen { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--by-radius); overflow: hidden; background: var(--by-surface-raised); container-type: inline-size; container-name: by-vision; isolation: isolate; }
.by-vision-slideshow, .by-vision-slide, .by-vision-slide-image, .by-vision-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.by-vision-slide { opacity: 0; transition: opacity 1s ease; background: linear-gradient(125deg, #ae225f, #155c73); }
.by-vision-slide.by-is-visible { opacity: 1; }
.by-vision-slide-image { object-fit: cover; }
.by-vision-slide-image.by-image-failed { display: none; }
.by-vision-photo { z-index: 1; background-size: cover; background-position: center; opacity: 0; }
.by-vision-photo.by-is-visible { opacity: 1; }
.by-preview-placeholder { position: absolute; inset: 0; padding: 13% 8%; background: radial-gradient(ellipse at 100% 100%, #2dd4dc26, transparent 70%), var(--by-surface); }
.by-preview-placeholder > span { display: block; font: 700 12cqw/.85 var(--by-font-en); letter-spacing: -.055em; color: #ffffffc9; }
.by-preview-placeholder small { display: block; margin-top: 7%; font-size: 2.6cqw; color: var(--by-muted); }
.by-vision-badge { position: absolute; z-index: 4; top: 12px; left: 14px; display: flex; align-items: center; gap: 6px; color: var(--by-white); padding: 4px 7px; border-radius: 999px; background: #0a103870; font: 8px/1.4 var(--by-font-en); letter-spacing: .07em; }
.by-vision-badge .by-dot { width: 4px; height: 4px; flex-basis: 4px; }
.by-vision-bug { position: absolute; z-index: 4; top: 14px; right: 14px; font: 700 10px var(--by-font-en); color: var(--by-white); text-shadow: 0 1px 4px #0a1038; }
.by-vision-overlay { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 20%; display: flex; align-items: center; justify-content: space-between; gap: 3cqw; padding: 0 5%; background: #0a1038e8; color: var(--by-white); pointer-events: none; overflow: hidden; }
.by-vision-message { display: none; flex: 1 1 53%; min-width: 0; font-size: 16px; font-size: min(4.4cqw, 30px); font-weight: var(--by-w-display); line-height: 1.15; overflow-wrap: anywhere; }
.by-vision-message.by-is-visible { display: block; }
.by-vision-signature { display: none; flex: 0 1 44%; max-width: 44%; min-width: 0; text-align: right; margin-left: auto; }
.by-vision-signature.by-is-visible { display: block; }
.by-vision-byline { display: none; font-family: var(--by-font-jp); font-size: 16px; font-size: min(4.4cqw, 30px); font-weight: var(--by-w-display); line-height: 1.1; overflow-wrap: anywhere; }
.by-vision-byline.by-is-visible, .by-vision-from.by-is-visible { display: block; }
.by-vision-signature.by-len-m .by-vision-byline { font-size: min(3.4cqw, 23px); }
.by-vision-signature.by-len-l .by-vision-byline { font-size: min(2.6cqw, 18px); }
.by-vision-from { display: none; font-family: var(--by-font-jp); font-size: 9px; font-size: min(2.2cqw, 14px); font-weight: var(--by-w-bold); line-height: 1.2; margin-top: .1em; color: #c5f7f8; }
.by-vision-caption { font-size: 10px; line-height: 1.9; color: var(--by-muted); margin-top: 17px !important; }
.by-preview-tip { display: flex; align-items: center; gap: 16px; padding: 20px 0; margin-top: 16px; border-top: 1px solid #ffffff1a; }
.by-preview-tip > span { font-size: 30px; color: var(--by-aqua); }
.by-preview-tip p { font-size: 11px; color: var(--by-muted); }
.by-success-panel { display: none; text-align: center; padding-block: 35px; }
.by-success-panel.by-is-visible { display: block; }
.by-check { display: grid; place-items: center; margin: 0 auto 24px; width: 58px; height: 58px; border-radius: 50%; background: #dcf7f6; color: #006c77; font-size: 24px; }
.by-success-panel .by-eyebrow { justify-content: center; font-size: 10px; margin-bottom: 16px; }
.by-success-panel > p { margin-top: 22px; font-size: 12px; color: var(--by-ink-muted); }
.by-entry-id { display: block; margin-block: 26px 18px; font: 13px var(--by-font-mono); overflow-wrap: anywhere; }
.by-confirm-url-box { display: flex; gap: 8px; }
.by-confirm-url-box button { flex-shrink: 0; border: 0; border-radius: 8px; padding-inline: 14px; color: var(--by-ink); background: var(--by-paper-soft); font-size: 11px; }
.by-confirm-url-note { font-size: 10px !important; }
.by-success-actions { margin-top: 25px; }
.by-btn-outline { border-color: var(--by-ink); color: var(--by-ink); }

.by-rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.by-rule-card { border-radius: var(--by-radius); padding: 26px 28px; background: var(--by-surface); }
.by-rule-card > span { color: var(--by-muted); font: 9px var(--by-font-en); letter-spacing: .1em; }
.by-rule-card h3 { margin-block: 22px 14px; font-size: 17px; }
.by-rule-card p { color: var(--by-muted); font-size: 12px; line-height: 1.9; }
.by-faq { padding-block: 110px; }
.by-faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.by-faq-intro { color: var(--by-muted); font-size: 13px; margin-top: 24px !important; }
.by-faq-item { background: var(--by-surface); border-radius: var(--by-radius); margin-bottom: 12px; }
.by-faq-item summary { display: flex; align-items: center; gap: 17px; padding: 23px 24px; list-style: none; cursor: pointer; font-size: 13px; line-height: 1.7; }
.by-faq-item summary::-webkit-details-marker { display: none; }
.by-q-mark { color: var(--by-aqua); font: 10px var(--by-font-en); }
.by-chev { margin-left: auto; font-size: 18px; transition: transform .2s; }
.by-faq-item[open] .by-chev { transform: rotate(45deg); }
.by-a { color: var(--by-muted); padding: 0 28px 26px 56px; font-size: 12px; }
.by-closing { position: relative; overflow: hidden; isolation: isolate; padding-block: 80px 95px; text-align: center; background: var(--by-surface); }
.by-closing::before { content: ""; position: absolute; z-index: -1; width: 110%; height: 180px; left: -5%; bottom: -170px; background: linear-gradient(100deg, var(--by-pink), var(--by-aqua)); filter: blur(70px); opacity: .65; }
.by-closing .by-eyebrow { justify-content: center; color: var(--by-aqua); margin-bottom: 24px; }
.by-closing h2 { font-size: clamp(36px, 4.5vw, 62px); }
.by-closing .by-btn { margin-top: 34px; }
.by-footer { padding: 52px 0 24px; }
.by-footer-top { display: flex; align-items: center; gap: 45px; }
.by-footer-top p { color: var(--by-muted); font-size: 11px; }
.by-footer-top nav { margin-left: auto; display: flex; gap: 35px; font-size: 11px; }
.by-fine { display: flex; flex-wrap: wrap; gap: 18px 30px; padding-top: 35px; margin-top: 35px; border-top: 1px solid #ffffff20; color: #a9b2ce; font-size: 9px; }
.by-fine > a { margin-left: auto; letter-spacing: .08em; }

@media (min-width: 1440px) {
  .by-hero-ribbon { right: -540px; }
  .by-racer-card-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .by-wrap { width: calc(100% - 64px); }
  .by-nav-inner { gap: 25px; }
  .by-nav-links { gap: 18px; }
  .by-hero h1 { font-size: 56px; }
  .by-hero-actions { gap: 10px; }
  .by-hero-actions .by-btn { padding-inline: 18px; font-size: 12px; gap: 16px; }
  .by-statement-note { right: 0; bottom: 110px; }
  .by-apply-grid { gap: 24px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .by-form-card { padding: 24px; }
  .by-racer-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .by-font-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .by-personal-grid { grid-template-columns: 1fr; gap: 12px; }
  .by-step { padding: 24px; }
  .by-step h3 { font-size: 19px; }
  .by-faq-layout { gap: 30px; }
}
@media (max-width: 800px) {
  .by-wrap { width: calc(100% - 40px); }
  .by-nav-inner { height: 76px; }
  .by-nav-links { display: none; }
  .by-nav .by-btn { margin-left: auto; }
  .by-hero { padding-top: 42px; }
  .by-hero-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .by-hero h1 { font-size: 44px; margin-right: -75px; }
  .by-hero .by-eyebrow { font-size: 9px; }
  .by-hero-event { font-size: 11px; }
  .by-gp-logo-inline { height: 26px; }
  .by-hero .by-lead { font-size: 13px; }
  .by-hero-actions .by-btn-ghost { display: none; }
  .by-hero-visual { padding-top: 130px; }
  .by-visual-topline { font-size: 8px; }
  .by-visual-topline > span:last-child { display: none; }
  .by-hero-ribbon { width: 1100px; right: -650px; top: 100px; }
  .by-statement { padding-block: 100px; }
  .by-statement-note { position: static; margin-top: 32px !important; }
  .by-section { padding-block: 55px; }
  .by-section-head { display: block; }
  .by-section-head > p { margin-top: 22px; }
  .by-steps-list { gap: 12px; }
  .by-step { padding: 22px 18px; }
  .by-step-tag { font-size: 8px; }
  .by-step p { font-size: 12px; }
  .by-step h3 { font-size: 17px; }
  .by-venue-gallery { gap: 18px; }
  .by-apply-grid { display: flex; flex-direction: column; gap: 30px; }
  .by-form-card { width: 100%; order: 0; }
  .by-preview-aside { width: 100%; position: static; order: 1; }
  .by-preview-aside h3 { margin-bottom: 20px; }
  .by-preview-aside .by-vision { max-width: 640px; margin-inline: auto; }
  .by-racer-card-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .by-personal-grid { grid-template-columns: 1.25fr 1fr; gap: 22px; }
  .by-font-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .by-preset-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .by-rules-grid { grid-template-columns: repeat(2, 1fr); }
  .by-faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .by-footer-top { flex-wrap: wrap; gap: 25px; }
  .by-footer-top nav { margin-left: 0; }
  .by-fine > a { margin-left: 0; }
}
@media (max-width: 560px) {
  .by-wrap { width: calc(100% - 40px); }
  .by-nav-inner { height: 68px; gap: 15px; }
  .by-brand img { width: 122px; height: 36px; }
  .by-brand.by-brand-plate { padding: 6px 10px; border-radius: 8px; }
  .by-brand.by-brand-plate img { width: 122px; height: 25px; }
  .by-btn-small { min-height: 40px; padding: 9px 16px; font-size: 11px; gap: 14px; }
  .by-hero-grid { display: block; }
  .by-hero h1 { font-size: clamp(39px, 10.3vw, 57px); margin: 17px 0 19px; }
  .by-hero .by-eyebrow { font-size: 9px; }
  .by-hero-event { margin-top: 22px !important; }
  .by-hero-actions { margin-top: 26px; }
  .by-hero-actions .by-btn { font-size: 13px; padding-inline: 22px; gap: 20px; }
  .by-hero-actions .by-btn-ghost { display: inline-flex; padding-inline: 18px; }
  .by-hero-actions .by-btn-ghost span { display: none; }
  .by-hero-visual { padding: 48px 4px 0; }
  .by-hero-ribbon { top: 410px; right: -450px; height: 240px; width: 1000px; }
  .by-visual-topline { font-size: 9px; }
  .by-visual-bottomline { margin-top: 22px; font-size: 12px; }
  .by-gp-logo-inline { height: 24px; }
  .by-hero-bottom { margin-top: 33px; padding-block: 22px; }
  .by-badge { font-size: 9px; gap: 7px; }
  .by-scroll-label { font-size: 0; gap: 0; }
  .by-scroll-label span { font-size: 22px; }
  .by-entry .by-statement-copy { font-size: clamp(36px, 10.1vw, 55px); }
  .by-statement { padding-block: 90px 55px; }
  .by-statement > .by-eyebrow { margin-bottom: 25px; }
  .by-statement-note { font-size: 12px; }
  .by-section-head { margin-bottom: 30px; }
  .by-section-head > p { font-size: 12px; }
  .by-section-head .by-eyebrow { font-size: 10px; }
  .by-steps-list, .by-venue-gallery, .by-rules-grid { grid-template-columns: 1fr; }
  .by-step { padding: 24px; min-height: 0; }
  .by-step h3 { margin-top: 24px; font-size: 22px; }
  .by-step p { font-size: 13px; }
  .by-step > a, .by-step-foot { margin-top: 22px; }
  .by-venue-photo:nth-child(2) { margin-top: 20px; }
  .by-venue-photo figcaption { gap: 6px 15px; font-size: 11px; }
  .by-apply { padding-top: 70px; }
  .by-form-card { padding: 22px 16px; }
  .by-form-stage { gap: 9px; margin-top: 32px; }
  .by-form-stage h3 { font-size: 17px; }
  .by-form-stage p { font-size: 8px; }
  .by-form-stage > span { width: 27px; height: 27px; font-size: 11px; }
  .by-personal-grid { grid-template-columns: 1fr; gap: 15px; }
  .by-status-banner { padding: 12px; font-size: 10px; }
  .by-racer-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; }
  .by-racer-card-body { padding: 8px 5px; }
  .by-racer-card-body strong { font-size: 10px; }
  .by-racer-card-body > span { font-size: 8px; }
  .by-preset-grid, .by-font-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .by-font-chip-sample { font-size: 12px; }
  .by-chip { padding-inline: 12px; font-size: 11px !important; }
  .by-check-row { padding: 14px 12px; gap: 9px; }
  .by-check-row label { font-size: 11px; }
  .by-preview-aside { padding-inline: 0; }
  .by-rule-card { padding: 24px; }
  .by-faq-item summary { padding: 20px; gap: 12px; font-size: 12px; }
  .by-a { padding-inline: 45px 22px; font-size: 12px; }
  .by-closing { padding-block: 65px 75px; }
  .by-closing h2 { font-size: 37px; }
  .by-footer { padding-top: 35px; }
  .by-footer-top { gap: 20px; }
  .by-footer-top p { font-size: 10px; }
  .by-footer-top nav { width: 100%; }
  .by-fine { margin-top: 26px; padding-top: 22px; gap: 14px; }
}
@media (prefers-color-scheme: dark) {
  .by-entry { --by-surface: #141d42; --by-surface-raised: #1d274e; }
  .by-form-card { --by-paper: #fafbff; --by-paper-soft: #eceff6; color-scheme: light; }
}
@media (prefers-reduced-motion: reduce) {
  .by-entry *, .by-entry *::before, .by-entry *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .by-reveal-word { --by-word-c1: #ffffff; --by-word-c2: #ffffff; color: transparent; text-shadow: none; }
  .by-btn:hover { transform: none; }
}

/* ── 記念カード（2026-11-18 追加）。カードは実際の選手写真を使わない抽象的なイメージ ── */
.by-card-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.by-card-figure { margin: 0; }
.by-card-figure figcaption { margin-top: 14px; color: var(--by-muted); font-size: 10px; }
.by-card-mock { position: relative; aspect-ratio: 85.6 / 54; border-radius: 4.5% / 7%; overflow: hidden; background: linear-gradient(135deg, #1b2a78 0%, #0a1038 58%, #050826 100%); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .12); transform: rotate(-3deg); container-type: inline-size; }
.by-card-art { position: absolute; inset: 0; }
.by-card-wave { position: absolute; left: -10%; width: 120%; border-radius: 50%; }
.by-card-wave-1 { top: 44%; height: 70%; border-top: 3px solid rgba(45, 212, 220, .75); }
.by-card-wave-2 { top: 52%; height: 70%; border-top: 2px solid rgba(255, 255, 255, .55); }
.by-card-wave-3 { top: 60%; height: 70%; border-top: 4px solid rgba(255, 47, 126, .8); }
.by-card-num { position: absolute; right: 4%; top: 2%; font: 800 22cqw/1 var(--by-font-jp); font-style: italic; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .25); letter-spacing: -.03em; }
.by-card-racer { position: absolute; left: 7%; top: 14%; font: 800 9.5cqw/1.02 var(--by-font-en); letter-spacing: .02em; background: linear-gradient(180deg, #ffffff 0%, #c9d1e6 45%, #8d97b5 55%, #f4f6fb 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.by-card-band { position: absolute; left: 0; right: 0; bottom: 0; height: 28%; display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding: 0 5%; background: rgba(10, 16, 56, .9); }
.by-card-msg { position: relative; color: #fff; font-weight: 800; font-size: 4.6cqw; line-height: 1.3; }
.by-card-sign { position: relative; color: #c5f7f8; font-weight: 700; font-size: 3.2cqw; white-space: nowrap; }
.by-card-sign em { font-style: italic; color: var(--by-pink); }
.by-card-tag { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--by-pink); color: #fff; font: 700 10px/1 var(--by-font-en); font-style: normal; vertical-align: super; margin-left: 3px; }
.by-card-tag-1 { position: absolute; left: 4%; top: 6%; margin: 0; }
.by-card-items { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.by-card-items li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--by-surface); font-size: 13px; font-weight: 700; }
.by-card-items li span { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--by-pink); font: 700 11px/1 var(--by-font-en); }
.by-card-lead { font-size: 14px; line-height: 2; margin-bottom: 18px !important; }
.by-card-notes { list-style: none; padding: 0; margin: 0; }
.by-card-notes li { position: relative; padding-left: 1.2em; color: var(--by-muted); font-size: 12px; line-height: 1.9; }
.by-card-notes li::before { content: "※"; position: absolute; left: 0; }
@media (max-width: 800px) {
  .by-card-layout { grid-template-columns: 1fr; gap: 36px; }
  .by-card-mock { transform: rotate(-2deg); }
}
@media (max-width: 560px) {
  .by-card-items { grid-template-columns: 1fr; }
  .by-card-tag { width: 15px; height: 15px; font-size: 9px; }
}
.by-card-glow { position: absolute; right: 8%; top: 18%; width: 45%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(45, 212, 220, .35) 0%, rgba(45, 212, 220, 0) 65%); }
/* 実際の記念カードと同じ2段：上にメッセージ（1行）、下に右寄せで「応援ネーム from 応援地」 */
.by-card-band { flex-direction: column; align-items: stretch; justify-content: center; gap: 1.2cqw; height: 30%; }
.by-card-msg { font-size: 4.4cqw; white-space: nowrap; }
.by-card-sign { align-self: flex-end; font-size: 3.4cqw; }

/* ── 2026-11-19 コメント反映 ───────────────────────────── */
/* ステップの注意書き（選手は1名まで／1メールアドレスにつき1回／掲載には審査）を目立たせる */
.by-entry .by-step-foot.by-step-alert { display: inline-block; color: #fff; background: var(--by-pink); font-size: 12px; font-weight: var(--by-w-bold); padding: 4px 12px; border-radius: 999px; }
.by-entry .by-step-alert + a { margin-top: 18px; }
/* ヒーローのカウントダウン */
.by-countdown { margin-top: 26px; padding: 14px 18px 12px; border: 1px solid #ffffff2e; border-radius: 14px; background: #ffffff0d; max-width: 460px; }
.by-countdown-label { margin: 0; font-size: 12px; font-weight: var(--by-w-bold); color: var(--by-aqua); letter-spacing: .06em; }
.by-countdown-time { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 2px; font-size: 13px; color: #d3d9ed; }
.by-countdown-time b { font: 700 clamp(30px, 3.2vw, 42px)/1.1 var(--by-font-en); color: #fff; margin-right: 3px; font-variant-numeric: tabular-nums; }
.by-countdown-date { margin: 0; font-size: 12px; color: var(--by-muted); }
.by-countdown[data-status="open"] .by-countdown-label { color: var(--by-pink); }
.by-countdown[data-status="closed"] .by-countdown-label { color: #fff; font-size: 16px; }
/* 会場セクション：掲載タイミング */
.by-venue-when { margin: 24px 0 0 !important; font-size: 15px; font-weight: var(--by-w-bold); color: #fff; }
/* 受付完了メールの受信ドメイン */
.by-rule-card .by-domain { display: inline-block; margin-top: 6px; font-family: var(--by-font-en); font-size: 15px; color: var(--by-aqua); }
/* ヒーロー右の見本画像（1589×989。帯・メッセージ入り）をそのままの比率で見せる。上に重ねていた表示は外す */
#by-heroVision { aspect-ratio: 1589 / 989; }
#by-heroVision .by-vision-badge, #by-heroVision .by-vision-bug { display: none; }
#by-heroVision .by-vision-slide { background: #0a1038; }
/* 記念カード：見本カードを台紙（案B）の中面に差し込んだ画像（85_記念カード/site_daishi_sample.py で作成）。番号タグはカード上の位置に重ねる */
.by-card-mount { position: relative; max-width: 380px; margin-inline: auto; }
.by-card-mount img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 24px 50px #00000059; }
.by-card-mount .by-card-tag { position: absolute; z-index: 2; margin: 0; transform: translate(-50%, -50%); box-shadow: 0 0 0 2px #fff; width: 22px; height: 22px; font-size: 11px; }
.by-mount-tag-1 { left: 89%; top: 58%; }
.by-mount-tag-2 { left: 38%; top: 87.5%; }
.by-mount-tag-3 { left: 57%; top: 84.5%; }
.by-mount-tag-4 { left: 77%; top: 90.6%; }
/* 選手確定までの公開スイッチ（index.html の BY_RELEASED） */
.by-is-pre .by-rel-only { display: none !important; }
html:not(.by-is-pre) .by-pre-only { display: none !important; }
.by-prerelease { position: relative; border-radius: var(--by-radius); overflow: hidden; background: var(--by-surface); padding: 28px; min-height: 320px; display: grid; place-items: center; }
.by-pr-grid { position: absolute; inset: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; opacity: .55; filter: blur(1.5px); }
.by-pr-grid span { border-radius: 12px; background: linear-gradient(135deg, var(--by-surface-raised), #2b3766); aspect-ratio: 16 / 9; }
.by-pr-panel { position: relative; z-index: 1; text-align: center; padding: 26px 28px; border-radius: 16px; background: #0a1038e6; box-shadow: 0 16px 40px #00000066; max-width: 520px; }
.by-pr-panel h3 { margin: 6px 0 10px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; }
.by-pr-panel p { margin: 0; color: var(--by-muted); font-size: 14px; }
.by-pr-panel strong { color: #fff; }
@media (max-width: 560px) { .by-pr-grid { grid-template-columns: repeat(2, 1fr); } .by-prerelease { padding: 18px; } }
/* 記念カードの印刷場所（写真＋M2Fマップ。マップは大村オリ舟特設サイトと同じ場所・同じ図を BoatYELL の色に） */
.by-print-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; }
@media (max-width: 800px) { .by-print-grid { grid-template-columns: 1fr; } }
.by-print-photo img { aspect-ratio: 4 / 3; }
.by-map { position: relative; margin: 0; padding: clamp(14px, 2.4vw, 26px); border-radius: var(--by-radius); background: radial-gradient(70% 90% at 42% 40%, #2dd4dc1a, transparent 70%), var(--by-surface); min-width: 0; }
.by-floor-wrap { position: relative; }
.by-floor { display: block; width: 100%; height: auto; overflow: visible; }
.by-floor .slab { fill: #2dd4dc12; stroke: var(--by-aqua); stroke-width: .9; stroke-linejoin: round; }
.by-floor .void rect { fill: var(--by-navy); stroke: #2dd4dc59; stroke-width: .5; }
.by-floor .void path { stroke: #2dd4dc2e; stroke-width: .4; fill: none; }
.by-floor .vt { font: 500 4.6px var(--by-font-jp); fill: var(--by-muted); letter-spacing: .1em; }
.by-floor .fc { fill: #2dd4dc38; stroke: #2dd4dc80; stroke-width: .5; }
.by-floor .room { fill: var(--by-surface); stroke: #2dd4dc59; stroke-width: .5; }
.by-floor .stair-area, .by-floor .stair-line { stroke: #2dd4dc59; stroke-width: .5; }
.by-floor .lbl { font: 700 6px var(--by-font-jp); fill: #fff; letter-spacing: .08em; }
.by-floor .lbl.sm { font-size: 4.6px; font-weight: 500; fill: var(--by-muted); }
.by-floor .booth { fill: var(--by-pink); }
.by-floor .booth-glow { fill: #ff2f7e29; stroke: var(--by-pink); stroke-width: .4; stroke-dasharray: 1.5 1.2; }
.by-floor .ico circle { fill: var(--by-navy); stroke: var(--by-aqua); stroke-width: .5; }
.by-floor .ico path { fill: none; stroke: #c5f7f8; stroke-width: .7; stroke-linecap: round; stroke-linejoin: round; }
.by-floor .ico text { font: 800 3.6px var(--by-font-en); fill: #c5f7f8; }
.by-floor .floor-name { font: 800 italic 15px var(--by-font-en); fill: var(--by-aqua); opacity: .9; }
.by-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #ffffff1f; font-size: 12px; color: var(--by-muted); line-height: 1.4; }
.by-legend span { display: inline-flex; align-items: center; gap: 6px; }
.by-legend .lg { display: inline-block; width: 14px; height: 10px; border-radius: 2px; }
.by-legend .booth-c { background: var(--by-pink); }
.by-legend .fc-c { background: #2dd4dc59; border: 1px solid #2dd4dc80; }
.by-legend .void-c { background: var(--by-navy); border: 1px solid #2dd4dc59; }
.by-legend .lg-ico { width: 16px; height: 16px; }
.by-legend .lg-ico circle { fill: var(--by-navy); stroke: var(--by-aqua); stroke-width: .6; }
.by-legend .lg-ico path { fill: none; stroke: #c5f7f8; stroke-width: .8; stroke-linecap: round; }
.by-legend .tx { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--by-aqua); font: 800 7px/1 var(--by-font-en); color: #c5f7f8; }
.by-pin { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--by-pink); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--by-pink); }
.by-pin::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--by-pink); animation: by-ping 1.8s ease-out infinite; }
@keyframes by-ping { from { transform: scale(.8); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .by-pin::after { animation: none; } }
.by-pin-label { position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); white-space: nowrap; font: 700 13px/1 var(--by-font-jp); letter-spacing: .04em; color: #fff; background: var(--by-pink); padding: 8px 12px; border-radius: 999px; }
.by-pin-label::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--by-pink); }
@media (max-width: 560px) { .by-pin-label { font-size: 11px; padding: 6px 9px; } }
.by-print-info { margin: 24px 0 0; display: grid; gap: 0; border-top: 1px solid #ffffff1f; }
.by-print-info div { display: grid; grid-template-columns: 4.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #ffffff1f; }
.by-print-info dt { font-size: 12px; letter-spacing: .14em; color: var(--by-aqua); padding-top: 2px; }
.by-print-info dd { margin: 0; font-weight: var(--by-w-bold); min-width: 0; }
/* カウントダウンをヘッダーのすぐ下へ（2026-11-19 コメント）。横一列の帯 */
.by-hero { padding-top: 18px; }
.by-countdown-bar { position: relative; z-index: 2; margin-bottom: 40px; }
.by-countdown-bar .by-countdown { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; max-width: none; margin: 0; padding: 12px 20px; }
.by-countdown-bar .by-countdown-time { margin: 0; }
.by-countdown-bar .by-countdown-time b { font-size: clamp(26px, 2.6vw, 34px); }
.by-countdown-bar .by-countdown-date { margin-left: auto; }
@media (max-width: 560px) { .by-countdown-bar { margin-bottom: 24px; } .by-countdown-bar .by-countdown-date { margin-left: 0; width: 100%; } }
/* ステップの注意書き（ピンクの札）を3枚とも同じ高さ（カード下端）にそろえる */
.by-entry .by-step { display: flex; flex-direction: column; align-items: flex-start; }
.by-entry .by-step .by-step-alert { margin-top: auto; }
.by-entry .by-step > p { margin-bottom: 22px; }
.by-entry .by-step .by-step-tag { position: absolute; top: 38px; right: 30px; float: none; padding-top: 0; }
@media (max-width: 560px) { .by-entry .by-step .by-step-tag { top: 30px; right: 18px; } }
/* SCROLL TO DISCOVER（ヒーロー下の帯）を削除したぶん、ヒーローの下に余白 */
.by-entry .by-hero { padding-bottom: 64px; }
@media (max-width: 560px) { .by-entry .by-hero { padding-bottom: 40px; } }
/* ヒーロー見出し：彩りの色が上の行から下の行へ流れ、最後に「彩る。」だけ色が残る（2026-11-20） */
.by-sweep { background: linear-gradient(100deg, #ff70ab 0%, #ffa0c7 27%, #2dd4dc 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: #fff; color: #fff; }
.by-sweep-1, .by-sweep-2 { animation: by-sweep-pass 1.1s ease-in-out both; }
.by-sweep-1 { animation-delay: .35s; }
.by-sweep-2 { animation-delay: .9s; }
.by-sweep-3 { animation: by-sweep-stay .7s ease-out 1.45s both; }
@keyframes by-sweep-pass { 0% { -webkit-text-fill-color: #fff; } 40%, 55% { -webkit-text-fill-color: transparent; } 100% { -webkit-text-fill-color: #fff; } }
@keyframes by-sweep-stay { from { -webkit-text-fill-color: #fff; } to { -webkit-text-fill-color: transparent; } }
@media (prefers-reduced-motion: reduce) { .by-sweep-1, .by-sweep-2 { animation: none; } .by-sweep-3 { animation: none; -webkit-text-fill-color: transparent; } }
/* 記念カードの図に立体感（少し傾け、奥行きのある影。カーソルを乗せると正面を向く） */
.by-card-figure { perspective: 1200px; }
.by-card-mount { transform: rotateY(-14deg) rotateX(6deg) rotateZ(-1.5deg); transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.by-card-mount img { box-shadow: 18px 26px 0 -6px #0006, 34px 46px 60px #000a, 0 2px 0 #ffffff40 inset; }
.by-card-mount::after { content: ""; position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(115deg, #ffffff38 0%, #ffffff00 35%, #ffffff00 65%, #00000026 100%); pointer-events: none; }
.by-card-figure:hover .by-card-mount { transform: rotateY(-4deg) rotateX(2deg) rotateZ(0); }
@media (prefers-reduced-motion: reduce) { .by-card-mount { transition: none; } }
/* 立体にしたカードが下の注記に重ならないよう、注記を下げる（2026-11-20） */
.by-card-figure figcaption { position: relative; z-index: 1; margin-top: 56px; text-align: center; }
@media (max-width: 560px) { .by-card-figure figcaption { margin-top: 40px; } }
