.shg{--ac:#8C5B12;--ac2:#FDF0D5;--acg:linear-gradient(90deg,#8C5B12,#B7791F 50%,#F59E0B)}
.shg [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(140,91,18,.16);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:#6B4410;line-height:1.7}
.doc{margin-top:10px;padding:12px 14px;border-radius:16px;border:2px solid #E2E8F0;background:#fff}
.doc.wk{border-color:#FDF6E7;background:#FDF6E7}
.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,#8C5B12,#B7791F);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(140,91,18,.3)}
.aiad{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:10px 12px;border-radius:18px;background:#FDF6E7;border:1px solid #F5D9A8}
.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 #F5D9A8}
.aiad div{min-width:0}.aiad small{font-size:11px;font-weight:800;color:#8C5B12}
.aiad p{margin:4px 0 0;font-size:13.5px;line-height:1.65;font-weight:700;color:#2A1A05}
.go2{display:block;width:100%;margin-top:12px;padding:14px;border:0;border-radius:16px;background:linear-gradient(90deg,#8C5B12,#B7791F);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;touch-action:manipulation;box-shadow:0 8px 20px rgba(140,91,18,.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:30%;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:#8C5B12}.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:#2A1A05;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)}
/* はじめの説明 */
.shg-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}
.shg-sc{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}
.shg-sc p{margin:0;padding:8px 6px;border-radius:12px;background:#FDF6E7;border:1px solid #F5D9A8;text-align:center;font-size:11.5px;font-weight:800;line-height:1.45;color:#6B4410}
.shg-sc b{display:block;font-size:20px;line-height:1.3}
/* 商談の見出しと会話 */
.shg-dh{padding:12px 14px;border-radius:18px;background:#2A1A05;color:#FDECC8}
.shg-dh>b{display:block;font-size:15px;font-weight:900;color:#fff;line-height:1.5}
.shg-dh>small{display:block;margin-top:2px;font-size:12px;font-weight:700;color:#F5D9A8}
.shg-dq{margin:8px 0 0;font-size:14px;font-weight:900;color:#FCD34D;line-height:1.55}
.shg-fast{display:inline-block;margin-top:8px;padding:3px 10px;border-radius:99px;background:#DC2626;color:#fff;font-size:12px;font-weight:900;line-height:1.6}
.shg-talk{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.shg-talk li{display:grid;grid-template-columns:30px 1fr;gap:6px;align-items:start;animation:shgin .4s var(--ease) both;animation-delay:calc(var(--d)*.12s)}
.shg-av{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:19px;line-height:1;background:#FDF6E7;box-shadow:0 0 0 1.5px #F5D9A8}
.shg-talk p{margin:0;padding:7px 11px;border-radius:4px 14px 14px 14px;background:#F8FAFC;border:1px solid #E2E8F0;font-size:13px;font-weight:600;line-height:1.65;color:#1E293B;overflow-wrap:anywhere}
@keyframes shgin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/* カップの中身の一覧 */
.shg-lh{margin:10px 0 4px;font-size:11.5px;font-weight:800;color:#8C5B12}
.shg-leg{display:flex;flex-wrap:wrap;gap:4px 6px}
.shg-leg span{padding:3px 9px;border-radius:99px;background:#FDF6E7;border:1px solid #F5D9A8;font-size:12px;font-weight:800;color:#2A1A05;line-height:1.5}
/* カップの台 */
.shg-tbl{margin-top:10px;padding:10px 4px 0;border-radius:18px;background:linear-gradient(180deg,#FDF6E7,#F3E2C0);box-shadow:inset 0 -10px 0 #E0C48E}
.shg-stage{position:relative;height:150px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
.shg-cup{position:absolute;left:0;bottom:14px;height:118px;padding:0;border:0;background:none;font:inherit;cursor:default;touch-action:manipulation;will-change:transform}
.shg-cup:disabled{opacity:1;color:inherit}
.shg-pk .shg-cup{cursor:pointer}
.shg-pk .shg-cup:hover .shg-body,.shg-pk .shg-cup:focus-visible .shg-body{filter:brightness(1.12)}
.shg-cup:focus-visible{outline:3px solid #2563EB;outline-offset:2px;border-radius:12px}
.shg-ball{position:absolute;left:50%;bottom:4px;z-index:0;width:36px;height:36px;margin-left:-18px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 35% 30%,#FEF9C3,#FACC15 60%,#CA8A04);box-shadow:0 3px 8px rgba(202,138,4,.45);font-size:19px;line-height:1}
.shg-body{position:absolute;left:0;right:0;bottom:0;z-index:1;height:84px;display:grid;place-items:center;clip-path:polygon(16% 0,84% 0,100% 100%,0 100%);border-radius:10px 10px 4px 4px;background:linear-gradient(90deg,#6B4410,#B7791F 35%,#D69E2E 50%,#B7791F 65%,#6B4410);transition:transform .35s var(--ease),filter .2s}
.shg-body::after{content:"";position:absolute;left:4%;right:4%;bottom:12px;height:5px;border-radius:3px;background:rgba(255,255,255,.25)}
.shg-em{display:grid;place-items:center;width:38px;height:38px;margin-top:-10px;border-radius:50%;background:#fff;font-size:22px;line-height:1;box-shadow:0 2px 0 rgba(0,0,0,.15);transition:opacity .25s,transform .25s}
.shg-dn .shg-em{opacity:0;transform:scale(.4)}
.shg-up .shg-body{transform:translateY(-38px)}
.shg-lose .shg-me .shg-body{filter:grayscale(.6) brightness(.85)}
.shg-win .shg-me .shg-ball{animation:shgpop .6s var(--ease)}
@keyframes shgpop{0%{transform:scale(.6)}50%{transform:scale(1.25)}100%{transform:scale(1)}}
.shg-msg{min-height:22px;margin:8px 0 0;text-align:center;font-size:13px;font-weight:800;color:#6B4410;line-height:1.6}
.shg-msg.shg-mt{color:#64748B;font-weight:700}
.shg-msg.shg-mp{color:#B91C1C;font-size:14px;font-weight:900}
.shg-msg.shg-mq{color:#1D4ED8}
/* 質問・シャッフル */
.shg-ask{display:block;width:100%;margin-top:10px;min-height:52px;padding:8px 12px;border:2px dashed #93C5FD;border-radius:16px;background:#fff;color:#1D4ED8;font:inherit;font-size:14px;font-weight:900;line-height:1.4;cursor:pointer;touch-action:manipulation}
.shg-ask small{display:block;margin-top:2px;font-size:11px;font-weight:700;color:#64748B}
.shg-ask.shg-on{border-style:solid;border-color:#1D4ED8;background:#EFF6FF}
.shg-ask:disabled{border-color:#E2E8F0;color:#94A3B8;cursor:default}
/* 1回の結果 */
.shg-say{display:flex;gap:6px;align-items:center;margin:6px 0 0;font-size:13.5px;font-weight:800;color:#1E293B}.shg-say span{font-size:20px}
.shg-rl{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:4px}
.shg-rl li{display:grid;grid-template-columns:minmax(0,7.5em) 1fr;gap:8px;align-items:baseline;padding:6px 10px;border-radius:10px;background:rgba(255,255,255,.75)}
.shg-rl small{font-size:11px;font-weight:800;color:#64748B;line-height:1.4}.shg-rl b{font-size:13.5px;line-height:1.5}
.shg-rl li.shg-g b{color:#15803D}.shg-rl li.shg-x b{color:#B91C1C}
.shg-why{margin:8px 0 0;font-size:12.5px;font-weight:700;color:#334155;line-height:1.75}
/* 9回の記録 */
.shg-hst{margin:0 0 8px;font-size:12px;font-weight:800;color:#64748B}
.shg-hs{margin-top:14px;padding-top:12px;border-top:1px dashed #E2E8F0}
.shg-hl{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.shg-hl li{min-width:0;padding:6px 4px;border-radius:12px;background:#F8FAFC;text-align:center}
.shg-hl small{display:block;font-size:10.5px;font-weight:800;color:#64748B;line-height:1.3;overflow-wrap:anywhere}
.shg-hl span{display:flex;justify-content:center;gap:3px;margin-top:2px}
.shg-hl i{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#E2E8F0;font-style:normal;font-size:13px;color:#94A3B8;line-height:1}
.shg-hl i.shg-hg{background:#FEF3C7}.shg-hl i.shg-hb{background:#FEE2E2}.shg-hl i.shg-hn{background:#DBEAFE}
/* 結果：タイプと大きな数字 */
.shg-ty{margin:14px 0 4px;padding:16px 14px;border-radius:20px;background:#2A1A05;color:#FDECC8;text-align:center}
.shg-tyl{margin:0;font-size:12px;font-weight:800;color:#F5D9A8}
.shg-tyn{margin:4px 0 0;font-size:22px;font-weight:900;color:#fff;line-height:1.4}.shg-tyn span{margin-right:6px}
.shg-tyd{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.7}
.shg-kp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed rgba(253,236,200,.25)}
.shg-kp>div{min-width:0;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.07)}
.shg-kp small{display:block;font-size:11.5px;font-weight:800;line-height:1.45;color:#F5D9A8}
.shg-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}.shg-kp div+div b{color:#FDBA74}
.shg-kp b i{margin-left:2px;font-style:normal;font-size:.42em}
.shg-kp em{display:block;margin-top:4px;font-style:normal;font-size:11px;font-weight:700;color:#FDECC8;line-height:1.5}
.shg-ai{margin:10px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#F5D9A8}.shg-ai b{color:#fff}
/* ふりかえり */
.shg-tbw{overflow-x:auto}
.shg-tb{width:100%;border-collapse:collapse;font-size:12px}
.shg-tb th,.shg-tb td{padding:7px 5px;border-bottom:1px solid #E2E8F0;text-align:left;vertical-align:top;line-height:1.45}
.shg-tb thead th{font-size:11px;color:#64748B}
.shg-tb tbody th{font-weight:900;color:#2A1A05}.shg-tb tbody th small{display:block;font-size:10.5px;color:#64748B;font-weight:700}
.shg-tb td b{color:#8C5B12}
.shg-tb .shg-g{color:#15803D;font-weight:800}.shg-tb .shg-x{color:#B91C1C;font-weight:700}
.shg .sbd-tl{grid-template-columns:repeat(9,minmax(0,1fr));gap:3px}
@media(max-width:360px){.game{padding:12px}.ghud{gap:4px;font-size:10.5px;letter-spacing:-.02em}.ghud b{font-size:14px}.shg-em{width:32px;height:32px;font-size:19px}.shg-kp b{font-size:34px}.shg-rl li{grid-template-columns:1fr;gap:0}.shg-tb{font-size:11px}}
@media(prefers-reduced-motion:reduce){.res,.end,.shg-talk li{animation:none}.shg-body,.shg-em{transition:none}.shg-win .shg-me .shg-ball{animation:none}}
