/* トップの横幅いっぱいのスライドショーと「最新のオンエア曲」の帯(プレビュー専用)。
   スライドは同じマスに重ねて置き(いちばん背の高いものが全体の高さになる)、表示中の1枚だけを見せる。 */

/* ============ 共通 ============ */
.sl-wrap { --gut: max(20px, calc((100% - 1048px) / 2)); --p: 0; position: relative; }
.sl { position: relative; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.sl-track { display: grid; grid-template-columns: minmax(0, 1fr); }
.sl-wrap:not(.is-ready) .sl-slide { transition: none !important; }
.sl-slide { grid-area: 1 / 1; position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; min-height: var(--sl-h, clamp(300px, 40vw, 480px));
  color: inherit; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.sl-slide.is-on { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; z-index: 1; }
.sl-wrap:not(.is-ready) .sl-slide:first-child { opacity: 1; visibility: visible; }

/* 1枚目: 各案のヒーローを全幅にする */
.sl-brand .mx-hero { margin: 0 !important; border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; box-shadow: none !important;
  min-height: 100% !important; padding-left: var(--gut) !important; padding-right: var(--gut) !important; }

/* 告知画像: 同じ画像をぼかして背景に敷き、本体は中央に収める */
.sl-banner { place-items: center; padding: 32px var(--gut); }
.sl-bg { position: absolute; inset: -60px; z-index: -1; background: var(--img) center / cover; filter: blur(48px) saturate(1.4) brightness(.8); transform: scale(1.1); }
.sl-art { display: block; width: auto; max-width: min(100%, 1100px); max-height: 100%; height: auto; }

/* 写真+文字 */
.sl-photo { align-items: end; padding: 40px var(--gut); }
.sl-cover { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.sl-cap { display: grid; justify-items: start; gap: 10px; max-width: 34em; }
.sl-kicker { font: 700 .72rem/1 "Inter", system-ui, sans-serif; letter-spacing: .24em; }
.sl-h { font-size: clamp(1.8rem, 4.6vw, 3.4rem); line-height: 1.2; }
.sl-p { font-size: 1rem; }
.sl-btn { margin-top: 6px; padding: 10px 22px; font-weight: 700; }

/* パワープレイ */
.sl-pp { place-items: center; padding: 32px var(--gut); }
.sl-pp-in { display: flex; align-items: center; gap: clamp(20px, 5vw, 64px); width: 100%; }
.sl-jacket { flex: none; width: clamp(140px, 28vw, 340px); height: auto; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 600px) {
  .sl-pp-in { flex-direction: column; align-items: start; gap: 18px; }
  .sl-jacket { width: 52vw; }
}

/* 帯: 左に最新のオンエア曲、右にスライドの操作 */
.sl-bar-in { display: flex; align-items: center; gap: 12px 24px; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
.sl-bar .nowplaying { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: nowrap; align-items: center; gap: 4px 16px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; text-decoration: none; }
.sl-bar .nowplaying[hidden] { display: none; }
.np-icon { flex: none; display: flex; align-items: end; gap: 3px; height: 18px; }
.np-icon i { width: 3px; height: 100%; background: currentColor; transform-origin: bottom; animation: mx-eq 1s ease-in-out infinite alternate; }
.np-icon i:nth-child(2) { animation-delay: -.4s; animation-duration: .8s; }
.np-icon i:nth-child(3) { animation-delay: -.7s; animation-duration: 1.1s; }
.np-icon i:nth-child(4) { animation-delay: -.2s; animation-duration: .9s; }
.np-label { flex: none; display: flex; align-items: baseline; gap: 8px; font-size: .78rem; font-weight: 700; }
.np-en { font: 700 .7rem/1 "Inter", system-ui, sans-serif; letter-spacing: .18em; }
.np-ja { display: none; }
.np-time { font-variant-numeric: tabular-nums; }
.np-song { flex: 1 1 auto; min-width: 0; display: flex; align-items: baseline; gap: 4px 12px; overflow: hidden; }
.sl-bar .np-title { flex: none; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.05rem; }
.sl-bar .np-artist { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; opacity: .7; }
.np-more { flex: none; font-size: .78rem; opacity: .7; }
.np-more::after { content: " ↗"; }

.sl-ctrl { flex: none; display: flex; align-items: center; gap: 6px; margin-left: auto; }
.sl-ctrl button { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.sl-prev span, .sl-next span { font-size: 1.6rem; line-height: 1; }
.sl-count { display: none; font: 600 .78rem/1 "Inter", system-ui, sans-serif; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.sl-dots { display: flex; }
.sl-dot { min-width: 24px !important; }
.sl-dot span { position: relative; display: block; width: 18px; height: 3px; overflow: hidden; background: currentColor; opacity: .25; }
.sl-dot[aria-current="true"] span { width: 36px; opacity: 1; background: color-mix(in srgb, currentColor 25%, transparent); }
.sl-dot[aria-current="true"] span::after { content: ""; position: absolute; inset: 0; background: currentColor; transform-origin: left; transform: scaleX(var(--p)); }
/* 一時停止ボタン: 動いているとき ❚❚、止めているとき ▶ */
.sl-pause span { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.sl-wrap.is-paused .sl-pause span { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }

@media (max-width: 700px) {
  .sl-bar-in { flex-wrap: wrap; }
  .sl-bar .nowplaying { flex-basis: 100%; flex-wrap: wrap; }
  .np-song { flex-basis: 100%; flex-wrap: wrap; }
  .sl-bar .np-title { max-width: 100%; white-space: normal; }
  .np-more { display: none; }
  .sl-ctrl { order: -1; margin: 0 auto 0 -6px; }
}
@media (prefers-reduced-motion: reduce) { .np-icon i { animation: none; transform: scaleY(.6); } }

/* ============ 現行(classic): 局の方針どおり。1px の線、青と赤だけ、動きはフェードのみ ============ */
.classic .sl-brand .mx-hero { display: grid; align-content: center; gap: 18px; padding-top: 40px; padding-bottom: 40px; background: var(--brand); color: #fff; }
.classic .mx-bigfreq, .classic .mx-eq, .classic .mx-marquee { display: none; }
.classic .mx-eyebrow { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .2em; }
.classic .mx-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #ff6a55; }
.classic .mx-title { margin: 0; font-size: clamp(2rem, 6vw, 3.8rem); font-weight: 800; line-height: 1.25; }
.classic .mx-title em { font-style: normal; }
.classic .mx-freqs { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; font-size: .8rem; opacity: .9; }
.classic .mx-freqs b { margin-left: 6px; font-size: 1.05rem; }
.classic .mx-hero .radiko-btn { justify-self: start; }
.classic .sl-banner, .classic .sl-pp { background: var(--bg-soft); }
.classic .sl-bg { display: none; }
.classic .sl-photo .sl-cap { padding: 20px 24px; border-radius: var(--radius); background: #fff; color: var(--fg); box-shadow: var(--shadow); }
.classic .sl-kicker { color: var(--brand); }
.classic .sl-btn { border-radius: 999px; background: var(--brand); color: #fff; }
.classic .sl-pp .sl-kicker { color: var(--red); }
.classic .sl-jacket { border: 1px solid var(--line); }
.classic .sl-bar { border-bottom: 1px solid var(--line); background: #fff; }
.classic .sl-bar .nowplaying { color: var(--fg); }
.classic .np-icon, .classic .np-label { color: var(--red); }
.classic .np-en { display: none; }
.classic .np-ja { display: inline; }
.classic .sl-ctrl { color: var(--brand); }

/* ============ モダン(m): 濃紺。ゆっくり寄っていく写真、すりガラスの帯 ============ */
.m { --sl-h: clamp(340px, 36vw, 440px); } /* 2026-11-13 低くした(元 460〜620px) */
.m .sl-wrap { background: var(--ink); color: #fff; }
.m .sl-brand .mx-hero { align-content: end; gap: 18px; padding-top: 36px; padding-bottom: 92px; }
.m .sl-brand .mx-title { font-size: clamp(2.1rem, 5vw, 4rem); }
.m .sl-brand .mx-bigfreq { font-size: clamp(6rem, 19vw, 14rem); }
.m .sl-brand .mx-eq { height: 32px; }
.m .sl-brand .radiko-btn img { height: 44px; }
.m .sl-jacket { width: clamp(140px, 22vw, 260px); }
.m .sl-banner, .m .sl-pp, .m .sl-photo { padding-top: 24px; padding-bottom: 88px; }
.m .sl-art { max-height: calc(var(--sl-h) - 120px); }
@media (max-width: 700px) { .m { --sl-h: 300px; } .m .sl-brand .mx-hero { padding-top: 28px; padding-bottom: 32px; } .m .sl-banner, .m .sl-pp, .m .sl-photo { padding-bottom: 32px; } }
.m .sl-slide { transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), visibility 0s linear 1.1s; }
.m .sl-slide.is-on { transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), visibility 0s; }
.m .sl-cover, .m .sl-art { transform: scale(1.06); transition: transform 7s linear; }
.m .is-on .sl-cover, .m .is-on .sl-art { transform: scale(1); }
.m .sl-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,15,28,.85), rgba(10,15,28,.1) 60%); }
.m .sl-art { border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.m .sl-kicker { color: #9fc0ff; }
.m .sl-h { font-weight: 900; letter-spacing: -.01em; }
.m .sl-btn { border-radius: 999px; background: #fff; color: var(--ink); }
.m .sl-jacket { border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(61,123,255,.6); }
.m .sl-pp .sl-bg { filter: blur(60px) saturate(1.6) brightness(.45); }
.m .sl-bar { position: relative; z-index: 2; margin-top: -64px; 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); }
.m .np-icon { color: var(--hot); }
.m .np-en { color: var(--hot); }
.m .np-time { color: rgba(255,255,255,.6); font-family: "Inter", sans-serif; }
.m .sl-bar .np-title { font-weight: 800; }
.m .np-more { padding: 6px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.m .sl-ctrl button:hover { color: #9fc0ff; }
@media (max-width: 700px) { .m .sl-bar { margin-top: 0; } }

/* ============ エディトリアル(ed): 白と黒。雑誌の表紙のように。番号付きの送り ============ */
.ed { --sl-h: clamp(420px, 46vw, 560px); }
.ed .sl-wrap { border-bottom: 1px solid #111; }
.ed .sl-brand .mx-hero { align-content: center; padding-top: 40px; padding-bottom: 40px; border-bottom: 0; background: #fff; }
.ed .sl-banner, .ed .sl-pp { background: #f3f3f0; }
.ed .sl-bg { display: none; }
.ed .sl-art { outline: 1px solid #111; }
.ed .sl-photo { grid-template-columns: 1fr 1fr; align-items: stretch; padding: 0; background: #fff; }
.ed .sl-photo .sl-cover { position: static; grid-column: 2; grid-row: 1; z-index: 0; filter: grayscale(.2); }
.ed .sl-photo .sl-cap { grid-column: 1; grid-row: 1; align-content: center; padding: 40px 40px 40px var(--gut); border-right: 1px solid #111; }
.ed .sl-kicker { padding-bottom: 10px; border-bottom: 1px solid #111; justify-self: stretch; color: #111; }
.ed .sl-h { font: 800 clamp(2.4rem, 5.6vw, 4.6rem)/1.15 var(--serif); }
.ed .sl-btn { padding: 0 0 4px; border-bottom: 1px solid #111; color: #111; }
.ed .sl-btn::after { content: "  →"; }
.ed .sl-jacket { outline: 1px solid #111; }
.ed .sl-bar { background: #fff; border-top: 1px solid #111; }
.ed .np-icon { display: none; }
.ed .np-label { padding-right: 16px; border-right: 1px solid #111; }
.ed .np-en { letter-spacing: .24em; font-weight: 500; }
.ed .np-en::before { content: "■ "; color: #c2321d; }
.ed .np-time { font: 500 .78rem "Inter", sans-serif; letter-spacing: .1em; }
.ed .sl-bar .np-title { font: 800 1.2rem/1.3 var(--serif); }
.ed .sl-bar .np-artist { font-family: "Inter", "Noto Sans JP", sans-serif; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.ed .sl-dots, .ed .sl-pause { display: none; }
.ed .sl-count { display: inline; min-width: 5.5em; text-align: center; }
.ed .sl-ctrl button { border: 1px solid #111; border-radius: 0; width: 36px; height: 36px; }
.ed .sl-ctrl::after { content: ""; display: block; width: 48px; height: 1px; margin-left: 8px; background: linear-gradient(90deg, #111 calc(var(--p) * 100%), #d0d0d0 0); }
@media (max-width: 700px) {
  .ed .sl-photo { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .ed .sl-photo .sl-cover { grid-column: 1; grid-row: 1; }
  .ed .sl-photo .sl-cap { grid-row: 2; padding: 24px var(--gut); border-right: 0; border-top: 1px solid #111; }
  .ed .np-label { border-right: 0; padding-right: 0; }
}

/* ============ ポップ(pop): 太い黒フチ。スライドは横からワイプで入れ替わる ============ */
.pop { --sl-h: clamp(440px, 46vw, 560px); }
.pop .sl-wrap { border-bottom: 3px solid #111; }
.pop .sl { border-bottom: 3px solid #111; }
.pop .sl-slide { opacity: 1; clip-path: inset(0 0 0 100%); transition: clip-path .7s cubic-bezier(.7,0,.2,1), visibility 0s linear .7s; }
.pop .sl-slide.is-on { clip-path: inset(0); transition: clip-path .7s cubic-bezier(.7,0,.2,1), visibility 0s; z-index: 2; }
.pop .sl-brand .mx-hero { border-top: 0 !important; border-bottom: 0 !important; }
.pop .sl-banner { background: #fff8e1 radial-gradient(#ecdcaa 1.2px, transparent 1.2px) 0 0 / 20px 20px; }
.pop .sl-banner:nth-child(3) { background-color: var(--sky); }
.pop .sl-bg { display: none; }
.pop .sl-art { border: 3px solid #111; border-radius: 18px; box-shadow: 8px 8px 0 #111; transform: rotate(-1.2deg); }
.pop .sl-photo .sl-cap { padding: 22px 26px; border: 3px solid #111; border-radius: 22px; background: #fff; box-shadow: 6px 6px 0 #111; transform: rotate(-1deg); }
.pop .sl-kicker { justify-self: start; padding: 5px 10px; border: 2px solid #111; border-radius: 999px; background: var(--pink); color: #111; }
.pop .sl-h { font: 400 clamp(1.9rem, 4.6vw, 3.4rem)/1.25 var(--pd); }
.pop .sl-btn { border: 3px solid #111; border-radius: 999px; background: var(--y); color: #111; box-shadow: 4px 4px 0 #111; font-weight: 900; }
.pop .sl-pp { background: var(--mint); }
.pop .sl-jacket { border: 3px solid #111; border-radius: 18px; box-shadow: 8px 8px 0 #111; transform: rotate(2deg); }
.pop .sl-pp .sl-h { text-shadow: 3px 3px 0 #fff; }
.pop .sl-bar { background: var(--mint); }
.pop .sl-bar .nowplaying { color: #111; }
.pop .np-icon { display: none; }
.pop .np-label { padding: 6px 12px; border: 2px solid #111; border-radius: 999px; background: #ff4a3d; color: #fff; box-shadow: 3px 3px 0 #111; transform: rotate(-3deg); }
.pop .np-en { letter-spacing: .1em; font-weight: 900; }
.pop .np-en::before { content: "● "; }
.pop .sl-bar .np-title { font: 400 1.25rem/1.3 var(--pd); }
.pop .sl-bar .np-artist { font-weight: 900; opacity: 1; }
.pop .np-more { padding: 4px 12px; border: 2px solid #111; border-radius: 999px; background: #fff; opacity: 1; font-weight: 900; }
.pop .sl-ctrl button { width: 40px; height: 40px; border: 2px solid #111; border-radius: 50%; background: #fff; box-shadow: 3px 3px 0 #111; }
.pop .sl-ctrl .sl-dot { width: 22px !important; min-width: 22px !important; height: 22px; box-shadow: 2px 2px 0 #111; }
.pop .sl-dots { gap: 6px; padding: 0 4px; }
.pop .sl-dot span { width: 100% !important; height: 100%; border-radius: 50%; background: transparent !important; opacity: 1; }
.pop .sl-dot[aria-current="true"] { background: var(--pink); }
.pop .sl-dot[aria-current="true"] span::after { display: none; }
@media (prefers-reduced-motion: reduce) { .pop .sl-slide { clip-path: none; opacity: 0; } .pop .sl-slide.is-on { opacity: 1; } }

/* ============ やわらか(soft): クリーム色。角の丸い大きなカードがふわっと入れ替わる ============ */
.soft { --sl-h: clamp(420px, 46vw, 540px); }
.soft .sl-wrap { padding: 16px 0 0; }
.soft .sl { margin: 0 12px; border-radius: 36px; box-shadow: var(--shadow); }
.soft .sl-slide { transition: opacity 1s ease, transform 1s ease, visibility 0s linear 1s; transform: scale(1.03); }
.soft .sl-slide.is-on { transform: none; transition: opacity 1s ease, transform 1s ease, visibility 0s; }
.soft .sl-brand .mx-hero::after { display: none; }
.soft .sl-banner { background: #f3ece2; }
.soft .sl-bg { filter: blur(50px) saturate(1.2) brightness(1.15); opacity: .7; }
.soft .sl-art { border-radius: 24px; box-shadow: var(--shadow); }
.soft .sl-photo .sl-cap { padding: 24px 28px; border-radius: 28px; background: rgba(250,245,237,.94); color: #3b3631; }
.soft .sl-kicker { color: var(--terra); letter-spacing: .16em; }
.soft .sl-h { font-weight: 900; }
.soft .sl-btn { border-radius: 999px; background: var(--terra); color: #fff; }
.soft .sl-pp { background: #e7efe9; }
.soft .sl-pp .sl-bg { opacity: .35; }
.soft .sl-jacket { border-radius: 28px; box-shadow: 0 24px 48px -18px rgba(70,90,80,.45); }
.soft .sl-bar-in { margin-top: 12px; padding: 10px 14px 10px 18px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); max-width: 1048px; }
.soft .sl-bar { padding: 0 16px; }
.soft .np-icon { width: 34px; height: 34px; padding: 9px 8px; align-items: end; justify-content: center; border-radius: 50%; background: var(--terra); color: #fff; }
.soft .np-icon i { width: 3px; border-radius: 2px; }
.soft .np-en { display: none; }
.soft .np-ja { display: inline; color: var(--terra); }
.soft .np-time { color: var(--muted); font-weight: 500; }
.soft .sl-bar .np-title { font-weight: 900; }
.soft .np-more { color: #2f5f9e; opacity: 1; }
.soft .sl-ctrl { color: var(--terra); }
.soft .sl-dots { gap: 2px; }
.soft .sl-dot span { width: 8px; height: 8px; border-radius: 99px; transition: width .4s ease; }
.soft .sl-dot[aria-current="true"] span { width: 28px; }
@media (max-width: 700px) {
  .soft .sl { margin: 0 8px; border-radius: 28px; }
  .soft .sl-bar-in { border-radius: 24px; }
}

/* ============ ナイト(night): 真っ暗。ネオンの縁取りと回るレコード ============ */
.night { --sl-h: clamp(460px, 52vw, 600px); }
.night .sl-wrap { background: #07070d; color: #e9ecf5; }
.night .sl-brand .mx-hero { padding-top: 56px; padding-bottom: 56px; border-top: 0 !important; border-bottom: 0 !important; }
.night .sl-slide { transition: opacity 1s ease, filter 1s ease, visibility 0s linear 1s; filter: blur(12px); }
.night .sl-slide.is-on { filter: none; transition: opacity 1s ease, filter 1s ease, visibility 0s; }
.night .sl-bg { filter: blur(60px) saturate(1.8) brightness(.35); }
.night .sl-art { border-radius: 16px; box-shadow: 0 0 0 1px rgba(34,228,255,.5), 0 0 40px rgba(34,228,255,.35), 0 0 120px rgba(255,63,208,.25); }
.night .sl-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,7,13,.92), rgba(7,7,13,.2) 70%); }
.night .sl-cover { filter: saturate(1.2) hue-rotate(-10deg); }
.night .sl-kicker { color: var(--cyan); text-shadow: 0 0 12px rgba(34,228,255,.7); }
.night .sl-h { font-family: var(--sg); font-weight: 700; }
.night .sl-btn { border: 1px solid var(--cyan); border-radius: 999px; color: var(--cyan); box-shadow: 0 0 18px rgba(34,228,255,.35), inset 0 0 12px rgba(34,228,255,.2); }
.night .sl-pp .sl-kicker { color: var(--mag); text-shadow: 0 0 12px rgba(255,63,208,.7); }
.night .sl-jacket { border-radius: 50%; box-shadow: 0 0 0 10px #111, 0 0 0 11px rgba(255,255,255,.12), 0 0 60px rgba(255,63,208,.45); animation: night-spin 12s linear infinite; }
@keyframes night-spin { to { transform: rotate(1turn); } }
.night .sl-bar { background: rgba(255,255,255,.03); border-top: 1px solid rgba(34,228,255,.25); border-bottom: 1px solid rgba(255,255,255,.06); box-shadow: 0 -1px 24px rgba(34,228,255,.12); }
/* 回るレコード */
.night .np-icon { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle, var(--mag) 0 5px, #07070d 5px 7px, transparent 7px), repeating-radial-gradient(circle, #1a1a24 0 2px, #0c0c12 2px 4px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 18px rgba(255,63,208,.4); animation: night-spin 3s linear infinite; }
.night .np-icon i { display: none; }
.night .np-en { color: var(--mag); text-shadow: 0 0 10px rgba(255,63,208,.7); }
.night .np-time { color: var(--muted); font-family: var(--sg); }
.night .sl-bar .np-title { color: #fff; font-family: var(--sg); font-weight: 700; }
.night .np-more { color: var(--cyan); opacity: 1; }
.night .sl-dot span { background: var(--cyan); }
.night .sl-dot[aria-current="true"] span::after { box-shadow: 0 0 10px var(--cyan); }
.night .sl-ctrl button:hover { color: var(--cyan); }
@media (prefers-reduced-motion: reduce) { .night .sl-slide { filter: none; } }
.m .sl-photo .sl-kicker { color: #fff; }
/* モダン: アーティスト名はグレーにせず、「/」で区切って白で出す(2026-11-13) */
.m .sl-bar .np-song { gap: 4px 0; }
.m .sl-bar .np-artist { color: #fff; opacity: 1; font-size: 1.05rem; font-weight: 700; }
.m .sl-bar .np-artist::before { content: "/"; margin: 0 .6em; }
.m .sl-bar .np-artist:empty { display: none; }
/* スマホ: 曲名と「/ アーティスト名」を文章のように続けて折り返す(行頭に「/」だけが来ないように) */
@media (max-width: 700px) {
  .m .sl-bar .np-song { display: block; }
  .m .sl-bar .np-title, .m .sl-bar .np-artist { display: inline; white-space: normal; }
  .m .sl-bar .np-artist:empty { display: none; }
}
/* 「/ アーティスト名」はまとめて次の行へ送る(名前の途中で1文字だけ折り返さない)。1行に入らない長さのときだけ中で折り返す */
@media (max-width: 700px) { .m .sl-bar .np-artist { display: inline-block; max-width: 100%; } }
/* 一時停止ボタンは出さない(2026-11-13 要望)。マウスを乗せている間・フォーカス中は止まる */
.sl-pause { display: none !important; }
/* スマホで次の行に送られたとき、「/」の前に余白が残らないよう、余白は曲名の側に付ける */
@media (max-width: 700px) { .m .sl-bar .np-title { margin-right: .6em; } .m .sl-bar .np-artist::before { margin-left: 0; } }
/* スマホで曲名と「/ アーティスト名」に段差が出ていた(2026-11-13)。
   overflow: hidden の inline-block は下端がベースラインになり、行の中で持ち上がる。スマホでは overflow を戻す */
@media (max-width: 700px) { .m .sl-bar .np-artist { overflow: visible; text-overflow: clip; } }

/* 2026-11-13 「カーソルを乗せないと背景が出ないことがある」への対処(モダン・タイル)。
   - 隠すスライドを visibility: hidden で消すのをやめ、透明にするだけにする。
     visibility の切り替えと、強いぼかし(filter: blur)・帯のすりガラス(backdrop-filter)が重なると、
     ブラウザ(特に Safari)が描き直しを取りこぼし、マウスを乗せるまで背景が描かれないことがある。
     見えないスライドは inert で操作・読み上げの対象から外しているので、visibility は要らない。
   - スライドとぼかしの背景を、それぞれ別の描画レイヤーに分けておく(切り替えのたびに描き直さない) */
.m .sl-slide, .m .sl-slide.is-on { visibility: visible; transition: opacity 1.1s cubic-bezier(.2,.7,.2,1); }
.m .sl-slide:not(.is-on) { pointer-events: none; }
.m .sl-slide { will-change: opacity; transform: translateZ(0); }
.m .sl-bg { will-change: transform; transform: translateZ(0) scale(1.1); backface-visibility: hidden; -webkit-backface-visibility: hidden; }

/* 2026-11-13 再対処: まだ「カーソルを乗せないと背景が出ない」ため、スライドショーの中では
   ぼかし(filter)・すりガラス(backdrop-filter)・重ね合わせ(mix-blend-mode)を一切使わない作りにする。
   - 告知画像・ジャケットの背景: 同じ画像を幅24pxに縮めたものを引き伸ばして敷く(ブラウザの拡大で自然にぼける)。暗さは半透明の色を重ねて出す
   - 大見出しの青と赤の光: もともと縁がやわらかいグラデーションなので、ぼかしを外す。ざらつき(ノイズ)の重ね合わせは外す
   - 下端の帯: すりガラスをやめ、濃い紺の半透明にする */
html.m .sl-bg { inset: 0; filter: none; transform: none; will-change: auto;
  background: linear-gradient(rgba(10,15,28,.2), rgba(10,15,28,.2)), var(--img) center / cover; }
html.m .sl-pp .sl-bg { filter: none; background: linear-gradient(rgba(10,15,28,.55), rgba(10,15,28,.55)), var(--img) center / cover; }
html.m .sl-brand .mx-hero::before { filter: none; }
html.m .sl-brand .mx-hero::after { display: none; }
html.m .sl-bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10,15,28,.8); }
html.m .sl-art, html.m .sl-cover { transition: none; transform: none !important; }
html.m .sl-brand .mx-eyebrow { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.1); }

/* 2026-11-13 再々対処: まだ「カーソルを乗せないと HY LIVE・アクサの画像が出ない」ため、切り替え方そのものを変える。
   スライドを同じ場所に重ねて透明度(opacity)で切り替える作りをやめ、横一列に並べて帯ごと横へ送る。
   透明度0のものは、ブラウザが描画を後回しにして、表示に切り替えたあと描き直さないことがある(これが原因と見ている)。
   横に並べる作りでは、どのスライドも常に不透明なので、この問題が起きない */
html.m .sl-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; grid-template-columns: none;
  transform: translateX(calc(var(--i, 0) * -100%)); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
html.m .sl-wrap:not(.is-ready) .sl-track { transition: none; }
html.m .sl-slide, html.m .sl-slide.is-on, html.m .sl-wrap:not(.is-ready) .sl-slide:first-child {
  grid-area: auto; opacity: 1; visibility: visible; transition: none; will-change: auto; transform: none; z-index: auto; }
@media (prefers-reduced-motion: reduce) { html.m .sl-track { transition: none; } }

/* 2026-11-14 「スライドショーの背景が点滅する」への対処。
   - 大見出しのスライドの青と赤の光を、ゆっくり動かす(mx-drift)のをやめて止める。
     枠より大きい(inset: -25%)グラデーションを回しながら拡大していたので、Safari が描き直すたびにちらついて見える
   - あわせて slides.js で、進み具合(--p)を毎フレーム スライドショー全体に書くのをやめた(点の並びにだけ書く) */
html.m .sl-brand .mx-hero::before { animation: none; transform: none; }
