/* ── stride_estimate_correction2_5（歩はばの見積りを直してきょりを求めよう、単元仕様書 v1.2）── */
/* 画面：問題文、比かくの表（表の説明の文はARIA名）、答えの欄（単位を欄の外）と共通のテンキー、またはC群の4択、案内。回答後は正しい答えと解説（§5-3・§7）。 */
#question-text .sne-q{display:block;overflow-wrap:anywhere}
.sne-main{margin:4px 0 6px;max-width:100%;display:flex;flex-direction:column;align-items:center;gap:6px}
.sne-field{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:1.2rem}
.sne-input{width:6em;min-height:48px;font-size:1.4rem;padding:0 6px;border:3px solid #1d4ed8;background:#eff6ff;border-radius:8px;text-align:center;font-family:inherit;font-weight:800;box-sizing:border-box}
.sne-input:disabled{background:#f8fafc;color:#111827;opacity:1;border-color:#94a3b8}
.sne-input.sne-ok,.sne-input.sne-ok:disabled{border:3px solid #15803d;background:#dcfce7}
.sne-input.sne-ng,.sne-input.sne-ng:disabled{border:3px dashed #b91c1c;background:#fff1f2}
.sne-guide{margin:2px 0 0;font-size:16px;font-weight:700;text-align:center}
.sne-guide[hidden]{display:none}
.sne-msg{min-height:1.4em;margin:2px 0;color:#b45309;font-weight:700;text-align:center;line-height:1.4;max-width:560px}
.sne-msg:empty{min-height:0;margin:0}
.sne-main .ufk-keypad{margin-top:4px}
.feedback.has-text.sne-feedback{height:auto;min-height:40px;padding:4px 0;text-align:center;line-height:1.45}
.sne-correct{margin:2px 0 6px;font-weight:800;font-size:17px;overflow-wrap:anywhere}
.sne-expl-text{margin:4px 0 6px;overflow-wrap:anywhere;word-break:normal;line-break:strict}
.sne-score{margin:6px 0 2px;font-weight:800;color:#1e3a8a}
.sne-example .sne-ex-q{margin:6px 0 2px;font-weight:700}
.sne-example .sne-ex-a{margin:0 0 8px}
#page-quiz.active:has(.sne-main) #question-text{word-break:normal;overflow-wrap:anywhere;line-break:strict}
#page-quiz.active:has(.sne-main) #hint-area .kp-card{display:flex;align-items:flex-start;gap:8px}
#page-quiz.active:has(.sne-main) #hint-area .kp-head{margin-bottom:0;flex:none}
#page-quiz.active:has(.sne-main) #hint-area .kp-title:empty{display:none}
#page-quiz.active:has(.sne-main) #hint-area .kp-body{flex:1;min-width:0;padding-left:0}
#page-quiz.active:has(.sne-main) #tts-btn{min-width:44px;min-height:44px}
#page-quiz:has(#question-text[data-unit="stride_estimate_correction2_5"]) .ufk-keypad{max-width:240px;width:100%}
#page-quiz:has(#question-text[data-unit="stride_estimate_correction2_5"]) .ufk-keypad .num-btn{font-family:var(--font-ui)}

.sne-unit{font-weight:800;font-size:1.15rem;white-space:nowrap}
.sne-expl-text{line-height:1.8;overflow-wrap:anywhere}
.sne-tablewrap{max-width:100%;width:100%;display:flex;justify-content:center}
.sne-table{border-collapse:collapse;font-size:16px;font-variant-numeric:tabular-nums}
.sne-table th,.sne-table td{border:1.5px solid #334155;padding:6px 8px;text-align:center;white-space:nowrap}
.sne-table thead th{background:#f1f5f9;font-weight:800}
.sne-table tbody th{background:#f8fafc;font-weight:800}
#sne-main .sne-field{flex-wrap:wrap;justify-content:center;row-gap:4px}
.sne-table td:first-child{border:none;background:transparent}
.sne-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;max-width:440px}
.sne-choice{min-height:48px;font-size:18px;padding:8px 10px;border:2px solid #9aa7b4;border-radius:10px;background:#fff;cursor:pointer;color:#222;font-family:inherit;font-weight:700}
.sne-choice.sne-chosen{border-color:#1565c0;background:#e6f0fb}
.sne-choice.sne-correct{border-color:#15803d;background:#dcfce7}
.sne-choice.sne-wrong{border-color:#b91c1c;border-style:dashed;background:#fff1f2}
.sne-choice:disabled{cursor:default;opacity:1}
@media (max-width:400px){.sne-table{font-size:14px}.sne-table th,.sne-table td{padding:5px 4px}#sne-main .sne-input{width:5em}.sne-choices{grid-template-columns:minmax(0,1fr)}}

/* 印刷（A4縦・2列・1ページ。§7） */
.sne-pr-page{width:190mm;box-sizing:border-box;color:#000;font-family:inherit;display:flex;flex-direction:column}
.sne-pr-headrow{display:flex;flex-direction:column;gap:0}
.sne-pr-title{box-sizing:border-box;font-size:14pt;margin:0;height:7mm;line-height:6mm;text-align:center;font-weight:700;border:1.5pt solid #666;background:#ffffcc;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.sne-pr-headrow .pp-fields{height:6mm;margin:0.5mm 0 0}
.sne-pr-headrow hr.pp-fields-solid{flex:none;width:100%;margin:0.8mm 0 1mm!important;border:0;border-top:1.2pt solid #333}
.sne-pr-inst{font-size:12.5pt;line-height:5.5mm;margin:0 0 2mm;padding:0 1.5mm}
.sne-pr-problems{display:flex;gap:3mm;justify-content:center}
.sne-pr-col{width:92mm;display:flex;flex-direction:column;gap:1mm}
.sne-pr-cell{box-sizing:border-box;width:92mm;height:42mm;border:0.3mm solid transparent;border-radius:1.5mm;padding:0.8mm 1.5mm;overflow:hidden;break-inside:avoid}
.sne-pr-head{font-size:12.5pt;line-height:5mm}
.sne-pr-line{word-break:keep-all;overflow-wrap:anywhere}
.sne-pr-gap{display:inline-block;width:20mm;height:4.5mm;vertical-align:bottom}
.sne-pr-num{font-weight:700}
.sne-pr-body{display:flex;gap:1.5mm;margin-top:0.8mm;align-items:stretch}
.sne-pr-table{border-collapse:collapse;font-size:10pt;line-height:4.2mm}
.sne-pr-table th,.sne-pr-table td{border:0.3mm solid #333;padding:0 1mm;text-align:center;white-space:nowrap;font-weight:400}
.sne-pr-table td:first-child{border:none}
.sne-pr-table thead th,.sne-pr-table tbody th{font-weight:700}
.sne-pr-convert{flex:1;border:0.3mm solid #333;min-width:20mm;margin-right:3mm}
.sne-pr-convert-head{font-size:10pt;line-height:4.2mm;text-align:center;border-bottom:0.3mm dashed #666}
.sne-pr-blank{font-size:12.5pt;line-height:6mm;margin-top:0.8mm}
.sne-pr-choices{display:grid;grid-template-columns:1fr 1fr;font-size:12.5pt;line-height:5mm;margin-top:0.8mm}
.sne-pr-choice{white-space:nowrap}
.sne-pr-answers{margin-top:2mm;border-top:0.3mm dashed #666;padding-top:1mm;display:flex;gap:2mm;align-items:flex-start}
.sne-pr-anshead{font-size:12.5pt;font-weight:700;line-height:5mm;white-space:nowrap}
.sne-pr-ansrows{display:flex;flex-direction:column}
.sne-pr-ansrow{display:grid;grid-template-columns:repeat(5,33mm);font-size:10pt;line-height:5mm}
.sne-pr-answer{white-space:nowrap}
#pr-sheet[data-unit="stride_estimate_correction2_5"]{width:190mm;max-width:none;padding:0;margin:calc(12px + 10mm) auto;background:transparent;box-shadow:none}
#pr-sheet[data-unit="stride_estimate_correction2_5"]>:not(#pr-problems){display:none!important}
#pr-sheet[data-unit="stride_estimate_correction2_5"]>#pr-problems{display:block}
#pr-sheet[data-unit="stride_estimate_correction2_5"] .sne-pr-page{box-shadow:0 0 0 10mm #fff,0 0 4px 10mm rgba(0,0,0,.12);margin-bottom:calc(8mm + 10mm)}
@media print{
  #page-print #pr-sheet[data-unit="stride_estimate_correction2_5"]{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;transform:none!important;box-shadow:none!important}
  #page-print #pr-sheet[data-unit="stride_estimate_correction2_5"]>:not(#pr-problems){display:none!important}
  #page-print #pr-sheet[data-unit="stride_estimate_correction2_5"]>#pr-problems{display:block!important}
  #page-print #pr-sheet[data-unit="stride_estimate_correction2_5"] .sne-pr-page{display:flex!important;margin:0!important;box-shadow:none!important;break-after:auto;page-break-after:auto}
}
.sne-app-pdf-page .sne-pr-page{box-shadow:none;margin:0}
