/* 発表のウェブ版（PowerPoint のバックアップ）。1920×1080 の舞台を画面に合わせて拡大縮小する */
:root {
  --navy: #0e1b2a; --ink: #1f2933; --gray: #5f6b76; --muted: #8a949e;
  --coral: #e0533d; --line: #e3e6ea; --soft: #f5f6f8;
  --jp: "Yu Gothic UI", "Yu Gothic", "YuGothic", "Hiragino Sans", "Noto Sans JP", "Segoe UI", sans-serif;
  --num: "Segoe UI", "Helvetica Neue", Arial, var(--jp);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: #0b0f14; overflow: hidden; }
body { font-family: var(--jp); color: var(--ink); -webkit-font-smoothing: antialiased; cursor: default; }

.stage { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform-origin: 50% 50%; background: #fff; overflow: hidden; }
.slide { position: absolute; inset: 0; background: #fff; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s linear .55s; }
.slide.active { opacity: 1; visibility: visible; transition: opacity .55s ease; }
.abs { position: absolute; }

/* reveal: elements with data-step start hidden */
[data-step] { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
[data-step].in { opacity: 1; transform: none; }
[data-step].zoom { transform: scale(.88); }
[data-step].zoom.in { transform: none; }
[data-step].fadeonly { transform: none; }
.gone { opacity: 0 !important; transition: opacity .3s ease !important; pointer-events: none; }
.instant, .instant * { transition: none !important; animation: none !important; }

/* typing: characters fade in one by one */
.ch { opacity: 0; transition: opacity .12s linear; }
.ch.on { opacity: 1; }

/* text furniture */
.eb { font-size: 25px; font-weight: 700; color: var(--coral); letter-spacing: 3px; }
.ttl { font-size: 56px; font-weight: 700; color: var(--navy); line-height: 1.38; letter-spacing: .5px; }
.cap { font-size: 30px; color: var(--gray); line-height: 1.6; }
.band .eb { position: absolute; left: 108px; top: 46px; }
.band .ttl { position: absolute; left: 108px; top: 78px; font-size: 48px; white-space: nowrap; }
.col { position: absolute; left: 108px; top: 137px; width: 560px; }
.col .ttl { margin: 14px 0 34px; }
.swap { position: relative; }
.swap > * { position: absolute; left: 0; top: 0; }

/* ---------- generic window ---------- */
.win { position: absolute; border-radius: 30px; background: #fff; box-shadow: 0 10px 50px rgba(11,27,43,.13); overflow: hidden; border: 1px solid #e5e7eb; }
.viewport { position: absolute; overflow: hidden; }
.msgs { position: absolute; left: 0; right: 0; top: 0; padding: 28px 0 24px; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.msg { margin-bottom: 40px; }
.msg[data-step] { transform: none; opacity: 1; }
.msg[data-step]:not(.in) { display: none; }
.msg.in { animation: rise .55s cubic-bezier(.2,.8,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.msg .think { display: none; }
.msg.thinking .think { display: block; }
.msg.thinking .body { display: none; }
.bubble { margin-left: auto; width: fit-content; }
.thumbs { display: flex; gap: 12px; margin: 6px 0 12px; }
.thumbs img { display: block; object-fit: cover; border-radius: 9px; }
.body .pop { opacity: 0; transform: scale(.86); transition: opacity .45s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.body .pop.on { opacity: 1; transform: none; }
.lbl { color: var(--muted); }
.hl { border-radius: 14px; transition: background .4s ease, box-shadow .4s ease; }
.hl.lit { background: #fdece8; box-shadow: inset 0 0 0 2px #f2a493; }

/* ---------- ChatGPT ---------- */
.gpt { left: 698px; top: 101px; width: 1123px; height: 886px; }
.gpt .head { position: absolute; left: 50px; top: 24px; font-size: 28px; font-weight: 700; color: #0d0d0d; }
.gpt .head small { color: var(--muted); font-weight: 400; font-size: 22px; }
.gpt .viewport { left: 0; right: 0; top: 88px; bottom: 144px; }
.gpt .msgs { padding-left: 72px; padding-right: 72px; }
.gpt .bubble { max-width: 706px; background: #f3f3f3; border-radius: 32px; padding: 17px 29px; font-size: 26px; line-height: 40px; color: #0d0d0d; }
.gpt .ai { font-size: 26px; line-height: 42px; color: #0d0d0d; position: relative; }
.gpt .ai .think { width: 22px; height: 22px; border-radius: 50%; background: #0d0d0d; margin: 10px 0; animation: pulse .9s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.65); opacity: .6; } }
.gpt .ai p.li { padding-left: 1em; text-indent: -1em; }
.gpt .ai p.idea { padding: 6px 14px; margin: 6px -14px; padding-left: calc(14px + 1.4em); text-indent: -1.4em; }
.gpt .input { position: absolute; left: 65px; right: 65px; bottom: 40px; height: 81px; border-radius: 40px; background: #f4f4f4; font-size: 24px; color: var(--muted); padding: 0 40px; display: flex; align-items: center; }
.send { position: absolute; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-weight: 700; }
.gpt .send { right: 81px; bottom: 51px; width: 60px; height: 60px; font-size: 26px; }

/* ---------- Lovart ---------- */
.lv { left: 86px; top: 156px; width: 1747px; height: 878px; border-radius: 26px; }
.lv .canvas { position: absolute; left: 0; top: 0; bottom: 0; right: 720px; background: #f4f4f4; }
.lv .canvas .proj { position: absolute; left: 32px; top: 24px; font-size: 19px; font-weight: 700; }
.lv .canvas .proj::before { content: "●"; font-size: 14px; margin-right: 10px; }
.lv .canvas .tools { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); background: #fff; border-radius: 17px; box-shadow: 0 3px 18px rgba(11,27,43,.1); padding: 12px 34px; font-size: 21px; color: #3a3a3a; word-spacing: 26px; }
.lv .canvas img { position: absolute; border-radius: 6px; box-shadow: 0 4px 22px rgba(11,27,43,.12); object-fit: cover; }
.lv .canvas .fix { position: absolute; background: var(--coral); color: #fff; font-size: 17px; font-weight: 700; padding: 4px 14px; border-radius: 20px; }
.lv .panel { position: absolute; right: 0; top: 0; bottom: 0; width: 720px; border-left: 1px solid #e6e6e8; }
.lv .ptitle { position: absolute; left: 36px; top: 22px; font-size: 19px; font-weight: 700; }
.lv .picons { position: absolute; right: 30px; top: 22px; font-size: 19px; color: var(--muted); word-spacing: 14px; }
.lv .viewport { left: 0; right: 0; top: 75px; bottom: 147px; }
.lv .msgs { padding-left: 40px; padding-right: 40px; }
.lv .msg { margin-bottom: 30px; }
.lv .bubble { max-width: 598px; background: #f2f2f3; border-radius: 20px; padding: 14px 20px; font-size: 19px; line-height: 29px; }
.lv .ai { font-size: 19px; line-height: 29px; }
.lv .ai .lbl { font-size: 17px; line-height: 26px; }
.lv .ai p.li { padding-left: 1em; text-indent: -1em; }
.lv .ai .think { font-size: 18px; color: var(--muted); animation: pulse 1s ease-in-out infinite; }
.chips { display: flex; gap: 12px; margin-bottom: 10px; }
.chip { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e2e2e4; border-radius: 9px; padding: 4px 10px 4px 6px; font-size: 16px; }
.chip img { width: 24px; height: 24px; border-radius: 4px; object-fit: cover; }
.lv .comp { position: absolute; left: 29px; right: 29px; bottom: 22px; height: 121px; border: 1px solid #e3e3e6; border-radius: 17px; }
.lv .comp .ph { position: absolute; left: 26px; top: 20px; font-size: 19px; color: var(--muted); }
.lv .comp .chips { position: absolute; left: 24px; top: 16px; }
.lv .comp .mode { position: absolute; left: 26px; bottom: 18px; font-size: 17px; }
.lv .comp .mode b { position: relative; }
.lv .comp .ring { position: absolute; left: 262px; bottom: 9px; width: 238px; height: 44px; border: 3px solid var(--coral); border-radius: 22px; }
.lv .comp .send { right: 18px; bottom: 14px; width: 44px; height: 44px; font-size: 19px; }

/* Lovart video mode */
.lv.video { left: 1181px; width: 652px; }
.lv.video .panel { width: 652px; border-left: 0; }
.lv.video .viewport { bottom: 396px; }
.lv.video .bubble { font-size: 18px; line-height: 26px; }
.lv.video .comp { height: 370px; }
.slots { position: absolute; left: 22px; top: 22px; display: flex; gap: 12px; }
.slot { width: 72px; height: 72px; border-radius: 12px; background: #f3f3f4; font-size: 14px; color: var(--muted); display: grid; place-items: end center; padding-bottom: 6px; }
.slots img { width: 72px; height: 72px; border-radius: 9px; object-fit: cover; }
.lv.video .comp .prompt { position: absolute; left: 26px; right: 26px; top: 120px; font-size: 18px; line-height: 27px; }
.lv.video .comp .mode { font-size: 16px; }
.meta { font-size: 16px; color: var(--muted); margin-top: 8px; }
.stagebox { position: absolute; left: 86px; top: 156px; width: 1058px; height: 878px; border-radius: 26px; background: #f4f4f4; }

/* ---------- Claude ---------- */
.cl { background: #faf9f5; border-color: #e2dfd6; }
.cl .side { position: absolute; left: 0; top: 0; bottom: 0; width: 353px; background: #f1efe8; border-right: 1px solid #e4e1d8; padding: 46px 22px; font-size: 19px; color: #57534c; }
.cl .side p { padding: 10px 16px; border-radius: 12px; margin-bottom: 4px; }
.cl .side .sec { font-size: 17px; color: var(--muted); }
.cl .side .new { color: var(--ink); font-weight: 700; margin-bottom: 18px; }
.cl .side .act { background: #e6e3d9; color: var(--ink); }
.cl .side .me { position: absolute; left: 30px; bottom: 30px; display: flex; align-items: center; gap: 14px; color: var(--ink); }
.cl .side .me i { width: 40px; height: 40px; border-radius: 50%; background: #c96442; color: #fff; font-style: normal; font-weight: 700; display: grid; place-items: center; font-size: 18px; }
.cl .main { position: absolute; top: 0; bottom: 0; right: 0; }
.cl .htitle { position: absolute; left: 44px; top: 22px; font-size: 20px; font-weight: 700; color: #1f1e1d; }
.cl .htitle small { font-weight: 400; font-size: 17px; color: #6b675f; margin-left: 16px; }
.cl .viewport { left: 0; right: 0; top: 79px; bottom: 161px; }
.cl .msgs { left: 50%; right: auto; width: 1037px; transform: translateX(-50%); }
.cl .msgs.narrow { width: 965px; }
.cl .bubble { max-width: 806px; background: #f0eee6; border-radius: 23px; padding: 16px 26px; font-size: 24px; line-height: 37px; color: #1f1e1d; }
.cl .ai { font-size: 24px; line-height: 39px; color: #1f1e1d; }
.cl .ai .lbl { font-size: 21px; line-height: 32px; margin: 2px 0 6px; }
.cl .ai p.li { padding-left: 1em; text-indent: -1em; }
.cl .ai p.num { padding-left: 1.4em; text-indent: -1.4em; }
.cl .ai h4 { font-size: 24px; }
.cl .spin { position: absolute; left: 0; bottom: 0; font-size: 21px; color: var(--muted); }
.cl .spin b { color: #d97757; font-size: 24px; margin-right: 8px; display: inline-block; animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cl .input { position: absolute; left: 50%; transform: translateX(-50%); bottom: 64px; width: 1066px; height: 72px; border-radius: 20px; border: 1px solid #dedbd2; background: #fff; font-size: 22px; color: var(--muted); padding: 0 29px; display: flex; align-items: center; }
.cl .foot { position: absolute; left: 50%; transform: translateX(-50%); bottom: 22px; width: 1037px; display: flex; justify-content: space-between; font-size: 17px; color: var(--muted); }
.slash { color: #2f6feb; }

/* ---------- misc slides ---------- */
.shadow { box-shadow: 0 12px 50px rgba(11,27,43,.16); }
.round { border-radius: 26px; overflow: hidden; }
img.fit { display: block; width: 100%; height: 100%; object-fit: cover; }
.pt { display: flex; gap: 28px; }
.pt .n { font-family: var(--num); font-weight: 700; color: var(--coral); }
.row { position: absolute; left: 108px; width: 1123px; display: grid; grid-template-columns: 158px 367px 410px 188px; align-items: center; font-size: 30px; height: 101px; border-bottom: 1px solid var(--line); }
.row > :last-child { text-align: right; font-weight: 700; color: var(--navy); }
.row.head { font-size: 23px; color: var(--muted); font-weight: 700; height: 50px; border-bottom: 2px solid #c9ced4; }
.row.total { background: var(--soft); border-radius: 14px; border: 0; font-weight: 700; color: var(--navy); padding: 0 22px; left: 86px; width: 1167px; }
.hint { position: fixed; right: 18px; bottom: 14px; color: rgba(255,255,255,.35); font: 12px/1 var(--num); letter-spacing: 1px; z-index: 5; pointer-events: none; }
.progress { position: absolute; left: 0; bottom: 0; height: 5px; background: var(--coral); transition: width .4s ease; z-index: 10; opacity: .7; }
