/* Shared header, title, buttons and background come from paired-sites/site-theme. */
.sr-app{max-width:1180px;margin:0 auto;padding:28px 20px 48px}
.sr-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:13px 24px;margin-bottom:18px}
.sr-heading .maker-title{margin:0 0 4px}.sr-heading p{margin:0;color:var(--site-muted);font-size:14px}
.sr-heading-actions{display:flex;align-items:center;gap:20px;margin-left:auto}.sr-heading-actions button{width:auto}.sr-heading-actions .kago-add{margin-top:0}
.sr-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}
.sr-panel{position:sticky;top:12px;padding:16px;background:#fff;border:1px solid var(--site-border);border-radius:14px}
.sr-stage-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:0}.sr-stage-head label{font-size:14px;font-weight:700;color:#51667e}.sr-stage-head output{font-size:15px;font-weight:700;color:#1F6E40;flex-basis:100%}
/* スライダーは ことばと絵・きく・はなす・しじで うごく と同じ見た目（age-preference.css）2026-10-16 */
.sr-track{padding-top:6px}
.sr-scale{position:relative;height:22px;margin:4px 12px 0;font-size:11.5px;color:#5f6b78}.sr-scale span{position:absolute;top:0;transform:translateX(-50%);white-space:nowrap}.sr-scale.stagger{height:34px}.sr-scale span.lower{top:17px}
.sr-why{margin:10px 0 0;padding:8px 10px;border-radius:8px;background:#F3F7F4;color:#3d4a43;font-size:13px;line-height:1.6}
#sr-reshuffle{width:100%;min-height:40px;padding:0 14px;margin-top:16px;border:1px solid #c5d1e0;border-radius:999px;background:#fff;font:inherit;font-size:14px;color:var(--site-ink);cursor:pointer}
.sr-answer{display:flex;align-items:center;gap:8px;font-size:13px;margin-top:16px}.sr-answer input{accent-color:#2E9D5B}
.sr-spec{font-size:13px;color:var(--site-muted)}#sr-message{font-size:13px;color:#8A3B1B}
.sr-preview{min-width:0}.sr-wrap{width:min(100%,210mm);margin:0 auto 24px}
.sr-paper{position:relative;transform-origin:top left;background:#fff;color:#222;box-shadow:0 8px 24px rgba(60,48,30,.1);overflow:hidden}
.sr-paper-footer{display:block;background:transparent;border:0;padding:0;margin:0;max-width:none;width:auto;height:auto;position:absolute;bottom:8mm;left:0;right:0;text-align:center;font-size:8pt;color:#9aa2a9}
.sr-paper{font-family:"BIZ UDGothic",sans-serif;box-sizing:border-box;padding:10mm 14mm;width:210mm;height:297mm}
.sr-paper-heading{display:block;background:none;border:0;padding:0;margin:0;max-width:none;height:20mm;box-sizing:border-box;font-family:"BIZ UDGothic",sans-serif}
.sr-paper-heading h2{font-family:inherit;font-size:18pt;line-height:1.4;margin:0 0 2mm;font-weight:700}
.sr-paper-heading p{font-size:11pt;line-height:1.4;margin:0}
.sr-question{height:62mm;box-sizing:border-box;break-inside:avoid}
.sr-line{display:flex;align-items:center;gap:3mm;height:9mm;font-family:"BIZ UDGothic",sans-serif;font-size:16pt;font-weight:400;white-space:pre;line-height:1.2}
.sr-number{font-size:11pt}
.sr-word-image{height:7mm;width:auto;max-width:165mm;object-fit:contain;vertical-align:middle}
.sr-choices{display:flex;justify-content:space-evenly;align-items:center;height:var(--sr-picture,50mm)}
.sr-choice{position:relative;box-sizing:border-box;overflow:hidden;flex:0 0 var(--sr-picture,50mm);width:var(--sr-picture,50mm);height:var(--sr-picture,50mm);border:0.25mm solid #ddd;border-radius:2mm}
/* 2026-10-31：うごきの絵を だれごとに大きさ・足もとを そろえなおした（scripts/normalize_actions.py）ので、絵ごとの拡大（どうぶつ125%・こども168.75%）は やめた */
.sr-choice img{position:absolute;display:block;max-width:none;width:100%;height:100%;left:0;top:0;object-fit:contain}
.sr-correct::after{content:"";position:absolute;inset:0;border:0.8mm solid #333;border-radius:50%;pointer-events:none}

@media(max-width:860px){.sr-layout{grid-template-columns:1fr}.sr-panel{position:static}}
@media(max-width:600px){.sr-app{padding:18px 12px 32px}}
@page{size:A4 portrait;margin:0}
@media print{
 html,body{margin:0!important;padding:0!important;background:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .pair-header,.pair-footer,.sr-heading,.sr-panel,noscript{display:none!important}
 .sr-app,.sr-layout,.sr-preview,#sr-sheets{display:block;max-width:none;width:210mm;margin:0;padding:0}
 .sr-wrap{width:210mm!important;height:297mm!important;margin:0!important;break-after:page;page-break-after:always}
 .sr-wrap:last-child{break-after:auto;page-break-after:auto}
 .sr-paper{transform:none!important;box-shadow:none!important;break-inside:avoid;page-break-inside:avoid}
}

/* Uniform 1.25x canvas zoom removes only shared transparent margins. */
.sr-paper[data-amount="less"]{--sr-picture:54mm}
.sr-paper[data-amount="less"] .sr-question{height:82mm}
/* 1枚の量：ほかのメーカー（ことばと絵）と同じ絵つきボタン「ふつう／すくなめ」（2026-10-15） */
.sr-label{display:block;margin:16px 0 6px;font-size:14px;font-weight:700;color:#51667e}
.sr-panel .maker-mode-buttons{display:flex;gap:8px;margin:0}
.sr-panel .maker-mode-buttons button{flex:1;min-width:0;min-height:74px;padding:8px 3px;border:1px solid #c5d1e0;border-radius:8px;background:#fff;color:inherit;font:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.sr-panel .maker-mode-buttons button[aria-pressed="true"]{border:2px solid #2E9D5B;padding:7px 2px;background:#edf7f0;color:#2E9D5B}
.sr-panel .maker-mode-buttons .mode-symbol{width:36px;height:36px}
.sr-panel .maker-mode-buttons small{font-size:11px;white-space:nowrap}
/* 文字を大きく・問題数を減らして、紙面いっぱいに均等に並べる（ふつう3問・すくなめ2問、2026-10-15） */
.sr-paper{display:flex;flex-direction:column;padding:12mm 12mm 16mm}
.sr-paper-heading{height:auto;flex:none;margin-bottom:2mm}
.sr-paper-heading h2{font-size:20pt;margin:0}
.sr-questions{flex:1;display:flex;flex-direction:column;justify-content:space-evenly}
.sr-question{height:auto!important;display:flex;flex-direction:column;gap:6mm}
.sr-line{height:auto;font-size:26pt;line-height:1.3;gap:4mm}
.sr-number{font-size:16pt}
.sr-word-image{height:11mm}
.sr-choices{--sr-picture:56mm;justify-content:space-between;height:auto}
.sr-paper[data-amount="less"] .sr-line{font-size:34pt}
.sr-paper[data-amount="less"] .sr-number{font-size:20pt}
.sr-paper[data-amount="less"] .sr-word-image{height:15mm}
.sr-paper[data-amount="less"] .sr-choices{--sr-picture:60mm}
.sr-paper[data-amount="less"] .sr-question{gap:10mm}
/* ちいさい：同じ枠の中で、絵を約6割の大きさにする（変形ではなく大きさで。PDFでも同じに写るように） */
.sr-choice.sr-small img{width:62%;height:62%;left:19%;top:19%}
/* おとこのこ・おんなのこは頭の大きさを動物とそろえて描いたため、体が細く枠の中で小さく見える。
   画像は承認版のまま、表示だけ1.35倍にする（いちばん横に長い「ねる」でも枠からはみ出さない範囲。2026-10-15） */
