/* M84：スマホ用の縦スワイプ動画（YouTube埋め込み）。900px以下でだけ開く。PCは従来の小窓のまま。 */
.power-future .power-future-cm-copy .pf-cm-sp { display: none; }
@media (max-width: 900px) {
  .power-future .power-future-cm[data-shorts-feed] .power-future-cm-copy .pf-cm-pc { display: none; }
  .power-future .power-future-cm[data-shorts-feed] .power-future-cm-copy .pf-cm-sp { display: inline; }
}
html.sf-open { overflow: hidden; }
dialog.sf { --sf-ac: #ffd24a; --sf-ink: #071126; position: fixed; inset: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #fff; overflow: hidden; font-family: inherit; }
dialog.sf[data-kind="visual"] { --sf-ac: #c6ff2e; --sf-ink: #0a0a0a; }
dialog.sf::backdrop { background: #000; }
dialog.sf:focus { outline: none; }
/* 再生部品は1つだけを中央に固定し、その上に透明なスクロール面（.sf-track）を重ねる */
.sf-player { position: absolute; left: 50%; top: 50%; z-index: 1; width: min(100vw, calc(100vh * 9 / 16)); width: min(100vw, calc(100dvh * 9 / 16)); aspect-ratio: 9 / 16; transform: translate(-50%, -50%); background: #000; overflow: hidden; }
.sf-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sf-track { position: absolute; inset: 0; z-index: 2; overflow-y: auto; overflow-x: hidden; scroll-snap-type: y mandatory; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.sf-track::-webkit-scrollbar { display: none; }
.sf-slide { position: relative; height: 100vh; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; }
.sf-stage { position: relative; width: min(100vw, calc(100vh * 9 / 16)); width: min(100vw, calc(100dvh * 9 / 16)); aspect-ratio: 9 / 16; overflow: hidden; }
.sf-stage img, .sf-hit { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sf-stage img { object-fit: cover; transition: opacity .18s; }
/* 再生が始まったスライドだけサムネイルを消して、下の再生部品を見せる */
.sf-slide.is-live .sf-stage img, .sf.is-direct .sf-stage img { opacity: 0; }
.sf-hit { all: unset; position: absolute; inset: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: pan-y; }
/* 「動かない・音が出ないとき」：スクロール面のタップを素通しにして、YouTubeの画面を直接さわれるようにする */
.sf.is-direct .sf-track { pointer-events: none; }
.sf.is-direct .sf-end { pointer-events: auto; }
.sf-top { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px; padding: calc(8px + env(safe-area-inset-top)) 10px 18px; background: linear-gradient(#000c, #0000); pointer-events: none; }
.sf-top > * { pointer-events: auto; }
/* .sf-btn は all: unset のため pointer-events が親の none を引き継ぐ。ここで戻さないと✕が押せない（2026-10-06 実機で発覚）。 */
.sf .sf-top .sf-btn { pointer-events: auto; }
/* 題名はYouTube側にも出るので、画面には出さず読み上げ用にだけ残す */
.sf-title { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sf-top { justify-content: space-between; }
.sf-count { flex: none; font-size: 14px; font-weight: 700; color: var(--sf-ac); font-variant-numeric: tabular-nums; }
.sf .sf-btn { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; border-radius: 24px; background: #000a; border: 1px solid #fff6; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sf .sf-btn:focus-visible { outline: 3px solid var(--sf-ac); outline-offset: 2px; }
.sf .sf-btn[disabled] { opacity: .35; }
.sf-side { position: absolute; right: 8px; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 3; display: flex; flex-direction: column; gap: 10px; }
.sf-side svg { width: 22px; height: 22px; }
.sf .sf-sound { position: absolute; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 3; transform: translateX(-50%); padding: 0 20px; gap: 8px; white-space: nowrap; }
.sf .sf-sound[aria-pressed="false"] { background: var(--sf-ac); border-color: var(--sf-ac); color: var(--sf-ink); }
.sf .sf-help { position: absolute; left: 10px; top: calc(66px + env(safe-area-inset-top)); z-index: 3; min-height: 36px; padding: 0 12px; font-size: 14px; font-weight: 600; background: #0008; }
/* 動画ごとの「本編を見る」。対応する本編がページに無い動画では出ない */
.sf .sf-full { position: absolute; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 3; transform: translateX(-50%); padding: 0 22px; white-space: nowrap; border-color: var(--sf-ac); color: var(--sf-ac); }
.sf .sf-full[hidden] { display: none; }
.sf.is-end .sf-sound, .sf.is-end .sf-help, .sf.is-end .sf-full { display: none; }
.sf-end { flex-direction: column; gap: 14px; padding: 24px; text-align: center; background: var(--sf-ink); }
.sf-end h2 { margin: 0 0 6px; font-size: 22px; line-height: 1.5; color: #fff; }
.sf-end p { margin: 0 0 10px; font-size: 15px; line-height: 1.7; color: #dbe7f5; }
.sf .sf-end .sf-btn { width: min(100%, 300px); padding: 0 18px; }
.sf .sf-end .sf-btn.is-main { background: var(--sf-ac); border-color: var(--sf-ac); color: var(--sf-ink); }

/* M85：30秒動画の入口の帯（中身は shorts-feed.js が入れる）。900px以下でだけ出す */
[data-shorts-strip] { display: none; }
@media (max-width: 900px) {
  [data-shorts-strip]:not(:empty) { display: block; padding: 18px 0 20px; background: #071126; color: #fff; }
  body.editorial-home [data-shorts-strip]:not(:empty) { background: #0a0a0a; }
  .container > [data-shorts-strip]:not(:empty) { margin: 0 0 24px; border-radius: 16px; }
  .sfs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 16px 12px; }
  .sfs-head strong { color: #fff; font-size: 18px; font-weight: 800; line-height: 1.4; }
  .sfs-head span { flex: none; color: #c9dbe6; font-size: 14px; line-height: 1.4; }
  .sfs-row { display: flex; gap: 10px; padding: 0 16px 4px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .sfs-row::-webkit-scrollbar { display: none; }
  .sfs-row .sfs-card { flex: none; width: 132px; scroll-snap-align: start; color: #fff; text-decoration: none; }
  .sfs-row .sfs-card img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border: 2px solid #ffd24a; border-radius: 12px; background: #000; }
  body.editorial-home .sfs-row .sfs-card img { border-color: #c6ff2e; }
  .sfs-row .sfs-card span { display: block; margin-top: 6px; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.4; }
  .sfs-row .sfs-card:focus-visible { outline: 3px solid #ffd24a; outline-offset: 3px; border-radius: 12px; }
}

/* M89：無音で再生中は、音を出すボタンを大きくして目立たせる（iPhoneはタップなしでは音を出せないため） */
.sf.is-quiet .sf-sound { min-height: 56px; padding: 0 28px; font-size: 17px; box-shadow: 0 0 0 0 rgba(255, 210, 74, .7); animation: sf-pulse 1.6s ease-out infinite; }
@keyframes sf-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 74, .7); } 100% { box-shadow: 0 0 0 18px rgba(255, 210, 74, 0); } }
@media (prefers-reduced-motion: reduce) { .sf.is-quiet .sf-sound { animation: none; } }

/* M96：最初の画面の直下に置くCM「就職先が、ヤバい。」の大きな入口（両版・PCとスマホ） */
.cm-first { display: block; background: radial-gradient(120% 150% at 18% 0%, #6b1414 0%, #1a070b 52%, #071126 100%); color: #fff; text-decoration: none; }
.cm-first-inner { display: flex; align-items: center; gap: clamp(16px, 4vw, 44px); max-width: 920px; margin: 0 auto; padding: clamp(20px, 4vw, 36px) clamp(16px, 4vw, 32px); }
.cm-first-thumb { position: relative; flex: none; width: clamp(120px, 36vw, 200px); border: 2px solid #ffd24a; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 12px 34px rgba(0, 0, 0, .5); }
.cm-first-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.cm-first-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border: 2px solid #fff; border-radius: 50%; background: rgba(5, 11, 26, .72); }
.cm-first-play::after { content: ""; position: absolute; left: 27px; top: 20px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
.cm-first-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.cm-first-eyebrow { color: #ffd24a; font-size: clamp(15px, 2vw, 18px); font-weight: 800; line-height: 1.4; }
.cm-first-copy strong { color: #fff; font-size: clamp(30px, 8.4vw, 60px); font-weight: 900; line-height: 1.2; letter-spacing: .01em; }
.cm-first-copy strong em { display: block; color: #ff4b2b; font-style: normal; }
.cm-first-sub { color: #dbe7f5; font-size: clamp(14px, 1.8vw, 17px); line-height: 1.6; }
.cm-first-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 6px; padding: 0 24px; border-radius: 24px; background: #ffd24a; color: #071126; font-size: 16px; font-weight: 800; line-height: 1.2; }
.cm-first-cta::before { content: ""; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; }
.cm-first:focus-visible { outline: 3px solid #ffd24a; outline-offset: -3px; }
@media (hover: hover) { .cm-first:hover .cm-first-cta { background: #fff; } }
