.arw{--ac:#06B6D4;--ac2:#CFFAFE;--acg:linear-gradient(90deg,#0891B2,#06B6D4 50%,#F59E0B)}
.arw [hidden]{display:none!important}
.ghero{position:relative;text-align:center;padding:5svh 0 18px}
.game{position:relative;background:#fff;border-radius:28px;padding:16px;box-shadow:0 1px 2px rgba(14,17,22,.05),0 20px 50px rgba(8,145,178,.18);overflow:hidden}
.gtop{margin-bottom:12px}
.ghud{display:flex;justify-content:space-between;gap:6px;font-size:12px;font-weight:800;color:var(--ink2);white-space:nowrap}.ghud b{font-size:16px;font-variant-numeric:tabular-nums}
.il{margin:0 0 10px;font-size:13px;font-weight:800;color:#155E75;line-height:1.7}
.doc{margin-top:10px;padding:12px 14px;border-radius:16px;border:2px solid #E2E8F0;background:#fff}
.doc.wk{border-color:#ECFEFF;background:#ECFEFF}
.doc h4{margin:0 0 6px;font-size:14px;font-weight:900}
.doc ul{margin:0;padding:0;list-style:none}.doc li{display:grid;grid-template-columns:1.8em 1fr;gap:6px;padding:5px 0;border-top:1px dashed rgba(15,23,42,.1);font-size:13px;line-height:1.65;font-weight:600;color:var(--ink)}.doc li:first-child{border-top:0}
.doc li b{font-size:11.5px;color:var(--ink2);padding-top:1px}
.doc mark{background:linear-gradient(transparent 55%,#A5F3FC 55%);color:inherit;font-weight:800}
.intro .go{display:block;width:100%;margin-top:14px;height:56px;border:0;border-radius:999px;background:linear-gradient(90deg,#0891B2,#06B6D4);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(8,145,178,.3)}
.aiad{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:10px 12px;border-radius:18px;background:#ECFEFF;border:1px solid #A5F3FC}
.aiad .av{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-size:26px;line-height:1;background:#fff;box-shadow:0 0 0 2px #A5F3FC}
.aiad div{min-width:0}.aiad small{font-size:11px;font-weight:800;color:#0891B2}
.aiad p{margin:4px 0 0;font-size:13.5px;line-height:1.65;font-weight:700;color:#083344}
.aiput{margin-top:8px;padding:8px 14px;border:0;border-radius:99px;background:#0891B2;color:#fff;font:inherit;font-size:13px;font-weight:900;cursor:pointer;touch-action:manipulation}.aiput:disabled{opacity:.4;cursor:default}
.go2{display:block;width:100%;margin-top:14px;padding:14px;border:0;border-radius:16px;background:linear-gradient(90deg,#D97706,#F59E0B);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;touch-action:manipulation;box-shadow:0 8px 20px rgba(217,119,6,.28)}
.go2:disabled{background:#E2E8F0;color:#94A3B8;cursor:default;box-shadow:none}
.res{margin-top:12px;border-radius:16px;padding:14px;font-size:13px;line-height:1.75;animation:pop .35s}
.res.right{background:#F0FDF4}.res.wrong{background:#FEF2F2}.res.half{background:#FFFBEB}
.res>b{display:block;font-size:16px;line-height:1.55}.res.right>b{color:#16A34A}.res.wrong>b{color:#DC2626}.res.half>b{color:#B45309}
.res .nx{display:block;width:100%;margin-top:12px;height:52px;border:0;border-radius:999px;background:var(--ink);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer}
.res,.nx{scroll-margin-bottom:110px}
.hint{margin:10px 0 0;text-align:center;font-size:11px;color:var(--mut);line-height:1.6}
.fx{position:absolute;left:50%;top:22%;transform:translateX(-50%);z-index:6;font-size:clamp(18px,6vw,26px);font-weight:900;white-space:nowrap;pointer-events:none;text-shadow:0 2px 0 #fff,0 4px 14px rgba(0,0,0,.15);animation:fx 1.3s var(--ease) forwards}
.fx.A{color:#16A34A}.fx.B{color:#0891B2}.fx.C{color:#DC2626}
@keyframes fx{0%{opacity:0;transform:translate(-50%,10px) scale(.7)}25%{opacity:1;transform:translate(-50%,0) scale(1.08)}75%{opacity:1}100%{opacity:0;transform:translate(-50%,-24px)}}
.end{margin-top:4px;animation:pop .4s var(--ease)}
.rvw{display:grid;grid-template-columns:28px 1fr;gap:4px 10px;padding:14px 0;border-bottom:1px solid #F1F5F9}.rvw:last-child{border-bottom:0}.rvw .mk{font-size:18px}.rvw b{font-size:13.5px;line-height:1.6}
.rvw p{grid-column:2;margin:0;font-size:12.5px;color:var(--ink2);line-height:1.75}.rvw p.q{font-size:13.5px;font-weight:700;color:#083344;margin:4px 0}
.tips{margin:0;padding-left:1.3em;color:#C9CCD6;font-size:14px;line-height:1.8}.tips li{margin:0 0 12px}.tips b{display:block;color:#fff}
.mt0{margin:0 0 10px;font-size:13px;color:var(--ink2);line-height:1.75}
.ctap{color:#C9CCD6;font-size:14px;margin:0 0 16px;line-height:1.75}.cta-c h3{color:var(--ac2)}
/* はじめの説明（マスの見方） */
.arw-kd{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}
.arw-kd p{margin:0;padding:8px 10px;border-radius:12px;background:#F8FAFC;border:1px solid #E2E8F0;font-size:12px;font-weight:700;line-height:1.5;color:#334155;min-width:0}
.arw-kd span{display:block;font-size:18px;line-height:1.25}.arw-kd b{display:block;font-size:12.5px;font-weight:900;color:#083344}
.arw-kd p.arw-kdd{background:#FFF7ED;border-color:#FDBA74}
.arw-tip{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#FFFBEB;font-size:12.5px;font-weight:700;line-height:1.7;color:#78350F}
/* 仕事の説明 */
.arw-tk{padding:12px 14px;border-radius:18px;background:#083344;color:#CFFAFE}.arw-tk>b{display:block;font-size:16px;font-weight:900;color:#fff;line-height:1.5}
.arw-tk>p{margin:6px 0 0;font-size:13.5px;line-height:1.75;font-weight:700}.arw-tk>p b{color:#FCD34D;font-weight:900}
.arw-jbw{margin-top:8px;display:grid;gap:4px}
.arw-jb{margin:0;font-size:12px;line-height:1.55;font-weight:700}.arw-jb>b{display:block;font-size:12px;color:#67E8F9}.arw-j1>b{color:#FDBA74}.arw-jn>b{color:#FCA5A5}
.arw-jb span{display:flex;flex-wrap:wrap;gap:3px 4px;align-items:center}.arw-jb em{font-style:normal;padding:1px 7px;border-radius:99px;background:rgba(255,255,255,.12);color:#fff}
.arw-jb em.arw-jd{background:#9A3412}.arw-jn em{background:rgba(220,38,38,.35)}.arw-jb i{font-style:normal;color:#67E8F9}
/* 盤 */
.arw-bw{position:relative;margin:12px auto 0;max-width:360px;user-select:none;-webkit-user-select:none}
.arw-bd{display:grid;grid-template-columns:repeat(var(--cols,5),minmax(0,1fr));gap:4px;padding:6px;border-radius:18px;background:#E0F2FE;box-shadow:inset 0 0 0 2px rgba(8,145,178,.2)}
.arw-c{position:relative;aspect-ratio:1;min-height:44px;padding:0;border:2px solid #BAE6FD;border-radius:11px;background:#fff;font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background .2s,border-color .2s}
.arw-c:focus-visible{outline:3px solid #0891B2;outline-offset:1px}
.arw-ci{position:absolute;inset:0;display:grid;place-items:center;font-size:clamp(18px,6vw,24px);line-height:1}
.arw-kl{background:#CBD5E1;border-color:#94A3B8;cursor:default}.arw-kl .arw-ci{font-size:16px;opacity:.75}
.arw-ks{background:#CFFAFE;border-color:#06B6D4}.arw-kg{background:#DCFCE7;border-color:#22C55E}
.arw-kw{background:#ECFEFF;border-color:#67E8F9}
.arw-kw.arw-dn{background:#FFEDD5;border-color:#F97316;border-style:dashed}
.arw-kw.arw-dx{background:#FEE2E2;border-color:#DC2626;border-style:dashed}
.arw-wn{position:absolute;right:2px;top:1px;font-style:normal;font-size:10px;line-height:1;color:#DC2626}
.arw-bg{position:absolute;left:2px;top:2px;min-width:13px;height:13px;border-radius:4px;font-style:normal;font-size:9.5px;font-weight:900;line-height:13px;color:#fff;text-align:center}
.arw-b0{background:#0891B2}.arw-b1{background:#EA580C}
.arw-sd{position:absolute;left:50%;top:50%;width:0;height:0;margin:-5px 0 0 -5px;transform:rotate(var(--rot)) translateY(-18px);border:5px solid transparent;border-bottom:8px solid #0E7490;border-top:0;pointer-events:none}
.arw-tl{position:absolute;inset:3px;display:grid;place-items:center;border-radius:9px;pointer-events:none}
.arw-ta{background:#06B6D4;box-shadow:0 3px 0 #0E7490;transform:rotate(var(--rot));transition:transform .22s var(--ease)}
.arw-ta svg.arw-av{width:70%!important;height:70%!important;fill:#fff!important;stroke:#0E7490!important;stroke-width:1!important}
.arw-tc{background:#FCD34D;box-shadow:0 3px 0 #D97706;font-size:clamp(18px,5.6vw,22px);line-height:1}
.arw-ks .arw-ta,.arw-kw .arw-tc{inset:7px;opacity:.95}
.arw-ht{touch-action:none}
.arw-pop{animation:arwpop .3s var(--ease)}
@keyframes arwpop{0%{scale:.6}60%{scale:1.12}100%{scale:1}}
.arw-hv{border-color:#0891B2;box-shadow:0 0 0 3px rgba(6,182,212,.45)}
.arw-lift .arw-tl{opacity:.3}
.arw-lk .arw-c{cursor:default}
.arw-tr0{box-shadow:inset 0 0 0 3px rgba(8,145,178,.55)}.arw-tr1{box-shadow:inset 0 0 0 3px rgba(234,88,12,.55)}.arw-tr0.arw-tr1{box-shadow:inset 0 0 0 3px rgba(8,145,178,.55),inset 0 0 0 6px rgba(234,88,12,.5)}
.arw-boom{animation:arwboom .5s}
@keyframes arwboom{0%,100%{background:#FEE2E2}50%{background:#F87171}}
.arw-gh{position:fixed;z-index:50;width:48px;height:48px;margin:-24px 0 0 -24px;pointer-events:none;filter:drop-shadow(0 6px 10px rgba(0,0,0,.25))}
.arw-gh .arw-tl{inset:0}
/* エージェント */
.arw-agl{position:absolute;inset:6px;pointer-events:none}
.arw-ag{position:absolute;width:40px;height:40px;margin:-20px 0 0 -20px;display:grid;place-items:center;font-size:26px;line-height:1;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 0 0 3px #0891B2,0 6px 14px rgba(8,51,68,.3);transition:left .28s linear,top .28s linear;z-index:3}
.arw-ag.arw-g1{box-shadow:0 0 0 3px #EA580C,0 6px 14px rgba(8,51,68,.3)}
.arw-ag i{position:absolute;right:-4px;bottom:-4px;width:16px;height:16px;border-radius:50%;background:#0891B2;color:#fff;font-style:normal;font-size:10px;font-weight:900;line-height:16px;text-align:center}.arw-g1 i{background:#EA580C}
.arw-ag::after{content:'';position:absolute;left:50%;top:50%;margin:-4px 0 0 -4px;border:4px solid transparent;border-bottom:6px solid #0891B2;border-top:0;transform:rotate(var(--rot,0deg)) translateY(-25px)}
.arw-g1::after{border-bottom-color:#EA580C}
.arw-shk{animation:arwshk .4s}
@keyframes arwshk{0%,100%{translate:0}25%{translate:-4px}75%{translate:4px}}
.arw-bb{position:absolute;z-index:4;transform:translate(-50%,-140%);padding:2px 7px;border-radius:99px;background:#fff;font-size:12px;font-weight:900;white-space:nowrap;box-shadow:0 3px 10px rgba(0,0,0,.18);animation:arwbb 1.1s forwards}
.arw-bo{color:#15803D}.arw-bx{color:#DC2626;font-size:16px}.arw-bwn{color:#B45309}
@keyframes arwbb{0%{opacity:0;margin-top:6px}15%{opacity:1;margin-top:0}80%{opacity:1}100%{opacity:0;margin-top:-10px}}
/* トレイ */
.arw-tray{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.arw-tt{display:flex;align-items:center;gap:8px;min-width:0;min-height:56px;padding:6px 10px;border:2px solid #A5F3FC;border-radius:14px;background:#fff;font:inherit;text-align:left;cursor:grab;touch-action:none;-webkit-tap-highlight-color:transparent}
.arw-tt.arw-on{border-color:#0891B2;background:#ECFEFF;box-shadow:0 0 0 2px rgba(8,145,178,.25)}
.arw-tt.arw-emp{opacity:.5}
.arw-tt>span:first-child{position:relative;flex:none;width:40px;height:40px}.arw-tt .arw-tl{inset:0}
.arw-tt small{display:block;font-size:11px;font-weight:800;color:#475569;line-height:1.35}.arw-tt b{font-size:17px;font-weight:900;color:#083344;font-variant-numeric:tabular-nums}
.arw-tt>span:last-child{min-width:0}
.arw-ops{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px}
.arw-ops p{flex:1 1 160px;margin:0;font-size:11.5px;font-weight:700;line-height:1.5;color:#64748B}
.arw-ob{min-height:40px;padding:0 12px;border:2px solid #CBD5E1;border-radius:99px;background:#fff;font:inherit;font-size:12.5px;font-weight:800;color:#334155;cursor:pointer;touch-action:manipulation}.arw-ob:disabled{opacity:.4;cursor:default}
/* 1つの仕事の結果 */
.arw-ln{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.arw-ln li{display:grid;grid-template-columns:28px 1fr;gap:2px 8px;padding:7px 10px;border-radius:12px;background:#fff;border-left:4px solid #94A3B8}
.arw-ln li.arw-l-ok{border-left-color:#16A34A}.arw-ln li.arw-l-mid{border-left-color:#D97706}.arw-ln li.arw-l-bad{border-left-color:#DC2626}
.arw-ln li>span{grid-row:span 2;font-size:20px;line-height:1.3}
.arw-ln li>b{font-size:13px;line-height:1.45}.arw-ln b i{margin-left:6px;font-style:normal;color:#0891B2}
.arw-ln li>em{font-style:normal;font-size:12.5px;line-height:1.6;color:var(--ink2)}
.arw-rt{margin:8px 0 0;font-size:12.5px;font-weight:800;color:#334155}
.arw-why{margin:6px 0 0;font-size:11.5px;color:#64748B}
/* 5つの記録 */
.arw-hs{margin-top:12px;padding:10px 10px 8px;border-radius:16px;background:#F8FAFC;border:1px solid #E2E8F0}
.arw-hst{margin:0 0 6px;font-size:12px;font-weight:900;color:#155E75}
.arw-hl{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.arw-hl li{min-width:0;padding:4px 1px;border-radius:8px;background:#fff;border:1px solid #E2E8F0;text-align:center;line-height:1.3}
.arw-hl small{display:block;font-size:10px;font-weight:800;color:#64748B;white-space:nowrap;overflow:hidden}.arw-hl b{display:block;font-size:15px}
.arw-hl em{display:block;font-style:normal;font-size:10.5px;font-weight:800;color:#334155}
.arw-hl li.arw-hg{background:#F0FDF4;border-color:#86EFAC}.arw-hl li.arw-hm{background:#FFFBEB;border-color:#FCD34D}.arw-hl li.arw-hb{background:#FEF2F2;border-color:#FCA5A5}
.arw-hl li.arw-hn{border:2px solid #0891B2}
/* 結果：タイプと大きな数字 */
.arw-ty{margin:14px 0 4px;padding:16px 14px;border-radius:20px;background:#083344;color:#CFFAFE;text-align:center}
.arw-tyl{margin:0;font-size:12px;font-weight:800;color:#67E8F9}
.arw-tyn{margin:4px 0 0;font-size:22px;font-weight:900;color:#fff;line-height:1.4}.arw-tyn span{margin-right:6px}
.arw-tyd{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.7}
.arw-kp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed rgba(207,250,254,.25)}
.arw-kp>div{min-width:0;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.07)}
.arw-kp small{display:block;font-size:11.5px;font-weight:800;line-height:1.45;color:#A5F3FC}
.arw-kp b{display:block;margin-top:4px;font-size:clamp(36px,12vw,50px);font-weight:900;line-height:1.05;color:#FCD34D;font-variant-numeric:tabular-nums}.arw-kp div+div b{color:#67E8F9}
.arw-kp b i{margin-left:2px;font-style:normal;font-size:.42em}
.arw-kp em{display:block;margin-top:4px;font-style:normal;font-size:11px;font-weight:700;color:#CFFAFE;line-height:1.5}
.arw-ai{margin:10px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#A5F3FC}.arw-ai b{color:#fff}
/* ふりかえり */
.arw-rvw{display:grid;gap:12px}
.arw-rb{margin:0;padding:10px;border-radius:14px;background:#F8FAFC;border:1px solid #E2E8F0}
.arw-rb figcaption{margin-bottom:6px;font-size:13px;font-weight:900;color:#083344}
.arw-rp{display:grid;grid-template-columns:1fr 1fr;gap:10px}.arw-rp>div{min-width:0}
.arw-rp p{margin:0 0 4px;font-size:11.5px;font-weight:800;color:#475569}.arw-rp p b{margin-left:6px;color:#0891B2}
.arw-rb svg.arw-mini{display:block;width:100%!important;height:auto!important;stroke:none;fill:none}
.arw-mini text{stroke:none;fill:#000;text-anchor:middle}
.arw-mt{font-size:5.4px}.arw-me{font-size:6px}
.arw-me{fill:#000}
.arw-mini rect{fill:#fff;stroke:#BAE6FD;stroke-width:.5}
.arw-mini rect.arw-ml{fill:#CBD5E1}.arw-mini rect.arw-ms{fill:#CFFAFE}.arw-mini rect.arw-mg{fill:#DCFCE7}.arw-mini rect.arw-mw{fill:#ECFEFF}
.arw-mini rect.arw-mdn{fill:#FFEDD5;stroke:#F97316}.arw-mini rect.arw-mdx{fill:#FEE2E2;stroke:#DC2626}
.arw-mini path.arw-ma{fill:#06B6D4;stroke:#0E7490;stroke-width:.4}
.arw-mini circle.arw-mc{fill:#FCD34D;stroke:none}
.arw-mini polyline.arw-ml{fill:none;stroke-width:1.3;stroke-linejoin:round;stroke-linecap:round;opacity:.8}
.arw .sbd-tl{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:360px){.game{padding:12px}.ghud{gap:4px;font-size:10.5px;letter-spacing:-.02em}.ghud b{font-size:14px}.arw-bd{gap:3px;padding:4px}.arw-tt{padding:6px 8px;gap:6px}.arw-tt>span:first-child{width:34px;height:34px}.arw-kp b{font-size:34px}.arw-ag{width:34px;height:34px;margin:-17px 0 0 -17px;font-size:22px}}
@media(prefers-reduced-motion:reduce){.res,.end{animation:none}.arw-ag{transition:none}.arw-ta{transition:none}.arw-pop,.arw-boom,.arw-shk,.arw-bb{animation:none}}
