/* 季節の授業キット（印刷用） */
* { box-sizing: border-box; }
html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
body { margin: 0; background: #e9e4da; color: #1f1a14; font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif; font-size: 15px; line-height: 1.6; }
.kit-bar { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 16px; background: #fffaf0; border-bottom: 1px solid #d8cfbf; }
.kit-bar a { color: #a8262d; text-decoration: none; font-weight: 700; }
.kit-t { flex: 1 1 auto; font-family: "Shippori Mincho", serif; font-weight: 700; }
.kit-bar button { background: #b3262d; color: #fff; border: 0; border-radius: 6px; padding: 8px 18px; font: inherit; font-weight: 700; cursor: pointer; }
.kit-bar select { font: inherit; padding: 4px; }

.sheet { position: relative; background: #fff; margin: 18px auto; padding: 14mm 14mm 16mm; box-shadow: 0 2px 10px rgba(0,0,0,.12); overflow: hidden; }
.paper-letter .sheet { width: 216mm; min-height: 279mm; }
.paper-a4 .sheet { width: 210mm; min-height: 297mm; }
.sheet-foot { position: absolute; right: 14mm; bottom: 7mm; margin: 0; font-size: 10px; color: #999; letter-spacing: .08em; }
.k-h { font-family: "Shippori Mincho", serif; font-size: 26px; margin: 0 0 4px; border-bottom: 3px double #b3262d; padding-bottom: 6px; }
.k-sub { margin: 0 0 12px; color: #5e5246; }
.k-h2 { font-family: "Shippori Mincho", serif; font-size: 18px; margin: 18px 0 8px; color: #8c1d23; }
.k-name { margin: 6px 0 4px; font-weight: 700; display: flex; gap: 8px; align-items: flex-end; }
.k-line { flex: 0 0 60%; border-bottom: 1.5px solid #333; height: 1.4em; }
.k-rule { height: 34px; border-bottom: 1.2px dashed #aaa; }
.k-hint { color: #7a6c5d; font-size: 13px; margin: 2px 0 4px; }
.k-label { font-weight: 700; margin: 14px 0 2px; }
.k-ol { margin: 0; padding-left: 1.4em; }
.k-ol li { margin: 0; }
.k-steps { padding-left: 1.3em; margin: 10px 0; }
.k-steps li { margin: 0 0 10px; }
.k-tbl { width: 100%; border-collapse: collapse; margin: 4px 0 12px; }
.k-tbl td { border: 1px solid #d9d2c5; padding: 6px 8px; vertical-align: top; }
.k-jp { font-family: "Shippori Mincho", serif; font-weight: 700; white-space: nowrap; }
.k-note { background: #f7f1e6; border-left: 4px solid #c9a24c; padding: 8px 12px; font-size: 14px; }

.k-kanji { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.k-kanji li { border: 1px solid #ddd3c3; border-radius: 4px; text-align: center; padding: 4px 2px; }
.k-kanji span { display: block; font-family: "Yuji Syuku", "Shippori Mincho", serif; font-size: 30px; line-height: 1.2; }
.k-kanji small { display: block; font-size: 10.5px; line-height: 1.3; color: #5e5246; }
.k-boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.k-box { aspect-ratio: 1; border: 2px solid #8c1d23; position: relative;
  background: linear-gradient(#0000 calc(50% - .5px), #d9b7b9 calc(50% - .5px), #d9b7b9 calc(50% + .5px), #0000 0),
              linear-gradient(90deg, #0000 calc(50% - .5px), #d9b7b9 calc(50% - .5px), #d9b7b9 calc(50% + .5px), #0000 0); }
.k-box-l { width: 70mm; }
.k-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.k-panel { border: 2px solid #333; border-radius: 8px; padding: 6px 12px 12px; min-height: 120mm; }
.k-panel.oni { border-color: #8c1d23; background: #fdf3f2; }
.k-panel.fuku { border-color: #b08a2e; background: #fdf9ec; }
.k-mask { display: grid; place-items: center; padding-top: 6mm; }
.k-oni { width: 170mm; max-width: 100%; }
.k-ema-grid { display: grid; gap: 10mm; justify-items: center; padding-top: 4mm; }
.k-ema { width: 165mm; max-width: 100%; }
.k-tz-row { display: flex; justify-content: space-between; gap: 6mm; margin: 6mm 0 4mm; }
.k-tz { flex: 1; height: 205mm; border: 1.6px dashed #555; border-top: 9mm solid var(--tz); position: relative; border-radius: 2px; }
.k-tz-hole { position: absolute; top: -6mm; left: 50%; width: 4mm; height: 4mm; margin-left: -2mm; border-radius: 50%; background: #fff; border: 1px solid #555; }
.paper-a4 .k-tz { height: 222mm; }
.k-poster { text-align: center; }
.k-poster-t { font-family: "Shippori Mincho", serif; font-size: 28px; font-weight: 700; margin: 4mm 0; }
.k-bigbox { width: 140mm; max-width: 100%; aspect-ratio: 1; margin: 0 auto 6mm; border: 3px solid #8c1d23;
  background: linear-gradient(#0000 calc(50% - .5px), #e3c9ca calc(50% - .5px), #e3c9ca calc(50% + .5px), #0000 0),
              linear-gradient(90deg, #0000 calc(50% - .5px), #e3c9ca calc(50% - .5px), #e3c9ca calc(50% + .5px), #0000 0); }
.k-poster .k-label, .k-poster .k-ol { text-align: left; }
.k-bar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; margin: 8px 0 0; }
.k-bar span { height: 9mm; border: 1.4px solid #8c1d23; border-radius: 2px; }
.k-bar-n { display: flex; justify-content: space-between; font-size: 11px; color: #7a6c5d; margin-bottom: 4px; }

@media (max-width: 860px) {
  .paper-letter .sheet, .paper-a4 .sheet { width: auto; min-height: 0; margin: 12px; padding: 18px 16px 30px; }
  .k-kanji { grid-template-columns: repeat(4, 1fr); }
  .k-tz { height: 150mm; }
}
@media print {
  body { background: #fff; }
  .no-print { display: none !important; }
  .sheet { box-shadow: none; margin: 0; padding: 0; width: auto !important; min-height: 0 !important; break-after: page; page-break-after: always; }
  .sheet:last-of-type { break-after: auto; }
  .sheet-foot { bottom: 0; right: 0; }
}
