
  :root {
    --sky: #B3BDF9; --lilac: #D7C8EB; --blush: #FBD3DE;
    --ink: #1D204F; /* 字・線・影は、sky と同じ色合いの藍（oklch 0.27 0.085 277）。パネルの字はアプリと同じ値のまま */ --pending: rgb(29 32 79 / 0.4);
    --pink: #F7A8BE; --pink-hover: #F497B1; --pink-deep: #F5427E; --dark: #1E202F; /* 見せ場の地。字と同じ藍を、黒に近くなるまで抑えた色（oklch 0.25 0.028 277）。藍が強いと図より地が目立ち、0.225 では暗すぎた */
    --head: "Parkinsans", "Zen Kaku Gothic New", sans-serif;
    --loose: "Pally", "Mochiy Pop One", sans-serif;
    --sys: -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
    --reveal: cubic-bezier(0.16, 1, 0.3, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --k: 160px; --kana: 0.55; --dot: 3;
    /* ドットの角（猫の絵と同じ3pxのドットで2段）。料金の札、よくある質問、ヘッダー、主ボタンで使う */
    --px: polygon(6px 0, calc(100% - 6px) 0, calc(100% - 6px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 3px) calc(100% - 6px), calc(100% - 3px) calc(100% - 3px), calc(100% - 6px) calc(100% - 3px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 3px), 3px calc(100% - 3px), 3px calc(100% - 6px), 0 calc(100% - 6px), 0 6px, 3px 6px, 3px 3px, 6px 3px);
    --win-ink: #454545;
  }
  * { box-sizing: border-box; margin: 0; }
  body { font: 500 17px/1.8 var(--head); color: var(--ink); background: #F6F7F9; -webkit-font-smoothing: antialiased; word-break: auto-phrase; }
  /* スクロールの分だけ縦に長くし、中の舞台を画面に貼り付ける。その間に Mac の画面を大きくする */
  /* 空の色と壁紙は、画面に固定した .backdrop に描く。Mac に寄って中に入ると壁紙に替わり、メリットの場面はその上を流れる */
  /* 260svh では Mac に入るまでが長かった */
  .hero { position: relative; z-index: 1; height: 200svh; }
  .stage { position: sticky; top: 0; height: 100svh; min-height: 640px; overflow: hidden; }

  .loading { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--sky) 0%, var(--lilac) 50%, var(--blush) 100%); transition: opacity 300ms ease-out; }
  .loading img { width: calc(64px * var(--dot)); height: calc(64px * var(--dot)); image-rendering: pixelated; }
  .loaded .loading { opacity: 0; pointer-events: none; }

  /* ヘッダー。料金の札と同じドットの角にし、影は1ドットずらしたドットの影にする（両端が丸く浮くガラスの枠は、AIで作ったサイトによくある形に見えた。2026-12-04）。
     角で切ると box-shadow が消えるので、ガラスと影は擬似要素に置いてそれぞれ切る */
  /* ヘッダーは中身の幅に縮めて真ん中に浮かべる（幅1120pxでは、ロゴと項目の間が約900px空いて長く見えた） */
  .header { position: fixed; z-index: 10; top: 16px; left: 50%; translate: -50% 0; width: max-content; max-width: calc(100% - 96px); height: 56px; display: flex; align-items: center; gap: 4px; padding: 0 8px 0 12px; isolation: isolate;
    transition: opacity 600ms var(--reveal), transform 600ms var(--reveal); }
  .header::before { content: ""; position: absolute; z-index: -2; inset: 3px -3px -3px 3px; pointer-events: none; background: rgb(29 32 79 / 0.14); clip-path: var(--px); }
  .header::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: rgb(255 255 255 / 0.62); -webkit-backdrop-filter: blur(10px) saturate(180%); backdrop-filter: blur(10px) saturate(180%); clip-path: var(--px); transition: background-color 300ms var(--reveal); }
  .pre .header { opacity: 0; transform: translateY(-12px); }
  .logo { display: flex; align-items: center; gap: 10px; margin-right: 36px; font: 700 18px/1 var(--head); color: var(--ink); text-decoration: none; transition: color 300ms var(--reveal); }
  .logo img { width: 32px; height: 32px; border-radius: 8px; }
  .header nav a { display: inline-flex; font: 700 15px/1 var(--head); color: var(--ink); text-decoration: none; padding: 12px; transition: color 300ms var(--reveal); }
  /* 見せ場の暗い地の上では、ガラスを暗くして字を白にする（藍の字は、ガラスに映った暗い地との比が1.5で読めなかった） */
  html.dk .header::after { background: color-mix(in srgb, var(--dark) 55%, transparent); }
  html.dk .header::before { background: rgb(255 255 255 / 0.16); }
  html.dk .logo, html.dk .header nav a { color: #F6F7F9; }
  .btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px; margin-left: 8px; border-radius: 9999px; background: var(--pink); color: var(--dark); font: 700 15px/1 var(--head); text-decoration: none; white-space: nowrap; transition: background-color 200ms cubic-bezier(0.4, 0, 0.2, 1); }
  .btn:hover { background: var(--pink-hover); }
  .header .btn, .jform .btn { position: relative; isolation: isolate; border-radius: 0; background: none; }
  .header .btn::before, .jform .btn::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--pink); clip-path: var(--px); }
  .header .btn:hover::before, .jform .btn:hover:not(:disabled)::before { background: var(--pink-hover); }
  .btn:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .short { display: none; }
  /* 事前登録のボタンを、決めどきに1回ずつきらめかせる（デモが始まったときと、料金が見えたとき）。ずっとくり返すと、上に留まるヘッダーで読むのを邪魔し、広告のように見えるため。
     ドットの絵に合わせ、光の帯と十字の星をコマ送り（steps）で動かす */
  .header .btn .glint { position: absolute; z-index: -1; inset: 0; overflow: hidden; clip-path: var(--px); pointer-events: none; }
  .header .btn .glint::before { content: ""; position: absolute; top: 0; bottom: 0; left: -28px; width: 24px; background: linear-gradient(90deg, rgb(255 255 255 / 0.75) 0 9px, transparent 9px 14px, rgb(255 255 255 / 0.75) 14px 18px, transparent 18px); transform: skewX(-20deg); visibility: hidden; }
  .header .btn.shine .glint::before { visibility: visible; animation: glint 560ms steps(7, end) both; }
  @keyframes glint { to { left: calc(100% + 8px); } }
  .header .btn .spk { position: absolute; width: 9px; height: 9px; background: var(--pink-deep); clip-path: polygon(33.4% 0, 66.6% 0, 66.6% 33.4%, 100% 33.4%, 100% 66.6%, 66.6% 66.6%, 66.6% 100%, 33.4% 100%, 33.4% 66.6%, 0 66.6%, 0 33.4%, 33.4% 33.4%); scale: 0; pointer-events: none; }
  .header .btn .spk.a { right: -6px; top: -6px; }
  .header .btn .spk.b { left: -5px; bottom: -5px; }
  .header .btn.shine .spk.b { animation: spk 420ms steps(3, end) 40ms; }
  .header .btn.shine .spk.a { animation: spk 420ms steps(3, end) 360ms; }
  @keyframes spk { 0% { scale: 0.34; } 34%, 67% { scale: 1; } 100% { scale: 0; } }

  /* 見出し。はじめは画面の真ん中に大きく出し、整ったら上へ浮かせて、空いた所に Mac の画面を入れる */
  .head-scroll { position: absolute; z-index: 2; inset: 0 0 auto; pointer-events: none; }
  .headline-box { position: absolute; left: 50%; top: 0; width: min(1120px, calc(100vw - 48px)); text-align: center; transform-origin: 50% 0;
    transform: translate(-50%, var(--hy, 0px)) scale(var(--hs, 1)); transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1); }
  h1 { position: relative; z-index: 1; font-family: var(--head); font-weight: 700; font-size: calc(var(--k) * var(--kana)); line-height: calc(var(--k) * 1.1); min-height: calc(var(--k) * 2.2); }
  h1 .line { display: block; white-space: nowrap; transform-origin: 50% 70%; transition: transform 300ms var(--reveal); }
  h1 .k { font-size: var(--k); line-height: 1; }
  .pending { position: relative; font-family: var(--loose); font-weight: 500; color: var(--pending); animation: appear 150ms ease-out both; }
  .confirmed { animation: settle 300ms var(--reveal) both; }
  @keyframes appear { from { opacity: 0; } }
  @keyframes settle { from { opacity: 0.3; color: var(--pending); } }
  .caret { display: inline-flex; align-items: center; gap: 0.08em; height: 1em; vertical-align: -0.12em; margin-left: 0.16em; }
  .caret i { display: block; width: 0.094em; height: 0.66em; border-radius: 0.05em; background: var(--pink-deep); animation: level 600ms ease-in-out infinite alternate; }
  .caret i:nth-child(1), .caret i:nth-child(5) { animation-delay: -300ms; }
  .caret i:nth-child(2), .caret i:nth-child(4) { animation-delay: -150ms; }
  @keyframes level { from { transform: scaleY(0.45); } }
  .wave { position: absolute; z-index: 0; left: 50%; top: -8%; width: 0; height: 116%; overflow: visible; pointer-events: none; }
  .wave path { fill: none; stroke: var(--pink-deep); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; opacity: 0.9; }

  /* 外れる言葉の消え方。見出しは猫が食べ、メモでは AI の校正として赤ペンで消す */
  .f.gone { display: inline-block; overflow: hidden; vertical-align: bottom; white-space: nowrap; opacity: 0; transition: width 300ms var(--reveal), opacity 200ms ease-out; }
  .f.strike.gone { transition: width 400ms cubic-bezier(0.45, 0, 0.25, 1), opacity 300ms ease-out; }
  .f.hide { color: transparent !important; }
  .f.strike::after { content: ""; position: absolute; left: -3%; right: -3%; top: 52%; height: max(2px, 0.1em); border-radius: 1em; background: var(--pink-deep); transform: scaleX(0); transform-origin: left center; transition: transform 520ms cubic-bezier(0.45, 0, 0.25, 1); }
  .f.strike.on::after { transform: scaleX(1); }
  .fxc { position: fixed; z-index: 20; inset: 0; width: 100%; height: 100%; pointer-events: none; }

  /* Mac の画面。ノッチ、細い黒の縁とアルミの縁、メニューバーの右の印で Mac と分かるようにする */
  .mac { position: absolute; z-index: 1; left: 50%; width: min(1160px, calc(100% - 120px)); padding: 13px 13px 0; border-radius: 30px 30px 0 0; background: #0C0C0E;
    box-shadow: 0 0 0 1.5px #A7ABB3, 0 0 0 3px #D9DCE1, 0 40px 90px rgb(29 32 79 / 0.28), inset 0 0 0 1px rgb(255 255 255 / 0.06);
    translate: -50% 120px; transform-origin: 50% 0;
    opacity: 0; transition: opacity 700ms var(--reveal), translate 1100ms cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
  .mac.on { opacity: 1; translate: -50% 0; }
  .screen { position: relative; height: 100%; border-radius: 18px 18px 0 0; overflow: hidden; background: #DCE1FF; }
  .wallpaper { position: absolute; left: 0; top: 0; width: 100%; height: var(--vis); }
  /* 折り返しは 8px 重ね、上の縁を 6px でぼかす（並べただけだと、2つの絵の縁が半透明になって境目に明るい線が出た）。
     mask は裏返す前の向きで効くので、下から掛ける */
  .below { position: absolute; left: 0; right: 0; top: calc(var(--vis) * 2); bottom: 0; background: linear-gradient(180deg, #F2BFD2, #E9C9E6 40%, #D9D2F6); }
  .notch { position: absolute; z-index: 6; left: 50%; top: 0; width: 176px; height: 32px; translate: -50% 0; border-radius: 0 0 12px 12px; background: #0C0C0E; }
  .notch::after { content: ""; position: absolute; left: 50%; top: 11px; width: 8px; height: 8px; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #3A3F55, #15161C 70%); }
  .menubar { position: absolute; z-index: 5; left: 0; right: 0; top: 0; height: 32px; display: flex; align-items: center; gap: 18px; padding: 0 16px 0 18px; background: rgb(255 255 255 / 0.28); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); font: 500 13.5px/1 var(--sys); color: #1D1D1F; }
  .menubar b { font-weight: 700; }
  .menubar .right { margin-left: auto; display: flex; align-items: center; gap: 15px; }
  .menubar svg { width: 17px; height: 17px; fill: none; stroke: #1D1D1F; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  /* DictCat のアイコンは本物（MenuIcon）と同じ 64 ドットの絵。テンプレート画像なので、ほかの印と同じ色で描く。高さは本物と同じく文字の 15/13 */
  .menubar svg.mi { width: auto; height: 1.15em; aspect-ratio: 62 / 55; fill: currentColor; stroke: none; }
  .mac .windows { position: absolute; z-index: 3; left: 0; right: 0; top: 32px; height: var(--win-h); }

  /* アプリの窓。どれも 420x320 を基準にし、話している窓だけ大きく手前に出す */
  .win { position: absolute; left: 0; top: 0; width: 420px; height: 320px; text-align: left; font: 400 13px/1.5 var(--sys); color: var(--win-ink); opacity: 0;
    transform: translate(calc(var(--cx) - 50%), calc(var(--cy) - 50%)) scale(calc(var(--s) * 0.7));
    transition: opacity 300ms ease-out, transform 700ms var(--reveal), filter 700ms var(--reveal); }
  .win.on { opacity: 1; transform: translate(calc(var(--cx) - 50%), calc(var(--cy) - 50%)) scale(var(--s)); }
  .win.on:not(.active) { filter: saturate(0.85) brightness(0.97); cursor: pointer; }
  .win.on:not(.active):hover { filter: none; }
  .win .float { position: relative; width: 100%; height: 100%; border-radius: 27px; overflow: hidden; background: #FFFFFF; box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.18), 0 22px 56px rgb(29 32 79 / 0.18), 0 3px 10px rgb(29 32 79 / 0.08); transition: box-shadow 600ms; }
  .win.active .float { box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.18), 0 30px 80px rgb(29 32 79 / 0.3), 0 4px 14px rgb(29 32 79 / 0.1); }
  .lights { position: absolute; left: 19px; top: 19px; display: flex; gap: 9px; }
  .lights i { width: 14px; height: 14px; border-radius: 50%; }
  .lights i:nth-child(1) { background: #EC6765; box-shadow: inset 0 0 0 1px #E73935; }
  .lights i:nth-child(2) { background: #F2CA44; box-shadow: inset 0 0 0 1px #EFBA0B; }
  .lights i:nth-child(3) { background: #65C466; box-shadow: inset 0 0 0 1px #35B338; }
  .win:not(.active) .lights i { background: #DCDCDC; box-shadow: inset 0 0 0 1px #CFCFCF; }
  .wt { position: absolute; left: 108.5px; top: 16.5px; font: 600 13.8px/18px var(--sys); color: var(--win-ink); }
  .notes .date { position: absolute; left: 0; right: 0; top: 59.5px; text-align: center; font: 400 11px/16px var(--sys); color: #999999; }
  .notes h3 { position: absolute; left: 24px; top: 84px; font: 700 22px/30px var(--sys); color: var(--win-ink); }
  .notes .list { position: absolute; left: 24px; right: 20px; top: 124px; }
  .mail .body { position: absolute; left: 24px; right: 20px; top: 146px; font-size: 13.5px; line-height: 1.55; color: #262626; }
  .mail .body p { margin-bottom: 4px; }
  .ai .msgs { position: absolute; left: 16px; right: 16px; top: 56px; bottom: 70px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
  .ask { align-self: flex-end; max-width: 82%; padding: 7px 12px; border-radius: 18px; background: #F0F0F3; }
  .answer { display: flex; gap: 8px; }
  .answer p { padding-top: 2px; }
  .bot { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E3E3E6; }
  .bot svg { width: 15px; height: 15px; }
  .typing { display: flex; gap: 3px; padding-top: 8px; }
  .typing i { width: 5px; height: 5px; border-radius: 50%; background: rgb(0 0 0 / 0.3); animation: blink 900ms ease-in-out infinite; }
  .typing i:nth-child(2) { animation-delay: 150ms; } .typing i:nth-child(3) { animation-delay: 300ms; }
  @keyframes blink { 50% { opacity: 0.3; } }
  .new { animation: rise 300ms var(--reveal) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } }
  .ai .composer { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: flex-end; gap: 8px; min-height: 42px; padding: 10px 8px 10px 16px; border-radius: 21px; background: #FFFFFF; box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.08), 0 2px 14px rgb(0 0 0 / 0.08); }
  .ai .input { flex: 1; min-height: 20px; line-height: 1.5; }
  .ai .input:empty::before { content: attr(data-ph); color: rgb(0 0 0 / 0.3); }
  .ai .send { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: -2px; border-radius: 50%; background: #0D0D0D; }
  .ai .send svg { width: 12px; height: 12px; fill: none; stroke: #FFFFFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .win .pending { font: inherit; color: rgb(69 69 69 / 0.5); }
  /* 声での指示: 指示の言葉に印を付けて消し、直す先の言葉を入れ替える */
  .cmd { border-radius: 4px; background: #E4DAF8; color: #5B4A8B !important; transition: background-color 200ms; }
  .cmd.gone { display: inline-block; overflow: hidden; vertical-align: bottom; white-space: nowrap; opacity: 0; transition: width 400ms cubic-bezier(0.45, 0, 0.25, 1), opacity 300ms ease-out; }
  .cmd-tag { display: inline-block; margin-left: 5px; vertical-align: 2px; padding: 2px 6px; border-radius: 9999px; background: #6E57B5; color: #FFFFFF; font: 600 10px/1.3 var(--sys); white-space: nowrap; animation: tag 220ms var(--spring) both; }
  @keyframes tag { from { opacity: 0; transform: translateY(3px); } }
  .swap { display: inline-block; border-radius: 4px; animation: swap 900ms ease-out both; }
  @keyframes swap { 0% { background: #E4DAF8; transform: translateY(-3px); opacity: 0; } 25% { opacity: 1; transform: none; } 70% { background: #E4DAF8; } 100% { background: transparent; } }
  .bars { display: inline-flex; align-items: center; gap: 1.5px; height: 10px; margin-left: 4px; vertical-align: -1px; opacity: 0.6; }
  .bars i { display: block; width: 2px; border-radius: 1px; background: var(--pink-deep); animation: level 600ms ease-in-out infinite alternate; }
  .bars i:nth-child(1), .bars i:nth-child(5) { height: 5.5px; animation-delay: -300ms; }
  .bars i:nth-child(2), .bars i:nth-child(4) { height: 8px; animation-delay: -150ms; }
  .bars i:nth-child(3) { height: 10px; }

  /* DictCat のパネルと猫。本物のパネルの値（幅380、角丸24、文字17pt、余白20・24）に合わせる */
  .dc { position: absolute; z-index: 4; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms ease-out; }
  .dc.on { opacity: 1; }
  .pet { position: absolute; width: auto; height: var(--pet); image-rendering: pixelated; translate: 0 -100%; }
  .dc[data-mode="std"] .pet { display: none; }
  .panel { position: absolute; width: 380px; transform-origin: 50% 100%; translate: -50% -100%; scale: calc(var(--ps) * 0.9); opacity: 0; border-radius: 24px;
    background: rgb(255 255 255 / 0.66); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 0 0 1px rgb(0 0 0 / 0.1), 0 14px 36px rgb(29 32 79 / 0.18); font: 400 16px/24.5px var(--sys); color: #1D1D1F; text-align: left;
    transition: opacity 150ms ease-out, scale 300ms cubic-bezier(0.34, 1.3, 0.64, 1); }
  .panel.on { opacity: 1; scale: var(--ps); }
  /* 本物のパネルは行の間を行の下に足すので、字を上に寄せ、下を空ける（本物を撮って測った字の位置に合わせた） */
  .panel .tx { padding: 17.25px 24px 6.75px; min-height: 48.5px; }
  .panel .tx .pending { font: inherit; color: rgb(60 60 67 / 0.6); }
  .panel .tx .said { animation: settle 300ms var(--reveal) both; }
  .panel .tx .bars { height: 14px; gap: 1.2px; vertical-align: 3px; }
  .panel .tx .bars i { width: 1.5px; }
  /* 下の行は、左に中止、真ん中にプリセット名（知らせもここに差し替える）、右に完了 */
  .panel .ft { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding: 0 20px 4px; }
  .panel .status { display: flex; align-items: center; gap: 4px; font: 400 12px/1 var(--sys); color: rgb(60 60 67 / 0.6); }
  .panel .status svg { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  /* 整えている間は、本物と同じく文の終わりの波形を処理中の波（0.9秒で一巡）に替え、下の行は知らせの文字だけにし、完了のボタンを消す */
  .panel .tx .bars.busy i { animation: wave 900ms ease-in-out infinite; }
  .panel .ft .cb:last-child { transition: opacity 150ms ease-out; }
  .panel.busy .ft .cb:last-child { opacity: 0; }
  .panel .tx .bars.busy i:nth-child(2) { animation-delay: 100ms; } .panel .tx .bars.busy i:nth-child(3) { animation-delay: 200ms; } .panel .tx .bars.busy i:nth-child(4) { animation-delay: 300ms; } .panel .tx .bars.busy i:nth-child(5) { animation-delay: 400ms; }
  @keyframes wave { 50% { transform: scaleY(0.4); } }
  /* 閉じると完了は、本物のパネル（ガラスの丸いボタン、SF Symbols の xmark と checkmark の semibold）に合わせる。丸はパネルより少し暗いだけで、白く浮かせない。大きさと位置は本物のパネルを撮って測った（2026-11-26） */
  .cb { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: rgb(60 60 67 / 0.05); }
  .cb svg { width: 12px; height: 12px; fill: none; stroke: rgb(60 60 67 / 0.85); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

  /* 録音を始めたときの小さな形（高さ40で両端を丸く。プリセット名を出す） */
  .capsule { position: absolute; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px; transform-origin: 50% 100%; translate: -50% -100%; scale: calc(var(--ps) * 0.9); opacity: 0;
    background: rgb(255 255 255 / 0.66); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.1), 0 14px 36px rgb(29 32 79 / 0.18);
    font: 400 12px/1 var(--sys); color: rgb(60 60 67 / 0.6); white-space: nowrap; transition: opacity 150ms ease-out, scale 300ms cubic-bezier(0.34, 1.3, 0.64, 1); }
  .capsule.on { opacity: 1; scale: var(--ps); }
  .capsule .bars { margin: 0; }
  /* メモの番号付きの箇条書き。番号は本文と同じ色で、そろえて字下げする */
  .notes .ol p { display: flex; gap: 6px; min-height: 24px; }
  .notes .ol .n { flex: none; min-width: 15px; text-align: right; font-variant-numeric: tabular-nums; }

  /* メリットの場面。Mac の画面に寄って中に入り、壁紙の上で見せる。見出しは一番上と同じ組み方（漢字と数字を大きく、かなを0.55倍）を半分の大きさで、
     図は一番上と同じ窓・パネル・猫で作る。図は7秒で1回りする（cvboost の中盤の動きだけを借りる）。動かさないとき（撮影・動きを減らす）は FIG_STILL の時刻で止める */
  :root { --select: rgb(0 122 255 / 0.22); }
  .backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
  .bd-sky { position: absolute; inset: 0; background: linear-gradient(135deg, var(--sky) 0%, var(--lilac) 50%, var(--blush) 100%); }
  /* 後ろの壁紙は、Mac の中の壁紙と同じ大きさで同じ所に重ねて動かす。Mac が消えても見た目が変わらず、そのままメリットの場面の地になる */
  .bd-desk { position: absolute; left: 0; top: 0; transform-origin: 0 0; opacity: 0; will-change: transform; }
  .ui { position: absolute; z-index: 4; inset: 0; }
  /* Mac の中の窓が消え始めるころに最初の見出しが下から入るよう、Mac に寄る場面の終わりに重ねる（-30svh では、窓が消えてから見出しが見えるまで、背景だけの画面が1画面近く続いた。2026-12-04） */
  .merits { position: relative; z-index: 1; margin-top: -55svh; padding: 12svh 48px 0; }
  .merits .wrap { max-width: 1120px; margin: 0 auto; display: grid; gap: 220px; }
  .mh { --mk: 80px; margin-bottom: 64px; font: 700 calc(var(--mk) * 0.55)/calc(var(--mk) * 1.2) var(--head); text-align: center; }
  .mh .k { font-size: var(--mk); line-height: 1; }
  .mh .kk { font-size: calc(var(--mk) * 1.5); line-height: 1; }
  .mh.small { --mk: 56px; margin-bottom: 48px; }
  /* 折り返すときは行の長さをそろえる（スマホで「ユーザー辞書が、自動で / ふえる」と、2行目がかなだけになった） */
  .merits .mh { text-wrap: balance; }
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--reveal), transform 600ms var(--reveal); }
  .in .reveal, .in.reveal { opacity: 1; transform: none; }
  .in .mh + .reveal, .pair .item + .item { transition-delay: 120ms; }

  /* 窓。一番上の窓と同じ白い角丸と影。左上の3つの丸は一番上の Mac の画面だけに残し、メリットの窓は場面ごとに別のアプリの形にする
     （同じメモの窓が4回続いて単調に見えたため）。見せたい字のほかは灰色の棒にする（Aqua Voice の窓） */
  .nw { position: relative; height: 200px; border-radius: 22px; overflow: hidden; background: #FFFFFF; text-align: left; font: 400 16px/1.6 var(--sys); color: var(--win-ink);
    box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.18), 0 22px 56px rgb(29 32 79 / 0.18), 0 3px 10px rgb(29 32 79 / 0.08); }
  .nw .body { position: absolute; }
  .gb { display: block; height: 8px; border-radius: 4px; background: rgb(0 0 0 / 0.08); }
  .dk .gb { background: rgb(255 255 255 / 0.14); }

  /* 速さ。同じ文を、左は声で、右は1字ずつ打つ。下の線は、話すほうが見出しと同じ太いピンクの声の波 */
  .race2, .ba2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; }
  .meter { position: relative; height: 40px; margin-top: 28px; }
  .meter svg { display: block; width: 100%; height: auto; overflow: visible; }
  .meter path { fill: none; stroke: var(--pink-deep); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
  .meter .track, .meter .bar { position: absolute; left: 0; right: 0; top: 17px; height: 6px; border-radius: 3px; }
  .meter .track { background: rgb(29 32 79 / 0.1); }
  .meter .bar { background: var(--ink); transform-origin: 0 50%; }
  /* 窓の文は打つと約1分かかる長さ（日本語71字、英語39語）にし、線の端の時計を10倍の早回しで進める。図の長さと見出しの「1分」「15秒」をそろえる */
  @property --cm { syntax: "<integer>"; inherits: false; initial-value: 0; }
  @property --cs { syntax: "<integer>"; inherits: false; initial-value: 0; }
  .meter .tm { position: absolute; right: 0; top: calc(100% + 12px); font: 700 24px/1 var(--head); font-variant-numeric: tabular-nums; counter-reset: cm var(--cm) cs var(--cs); }
  .meter .tm::after { content: counter(cm) ":" counter(cs, decimal-leading-zero); }
  .speak .tm { color: var(--pink-deep); }
  .speed .nw { height: auto; min-height: 200px; }
  .speed .nw .body { position: relative; padding: 150px 20px 28px 24px; }
  .mhd { position: absolute; left: 0; right: 0; top: 0; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 24px; border-bottom: 1px solid rgb(0 0 0 / 0.06); }
  .mhd b { font: 700 18px/1 var(--sys); color: var(--win-ink); }
  .mhd .sendi { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgb(0 0 0 / 0.05); }
  .mhd .sendi svg { width: 15px; height: 15px; fill: none; stroke: #8E8E93; stroke-width: 1.6; stroke-linejoin: round; }
  .mrow { position: absolute; left: 24px; right: 20px; height: 38px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgb(0 0 0 / 0.06); font: 400 13px/1 var(--sys); color: #8E8E93; }
  .mrow .gb { flex: none; }
  .tline { position: relative; }
  .tline .tx i { font-style: normal; }
  .caret3 { position: absolute; left: 0; top: 0.2em; width: 1.5px; height: 1.2em; background: var(--win-ink); }

  /* 思ったまま、AIに渡せる。一番上と同じ AI チャットの窓。話した頼み事が入り、「えっと」は消えて、打つと省きがちな気持ちや事情の一言は残る（校正のプロンプト polish.md が、
     気持ちや確かさの度合いを残すのと同じ）。AIの答えがその一言を拾う。言い方は「答えが良くなる」と結果を約束せず、渡す側で言う（Wispr Flow は「文脈を多く渡せて答えが良くなる」と言っている） */
  .aiw { position: relative; width: min(640px, 100%); height: 360px; margin: 0 auto; border-radius: 22px; background: #FFFFFF; text-align: left; font: 400 16px/1.6 var(--sys); color: var(--win-ink);
    box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.18), 0 22px 56px rgb(29 32 79 / 0.18), 0 3px 10px rgb(29 32 79 / 0.08); }
  .aiw .wt { left: 24px; top: 17px; font-size: 14px; }
  .aiw .msgs { gap: 14px; }
  .aiw .ask { padding: 9px 14px; border-radius: 20px; }
  .aiw .answer p { padding-top: 0; }
  .aiw .rep { position: relative; }
  .aiw .rep .typing { position: absolute; left: 0; top: 0; }
  /* 入力欄は2行分の高さに決めておき、長くなったら新しい行を下に見せる（送ったあとも見えない文が高さを取り、答えが隠れた） */
  .aiw .msgs { bottom: 98px; }
  .aiw .composer { height: 74px; align-items: flex-end; padding: 11px 10px 11px 16px; }
  .aiw .input { position: relative; height: 51.2px; line-height: 1.6; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
  .aiw .phd { position: absolute; left: 0; top: 0; color: rgb(0 0 0 / 0.3); white-space: nowrap; }
  .aiw .filler { display: inline-block; overflow: hidden; vertical-align: bottom; white-space: nowrap; }
  .nuance { text-decoration: underline wavy transparent; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-skip-ink: none; }

  /* ユーザー辞書が、自動でふえる。1回目は聞き違いを選んで打ち直すと、一番上と同じ小さな形で辞書の知らせが出る。2回目は貼られた文で、名前が初めから正しい */
  .first { position: relative; }
  /* 窓は Mac のメッセージ。左に相手の一覧、右にやりとり。1回目は入力欄で名前を直し、2回目は送った吹き出しで名前が初めから正しい。
     丸は灰色の地に白い頭文字、選んだ相手と送った吹き出しは青（色だけの丸では、何のアプリかわからなかった）。名前の波線は、ほかの場面と同じピンク */
  .learn .nw { height: 268px; }
  .learn .nw h4 { position: absolute; left: 20px; top: 18px; font: 700 16px/20px var(--sys); color: var(--win-ink); }
  .side { position: absolute; left: 0; top: 0; bottom: 0; width: 120px; padding: 56px 14px 0; display: grid; align-content: start; gap: 14px; background: #F5F5F7; border-right: 1px solid rgb(0 0 0 / 0.05); }
  .side p { display: flex; align-items: center; gap: 8px; }
  .side .av, .chd .av, .inb .av { flex: none; width: 28px; height: 28px; border-radius: 50%; }
  .side .on { margin: -6px -6px; padding: 6px; border-radius: 10px; background: #0A84FF; }
  .chd { position: absolute; left: 120px; right: 0; top: 0; height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid rgb(0 0 0 / 0.05); }
  .inb { position: absolute; left: 136px; top: 64px; display: flex; align-items: flex-end; gap: 8px; }
  .inb .bub { display: grid; gap: 7px; width: 150px; padding: 11px 14px; border-radius: 18px 18px 18px 6px; background: #E9E9EB; }
  .learn .nw .body { left: 136px; right: 16px; font-size: 15px; line-height: 1.55; }
  .learn .first .nw .body { top: auto; bottom: 14px; padding: 10px 14px; border-radius: 18px; background: #FFFFFF; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12); }
  .learn .second .nw .body { top: 116px; left: auto; width: 300px; padding: 9px 14px; border-radius: 18px 18px 6px 18px; background: #0A84FF; color: #FFFFFF; }
  .learn .av { display: grid; place-items: center; background: linear-gradient(180deg, #A9AEB9, #868B97); color: #FFFFFF; font: 600 12px/1 var(--sys); }
  .side .on .gb { background: rgb(255 255 255 / 0.75); }
  .inb .bub .gb { background: rgb(0 0 0 / 0.13); }
  .cmpb { position: absolute; left: 136px; right: 16px; bottom: 14px; height: 40px; display: flex; align-items: center; padding: 0 14px; border-radius: 20px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12); }
  /* 聞き違いの字は選んだあと消さずに、ピンクの取り消し線で残す（動きが終わったあとも、何を何に直したかがわかるように） */
  .sel { position: relative; display: inline-block; vertical-align: bottom; white-space: nowrap; margin-right: 0.2em; border-radius: 3px; transition: color 200ms ease-out 1100ms; }
  .sel::after { content: ""; position: absolute; left: -1px; right: -1px; top: 54%; height: 2px; border-radius: 1px; background: var(--pink-deep); transform-origin: 0 50%; transition: transform 250ms var(--reveal) 1100ms; }
  .learn.in .sel { color: rgb(60 60 67 / 0.45); animation: selpick 700ms 400ms; }
  @keyframes selpick { from, to { background: var(--select); } }
  /* 打つ前の字は幅を持たせない（空きが出ないように） */
  .typed i { display: inline-block; vertical-align: bottom; overflow: hidden; max-width: 1em; font-style: normal; transition: max-width 0s linear var(--d); }
  .caret2 { display: inline-block; width: 1.5px; height: 1.1em; margin: 0 -2.5px 0 1px; vertical-align: -0.18em; background: var(--win-ink); opacity: 0; }
  .learn.in .caret2 { animation: caret2 900ms steps(1, end) 1350ms forwards; }
  @keyframes caret2 { from { opacity: 1; } to { opacity: 0; } }
  .mcap { position: absolute; left: 50%; bottom: -20px; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px; white-space: nowrap;
    background: rgb(255 255 255 / 0.66); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.1), 0 14px 36px rgb(29 32 79 / 0.18);
    font: 400 13px/1 var(--sys); color: rgb(60 60 67 / 0.75); transition: opacity 300ms var(--reveal) 2000ms, transform 300ms var(--spring) 2000ms; }
  .mcap b { color: #1D1D1F; font-weight: 700; }
  .mcap svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
  .good { position: relative; font-weight: 600; }
  .good .sq { position: absolute; left: -2px; bottom: -6px; width: calc(100% + 4px); height: 7px; overflow: visible; }
  .good .sq path { fill: none; stroke: var(--pink-deep); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 600ms var(--reveal) 3200ms; }
  .second .body { transition: opacity 300ms var(--reveal) 2600ms; }
  .learn:not(.in) .sel::after { transform: scaleX(0); }
  .learn:not(.in) .typed i { max-width: 0; }
  .learn:not(.in) .mcap { opacity: 0; transform: translateY(8px) scale(0.96); }
  .learn:not(.in) .good .sq path { stroke-dashoffset: 1; }
  .learn:not(.in) .second .body { opacity: 0; }

  /* リアルタイム文字起こし。一番上と同じガラスのパネルで、字を薄く出して止まると濃くする。猫はパネルの下に座り、いちばん新しい字を目で追う（pet.md 2-10） */
  /* 左右の図の上の端をそろえる。見出しの行の高さが違っても（英語は2行になる）、図は同じ高さから始め、見出しは図の側に寄せる */
  .pair { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; column-gap: 64px; }
  .pair .item { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
  .pair .item .mh { align-self: end; }
  /* 図は上に詰める（伸ばすと、右の図が高い分だけ左のパネルが縦に伸びた） */
  .pair figure { align-self: start; }
  /* 本物のパネルは下の端を止めて上へ伸びるので、文が全部出たときの高さを取っておき、パネルを下に寄せる（猫も動かない）。全部出たとき、上の端がどのアプリでもの窓とそろう */
  .live2 { display: grid; justify-items: center; grid-template-rows: var(--mh, auto) auto; }
  .live2 .mpanel { align-self: end; }
  .mpanel { position: relative; z-index: 1; width: min(380px, 100%); border-radius: 24px; text-align: left; font: 400 16px/24.5px var(--sys); color: #1D1D1F;
    background: rgb(255 255 255 / 0.66); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.1), 0 14px 36px rgb(29 32 79 / 0.18); }
  .mpanel .tx { padding: 17.25px 24px 6.75px; min-height: 48.5px; }
  .mpanel .ft { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding: 0 20px 4px; }
  .mpanel .status { display: flex; align-items: center; gap: 4px; font: 400 12px/1 var(--sys); color: rgb(60 60 67 / 0.6); }
  /* 本物のパネルと同じく、声の波形をカーソルにして文の終わりに付ける。字は出るまで大きさ0にして幅を持たせず、波形が行をまたいで字を追う。行の高さはパネルの行に任せる（字ごとに持たせると、大きさ0でも行が高くなった） */
  .mpanel .tx span:not(.bars) { font-size: 0; line-height: 0; }
  .mpanel .tx .bars { height: 14px; gap: 1.2px; vertical-align: 3px; }
  .mpanel .tx .bars i { width: 1.5px; }
  /* パネルは猫の頭の上 4px（頭の上の縁は絵の上から 10 ドット） */
  .mcat { position: relative; width: 96px; height: 96px; margin-top: calc(96px * -10 / 64 + 4px); }
  .mcat img { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: 0; }
  .mcat img:first-child { opacity: 1; }
  /* どのアプリでも。アプリのアイコンを Dock のようなガラスの帯に並べて流し（Typeless の帯）、真ん中に来たアプリを大きくする。
     上の窓はそのアプリの印に替わり、一番上と同じ小さな形が出たあと、声で入れた文が貼られる（Grammarly・Apple Intelligence の、窓の中で動く見せ方）。
     アイコンは Apple 以外の会社のアプリだけにする（Apple は書面の許可なしに自社のアイコンを使うことを禁じている）。公開の前に各社のブランドの決まりを確かめる */
  .apps2 { display: grid; justify-items: center; gap: 44px; }
  /* 窓の中は、帯の真ん中に来たアプリの形に替わる。アプリの印は下の帯でわかるので、窓には出さない。窓の幅は左のパネルと同じ380 */
  .awin { position: relative; width: min(380px, 100%); height: 200px; border-radius: 22px; background: #FFFFFF; text-align: left; font: 400 16px/1.6 var(--sys); color: var(--win-ink);
    box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.18), 0 22px 56px rgb(29 32 79 / 0.18), 0 3px 10px rgb(29 32 79 / 0.08); }
  /* アプリの形は角で切る。小さな形は窓の下の縁にはみ出すので、窓そのものは切らない */
  .skw { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
  .awin .lines { position: absolute; inset: 0; z-index: 2; }
  .awin .lines p { position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; font-size: 15px; line-height: 24px; }
  .awin .lines .chatline { font-size: 14px; line-height: 22px; }
  .sk { position: absolute; inset: 0; opacity: 0; background: #FFFFFF; font: 400 12px/1.5 var(--sys); color: #1D1D1F; }
  .sk > * { position: absolute; }
  .sk.dark { background: #313338; color: #DBDEE1; }
  .sk.code { background: #1E1E1E; color: #D4D4D4; } .sk.cur { background: #181818; } .sk.video { background: #1C1C1E; }
  .sk.cream { background: #FAF9F5; }
  .sk .hd { left: 0; right: 0; top: 0; height: 36px; display: flex; align-items: center; padding-left: 14px; border-bottom: 1px solid rgb(0 0 0 / 0.07); font-weight: 700; }
  .sk.dk .hd { border-color: rgb(255 255 255 / 0.07); }
  .sk .box { border-radius: 8px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.16); }
  .sk.dk .box { box-shadow: none; background: #383A40; }
  .sk .sendb { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #0D0D0D; }
  .sk .sendb svg { width: 12px; height: 12px; fill: none; stroke: #FFFFFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  /* Slack・Discord: 左にチャンネルの一覧。いま開いているチャンネルだけ名前を出す */
  .sk .sd { left: 0; top: 0; bottom: 0; width: 104px; padding: 14px 8px 0; display: grid; align-content: start; gap: 4px; background: #3F0E40; color: rgb(255 255 255 / 0.7); }
  .sk.dark .sd { background: #2B2D31; }
  .sk .sd .ws { height: 10px; width: 64px; margin: 2px 6px 10px; border-radius: 5px; background: rgb(255 255 255 / 0.5); }
  .sk .sd p { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 6px; border-radius: 6px; white-space: nowrap; }
  .sk .sd p .gb { background: rgb(255 255 255 / 0.22); }
  .sk .sd p.on { background: #1164A3; color: #FFFFFF; }
  .sk.dark .sd p.on { background: rgb(255 255 255 / 0.1); }
  .sk .msg { display: flex; gap: 8px; align-items: flex-start; }
  .sk .msg .sq { flex: none; width: 24px; height: 24px; border-radius: 6px; background: #F2C6DE; }
  .sk.dark .msg .sq { border-radius: 50%; background: #5865F2; }
  .sk .msg div { display: grid; gap: 6px; padding-top: 3px; }
  /* ChatGPT・Claude: 前のやりとりの見本と、送信のボタン */
  .sk .pillbox { left: 16px; right: 16px; bottom: 12px; height: 44px; border-radius: 22px; background: #FFFFFF; box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.1), 0 4px 14px rgb(0 0 0 / 0.08); }
  .sk.cream .pillbox { border-radius: 14px; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.1); }
  .sk .pillbox .sendb { position: absolute; right: 8px; top: 8px; }
  .sk.cream .sendb { border-radius: 8px; background: #D97757; }
  .sk .ub { right: 16px; top: 46px; padding: 5px 12px; border-radius: 16px; background: #F0F0F3; }
  .sk.cream .ub { background: #F0EEE6; }
  .sk .ab { left: 16px; right: 24px; top: 84px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #3A3A3C; }
  /* VS Code: プログラムの字。貼られる注釈は2行目に入る */
  .sk .act { left: 0; top: 0; bottom: 0; width: 40px; background: #2C2C2C; }
  .sk.cur .act { background: #141414; }
  .sk .tab { left: 40px; right: 0; top: 0; height: 32px; background: #252526; }
  .sk .tab span { display: flex; align-items: center; width: 108px; height: 32px; padding-left: 12px; background: #1E1E1E; font: 400 11px/1 var(--sys); color: #CCCCCC; }
  .sk .src { left: 52px; top: 44px; font: 400 12.5px/20px ui-monospace, Menlo, monospace; white-space: pre; }
  .sk .src p { display: flex; gap: 14px; }
  .sk .src .n { width: 10px; text-align: right; color: #858585; }
  .sk .kw { color: #569CD6; } .sk .fn { color: #DCDCAA; } .sk .vr { color: #9CDCFE; } .sk .tg { color: #4EC9B0; } .sk .st { color: #CE9178; }
  /* Cursor: 左にプログラム、右に作っている画面。下の欄に頼みを入れて送る */
  .sk.cur .src { left: 48px; top: 16px; font-size: 11px; line-height: 18px; }
  .sk .prev { left: 200px; right: 0; top: 0; height: 136px; background: #FFFFFF; border-left: 1px solid #2A2A2A; }
  .sk .prev > * { position: absolute; }
  .sk .prev .bar { left: 0; right: 0; top: 0; height: 26px; background: #F5F5F7; border-bottom: 1px solid rgb(0 0 0 / 0.06); }
  .sk .prev .gb { left: 16px; }
  .sk .prev .pbtn { left: 16px; top: 92px; padding: 6px 12px; border-radius: 8px; background: #4C5FD5; color: #FFFFFF; font-weight: 600; font-size: 11px; line-height: 1; }
  .sk .cbox { left: 44px; right: 12px; bottom: 12px; height: 44px; border-radius: 12px; background: #2A2A2A; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); }
  .sk .cbox .sendb { position: absolute; right: 8px; top: 8px; background: #FFFFFF; }
  .sk .cbox .sendb svg { stroke: #181818; }
  /* Chrome: 検索の欄の右に虫めがね、文が入ると下に候補 */
  /* 本物の Chrome の新しいタブの形（タブの帯、下の角が外へ広がるタブ、＋、戻る・進む・再読み込み・ホーム、G の印の付いたアドレス欄）。
     新しいタブなので、戻ると進むは薄い。左上の3つの丸は、ほかのメリットの窓と同じく出さない */
  .sk .tb { left: 0; right: 0; top: 0; height: 32px; background: #DEE1E6; }
  .sk .tb svg { position: absolute; fill: none; stroke: #5F6368; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .sk .ctab { position: absolute; left: 14px; bottom: 0; width: 150px; height: 26px; border-radius: 9px 9px 0 0; background: #FFFFFF; }
  .sk .ctab::before, .sk .ctab::after { content: ""; position: absolute; bottom: 0; width: 9px; height: 9px; }
  .sk .ctab::before { left: -9px; background: radial-gradient(circle at 0 0, transparent 8.5px, #FFFFFF 9px); }
  .sk .ctab::after { right: -9px; background: radial-gradient(circle at 100% 0, transparent 8.5px, #FFFFFF 9px); }
  .sk .ctab .fav { left: 11px; top: 6px; width: 14px; height: 14px; }
  .sk .ctab span { position: absolute; left: 32px; top: 0; font-size: 11.5px; line-height: 26px; color: #3C4043; }
  .sk .ctab .x { right: 9px; top: 8px; width: 10px; height: 10px; }
  .sk .tb .plus { left: 178px; top: 11px; width: 14px; height: 14px; }
  .sk .nav { left: 14px; top: 40px; display: flex; gap: 14px; }
  .sk .nav svg { width: 16px; height: 16px; fill: none; stroke: #5F6368; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .sk .nav .off { stroke: #B8BCC2; }
  .sk .addr { left: 130px; right: 12px; top: 35px; height: 26px; border-radius: 13px; background: #F1F3F4; }
  .sk .addr .g { position: absolute; left: 4px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; font: 700 11px/18px var(--sys); font-style: normal; text-align: center; color: #5F6368; }
  .sk .addr .gb { position: absolute; left: 30px; top: 9px; width: 46%; }
  .sk .tbl { left: 0; right: 0; top: 67px; height: 1px; background: #E3E3E3; }
  .sk .search { left: 52px; right: 52px; top: 84px; height: 40px; border-radius: 20px; background: #FFFFFF; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.1), 0 2px 8px rgb(0 0 0 / 0.08); }
  .sk .search svg, .sk .sug svg { position: absolute; width: 16px; height: 16px; fill: none; stroke: #5F6368; stroke-width: 1.8; stroke-linecap: round; }
  .sk .search svg { right: 14px; top: 12px; }
  .sk .sug { left: 52px; right: 52px; top: 128px; padding: 4px 0; border-radius: 14px; background: #FFFFFF; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08), 0 6px 16px rgb(0 0 0 / 0.1); opacity: 0; }
  .sk .sug p { position: relative; height: 26px; padding-left: 40px; font-size: 13px; line-height: 26px; color: #3C4043; white-space: nowrap; overflow: hidden; }
  .sk .sug svg { left: 14px; top: 5px; width: 14px; height: 14px; }
  /* Figma: 左にレイヤー、真ん中の画面に部品を置き、1つを選んだ形。下にコメント */
  .sk.design { background: #E5E5E5; }
  .sk .lp { left: 0; top: 0; bottom: 0; width: 104px; padding: 14px 12px 0; display: grid; align-content: start; gap: 11px; background: #FFFFFF; border-right: 1px solid rgb(0 0 0 / 0.08); }
  .sk .lp p { display: flex; align-items: center; gap: 6px; }
  .sk .lp p i:first-child { flex: none; width: 10px; height: 10px; border-radius: 2px; box-shadow: inset 0 0 0 1.5px #B3B3B3; }
  .sk .lp p.on { margin: -4px -6px; padding: 4px 6px; border-radius: 4px; background: #E5F4FF; }
  .sk .fr { left: 122px; top: 14px; width: 200px; height: 118px; border-radius: 3px; background: #FFFFFF; box-shadow: 0 1px 4px rgb(0 0 0 / 0.1); }
  .sk .fr > * { position: absolute; }
  .sk .fr .img { left: 12px; top: 12px; width: 72px; height: 56px; border-radius: 6px; background: linear-gradient(135deg, #C9D3F8, #F8C9D6); box-shadow: 0 0 0 1.5px #0D99FF; }
  .sk .fr .img::before, .sk .fr .img::after { content: ""; position: absolute; width: 6px; height: 6px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #0D99FF; }
  .sk .fr .img::before { left: -3px; top: -3px; } .sk .fr .img::after { right: -3px; bottom: -3px; }
  .sk .fr .t1 { left: 96px; top: 16px; width: 84px; height: 10px; border-radius: 5px; background: #1D1D1F; opacity: 0.8; }
  .sk .fr .t2 { left: 96px; top: 34px; width: 70px; }
  .sk .fr .t3 { left: 96px; top: 48px; width: 52px; }
  .sk .fr .btn { left: 12px; top: 82px; width: 76px; height: 22px; border-radius: 11px; background: var(--pink-deep); }
  .sk .fr .dot { left: 160px; top: 80px; width: 26px; height: 26px; border-radius: 50%; background: #FFD66B; }
  .sk .cmt { left: 116px; right: 10px; top: 146px; height: 40px; border-radius: 20px 20px 20px 6px; background: #FFFFFF; box-shadow: 0 4px 14px rgb(0 0 0 / 0.14); }
  /* Zoom: 映像の枠と、チャットの欄 */
  .sk .tiles { left: 14px; right: 14px; top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .sk .tiles i { height: 112px; border-radius: 10px; background: #2C2C2E; }
  .sk.video .box { left: 14px; right: 14px; bottom: 14px; height: 40px; }
  /* Spark: 返信の窓。上に送信のボタン、本文の下に返信元の文 */
  .sk.mail .hd .sendb { position: absolute; right: 10px; top: 5px; width: 26px; height: 26px; background: #2F7BF6; }
  .sk .mto { left: 24px; right: 20px; top: 36px; height: 34px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgb(0 0 0 / 0.06); color: #8E8E93; }
  .sk .quote { left: 24px; right: 24px; top: 112px; padding-left: 10px; border-left: 2px solid #D1D1D6; color: #8E8E93; line-height: 1.6; }
  .mcap2 { position: absolute; left: 50%; bottom: -20px; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px; white-space: nowrap; opacity: 0;
    background: rgb(255 255 255 / 0.66); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.1), 0 14px 36px rgb(29 32 79 / 0.18);
    font: 400 12px/1 var(--sys); color: rgb(60 60 67 / 0.6); }
  .mcap2 .bars { margin: 0; }
  /* どのアプリでも同じプリセット名が出ると目に付くので、波形だけの小さな形にする */
  .mcap2.wave-only { gap: 0; padding: 0 18px; }
  /* 普段のアイコンは小さく、真ん中のアプリだけ1.7倍にして帯からはみ出させ、どれが今のアプリかをはっきりさせる（APP_MAG） */
  .dock { --ic: 40px; --gap: 20px; position: relative; width: min(460px, 100%); height: 104px; }
  .dock::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62px; border-radius: 24px;
    background: rgb(255 255 255 / 0.5); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.5), 0 14px 36px rgb(29 32 79 / 0.14); }
  .dock .strip { position: absolute; inset: 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
  .dock .row { position: absolute; left: 0; bottom: 10px; display: flex; gap: var(--gap); }
  .dock .row img { display: block; width: var(--ic); height: var(--ic); transform-origin: 50% 100%; cursor: pointer; }

  @media (max-width: 640px) {
    .merits { margin-top: -65svh; padding: 12svh 20px 0; }
    .merits .wrap { gap: 140px; }
    .mh { --mk: 44px; margin-bottom: 40px; }
    .mh.small { --mk: 40px; margin-bottom: 32px; }
    .race2, .ba2, .pair { grid-template-columns: 1fr; gap: 56px; }
    .pair { grid-template-rows: none; }
    .pair .item { display: block; }
    .nw { font-size: 14px; }
    .side { width: 64px; padding: 52px 18px 0; }
    .side .gb { display: none; }
    .side .on { margin: -4px -6px; padding: 4px 6px; }
    .learn .nw { height: 284px; }
    .learn .nw h4 { left: 14px; font-size: 14px; }
    .chd { left: 64px; }
    .inb { left: 78px; }
    .learn .nw .body { left: 78px; right: 12px; font-size: 14px; }
    .learn .second .nw .body { width: auto; left: 110px; }
    .cmpb { left: 78px; right: 12px; }
    .speed .nw .body { padding-top: 136px; }
    .mhd { height: 50px; } .mhd b { font-size: 16px; }
    .mrow { height: 34px; }
    .mcat { width: 64px; height: 64px; margin-top: calc(64px * -10 / 64 + 4px); }
    .awin { font-size: 14px; }
    /* 窓の幅が狭く、チャットの入力欄から文がはみ出すので小さくする */
    .awin .lines .chatline { font-size: 12.5px; }
    .aiw { height: 420px; font-size: 14px; }
    .aiw .msgs { bottom: 113px; }
    .aiw .composer { height: 89px; }
    .aiw .input { height: 67.2px; }
    .dock { --ic: 34px; --gap: 16px; height: 92px; }
    .dock::before { height: 54px; }
    .dock .row { bottom: 10px; }
  }

  /* 見せ場。壁紙が暗くなって黒い地になり（miroom の、スクロールで地の色が変わる動き）、パネルだけが明るく残る。続けてパネルが広がって薄い藍の枠になり、
     声を聞く → 文字にする → AIが整える → 貼るが横に並ぶ。縦の線の左が Mac、右がAIで、線を越えてAIへ行くのは文字だけ（スマホは上が Mac、下がAI）。
     見出しは得だけを言い、「Mac」を入れない（Mac の標準の機能と受け取られると、お金を払う理由が見えなくなるため）。
     最後に図が消えて、黒から料金の白い地へ明るくなる（入るときと同じく地の色だけを変え、白い場面を下から重ねない） */
  .show { position: relative; z-index: 1; height: 440svh; }
  /* 黒い間は、ページの地も黒にする（Mac のスクロールバーは地の明るさで色を選ぶので、白い地のままだと黒の上で見えない） */
  html.dk { color-scheme: dark; }
  html.dk body { background: var(--dark); }
  .sout { position: absolute; inset: 0; }
  .sstage { position: sticky; top: 0; height: 100svh; min-height: 640px; overflow: hidden; color: #F6F7F9; }
  .sdim { position: absolute; inset: 0; background: var(--dark); opacity: 0; }
  .sh { position: absolute; left: 24px; right: 24px; top: 104px; opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--reveal), transform 600ms var(--reveal); }
  .sh.on { opacity: 1; transform: none; }
  .show .mh { --mk: 64px; margin: 0; }
  .sc { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
  .sc > * { position: absolute; left: 0; top: 0; }
  /* Mac の側の枠。透かして縁だけにすると、ガラスの効果（鮮やかさ1.8倍）で地より濃い藍に見えたので、薄い藍で塗る */
  .sglass { --frame: #DDE3FB; border-radius: 24px; -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); }
  .sft { display: flex; align-items: center; justify-content: space-between; font: 400 12px/1 var(--sys); color: rgb(60 60 67 / 0.6); }
  .swave { transform-origin: 0 50%; }
  .show .bars { margin: 0; height: 20px; gap: 1.2px; }
  .show .bars i { width: 1.5px; }
  /* 波の棒の高さはパネルに合わせた px なので、ここでは枠の高さに対する割合にする（枠を変えれば波も変わる） */
  .show .bars i:nth-child(1), .show .bars i:nth-child(5) { height: 55%; }
  .show .bars i:nth-child(2), .show .bars i:nth-child(4) { height: 80%; }
  .show .bars i:nth-child(3) { height: 100%; }
  /* 波はスクロールしている間だけ動かす（話している間だけ波が動くのと同じに見せる） */
  .show .bars i { animation-play-state: paused; }
  .show.moving .bars i { animation-play-state: running; }
  /* 終わった段の波形は止める */
  .show .swave.rest .bars i { animation-play-state: paused; }
  .stext, .schip { font: 400 16px/24.5px var(--sys); }
  .show .w { color: rgb(29 32 79 / 0.45); transition: color 300ms var(--reveal); }
  /* ②の字は、塊ごとに左から1文字ずつ書き出し、波形が付いていく（JS で .vis を付ける）。出る前も場所は取っておき、折り返す位置を動かさない */
  .show .w .ch { opacity: 0; }
  .show .w .ch.vis { opacity: 1; }
  .show .w.ink { color: var(--ink); }
  /* AIへ行く文字。貼る先の窓の上を通るので、地は透かさない。白い札にする（暗い札は、AIの側に残して薄くすると、ピンクの枠の上で灰色に濁った） */
  .schip { padding: 12px 16px; border-radius: 16px; background: #FFFFFF; color: var(--ink); box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.18), 0 14px 36px rgb(29 32 79 / 0.16); opacity: 0; }
  .cp span { transition: opacity 300ms ease-out; }
  .cp .fixn { font-size: 0; }
  .cp.strike .drop, .cp.strike .fixo { color: rgb(29 32 79 / 0.45); text-decoration: line-through 2px var(--pink-deep); }
  .cp.ins .fixn { font-size: 16px; color: var(--pink-deep); }
  .cp.dim .drop, .cp.dim .fixo, .cp.dim .fixn { color: rgb(29 32 79 / 0.45); text-decoration-color: currentColor; }
  .cp.pol .drop, .cp.pol .fixo { font-size: 0; }
  .cp.pol .fixn { font-size: 16px; }
  .sai { width: 26px; height: 26px; color: var(--pink); opacity: 0; }
  .sai svg { display: block; width: 100%; height: 100%; fill: currentColor; }
  .sai.busy svg { animation: spark 1100ms ease-in-out infinite; }
  @keyframes spark { 50% { transform: scale(0.6) rotate(45deg); } }
  /* 貼る先は、ほかの場面と同じ白い窓を重ねないよう、チャットの入力欄にする（音声入力の文を一番よく貼る場所）。形は一番上のAIのチャットの入力欄と同じで、特定のアプリには似せない */
  /* 角は、AIへ行く文字の札と同じ16px */
  .swin { display: flex; align-items: flex-end; gap: 10px; height: 76px; padding: 12px 12px 12px 20px; border-radius: 16px; background: #FFFFFF; color: var(--win-ink); font: 400 16px/1.6 var(--sys); opacity: 0; box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.18), 0 14px 36px rgb(29 32 79 / 0.16); }
  .sinp { position: relative; flex: 1; align-self: stretch; }
  .sinp::before { content: attr(data-ph); position: absolute; left: 0; top: 0; color: rgb(0 0 0 / 0.3); transition: opacity 150ms; }
  .sinp p { opacity: 0; transform: translateY(4px); transition: opacity 300ms var(--reveal), transform 300ms var(--reveal); }
  .swin.pasted .sinp::before { opacity: 0; }
  .swin.pasted p { opacity: 1; transform: none; }
  .swin .send { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #4C5FD5; }
  .swin .send svg { width: 13px; height: 13px; fill: none; stroke: #FFFFFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  /* 段の名前は、どれも Mac かAIの枠の中に置くので藍の字にする */
  .slab { display: flex; align-items: center; gap: 8px; font: 700 15px/1 var(--head); color: #575C77; opacity: 0; white-space: nowrap; transition: color 300ms var(--reveal); }
  .slab b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; box-shadow: inset 0 0 0 1.5px currentColor; transition: background-color 300ms var(--reveal); }
  .slab.on { color: var(--ink); }
  .slab.on b { background: var(--pink-deep); color: #FFFFFF; box-shadow: none; }
  .szone { font: 700 13px/1 var(--head); letter-spacing: 0.04em; color: #A1A3AD; opacity: 0; white-space: nowrap; }
  .sline { width: 0; border-left: 1.5px dashed rgb(246 247 249 / 0.4); opacity: 0; }
  /* AIの側の枠。Mac の側だけに枠があると、左だけが重く右が空いて見えた。色は淡いピンク（oklch 0.945 0.018 1）。Mac の枠と同じ明るさと鮮やかさでは、左の藍が薄く右のピンクが強く見えたので、Mac の枠（oklch 0.918 0.034 277）を少し濃く、こちらを少し淡くした。印は枠の地に溶けないよう濃いピンクにする */
  .saibox { border-radius: 24px; background: #F8E8EC; opacity: 0; }
  .show .sai { color: var(--pink-deep); }
  @media (max-width: 640px) {
    .sh { top: 88px; }
    .show .mh { --mk: 40px; }
    .slab { font-size: 14px; }
    .sline { width: auto; height: 0; border-left: 0; border-top: 1.5px dashed rgb(246 247 249 / 0.4); }
  }
  /* 料金。比べるのに枠で分けるのが一番伝わるので、ここだけ枠のある列にする。左から無料・サブスク・買い切りと並べ、有料の列は「無料のすべてに加えて」で差だけを書く（Wispr Flow、Typeless、Aqua Voice）。
     ボタンは置かない（公開前で、どの列も行き先がすぐ下の登録になるため）。全部の機能の表は、開いたままだとページが長くなるので閉じておく */
  /* 見せ場が白へ明るくなる間に見出しが下から入るよう、見せ場の終わりに重ねる。重なる所は透かし、明るくなっていく見せ場の地を見せる（間に何もない時間を作らない） */
  .price { position: relative; z-index: 1; margin-top: -50svh; padding: 160px 48px; background: linear-gradient(transparent 50svh, #F6F7F9 50svh); }
  .price .wrap { max-width: 1120px; margin: 0 auto; }
  .price .mh { margin-bottom: 16px; }
  .pnote, .pfor, .psub, .pstar { font: 500 14px/1.7 var(--head); color: #575C77; }
  .pnote { margin-bottom: 40px; text-align: center; }
  /* 月払い／年払いの切り替えは Wispr Flow の形（枠の中に2つを並べ、選んだ方にだけ地の色を敷く。割引は年払いの中に小さく書く。最初は年払い）。
     色は DictCat の白と薄紫（lilac）、角は両端を丸くする。Wispr Flow と同じく、選んだ地は滑らせずに切り替える */
  .bill { display: flex; width: max-content; margin: 0 auto 48px; padding: 4px; border-radius: 9999px; background: #FFFFFF; box-shadow: inset 0 0 0 2px rgb(29 32 79 / 0.08); }
  .bill button { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 20px; border: 0; border-radius: 9999px; background: none; color: #575C77; font: 700 15px/1 var(--head); cursor: pointer; transition: background-color 200ms cubic-bezier(0.4, 0, 0.2, 1), color 200ms cubic-bezier(0.4, 0, 0.2, 1); }
  .bill button[aria-checked="true"] { background: var(--lilac); color: var(--ink); }
  .bill small { font: 500 13px/1 var(--head); }
  .bill button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  /* minmax(0, 1fr): 1fr のままだと、値段の行の長い列（買い切り）だけが広がる */
  .pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .pcol { position: relative; display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; padding: 52px 32px 32px; border-radius: 24px; background: #FFFFFF; box-shadow: 0 0 0 1px rgb(29 32 79 / 0.08); }
  .pcol.rec { box-shadow: 0 0 0 2px #4C5FD5; }
  .pgrid.in .pcol:nth-child(2) { transition-delay: 80ms, 80ms, 0ms, 0ms; }
  .pgrid.in .pcol:nth-child(3) { transition-delay: 160ms, 160ms, 0ms, 0ms; }
  /* 乗せると1ドット（3px）浮く（よくある質問の札と同じ量）。押しても何も起きないので、指のカーソルと押したときの動きは付けない */
  .pcol { transition: opacity 600ms var(--reveal), transform 600ms var(--reveal), translate 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1); }
  @media (hover: hover) {
    .pcol:hover { translate: 0 -3px; box-shadow: 0 0 0 1px rgb(29 32 79 / 0.08), 0 16px 32px -16px rgb(29 32 79 / 0.28); }
    .pcol.rec:hover { box-shadow: 0 0 0 2px #4C5FD5, 0 16px 32px -16px rgb(29 32 79 / 0.28); }
  }
  /* プラン名は札にする（Wispr Flow の、列の上の縁にまたがる札）。角は猫の絵と同じ3pxのドットの段にして Wispr Flow の丸い札と分け、SVG の crispEdges で描く（clip-path では段の縁がぼやけた）。
     縁取りは1ドット分を地の色で、影も1ドットずらす。ドットが斜めになると崩れるので傾けない。色は一番上の空の3色を1つずつ使い、サブスクは切り替えで選んだ側と同じ薄紫にする */
  .ptag { --c: var(--sky); position: absolute; left: 50%; top: 0; display: flex; align-items: center; justify-content: center; padding: 7px 15px; font: 700 18px/1.4 var(--head); white-space: nowrap; transform: translate(-50%, -50%); isolation: isolate; }
  .ptag.lilac { --c: var(--lilac); }
  .ptag.blush { --c: var(--blush); }
  .tsv { position: absolute; z-index: -1; left: 0; top: 0; overflow: visible; }
  /* おすすめは、サブスクの札のすぐ下に青い字で出し、列の縁を青にする（「人気」は公開前で根拠がないので言わない） */
  .badge { position: absolute; top: 28px; left: 50%; color: #4C5FD5; font: 700 13px/1.4 var(--head); white-space: nowrap; transform: translateX(-50%); }
  /* 元の値段（線を引いた字）は数字の上の行に出す（横に並べると列に収まらない）。その分ほかの列の値段の行も高くなるので、数字は行の下にそろえる */
  .amt { display: flex; flex-wrap: wrap; align-items: baseline; align-self: end; gap: 4px; margin-top: 24px; font: 700 56px/1 var(--head); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .amt small { font-size: 20px; }
  .amt s { flex-basis: 100%; margin-bottom: 8px; font: 500 20px/1 var(--head); color: #575C77; }
  .psub { margin-top: 12px; }
  .pplus { margin-top: 32px; font: 700 15px/1.6 var(--head); }
  .pcol ul { display: grid; align-content: start; gap: 12px; margin-top: 16px; padding: 0; list-style: none; font: 500 15px/1.6 var(--head); }
  .pcol li { position: relative; padding-left: 28px; }
  .ck { width: 16px; height: 16px; fill: none; stroke: var(--pink-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .pcol li .ck { position: absolute; left: 0; top: 4px; }
  .pstar { margin-top: 24px; text-align: center; }
  .cmp { margin-top: 48px; }
  .cmp summary { display: flex; align-items: center; gap: 8px; width: max-content; height: 48px; margin: 0 auto; padding: 0 24px; font: 700 15px/1 var(--head); list-style: none; cursor: pointer; }
  .cmp summary::-webkit-details-marker { display: none; }
  /* 枠は付けず、文字と矢印だけにする。乗せたらフッターのリンクと同じ下線を出す */
  .cmp summary:hover span { text-decoration: underline; text-underline-offset: 3px; }
  .cmp .cmpw { overflow: hidden; }
  .cmp summary svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1); }
  .cmp[open] summary svg { transform: rotate(180deg); }
  .cmp[open] .op, .cmp:not([open]) .cl { display: none; }
  .cmp table { width: 100%; margin-top: 48px; border-collapse: collapse; table-layout: fixed; font: 500 15px/1.6 var(--head); }
  .cmp col:first-child { width: 31%; }
  .cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; font-weight: 500; }
  .cmp thead th { font-weight: 700; }
  .cmp thead th.rec { color: #4C5FD5; }
  /* まとまりの見出しは、下の行の名前（15px）より大きく、同じ濃さにして区切りに見せる。頭は行の区切り線の左端にそろえ、行より少し外に出す */
  .cmp tbody th[colspan] { padding-top: 40px; padding-left: 0; font: 700 17px/1.4 var(--head); }
  .cmp tbody tr:not(:first-child) > * { border-top: 1px solid rgb(29 32 79 / 0.08); }
  .cmp td .ck { display: block; margin-top: 5px; }
  .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* 3列は、月払いの「月 1,200円」が列に収まる幅（960px）まで。狭いときは1列に並べる */
  @media (max-width: 960px) {
    .pgrid { grid-template-columns: minmax(0, 480px); justify-content: center; gap: 40px; }
    .pcol { display: block; }
  }
  @media (max-width: 640px) {
    .price { padding: 96px 20px; }
    .pnote { margin-bottom: 40px; }
    .pgrid { grid-template-columns: 1fr; }
    .pcol { padding: 44px 24px 24px; }
    .cmp table { font-size: 13px; }
    .cmp col:first-child { width: 28%; }
    .cmp th, .cmp td { padding: 12px 6px; }
  }
  /* 登録。ページの最後に置き、白い欄の中に主ボタンを入れる（North）。猫は欄の上の縁に座ってパソコンを打ち、登録すると顔を上げる。
     猫の一言は枠を付けず、字の1ドットを猫の絵の1ドットにそろえる（猫を2倍で描くので、12ドットの字を24px）。字は PixelMplus（M+ FONT LICENSE）で、本番では書き出すときに使う字だけに絞る（scripts/build-lp.mjs） */
  @font-face { font-family: "PixelMplus12"; src: url("/lp/fonts/PixelMplus12.woff2") format("woff2"); }
  /* Pally は Fontshare から読まず、手元に置いたものを配る（ITF Free Font License は自分のサイトでの配信を認めている。手を加えることは認めていないので、字を絞らずにそのまま使う） */
  @font-face { font-family: "Pally"; src: url("/lp/fonts/Pally-Medium.woff2") format("woff2"); font-weight: 500; font-display: block; }
  /* よくある質問。質問をドットの角の札（料金のプラン名と同じ。地の色で1ドット抜き、影を1ドットずらす）にして並べ、押すと下の白い札に答えが開く（いくつでも開ける）。
     札は薄い lilac で、マウスを乗せた札と開いた札だけ lilac にする（昔のゲームのメニューで選んだ項目が光る形。質問が増えても色の決まりが変わらない）。
     白の札は地（#F6F7F9）に溶けて見づらかったので、lilac を白で薄めた色にする */
  .faq { position: relative; z-index: 1; padding: 0 48px 160px; background: #F6F7F9; scroll-margin-top: 160px; }
  .faq .wrap { max-width: 1120px; margin: 0 auto; }
  .qlist { display: flex; flex-direction: column; gap: 18px; width: min(760px, 100%); margin: 0 auto; }
  .qi { --c: color-mix(in oklab, var(--lilac) 35%, #FFFFFF); position: relative; }
  .pxb { position: relative; isolation: isolate; }
  .pxb::before { content: ""; position: absolute; z-index: -3; left: 0; top: 0; right: -6px; bottom: -6px; background: rgb(29 32 79 / 0.14); clip-path: var(--px); }
  .pxb::after { content: ""; position: absolute; z-index: -2; inset: -3px; background: #F6F7F9; clip-path: var(--px); }
  /* 色はドット絵に合わせて一瞬で切り替える（0.2秒かけると、通り過ぎた札の色が尾を引いてちらついた） */
  .pxf { position: absolute; z-index: -1; inset: 0; background: var(--c); clip-path: var(--px); }
  .qi > button { all: unset; box-sizing: border-box; position: relative; isolation: isolate; display: flex; align-items: center; width: 100%; padding: 17px 60px 17px 28px; cursor: pointer; font: 700 18px/1.5 var(--head); color: var(--ink); }
  .qi > button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
  .qi > button:hover, .qi > button:focus-visible, .qi.open > button { --c: var(--lilac); }
  /* 押した札は1ドット沈む（影に重なる）。押した瞬間に切り替える */
  .qi.open > button { transform: translate(3px, 3px); }
  .qi.open > button::before { opacity: 0; }
  .qt { flex: 1; }
  /* マウスを乗せると、左にドットの▶が点滅する */
  .qcur { position: absolute; left: -32px; top: 50%; width: 12px; height: 21px; translate: 0 -50%; fill: var(--ink); opacity: 0; }
  .qi > button:hover .qcur, .qi > button:focus-visible .qcur { opacity: 1; animation: qblink 800ms steps(1) infinite; }
  @keyframes qblink { 50% { opacity: 0; } }
  .qtri { position: absolute; right: 26px; top: 50%; width: 15px; height: 9px; translate: 0 -50%; fill: var(--ink); }
  .qi.open .qtri { rotate: 180deg; }
  .qbody { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms var(--reveal); }
  .qi.open .qbody { grid-template-rows: 1fr; }
  .qbody > div { overflow: hidden; }
  /* 閉じたときに高さが0になるよう、影の分の余白は開く箱ではなく答えの札の外側に取る */
  .qans { --c: #FFFFFF; margin: 15px 6px 6px 3px; padding: 20px 28px 24px; }
  /* ページ全体の言葉のまとまりでの折り返し（auto-phrase）は、長い文だと右端ががたつくので、答えではふつうの折り返しにする */
  .qans p { font: 500 16px/1.8 var(--head); color: #383D5F; word-break: normal; text-wrap: pretty; }
  /* 押してすぐ、札が広がるのと同時に1字ずつ打ち始める。一度開いた質問は、開き直したときに打ち直さず全文を出す */
  .qans p span { opacity: 0; }
  .qi:not(.open) .qans p span { transition: none; }
  .qi.open .qans p span { opacity: 1; transition: opacity 0s; transition-delay: calc(var(--j) * var(--st)); }
  .qi.seen .qans p span { opacity: 1; transition: none; }
  .join { position: relative; z-index: 1; padding: 0 48px 200px; background: #F6F7F9; }
  .join .wrap { max-width: 1120px; margin: 0 auto; }
  /* フッターは登録の欄と同じ灰色の続きにし、細い線で区切る（濃い帯はこのページでここだけになり浮くため） */
  .foot { position: relative; z-index: 1; padding: 0 48px 48px; background: #F6F7F9; }
  /* 2段にする（VoiceInk にならう）。上の段に問い合わせ・規約・ポリシーと言語の切り替え、下の段に © と、右に X の印を置く（GitHub の印は、公開前の版を誰でも落とせる Releases を指すので外した） */
  .foot .wrap { max-width: 1120px; margin: 0 auto; padding-top: 32px; border-top: 1px solid rgb(29 32 79 / 0.12); }
  .foot .frow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
  .foot .fbot { margin-top: 28px; }
  .foot nav { display: flex; flex-wrap: wrap; gap: 16px 28px; }
  /* 印は字と同じ灰色。押せる広さは34pxにし、印の右の端を上の段の言語の切り替えの右の端にそろえる */
  .fsns { display: flex; gap: 4px; margin: -8px -8px -8px 0; }
  .fsns a { display: grid; place-items: center; width: 34px; height: 34px; color: #575C77; transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1); }
  .fsns a:hover { color: var(--ink); }
  .fsns svg { width: 18px; height: 18px; fill: currentColor; }
  .foot nav button { padding: 0; border: 0; background: none; font: 500 14px/1 var(--head); color: #575C77; white-space: nowrap; cursor: pointer; }
  .foot nav button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
  /* 広告のタグへの同意の帯。EU・英国などから見る人にだけ、下の端に出す。地と影はヘッダーと同じガラスとドットの角にそろえ、拒否と同意は同じ大きさのボタンにする（拒否を同意より押しにくくしない） */
  /* 幅は中身に合わせ、文とボタンの間を空けすぎない。スマホでは文・ボタン・ポリシーへのリンクの順に積み、リンクは下に薄く置く */
  .consent { position: fixed; z-index: 29; left: 50%; bottom: 16px; translate: -50% 0; width: max-content; max-width: calc(100% - 32px); display: grid; grid-template-areas: "text link acts"; align-items: center; padding: 14px 14px 14px 24px; isolation: isolate; }
  .consent[hidden] { display: none; }
  .consent::before { content: ""; position: absolute; z-index: -2; inset: 3px -3px -3px 3px; pointer-events: none; background: rgb(29 32 79 / 0.14); clip-path: var(--px); }
  .consent::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: rgb(255 255 255 / 0.86); -webkit-backdrop-filter: blur(10px) saturate(180%); backdrop-filter: blur(10px) saturate(180%); clip-path: var(--px); }
  .consent p { grid-area: text; font: 500 14px/1.6 var(--head); color: #575C77; }
  .consent a { grid-area: link; margin-left: 8px; font: 500 14px/1.6 var(--head); color: var(--ink); text-underline-offset: 3px; white-space: nowrap; }
  .consent .cacts { grid-area: acts; display: flex; gap: 8px; margin-left: 24px; }
  .consent button { position: relative; isolation: isolate; min-width: 112px; height: 40px; padding: 0 20px; border: 0; background: none; font: 700 15px/1 var(--head); color: var(--dark); white-space: nowrap; cursor: pointer; }
  .consent button::before { content: ""; position: absolute; z-index: -1; inset: 0; background: #E6E8EE; clip-path: var(--px); transition: background-color 200ms cubic-bezier(0.4, 0, 0.2, 1); }
  .consent button:hover::before { background: #DADDE5; }
  /* 同意は主ボタンのピンクより弱い blush にし、拒否と重さをそろえる */
  .consent button.yes::before { background: #FBD3DE; }
  .consent button.yes:hover::before { background: #F9C4D3; }
  @media (max-width: 640px) {
    .consent { width: calc(100% - 32px); grid-template-areas: "text" "acts" "link"; padding: 16px; }
    .consent .cacts { margin: 12px 0 0; }
    .consent button { flex: 1; }
    .consent a { justify-self: center; margin: 12px 0 0; font-size: 13px; color: #575C77; }
  }
  .foot nav a { font: 500 14px/1 var(--head); color: #575C77; text-decoration: none; white-space: nowrap; }
  .foot nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
  .foot small { font: 500 13px/1 var(--head); color: #575C77; }
  /* 言語の切り替え。リンクと見分けるよう、地球の印と今の言語名にし、押すと全部の言語をその言語の名前で上に開く（言語が増えても一覧に足すだけで済む） */
  .flang { position: relative; }
  .flang > button { all: unset; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: 500 14px/1 var(--head); color: #575C77; }
  .flang > button:hover, .flang > button[aria-expanded="true"] { color: var(--ink); }
  .flang > button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
  .flang svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  .flang .car { width: 10px; height: 10px; }
  .lmenu { position: absolute; left: 50%; translate: -50% 0; bottom: calc(100% + 14px); z-index: 5; isolation: isolate; min-width: 168px; margin: 0; padding: 6px; list-style: none; }
  .lmenu[hidden] { display: none; }
  .lmenu::before { content: ""; position: absolute; z-index: -2; inset: 3px -3px -3px 3px; background: rgb(29 32 79 / 0.14); clip-path: var(--px); }
  .lmenu::after { content: ""; position: absolute; z-index: -1; inset: 0; background: #FFFFFF; clip-path: var(--px); }
  .lmenu a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 12px; font: 700 15px/1 var(--head); color: var(--ink); text-decoration: none; clip-path: var(--px); }
  .lmenu a:hover, .lmenu a:focus-visible { outline: none; background: color-mix(in oklab, var(--lilac) 45%, #FFFFFF); }
  .lmenu a[aria-current]::after { content: ""; width: 12px; height: 8px; border: solid var(--ink); border-width: 0 0 2px 2px; rotate: -45deg; translate: 0 -2px; }
  .join .mh { text-wrap: balance; }
  .jbox { position: relative; max-width: 640px; margin: 120px auto 0; }
  .jcat { position: absolute; left: 20px; bottom: calc(100% - 14px); display: flex; align-items: center; gap: 4px; pointer-events: none; }
  .jcat img { display: block; width: 160px; height: 128px; image-rendering: pixelated; pointer-events: auto; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
  .jsay { margin-top: -12px; font: 400 24px/1.25 "PixelMplus12", var(--head); white-space: nowrap; }
  .jsay br { display: none; }
  .jcat .jpaw { display: inline-block; width: 32px; height: 32px; margin-left: 8px; vertical-align: -8px; }
  /* 登録の欄は、よくある質問の札と同じ形（ドットの角、地の色で1ドット抜き、影を2ドットずらす）。選んだときと誤りのときは、抜いた1ドットを藍とピンクで塗って縁にする */
  .jform, .jrow { --c: #FFFFFF; position: relative; isolation: isolate; display: flex; align-items: center; gap: 8px; height: 64px; padding: 6px 6px 6px 28px; }
  .jform::before, .jrow::before, .jin::before { content: ""; position: absolute; z-index: -3; left: 0; top: 0; right: -6px; bottom: -6px; pointer-events: none; background: rgb(29 32 79 / 0.14); clip-path: var(--px); }
  .jform::after, .jrow::after, .jin::after { content: ""; position: absolute; z-index: -2; inset: -3px; pointer-events: none; background: var(--ring, #F6F7F9); clip-path: var(--px); }
  .jin { --c: #FFFFFF; display: flex; flex: 1; min-width: 0; align-self: stretch; }
  .jin::before, .jin::after, .jin > .pxf { display: none; }
  .jform:has(input:focus-visible) { --ring: var(--ink); }
  .jform.bad, .jform.bad:has(input:focus-visible) { --ring: var(--pink-deep); }
  .jform input { flex: 1; min-width: 0; align-self: stretch; padding: 0; border: 0; background: none; font: 500 17px/1 var(--head); color: var(--ink); outline: none; }
  .jform input::placeholder { color: #8A8C94; }
  /* ブラウザの自動入力は、欄を青く塗る。白で上から塗り直し、字の色も戻す */
  .jform input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset; box-shadow: 0 0 0 1000px #FFFFFF inset; -webkit-text-fill-color: var(--ink); caret-color: var(--ink); }
  .jform .btn { flex: none; height: 52px; margin: 0; padding: 0 22px; border: 0; font-size: 16px; cursor: pointer; }
  .jform .btn:disabled { cursor: default; opacity: 0.7; }
  .jerr { margin-top: 12px; padding-left: 28px; font: 700 14px/1.7 var(--head); text-wrap: pretty; }
  .jerr::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--pink-deep); vertical-align: 1px; }
  .jerr:empty { display: none; }
  /* 空や形の違うアドレスで押すと、Mac でパスワードを間違えたときのように欄が左右に揺れる。文字の知らせも残す（読み上げと、色の見分けにくい人のため） */
  .jform.shake { animation: shake 400ms cubic-bezier(0.36, 0.07, 0.19, 0.97); }
  @keyframes shake { 15% { transform: translateX(-10px); } 30% { transform: translateX(9px); } 45% { transform: translateX(-7px); } 60% { transform: translateX(5px); } 75% { transform: translateX(-3px); } 90% { transform: translateX(1px); } }
  @media (prefers-reduced-motion: reduce) { .jform.shake { animation: none; } }
  .jnotes { display: grid; gap: 2px; margin-top: 20px; padding: 0; list-style: none; text-align: center; font: 500 14px/1.7 var(--head); color: #575C77; text-wrap: balance; }
  /* 登録のあとは、欄が「登録しました」に変わり、主ボタンが丸い印になる。その下で、どちらで使いたいかを1つだけ聞く（答えは料金と同じドットの札） */
  .jrow, .jask, .jthanks { display: none; }
  .joined .jform, .joined .jnotes, .joined .jerr { display: none; }
  .joined .jrow { display: flex; animation: rowIn 400ms var(--reveal) both; }
  .joined:not(.done) .jask, .done .jthanks { display: block; animation: rowIn 400ms var(--reveal) 120ms both; }
  @keyframes rowIn { from { opacity: 0; transform: translateY(8px); } }
  /* 行の高さを1にすると、はみ出しを隠したときに g や y の下が切れた */
  .jrow > span:first-of-type { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 17px/1.5 var(--head); }
  .jmail { margin-left: 12px; font-weight: 500; color: #575C77; }
  /* 登録できた印。地は主ボタンと同じドットの角。中のチェックは、ドットにすると字の多い行で読みにくいので線のままにする */
  .jcheck { flex: none; display: grid; place-items: center; width: 52px; height: 52px; background: var(--pink); clip-path: var(--px); }
  .jcheck svg { width: 20px; height: 20px; fill: none; stroke: var(--dark); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .jask, .jthanks { margin-top: 40px; text-align: center; text-wrap: balance; }
  .jq { font: 700 17px/1.7 var(--head); }
  .jtags { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 24px; }
  .jtags .ptag { position: relative; left: auto; top: auto; transform: none; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .jtags .ptag:hover { filter: brightness(0.97); }
  .jtags .ptag:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
  .ptag.white { --c: #FFFFFF; }
  .jthanks { font: 700 17px/1.7 var(--head); }
  /* 機械の登録をはじく罠の欄。人には見えず、Tab でも入らない（受け口は、ここに字があると登録したふりだけする） */
  .jform .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
  @media (max-width: 640px) {
    .join { padding: 0 20px 120px; }
    .foot { padding: 0 20px 32px; }
    .foot .wrap { padding-top: 24px; }
    .foot .frow:first-child { flex-direction: column; align-items: flex-start; }
    /* スマホでは切り替えが左端にあり、真上の真ん中に出すと画面の外へはみ出すので、左をそろえる */
    .lmenu { left: -8px; translate: none; }
    .faq { padding: 0 20px 96px; }
    .qi > button { padding: 14px 48px 14px 18px; font-size: 16px; }
    .qtri { right: 18px; }
    .qans { padding: 16px 18px 20px; }
    .qans p { font-size: 15px; }
    .jbox { margin-top: 104px; }
    .jcat { left: 4px; }
    .jsay br { display: inline; }
    /* 幅375では、欄と主ボタンを縦に並べる */
    /* 欄と主ボタンが縦に並ぶので、揺らすのは欄だけにする */
    .join .jform.shake { animation: none; }
    .join .jform.shake .jin { animation: shake 400ms cubic-bezier(0.36, 0.07, 0.19, 0.97); }
    .join .jform { flex-direction: column; align-items: stretch; height: auto; padding: 0; gap: 12px; }
    .join .jform::before, .join .jform::after, .join .jform > .pxf { display: none; }
    .join .jin { position: relative; isolation: isolate; flex: none; height: 56px; }
    .join .jin::before, .join .jin::after, .join .jin > .pxf { display: block; }
    .join .jform input { height: 56px; padding: 0 24px; clip-path: var(--px); }
    .join .jform .btn { height: 56px; }
    .join .jform .long { display: inline; }
    .join .jform .short { display: none; }
    .join .jrow { height: 56px; padding: 4px 4px 4px 24px; }
    .join .jcheck { width: 48px; height: 48px; }
    .jrow > span:first-of-type { font-size: 15px; }
    .jerr { padding-left: 24px; }
  }
  .still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }
  .still .caret i:nth-child(1), .still .caret i:nth-child(5) { transform: scaleY(0.5); }
  .still .caret i:nth-child(2), .still .caret i:nth-child(4) { transform: scaleY(0.75); }

  .controls { position: fixed; z-index: 40; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; max-width: calc(100% - 32px); padding: 4px; border-radius: 20px; background: var(--dark); font: 600 13px/1 -apple-system, sans-serif; }
  .controls a, .controls button { color: #F6F7F9; text-decoration: none; padding: 8px 12px; border-radius: 9999px; border: 0; background: none; font: inherit; cursor: pointer; }
  .controls .on { background: #F6F7F9; color: var(--dark); }
  .shot-mode .controls { display: none; }

  @media (min-width: 641px) and (max-width: 1199px) { :root { --k: 120px; } }
  @media (max-width: 640px) {
    :root { --k: 72px; --dot: 2; }
    .header { width: calc(100% - 24px); max-width: none; top: 12px; }
    .logo { margin-right: auto; }
    .header nav { display: none; }
    .long { display: none; } .short { display: inline; }
    .wave path { stroke-width: 8; }
    .mac { width: calc(100% - 28px); padding: 7px 7px 0; border-radius: 22px 22px 0 0; }
    .screen { border-radius: 15px 15px 0 0; }
    .notch { width: 84px; height: 20px; border-radius: 0 0 8px 8px; }
    .notch::after { top: 6px; width: 6px; height: 6px; }
    .menubar { height: 22px; gap: 10px; padding: 0 10px; font-size: 10.5px; }
    .menubar .m, .menubar .hide-sp { display: none; }
    .menubar .right { gap: 8px; }
    .menubar svg { width: 13px; height: 13px; }
    .mac .windows { top: 22px; }
  }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

  .wallpaper, .bd-desk { object-fit: cover; }
  /* 寄った壁紙は画面の外まで大きくなる。切らないと、iPhone はそれをページの幅に含めて全体を縮めて見せる */
  .backdrop { overflow: hidden; }
  /* iOS の Safari は、幅 100% の svg（話す速さの波形）の最小幅を viewBox の幅（1000px）で数える。1fr の列がそこまで広がり、iPhone はページ全体を縮めて見せた。列は中身に押し広げられないようにする */
  .merits .wrap { grid-template-columns: minmax(0, 1fr); }
  .race2, .ba2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  @media (max-width: 640px) { .race2, .ba2, .pair { grid-template-columns: minmax(0, 1fr); } }
  .d3 .panel .tx:lang(ja) :is(.pending, .said):not(.cmd), .ask .s { white-space: nowrap; }
  .flat3d .screen { box-shadow: 0 0 0 clamp(7px, calc(var(--sw) * 0.016), 14px) #14151D, 0 30px 70px 14px rgb(42 36 104 / 0.3); }
  /* ---- 3Dの端末の下書き。.mac は画面そのものの大きさにし、位置と形は JS が transform で決める ---- */
  #dev3d { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; }
  .d3 .mac { left: 0; top: 0 !important; padding: 0; background: none; box-shadow: none; border-radius: 0; translate: none; transform-origin: 0 0; opacity: 0; transition: none; visibility: hidden; }
  .d3 .mac.on { translate: none; opacity: 1; }
  .d3 .mac.lit { visibility: visible; }
  .d3 .screen { border-radius: calc(var(--sw) * 0.0139); }
  .d3 .notch { display: none; }
  .d3 .menubar { height: 28px; font-size: 12.5px; gap: 14px; padding: 0 14px; white-space: nowrap; }
  .d3 .menubar .right { gap: 12px; }
  .d3 .mac .windows { top: 28px; }
  .d3 .menubar .m, .d3 .menubar .hide-sp { display: inline; }
  .d3 .win.on:not(.active) { opacity: 0; pointer-events: none; }
  .d3 h1.joined .line { transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1); }
  #fly { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
  #fly path { fill: none; stroke: var(--pink-deep); stroke-linecap: round; }
  /* 使っている途中の、横長の窓。左は一覧、右は書いている所 */
  .d3 .mac .win { transform: translate(calc(var(--cx) - 50%), calc(var(--cy) - 50%)) scale(var(--s)); transition: opacity 200ms ease-out; }
  /* ---- アプリの窓（Slack 風・メモ風・ChatGPT 風）。見せたい文のほかは棒にする。dk は暗い画面、lt は明るい画面 ---- */
  .d3 .win { width: 700px; height: var(--wbh, 360px); font: 400 13px/1.5 var(--sys); }
  .d3 .win .float { border-radius: 16px; background: none; }
  .d3 .win.dk .float { box-shadow: 0 0 0 1px rgb(0 0 0 / 0.55), 0 28px 70px rgb(20 16 48 / 0.42), 0 4px 14px rgb(20 16 48 / 0.2); }
  .d3 .win.lt .float { box-shadow: 0 0 0 0.5px rgb(20 16 48 / 0.28), 0 28px 70px rgb(29 32 79 / 0.3), 0 4px 14px rgb(29 32 79 / 0.12); }
  /* 窓の内側の縁に細い光の線を引き、輪郭を締める */
  .d3 .win .float::after { content: ""; position: absolute; z-index: 5; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), inset 0 1px 0 rgb(255 255 255 / 0.1); }
  .d3 .win.lt .float::after { box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.6); }
  .d3 .win .lights { z-index: 4; left: 14px; top: 12px; gap: 8px; opacity: 1; }
  .d3 .win .lights i { width: 12px; height: 12px; }
  .d3 .win svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
  .d3 .win .x-gb { display: block; height: 7px; border-radius: 4px; background: var(--bar); }
  .d3 .win .x-av { display: block; width: 34px; height: 34px; border-radius: 8px; flex: none; }
  .d3 .x-pane { position: relative; min-width: 0; margin-right: var(--crop, 0px); }
  .d3 .w3caret { display: inline-block; width: 1.5px; height: 17px; vertical-align: -3px; background: currentColor; animation: w3caret 1.1s steps(1) infinite; }
  @keyframes w3caret { 50% { opacity: 0; } }

  .d3 .x-gb + .x-gb { margin-top: 8px; }
  /* チャット: 左端の丸いアイコンの列、# の一覧、顔と発言 */
  .d3 .slk { --rail: #23265A; --side: #2F336E; --railInk: #EEF0FF; --sideInk: #CDD2F4; --srch: rgb(255 255 255 / 0.16); --sel: #FFFFFF; --selInk: #23265A; --bg: #FFFFFF; --ink: #1B1C2E; --sub: #64667D; --line: rgb(27 28 46 / 0.12); --bar: #DFE0EC; --barSide: rgb(255 255 255 / 0.24); --chip: #EEEFF8; --box: rgb(27 28 46 / 0.3); --fileBg: #FFFFFF; --go: #4B5BD7; }
  .d3 .slk.dk { --rail: #12132A; --side: #191B36; --railInk: #E9EBFF; --sideInk: #B9BEE0; --srch: rgb(255 255 255 / 0.11); --sel: #4B55B8; --selInk: #FFFFFF; --bg: #1F2140; --ink: #F1F2FB; --sub: #A9ADCB; --line: rgb(233 235 255 / 0.12); --bar: #3D4068; --barSide: rgb(233 235 255 / 0.17); --chip: #31345C; --box: rgb(233 235 255 / 0.28); --fileBg: #272A4C; --go: #6C7BFF; }
  .d3 .slk .float { display: grid; grid-template: 34px minmax(0, 1fr) / 50px 134px minmax(0, 1fr); background: var(--rail); color: var(--ink); }
  .d3 .slk .x-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; color: var(--railInk); }
  .d3 .slk .x-srch { display: flex; align-items: center; gap: 8px; width: 240px; height: 20px; padding: 0 9px; border-radius: 11px; background: var(--srch); } .d3 .slk .x-srch svg.i { width: 13px; height: 13px; } .d3 .slk .x-srch .x-gb { background: var(--barSide); height: 6px; }
  .d3 .slk .x-rail { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 5px 0 10px; color: var(--railInk); font: 600 8px/10px var(--sys); text-align: center; }
  .d3 .slk .x-rail .x-ws { display: grid; place-items: center; width: 29px; height: 29px; margin-bottom: 2px; border-radius: 50%; background: linear-gradient(135deg, #FF9DB9, #F5427E); color: #FFFFFF; font: 700 13.5px/1 var(--sys); }
  .d3 .slk .x-rail span { display: grid; justify-items: center; gap: 2px; }
  .d3 .slk .x-rail em svg.i { width: 15px; height: 15px; } .d3 .slk .x-rail .x-me .x-av { width: 26px; height: 26px; }
  .d3 .slk .x-rail em { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; }
  .d3 .slk .x-rail .on em { background: rgb(255 255 255 / 0.2); }
  .d3 .slk .x-rail .x-me { position: relative; margin-top: auto; }
  .d3 .slk .x-rail .x-me::after { content: ""; position: absolute; right: -2px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; background: #35C98B; border: 2px solid var(--rail); }
  .d3 .slk .x-side { padding: 10px 7px 0; border-radius: 12px 0 0 0; background: var(--side); color: var(--sideInk); overflow: hidden; }
  .d3 .slk .x-side h4 { padding: 0 8px 6px; font: 700 13px/18px var(--sys); color: #FFFFFF; }
  .d3 .slk .x-side p { display: flex; align-items: center; gap: 7px; height: 23px; padding: 0 8px; border-radius: 8px; font-size: 11.5px; white-space: nowrap; } .d3 .slk .x-side p.gap { margin-top: 10px; }
  .d3 .slk .x-side p svg.i { width: 13px; height: 13px; }
  .d3 .slk .x-side p .x-gb { background: var(--barSide); margin: 0; }
  .d3 .slk .x-side p.on { background: var(--sel); color: var(--selInk); font-weight: 600; }
  .d3 .slk .x-side p b { font-weight: 400; width: 14px; text-align: center; opacity: 0.85; }
  .d3 .win .x-av { object-fit: cover; border-radius: 50%; }
  .d3 .slk .x-side p .x-av { width: 18px; height: 18px; }
  .d3 .slk .x-pane { display: flex; flex-direction: column; background: var(--bg); min-height: 0; }
  .d3 .slk .x-ch { display: flex; align-items: center; gap: 4px; height: 38px; flex: none; padding: 0 12px 0 16px; border-bottom: 1px solid var(--line); font: 700 13.5px/1 var(--sys); }
  .d3 .slk .x-ch .x-r { margin-left: auto; color: var(--sub); } .d3 .slk .x-ch .x-r span { display: flex; align-items: center; gap: 4px; font: 600 10.5px/1 var(--sys); }
  .d3 .slk .x-ch .x-r .x-av { width: 18px; height: 18px; margin-left: -8px; box-shadow: 0 0 0 2px var(--bg); }
  .d3 .slk .x-ms { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 14px; padding: 12px 16px 0; overflow: hidden; }
  .d3 .slk .x-m { display: flex; gap: 9px; } .d3 .slk .x-m:first-child { margin-top: auto; } .d3 .slk .x-m .x-av { width: 29px; height: 29px; } .d3 .slk .x-m > div { min-width: 0; }
  .d3 .slk .x-old { align-items: center; } .d3 .slk .x-old .x-gb { margin: 0; } .d3 .slk .x-old .x-gb + .x-gb { margin-top: 7px; }
  .d3 .slk .x-day { display: flex; align-items: center; gap: 10px; flex: none; margin: -3px 0 -5px; font: 600 10px/14px var(--sys); color: var(--sub); } .d3 .slk .x-day::before, .d3 .slk .x-day::after { content: ""; flex: 1; height: 1px; background: var(--line); }
  .d3 .slk .x-m { flex: none; }
  .d3 .slk .x-m h5 { font: 700 12px/15px var(--sys); } .d3 .slk .x-m h5 small { margin-left: 6px; font: 400 10px/15px var(--sys); color: var(--sub); }
  .d3 .slk .x-m p { font-size: 12.5px; line-height: 18px; }
  .d3 .slk .x-att { display: flex; align-items: flex-end; gap: 8px; }
  .d3 .slk .x-rx span { display: block; height: 19px; padding: 0 8px; border-radius: 10px; background: var(--chip); font: 600 10.5px/19px var(--sys); color: var(--ink); white-space: nowrap; }
  .d3 .slk .x-file { display: flex; align-items: center; gap: 9px; width: 156px; margin-top: 5px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--fileBg); font: 600 11.5px/15px var(--sys); }
  .d3 .slk .x-file > i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: linear-gradient(135deg, #8D9BFF, #F58BB0); color: #FFFFFF; } .d3 .slk .x-file .x-gb { margin-top: 5px; }
  .d3 .slk .x-cmp { flex: none; margin: 14px 16px 13px; border: 1px solid var(--box); border-radius: 12px; background: var(--fileBg); }
  .d3 .slk .tight .x-ms { gap: 7px; padding-top: 7px; } .d3 .slk .tight .x-cmp { margin: 6px 16px 10px; } .d3 .slk .tight .x-tls { height: 28px; }
  .d3 .slk .x-fld { min-height: 29px; padding: 8px 12px 0; font-size: 13px; line-height: 19px; }
  .d3 .slk .x-fld:empty::before { content: attr(data-ph); color: var(--sub); }
  .d3 .slk .x-tls { display: flex; align-items: center; gap: 12px; height: 31px; padding: 0 5px 4px 11px; color: var(--sub); } .d3 .slk .x-tls svg.i { width: 15px; height: 15px; }
  .d3 .slk .x-snd { display: grid; place-items: center; width: 26px; height: 26px; margin-left: auto; border-radius: 50%; color: var(--sub); } .d3 .slk .full .x-snd { background: var(--go); color: #FFFFFF; }

  /* メモ: フォルダ・一覧・書いている所の3列 */
  .d3 .nts { --bg: #FFFFFF; --side: #F3F3F6; --list: #FAFAFC; --ink: #1D1D22; --sub: #6B6B76; --line: rgb(24 24 40 / 0.09); --sel: #ECECF1; --fold: #F6D479; --foldInk: #3D2E05; --acc: #C08A12; --glass: #FFFFFF; --glassSh: 0 0 0 0.5px rgb(24 24 40 / 0.1), 0 2px 8px rgb(24 24 40 / 0.08); --bar: #E1E1E8; }
  .d3 .nts.dk { --bg: #1E1E21; --side: #29292D; --list: #232326; --ink: #F3F3F6; --sub: #AEAEB8; --line: rgb(240 240 255 / 0.1); --sel: #37373D; --fold: #D8AE4A; --foldInk: #261C02; --acc: #E6BE62; --glass: #36363B; --glassSh: 0 0 0 0.5px rgb(240 240 255 / 0.14), 0 2px 8px rgb(0 0 0 / 0.3); --bar: #46464D; }
  .d3 .nts .float { display: grid; grid-template-columns: 132px 182px minmax(0, 1fr); background: var(--bg); color: var(--ink); }
  .d3 .nts .x-fds { padding: 46px 8px 0; background: var(--side); border-right: 1px solid var(--line); font-size: 13px; }
  .d3 .nts .x-fds p { display: flex; align-items: center; gap: 8px; height: 30px; margin-bottom: 2px; padding: 0 9px; border-radius: 9px; white-space: nowrap; } .d3 .nts .x-fds p svg.i { width: 16px; height: 16px; color: var(--acc); }
  .d3 .nts .x-fds p.on { background: var(--fold); color: var(--foldInk); font-weight: 700; } .d3 .nts .x-fds p.on svg.i { color: var(--foldInk); }
  .d3 .nts .x-lst { border-right: 1px solid var(--line); background: var(--list); overflow: hidden; }
  .d3 .nts .x-lst header { display: flex; align-items: baseline; gap: 7px; height: 46px; padding: 17px 16px 0; font: 700 14.5px/16px var(--sys); } .d3 .nts .x-lst header small { font: 400 11.5px/14px var(--sys); color: var(--sub); }
  .d3 .nts .x-lst li { list-style: none; margin: 0 8px 4px; padding: 11px 10px; border-radius: 10px; } .d3 .nts .x-lst li.on { padding: 8px 10px; background: var(--sel); }
  .d3 .nts .x-lst li b { display: block; overflow: hidden; font: 700 13.5px/19px var(--sys); text-overflow: ellipsis; white-space: nowrap; } .d3 .nts .x-lst li span { display: block; font: 400 12px/17px var(--sys); color: var(--ink); opacity: 0.75; white-space: nowrap; } .d3 .nts .x-lst .x-gb:first-child { height: 8px; }
  .d3 .nts .x-bar3 { display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 14px; }
  .d3 .nts .x-bar3 > span { display: flex; align-items: center; gap: 15px; height: 30px; padding: 0 10px; border-radius: 10px; background: var(--glass); box-shadow: var(--glassSh); color: var(--ink); font-size: 14px; } .d3 .nts .x-bar3 b { font: 500 14px/1 var(--sys); } .d3 .nts .x-bar3 svg.i { width: 15px; height: 15px; } .d3 .nts .x-bar3 > span:last-child { margin-left: auto; }
  .d3 .nts .date { position: static; margin: 6px 28px 0; text-align: left; font: 400 12px/16px var(--sys); color: var(--sub); }
  .d3 .nts h3 { position: static; margin: 3px 28px 10px; font: 700 20px/28px var(--sys); color: var(--ink); }
  .d3 .nts .memo, .d3 .nts .list { position: static; margin: 0 28px 7px; font-size: 15px; line-height: 26px; color: var(--ink); }
  .d3 .nts .list p { display: flex; gap: 8px; min-height: 26px; } .d3 .nts .list .n { min-width: 20px; text-align: right; font-variant-numeric: tabular-nums; color: var(--acc); font-weight: 700; } .d3 .nts .w3caret { background: var(--acc); height: 18px; margin-top: 4px; }

  /* AI のチャット: 左に履歴、右に吹き出し、下に丸い入力欄 */
  .d3 .gpt { --bg: #FFFFFF; --side: #F4F3F9; --ink: #18171F; --sub: #6A6878; --line: rgb(24 20 50 / 0.08); --sel: #E5E2F3; --ask: #ECEAF7; --cmp: #FFFFFF; --cmpSh: 0 0 0 1px rgb(24 20 50 / 0.12), 0 6px 18px rgb(24 20 50 / 0.09); --go: #18171F; --goInk: #FFFFFF; --bar: #DDDAEA; }
  .d3 .gpt.dk { --bg: #1E1D24; --side: #151419; --ink: #F0EFF5; --sub: #ACA9BA; --line: rgb(240 236 255 / 0.08); --sel: #2D2B37; --ask: #34313F; --cmp: #2B2934; --cmpSh: inset 0 0 0 1px rgb(240 236 255 / 0.1), 0 6px 20px rgb(0 0 0 / 0.28); --go: #FFFFFF; --goInk: #18171F; --bar: #42404E; }
  .d3 .gpt .float { display: grid; grid-template-columns: 168px minmax(0, 1fr); background: var(--bg); color: var(--ink); }
  .d3 .gpt .x-side { display: flex; flex-direction: column; padding: 46px 8px 12px; background: var(--side); border-right: 1px solid var(--line); overflow: hidden; }
  .d3 .gpt .x-side p { display: flex; align-items: center; gap: 10px; flex: none; height: 31px; padding: 0 10px; border-radius: 10px; font: 600 13.5px/1 var(--sys); white-space: nowrap; } .d3 .gpt .x-side p svg.i { width: 16px; height: 16px; } .d3 .gpt .x-side p.gap { margin-top: 14px; } .d3 .gpt .x-side p.on { background: var(--sel); } .d3 .gpt .x-side .x-gb { margin: 0; }
  .d3 .gpt .x-side .x-who { margin-top: auto; } .d3 .gpt .x-side .x-who .x-av { width: 26px; height: 26px; }
  .d3 .x-app, .d3 .x-bot { display: grid; place-items: center; flex: none; } .d3 .x-app svg, .d3 .x-bot svg { fill: none; stroke-linejoin: round; }
  .d3 .x-app { width: 25px; height: 25px; border-radius: 7px; background: var(--go); color: var(--goInk); } .d3 .x-app svg { width: 18px; height: 18px; }
  .d3 .x-bot { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line), inset 0 0 0 1px var(--line); color: var(--ink); } .d3 .x-bot svg { width: 18px; height: 18px; }
  .d3 .gpt .x-hd { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 20px; font: 700 15.5px/1 var(--sys); } .d3 .gpt .x-hd .x-r { display: flex; gap: 15px; margin-left: auto; } .d3 .gpt .x-hd svg.i { width: 17px; height: 17px; color: var(--sub); }
  .d3 .gpt .msgs { position: absolute; left: 22px; right: 22px; top: 52px; bottom: 78px; display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; overflow: hidden; font-size: 15.5px; line-height: 24px; }
  .d3 .gpt .ask { max-width: 92%; padding: 8px 16px; border-radius: 20px; background: var(--ask); color: var(--ink); } .d3 .gpt .ask .x-gb { margin: 8px 0; }
  .d3 .gpt .answer { display: flex; gap: 10px; } .d3 .gpt .answer > div { flex: 1; padding-top: 2px; } .d3 .gpt .answer > div > .x-gb:first-child { margin-top: 6px; }
  .d3 .gpt .answer ol { margin: 0; padding: 0; counter-reset: n; } .d3 .gpt .answer li { display: flex; align-items: center; gap: 10px; height: 28px; list-style: none; counter-increment: n; } .d3 .gpt .answer li::before { content: counter(n) "."; color: var(--sub); } .d3 .gpt .answer li .x-gb { margin: 0; } .d3 .gpt .answer b { font-weight: 700; }
  .d3 .gpt .x-acts { display: flex; gap: 14px; margin-top: 8px; color: var(--sub); } .d3 .gpt .x-acts svg.i { width: 15px; height: 15px; stroke-width: 1.5; }
  .d3 .gpt .typing { padding: 9px 0; } .d3 .gpt .typing i { background: var(--sub); }
  .d3 .gpt .composer { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 8px 9px 8px 16px; border-radius: 25px; background: var(--cmp); box-shadow: var(--cmpSh); font-size: 15.5px; color: var(--ink); } .d3 .gpt .composer svg.i { width: 18px; height: 18px; }
  .d3 .gpt .input { flex: 1; min-height: 23px; line-height: 23px; } .d3 .gpt .input:empty::before { content: attr(data-ph); color: var(--sub); }
  .d3 .gpt .send { display: grid; place-items: center; width: 33px; height: 33px; margin: 0; border-radius: 50%; background: var(--go); color: var(--goInk); } .d3 .gpt .send svg { width: 15px; height: 15px; stroke: currentColor; }
  .d3 .menubar b:empty { display: none; }

  /* 窓が暗いときは、本物と同じくパネルのガラスも暗くなる（暗いガラスに黒30%、縁は白5%） */
  .d3 .screen[data-th="dk"] .panel, .d3 .screen[data-th="dk"] .capsule { background: rgb(52 52 59 / 0.78); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.2), 0 20px 48px rgb(10 8 30 / 0.5), 0 4px 12px rgb(10 8 30 / 0.3); color: #F5F5F7; }
  .d3 .screen[data-th="dk"] .capsule { color: rgb(235 235 245 / 0.72); }
  .d3 .screen[data-th="dk"] .panel .tx .pending { color: rgb(235 235 245 / 0.58); }
  .d3 .screen[data-th="dk"] .panel .status { color: rgb(235 235 245 / 0.66); }
  .d3 .screen[data-th="dk"] .cb { background: rgb(235 235 245 / 0.1); } .d3 .screen[data-th="dk"] .cb svg { stroke: rgb(235 235 245 / 0.85); }
  .d3 .screen[data-th="dk"] .bars { opacity: 0.95; } .d3 .screen[data-th="dk"] .bars i { background: #FF6C9C; }
  .d3 .screen[data-th="dk"] .cmd { background: #4B3B7C; color: #E9E0FF !important; } .d3 .screen[data-th="dk"] .cmd-tag { background: #A48BEF; color: #1B1238; }
  @keyframes swapDk { 0% { background: #4B3B7C; transform: translateY(-3px); opacity: 0; } 25% { opacity: 1; transform: none; } 70% { background: #4B3B7C; } 100% { background: transparent; } }
  .d3 .screen[data-th="dk"] .swap { animation-name: swapDk; }
  @media (max-width: 640px) { .d3 .stage { min-height: 520px; } .d3 .slk .x-pane { zoom: 1.16; } .d3 .slk .x-pane .x-ch, .d3 .slk .x-pane .x-ms { padding-left: 12px; padding-right: 12px; } .d3 .slk .x-pane .x-cmp { margin-left: 12px; margin-right: 12px; } .d3 .slk .x-pane .x-fld { padding-left: 10px; padding-right: 10px; font-size: 12.5px; } .d3 .slk .x-pane .x-tls { padding-left: 9px; } .d3 h1 .line { transform-origin: 0 50%; } .d3 .nts .float { grid-template-columns: 0 182px minmax(0, 1fr); } .d3 .nts .x-fds { visibility: hidden; padding: 0; overflow: hidden; } .d3 .nts .date { margin: 6px 12px 0 20px; } .d3 .nts .memo, .d3 .nts .list { margin: 0 12px 6px 20px; font-size: 16px; } .d3 .nts h3 { margin: 2px 12px 8px 20px; } }
  /* 見る機能と端末を選ぶボタン。ヘッダーと同じガラスで、今の場面は左から塗られていく */
  /* 場面と端末のボタン。DictCat のパネル（暗いとき）と同じガラスにし、角はプリセットの一覧の角丸（12）に余白（5）を足す */
  .d3 .seg3d { position: absolute; z-index: 6; left: 50%; bottom: 18px; display: flex; align-items: center; padding: 5px; border-radius: 17px; translate: -50% 12px; background: rgb(52 52 59 / 0.78); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14), 0 12px 32px rgb(10 8 30 / 0.28); opacity: 0; visibility: hidden; transition: translate 500ms var(--reveal); }
  .d3 .seg3d.on { translate: -50% 0; visibility: visible; }
  .d3 .seg3d > div[role] { display: flex; gap: 2px; }
  .d3 .seg3d button { position: relative; overflow: hidden; height: 34px; padding: 0 14px; border: 0; border-radius: 12px; background: none; font: 500 13px/34px var(--sys); color: rgb(235 235 245 / 0.6); white-space: nowrap; cursor: pointer; transition: color 200ms, background-color 200ms; }
  .d3 .seg3d button:hover { color: rgb(235 235 245 / 0.86); background-color: rgb(255 255 255 / 0.05); }
  .d3 .seg3d button[aria-pressed="true"] { color: #F5F5F7; background-color: rgb(255 255 255 / 0.1); }
  /* 自動で次へ進むまでの残りを、選んだ所の地を左から少し明るくして見せる */
  .d3 .seg3d button > i { position: absolute; inset: 0; background: rgb(255 255 255 / 0.08); clip-path: inset(0 calc(100% - var(--f, 0) * 100%) 0 0); opacity: 0; transition: opacity 250ms; } .d3 .seg3d button[aria-pressed="true"] > i { opacity: 1; }
  .d3 .seg3d button span { position: relative; display: inline-flex; align-items: center; }
  /* 選んだ場面には、パネルと同じ声の波形を付け、録音している間だけ動かす */
  .d3 .seg3d .bars { display: none; margin: 0 6px 0 0; opacity: 0.95; } .d3 .seg3d button[aria-pressed="true"] .bars { display: inline-flex; }
  .d3 .seg3d .bars i { background: #FF6C9C; animation-play-state: paused; } .d3 .seg3d.rec .bars i { animation-play-state: running; }
  .d3 .seg3d button:focus-visible { outline: 2px solid var(--pink-deep); outline-offset: 2px; }
  /* 乗せたときのヒント。ボタンと同じ暗いガラス */
  .d3 .tip3d { position: absolute; bottom: calc(100% + 12px); width: max-content; max-width: calc(100vw - 24px); padding: 9px 14px; border-radius: 12px; translate: -50% 4px; background: rgb(52 52 59 / 0.9); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14), 0 12px 30px rgb(10 8 30 / 0.3); font: 500 13px/20px var(--sys); color: #F5F5F7; text-align: center; white-space: pre; pointer-events: none; opacity: 0; transition: opacity 140ms ease-out, translate 220ms var(--reveal); }
  .d3 .tip3d.on { opacity: 1; translate: -50% 0; }
  /* 端末に初めてマウスを乗せたときの吹き出し。カーソルの右下に出し、矢印は付けない */
  .d3 .tip3d.grabtip { z-index: 6; bottom: auto; translate: 0 4px; } .d3 .tip3d.grabtip.on { translate: 0 0; } .d3 .tip3d.grabtip::after { display: none; }
  .d3 .tip3d::after { content: ""; position: absolute; left: calc(50% + var(--ax, 0px)); bottom: -5px; width: 11px; height: 11px; translate: -50% 0; rotate: 45deg; border-radius: 0 0 3px 0; background: rgb(52 52 59 / 0.9); }
  @media (max-height: 780px) { .d3 .seg3d { bottom: 10px; } }
  @media (max-width: 640px) { .d3 #controls { display: none; } .d3 .seg3d { bottom: 14px; } .d3 .seg3d button { padding: 0 11px; } }
  .d3 .panel { box-shadow: 0 0 0 1px rgb(29 32 79 / 0.1), 0 20px 48px rgb(29 32 79 / 0.26), 0 4px 12px rgb(29 32 79 / 0.08); }
  .d3.cut .win, .d3.cut .dc, .d3.cut .panel, .d3.cut .capsule { transition: none !important; }
  /* 端末はつかんで回せる。気づく手がかりはカーソルの手の形だけにする */
  .d3.d3grab .stage { cursor: grab; }
  .d3.d3spin, .d3.d3spin * { cursor: grabbing !important; user-select: none; }
  .d3 .screen::before { content: ""; position: absolute; z-index: 20; inset: 0; background: radial-gradient(120% 95% at 50% 100%, rgb(245 66 126 / var(--pk, 0)), rgb(245 66 126 / 0) 78%), #0E0F1E; opacity: var(--dark, 0); pointer-events: none; }
  .d3 .screen::after { content: ""; position: absolute; z-index: 21; inset: 0; pointer-events: none; background: linear-gradient(112deg, rgb(255 255 255 / 0) 34%, rgb(255 255 255 / 0.05) 38%, rgb(255 255 255 / 0.3) 47%, rgb(255 255 255 / 0.16) 50%, rgb(255 255 255 / 0) 50.3%, rgb(255 255 255 / 0) 51.5%, rgb(255 255 255 / 0.14) 51.7%, rgb(255 255 255 / 0) 55%); background-size: 320% 100%; background-position: var(--gp, 0%) 0; opacity: var(--glare, 0); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
