/* OZ-OZBASE-STAGE v1 ── 講演用の画面（index.html のオーバーレイ）を OzBase の見た目にそろえる
   2026-11-20 本人指定「プロフィールページも修正しておいて、このデザインに合わせて」
   「prを押したら出てくるページとか」「サンキューページとか全体的に」
   「講演開始のGOと押したら出てくるエフェクトも変えたい」。
   正本は ozbase.ai のトップ（/home/user/ozbase/public）：青い光の地、ガラスの札、紺 #051631／青 #2F4BE0、
   Zen Kaku Gothic New（ゴシック）と Hanken Grotesk、線つきの青い英字ラベル、斜めのカット。
   中身・起動方法（2文字の合図・ハッシュ・長押しの一覧）・動きの順番・閉じ方は変えない。色・書体・面だけを替える。
   GO / EN（#boot）だけは演出そのものを作り直した（下の「GO / EN」の節）。
   qa-stage.css のあとに読み、各画面の id を頭につけて上書きする。投影で読めるよう、文字の大きさは元のまま。 */

:is(#thanks, #askqr, #standby, #titlecard, #profile-fs, #bkgate, #boot, #arcmap, #ozsheet) {
  --font-ja-serif: "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-ja-sans: "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-en: "Hanken Grotesk", "Zen Kaku Gothic New", sans-serif;
  --ozb-navy: #051631; --ozb-blue: #2F4BE0; --ozb-blue2: #6E8BFF; --ozb-ice: #C9D6FF; --ozb-pale: #E6ECFF;
  --azure-pale: #C9D6FF; --azure: #2F4BE0; --navy: #051631; --navy-deep: #06113A;
  /* 旧デザインの赤のアクセントは、意味を持たない飾りだったので明るい青に寄せる */
  --red: #6E8BFF; --red-bright: #9FB4FF;
  --ozb-stage-bg:
    radial-gradient(56% 42% at 50% -4%, rgba(120,150,255,.92), rgba(60,90,235,.46) 38%, rgba(27,42,140,0) 72%),
    radial-gradient(32% 28% at 86% 16%, rgba(168,190,255,.26), rgba(168,190,255,0) 68%),
    radial-gradient(40% 36% at 8% 84%, rgba(47,75,224,.24), rgba(47,75,224,0) 70%),
    linear-gradient(180deg, #1c30b4 0%, #0a1550 36%, #040a26 66%, #02040d 100%);
  --ozb-glass-bg: linear-gradient(140deg, rgba(255,255,255,.18), rgba(255,255,255,.05) 46%, rgba(255,255,255,.10));
  --ozb-glass-edge: rgba(255,255,255,.32);
  --ozb-glass-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -40px 90px rgba(110,139,255,.12), 0 40px 120px rgba(2,6,24,.45);
}

/* 線つきの青い英字ラベル（ozbase.ai の「── 52 METHODS ／ 施策一覧」の型） */
:is(#thanks, #standby) .thanks-eyebrow,
#bkgate .bkgate-eyebrow,
#titlecard .tc-eyebrow,
#arcmap .am-tag,
#ozsheet .ozs-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-weight: 600; letter-spacing: .26em; color: var(--ozb-ice); opacity: 1;
}
:is(#thanks, #standby) .thanks-eyebrow::before,
#bkgate .bkgate-eyebrow::before,
#titlecard .tc-eyebrow::before,
#arcmap .am-tag::before,
#ozsheet .ozs-eyebrow::before {
  content: ""; flex: none; width: 28px; height: 1px; background: currentColor; opacity: .85;
}

/* ── TH（お礼）・ST（開演前）・QA（質問箱）：青い光の地と、ガラスの札 ── */
:is(#thanks, #standby, #askqr) { background: var(--ozb-stage-bg); color: #fff; }
:is(#thanks, #standby) .thanks-net { opacity: .28; mix-blend-mode: screen; }
:is(#thanks, #standby) .sf-stagehalo { opacity: .55; filter: hue-rotate(8deg) saturate(1.2); }
:is(#thanks, #standby) .tk-hud i { border-color: rgba(201,214,255,.42); }
:is(#thanks, #standby, #bkgate) :is(.tk-hud, .bkgate-hud) b { font-family: var(--font-en); color: rgba(201,214,255,.75); letter-spacing: .26em; }
:is(#thanks, #standby) .thanks-title {
  font-family: var(--font-ja-sans); font-weight: 700; letter-spacing: .1em; line-height: 1.5;
  text-shadow: 0 8px 50px rgba(2,6,24,.5);
}
:is(#thanks, #standby) .thanks-title .ex { color: var(--ozb-ice); }
:is(#thanks, #standby, #askqr) .thanks-qr {
  background: var(--ozb-glass-bg); border: 1px solid var(--ozb-glass-edge); border-radius: 28px;
  box-shadow: var(--ozb-glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
:is(#thanks, #standby, #askqr) .qr-card { border-radius: 18px; box-shadow: 0 18px 50px -12px rgba(2,6,24,.6); }
:is(#thanks, #standby, #askqr) .qr-lead { font-family: var(--font-ja-sans); font-weight: 700; letter-spacing: .06em; }
:is(#thanks, #standby, #askqr) .qr-url { font-family: var(--font-en); color: var(--ozb-ice); letter-spacing: .06em; }
:is(#thanks, #standby) .thanks-sub { color: rgba(230,236,255,.9); letter-spacing: .08em; }
/* 投影で読めるように、薄すぎた補足の文字を明るくする */
:is(#thanks, #standby, #askqr) .qr-note { color: rgba(230,236,255,.78); }
#standby .sb-ticker { border-color: rgba(201,214,255,.26); background: rgba(255,255,255,.06); border-radius: 999px; }
#standby .sb-label { font-family: var(--font-en); color: var(--ozb-ice); letter-spacing: .2em; }
#standby .sb-status { font-family: var(--font-en); color: rgba(201,214,255,.8); }
#standby .sb-dot { background: var(--ozb-blue2); box-shadow: 0 0 12px rgba(110,139,255,.9); }
#standby .sb-sweep { opacity: .5; }
:is(#thanks, #standby, #askqr, #bkgate) .oz-x {
  border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* QA：左右の枠をガラスの札に、見出しをゴシックに */
#askqr .aq-ambient i { background: radial-gradient(closest-side, rgba(150,175,255,.35), rgba(150,175,255,0)); }
#askqr .aq-brand { font-family: var(--font-en); color: var(--ozb-ice); letter-spacing: .26em; }
#askqr .aq-brand span:last-child { border-color: rgba(201,214,255,.32); background: rgba(255,255,255,.08); color: #fff; }
#askqr .aq-brand span:last-child::before { background: var(--ozb-blue2); box-shadow: 0 0 10px rgba(110,139,255,.9); }
#askqr .thanks-title { font-family: var(--font-ja-sans); font-weight: 700; letter-spacing: .08em; }
#askqr .thanks-title span { color: var(--ozb-ice); }
#askqr .aq-body {
  background: var(--ozb-glass-bg); border: 1px solid var(--ozb-glass-edge); border-radius: 28px; box-shadow: var(--ozb-glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
#askqr .aq-ttl { font-family: var(--font-ja-sans); font-weight: 700; letter-spacing: .08em; }
#askqr .aq-range { font-family: var(--font-ja-sans); border-color: rgba(201,214,255,.32); background: rgba(255,255,255,.08); color: #fff; border-radius: 999px; }
#askqr .aq-count { font-family: var(--font-en); color: #fff; }
#askqr .aq-list li { border-radius: 16px; }
#askqr .thanks-sub { color: rgba(230,236,255,.85); }
#askqr .aq-zoom { background: rgba(4,10,38,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
#askqr .az-card { border-radius: 28px; }
#askqr .az-url { font-family: var(--font-en); color: var(--ozb-ice); }

/* ── 裏資料の鍵（UR）：ガラスの札の入力 ── */
#bkgate { background: var(--ozb-stage-bg); color: var(--ozb-pale); }
#bkgate::before { opacity: .22; background-image: linear-gradient(rgba(201,214,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(201,214,255,.2) 1px, transparent 1px); }
#bkgate::after { opacity: .2; }
#bkgate .bkgate-hud i { border-color: rgba(201,214,255,.42); }
#bkgate .bkgate-box {
  padding: clamp(34px, 5vw, 56px) clamp(24px, 4vw, 48px); border-radius: 32px;
  background: var(--ozb-glass-bg); border: 1px solid var(--ozb-glass-edge); box-shadow: var(--ozb-glass-shadow);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
}
#bkgate .bkgate-eyebrow { font-size: .66rem; }
#bkgate .bkgate-title { font-family: var(--font-ja-sans); font-weight: 700; letter-spacing: .12em; color: #fff; }
#bkgate .bkgate-lead { color: rgba(230,236,255,.8); }
#bkgate input { border-radius: 999px; border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.1); color: #fff; padding-left: 1.2rem; }
#bkgate input:focus { border-color: var(--ozb-ice); box-shadow: 0 0 0 3px rgba(110,139,255,.35); }
#bkgate button[type="submit"] {
  border: 0; border-radius: 0; color: #fff; font-family: var(--font-ja-sans); font-weight: 700; letter-spacing: .12em;
  background: linear-gradient(90deg, #2F4BE0, #6E8BFF);
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
#bkgate .bkgate-note { color: rgba(201,214,255,.6); }

/* ── 長押しの隠しメニュー（スマホ）：白いシートに紺の文字（ozbase.ai のメニューの型） ── */
#ozsheet { background: rgba(4,10,38,.55); }
#ozsheet .ozs-panel { background: #fff; color: var(--ozb-navy); border-top: 0; box-shadow: 0 -20px 60px rgba(2,6,24,.35); }
#ozsheet .ozs-grip { background: #D5DCEE; }
#ozsheet .ozs-eyebrow { color: var(--ozb-blue); font-size: .62rem; }
#ozsheet .ozs-group { font-family: var(--font-en); color: #5A6480; letter-spacing: .18em; border-color: #D5DCEE; }
#ozsheet .ozs-item { background: #F6F8FD; border: 1px solid #D5DCEE; color: var(--ozb-navy); border-radius: 12px; }
#ozsheet .ozs-item:active { background: #EEF2FF; }
#ozsheet .ozs-key { background: #EEF2FF; color: var(--ozb-blue); font-family: var(--font-en); }
#ozsheet .ozs-item[data-lock] .ozs-key { background: #051631; color: #fff; }
#ozsheet .ozs-note { color: #5A6480; }
#ozsheet .ozs-note b { color: var(--ozb-navy); }
#ozsheet .ozs-close { background: var(--ozb-navy); color: #fff; border: 0; border-radius: 999px; }

/* ── TI（タイトルカード）：青い光の地に、白いゴシックの題 ── */
#titlecard { background: var(--ozb-stage-bg); }
#titlecard .tc-atmosphere i { background: radial-gradient(closest-side, rgba(150,175,255,.32), rgba(150,175,255,0)); }
#titlecard .tc-arc { border-color: rgba(201,214,255,.18); }
#titlecard .tc-title { font-family: var(--font-ja-sans); font-weight: 700; letter-spacing: .06em; }
#titlecard .tc-subtitle { color: var(--ozb-ice); }
#titlecard .tc-signature { font-family: var(--font-en); color: var(--ozb-ice); letter-spacing: .26em; }
#titlecard .tc-tools button { border-radius: 999px; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; }
#titlecard .tc-editor { background: #fff; color: var(--ozb-navy); border-radius: 24px; }
#titlecard .tc-editor :is(h2, p, span, small, output) { color: inherit; }
#titlecard .tc-editor :is(textarea, input[type="text"]) { border: 1px solid #D5DCEE; background: #F6F8FD; color: var(--ozb-navy); border-radius: 12px; }
#titlecard .tc-editor button[type="submit"] { background: var(--ozb-navy); color: #fff; border: 0; border-radius: 999px; }

/* TI をトップで開いたとき（#titlecard.tc-fv）：GO と同じく、トップの WebGL のガラスの札が手前へ迫り、その中に題が入る。
   2026-11-20 本人指定「tiと打った時のタイトルページも同じように」。地も飾りの弧も消し、文字だけをガラスの内側に置く。
   ガラスの内側の目安（ozbase-hero3d.js の大きさ×手前へ迫った倍率）：PC は上下12%〜88%、スマホ（760px未満）は25%〜75%。
   題は title-stage.js の自動調整で、この内側に収まる大きさまで縮む。調整（編集）中は、読みやすいよう暗い地を敷く。 */
#titlecard.tc-fv { background: transparent; }
#titlecard.tc-fv .tc-atmosphere, #titlecard.tc-fv .tc-arc { display: none; }
#titlecard.tc-fv:not(.tc-is-editing) .tc-shell { padding: 19vh 11vw 18vh; }
#titlecard.tc-fv:not(.tc-is-editing) .tc-stage { max-width: 1240px; text-align: center; gap: clamp(16px, 2.6vh, 30px);
  animation: tc-fv-in 1.1s cubic-bezier(.22,.8,.2,1) .8s both; }
#titlecard.tc-fv:not(.tc-is-editing) .tc-meta { justify-content: center; }
#titlecard.tc-fv:not(.tc-is-editing) .tc-content { justify-content: center; }
#titlecard.tc-fv:not(.tc-is-editing) .tc-title { text-shadow: 0 6px 40px rgba(2,6,24,.5); }
#titlecard.tc-fv:not(.tc-is-editing) .tc-byline { flex-direction: column; align-items: center; justify-content: center;
  gap: 0; border-top: 0; padding-top: 0; position: relative; }
#titlecard.tc-fv:not(.tc-is-editing) .tc-byline::before { content: ""; width: 96px; height: 2px; margin: 0 auto clamp(14px, 2.4vh, 24px);
  background: linear-gradient(90deg, rgba(110,139,255,0), #C9D6FF, rgba(110,139,255,0)); }
#titlecard.tc-fv:not(.tc-is-editing) .tc-signature { display: none; }
#titlecard.tc-fv.tc-is-editing { background: rgba(2,4,13,.55); }
@keyframes tc-fv-in { 0% { opacity: 0; filter: blur(22px); transform: scale(1.04); } 60% { opacity: 1; filter: blur(3px); } 100% { opacity: 1; filter: none; transform: none; } }
@media (max-width: 759px) {
  #titlecard.tc-fv:not(.tc-is-editing) .tc-shell { padding: 28vh 10vw 28vh; }
}
@media (prefers-reduced-motion: reduce) { #titlecard.tc-fv .tc-stage { animation: none !important; } }

/* ── 星座マップ（MA）：深い青の空。赤い光の雲は青に ── */
#arcmap { background: radial-gradient(70% 55% at 50% -8%, rgba(60,90,235,.55), rgba(27,42,140,0) 70%), linear-gradient(180deg, #0a1550 0%, #040a26 55%, #02040d 100%); color: var(--ozb-pale); }
#arcmap::before { background: radial-gradient(ellipse at 30% 20%, rgba(110,139,255,.34) 0%, transparent 58%), radial-gradient(ellipse at 78% 76%, rgba(47,75,224,.22) 0%, transparent 55%); }
#arcmap .am-meta { font-family: var(--font-en); color: rgba(201,214,255,.8); }
#arcmap .am-meta b { color: #fff; }

/* ── PR（プロフィール）：2026-11-20 に OzBase の組みへ作り直し、見た目はすべて profile-stage.css に移した ── */

/* ════ GO / EN（#boot）：OzBase の開幕演出として作り直す ══════════════════════
   旧：右に本人の登壇写真が光の線で開き、左に文字が積み上がる（EN は会場の全面写真に Thank You）。
   新：ozbase.ai のトップを開いたときと同じ系統。
     0.0s 紺の幕が上がり、青い光が満ちる（光の玉が漂い始める）
     0.4s OzBase と AICX協会のロゴが、ぼかしから澄んで現れる
     0.9s ガラスの札の輪郭を、光が一周してなぞる
     2.0s ガラスの面が満ちる
     2.5s 斜めにカットした青い札（LET’S BEGIN）が走り込む
     2.75s 題（講演をはじめます）が、ぼかしから澄む
     3.4s 青い線が引かれ、名前・肩書き・合図の順に出る
     4.4s ガラスの上を光の帯が横切る（始まりの合図）
   起動（go・#boot・長押しの一覧）、長さ（6.8s／EN 6.5s）、終わったあとの戻り先、Esc・クリックでの飛ばし、
   EN のあとに TH を開く対は stage-sequence.js のまま。reduced-motion では動かさず、最終の画をそのまま出す。 */
@property --ozg-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

#boot { background: #02040d; }
#boot .sf-scene, #boot .boot-vignette { display: none; }
#boot .ozg-stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
#boot .ozg-stage::before {
  content: ""; position: absolute; inset: -8%; background: var(--ozb-stage-bg);
}
#boot .ozg-stage i {
  position: absolute; border-radius: 50%; filter: blur(50px); opacity: 0;
  background: radial-gradient(closest-side, rgba(205,218,255,.55), rgba(205,218,255,0));
}
#boot .ozg-stage .ozg-o1 { width: 36vmax; height: 36vmax; left: 4%; top: 26%; }
#boot .ozg-stage .ozg-o2 { width: 26vmax; height: 26vmax; right: 6%; top: 30%; }
#boot .ozg-stage .ozg-o3 { width: 20vmax; height: 20vmax; left: 44%; top: 62%; }
#boot .ozg-veil { position: absolute; inset: 0; background: #06113A; opacity: 0; }

#boot .boot-final, #boot.is-on .boot-final, #boot.is-end .boot-final, #boot.is-on.is-end .boot-final {
  left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: min(1000px, 86vw);
  padding: clamp(40px, 6vh, 72px) clamp(28px, 5vw, 80px) clamp(44px, 6.4vh, 76px);
  text-align: center; border-radius: clamp(28px, 4vw, 60px);
  background: var(--ozb-glass-bg); border: 1px solid var(--ozb-glass-edge); box-shadow: var(--ozb-glass-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  isolation: isolate;
}
/* 輪郭をなぞる光（ガラスの札の外周だけを見せる） */
#boot .boot-final::before {
  content: ""; position: absolute; inset: -1px; z-index: 1; border-radius: inherit; padding: 2px; pointer-events: none; opacity: 0;
  background: conic-gradient(from -90deg, rgba(255,255,255,0) 0deg, rgba(255,255,255,.95) var(--ozg-a), rgba(255,255,255,0) calc(var(--ozg-a) + .1deg));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  filter: drop-shadow(0 0 8px rgba(160,185,255,.9));
}
/* ガラスの上を横切る光の帯 */
#boot .boot-final::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(225,232,255,.22) 48%, rgba(255,255,255,.36) 50%, rgba(225,232,255,.22) 52%, transparent 62%);
  background-size: 260% 100%; background-position: 130% 0;
}
#boot .boot-final > * { position: relative; z-index: 2; }
#boot .ozg-logos { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2vw, 26px); margin: 0 0 clamp(22px, 3.6vh, 38px); }
#boot .ozg-logos img { display: block; height: clamp(26px, 3.2vw, 42px); width: auto; }
#boot .ozg-logos img + span { width: 1px; height: clamp(24px, 3vw, 38px); background: rgba(255,255,255,.4); }
#boot .ozg-logos span + img { height: clamp(24px, 2.9vw, 38px); }
#boot .boot-final .bf-mod {
  display: inline-block; margin: 0 0 clamp(18px, 3vh, 28px); padding: .5em 1.6em; color: #fff;
  font: 700 clamp(12px, 1.15vw, 16px)/1.4 var(--font-en); letter-spacing: .3em;
  background: linear-gradient(90deg, #2F4BE0, #6E8BFF);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
#boot .boot-final .bf-lead {
  display: block; font: 700 clamp(44px, 6.4vw, 96px)/1.3 var(--font-ja-sans); letter-spacing: .12em; color: #fff;
  text-shadow: 0 8px 60px rgba(2,6,24,.45);
}
#boot .boot-final .bf-rule {
  width: 96px; height: 2px; margin: clamp(22px, 3.6vh, 36px) auto clamp(18px, 3vh, 30px); transform-origin: center;
  background: linear-gradient(90deg, rgba(110,139,255,0), #C9D6FF, rgba(110,139,255,0));
}
#boot .boot-final .bf-name { font: 700 clamp(20px, 2.2vw, 32px)/1.5 var(--font-ja-sans); letter-spacing: .14em; color: #fff; }
#boot .boot-final .bf-role { margin-top: 6px; font-size: clamp(14px, 1.3vw, 19px); letter-spacing: .12em; color: rgba(230,236,255,.86); }
#boot .boot-final .bf-sub {
  display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(16px, 2.6vh, 24px);
  font: 600 clamp(13px, 1.2vw, 17px)/1.5 var(--font-ja-sans); letter-spacing: .16em; color: var(--ozb-ice);
  padding: 0; border: 0; background: none;
}
#boot .boot-final .bf-sub::before, #boot .boot-final .bf-sub::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }
#boot.is-end .boot-final .bf-lead { font: 800 clamp(64px, 10vw, 150px)/1.05 var(--font-en); letter-spacing: -.02em; }
#boot.is-end .boot-final .bf-name { font-size: clamp(20px, 2.3vw, 32px); }
#boot .boot-skip {
  border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff;
  font-family: var(--font-en); letter-spacing: .2em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
#boot .boot-skip:hover { background: rgba(255,255,255,.18); border-color: #fff; }
#boot .boot-skip:focus-visible { outline: 2px solid #C9D6FF; }

/* 動き（開始と終了で同じ系統。終了は少し早めに組む） */
#boot.is-on .ozg-veil { animation: ozg-veil 1.4s cubic-bezier(.6,0,.2,1) .05s both; }
#boot.is-on .ozg-stage::before { animation: ozg-bloom 2.4s cubic-bezier(.2,.7,.2,1) both; }
#boot.is-on .ozg-stage i { animation: ozg-orb 2s ease .3s both, ozg-float 14s ease-in-out 2.3s infinite alternate; }
#boot.is-on .ozg-stage .ozg-o2 { animation-delay: .5s, 2.5s; --ozg-o: .7; }
#boot.is-on .ozg-stage .ozg-o3 { animation-delay: .7s, 2.7s; --ozg-o: .45; }
#boot.is-on .boot-final { animation: ozg-glass 1.1s cubic-bezier(.2,.7,.2,1) 2s both; }
#boot.is-on .boot-final::before { animation: ozg-trace 1.7s cubic-bezier(.45,0,.2,1) .9s both, ozg-out .6s ease 2.6s forwards; }
#boot.is-on .boot-final::after { animation: ozg-sweep 1.4s cubic-bezier(.6,0,.2,1) 4.4s both; }
#boot.is-on .boot-final > *, #boot.is-on .boot-final .bf-lead { opacity: 0; animation: ozg-rise .9s cubic-bezier(.2,.7,.2,1) both; }
#boot.is-on .boot-final .ozg-logos { animation: ozg-float-in 1.6s cubic-bezier(.22,.8,.2,1) .4s both; }
#boot.is-on .boot-final .bf-mod { animation: ozg-chip .7s cubic-bezier(.7,0,.2,1) 2.5s both; }
#boot.is-on .boot-final .bf-lead { animation: ozg-float-in 1.2s cubic-bezier(.22,.8,.2,1) 2.75s both; }
#boot.is-on .boot-final .bf-rule { animation: ozg-rule .8s cubic-bezier(.7,0,.2,1) 3.4s both; }
#boot.is-on .boot-final .bf-name { animation-delay: 3.6s; }
#boot.is-on .boot-final .bf-role { animation-delay: 3.8s; }
#boot.is-on .boot-final .bf-sub { animation-delay: 4.05s; }
#boot.is-on.is-end .boot-final .bf-mod { animation-delay: 2.3s; }
#boot.is-on.is-end .boot-final .bf-lead { animation-delay: 2.5s; }
#boot.is-on.is-end .boot-final .bf-rule { animation-delay: 3.2s; }
#boot.is-on.is-end .boot-final .bf-name { animation-delay: 3.4s; }
#boot.is-on.is-end .boot-final .bf-role { animation-delay: 3.6s; }
#boot.is-on.is-end .boot-final .bf-sub { animation-delay: 3.85s; }
#boot.is-on.is-end .boot-final::after { animation-delay: 4.2s; }

@keyframes ozg-veil { from { opacity: 1; } to { opacity: 0; } }
@keyframes ozg-bloom { from { transform: scale(1.22); filter: brightness(.55); } to { transform: none; filter: none; } }
@keyframes ozg-orb { from { opacity: 0; transform: scale(.7); } to { opacity: var(--ozg-o, 1); transform: none; } }
@keyframes ozg-float { from { transform: translate3d(0,0,0); } to { transform: translate3d(3vmax,-2.4vmax,0); } }
@keyframes ozg-glass {
  from { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); transform: translate(-50%, -50%) scale(.985); }
  to { transform: translate(-50%, -50%) scale(1); }
}
@keyframes ozg-trace { 0% { opacity: 1; --ozg-a: 0deg; } 100% { opacity: 1; --ozg-a: 360deg; } }
@keyframes ozg-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes ozg-sweep { 0% { opacity: 1; background-position: 130% 0; } 100% { opacity: 1; background-position: -30% 0; } }
@keyframes ozg-rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes ozg-float-in { 0% { opacity: 0; filter: blur(24px); transform: scale(1.05); } 40% { opacity: .65; filter: blur(12px); } 80% { opacity: 1; filter: blur(2px); } 100% { opacity: 1; filter: none; transform: none; } }
@keyframes ozg-chip { from { opacity: 0; transform: translateX(-40px) skewX(-12deg); } to { opacity: 1; transform: none; } }
@keyframes ozg-rule { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }

/* ════ GO をトップのファーストビューで押したとき（#boot.is-fv）══════════════════
   2026-11-20 本人指定「GOの演出はファーストビューがそのまま動くようなイメージ」「ファーストビューがさらに手前のガラスに動く」。
   幕も別の札も重ねない。トップの WebGL のガラスの札そのものが手前へ迫り（ozbase-hero3d.js の __h5go）、
   光の粒が後ろへ流れる。KNOWLEDGE LIBRARY の文字はぼけて引き、迫ってきたガラスの中に「講演をはじめます」が澄んで現れる。
     0.0s ガラスが手前へ迫り始める／トップの文字とヘッダーが、ぼけて引く
     0.9s ロゴ　1.4s LET’S BEGIN　1.6s 講演をはじめます　2.2s 線　2.4s〜 名前・肩書き・合図
     3.1s ガラスの上を光が横切る（WebGL）
   終わり（時間切れ・Esc・クリック）では、文字が消え、ガラスは1.1秒で元の大きさに戻り、トップの文字が戻ってくる。
   終わり（EN、Thank You）も同じ動きで、終わるとガラスが戻りながら TH（謝辞・QR）が開く。
   WebGL が使えない端末・動きを減らす設定は、これまでどおりの幕の演出。 */
#boot.is-fv { background: transparent; }
#boot.is-fv .ozg-stage { display: none; }
#boot.is-fv .boot-final, #boot.is-fv.is-on .boot-final {
  background: none; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  animation: none;
}
#boot.is-fv .boot-final::before, #boot.is-fv .boot-final::after { display: none; }
#boot.is-fv .boot-final .bf-lead { text-shadow: 0 6px 40px rgba(2,6,24,.5); }
#boot.is-fv.is-on .boot-final .ozg-logos { animation-delay: .9s; }
#boot.is-fv.is-on .boot-final .bf-mod { animation-delay: 1.4s; }
#boot.is-fv.is-on .boot-final .bf-lead { animation-delay: 1.6s; }
#boot.is-fv.is-on .boot-final .bf-rule { animation-delay: 2.2s; }
#boot.is-fv.is-on .boot-final .bf-name { animation-delay: 2.4s; }
#boot.is-fv.is-on .boot-final .bf-role { animation-delay: 2.6s; }
#boot.is-fv.is-on .boot-final .bf-sub { animation-delay: 2.85s; }
#boot.is-fv.is-on.is-done { transition: opacity .5s ease; }
/* 終わり（EN）も同じ動き。Thank You が大きいので、ガラスの内側に収まるよう余白を詰める */
#boot.is-fv .boot-final, #boot.is-fv.is-on .boot-final, #boot.is-fv.is-end .boot-final, #boot.is-fv.is-on.is-end .boot-final {
  padding-top: clamp(20px, 3vh, 40px); padding-bottom: clamp(20px, 3vh, 40px); }
#boot.is-fv.is-end .boot-final .bf-lead { font-size: clamp(56px, 8.6vw, 132px); }
@media (max-width: 700px) {
  #boot.is-fv.is-end .boot-final .bf-name { font-size: clamp(14px, 4.3vw, 20px); letter-spacing: .06em; white-space: nowrap; }
  #boot.is-fv.is-end .boot-final .bf-role { font-size: clamp(10px, 3vw, 13px); letter-spacing: .02em; }
}
#boot.is-fv.is-on.is-end .boot-final .ozg-logos { animation-delay: .9s; }
#boot.is-fv.is-on.is-end .boot-final .bf-mod { animation-delay: 1.4s; }
#boot.is-fv.is-on.is-end .boot-final .bf-lead { animation-delay: 1.6s; }
#boot.is-fv.is-on.is-end .boot-final .bf-rule { animation-delay: 2.2s; }
#boot.is-fv.is-on.is-end .boot-final .bf-name { animation-delay: 2.4s; }
#boot.is-fv.is-on.is-end .boot-final .bf-role { animation-delay: 2.6s; }
#boot.is-fv.is-on.is-end .boot-final .bf-sub { animation-delay: 2.85s; }
.hero5 .h5c { transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .9s ease .2s, filter .9s ease .2s, scale 1.1s cubic-bezier(.2,.7,.2,1); }
html.ozg-fv .hero5 .h5c { opacity: 0; filter: blur(18px); scale: 1.08; transition-duration: .6s, .7s, .7s, 1.4s; transition-delay: 0s; }
.mh-header { transition: opacity .9s ease .3s; }
html.ozg-fv .mh-header { opacity: 0; transition-duration: .5s; transition-delay: 0s; }
html.ozg-fv .hero5 .h5down { animation: none !important; opacity: 0 !important; }

/* reduced-motion：静かな版。最終の画をそのまま出す */
#boot.is-reduced .ozg-veil, #boot.is-reduced .boot-final::before, #boot.is-reduced .boot-final::after { display: none; }
#boot.is-reduced .ozg-stage::before, #boot.is-reduced .ozg-stage i, #boot.is-reduced .boot-final { animation: none !important; }
#boot.is-reduced .ozg-stage i { opacity: .6; }
#boot.is-reduced .boot-final > * { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }

@media (max-width: 700px) {
  #boot .boot-final, #boot.is-on .boot-final, #boot.is-end .boot-final, #boot.is-on.is-end .boot-final { width: 90vw; padding: 34px 20px 38px; }
  #boot .boot-final .bf-lead { font-size: clamp(30px, 9vw, 44px); letter-spacing: .06em; }
  #boot.is-end .boot-final .bf-lead { font-size: clamp(48px, 15vw, 72px); }
}
@media (prefers-reduced-motion: reduce) {
  #boot .ozg-stage i { animation: none !important; }
}

/* ════ 2026-11-22 本人指定「もっとシンプルにカッコよく」（GO・EN の札）／TI の日付の上下ずれ ════
   GO・EN（#boot.is-fv）：ロゴ・肩書き・合図の行を外し、青い札は文字だけの英字ラベルにする。
   残すのは「LET'S BEGIN（UNTIL NEXT TIME）／題／細い線／名前」の4つだけ。 */
#boot.is-fv .ozg-logos, #boot.is-fv .bf-role, #boot.is-fv .bf-sub { display: none !important; }
#boot.is-fv .boot-final .bf-mod {
  background: none; clip-path: none; padding: 0; margin-bottom: clamp(20px, 3.4vh, 34px);
  color: var(--ozb-ice); font: 600 clamp(12px, 1.05vw, 16px)/1.4 var(--font-en); letter-spacing: .55em;
}
#boot.is-fv .boot-final .bf-lead { font-weight: 700; letter-spacing: .14em; }
#boot.is-fv.is-end .boot-final .bf-lead { letter-spacing: -.01em; }
#boot.is-fv .boot-final .bf-rule { width: 64px; height: 1px; margin: clamp(26px, 4vh, 40px) auto clamp(18px, 3vh, 28px); }
#boot.is-fv .boot-final .bf-name { font: 500 clamp(16px, 1.6vw, 24px)/1.6 var(--font-ja-sans); letter-spacing: .3em; color: rgba(240,244,255,.9); }
/* TI：「講演」の札と日付を、上下の中心でそろえる（以前は文字の下端＝ベースラインでそろえていて、書体の違いでずれた） */
#titlecard .tc-meta { align-items: center; }
#titlecard .tc-eyebrow { display: inline-flex; align-items: center; line-height: 1.2; }
#titlecard .tc-date { line-height: 1.2; }

/* ════ 2026-11-22 本人指摘「もう少しバランスいいページにしたい 窮屈」（qa の質問画面）════
   全体を中央に寄せて余白を取り、QRの札は小さく、題は一段小さく。右の欄は二重になっていた枠を1枚のガラスにする。
   届いたひとことの文字も一段小さくして、1画面に入る量を増やす（投影で読める大きさは保つ） */
#askqr { padding: clamp(28px, 5vh, 64px) clamp(28px, 6vw, 120px); }
#askqr .thanks-inner { max-width: 1440px; margin: 0 auto; }
#askqr .aq-brand { margin-bottom: clamp(26px, 4.6vh, 48px); }
#askqr .aq-brand span:last-child { margin-right: 64px; }
#askqr .thanks-title { font-size: clamp(26px, 2.6vw, 48px); margin-bottom: clamp(26px, 4.6vh, 48px); }
#askqr .aq-grid { grid-template-columns: minmax(260px, 24vw) minmax(0, 1fr); gap: clamp(36px, 4.6vw, 88px); margin-bottom: clamp(18px, 3vh, 30px); }
#askqr .thanks-qr { padding: clamp(24px, 3vh, 36px) clamp(20px, 2vw, 32px); gap: 20px; justify-content: center; }
#askqr .qr-card { width: min(100%, 38vh, 340px); padding: 14px; border-radius: 20px; box-shadow: 0 18px 50px -14px rgba(2,6,24,.6); }
#askqr .qr-lead { font-size: clamp(17px, 1.35vw, 24px); }
#askqr .qr-url { font-size: clamp(14px, 1.05vw, 19px); }
#askqr .qr-note { font-size: clamp(13px, .95vw, 17px); }
#askqr .aq-feed { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; overflow: visible; }
#askqr .aq-body { padding: clamp(22px, 2vw, 34px); }
#askqr .aq-head { padding: 0 2px clamp(16px, 2.4vh, 24px); border-bottom: 1px solid rgba(255,255,255,.14); margin-bottom: clamp(16px, 2.4vh, 24px); }
#askqr .aq-ttl { font-size: clamp(18px, 1.35vw, 24px); }
#askqr .aq-list li { font-size: clamp(20px, 1.6vw, 32px); padding: clamp(18px, 2.4vh, 26px) clamp(20px, 1.8vw, 30px); border-radius: 16px; background: rgba(255,255,255,.94); }
#askqr .aq-list li.aq-empty { background: none; border: 1px dashed rgba(255,255,255,.28); box-shadow: none; color: rgba(230,236,255,.7) !important; font-size: clamp(16px, 1.2vw, 22px); text-align: center; }
#askqr .thanks-sub { font-size: clamp(14px, 1vw, 18px); text-align: center; color: rgba(230,236,255,.78); }

/* 2026-11-22 本人指摘「左上にロゴが残ったりしてる、なしで」：トップのヘッダーのロゴは、開幕の演出（forwards で opacity:1 を保つ）が
   ozg-fv の opacity:0 に勝って、PR・GO・TI の上に透けて残ることがあった。重ねている間は演出ごと止めて確実に隠す */
html.ozg-fv .mh-header { animation: none !important; opacity: 0 !important; visibility: hidden; pointer-events: none; }
