/* モダン案をベースにしたレイアウト案(プレビュー専用。2026-11-13)。
   html に m と lay-* が付く。lay-full 全画面 / lay-peek カード送り / lay-bento タイル / lay-dock ミニプレーヤー / lay-tuner チューナー */

.mx-only { display: none; }
.mx-sep { flex: none; align-self: center; padding: 0 6px 0 12px; margin-left: 6px; border-left: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.45); font-size: 11px; white-space: nowrap; }

/* ============ 全画面: スライドが画面の高さいっぱい。オンエア曲は右下に浮かぶカード ============ */
html.lay-full { --sl-h: max(520px, calc(100svh - 68px)); }
html.lay-full .sl-brand .mx-title { font-size: clamp(2.6rem, 7.6vw, 6.4rem); }
html.lay-full .sl-brand .mx-bigfreq { font-size: clamp(8rem, 30vw, 24rem); }
html.lay-full .sl-brand .mx-eq { display: none; }
html.lay-full .sl-brand .radiko-btn img { height: 52px; }
html.lay-full .sl-jacket { width: clamp(180px, 30vw, 400px); }
@media (min-width: 701px) {
  html.lay-full .sl-brand .mx-hero { padding-bottom: 150px; }
  html.lay-full .sl-banner, html.lay-full .sl-pp, html.lay-full .sl-photo { padding-bottom: 150px; }
  html.lay-full .sl-art { max-height: calc(var(--sl-h) - 220px); }
  html.lay-full .sl-bar { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; }
  html.lay-full .sl-bar-in { align-items: end; padding-bottom: 28px; }
  html.lay-full .sl-bar-in > * { pointer-events: auto; }
  html.lay-full .sl-ctrl { order: 1; margin: 0 0 6px; }
  html.lay-full .sl-bar .nowplaying { order: 2; flex: 0 1 460px; margin-left: auto; flex-wrap: wrap; gap: 8px 12px; padding: 18px 22px;
    border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: rgba(10,15,28,.5); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
  html.lay-full .sl-bar .np-song { flex-basis: 100%; display: block; }
  html.lay-full .sl-bar .np-title { display: block; max-width: none; font-size: 1.35rem; white-space: normal; }
  html.lay-full .sl-bar .np-artist { display: block; margin-top: 2px; font-size: .95rem; font-weight: 600; white-space: normal; }
  html.lay-full .sl-bar .np-artist::before { content: none; }
  html.lay-full .np-more { position: absolute; top: 18px; right: 22px; }
  html.lay-full .sl-bar .nowplaying { position: relative; }
}
/* 下にスクロールを促す */
html.lay-full .sl-wrap::after { content: "SCROLL"; position: absolute; left: 50%; bottom: 14px; z-index: 3; translate: -50% 0; color: rgba(255,255,255,.5); font: 600 .62rem/1 "Inter", sans-serif; letter-spacing: .3em; pointer-events: none; }
@media (max-width: 700px) { html.lay-full { --sl-h: 72svh; } html.lay-full .sl-wrap::after { display: none; } }

/* ============ カード送り: 角の丸いカードが横に流れ、両隣が少し見える。曲名は上の帯を流れる ============ */
html.lay-peek { --sl-h: clamp(320px, 34vw, 420px); }
html.lay-peek .sl-wrap { padding-top: 0; }
html.lay-peek .sl { padding: 24px 0 4px; }
html.lay-peek .sl-track { display: flex; gap: 16px; transform: translateX(calc(9% - var(--i, 0) * (82% + 16px))); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
html.lay-peek .sl-wrap:not(.is-ready) .sl-track { transition: none; }
html.lay-peek .sl-slide { flex: 0 0 82%; opacity: .35; visibility: visible; transform: scale(.94); border-radius: 26px; transition: opacity .9s, transform .9s cubic-bezier(.2,.7,.2,1); }
html.lay-peek .sl-slide.is-on { opacity: 1; transform: none; }
html.lay-peek .sl-brand .mx-hero { padding-left: clamp(24px, 5vw, 56px) !important; padding-right: clamp(24px, 5vw, 56px) !important; padding-bottom: 40px; }
html.lay-peek .sl-banner, html.lay-peek .sl-pp, html.lay-peek .sl-photo { padding: 28px clamp(24px, 5vw, 56px); }
html.lay-peek .sl-brand .mx-title { font-size: clamp(2rem, 4.4vw, 3.6rem); }
html.lay-peek .sl-bar { margin-top: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; }
html.lay-peek .sl-bar .nowplaying { display: none !important; }
html.lay-peek .sl-bar-in { justify-content: center; min-height: 52px; }
html.lay-peek .sl-ctrl { margin: 0; }
@media (max-width: 700px) {
  html.lay-peek .sl-track { gap: 10px; transform: translateX(calc(6% - var(--i, 0) * (88% + 10px))); }
  html.lay-peek .sl-slide { flex-basis: 88%; border-radius: 20px; }
  html.lay-peek .sl-ctrl { order: 0; }
}
/* 流れる帯 */
html.lay-peek .mx-np-ticker:not([hidden]) { display: flex; }
.mx-np-ticker { align-items: stretch; overflow: hidden; background: var(--hot); color: #fff; text-decoration: none; font-weight: 700; }
.tk-label { flex: none; display: flex; align-items: center; gap: 10px; padding: 0 18px 0 max(16px, calc((100% - 1048px) / 2)); background: var(--ink); font: 700 .7rem/1 "Inter", sans-serif; letter-spacing: .2em; position: relative; z-index: 1; }
.tk-label .np-icon { color: var(--hot); }
.tk-run { display: flex; overflow: hidden; padding: 12px 0; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tk-seq { flex: none; display: flex; align-items: center; animation: tk-run 28s linear infinite; }
.mx-np-ticker:hover .tk-seq { animation-play-state: paused; }
@keyframes tk-run { to { transform: translateX(-100%); } }
.tk-item { display: inline-flex; align-items: baseline; gap: 10px; padding: 0 22px; white-space: nowrap; font-size: .98rem; }
.tk-item b { font: 600 .8rem "Inter", sans-serif; opacity: .8; }
.tk-sl { opacity: .8; }
.tk-star { opacity: .6; font-size: .8rem; }
@media (prefers-reduced-motion: reduce) { .tk-seq { animation: none; } .tk-seq + .tk-seq { display: none; } }

/* ============ タイル: スライドは低め。下にオンエア曲を大きく置いたタイルを敷き詰める ============ */
html.lay-bento { --sl-h: clamp(300px, 30vw, 380px); }
html.lay-bento .sl-bar .nowplaying { display: none !important; }
html.lay-bento .sl-bar-in { justify-content: flex-end; }
html.lay-bento main > [aria-labelledby="h-present"], html.lay-bento main > [aria-labelledby="h-req"],
html.lay-bento main > [aria-labelledby="h-pp"], html.lay-bento main > [aria-labelledby="h-news"] { display: none; }
html.lay-bento .mx-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(180px, auto); gap: 14px; margin-top: 28px;
  grid-template-areas: "np np req radiko" "np np pp1 pp2" "present present news news"; }
.bt { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 24px; background: #fff; color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 0 rgba(10,15,28,.04), 0 20px 40px -24px rgba(10,15,28,.25); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
a.bt:hover { transform: translateY(-3px); }
.bt-k { display: flex; align-items: center; gap: 8px; font: 700 .68rem/1 "Inter", sans-serif; letter-spacing: .2em; color: var(--electric); }
.bt strong { font-size: 1.25rem; font-weight: 900; line-height: 1.3; }
.bt-p { font-size: .85rem; opacity: .7; }
.bt-np { grid-area: np; justify-content: end; padding: 32px; background: var(--ink); color: #fff; }
.bt-np[hidden] { display: none; }
.bt-np::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(40% 50% at 80% 20%, rgba(61,123,255,.6), transparent 70%), radial-gradient(35% 45% at 10% 100%, rgba(255,74,61,.5), transparent 70%); filter: blur(20px); }
.bt-np .bt-k { position: absolute; top: 28px; left: 32px; color: var(--hot); }
.bt-time { color: rgba(255,255,255,.6); }
.bt-np-title { font-size: clamp(1.8rem, 3.6vw, 3rem) !important; line-height: 1.15 !important; letter-spacing: -.01em; overflow-wrap: anywhere; }
.bt-np-artist { font-size: 1.2rem; font-weight: 700; }
.bt-more { margin-top: 14px; font-size: .85rem; opacity: .7; }
.bt-req { grid-area: req; background: var(--electric); color: #fff; }
.bt-req .bt-k { color: rgba(255,255,255,.75); }
.bt-arrow { position: absolute; right: 20px; bottom: 16px; font-size: 1.6rem; }
.bt-radiko { grid-area: radiko; }
.bt-freq { font: 900 2.6rem/1 "Inter", sans-serif !important; letter-spacing: -.03em; }
.bt-freq small { font-size: .9rem; margin-left: 4px; }
.bt-radiko img { width: auto; height: 34px; margin-top: auto; align-self: start; }
.bt-pp, .bt-present { padding: 0; justify-content: end; color: #fff; }
.bt-pp:nth-of-type(4) { grid-area: pp1; }
.bt-pp:nth-of-type(5) { grid-area: pp2; }
.bt-present { grid-area: present; min-height: 240px; }
.bt-pp img, .bt-present img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.bt-pp::after, .bt-present::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,15,28,.85), rgba(10,15,28,0) 65%); }
.bt-cap { display: grid; gap: 4px; padding: 18px 20px; }
.bt-cap .bt-k { color: #9fc0ff; }
.bt-pp strong { font-size: 1rem; }
.bt-news { grid-area: news; }
.bt-news .news-list { margin: 6px 0 0; padding: 0; list-style: none; font-size: .88rem; }
.bt-news .news-list li { display: flex; flex-wrap: wrap; gap: 2px 10px; padding: 8px 0; border-bottom: 1px solid rgba(10,15,28,.08); }
.bt-news .news-list .tag { display: none; }
.bt-news .news-list time { color: var(--muted, #6e645f); font-size: .78rem; }
.bt-link { margin-top: auto; padding-top: 8px; color: var(--electric); font-size: .85rem; font-weight: 700; text-decoration: none; }
@media (max-width: 800px) {
  html.lay-bento .mx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 10px; margin-top: 16px;
    grid-template-areas: "np np" "req radiko" "pp1 pp2" "present present" "news news"; }
  .bt { padding: 18px; border-radius: 20px; }
  .bt-np { min-height: 240px; padding: 22px; }
  .bt-np .bt-k { top: 22px; left: 22px; }
}

/* ============ ミニプレーヤー: 明るい色。オンエア曲は画面の下に貼り付く ============ */
html.lay-dock { --sl-h: clamp(340px, 36vw, 440px); }
html.lay-dock body { padding-bottom: 96px; }
html.lay-dock .sl-wrap { background: #fff; color: var(--ink); }
html.lay-dock .sl-brand .mx-hero { background: #eef2fb; color: var(--ink); padding-bottom: 40px; }
html.lay-dock .sl-brand .mx-hero::before { opacity: .45; }
html.lay-dock .sl-brand .mx-hero::after { display: none; }
html.lay-dock .mx-bigfreq { -webkit-text-stroke-color: rgba(28,78,152,.18) !important; }
html.lay-dock .mx-eyebrow { border-color: rgba(10,15,28,.12); background: rgba(255,255,255,.7); }
html.lay-dock .mx-title em { background: linear-gradient(90deg, #1c4e98, #3d7bff); -webkit-background-clip: text; background-clip: text; }
html.lay-dock .mx-freqs { color: rgba(10,15,28,.55); }
html.lay-dock .mx-freqs b { color: var(--ink); }
html.lay-dock .mx-eq i { background: var(--electric); }
html.lay-dock .sl-banner, html.lay-dock .sl-pp, html.lay-dock .sl-photo { padding-bottom: 32px; }
html.lay-dock .sl-bg { filter: blur(50px) saturate(1.3) brightness(1.15); opacity: .55; }
html.lay-dock .sl-pp { color: var(--ink); }
html.lay-dock .sl-pp .sl-kicker { color: var(--electric); }
html.lay-dock .sl-pp .sl-btn { background: var(--ink); color: #fff; }
html.lay-dock .sl-photo { grid-template-columns: 1fr 1.2fr; align-items: stretch; padding: 0; background: #fff; }
html.lay-dock .sl-photo::before { display: none; }
html.lay-dock .sl-photo .sl-cover { position: static; grid-column: 2; grid-row: 1; z-index: 0; }
html.lay-dock .sl-photo .sl-cap { grid-column: 1; grid-row: 1; align-content: center; padding: 40px 40px 40px var(--gut); color: var(--ink); }
html.lay-dock .sl-photo .sl-kicker { color: var(--electric); }
html.lay-dock .sl-photo .sl-btn { background: var(--ink); color: #fff; }
html.lay-dock .sl-bar { margin-top: 0; background: #fff; border-top: 1px solid rgba(10,15,28,.08); border-bottom: 1px solid rgba(10,15,28,.08); backdrop-filter: none; -webkit-backdrop-filter: none; }
html.lay-dock .sl-bar .nowplaying { display: none !important; }
html.lay-dock .sl-bar-in { justify-content: center; min-height: 52px; }
html.lay-dock .sl-ctrl { margin: 0; color: var(--ink); }
html.lay-dock .mx-switch { bottom: 96px; }
@media (max-width: 700px) {
  html.lay-dock .sl-photo { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  html.lay-dock .sl-photo .sl-cover { grid-column: 1; grid-row: 1; }
  html.lay-dock .sl-photo .sl-cap { grid-row: 2; padding: 20px var(--gut); }
  html.lay-dock .sl-brand .mx-hero { padding-bottom: 28px; }
}
/* 下に貼り付く帯 */
html.lay-dock .mx-dock:not([hidden]) { display: flex; }
.mx-dock { position: fixed; left: 50%; bottom: 14px; z-index: 90; translate: -50% 0; width: min(760px, calc(100% - 20px)); align-items: center; gap: 12px; padding: 8px 8px 8px 8px;
  border-radius: 20px; background: rgba(10,15,28,.92); color: #fff; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 50px -14px rgba(10,15,28,.55); }
.dk-song { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.dk-art { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #3d7bff, #1c4e98); }
.dk-art .np-icon { height: 20px; }
.dk-txt { min-width: 0; display: grid; gap: 2px; }
.dk-k { color: var(--hot); font: 700 .62rem/1 "Inter", sans-serif; letter-spacing: .18em; }
.dk-txt strong, .dk-artist { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-txt strong { font-size: 1rem; }
.dk-artist { font-size: .85rem; font-weight: 600; opacity: .75; }
.dk-radiko { flex: none; padding-right: 6px; }
.dk-radiko img { display: block; width: auto; height: 38px; }
@media (max-width: 420px) { .dk-radiko img { height: 30px; } .dk-art { width: 44px; height: 44px; } }

/* ============ チューナー: スライドの下に、ラジオの目盛りと表示窓 ============ */
html.lay-tuner .sl-bar .nowplaying { display: none !important; }
html.lay-tuner .sl-bar-in { justify-content: flex-end; }
html.lay-tuner .mx-tuner { display: block; background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.tn-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 20px 40px; padding-top: 28px; padding-bottom: 32px; }
.tn-scale { position: relative; height: 84px; }
.tn-ticks { position: absolute; left: 0; right: 0; top: 18px; height: 30px; border-bottom: 1px solid rgba(255,255,255,.35);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 1px, transparent 1px calc(100% / 7)) bottom / 100% 30px no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px calc(100% / 14)) bottom / 100% 18px no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px calc(100% / 70)) bottom / 100% 9px no-repeat; }
.tn-nums { position: absolute; left: 0; right: 0; top: 56px; display: flex; justify-content: space-between; font: 600 .72rem/1 "Inter", sans-serif; color: rgba(255,255,255,.55); }
.tn-nums span { width: 0; display: flex; justify-content: center; }
/* 77.9MHz の位置: (77.9 - 76) / 14 */
.tn-needle { position: absolute; left: calc(1.9 / 14 * 100%); top: 0; bottom: 22px; width: 2px; background: var(--hot); box-shadow: 0 0 12px rgba(255,74,61,.9); }
.tn-needle b { position: absolute; top: -4px; left: 8px; color: var(--hot); font: 800 .72rem/1 "Inter", sans-serif; white-space: nowrap; }
.tn-display { display: grid; gap: 6px; padding: 18px 22px; border-radius: 14px; background: #10170f; color: #ffc46b; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255,196,107,.18), inset 0 0 30px rgba(255,170,60,.08); font-family: "Space Grotesk", "Inter", "Noto Sans JP", sans-serif; text-shadow: 0 0 10px rgba(255,170,60,.45); }
.tn-display[hidden] { display: none; }
.tn-head { display: flex; align-items: center; gap: 12px; font: 600 .68rem/1 "Inter", sans-serif; letter-spacing: .16em; color: rgba(255,196,107,.7); }
.tn-lamp { padding: 4px 8px; border-radius: 4px; background: var(--hot); color: #fff; text-shadow: none; box-shadow: 0 0 14px rgba(255,74,61,.7); animation: tn-blink 2.4s ease-in-out infinite; }
@keyframes tn-blink { 50% { opacity: .55; } }
.tn-time { margin-left: auto; font-size: .8rem; color: #ffc46b; }
.tn-title { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.tn-artist { font-size: 1rem; font-weight: 600; }
@media (max-width: 760px) {
  .tn-in { grid-template-columns: 1fr; padding-top: 20px; padding-bottom: 24px; }
  .tn-scale { height: 76px; }
}

/* ============ 浮かぶメニュー: スライドがページの一番上から始まり、メニューはその上に浮かぶ角丸の板 ============
   トップページ(.sl-wrap があるページ)だけ。下層ページは今までどおりのヘッダー */
html.lay-float { --sl-h: clamp(460px, 46vw, 580px); }
html.lay-float body:has(.sl-wrap) .site-header { position: fixed; left: 0; right: 0; top: 14px; z-index: 50; padding: 0 14px; background: none; border: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; }
html.lay-float body:has(.sl-wrap) .header-inner { pointer-events: auto; max-width: 1120px; min-height: 60px; padding: 0 10px 0 22px; border-radius: 20px;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.5), 0 18px 40px -16px rgba(10,15,28,.55); }
html.lay-float body:has(.sl-wrap) .nav-toggle[open] nav { top: calc(100% + 8px); border: 0; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.96);
  box-shadow: 0 18px 40px -16px rgba(10,15,28,.55); }
html.lay-float body:has(.sl-wrap) .nav-toggle nav li:first-child a { border-top: 0; }
/* メニューの板の下にスライドの中身が隠れないよう、上に余白をとる */
html.lay-float .sl-brand .mx-hero { padding-top: 116px !important; }
html.lay-float .sl-banner, html.lay-float .sl-pp { padding-top: 104px; }
html.lay-float .sl-photo { padding-top: 104px; }
html.lay-float .sl-art { max-height: calc(var(--sl-h) - 200px); }
/* スライドの上端を少し暗くして、浮いた板を目立たせる */
html.lay-float .sl::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 140px; z-index: 2; pointer-events: none; background: linear-gradient(rgba(10,15,28,.35), transparent); }
@media (max-width: 899px) {
  html.lay-float body:has(.sl-wrap) .site-header { top: 10px; padding: 0 10px; }
  html.lay-float body:has(.sl-wrap) .header-inner { min-height: 54px; padding: 0 8px; border-radius: 16px; }
}
@media (max-width: 700px) {
  html.lay-float { --sl-h: 520px; }
  html.lay-float .sl-brand .mx-hero { padding-top: 92px !important; }
  html.lay-float .sl-banner, html.lay-float .sl-pp, html.lay-float .sl-photo { padding-top: 84px; }
}
html.lay-dock .mx-eyebrow { color: var(--ink); }
html.lay-dock .mx-title { color: var(--ink); }
html.lay-float body:has(.sl-wrap) .header-inner { background: rgba(255,255,255,.92); }

/* ============ 2026-11-13 スライドショーを全体に低くする ============ */
/* モダン(ベース): 見出しを PC では1行にして高さを詰める */
html.m { --sl-h: clamp(280px, 26vw, 340px); }
html.m .sl-brand .mx-hero { gap: 14px; padding-top: 28px; padding-bottom: 84px; }
html.m .sl-brand .mx-title { font-size: clamp(2rem, 3.6vw, 3.2rem); }
html.m .sl-brand .mx-bigfreq { font-size: clamp(5rem, 15vw, 11rem); }
html.m .sl-brand .mx-eq { height: 26px; }
html.m .sl-brand .radiko-btn img { height: 40px; }
html.m .sl-banner, html.m .sl-pp, html.m .sl-photo { padding-top: 20px; padding-bottom: 80px; }
html.m .sl-art { max-height: calc(var(--sl-h) - 104px); }
html.m .sl-jacket { width: clamp(120px, 15vw, 190px); }
html.m .sl-h { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
@media (min-width: 701px) { html.m .sl-brand .mx-title br { display: none; } }
@media (max-width: 700px) {
  html.m { --sl-h: 250px; }
  html.m .sl-brand .mx-hero { gap: 12px; padding-top: 22px; padding-bottom: 24px; }
  html.m .sl-brand .mx-eq { display: none; }
  html.m .sl-banner, html.m .sl-pp, html.m .sl-photo { padding-top: 20px; padding-bottom: 20px; }
  html.m .sl-jacket { width: 34vw; }
}
/* 全画面 → 画面の高さの 7 割ほど */
html.lay-full { --sl-h: max(420px, calc(72svh - 68px)); }
html.lay-full .sl-brand .mx-title { font-size: clamp(2.2rem, 5.4vw, 4.6rem); }
html.lay-full .sl-brand .mx-title br { display: inline; }
html.lay-full .sl-brand .mx-bigfreq { font-size: clamp(7rem, 24vw, 19rem); }
html.lay-full .sl-jacket { width: clamp(150px, 20vw, 280px); }
@media (min-width: 701px) {
  html.lay-full .sl-brand .mx-hero { padding-bottom: 140px; }
  html.lay-full .sl-banner, html.lay-full .sl-pp, html.lay-full .sl-photo { padding-bottom: 140px; }
}
@media (max-width: 700px) { html.lay-full { --sl-h: 56svh; } }
/* カード送り */
html.lay-peek { --sl-h: clamp(240px, 24vw, 300px); }
html.lay-peek .sl-brand .mx-hero { padding-top: 24px; padding-bottom: 28px; }
html.lay-peek .sl-brand .mx-title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
html.lay-peek .sl-banner, html.lay-peek .sl-pp, html.lay-peek .sl-photo { padding-top: 20px; padding-bottom: 20px; }
html.lay-peek .sl-art { max-height: calc(var(--sl-h) - 40px); }
html.lay-peek .sl { padding-top: 18px; }
/* タイル */
html.lay-bento { --sl-h: clamp(220px, 20vw, 270px); }
html.lay-bento .sl-brand .mx-eq { display: none; }
/* ミニプレーヤー */
html.lay-dock .sl-brand .mx-hero { padding-bottom: 28px; }
html.lay-dock .sl-banner, html.lay-dock .sl-pp, html.lay-dock .sl-photo { padding-bottom: 20px; }
html.lay-dock .sl-art { max-height: calc(var(--sl-h) - 44px); }
/* チューナー: モダンと同じ高さ */
/* 浮かぶメニュー: メニューの板の分だけ上に余白が要る */
html.lay-float { --sl-h: clamp(340px, 30vw, 400px); }
html.lay-float .sl-brand .mx-hero { padding-top: 100px !important; }
html.lay-float .sl-banner, html.lay-float .sl-pp, html.lay-float .sl-photo { padding-top: 92px; }
html.lay-float .sl-art { max-height: calc(var(--sl-h) - 176px); }
@media (max-width: 700px) {
  html.lay-float { --sl-h: 330px; }
  html.lay-float .sl-brand .mx-hero { padding-top: 80px !important; }
  html.lay-float .sl-banner, html.lay-float .sl-pp, html.lay-float .sl-photo { padding-top: 76px; }
}
/* ミニプレーヤーのプレゼント: 写真の縦の長さでスライドが高くならないよう、写真は右側に重ねて置く */
html.lay-dock .sl-photo { display: grid; grid-template-columns: minmax(0, 1fr); }
html.lay-dock .sl-photo .sl-cover { position: absolute; inset: 0 0 0 auto; grid-column: auto; grid-row: auto; width: 55%; height: 100%; z-index: -1; }
html.lay-dock .sl-photo .sl-cap { grid-column: 1; max-width: 42%; box-sizing: border-box; padding: 24px 32px 24px var(--gut); }
@media (max-width: 700px) {
  html.lay-dock .sl-photo .sl-cover { inset: 0; width: 100%; }
  html.lay-dock .sl-photo .sl-cap { align-self: end; max-width: none; margin: 0 12px 12px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.94); }
}
/* タイル(2026-11-13): 告知画像が小さく、まわりのぼかしばかりが目立っていたので
   - 操作の帯をスライドに重ねず、スライドの下(明るい地)に出す → スライドの高さを全部画像に使える
   - 告知画像の上下の余白を詰め、スライドの高さいっぱいまで大きくする */
html.lay-bento .sl-wrap { background: none; }
html.lay-bento .sl { background: var(--ink); }
html.lay-bento .sl-bar { margin-top: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--ink); }
html.lay-bento .sl-bar-in { min-height: 44px; padding-top: 6px; padding-bottom: 0; }
html.lay-bento .sl-brand .mx-hero { padding-bottom: 28px; }
html.lay-bento .sl-banner { padding: 14px var(--gut); }
html.lay-bento .sl-art { max-height: calc(var(--sl-h) - 28px); border-radius: 14px; }
html.lay-bento .sl-pp, html.lay-bento .sl-photo { padding-top: 20px; padding-bottom: 24px; }
html.lay-bento .mx-bento { margin-top: 14px; }
@media (max-width: 700px) { html.lay-bento .sl-banner { padding: 12px; } }
/* タイル・スマホ(2026-11-13): 大見出しの1枚を低くして、告知画像のスライドとの高さの差を縮める。
   周波数と「LIVE ON RADIO」を省く(周波数は下の LISTEN のタイルにある) */
@media (max-width: 700px) {
  html.lay-bento { --sl-h: 190px; }
  html.lay-bento .sl-brand .mx-hero { align-content: center; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
  html.lay-bento .sl-brand .mx-eyebrow, html.lay-bento .sl-brand .mx-row { display: none; }
  html.lay-bento .sl-brand .mx-title { font-size: 1.9rem; }
  html.lay-bento .sl-brand .mx-bigfreq { font-size: 6.5rem; }
  html.lay-bento .sl-brand .radiko-btn img { height: 38px; }
  html.lay-bento .sl-pp, html.lay-bento .sl-photo { padding-top: 14px; padding-bottom: 14px; }
  html.lay-bento .sl-pp-in { flex-direction: row; align-items: center; gap: 16px; }
  html.lay-bento .sl-jacket { width: 120px; }
  html.lay-bento .sl-pp .sl-btn, html.lay-bento .sl-photo .sl-p { display: none; }
  html.lay-bento .sl-h { font-size: 1.5rem; }
}
/* スマホ(2026-11-13): すべての案でスライドショーを低くする(タイル案と同じ約190px)。
   大見出しの1枚は見出しと radiko ボタンだけにし、周波数と「LIVE ON RADIO」は省く */
@media (max-width: 700px) {
  html.m { --sl-h: 190px; }
  html.m .sl-brand .mx-hero { align-content: center; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
  html.m .sl-brand .mx-eyebrow, html.m .sl-brand .mx-row { display: none; }
  html.m .sl-brand .mx-title { font-size: 1.9rem; }
  html.m .sl-brand .mx-bigfreq { font-size: 6.5rem; }
  html.m .sl-brand .radiko-btn img { height: 38px; }
  html.m .sl-banner { padding: 12px; }
  html.m .sl-art { max-height: calc(var(--sl-h) - 24px); border-radius: 12px; }
  html.m .sl-pp, html.m .sl-photo { padding-top: 14px; padding-bottom: 14px; }
  html.m .sl-pp-in { flex-direction: row; align-items: center; gap: 16px; }
  html.m .sl-jacket { width: 120px; }
  html.m .sl-pp .sl-btn, html.m .sl-photo .sl-p { display: none; }
  html.m .sl-h { font-size: 1.5rem; }
  html.lay-full { --sl-h: 190px; }
  html.lay-peek { --sl-h: 190px; }
  html.lay-peek .sl { padding-top: 14px; }
  /* 浮かぶメニューは、メニューの板の分(約70px)だけ高い */
  html.lay-float { --sl-h: 260px; }
  html.lay-float .sl-brand .mx-hero { padding-top: 84px !important; }
  html.lay-float .sl-banner, html.lay-float .sl-pp, html.lay-float .sl-photo { padding-top: 80px; }
  html.lay-float .sl-art { max-height: calc(var(--sl-h) - 96px); }
}
/* アクサ生命のセミナーのバナーは、スマホでは横幅いっぱい(余白・角丸なし)に出す(2026-11-13) */
@media (max-width: 700px) {
  html.m .sl-banner[href*="axa-seminar"] { padding: 0; }
  html.m .sl-banner[href*="axa-seminar"] .sl-art { width: 100%; max-width: none; max-height: none; border-radius: 0; box-shadow: none; }
  html.lay-float .sl-banner[href*="axa-seminar"] { padding-top: 70px; }
}
/* 横幅いっぱいのバナーは、ゆっくり寄る動き(1.06倍→1倍)をやめる。端が切れて見えるため */
@media (max-width: 700px) { html.m .sl-banner[href*="axa-seminar"] .sl-art { transform: none !important; transition: none; } }
/* タイル: 並びを画面の横幅いっぱいに広げる(2026-11-13)。両端はタイルどうしの間隔と同じだけあける */
html.lay-bento .mx-bento { max-width: none; padding: 0 14px; }
@media (min-width: 1400px) { html.lay-bento .mx-bento { grid-auto-rows: minmax(220px, auto); } }
@media (max-width: 800px) { html.lay-bento .mx-bento { padding: 0 10px; } }
/* タイル・PC(2026-11-13): 最新のオンエア曲はタイルにせず、スライドショーの下端の帯(すりガラス)に入れる。
   帯の分(64px)だけスライドを高くして、告知画像の大きさは前と同じくらいに保つ。スマホ(800px 以下)は今までどおりタイル */
@media (min-width: 801px) {
  html.lay-bento { --sl-h: clamp(290px, 25vw, 340px); }
  html.lay-bento .sl-wrap { background: var(--ink); }
  html.lay-bento .sl-bar { position: relative; z-index: 2; margin-top: -64px; color: #fff;
    background: rgba(10,15,28,.55); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-top: 1px solid rgba(255,255,255,.12); }
  html.lay-bento .sl-bar-in { justify-content: normal; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
  html.lay-bento .sl-bar .nowplaying:not([hidden]) { display: flex !important; }
  html.lay-bento .sl-brand .mx-hero { padding-bottom: 84px; }
  html.lay-bento .sl-banner { padding: 14px var(--gut) 78px; }
  html.lay-bento .sl-art { max-height: calc(var(--sl-h) - 92px); }
  html.lay-bento .sl-pp, html.lay-bento .sl-photo { padding-bottom: 80px; }
  html.lay-bento .bt-np { display: none !important; }
  html.lay-bento .mx-bento { grid-template-areas: "req radiko pp1 pp2" "present present news news"; grid-auto-rows: minmax(220px, auto); }
}
/* タイル(2026-11-13): 横幅いっぱいをやめ、ヘッダーのメニューと同じ幅(1080px・左右 16px)にそろえる */
html.lay-bento .mx-bento { max-width: 1080px; margin-left: auto; margin-right: auto; padding: 0 16px; }
@media (min-width: 1400px) { html.lay-bento .mx-bento { grid-auto-rows: minmax(200px, auto); } }
@media (max-width: 800px) { html.lay-bento .mx-bento { padding: 0 16px; } }
/* スマホ: オンエア曲が取れない(タイルが隠れている)ときは、その段を詰める */
@media (max-width: 800px) {
  html.lay-bento .mx-bento:has(.bt-np[hidden]) { grid-template-areas: "req radiko" "pp1 pp2" "present present" "news news"; }
}
/* タイル(2026-11-13): 最新のオンエア曲のすぐ下にお知らせを置く。
   PC: スライドショー(帯にオンエア曲)→ お知らせ(横いっぱい)→ リクエスト・radiko・パワープレイ2曲 → プレゼント(横いっぱい)
   スマホ: オンエア曲 → お知らせ → リクエスト・radiko → パワープレイ2曲 → プレゼント */
@media (min-width: 801px) {
  html.lay-bento .mx-bento { grid-template-areas: "news news news news" "req radiko pp1 pp2" "present present present present"; }
  html.lay-bento .bt-news { min-height: 0; }
  html.lay-bento .bt-present { min-height: 260px; }
}
@media (max-width: 800px) {
  html.lay-bento .mx-bento { grid-template-areas: "np np" "news news" "req radiko" "pp1 pp2" "present present"; }
  html.lay-bento .mx-bento:has(.bt-np[hidden]) { grid-template-areas: "news news" "req radiko" "pp1 pp2" "present present"; }
}
/* タイル(2026-11-13): お知らせはタイルにせず、元のモダンの「お知らせ」欄と同じ見た目(大見出し・黒い罫線の一覧)で置く。
   置き場所はこれまでどおりオンエア曲のすぐ下(グリッドの news の位置) */
html.lay-bento .bt-news-sec { grid-area: news; padding: 18px 0 10px; }
html.lay-bento .bt-news-sec .section-head { margin-bottom: 18px; }
html.lay-bento #h-news-b::before { content: "● NEWS"; }
@media (max-width: 800px) { html.lay-bento .bt-news-sec { padding: 16px 0 8px; } }
/* お知らせの見出しの上の「● NEWS」は、見出し「お知らせ」と同じ意味で重なって見えるので出さない(2026-11-13。モダン・タイルとも) */
html.m #h-news::before, html.m #h-news-b::before { content: none; display: none; }

/* タイルのリクエスト(2026-11-13): 元のモダンの「リクエスト・メッセージ」と同じ表現。
   青のグラデーション、右上の薄い白の円、右下に白い丸の矢印(乗せると斜めに回る) */
html.lay-bento .bt-req { background: linear-gradient(120deg, #1c4e98 0%, #3d7bff 100%); }
html.lay-bento .bt-req::before { content: ""; position: absolute; right: -25%; top: -45%; z-index: -1; width: 95%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.12); }
html.lay-bento .bt-req .bt-p { color: rgba(255,255,255,.82); opacity: 1; }
html.lay-bento .bt-req .bt-arrow { right: 18px; bottom: 18px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--brand);
  font-size: 1.4rem; font-weight: 700; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
html.lay-bento .bt-req:hover .bt-arrow { transform: rotate(-45deg); }
@media (max-width: 800px) { html.lay-bento .bt-req .bt-arrow { width: 42px; height: 42px; right: 14px; bottom: 14px; font-size: 1.15rem; } }

/* お知らせの種類ラベルの色分け(2026-11-13。モダン・タイルとも)。決まっていない種類は今までどおりの青 */
html.m .tag[data-cat="お知らせ"] { background: rgba(61,123,255,.12); color: #2a62e0; }
html.m .tag[data-cat="募集"] { background: rgba(255,74,61,.12); color: #d6331f; }
html.m .tag[data-cat="イベント"] { background: rgba(20,163,127,.14); color: #0f8467; }
html.m .tag[data-cat="プレゼント"] { background: rgba(214,51,122,.12); color: #c02a6d; }
html.m .tag[data-cat="番組"] { background: rgba(124,77,255,.12); color: #6a3fe0; }
/* リクエストのタイル: 矢印の丸が説明文に重ならないよう、下に丸の分の余白をとる */
html.lay-bento .bt-req { padding-bottom: 84px; }
@media (max-width: 800px) { html.lay-bento .bt-req { padding-bottom: 66px; } }
/* 「公式SNS・リンク」欄: オンエアリストを外して4つになったので、PC は横4つ、スマホはリンクまとめを1段まるごと + SNS 3つ */
html.m .follow > .card { grid-column: span 6; }
@media (min-width: 760px) {
  html.m .follow { grid-template-columns: repeat(4, 1fr); }
  html.m .follow > .card { grid-column: auto; }
}
/* タイル・PC の帯もすりガラスをやめる(slides.css の 2026-11-13 再対処と同じ理由) */
@media (min-width: 801px) { html.lay-bento .sl-bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10,15,28,.8); } }

/* タイル・スマホ(2026-11-13): 最新のオンエア曲をタイルにせず、スライドショーのすぐ下の細い帯で小さく出す
   (前へ・次へ の下に「NOW PLAYING 時刻」と「曲名 / アーティスト名」の2行)。曲のタイルは出さない */
@media (max-width: 800px) {
  html.lay-bento .bt-np { display: none !important; }
  html.lay-bento .mx-bento, html.lay-bento .mx-bento:has(.bt-np[hidden]) { grid-template-areas: "news news" "req radiko" "pp1 pp2" "present present"; }
  html.lay-bento .sl-wrap { background: var(--ink); }
  html.lay-bento .sl-bar { background: var(--ink); color: #fff; }
  html.lay-bento .sl-bar-in { justify-content: normal; padding-top: 4px; padding-bottom: 10px; }
  html.lay-bento .sl-bar .nowplaying:not([hidden]) { display: flex !important; }
  html.lay-bento .sl-bar .np-label { font-size: .7rem; }
  html.lay-bento .sl-bar .np-en { font-size: .62rem; }
  html.lay-bento .sl-bar .np-title, html.lay-bento .sl-bar .np-artist { font-size: .92rem; }
  html.lay-bento .sl-bar .np-icon { height: 14px; }
}
/* PC: 大見出しのスライドの radiko ボタンは出さない(ヘッダーにあるので。2026-11-13) */
@media (min-width: 801px) { html.lay-bento .sl-brand .radiko-btn { display: none; } }
/* スライドショーの操作ボタン(2026-11-14)。スライドの下の中央に「‹ ● ○ ○ ○ ›」と1列に重ねて出す。
   何枚目かは丸い点で出し(いまの1枚だけ濃い。押すとその1枚へ)、点の左右に前へ・次へ。
   進み具合が伸びる棒・番号・一時停止は出さない */
html.lay-bento .sl-ctrl { position: absolute; z-index: 3; left: 50%; top: calc(var(--sl-h) - 64px - 34px); transform: translateX(-50%); display: flex; align-items: center; gap: 4px; margin: 0; color: #fff; filter: drop-shadow(0 0 3px rgba(10,15,28,.7)); }
html.lay-bento .sl-count { display: none; }
html.lay-bento .sl-dots { gap: 0; }
html.lay-bento .sl-dot { min-width: 20px !important; height: 32px; }
html.lay-bento .sl-dot span { width: 8px; height: 8px; border-radius: 50%; opacity: .45; }
html.lay-bento .sl-dot[aria-current="true"] span { width: 8px; opacity: 1; background: currentColor; }
html.lay-bento .sl-dot[aria-current="true"] span::after { display: none; }
@media (max-width: 800px) { html.lay-bento .sl-ctrl { top: calc(var(--sl-h) - 34px); } }
@media (max-width: 800px) { html.lay-bento .sl-bar-in { padding-top: 10px; } }
/* スマホ: 曲名の帯の右端に「オンエアリスト ↗」を出す(2026-11-13)。帯全体がオンエアリストへのリンク */
@media (max-width: 800px) {
  html.lay-bento .sl-bar .nowplaying { position: relative; padding-right: 116px; }
  html.lay-bento .sl-bar .np-more { display: block; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    padding: 6px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: .72rem; opacity: .85; white-space: nowrap; }
}
/* 「NOW PLAYING」を赤い枠線の角丸で囲む(2026-11-13 試し) */
html.lay-bento .sl-bar .np-en { display: inline-block; padding: 5px 8px 4px 10px; border: 1.5px solid var(--hot); border-radius: 6px; line-height: 1; margin-right: 4px; }
@media (max-width: 800px) { html.lay-bento .sl-bar .np-en { padding: 4px 6px 3px 8px; border-radius: 5px; } }
/* 曲の時刻は出さない(2026-11-13)。古い曲を出さない判定(nowplaying.js)には引き続き時刻を使う */
html.lay-bento .np-time { display: none; }
/* LISTEN(radiko・周波数)のタイルは出さない(2026-11-13)。PC は リクエスト・パワープレイ2曲 の3列、スマホは リクエストを1段まるごと */
html.lay-bento .bt-radiko { display: none !important; }
@media (min-width: 801px) {
  html.lay-bento .mx-bento, html.lay-bento .mx-bento:has(.bt-np[hidden]) { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "news news news" "req pp1 pp2" "present present present"; }
}
@media (max-width: 800px) {
  html.lay-bento .mx-bento, html.lay-bento .mx-bento:has(.bt-np[hidden]) { grid-template-areas: "news news" "req req" "pp1 pp2" "present present"; }
}
/* PC: 大見出しの文字は、スライドの見えている部分(下端の帯 64px を除く)の上下中央に置く(2026-11-13)。
   上下の余白をそろえるため、下の余白 = 上の余白 + 帯の高さ */
@media (min-width: 801px) { html.lay-bento .sl-brand .mx-hero { align-content: center; padding-top: 20px; padding-bottom: calc(20px + 64px); } }

/* 放送休止中(月曜 1:00〜6:00。判定は onair.js)。大見出しの札を灰色の点と「放送休止中」に替える(2026-11-13) */
.mx-eyebrow .air-off { display: none; }
html[data-air="off"] .mx-eyebrow .air-on { display: none; }
html[data-air="off"] .mx-eyebrow .air-off { display: inline; }
html[data-air="off"] .mx-dot { background: rgba(255,255,255,.45); box-shadow: none; animation: none; }
html[data-air="off"] .mx-eyebrow { color: rgba(255,255,255,.75); letter-spacing: .06em; }


/* 曲名の帯を出さないとき(2026-11-13): 放送休止中(data-air="off")と、曲が取れないとき([data-nowplaying] が hidden)。
   帯ごと消し、PC は帯のために空けていた下の余白も戻す(大見出しの文字はスライドの上下中央に、告知画像は帯の分だけ大きく) */
html[data-air="off"] .sl-bar, .sl-wrap:has(.sl-bar [data-nowplaying][hidden]) .sl-bar { display: none; }
@media (min-width: 801px) {
  html[data-air="off"].lay-bento .sl-brand .mx-hero, html.lay-bento .sl-wrap:has(.sl-bar [data-nowplaying][hidden]) .sl-brand .mx-hero { padding-bottom: 20px; }
  html[data-air="off"].lay-bento .sl-banner, html.lay-bento .sl-wrap:has(.sl-bar [data-nowplaying][hidden]) .sl-banner { padding-bottom: 14px; }
  html[data-air="off"].lay-bento .sl-art, html.lay-bento .sl-wrap:has(.sl-bar [data-nowplaying][hidden]) .sl-art { max-height: calc(var(--sl-h) - 28px); }
  html[data-air="off"].lay-bento .sl-photo, html.lay-bento .sl-wrap:has(.sl-bar [data-nowplaying][hidden]) .sl-photo { padding-bottom: 20px; }
}
/* 曲名の帯のイコライザー(動く縦棒)は出さない(2026-11-13) */
html.lay-bento .sl-bar .np-icon { display: none; }

/* CD(木原慶吾&スピリッツ『HISTORY』)のタイル(2026-11-13)。プレゼントと同じ、写真に文字を重ねる形。
   PC はプレゼントの右、スマホはプレゼントの下に1段まるごと */
.bt-cd { grid-area: cd; padding: 0; justify-content: end; color: #fff; min-height: 240px; }
.bt-cd img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.bt-cd::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,15,28,.85), rgba(10,15,28,0) 65%); }
.bt-cd strong { font-size: 1.05rem; }
@media (min-width: 801px) {
  html.lay-bento .mx-bento, html.lay-bento .mx-bento:has(.bt-np[hidden]) { grid-template-areas: "news news news" "req pp1 pp2" "present present cd"; }
  html.lay-bento .bt-cd { min-height: 260px; }
}
@media (max-width: 800px) {
  html.lay-bento .mx-bento, html.lay-bento .mx-bento:has(.bt-np[hidden]) { grid-template-areas: "news news" "req req" "pp1 pp2" "present present" "cd cd"; }
  html.lay-bento .bt-cd img { object-position: 50% 30%; }
}

/* 2026-11-14 エディターのプレビューで、お知らせ・プレゼント・リクエスト・パワープレイが2回出ていた。
   上の「main > …」の指定は、エディターが各ブロックを <div data-block> で包むので効いていなかった(直下の子ではなくなる)。
   タイルのほうを残し、下の欄は包まれていても隠す。タイルの中のお知らせ(#h-news-b)には当たらない */
html.lay-bento main [aria-labelledby="h-present"], html.lay-bento main [aria-labelledby="h-req"],
html.lay-bento main [aria-labelledby="h-pp"], html.lay-bento main [aria-labelledby="h-news"] { display: none; }

/* 2026-11-14 「要素どうしが窮屈」への対処: スライドショー・お知らせ・タイルの間を広げる(タイルどうし 14 → 24px、
   スライドショーの下 14 → 48px、お知らせとタイルの間も広げる。スマホは 10 → 16px) */
html.lay-bento .mx-bento { gap: 24px; margin-top: 48px; }
html.lay-bento .bt-news-sec { padding: 8px 0 32px; }
html.lay-bento .bt-news-sec .section-head { margin-bottom: 24px; }
html.lay-bento .bt { padding: 28px; }
@media (max-width: 800px) {
  html.lay-bento .mx-bento { gap: 16px; margin-top: 28px; }
  html.lay-bento .bt-news-sec { padding: 4px 0 20px; }
  html.lay-bento .bt { padding: 20px; }
}

/* 2026-11-14 スマホ: スライドショーをさらに低くする(190 → 150px)。大見出しの1枚は文字とボタンを少し小さくして収める */
@media (max-width: 700px) {
  html.m, html.lay-bento { --sl-h: 150px; }
  html.m .sl-brand .mx-hero, html.lay-bento .sl-brand .mx-hero { gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  html.m .sl-brand .mx-title, html.lay-bento .sl-brand .mx-title { font-size: 1.6rem; line-height: 1.25; }
  html.m .sl-brand .mx-bigfreq, html.lay-bento .sl-brand .mx-bigfreq { font-size: 5.2rem; }
  html.m .sl-brand .radiko-btn img, html.lay-bento .sl-brand .radiko-btn img { height: 32px; }
  html.m .sl-banner, html.lay-bento .sl-banner { padding-top: 10px; padding-bottom: 10px; }
  html.m .sl-art, html.lay-bento .sl-art { max-height: calc(var(--sl-h) - 20px); }
  html.m .sl-pp, html.m .sl-photo, html.lay-bento .sl-pp, html.lay-bento .sl-photo { padding-top: 10px; padding-bottom: 10px; }
  html.m .sl-h, html.lay-bento .sl-h { font-size: 1.3rem; }
}

/* 2026-11-14 タイルをデータから組み立てるようにした(transform.mjs の readTop)。パワープレイの2曲の置き場所は、並びの番号ではなくクラスで決める */
.bt-pp.bt-pp1 { grid-area: pp1; }
.bt-pp.bt-pp2 { grid-area: pp2; }

/* 2026-11-14 スマホ: タイルの大きさをそろえる。どれも「リクエスト・メッセージ」と同じ、横幅いっぱい・同じ高さにして縦に並べる
   (それまでは、パワープレイの2つが半分の幅、プレゼントと CD が背の高いタイルだった) */
@media (max-width: 800px) {
  html.lay-bento .mx-bento, html.lay-bento .mx-bento:has(.bt-np[hidden]) { grid-template-areas: "news news" "req req" "pp1 pp1" "pp2 pp2" "present present" "cd cd"; grid-auto-rows: auto; }
  html.lay-bento .mx-bento > .bt { height: 150px; min-height: 0; }
  html.lay-bento .bt-pp img { object-position: 50% 35%; }
}

/* 2026-11-14 スマホ: スライドショーの高さを 100px にする。
   大見出しの1枚は、見出し(2行)の右に radiko ボタンを並べる。告知画像は横幅いっぱいにせず、高さに収まる大きさで中央に出す。
   プレゼントの1枚は見出しと文だけ(小見出しとボタンは省く) */
@media (max-width: 700px) {
  html.m, html.lay-bento { --sl-h: 100px; }
  html.m .sl-brand .mx-hero, html.lay-bento .sl-brand .mx-hero { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  html.m .sl-brand .mx-title, html.lay-bento .sl-brand .mx-title { margin: 0; font-size: 1.3rem; line-height: 1.3; }
  html.m .sl-brand .mx-bigfreq, html.lay-bento .sl-brand .mx-bigfreq { font-size: 4rem; }
  html.m .sl-brand .radiko-btn, html.lay-bento .sl-brand .radiko-btn { flex: none; }
  html.m .sl-brand .radiko-btn img, html.lay-bento .sl-brand .radiko-btn img { height: 30px; width: auto; }
  html.m .sl-banner, html.lay-bento .sl-banner, html.m .sl-banner[href*="axa-seminar"] { padding: 8px 12px; }
  html.m .sl-art, html.lay-bento .sl-art, html.m .sl-banner[href*="axa-seminar"] .sl-art { width: auto; max-width: 100%; max-height: calc(var(--sl-h) - 16px); border-radius: 8px; box-shadow: none; }
  html.m .sl-pp, html.m .sl-photo, html.lay-bento .sl-pp, html.lay-bento .sl-photo { align-items: center; padding-top: 8px; padding-bottom: 8px; }
  html.m .sl-photo .sl-kicker, html.m .sl-photo .sl-btn, html.lay-bento .sl-photo .sl-kicker, html.lay-bento .sl-photo .sl-btn { display: none; }
  html.m .sl-photo .sl-cap, html.lay-bento .sl-photo .sl-cap { gap: 2px; }
  html.m .sl-h, html.lay-bento .sl-h { font-size: 1.2rem; }
}
/* 2026-11-14 スマホ: タイルの並び。プレゼントを「リクエスト・メッセージ」のすぐ下に置く */
@media (max-width: 800px) {
  html.lay-bento .mx-bento, html.lay-bento .mx-bento:has(.bt-np[hidden]) { grid-template-areas: "news news" "req req" "present present" "pp1 pp1" "pp2 pp2" "cd cd"; }
}

/* 2026-11-14 プレゼントのタイル: 写真をやめ、「リクエスト・メッセージ」と同じ作り(色の面 + 丸い飾り + 右下の矢印)にする。
   写真の上の文字が読みにくかったため。色はリクエスト(青)と見分けがつくよう濃紺にした。写真はスライドショーの1枚に残る */
html.lay-bento .bt-present { justify-content: flex-start; min-height: 0; padding: 28px 28px 84px; background: linear-gradient(120deg, #0a0f1c 0%, #1c3a70 100%); color: #fff; }
html.lay-bento .bt-present img { display: none; }
html.lay-bento .bt-present::before { content: ""; position: absolute; right: -25%; top: -45%; z-index: -1; width: 95%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.08); }
html.lay-bento .bt-present::after { content: "→"; inset: auto 18px 18px auto; z-index: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--brand);
  font-size: 1.4rem; font-weight: 700; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
html.lay-bento .bt-present:hover::after { transform: rotate(-45deg); }
html.lay-bento .bt-present .bt-cap { gap: 6px; padding: 0; }
html.lay-bento .bt-present .bt-cap .bt-k { color: rgba(255,255,255,.75); }
html.lay-bento .bt-present .bt-p { color: rgba(255,255,255,.82); opacity: 1; }
@media (min-width: 801px) { html.lay-bento .bt-present { min-height: 200px; } }
@media (max-width: 800px) {
  html.lay-bento .bt-present { padding: 20px 20px 66px; }
  html.lay-bento .bt-present::after { width: 42px; height: 42px; inset: auto 14px 14px auto; font-size: 1.15rem; }
}

/* 2026-11-14 プレゼントのタイルの色を、赤〜オレンジにする(濃紺から変更)。白い文字が読める濃さにしてある。矢印の色も合わせる */
html.lay-bento .bt-present { background: linear-gradient(120deg, #c2281d 0%, #ef6a1f 100%); }
html.lay-bento .bt-present::before { background: rgba(255,255,255,.14); }
html.lay-bento .bt-present::after { color: #c2281d; }
html.lay-bento .bt-present .bt-cap .bt-k { color: rgba(255,255,255,.85); }
html.lay-bento .bt-present .bt-p { color: rgba(255,255,255,.92); }

/* 2026-11-14 お知らせのラベル(募集・お知らせ など)の文字を少し大きくする(.68rem → .78rem) */
html.m .news-list .tag { padding: 3px 11px; font-size: .78rem; letter-spacing: .1em; }

/* 2026-11-14 スマホ: スライドショーを少し高くする(100 → 130px)。作りは 100px のときと同じ(見出しの右に radiko ボタン) */
@media (max-width: 700px) {
  html.m, html.lay-bento { --sl-h: 130px; }
  html.m .sl-brand .mx-title, html.lay-bento .sl-brand .mx-title { font-size: 1.55rem; }
  html.m .sl-brand .mx-bigfreq, html.lay-bento .sl-brand .mx-bigfreq { font-size: 5rem; }
  html.m .sl-brand .radiko-btn img, html.lay-bento .sl-brand .radiko-btn img { height: 34px; }
  html.m .sl-h, html.lay-bento .sl-h { font-size: 1.35rem; }
}

/* 2026-11-14 パソコンの幅: タイルの1段目と2段目の高さをそろえる(2段目のプレゼント・CD だけ背が高かった) */
@media (min-width: 801px) {
  /* お知らせの段は中身の高さ、タイルの2段だけ 220px(全部の段を 220px にすると、お知らせがはみ出してタイルに重なる) */
  /* タイルを足して増えた段(3段目から)も同じ 220px にする(2026-11-14。成り行きの高さだと、足したタイルだけ背が違った) */
  html.lay-bento .mx-bento, html.lay-bento .mx-bento:has(.bt-np[hidden]) { grid-template-rows: auto 220px 220px; grid-auto-rows: 220px; }
  html.lay-bento .mx-bento > .bt { min-height: 0; }
}

/* 告知のタイルをデータにした(data/tiles.json。2026-11-14)。2枚目からは決まった場所を持たず、下に順に並ぶ。
   0枚(.no-cd)のときは、プレゼントを横いっぱいにして右の空きをなくす */
html.lay-bento .bt-cd.bt-cd-more { grid-area: auto; }
/* スマホ: 2枚目からのタイルも、ほかのタイルと同じ横幅いっぱいにする(2026-11-14。半分の幅で2つ並び、文字がはみ出していた) */
@media (max-width: 800px) { html.lay-bento .bt-cd.bt-cd-more { grid-column: 1 / -1; } }
html.lay-bento .mx-bento.no-cd .bt-present { grid-column-end: -1; }
