@scope(.detail-surface){*{box-sizing:border-box}:scope{--ink:#20213b;--muted:#4e5871;--blue:#2447df;--lime:#cbf34e;--orange:#ff9a53;--line:#dbe0eb;--paper:#fff;--surface:#f2f5fc;--radius:18px;color:var(--ink);background:#fff;margin:0;font-family:Noto Sans CJK JP,Hiragino Kaku Gothic ProN,Meiryo,sans-serif;font-size:14px}button,input{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #6b32d5}button[disabled]{cursor:not-allowed;opacity:.58}[hidden]{display:none!important}.sr,.skip:not(:focus){clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip:focus{z-index:12;background:#fff;padding:10px;position:fixed;top:4px;left:4px}.mast{border-bottom:2px solid #edf0f8;align-items:center;gap:22px;min-height:68px;padding:9px clamp(16px,2.4vw,36px);display:flex}.identity{white-space:nowrap;color:inherit;align-items:center;gap:10px;line-height:1.05;text-decoration:none;display:flex}.identity b{letter-spacing:-.07em;color:#302627;font-family:ui-rounded,Arial Rounded MT Bold,Trebuchet MS,system-ui,sans-serif;font-size:clamp(26px,3.2vw,40px);font-weight:950;display:block}.identity span{color:#b83751}.edition{background:var(--surface);border:1px solid var(--line);white-space:nowrap;border-radius:99px;gap:2px;margin-left:auto;padding:3px;display:flex}.edition button{background:0 0;border:0;border-radius:99px;min-height:37px;padding:6px 14px;font-size:13px;font-weight:800}.desk{grid-template-columns:minmax(190px,234px) minmax(0,1fr) minmax(211px,267px);align-items:stretch;gap:clamp(13px,2vw,29px);width:min(100%,1520px);margin:auto;padding:15px clamp(16px,2.4vw,36px) 9px;display:grid}.shelf,.guide{border:1px solid var(--line);border-radius:var(--radius);background:#fff;min-width:0;padding:15px}.shelf h2,.guide h2{margin:0;font-size:16px;font-weight:900}.shelf-note{color:var(--muted);margin:15px 0 0;font-size:11px;line-height:1.6}.search{color:#35456e;background:#fafbff;border:1px solid #c8d1e6;border-radius:11px;align-items:center;gap:5px;min-height:43px;margin:11px 0 16px;padding:0 9px;display:flex}.search svg{flex:none}.search input{outline-offset:0;background:0 0;border:0;width:100%;min-width:0;padding:7px 2px;font-size:12px}.index-group h3{color:var(--muted);letter-spacing:.09em;margin:0 0 7px;font-size:11px}.index-group+.index-group{margin-top:17px}.index-group{min-width:0}.lesson-card{text-align:left;border:1px solid var(--line);width:100%;min-height:58px;color:inherit;background:#fff;border-radius:12px;align-items:center;gap:8px;padding:7px;font-size:12px;font-weight:800;line-height:1.35;text-decoration:none;display:flex}.lesson-card[aria-current=page]{border:2px solid var(--blue);color:#213bad;background:#eaf0ff;padding:6px}.thumb{background:#d8edff;border-radius:8px;flex:none;place-items:center;width:37px;height:37px;display:grid;overflow:hidden}.thumb svg{width:32px;height:32px}.lesson-card small{color:var(--muted);margin-top:3px;font-size:10px;font-weight:650;display:block}.study{min-width:0}.lesson-head{justify-content:space-between;align-items:end;gap:12px;margin:0 1px 9px;display:flex}.kicker{color:#2744bd;letter-spacing:.13em;margin:0;font-size:11px;font-weight:900}.lesson-head h1{letter-spacing:-.045em;overflow-wrap:anywhere;margin:4px 0 1px;font-size:clamp(22px,2.5vw,39px);font-weight:950;line-height:1.2}.lesson-no{border:1px solid var(--line);color:#4a566f;border-radius:8px;align-self:center;padding:3px 7px;font:800 13px ui-monospace,monospace}.player{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:6px}.stage{background:radial-gradient(at 50% 46%,#fff 22%,#f4f7ff 100%);border:1px solid #e8edf8;border-radius:13px;min-width:0;height:clamp(290px,100dvh - 307px,550px);position:relative;overflow:hidden}.stage[data-edition=detail]{background-color:#f8fbfe;background-image:linear-gradient(#dbe5f266 1px,#0000 1px),linear-gradient(90deg,#dbe5f266 1px,#0000 1px);background-size:19px 19px}.stage-tag,.stage-hint{z-index:1;color:#405078;background:#ffffffed;border:1px solid #dce4f3;font-size:10px;font-weight:750;position:absolute}.stage-tag{border-radius:7px;padding:4px 8px;top:10px;left:10px}.stage-hint{pointer-events:none;border-radius:7px;margin:0;padding:4px 7px;bottom:9px;left:10px}.picture{aspect-ratio:600/410;touch-action:none;cursor:grab;place-items:center;max-width:100%;height:100%;display:grid;position:relative;left:50%;transform:translate(-50%)}.picture.is-dragging{cursor:grabbing}.picture svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:hidden}.part-labels{pointer-events:none;position:absolute;inset:0}.part-labels button{pointer-events:auto;color:#253779;white-space:nowrap;background:#fff;border:1.5px solid #7991da;border-radius:9px;min-height:32px;padding:5px 8px;font-size:clamp(10px,1vw,13px);font-weight:900;line-height:1.1;position:absolute;transform:translateY(-50%)}.part-labels button[data-side=left]{left:clamp(4px,2%,14px)}.part-labels button[data-side=right]{right:clamp(4px,2%,14px)}.stage-controls{gap:4px;display:flex;position:absolute;bottom:8px;right:8px}.stage-controls button{color:#304474;background:#fff;border:1px solid #cbd5eb;border-radius:8px;width:34px;height:34px;padding:0;font-size:18px;font-weight:800}.mode-set{gap:7px;padding:10px 3px 3px;display:flex}.mode-set button{border:2px solid #0000;border-radius:12px;flex:1;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:44px;font-size:clamp(13px,1.35vw,18px);font-weight:950;display:flex}.mode-set svg{flex:none;width:18px;height:18px}.play-mode{color:#fff;background:#2447df}.inside-mode{background:var(--lime)}.explode-mode{background:var(--orange)}.mode-set button[aria-pressed=true]{border-color:#20213b;box-shadow:inset 0 0 0 2px #fff}.mode-set button:hover,.run:hover,.related-entry button:hover{filter:brightness(.95)}.player-credit{color:var(--muted);text-align:right;margin:5px 4px 0;font-size:10px}.guide-card{border:1px solid var(--line);background:#fff;border-radius:16px}.sheet-head button{border:1px solid var(--line);background:#fff;border-radius:8px;width:32px;height:32px;margin:-4px -4px 0 0;padding:0;font-size:22px;line-height:1}.guide-task{margin-top:auto}.phase{color:#344979;min-height:1.4em;margin:0 0 6px;font-size:11px;font-weight:750;line-height:1.4}.run{background:var(--blue);color:#fff;border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:43px;padding:5px 7px;font-weight:900;display:flex}.progress{background:#dbe5fa;border-radius:6px;height:4px;margin-top:6px;overflow:hidden}.progress span{background:var(--blue);width:0;height:100%;display:block}.related-entry{width:min(100%,1520px);margin:0 auto;padding:0 clamp(16px,2.4vw,36px) 10px}.related-entry button{background:var(--blue);color:#fff;border:0;border-radius:13px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:46px;padding:6px 14px;font-size:15px;font-weight:900;display:flex}.chevron{font-size:20px;line-height:1;position:absolute;right:8%}dialog{border:1px solid var(--line);width:min(100%,680px);color:var(--ink);background:#fff;border-radius:19px 19px 0 0;max-height:80dvh;margin:0 auto;padding:19px;position:fixed;inset:auto 0 0;box-shadow:0 -12px 65px #172d6d44}dialog[open]{animation:.22s ease-out slide-in}@keyframes slide-in{0%{transform:translateY(100%)}to{transform:translateY(0)}}.sheet-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;display:flex}.sheet-head h2{margin:0;font-size:20px}@media (width>=960px) and (height>=650px){.desk{height:calc(100dvh - 125px)}.shelf,.guide{overscroll-behavior:contain;overflow:auto}.stage{height:clamp(290px,100dvh - 316px,550px)}}@media (width<=959px){.desk{grid-template-columns:minmax(126px,.85fr) minmax(0,3.2fr);grid-template-areas:"shelf study""shelf guide";gap:9px}.shelf{grid-area:shelf}.study{grid-area:study}.guide{grid-area:guide}.guide-mascot{min-height:0}.guide-mascot svg{width:73px;height:65px}.shelf,.guide{padding:10px}.stage{height:clamp(290px,46vw,410px)}}@media (width<=485px){.mast{gap:8px;padding:8px}.mast-note{display:none}.identity svg{width:32px;height:32px}.identity b{font-size:21px}.desk{flex-direction:column;padding:8px;display:flex}.study{order:-1}.guide{order:0}.stage{height:300px}.related-entry{padding:0 8px 8px}.stage-hint{bottom:46px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;animation:none!important}}:scope{--ink:#282a2a;--muted:#555d5a;--blue:#176f63;--line:#d9dfdc;--surface:#f4f6f5;--coral:#ff7078;--mint:#59d4b2;--amber:#ffc34a;--radius:14px}.mast{border-bottom:1px solid var(--line)}.edition button[aria-pressed=true]{background:var(--coral);color:#25191a}.desk{grid-template-columns:minmax(172px,219px) minmax(0,1fr) minmax(214px,266px);gap:clamp(12px,2vw,28px)}.shelf,.guide{background:#fff;border:0;border-radius:0}.shelf{border-right:1px solid var(--line);padding-left:0}.search{border-color:var(--line);color:var(--muted);background:#fff}.index-group h3{letter-spacing:0}.lesson-card{background:var(--surface);border-color:#0000}.lesson-card[aria-current=page]{color:var(--ink);background:#fff4e4;border-color:#cb505b}.lesson-card:hover{border-color:#a6434c}.thumb{background:#ddf4eb}.thumb.flashlight{background:#ffebc0}.kicker{color:#176f63;letter-spacing:.08em}.lesson-no{color:var(--muted)}.player{border:0;padding:0}.stage,.stage[data-edition=detail]{background:#fff;border:0;border-radius:0;height:auto;min-height:0}.actions,.vset,.vrow{align-items:center;gap:6px;display:flex}.actions,.vset{z-index:2;position:absolute;top:0}.actions{left:0}.vset{right:0}.act{border:1px solid var(--line);white-space:nowrap;background:#fff;border-radius:999px;min-height:37px;padding:5px clamp(7px,1vw,13px);font-weight:850}.actions .act{background:#fafafa}.vrow .act{border-color:#0000}.vrow [data-mode=play]{background:#ffd5d8}.vrow [data-mode=see-through]{background:#ccf5e8}.vrow [data-mode=explode]{background:#ffebba}.vrow [data-mode=play][aria-pressed=true]{background:var(--coral)}.vrow [data-mode=see-through][aria-pressed=true]{background:var(--mint)}.vrow [data-mode=explode][aria-pressed=true]{background:var(--amber)}.vrow .act[aria-pressed=true]{border-color:#343a37;box-shadow:inset 0 0 0 1px #343a37}.act:hover{filter:brightness(.96)}.picture{aspect-ratio:auto;touch-action:auto;cursor:auto;width:100%;max-width:none;height:clamp(285px,100dvh - 291px,560px);margin-top:39px;left:auto;transform:none}.picture .figure{pointer-events:auto;touch-action:none;cursor:grab}.figure.drag,.figure.grip-drag{cursor:grabbing}.figure [data-control]{cursor:ns-resize}.figure.grip-drag [data-control]{cursor:grabbing}.figure:focus-visible{outline-offset:-4px;border-radius:10px;outline:3px solid #176f63}.part-labels button{color:#422b03;background:#ffebba;border-color:#90620b;min-height:35px}.part-labels button[aria-pressed=true]{color:#211701;background:#ffc34a;border-color:#603d00}.part-labels button:hover{box-shadow:0 0 0 3px #f9d679}.readout{color:#1b6259;text-align:center;min-height:1.6em;margin:4px 0 2px;font-size:13px;font-weight:850}.controls .row{color:var(--muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 9px;font-size:11px;display:flex}.controls button{border:1px solid var(--line);background:#fff;border-radius:8px;min-height:34px;padding:4px 8px}.controls button[aria-pressed=true]{background:#ddf4eb;border-color:#176f63}.player-credit{white-space:nowrap;margin:0}.player-credit:before{content:"図："}.guide{padding:78px 0 0;display:block;position:relative}.guide-card{padding:26px 15px 15px;position:relative;overflow:visible}.guide-mascot{aspect-ratio:132/96;pointer-events:none;width:clamp(104px,10vw,132px);position:absolute;top:0;right:2px;transform:translateY(-70.833%)}.guide-mascot svg{width:100%;height:100%;display:block}.guide-card h2{letter-spacing:-.025em;overflow-wrap:anywhere;margin:0 0 8px;font-size:clamp(17px,1.5vw,22px);line-height:1.35}.guide-card:has(#close-part:not([hidden])) h2{padding-right:29px}.guide-card p{color:#333b38;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.74}.guide-card p+p{margin-top:.75em}#close-part{border:1px solid var(--line);background:#fff;border-radius:8px;width:30px;height:30px;padding:0;font-size:21px;line-height:1;position:absolute;top:23px;right:7px}.controls .orbit-hint{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.guide-tip{color:var(--muted);margin:10px 0;font-size:11px}.related-entry button{border:1px solid var(--line);color:var(--ink);background:#fff;justify-content:flex-start;position:relative}.chevron{right:14px}dialog{box-shadow:0 -9px 40px #20312d35}dialog::backdrop{background:#27322f55}@media (width>=960px) and (height>=650px){.desk{height:auto;min-height:calc(100dvh - 128px)}.shelf,.guide{overflow:visible}}@media (width<=959px){.desk{grid-template-columns:minmax(126px,.85fr) minmax(0,3.2fr)}.stage{height:auto}.picture{height:clamp(285px,45vw,420px)}.guide{max-width:520px;padding-top:62px}}@media (width<=485px){.desk{grid-template-columns:none}.view{display:none}.picture{height:310px}.guide{max-width:none}.shelf{border-right:0;padding:10px 0}.act{font-size:13px}.part-labels button{min-height:36px}}.mascot-slot{pointer-events:none;-webkit-user-select:none;user-select:none;display:block}.mascot-slot img{object-fit:contain;object-position:center bottom;width:100%;height:100%;display:block}.edition-wrap,.shelf-head,.related-entry button,.sheet-head,.lesson-card,#no-result{position:relative}.edition-wrap{flex:none;margin-inline-start:auto}.edition-wrap .edition{margin-inline-start:0}.edition-mascot{z-index:1;transform-origin:bottom;width:38px;height:44px;position:absolute;bottom:-3px;right:calc(100% + 4px);transform:rotate(-13deg)}.shelf-head{min-height:23px}.shelf-head h2{padding-inline-end:38px}.shelf-mascot{width:34px;height:35px;position:absolute;bottom:0;right:3px;transform:rotate(10deg)}.guide-mascot{transform-origin:bottom;width:94px;height:87px;top:auto;bottom:calc(100% - 10px);right:12px;transform:rotate(-10deg)}.guide-mascot[data-mascot=ghost]{width:88px;height:80px;right:13px;transform:rotate(9deg)}.related-mascot{flex:none;width:28px;height:26px;margin-inline:-2px 1px;display:inline-block;transform:rotate(11deg)}.sheet-mascot{vertical-align:baseline;width:53px;height:45px;margin-inline-start:12px;display:inline-block;transform:rotate(-10deg)}.related-card-mascot{width:31px;height:28px;position:absolute;bottom:3px;right:5px;transform:rotate(10deg)}.lesson-card:has(.related-card-mascot){padding-inline-end:38px}.empty-mascot{width:62px;height:60px;margin:0 auto 6px;display:block;transform:rotate(-8deg)}.player-wrap{min-height:340px;position:relative}.lesson-skeleton[hidden]{display:none}.lesson-skeleton{z-index:4;color:#344656;background:#fff;border:1px solid #dbe4ec;border-radius:18px;grid-template-rows:auto 1fr auto;gap:14px;padding:14px;display:grid;position:absolute;inset:0}.player-wrap:has(.lesson-skeleton:not([hidden])) #player{visibility:hidden}.skeleton-chips,.skeleton-bottom{justify-content:flex-end;gap:8px;display:flex}.skeleton-bottom{justify-content:center}.skeleton-chips span,.skeleton-bottom:before,.skeleton-bottom:after{background:#eff2f5;border:1px solid #e7ebef;border-radius:99px;width:42px;height:30px;display:block}.skeleton-chips span:nth-child(2){background:#e5f5ee}.skeleton-chips span:nth-child(3){background:#fff1d9}.skeleton-bottom:before,.skeleton-bottom:after{content:"";border-radius:9px;width:64px;height:18px}.skeleton-center{text-align:center;align-content:center;justify-items:center;gap:8px;font-size:13px;font-weight:750;display:grid}.skeleton-center img{width:184px;height:92px;image-rendering:pixelated;display:block}@media (width<=850px){.guide{padding-top:82px}}@media (width<=355px){.edition-mascot{width:27px;height:33px;right:100%}}}
