@font-face {
  font-family: "KokugoKlee2";
  src: url("kleeone-kokugo2.woff") format("woff");
  font-display: block;
}
.kokugo2-page {
  --kfont: "UD デジタル教科書体 NK-R", "UD Digi Kyokasho NK-R", "UD Digi Kyokasho NK",
           "UD デジタル教科書体 N-R", "UD Digi Kyokasho N",
           "游教科書体", "YuKyokasho", "HG教科書体", "HGKyokashotai",
           "KokugoKlee2", serif;
}

.sheet.kokugo-sheet.d2-sheet { display: block; padding: 12mm 11mm 8mm; }

body.no-answer .sheet.kokugo-sheet.d2-sheet.k-answer-sheet { display: none; }
.d2-sheet, .d2-sheet * { box-sizing: border-box; }

.d2-atama { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: .3mm solid #888; padding-bottom: 1.5mm; }
.d2-midashi { font-size: 5.2mm; line-height: 1.3; }
.d2-fuda { font-size: 3.4mm; border: .3mm solid #666; border-radius: 3mm; padding: .3mm 2mm; margin-right: 2mm; vertical-align: .6mm; }
.d2-dai { font-size: 4.2mm; }
.d2-kotae-fuda { white-space: nowrap; flex-shrink: 0; margin-left: 3mm; color: #c62828; font-size: 5mm; border: .5mm solid #c62828; padding: .5mm 3mm; }
.d2-shiji { font-size: 3.6mm; line-height: 1.5; margin: 2mm 0; }

.d2-honbun { writing-mode: vertical-rl; height: 130mm; width: 100%; overflow: hidden; background: #fdf8e4; border: .3mm solid #d8cc9c; border-radius: 2mm; padding: 4mm 5mm; font-size: 4.3mm; line-height: 1.9; }
.d2-honbun p { margin: 0; }
.d2-honbun p.d2-dan { text-indent: 1em; }
.d2-maru { margin-bottom: .1em; }
.d2-bousen { text-decoration: underline; text-decoration-thickness: .25mm; text-underline-position: right; text-underline-offset: .6mm; }
.d2-kuuran { display: inline-block; border: .3mm solid #333; width: 1.25em; height: 2.6em; line-height: 1.25em; text-align: center; font-size: .85em; margin: .15em 0; text-indent: 0; }

.d2-toi { writing-mode: vertical-rl; height: 117mm; width: 100%; overflow: hidden; margin-top: 3mm; padding: 1mm; font-size: 4.0mm; line-height: 1.85; border-top: .3mm dashed #c99; }
.d2-mon { margin-left: 3.2mm; }
.d2-bango { display: inline-block; text-combine-upright: all; -webkit-text-combine: horizontal; background: #333; color: #fff; width: 1.3em; height: 1.3em; line-height: 1.3em; text-align: center; font-size: .9em; margin-bottom: .3em; border-radius: .5mm; }
.d2-yuudou { padding-top: 1.2em; }
.d2-waku { display: inline-block; width: 8.6mm; border: .35mm solid #222; vertical-align: middle; margin: .6mm 0; background: #fff; text-align: start; line-height: 8.2mm; }
.d2-kotae { color: #c62828; font-size: 3.5mm; }
.d2-kotae-chuu { color: #c62828; font-size: 3.2mm; }
.d2-sentaku { padding-top: 1.2em; }
.d2-kigou { margin-bottom: .2em; }

.d2-tcy { text-combine-upright: all; -webkit-text-combine: horizontal; }
