/* ── length_route_conversion3_3（長さのたんいをそろえて道すじをくらべよう、単元仕様書 v1.6）── */
/* 画面：問題文、図（B・C群。点の名前・区間の記号と長さ・C群は太い矢じるしと点線と線の見方）、区間の一覧、C群の4つの選択肢、回答欄（単位つき）（§5-3・§7・LRK-09・14）。 */
#question-text .lrc-q{display:block;overflow-wrap:normal}
.lrc-nb{white-space:nowrap}
.lrc-nb.lrc-nb-pre{white-space:pre}
.lrc-phrase-group{display:inline;min-width:0}
.lrc-main{display:flex;flex-direction:column;align-items:center;gap:6px;margin:4px auto 2px;max-width:600px;width:100%;box-sizing:border-box}
.lrc-fig{width:100%;max-width:560px;display:flex;justify-content:center}
.lrc-svg{display:block;width:100%;height:auto;overflow:visible}
.lrc-seg{stroke:#111827;stroke-width:0.4;stroke-linecap:round}
.lrc-route{stroke:#111827;stroke-width:0.8;stroke-linecap:round}
.lrc-straight{stroke:#111827;stroke-width:0.4;stroke-dasharray:1.1 0.9}
.lrc-arrow{fill:#111827}
.lrc-pt{fill:#111827}
.lrc-lab{font-size:3.18px;font-weight:700;fill:#111827;stroke:#fff;stroke-width:1.1px;stroke-linejoin:round;paint-order:stroke;font-family:var(--font-ui),'BIZ UDPGothic','Yu Gothic','Meiryo',sans-serif}
.lrc-lab-pt{font-size:3.5px}
.lrc-labbg{fill:#fff}
.lrc-qbox{fill:#fff;stroke:#111827;stroke-width:0.35}
.lrc-legend{margin:0;font-size:14px;font-weight:700;text-align:center}
.lrc-list{margin:2px auto;font-size:15px;line-height:1.7;text-align:center;max-width:34em;word-break:normal;overflow-wrap:normal;line-break:strict}
.lrc-guide{margin:2px auto;font-weight:700;text-align:center;max-width:32em}
.lrc-guide[hidden]{display:none}
.lrc-choices{display:grid;grid-template-columns:1fr 1fr;gap:6px;width:100%;max-width:520px}
.lrc-choice{display:flex;align-items:center;gap:8px;min-height:44px;padding:6px 10px;border:2px solid #94a3b8;border-radius:12px;background:#fff;color:#111827;font-family:inherit;font-size:1rem;cursor:pointer;text-align:left;box-sizing:border-box;width:100%;line-height:1.35}
.lrc-choice:focus-visible{outline:3px solid #1d4ed8;outline-offset:2px}
.lrc-choice-num{flex:none;font-weight:800;min-width:1.3em;text-align:center;border:2px solid #475569;border-radius:50%;line-height:1.3em;height:1.3em}
.lrc-choice-text{font-weight:700}
.lrc-choice-selected{border:3px solid #1d4ed8;background:#eff6ff}
.lrc-choice-correct{border:3px solid #15803d;background:#dcfce7}
.lrc-choice-wrong{border:3px dashed #b91c1c;background:#fff1f2}
.lrc-choice:disabled{opacity:1;cursor:default;color:#111827}
.lrc-answer-row{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.lrc-field{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.lrc-input{width:4.6em;min-width:44px;min-height:46px;font-size:1.35rem;font-weight:800;padding:2px 6px;border:3px solid #1d4ed8;background:#eff6ff;border-radius:10px;text-align:center;font-family:inherit;box-sizing:border-box}
.lrc-input.ufk-input-active{box-shadow:0 0 0 3px #fbbf24}
.lrc-input:disabled{background:#f8fafc;color:#111827;opacity:1;border-color:#94a3b8}
.lrc-input.lrc-input-ok{border:3px solid #15803d;background:#dcfce7}
.lrc-input.lrc-input-ng{border:3px dashed #b91c1c;background:#fff1f2}
.lrc-unit{font-size:1.2rem;font-weight:800}
.lrc-fieldres:empty,.lrc-msgs:empty{display:none}
.lrc-field-result{margin:0;text-align:center;font-weight:700}
.lrc-msgs{display:flex;flex-direction:column;align-items:center}
.lrc-msg{margin:0;color:#b45309;font-weight:700;text-align:center;max-width:32em;line-height:1.6}
.feedback.has-text.lrc-feedback{height:auto;min-height:40px;padding:4px 0;text-align:center;line-height:1.45}
.lrc-correct,.lrc-correct-role{margin:2px 0 6px;font-weight:800}
.lrc-expl-text{margin:4px 0 6px;line-height:2.1;overflow-wrap:normal;word-break:normal;line-break:strict}
.lrc-example .lrc-ex-q{margin:6px 0 4px;font-weight:700;line-height:2}
.lrc-example .lrc-ex-a{margin:4px 0 14px;line-height:2.1}
.lrc-learning-focus{word-break:normal;line-break:strict}
#page-quiz.active:has(.lrc-main) #question-text{word-break:normal;overflow-wrap:normal;line-break:strict;font-size:17px;line-height:2}
#page-quiz.active:has(.lrc-main) #hint-area .kp-card{display:flex;align-items:flex-start;gap:8px}
#page-quiz.active:has(.lrc-main) #hint-area .kp-head{margin-bottom:0;flex:none}
#page-quiz.active:has(.lrc-main) #hint-area .kp-title:empty{display:none}
#page-quiz.active:has(.lrc-main) #hint-area .kp-body{flex:1;min-width:0;padding-left:0}
#page-quiz:has(#question-text[data-unit="length_route_conversion3_3"]) .ufk-keypad{max-width:240px;width:100%}
#page-quiz:has(#question-text[data-unit="length_route_conversion3_3"]) .ufk-keypad .num-btn{font-family:var(--font-ui)}
@media (max-width:400px){
  .lrc-choices{grid-template-columns:1fr}
  .lrc-list{font-size:14px}
  #page-quiz.active:has(.lrc-main) #question-text{font-size:16px}
  #page-lesson .lesson-point:has(.lrc-nb),#page-lesson .lesson-point:has(.lrc-nb) *{font-size:15px}
  .lrc-example .lrc-ex-q{font-size:15px}
  .lrc-example .lrc-ex-a{font-size:14px}
  #page-lesson .lesson-example:has(.lrc-example){padding-left:8px;padding-right:8px}
  #page-lesson .lesson-example:has(.lrc-example) div:has(> .lrc-example){padding-left:6px!important;padding-right:4px!important}
  #lesson-card-content h3:has(.lrc-nb){font-size:22px!important}
}

/* 印刷（A4縦・2列・1ページ。§7・確定表 LRK-10・11）。列は各92mm・間6mm。A群の段は13mm、B・C群の段は53mm（番号行5.5mm・図26mm・区間の一覧7.6mm・答え欄の行8.5mm）。 */
.lrc-pr-page{width:190mm;box-sizing:border-box;display:flex;flex-direction:column;background:#fff;color:#000;font-family:'Atkinson Hyperlegible','BIZ UDPGothic','Yu Gothic','Meiryo',sans-serif}
.lrc-pr-headrow{display:flex;flex-direction:column;gap:0}
.lrc-pr-title{font-size:14.5pt;margin:0;height:7mm;line-height:7mm;text-align:center;font-weight:700}
.lrc-pr-headrow .pp-fields{height:6mm;margin:0.5mm 0 0}
.lrc-pr-headrow hr.pp-fields-solid{flex:none;width:100%;margin:0.5mm 0 1mm!important;border:0;border-top:2px solid #333}
.lrc-pr-inst,.lrc-pr-legendrow{font-size:12.5pt;line-height:5.4mm;margin:0;padding:0 1mm}
.lrc-pr-legendrow{margin-bottom:1mm}
.lrc-pr-figlegend .lrc-nb{white-space:nowrap}
.lrc-pr-gap{white-space:pre-wrap}
.lrc-pr-problems{display:flex;flex-direction:column}
.lrc-pr-row{display:grid;grid-template-columns:92mm 92mm;column-gap:6mm}
.lrc-pr-row-A{height:13.25mm}
.lrc-pr-row-BC{height:53mm}
.lrc-pr-row-C{height:56mm}
.lrc-pr-cell{box-sizing:border-box;overflow:hidden;break-inside:avoid;display:flex;flex-direction:column}
.lrc-pr-line{font-size:12.5pt;line-height:6.2mm;word-break:normal;overflow-wrap:normal;line-break:strict;font-weight:700}
.lrc-pr-headline{height:5.5mm;line-height:5.5mm}
.lrc-pr-headline-c{height:8.5mm;line-height:8.5mm}
.lrc-pr-aline{line-height:8mm}
.lrc-pr-aline .lrc-pr-q{font-weight:400}
.lrc-pr-blankgrp{white-space:nowrap}
.lrc-pr-blank{display:inline-flex;justify-content:space-between;align-items:center;height:8mm;vertical-align:middle;box-sizing:border-box}
.lrc-pr-q,.lrc-pr-head,.lrc-pr-box{white-space:pre-wrap}
.lrc-pr-fig .lrc-fig{width:86mm;max-width:none;margin:0 3mm}
.lrc-pr-fig .lrc-svg{width:86mm;height:26mm}
.lrc-pr-fig .lrc-seg{stroke:#000;stroke-width:0.35}
.lrc-pr-fig .lrc-route{stroke:#000;stroke-width:0.7}
.lrc-pr-fig .lrc-straight{stroke:#000;stroke-width:0.35}
.lrc-pr-fig .lrc-lab{font-size:3.18px;fill:#000}
.lrc-pr-list{font-size:9pt;line-height:3.8mm;height:7.6mm;margin:0 3mm;text-align:left;font-weight:400}
.lrc-pr-boxline{height:8.5mm;line-height:8.5mm}
.lrc-pr-answers{margin-top:1mm;border-top:2px dashed #666;padding-top:0.5mm}
.lrc-pr-anshead{font-size:12.5pt;font-weight:700;line-height:5.5mm}
.lrc-pr-acols{display:grid;grid-template-columns:92mm 92mm;column-gap:6mm}
.lrc-pr-ans{margin:0;font-size:10pt;line-height:4.2mm;padding-bottom:0.8mm}
#pr-sheet[data-unit="length_route_conversion3_3"]{width:190mm;max-width:none;padding:0;margin:calc(12px + 10mm) auto;background:transparent;box-shadow:none}
#pr-sheet[data-unit="length_route_conversion3_3"]>:not(#pr-problems){display:none!important}
#pr-sheet[data-unit="length_route_conversion3_3"]>#pr-problems{display:block}
#pr-sheet[data-unit="length_route_conversion3_3"] .lrc-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="length_route_conversion3_3"]{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="length_route_conversion3_3"]>:not(#pr-problems){display:none!important}
  #page-print #pr-sheet[data-unit="length_route_conversion3_3"]>#pr-problems{display:block!important}
  #page-print #pr-sheet[data-unit="length_route_conversion3_3"] .lrc-pr-page{display:flex!important;margin:0!important;box-shadow:none!important;break-after:auto;page-break-after:auto}
}
.lrc-app-pdf-page .lrc-pr-page{box-shadow:none;margin:0}
