/* レベル診断（shindan）だけの見た目 */
.shindan-screen { min-height: 460px; }
.shindan-head { margin-bottom: 12px; }
.shindan-hud { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 14px; margin-bottom: 6px; color: var(--ink2); }
.shindan-count { font-variant-numeric: tabular-nums; }
.shindan-q { font-family: var(--head); font-weight: 900; font-size: clamp(20px, 5.4vw, 26px); text-align: center; margin: 18px 0 4px; }
.shindan-screen .g-choices .g-btn { flex-direction: row; justify-content: flex-start; align-items: center; gap: 10px; text-align: left; }
.shindan-screen .g-choices .g-btn > span:last-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.shindan-key { flex: none; width: 26px; height: 26px; border: 2px solid var(--line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; background: var(--bg); color: var(--ink); }
.shindan-screen .g-btn.on .shindan-key, .shindan-screen .g-btn.ok .shindan-key, .shindan-screen .g-btn.ng .shindan-key { background: #fff; color: #1d211f; }
.shindan-screen .g-btn:disabled { cursor: default; }
.shindan-screen .g-btn:disabled:not(.ok):not(.ng) { opacity: .55; }
.shindan-how { margin: 10px auto 6px; padding-left: 1.4em; max-width: 360px; line-height: 2; font-size: 15px; }
.shindan-go { min-width: 200px; font-size: 18px; }
.shindan-note, .shindan-small { font-size: 13px; color: var(--ink2); margin: 8px 0 0; line-height: 1.6; }
.shindan-note { text-align: center; }
.shindan-prev { margin-top: 14px; }
.shindan-link { font: inherit; font-size: 14px; background: none; border: 0; color: var(--link, var(--ink)); text-decoration: underline; cursor: pointer; padding: 10px 6px; min-height: 44px; }
.shindan-back { text-align: center; margin-top: 6px; }
.shindan-tag { text-align: center; margin: 4px 0 0; font-size: 12.5px; font-weight: 800; color: var(--ink2); }
.shindan-word { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; }
.shindan-word .g-q { margin: 6px 0; font-family: var(--en, serif); }
.shindan-say { flex: none; width: 44px; height: 44px; border: 3px solid var(--line); border-radius: 50%; background: var(--yellow); color: #1d211f; font-size: 18px; font-weight: 900; cursor: pointer; box-shadow: var(--shadow-sm); }
.shindan-idk { display: block; margin: 8px auto 0; font: inherit; font-size: 14px; color: var(--ink2); background: none; border: 2px dashed var(--line); border-radius: 10px; padding: 8px 18px; min-height: 44px; cursor: pointer; }
.shindan-idk:disabled { opacity: .5; cursor: default; }
.shindan-done .g-choices .g-btn:not(.ok):not(.ng), .shindan-done .shindan-idk { display: none; }
.shindan-screen a.g-btn { text-decoration: none; }
.shindan-fb { margin-top: 10px; }
.shindan-fb:empty { display: none; }
.shindan-fb { border: 2px solid var(--line); border-radius: 12px; background: var(--bg); padding: 8px 12px; font-size: 14.5px; line-height: 1.6; }
.shindan-fb p { margin: 4px 0; }
.shindan-o { color: var(--ok); font-weight: 900; font-size: 17px; }
.shindan-x { color: var(--ng); font-weight: 900; font-size: 17px; }
.shindan-o span, .shindan-x span { color: var(--ink2); font-size: 13px; font-weight: 700; }
.shindan-next { width: 100%; margin-top: 8px; }
.shindan-text { border: 2px solid var(--line); border-radius: 10px; background: var(--bg); padding: 10px 12px; font-family: var(--en, serif); font-size: 15.5px; line-height: 1.55; }
.shindan-text p { margin: 2px 0; }
.shindan-text.notice { background: var(--bg2); }
.shindan-ttl { display: block; font-size: 17px; margin-bottom: 4px; }
.shindan-qq { font-weight: 800; margin: 10px 0 0; font-size: 16px; }
.shindan-listen { text-align: center; padding: 6px 0; }
.shindan-play { min-width: 220px; }
.shindan-script { text-align: left; border: 2px solid var(--line); border-radius: 10px; background: var(--bg); padding: 8px 12px; font-size: 15px; line-height: 1.6; margin-top: 6px; }
.shindan-script p { margin: 2px 0; }
.shindan-fb details summary { cursor: pointer; padding: 6px 0; }
/* 結果 */
.shindan-res { margin-bottom: 6px; }
.shindan-lv { display: inline-flex; flex-direction: column; align-items: center; border: 3px solid var(--line); border-radius: 16px; padding: 6px 26px 8px; margin: 6px 0; box-shadow: var(--shadow-sm); background: var(--yellow); color: #1d211f; animation: shindan-pop .5s ease-out; }
.shindan-lv small { font-size: 12.5px; font-weight: 700; }
.shindan-lv .big { font-size: 42px; }
.shindan-lv-beginner { background: #d6f2df; }
.shindan-lv-middle { background: var(--yellow); }
.shindan-lv-advanced { background: #ffd2c2; }
@keyframes shindan-pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
.shindan-verdict { font-weight: 800; margin: 4px 0 0; font-size: 15.5px; }
.shindan-subs { display: grid; gap: 6px; margin: 10px 0 4px; }
.shindan-sub { display: grid; grid-template-columns: 6.5em 1fr 2.4em; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.shindan-sub b { text-align: right; font-variant-numeric: tabular-nums; }
.shindan-sub .g-bar > i { transition: width .8s ease-out; }
.shindan-c-v { background: var(--yellow) !important; }
.shindan-c-r { background: var(--r-col) !important; }
.shindan-c-l { background: var(--l-col) !important; }
.shindan-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 12px; }
.shindan-tab { font: inherit; font-size: 14px; font-weight: 800; min-height: 44px; border: 2px solid var(--line); border-radius: 10px 10px 0 0; background: var(--bg2); color: var(--ink); cursor: pointer; padding: 4px 2px; }
.shindan-tab.on { background: var(--yellow); color: #1d211f; }
.shindan-panel { border: 2px solid var(--line); border-radius: 0 0 12px 12px; padding: 10px 12px; background: var(--bg); min-height: 200px; max-height: 48vh; overflow-y: auto; font-size: 14.5px; line-height: 1.6; }
.shindan-panel .g-review { margin-top: 0; max-height: none; }
.shindan-panel .g-review > div { background: var(--card); }
.shindan-panel .g-review p { margin: 2px 0; }
.shindan-zubari { margin: 0; padding-left: 1.5em; display: grid; gap: 8px; }
.shindan-zubari li b { display: block; font-size: 16px; }
.shindan-zubari li small { color: var(--ink2); font-size: 13px; }
.shindan-weak { margin-top: 12px; border-top: 2px dashed var(--line); padding-top: 8px; }
.shindan-weak p { margin: 0 0 6px; }
.shindan-links { display: grid; gap: 6px; }
.shindan-links .g-btn { text-decoration: none; min-height: 44px; font-size: 14.5px; }
.shindan-day { margin-bottom: 10px; }
.shindan-dayh { margin: 4px 0; }
.shindan-stack { display: flex; height: 22px; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; }
.shindan-stack i { display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 11.5px; font-weight: 800; color: #fff; border-right: 2px solid var(--line); }
.shindan-stack i:last-child { border-right: 0; }
.shindan-stack i.shindan-c-v { color: #1d211f; }
.shindan-menu { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 3px; }
.shindan-menu li { display: grid; grid-template-columns: 14px auto 1fr; gap: 6px; align-items: baseline; }
.shindan-menu small { color: var(--ink2); font-size: 12.5px; }
.shindan-dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--line); }
.shindan-goal { margin: 0 0 8px; }
.shindan-steps { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 3px solid var(--yellow); display: grid; gap: 8px; }
.shindan-steps li { position: relative; }
.shindan-steps li::before { content: ''; position: absolute; left: -21px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--line); }
.shindan-steps b { display: block; font-size: 13px; color: var(--ink2); }
@media (max-width: 380px) { .shindan-menu li { grid-template-columns: 14px 1fr; } .shindan-menu small { grid-column: 2; } .shindan-sub { grid-template-columns: 5.6em 1fr 2.2em; } }
@media (prefers-reduced-motion: reduce) { .shindan-lv { animation: none; } }

/* 4分診断（2026-11-06）：スタートのバッジ・残り時間・結果の「タイプ」と推定点・ロードマップへのボタン */
.shindan-badge { display: inline-block; margin: 0; font-family: var(--head); font-weight: 900; letter-spacing: .18em; font-size: 12px; padding: 2px 12px; border-radius: 999px; background: var(--board); color: var(--yellow); }
.shindan-left { margin-left: 8px; font-weight: 700; font-size: 12px; color: var(--ink2); }
.shindan-reveal { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: stretch; margin: 6px 0; }
.shindan-reveal .shindan-lv { margin: 0; }
.shindan-type { display: flex; flex-direction: column; justify-content: center; align-items: center; border: 3px solid var(--line); border-radius: 16px; padding: 6px 18px 8px; background: var(--board); color: var(--chalk); box-shadow: var(--shadow-sm); animation: shindan-pop .5s .25s ease-out both; min-width: 12em; }
.shindan-type small { font-size: 12px; color: var(--chalk2); font-weight: 700; }
.shindan-type b { font-family: var(--head); font-size: 22px; line-height: 1.35; color: var(--yellow); }
.shindan-est { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin: 12px 0 6px; }
.shindan-est > div { border: 2.5px solid var(--line); border-radius: 12px; padding: 6px 8px; background: var(--bg); text-align: center; display: flex; flex-direction: column; line-height: 1.35; }
.shindan-est > div.goal { background: var(--yellow2); }
.shindan-est small { font-size: 11.5px; color: var(--ink2); font-weight: 700; }
.shindan-est b { font-family: var(--head); font-size: 20px; font-variant-numeric: tabular-nums; }
.shindan-arrow { font-weight: 900; font-size: 22px; }
.g-btn.shindan-map { display: flex; width: 100%; margin: 14px 0 4px; font-size: 18px; padding: 14px; text-decoration: none; animation: shindan-glow 1.6s ease-in-out 3; }
.shindan-h3 { font-size: 16px; margin: 16px 0 8px; }
.shindan-rev { margin-top: 12px; text-align: left; }
.shindan-rev summary { cursor: pointer; font-weight: 800; padding: 8px 0; }
@keyframes shindan-glow { 50% { box-shadow: 0 0 0 5px rgba(255, 216, 74, .55), var(--shadow-sm); } }
@media (prefers-reduced-motion: reduce) { .shindan-type, .g-btn.shindan-map { animation: none; } }
