.tpq{--ac:#304A8C;--ac2:#E6ECFA;--acg:linear-gradient(90deg,#304A8C,#4F6BD8 50%,#F59E0B)}
.tpq [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(48,74,140,.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:#1E2F5E;line-height:1.7}
.doc{margin-top:10px;padding:12px 14px;border-radius:16px;border:2px solid #E2E8F0;background:#fff}
.doc.wk{border-color:#EEF2FB;background:#EEF2FB}
.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%,#FDE68A 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,#243A72,#3F5FBF);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(48,74,140,.32)}
.aiad{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:10px 12px;border-radius:18px;background:#EEF2FB;border:1px solid #CBD5F0}
.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 #CBD5F0}
.aiad div{min-width:0}.aiad small{font-size:11px;font-weight:800;color:#304A8C}
.aiad p{margin:4px 0 0;font-size:13.5px;line-height:1.65;font-weight:700;color:#1B2A55}
.go2{display:block;width:100%;margin-top:12px;padding:14px;border:0;border-radius:16px;background:linear-gradient(90deg,#304A8C,#4F6BD8);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;touch-action:manipulation;box-shadow:0 8px 20px rgba(48,74,140,.28)}
.go2:disabled{background:#E2E8F0;color:#94A3B8;cursor:default;box-shadow:none}
.hint{margin:10px 0 0;text-align:center;font-size:11px;color:var(--mut);line-height:1.6}
.end{margin-top:4px;animation:pop .4s var(--ease)}
.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)}
/* はじめの説明 */
.tpq-kd{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}
.tpq-kd p{margin:0;padding:8px 10px;border-radius:12px;background:#F5F7FD;border:1px solid #D9E1F5;font-size:12px;font-weight:700;line-height:1.5;color:#22325F}
.tpq-kd span{display:block;font-size:18px;line-height:1.2}.tpq-kd b{display:block;font-size:12.5px;font-weight:900;color:#1B2A55}
.tpq-tip{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#FEF3C7;font-size:12.5px;font-weight:700;line-height:1.7;color:#78350F}
/* 場面・つかれ */
.tpq-sc{padding:12px 14px;border-radius:18px;background:#1B2A55;color:#E6ECFA}.tpq-sc>b{display:block;font-size:16px;font-weight:900;color:#fff;line-height:1.5}
.tpq-sc p{margin:6px 0 0;font-size:13px;line-height:1.7;font-weight:700}
.tpq-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 0}
.tpq-left{margin:0;flex:none;font-size:12.5px;font-weight:800;color:#1E2F5E;white-space:nowrap}.tpq-left b{font-size:16px;color:#304A8C}
.tpq-fg{flex:1;min-width:0;max-width:220px}
.tpq-fl{display:block;font-size:11.5px;font-weight:800;color:#1E2F5E;white-space:nowrap}.tpq-fl b{font-variant-numeric:tabular-nums}
.tpq-fbar{position:relative;height:10px;margin-top:3px;border-radius:99px;background:#E2E8F0;overflow:hidden}
.tpq-fbar i{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:99px;background:linear-gradient(90deg,#60A5FA,#F59E0B);transition:width .25s}
.tpq-fbar u{position:absolute;left:75%;top:0;bottom:0;width:2px;background:#DC2626}
.tpq-hi .tpq-fbar i{background:#DC2626}.tpq-hi .tpq-fl{color:#B91C1C}
.tpq-ft{margin:4px 0 6px;min-height:1.6em;text-align:right;font-size:11.5px;font-weight:800;line-height:1.6;color:#64748B}
.tpq-ft.tpq-wn{color:#B91C1C}
/* トランポリンの図 */
.tpq-fw{position:relative;width:100%;max-width:min(420px,calc(60svh*100/150));margin:0 auto;border-radius:14px;touch-action:none;cursor:ew-resize;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;outline:none}
.tpq-fw:focus-visible{box-shadow:0 0 0 3px #F59E0B}
.tpq-fw svg.tpq-fd{display:block;width:100%!important;height:auto!important;stroke:none!important;fill:none!important;overflow:visible}
.tpq-fd text{stroke:none;font-weight:900;text-anchor:middle;pointer-events:none}
.tpq-sky{fill:#DCE5F8}
.tpq-gl{fill:none;stroke:rgba(48,74,140,.12);stroke-width:.3;stroke-dasharray:1.2 1.6}
.tpq-pr{stroke:none}
.tpq-ks .tpq-pr{fill:#304A8C}
.tpq-kb .tpq-pr{fill:#F87171;animation:tpqBl .7s steps(2,jump-none) infinite}
.tpq-pn{fill:#1B2A55}
.tpq-kb .tpq-pn{fill:#B91C1C}
.tpq-pv{font-size:2.6px;fill:#fff}
.tpq-got .tpq-pr{fill:#F59E0B}
.tpq-gone{animation:tpqGo .5s forwards}
@keyframes tpqBl{50%{opacity:.35}}
@keyframes tpqGo{to{opacity:0;transform:translateY(6px)}}
.tpq-leg{fill:none;stroke:#475569;stroke-width:1.4;stroke-linecap:round}
.tpq-gd{fill:none;stroke:#94A3B8;stroke-width:.8}
.tpq-sh{fill:#1B2A55}
.tpq-bed{fill:none;stroke:#1B2A55;stroke-width:2;stroke-linecap:round}
.tpq-bed.tpq-hot{stroke:#F59E0B}
.tpq-mn{font-size:11px}
.tpq-dh{position:absolute;left:50%;top:6px;transform:translateX(-50%);margin:0;padding:5px 12px;border-radius:99px;background:rgba(27,42,85,.8);color:#fff;font-size:11px;font-weight:800;white-space:nowrap;pointer-events:none;max-width:calc(100% - 16px);overflow:hidden;text-overflow:clip}
.tpq-dh:empty{display:none}
.tpq-lock{cursor:default}
.tpq-fx{position:absolute;top:32%;z-index:6;transform:translateX(-50%);font-size:clamp(15px,5vw,22px);font-weight:900;white-space:nowrap;pointer-events:none;text-shadow:0 2px 0 #fff,0 4px 14px rgba(0,0,0,.15);animation:tpqFx 1.1s var(--ease) forwards}
.tpq-xg{color:#16A34A}.tpq-xm{color:#64748B}.tpq-xb{color:#DC2626}.tpq-xs{color:#B45309}
@keyframes tpqFx{0%{opacity:0;transform:translate(-50%,8px) scale(.7)}25%{opacity:1;transform:translate(-50%,0) scale(1.06)}75%{opacity:1}100%{opacity:0;transform:translate(-50%,-20px)}}
/* はねるボタン */
.tpq-ctl{display:grid;grid-template-columns:48px 1fr 48px;gap:8px;margin-top:10px}
.tpq-mv{height:64px;border:1px solid #CBD5F0;border-radius:16px;background:#fff;color:#304A8C;font:inherit;font-size:16px;font-weight:900;cursor:pointer;touch-action:manipulation}
.tpq-jp{display:flex;flex-direction:column;align-items:center;justify-content:center;height:64px;border:0;border-radius:18px;background:linear-gradient(180deg,#4F6BD8,#304A8C);color:#fff;font:inherit;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;box-shadow:0 6px 0 #1B2A55}
.tpq-jp:active{transform:translateY(3px);box-shadow:0 3px 0 #1B2A55}
.tpq-jp b{font-size:18px;font-weight:900;line-height:1.2}.tpq-jp small{font-size:11px;font-weight:700;opacity:.85}
.tpq-jp:disabled,.tpq-mv:disabled{opacity:.4;cursor:default}
/* 年代の結果 */
.tpq-sd{margin-top:12px;border-radius:16px;padding:14px;font-size:13px;line-height:1.75;animation:pop .35s;scroll-margin-bottom:110px}
.tpq-right{background:#F0FDF4}.tpq-half{background:#FFFBEB}
.tpq-sdh{display:block;font-size:15px;font-weight:900;color:#1B2A55}
.tpq-sdg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.tpq-sdg small{display:block;font-size:11.5px;font-weight:900;color:#475569}
.tpq-sdg ul{margin:4px 0 0;padding:0;list-style:none}.tpq-sdg li{font-size:12.5px;font-weight:800;line-height:1.6}
.tpq-ok li{color:#15803D}.tpq-ng li{color:#94A3B8}
.tpq-sds{margin:8px 0 0;font-size:12.5px;font-weight:800;color:#1E2F5E}
.tpq-why{margin:6px 0 0;font-size:11.5px;color:#64748B}
.tpq-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;scroll-margin-bottom:110px}
/* 結果：タイプと大きな数字 */
.tpq-ty{margin:14px 0 4px;padding:16px 14px;border-radius:20px;background:#1B2A55;color:#E6ECFA;text-align:center}
.tpq-tyl{margin:0;font-size:12px;font-weight:800;color:#FBBF24}
.tpq-tyn{margin:4px 0 0;font-size:22px;font-weight:900;color:#fff;line-height:1.4}.tpq-tyn span{margin-right:6px}
.tpq-tyd{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.7}
.tpq-kp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed rgba(230,236,250,.25)}
.tpq-kp>div{min-width:0;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.07)}
.tpq-kp small{display:block;font-size:11.5px;font-weight:800;line-height:1.45;color:#C7D2FE}
.tpq-kp b{display:block;margin-top:4px;font-size:clamp(36px,12vw,50px);font-weight:900;line-height:1.05;color:#A5B4FC;font-variant-numeric:tabular-nums}.tpq-kp div+div b{color:#FBBF24}
.tpq-kp b i{margin-left:2px;font-style:normal;font-size:.42em}
.tpq-kp em{display:block;margin-top:4px;font-style:normal;font-size:11px;font-weight:700;color:#E6ECFA;line-height:1.5}
.tpq-aiL{margin:10px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#C7D2FE}.tpq-aiL b{color:#fff}
.tpq .sbd-tl{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.tpq .sbd-tl em{font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:clip;max-width:100%}
/* ふりかえり */
.tpq-rvh{margin:0 0 6px;font-size:12.5px;font-weight:900;color:#1E2F5E}
.tpq-rvl{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:8px}
.tpq-rvl li{padding:10px 12px;border-radius:14px;background:#F5F7FD;border:1px solid #D9E1F5;font-size:12.5px;line-height:1.6}
.tpq-rvl b{display:block;font-size:13.5px;color:#1B2A55}
.tpq-rvl span{display:block;margin-top:4px;color:#334155;font-weight:700}
.tpq-rvl i{display:inline-block;min-width:4.6em;margin-right:6px;font-style:normal;font-size:11px;font-weight:900;color:#304A8C}
.tpq-rvw{display:grid;grid-template-columns:28px 1fr;gap:4px 10px;padding:14px 0;border-bottom:1px solid #F1F5F9}.tpq-rvw:last-child{border-bottom:0}.tpq-mk{font-size:18px}.tpq-rvw b{font-size:13.5px;line-height:1.6}
.tpq-rvw p{grid-column:2;margin:4px 0;font-size:13.5px;font-weight:700;color:#1B2A55;line-height:1.75}
@media(max-width:360px){.game{padding:12px}.ghud{gap:3px;font-size:10px;letter-spacing:-.02em}.ghud b{font-size:13px}.tpq-kd{grid-template-columns:1fr}.tpq-kp b{font-size:34px}.tpq-ctl{grid-template-columns:44px 1fr 44px;gap:6px}.tpq .sbd-tl{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.tpq-sd,.end{animation:none}.tpq-kb .tpq-pr{animation:none;opacity:.6}.tpq-fx{animation-duration:.6s}}
