/* ── circle_center_path2_5（円の中心が動く道のりを求めよう、単元仕様書 v1.3）── */
/* 画面：問題文、図（うすい線の円、中心●、接点×、点線の中心の道、長さのラベル）、記号の説明、数を入れる1欄とcm、共通のテンキー（§5-3・§7）。 */
#question-text .cct-q{display:block}
.cct-main{margin:4px 0 6px;max-width:100%;display:flex;flex-direction:column;align-items:center;gap:4px}
.cct-figwrap{width:100%;max-width:440px}
.cct-fig{display:block;width:100%;height:auto}
.cct-fig .cct-obs{fill:none;stroke:#111827;stroke-width:2}
.cct-fig .cct-circ{fill:none;stroke:#94a3b8;stroke-width:1.3}
.cct-fig .cct-path{fill:none;stroke:#1d4ed8;stroke-width:1.6;stroke-dasharray:4 3}
.cct-fig .cct-dot,.cct-fig .cct-o{fill:#111827}
.cct-fig .cct-x{stroke:#b91c1c;stroke-width:1.6}
.cct-fig .cct-rad{stroke:#64748b;stroke-width:1}
.cct-fig .cct-gap{fill:#fff;stroke:none}
.cct-fig .cct-brk{fill:none;stroke:#111827;stroke-width:1.2}
.cct-fig .cct-lbl{font-size:12px;font-weight:700;fill:#111827;font-family:'Atkinson Hyperlegible','BIZ UDPGothic','Yu Gothic','Meiryo',sans-serif}
.cct-legend{margin:0;font-size:14px;font-weight:700;text-align:center}
.cct-row-input{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:2px}
.cct-input{width:6em;min-height:44px;font-size:1.3rem;padding:2px 6px;border:3px solid #1d4ed8;background:#eff6ff;border-radius:8px;text-align:center;font-family:inherit;box-sizing:border-box}
.cct-input:disabled{background:#f8fafc;color:#111827;opacity:1;border-color:#94a3b8}
.cct-input.cct-ok,.cct-input.cct-ok:disabled{border:3px solid #15803d;background:#dcfce7}
.cct-input.cct-ng,.cct-input.cct-ng:disabled{border:3px dashed #b91c1c;background:#fff1f2}
.cct-unit{font-weight:800}
.cct-guide{margin:2px 0 0;font-size:16px;font-weight:700;text-align:center}
.cct-guide[hidden]{display:none}
.cct-msg{min-height:1.4em;margin:2px 0;color:#b45309;font-weight:700;text-align:center;line-height:1.4}
.cct-msg:empty{min-height:0;margin:0}
.cct-main .ufk-keypad{margin-top:4px}
.feedback.has-text.cct-feedback{height:auto;min-height:40px;padding:4px 0;text-align:center;line-height:1.45}
.cct-correct{margin:2px 0 4px;font-weight:800;color:#14532d}
.cct-expl-text{margin:4px 0 6px;overflow-wrap:anywhere}
.cct-ex-q{font-weight:700;margin:6px 0 2px}.cct-ex-a{margin:2px 0 8px}
#page-quiz.active:has(.cct-main) #question-text{word-break:normal;overflow-wrap:anywhere;line-break:strict}
#page-quiz.active:has(.cct-main) #hint-area .kp-card{display:flex;align-items:flex-start;gap:8px}
#page-quiz.active:has(.cct-main) #hint-area .kp-head{margin-bottom:0;flex:none}
#page-quiz.active:has(.cct-main) #hint-area .kp-title:empty{display:none}
#page-quiz.active:has(.cct-main) #hint-area .kp-body{flex:1;min-width:0;padding-left:0}
#page-quiz:has(#question-text[data-unit="circle_center_path2_5"]) .ufk-keypad{max-width:240px;width:100%}
#page-quiz:has(#question-text[data-unit="circle_center_path2_5"]) .ufk-keypad .num-btn{font-family:var(--font-ui)}

/* 印刷：A4縦・1ページ（§7）。題名と記入欄、共通の問いと記号の説明、2列×5段（1問92×42mm）、破線と答え2行。 */
.cct-pr-page{width:190mm;height:277mm;box-sizing:border-box;display:flex;flex-direction:column;padding:0;margin:0 auto 8mm;overflow:hidden;background:#fff;color:#000;font-family:'Atkinson Hyperlegible','BIZ UDPGothic','Yu Gothic','Meiryo',sans-serif}
.cct-pr-headblock{display:block;flex:none}
/* 題名は共通仕様 CP-08a の枠・うすい黄色・中央ぞろえ。記入らんと実線は共通の .pp-fields（CP-08b。書く高さ6mm・下線は月日年組15mm・名前は行ののこり・線の間1mm以上）。 */
.cct-pr-headblock .pp-fields.pp-fields-compact{height:7.5mm;margin-top:1mm}
.cct-pr-headblock hr.pp-fields-solid{box-sizing:content-box;height:0;margin:1mm 0 1mm!important;padding:0;border:0!important;border-top:1.5pt solid #333!important}
.cct-pr-title{box-sizing:border-box;margin:0;height:7.5mm;font-size:14pt;font-weight:700;line-height:calc(7.5mm - 3pt);white-space:nowrap;text-align:center;border:1.5pt solid #666;background:#ffffcc;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.cct-pr-inst{flex:none;width:187mm;margin:0;font-size:12.5pt;line-height:5mm;word-break:normal;overflow-wrap:anywhere;line-break:strict}
.cct-pr-legend{flex:none;margin:0;font-size:12.5pt;line-height:5mm;white-space:nowrap}
.cct-pr-problems{flex:none;display:grid;grid-template-columns:92mm 92mm;column-gap:3mm;margin-top:1mm}
.cct-pr-col{display:grid;grid-template-rows:repeat(5,42mm)}
.cct-pr-cell{box-sizing:border-box;width:92mm;height:42mm;overflow:hidden}
.cct-pr-q{margin:0;width:86mm;font-size:12.5pt;line-height:5mm;max-height:15mm;height:15mm;word-break:normal;overflow-wrap:anywhere;line-break:strict}
.cct-pr-row{display:flex;align-items:center;height:22mm}
.cct-pr-figbox{flex:none;width:52mm;height:22mm}
.cct-pr-fig{width:52mm;height:22mm}
.cct-pr-fig .cct-lbl{font-size:16.5px}
.cct-pr-fig .cct-lbl.cct-big{font-size:22.5px}
.cct-pr-fig .cct-obs{stroke:#000;stroke-width:1.7}
.cct-pr-fig .cct-path{stroke:#000;stroke-width:1.6}
.cct-pr-fig .cct-circ{stroke:#555;stroke-width:1.6}
.cct-pr-fig .cct-rad,.cct-pr-fig .cct-brk,.cct-pr-fig .cct-x{stroke-width:1.6}
.cct-pr-box{flex:none;display:inline-block;margin-left:3mm;width:24mm;height:8mm;border:2px solid #333;box-sizing:border-box}
.cct-pr-unit{margin-left:1mm;font-size:12.5pt}
.cct-pr-answers{flex:none;margin-top:auto;padding-bottom:5mm}
.cct-pr-dashed{display:block;height:0;margin:0 0 0.8mm;padding:0;border:0;border-top:1.5pt dashed #aaa}
.cct-pr-anshead{font-size:12.5pt;font-weight:700;height:6mm;line-height:6mm}
.cct-pr-ansrow{display:flex;height:5mm;line-height:5mm;font-size:10pt;white-space:nowrap}
.cct-pr-ans{width:37mm;flex:none}
.cct-app-pdf-page .cct-pr-page{box-shadow:none;margin:0}

#pr-sheet[data-unit="circle_center_path2_5"]{width:190mm;max-width:none;padding:0;margin:calc(12px + 10mm) auto;background:transparent;box-shadow:none}
#pr-sheet[data-unit="circle_center_path2_5"]>:not(#pr-problems){display:none!important}
#pr-sheet[data-unit="circle_center_path2_5"]>#pr-problems{display:block}
#pr-sheet[data-unit="circle_center_path2_5"] .cct-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="circle_center_path2_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="circle_center_path2_5"]>:not(#pr-problems){display:none!important}
  #page-print #pr-sheet[data-unit="circle_center_path2_5"]>#pr-problems{display:block!important}
  #page-print #pr-sheet[data-unit="circle_center_path2_5"] .cct-pr-page{display:flex!important;margin:0!important;box-shadow:none!important;break-after:auto;page-break-after:auto}
}
