/* 下書き（11-27）トップ格上げ＝A 映画のようにつなぐ／C 明朝の縦組み。_renew_cinema.html だけが読む。本番の renew.css には触らない */
:root{--mincho:"Shippori Mincho","Hiragino Mincho ProN","Yu Mincho",serif}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* A — 第一画面＝映像をスクロールで一コマずつ（動きを止めた端末・JS無しは最初の一コマを静かに置く） */
.cine{position:relative;height:100svh;min-height:560px;background:var(--ink)}
html.fx-on .cine{height:280svh}
.cine__stage{position:sticky;top:0;height:100svh;min-height:560px;overflow:hidden;--p:0;--fade:0}
.cine__poster img,.cine__f{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.06)}
.cine__poster img{object-position:50% 28%;animation:settle 2.6s cubic-bezier(.2,.7,.1,1) both}
.cine__seq{position:absolute;inset:0;pointer-events:none}
.cine__f{opacity:0;object-position:50% 28%}
.cine__f:not([src]){display:none}
.cine__veil{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to top,rgba(12,12,11,.74),rgba(12,12,11,0) 48%),linear-gradient(to left,rgba(12,12,11,.42),rgba(12,12,11,0) 34%)}
/* 抜け（11-27）＝本番トップと同じく、画は画面に残ったまま下へ18%ずれる。同時に薄くなって消える（--x＝第一画面が画面から抜けた割合） */
.cine__poster{position:absolute;inset:0;display:block}
.cine__poster,.cine__seq{transform:translate3d(0,calc(var(--x,0) * 118%),0);opacity:calc(1 - var(--fade))}
.cine__t{transform:translate3d(0,calc(var(--p) * -7svh),0);opacity:calc(1 - var(--fade))}
/* 本番の「下へ読むと KHZ と ART が左右へ割れる」は .hero の時間軸に結ばれている＝ここでは抜け（--fade）で割る */
.cine__t span{animation:none!important;translate:calc(var(--fade) * -22vw) 0}
.cine__t span:last-child{translate:calc(var(--fade) * 22vw) 0}
/* 見出しの帯の読みやすさ＝上端だけ薄く沈める */
.cine__veil{background:linear-gradient(to bottom,rgba(12,12,11,.38),rgba(12,12,11,0) 16%),linear-gradient(to top,rgba(12,12,11,.74),rgba(12,12,11,0) 48%),linear-gradient(to left,rgba(12,12,11,.42),rgba(12,12,11,0) 34%)}

/* 第一画面の和文の縦組みと秒数は外した（11-27オーナー） */
.cine__foot{position:absolute;z-index:2;left:var(--gut);right:var(--gut);bottom:26px;display:flex;justify-content:space-between;align-items:baseline;gap:16px;color:var(--paper);opacity:calc(1 - var(--fade))}
.cine__cue{opacity:calc(1 - var(--p) * 14)}
.cine__bar{position:absolute;z-index:2;left:0;right:0;bottom:0;height:1px;background:var(--paper);opacity:.55;transform-origin:left;transform:scaleX(var(--p))}
@media (max-width:640px){.cine__ttl{display:none}}

.svc p b{font-family:var(--mincho);font-size:14px;letter-spacing:.12em}
.ct__ja{font-family:var(--mincho);font-weight:400}

/* 抜け（11-28）＝スクロールの時間軸で動かす（合成の側で動く＝主スレッドが詰まっても画が遅れない）。exit 0%→100% は JS の --x と同じ幅。対応しない端末は JS の --x/--fade のまま */
@supports (animation-timeline: view()){
  html.fx-on .cine{view-timeline:--cine block}
  html.fx-on .cine__poster,html.fx-on .cine__seq{animation:cineOut linear both;animation-timeline:--cine;animation-range:exit 0% exit 100%}
  html.fx-on .cine__foot{animation:cineFade linear both;animation-timeline:--cine;animation-range:exit 0% exit 100%}
  html.fx-on .cine__t{opacity:1}
  html.fx-on .cine .cine__t span{animation:cineL linear both!important;animation-timeline:--cine!important;animation-range:exit 0% exit 100%!important;translate:none}
  html.fx-on .cine .cine__t span:last-child{animation-name:cineR!important}
}
@keyframes cineOut{0%{transform:translate3d(0,0,0);opacity:1}90%{opacity:0}100%{transform:translate3d(0,118%,0);opacity:0}}
@keyframes cineFade{0%{opacity:1}90%,100%{opacity:0}}
@keyframes cineL{0%{transform:translate3d(0,0,0);opacity:1}90%,100%{transform:translate3d(-22vw,0,0);opacity:0}}
@keyframes cineR{0%{transform:translate3d(0,0,0);opacity:1}90%,100%{transform:translate3d(22vw,0,0);opacity:0}}

/* Images（11-28c）＝本番どおり奥から飛んでくる型（飛んでき方は js/_cinema.js）。9枚に合わせて貼り付きを伸ばす（本番6枚＝420svh）。動きを止めた端末・JS無しは本番どおり */
html.fx-on .rm{height:600svh}

@media (prefers-reduced-motion:reduce){html:not(.fx-on) .cine__poster img{animation:none}}
