/* ==========================================================
   テーマ（11/29 本番反映）：Apple Watch のページのスタイルを白黒反転したもの
   - 白い舞台に墨の文字。カード・メニュー・フッターは薄いグレー（#f5f5f7）
   - ことばの帯・施設カード・INFINITY BASEの欄など、見せ場は黒い面にして挟む
   - カード28pxの角丸、ボタンは丸。影は使わない。金色・差し色は使わない
   - 画面に入るたびに、下から少し上がりながら現れる（main.js の .af）
   参考：Refero Styles「Apple Watch Series 12」
   ========================================================== */
html:root body{background:var(--bg);color:var(--fg)}
html:root .scene-ib{background:var(--bg)}
html:root :is(.fac-list,.rows,.dl,.biz,.points,.grow article,.sched thead th){border-color:var(--rule)}
html:root :is(.plans article,.line-cards a){border:0;background:var(--card);border-radius:var(--r);padding:var(--card-pad)}
html:root .line-cards a:hover{background:var(--card-hover);color:var(--fg)}
html:root .staff article .ph{background:var(--card);color:var(--rule)}
html:root .bookpanel{background:var(--card-hover);color:var(--fg);box-shadow:none;border-radius:var(--r)}
html:root .bookpanel li a:hover{background:rgba(255,255,255,.08)}
html:root :is(.cert img,.sd-video){box-shadow:none}
html:root :is(.hero,.phero){margin:0;border-radius:0}
html:root .hero{height:100svh}
html:root .ft{margin:0;border-radius:0}
html:root .hero{background:#000}
html:root :is(.band-ash,.fac-feature,.svc-card.ash .ph){background:#ffffff;color:#1d1d1f}
html:root .band-ash .band-t{color:#1d1d1f}
html:root .fac-feature .badge{background:#1d1d1f;color:#f5f5f7;border-radius:5px}
html:root .hd.solid{background:rgba(17,17,17,.8);color:#f5f5f7;border-bottom:0;backdrop-filter:saturate(180%) blur(20px)}
html:root :is(.book,.btn.primary){border-radius:980px;font-weight:400}
html:root .btn{border-radius:980px;border-color:#f5f5f7;font-weight:400}
html:root .btn:hover{background:#f5f5f7;color:#1d1d1f}
html:root .mn-fac a{border-radius:980px;padding-inline:22px}
html:root{--bg:#ffffff;--fg:#1d1d1f;--black:#000000;--white:#f5f5f7;--card:#f5f5f7;--card-hover:#e8e8ed;--rule:#d2d2d7;--ash:#f5f5f7;--ash-soft:#e8e8ed;--stone:#6e6e73;--line:rgba(0,0,0,.12);--line-inv:rgba(255,255,255,.14);--r:28px;--r-m:28px;--r-s:10px;--card-pad:32px}
html:root :is(.band-ash,.fac-feature,.svc-card.ash .ph){background:#000000;color:#f5f5f7}
html:root .band-ash .band-t{color:#f5f5f7}
html:root .fac-feature dl{border-top-color:rgba(255,255,255,.2)}
html:root .fac-feature .badge{background:#f5f5f7;color:#1d1d1f}
html:root .kicker::before{background:#1d1d1f}
html:root .hd.solid{background:rgba(255,255,255,.8);color:#1d1d1f}
html:root .bookpanel li a:hover{background:rgba(0,0,0,.06)}
html:root :is(.ft,.menu){background:#f5f5f7;color:#1d1d1f;--line-inv:rgba(0,0,0,.14)}
html:root .mn-bar .brand{color:#1d1d1f}
html:root .mn-svc a{color:#fff}
html:root :is(.mn-sub,.mn-body h3,.mn-fac span){color:#6e6e73}
html:root :is(.mn-links a:hover,.mn-sub a:hover,.ft-grid a:hover){color:#6e6e73}
html:root .mn-fac a:hover{border-color:#1d1d1f;background:rgba(0,0,0,.04)}
html:root .btn{border-color:#1d1d1f}
html:root .btn:hover{background:#1d1d1f;color:#fff}
html:root .af{opacity:0;transform:translateY(32px);transition:opacity .9s cubic-bezier(.25,.1,.25,1),transform .9s cubic-bezier(.25,.1,.25,1)}
html:root .af.af-in{opacity:1;transform:none}
html:root .fac-feature{background:#000000!important}
html:root :is(.ft,.menu) .brand{color:#1d1d1f!important}
html:root .corp{background:var(--black)!important;color:var(--white);min-height:88svh;display:flex;align-items:flex-end;margin:0 8px;border-radius:var(--r);padding-block:clamp(56px,7vw,104px)}
html:root .corp .wrap{position:static;display:block;width:100%}
html:root .corp .wrap>div:first-child{position:relative;z-index:2}
html:root .corp .ph{position:absolute;inset:0;aspect-ratio:auto;border-radius:0;z-index:0}
html:root .corp::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.15) 35%,rgba(0,0,0,.82))}
html:root .corp h2{font-size:clamp(32px,4.5vw,68px);line-height:1.25;text-wrap:balance}
html:root .corp .lead{color:var(--white);opacity:.86;max-width:38em}
html:root .corp .kicker{color:var(--white)}
html:root .corp .kicker::before{background:currentColor}
html:root .sd-copy h2{font-size:clamp(28px,3.5vw,54px);line-height:1.3;margin-bottom:18px}
html:root .ibs-title{font-size:clamp(38px,4.4vw,68px);margin-bottom:32px}
html:root .scene-ib{background:#000;color:#f5f5f7;--line:rgba(255,255,255,.16);--stone:#86868b}
html:root .ibs-bar i{background:#f5f5f7}
/* 予約ボタン：青は使わない。写真の上では薄いグレー、明るい面の上では墨 */
html:root :is(.book,.btn.primary){background:#f5f5f7;color:#1d1d1f;border-color:#f5f5f7}
html:root :is(.book:hover,.btn.primary:hover){background:#e8e8ed;color:#1d1d1f}
html:root .hd.solid~.book{background:#1d1d1f;color:#fff}
html:root :is(.ft,main) .btn.primary{background:#1d1d1f;color:#fff;border-color:#1d1d1f}
html:root :is(.ft,main) .btn.primary:hover{background:#333336;color:#fff}
/* FVのお知らせラベルは白 */
html:root .hero-bar .news b{background:#fff;color:#1d1d1f;border-radius:5px}
/* 黒い面の中のカード（アカデミーの料金など）は、文字が消えないよう濃いグレーに */
html:root .sec-dark :is(.plans article,.line-cards a){background:#1d1d1f;color:#f5f5f7}
html:root .sec-dark .line-cards a:hover{background:#333336;color:#f5f5f7}
/* 認定資格の証書は角を丸めない */
html:root .cert img{border-radius:0;box-shadow:none}
/* 4D Performance Lab（FC店）への案内。施設ページの中に小さく置く */
.fourd{margin-top:48px;padding-top:28px;border-top:1px solid var(--line-inv);display:grid;grid-template-columns:1.6fr 1fr;gap:24px 48px;align-items:end}
.fourd h3{font-size:18px;font-weight:600;margin-bottom:10px}
.fourd p{font-size:14px;line-height:1.9;color:#c7c7cc}
.fourd-links{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.fourd-links a{color:#f5f5f7;border-bottom:1px solid rgba(255,255,255,.4);padding-bottom:2px}
.fourd-links a:hover{border-color:#fff}
@media (max-width:860px){.fourd{grid-template-columns:1fr}}
/* スマホのフッター：ロゴは1段目に単独、リンクは2列で詰めすぎず、折り返さない */
@media (max-width:860px){
  .ft-grid{grid-template-columns:1fr 1fr;gap:36px 24px;padding:48px 0;font-size:14px;line-height:1.5;letter-spacing:.02em}
  .ft-grid>div:first-child{grid-column:1/-1}
  .ft-grid ul{gap:12px}
  .ft-grid h3{margin-bottom:12px}
}
/* メニュー：いちばんの入口は個人セッション。先頭に大きく置く */
.mn-svc ul{grid-template-columns:1.5fr 1fr 1fr 1fr}
.mn-svc a{aspect-ratio:auto;height:clamp(190px,28vh,270px)}
.mn-svc b{font-size:clamp(16px,1.35vw,22px);white-space:nowrap}
.mn-svc .mn-main b{font-size:clamp(22px,2.2vw,34px)}
@media (max-width:860px){
  .mn-svc ul{grid-template-columns:1fr;gap:6px}
  .mn-svc a{height:50px}
  .mn-svc img{width:68px;height:50px}
  .mn-svc .mn-main a{height:66px}
  .mn-svc .mn-main img{width:90px;height:66px}
  .mn-svc .mn-main b{font-size:19px}
  .mn-svc b{font-size:16px}
  .mn-body{gap:14px}
  .mn-fac a{padding:6px 12px}
}
/* トップのトレーナー：自動では動かさない。写真と名前を1枚ずつ対にして、横に自分でスクロールする */
.tr-row{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;margin-top:48px;padding:0 var(--gut) 8px;scroll-padding-left:var(--gut);scrollbar-width:none}
.tr-row::-webkit-scrollbar{display:none}
.tr-card{flex:none;width:clamp(180px,20vw,280px);scroll-snap-align:start;display:block}
.tr-card img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:var(--r-m);display:block;margin-bottom:14px}
.tr-card b{display:block;font-size:16px;font-weight:600}
.tr-card small{display:block;font-family:var(--en);font-style:italic;font-size:13px;color:#86868b;margin-top:2px}
.tr-nav{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}
.tr-nav button{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.35);color:#f5f5f7;font-size:16px;transition:background .3s,color .3s}
.tr-nav button:hover{background:#f5f5f7;color:#1d1d1f}
@media (max-width:860px){.tr-card{width:40vw}.tr-nav{display:none}}
/* メニューボタン：文字なしの3本線（11/29 髙瀬さん） */
.menu-open{gap:0;width:44px;height:44px;justify-content:center}
.menu-open i{width:28px;height:2px;box-shadow:0 8px 0 currentColor,0 16px 0 currentColor;transform:translateY(-8px)}
/* ローダー：縦長の画面でも斜めの柱が四隅まで覆うように、左右に高さぶん余分に広げる */
.ld-cols{inset:0 calc(-12% - 16vh)}

/* INFINITY BASE コンセプト文 */
html:root .ib-concept .prose{margin-top:32px}
html:root .ib-concept .ibc-close{margin-top:clamp(40px,6vw,88px);font-size:clamp(22px,3vw,44px);font-weight:600;line-height:1.8;letter-spacing:.04em}
html:root .ib-concept .ibc-end{margin-top:28px;font-size:clamp(15px,1.2vw,17px);line-height:2.2}

/* メニューの施設ボタン：サービスと同じ黒ベース白抜き */
html:root .mn-fac a{background:#1d1d1f;border-color:#1d1d1f;color:#fff;border-radius:16px;justify-content:flex-start}
html:root .mn-fac a b{color:#fff}
html:root .mn-fac a span{color:#a1a1a6}
html:root .mn-fac a:hover{background:#000;border-color:#000}
@media (max-width:860px){
  html:root .mn-fac ul{display:grid;grid-template-columns:1fr 1fr;gap:6px}
  html:root .mn-fac li:first-child{grid-column:1/-1}
  html:root .mn-fac a{padding:11px 16px}
}
/* メニュー：サービス4つを同じ大きさに、リンクは2列でそろえる */
html:root .mn-svc ul{grid-template-columns:repeat(4,1fr)}
html:root .mn-svc .mn-main b{font-size:clamp(16px,1.35vw,22px)}
@media (max-width:860px){
  html:root .mn-svc ul{grid-template-columns:1fr}
  html:root .mn-svc a,html:root .mn-svc .mn-main a{height:52px}
  html:root .mn-svc img,html:root .mn-svc .mn-main img{width:70px;height:52px}
  html:root .mn-svc b,html:root .mn-svc .mn-main b{font-size:16px}
  html:root .mn-links ul{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
  html:root .mn-links a{padding:9px 0;font-size:14px;border-bottom:1px solid rgba(0,0,0,.12)}
}
@media (max-width:860px){html:root .mn-fac a{padding:9px 16px}}
/* スマホのメニューを1画面（iPhoneのChromeでも）に収める */
@media (max-width:860px){
  html:root .mn-bar{padding:10px var(--gut)}
  html:root .mn-body{gap:12px;padding-bottom:16px}
  html:root .mn-body h3{margin-bottom:6px}
  html:root .mn-svc ul{gap:5px}
  html:root .mn-svc a,html:root .mn-svc .mn-main a{height:46px}
  html:root .mn-svc img,html:root .mn-svc .mn-main img{width:62px;height:46px}
  html:root .mn-svc b,html:root .mn-svc .mn-main b{font-size:15px}
  html:root .mn-svc small{font-size:10.5px}
  html:root .mn-fac ul{grid-template-columns:repeat(4,1fr);gap:5px}
  html:root .mn-fac a{padding:9px 6px;justify-content:center;border-radius:14px}
  html:root .mn-fac li:first-child a{justify-content:flex-start;padding-inline:16px}
  html:root .mn-fac b{font-size:13.5px}
  html:root .mn-links a{padding:6px 0;font-size:13.5px}
  html:root .mn-sub{padding-top:10px;gap:8px}
  html:root .mn-sub ul{gap:2px 14px;font-size:12px}
}
@media (max-width:860px) and (max-height:640px){
  html:root .mn-body{gap:9px;padding-bottom:10px}
  html:root .mn-svc a,html:root .mn-svc .mn-main a{height:41px}
  html:root .mn-svc img,html:root .mn-svc .mn-main img{width:56px;height:41px}
  html:root .mn-svc small{display:none}
  html:root .mn-fac a{padding:7px 6px}
  html:root .mn-links a{padding:4px 0}
}
/* メニューのInstagram：項目のあいだに縦線を入れて区切る */
html:root .mn-sub ul{gap:6px 0}
html:root .mn-sub li{padding:0 12px;border-left:1px solid rgba(0,0,0,.28);line-height:1.2}
html:root .mn-sub li:first-child{padding-left:0;border-left:0}
html:root .mn-sub a{color:#1d1d1f;text-decoration:underline;text-decoration-color:rgba(0,0,0,.3);text-underline-offset:4px}
@media (max-width:860px){html:root .mn-sub li{padding:0 9px}html:root .mn-sub ul{gap:6px 0}}

/* 予約・お問い合わせ：施設ごとのLINEをコンパクトな行で */
html:root .line-list{display:grid;gap:8px;max-width:880px}
html:root .line-list a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 16px 16px 24px;background:#1d1d1f;color:#fff;border-radius:20px;transition:background .3s}
html:root .line-list a:hover{background:#000}
html:root .line-list .ll-name{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;min-width:0}
html:root .line-list b{font-family:var(--en);font-style:italic;font-weight:600;font-size:clamp(20px,2vw,26px);line-height:1.2}
html:root .line-list small{font-size:12.5px;color:#a1a1a6}
html:root .line-list em{font-style:normal;font-weight:700;font-size:13px;white-space:nowrap;background:#fff;color:#1d1d1f;border-radius:980px;padding:10px 18px}
@media (max-width:560px){
  html:root .line-list a{padding:13px 12px 13px 20px}
  html:root .line-list .ll-name{flex-direction:column;gap:2px}
  html:root .line-list em{font-size:12px;padding:9px 14px}
}
@media (min-width:900px){html:root .line-list{max-width:none;grid-template-columns:1fr 1fr}html:root .line-list a:first-child{grid-column:1/-1}}
html:root .line-list{margin-top:clamp(28px,3.5vw,48px)}
/* フッター上の予約ボタン：スマホでは補足を下の行に回して折り返しを防ぐ */
@media (max-width:560px){html:root .ft-cta .btn{flex-direction:column;align-items:flex-start;gap:2px;padding:16px 26px;border-radius:26px}html:root .ft-cta .btn small{white-space:nowrap}}
html:root .ft-cta .btn{flex-direction:column;align-items:flex-start;gap:4px;padding:20px 32px;border-radius:28px}
html:root .ft-cta .btn small{white-space:nowrap}
/* iPhoneで固定ヘッダーが画面の途中に取り残される描画バグへの対策：
   ぼかし(backdrop-filter)と合成モードをやめ、ヘッダーを独立したレイヤーに固定する */
html:root .hd{transform:translate3d(0,0,0);-webkit-backface-visibility:hidden;backface-visibility:hidden}
html:root .hd.hide{transform:translate3d(0,-100%,0)}
@media (hover:none),(max-width:860px){
  html:root .hd{mix-blend-mode:normal}
  html:root .hd.solid{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(255,255,255,.97)}
}
/* メニューの閉じるボタン：文字をやめて×に */
html:root .menu-close{position:relative;width:44px;height:44px;padding:0;margin-right:-8px}
html:root .menu-close i,html:root .menu-close i::after{position:absolute;left:50%;top:50%;width:26px;height:1.5px;background:#1d1d1f;content:"";display:block}
html:root .menu-close i{transform:translate(-50%,-50%) rotate(45deg)}
html:root .menu-close i::after{transform:translate(-50%,-50%) rotate(90deg)}
@media (max-width:860px){html:root .mn-sub ul{font-size:11px;letter-spacing:0;flex-wrap:wrap;gap:8px 0}html:root .mn-sub li{padding:0 6px;white-space:nowrap}html:root .mn-sub{min-width:0}html:root .mn-sub a{letter-spacing:.01em}}
@media (max-width:860px){html:root .mn-fac ul{grid-template-columns:.8fr 1.15fr .85fr 1.3fr}html:root .mn-fac li:not(:first-child) a{padding-inline:2px}html:root .mn-fac li:not(:first-child) b{font-size:12.5px;letter-spacing:.04em}}
/* フッター上の予約ボタン：スマホでは施設名を折り返して、はみ出さないように */
html:root .ft-cta .btns,html:root .ft-cta .btn{min-width:0;max-width:100%}
@media (max-width:860px){html:root .ft-cta .btn small{white-space:normal;line-height:1.7}html:root .ft-cta .btn{padding:18px 24px}}
/* 固定演出の入れ物より中身が8px広くなり、スマホでページ全体が横にはみ出すのを防ぐ */
html:root .pin-spacer>.trainers-sec,html:root .pin-spacer>#service{width:100%!important;max-width:100%!important}
html:root body{overflow-x:clip}

/* アカデミー：特徴ごとに写真を添えて左右交互に並べる */
html:root .ac-feat{display:grid;gap:clamp(40px,6vw,96px);margin-top:clamp(36px,5vw,72px)}
html:root .ac-feat article{display:grid;grid-template-columns:1.15fr 1fr;gap:clamp(24px,5vw,80px);align-items:center}
html:root .ac-feat article:nth-child(even)>.mask-img{order:2}
html:root .ac-feat .mask-img{aspect-ratio:16/10;border-radius:28px;overflow:hidden}
html:root .ac-feat img,html:root .ac-grow-head img{width:100%;height:100%;object-fit:cover;display:block}
html:root .ac-feat h3{font-size:clamp(20px,2vw,30px);font-weight:600;line-height:1.5;margin-bottom:18px}
html:root .ac-feat p{line-height:2.1}
html:root .ac-grow-head{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,80px);align-items:end;margin-bottom:40px}
html:root .ac-grow-head .mask-img{aspect-ratio:16/9;border-radius:28px;overflow:hidden}
@media (max-width:760px){
  html:root .ac-feat article,html:root .ac-grow-head{grid-template-columns:1fr;gap:20px}
  html:root .ac-feat article:nth-child(even)>.mask-img{order:0}
  html:root .ac-feat .mask-img,html:root .ac-grow-head .mask-img{border-radius:18px}
}

/* アカデミーとDSPで写真の枠を統一：どちらも4:3、写真と文章は半々 */
html:root .ac-feat article,html:root .dsp-feat article,html:root .dsp-feat article:nth-child(even){grid-template-columns:1fr 1fr}
html:root .ac-feat .mask-img,html:root .dsp-feat .mask-img{aspect-ratio:4/3}
html:root .dsp-feat article>div:last-child{display:grid;gap:clamp(28px,3.4vw,52px)}
@media (max-width:760px){html:root .ac-feat article,html:root .dsp-feat article,html:root .dsp-feat article:nth-child(even){grid-template-columns:1fr}}

/* 全ページ共通：写真＋文章の段は、写真の枠を4:3・写真と文章を半々にそろえる（章の段も同じ） */
html:root .ch{grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,80px)}
html:root .ch-media,html:root .ch-media.wide{height:auto;max-height:none;aspect-ratio:4/3;top:calc(50svh - 18vw);border-radius:28px}
html:root .ch-media.is-in,html:root .ch.flip .ch-media.is-in{clip-path:inset(0 0 0 0 round 28px)}
@media (max-width:860px){html:root .ch{grid-template-columns:1fr}html:root .ch-media{aspect-ratio:4/3;border-radius:18px}html:root .ch-media.is-in,html:root .ch.flip .ch-media.is-in{clip-path:inset(0 0 0 0 round 18px)}}
@media (max-width:860px){html:root .ch-media,html:root .ch-media.wide{top:auto}}

/* 会社概要の締めの文章：集合写真を背景に敷く。文章は天井の暗い部分に、人は文章の下に見える */
html:root .co-close{--w:100vw;position:relative;overflow:hidden;background:#0b0b0c;color:#fff;padding:clamp(72px,8vw,120px) 0 calc(var(--w)*.4)}
html:root .co-close>img{position:absolute;left:50%;bottom:0;width:var(--w);max-width:none;height:auto;transform:translateX(-50%);
  -webkit-mask-image:linear-gradient(180deg,transparent 0,rgba(0,0,0,.35) 22%,#000 40%);mask-image:linear-gradient(180deg,transparent 0,rgba(0,0,0,.35) 22%,#000 40%)}
html:root .co-close .wrap{position:relative;z-index:2}
html:root .co-close .prose{max-width:46em;margin-inline:auto}
html:root .co-close .prose p{color:#fff}
html:root .co-close+.sec{padding-top:clamp(72px,9vw,140px)!important}
@media (max-width:860px){html:root .co-close{--w:150vw}}

/* トップの会社概要パネル：集合写真を上に、文章はその下（床が黒に溶ける位置）に置く */
html:root .corp{--w:100vw;min-height:0;display:block;padding-top:calc(var(--w)*.5);background:#0b0b0c!important}
html:root .corp::after{display:none}
html:root .corp .ph{inset:0 0 auto 50%;width:var(--w);height:auto;transform:translateX(-50%);overflow:visible}
html:root .corp .ph img{width:100%;height:auto;display:block;-webkit-mask-image:linear-gradient(180deg,#000 0,#000 72%,transparent 98%);mask-image:linear-gradient(180deg,#000 0,#000 72%,transparent 98%)}
@media (max-width:860px){html:root .corp{--w:116vw;padding-top:calc(var(--w)*.53)}}

/* 動画つきの表紙（スマホ）：文字のある下の帯は全面を明るい地にして、見出しが黒地にかからないようにする */
@media (max-width:860px){html:root .ph-split{clip-path:polygon(0 0,46% 0,60% 70%,100% 70%,100% 100%,0 100%)}}
@media (max-width:860px){html:root .ph-media video.ph-portrait{top:35%;height:56%}html:root .ph-split{clip-path:polygon(0 0,46% 0,60% 64%,100% 64%,100% 100%,0 100%)}}

/* トップのFV：黒い面の左にコピー、右に角丸の枠でムービーをループ再生。ボタンで全編を開く */
html:root .hero-x{background:#000}
html:root .hero-x::after{display:none}
html:root .hero-x .hero-in{justify-content:space-between;padding-top:clamp(88px,11vh,128px)}
html:root .hx-main{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(24px,5vw,80px);align-items:center}
html:root .hx-media{aspect-ratio:4/3;max-height:100%;width:100%;border-radius:28px;overflow:hidden;background:#1d1d1f;justify-self:end}
html:root .hero-x .hx-media video{position:static;width:100%;height:100%;object-fit:cover;opacity:1;display:block;animation:none}
html:root .hero-x h1{font-size:clamp(30px,4vw,62px)}
html:root .hero-play{display:inline-flex;align-items:center;gap:12px;margin-top:clamp(28px,3.4vw,48px);padding:15px 26px;background:transparent;border:1px solid rgba(255,255,255,.45);border-radius:980px;color:#fff;font:inherit;font-size:15px;font-weight:600;letter-spacing:.04em;cursor:pointer;transition:background .3s,color .3s,border-color .3s}
html:root .hero-play i{width:0;height:0;border-style:solid;border-width:7px 0 7px 11px;border-color:transparent transparent transparent currentColor}
html:root .hero-play:hover{background:#fff;color:#1d1d1f;border-color:#fff}
html:root .hero-play:focus-visible{outline:2px solid #fff;outline-offset:4px}
html:root .hero-x .hero-bar{margin-top:clamp(20px,3vw,40px)}
@media (max-width:860px){
  html:root .hero-x{height:auto;min-height:100svh}
  html:root .hero-x .hero-in{padding-top:84px;height:auto;min-height:100svh}
  html:root .hx-main{grid-template-columns:1fr;gap:28px;align-content:center}
  html:root .hx-media{order:-1;border-radius:18px}
  html:root .hero-play{padding:13px 22px;font-size:14px}
}
html:root .pv{position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.94);display:grid;place-items:center;padding:max(56px,env(safe-area-inset-top)) clamp(0px,4vw,64px) 56px;opacity:0;transition:opacity .3s}
html:root .pv.open{opacity:1}
html:root .pv-frame{width:min(100%,calc((100svh - 112px)*16/9));aspect-ratio:16/9;background:#000}
html:root .pv-frame video{width:100%;height:100%;display:block}
html:root .pv-close{position:absolute;top:max(8px,env(safe-area-inset-top));right:12px;width:48px;height:48px;background:none;border:0;cursor:pointer}
html:root .pv-close i,html:root .pv-close i::after{position:absolute;left:50%;top:50%;width:26px;height:1.5px;background:#fff;content:"";display:block}
html:root .pv-close i{transform:translate(-50%,-50%) rotate(45deg)}
html:root .pv-close i::after{transform:translate(-50%,-50%) rotate(90deg)}
html:root.pv-open{overflow:hidden}
@media (prefers-reduced-motion:reduce){html:root .pv{transition:none}}
html:root .pv[hidden]{display:none}
