@page { size: A4 portrait; margin: 0; }

.m6-pages { width: 210mm; transform-origin: top left; }
@media screen {
  .m6-pages { transform: scale(var(--k, 1)); margin-left: var(--x, 0px); }
  .m6-pages .m6-sheet + .m6-sheet { margin-top: 8mm; }
}

.m6-sheet {
  position: relative;
  box-sizing: border-box;
  width: 210mm;
  height: 297mm;
  background: #fff;
  color: #000;
  font-family: var(--font-main);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 6px 24px rgba(0, 0, 0, .3);
}
.m6-sheet rt { font-size: .5em; font-weight: 400; }
.m6-abs { display: block; }

.m6-mk { position: absolute; width: 6mm; height: 6mm; z-index: 1; }

.m6-mk svg { display: block; width: 100%; height: 100%; }
.m6-mk.tl { top: 9mm; left: 9mm; }
.m6-mk.tr { top: 9mm; right: 9mm; }
.m6-mk.bl { bottom: 9mm; left: 9mm; }
.m6-mk.br { bottom: 9mm; right: 9mm; }

.m6-title { font-size: 6.4mm; font-weight: 700; line-height: 2; overflow: visible; white-space: nowrap; }
.m6-cond  { margin-left: 2mm; font-size: 3.4mm; font-weight: 400; line-height: 1.6; color: #333; }

.m6-fields { display: flex; gap: 8mm; align-items: center; }
.m6-fld { display: flex; align-items: center; gap: 2mm; font-size: 6mm; white-space: nowrap; }
.m6-fld b { font-weight: 400; }
.m6-masu { display: flex; align-items: center; }
.m6-masu i { box-sizing: border-box; width: 12mm; height: 12mm; border: .3mm solid #000; }
.m6-masu i + i { border-left: 0; }
.m6-kugiri { padding: 0 1mm; line-height: 1; font-size: 7.2mm; }
.m6-qr { text-align: center; }
.m6-qr svg { display: block; width: 22mm; height: 22mm; }
.m6-qr code { display: block; margin-top: 1mm; font-family: ui-monospace, "Consolas", monospace; font-size: 2.6mm; letter-spacing: 0; white-space: nowrap; }
.m6-headline { height: 0; border-top: .4mm solid #000; }
.m6-toi { font-size: 5mm; line-height: 2; white-space: nowrap; }

.m6-toi.m6-toi-2 { top: 44.6mm !important; height: 13.4mm !important; font-size: 4.3mm; line-height: 1.5; white-space: normal; word-break: keep-all; }

.m6-qn { display: flex; align-items: center; font-family: var(--font-num); font-size: 4.5mm; line-height: 1; white-space: nowrap; }

.m6-shiki {
  display: flex;
  align-items: center;
  font-family: var(--font-num);
  font-size: 7mm;
  line-height: 1;
  white-space: nowrap;
}
.m6-shiki .m6-op { margin: 0 .8mm; }

.m6-fshiki { display: flex; align-items: center; font-family: var(--font-num); font-size: 6.4mm; line-height: 1; white-space: nowrap; }

.m6-zu-svg { display: block; overflow: visible; }
.m6-zu-ji { display: flex; align-items: center; justify-content: center; font-family: var(--font-num); font-size: 3.8mm; line-height: 1; white-space: nowrap; }
.m6-mae > span   { display: flex; align-items: center; }
.m6-mae .m6-migi { margin-left: auto; }

.m6-kotei { justify-content: center; }
.m6-kotei-ato { justify-content: flex-start; }
.m6-kotei .m6-op { margin: 0; }
.m6-box { display: block; overflow: visible; }

.m6-hissan { display: block; overflow: visible; }
.m6-hissan text { font-family: var(--font-num); fill: #000; }

.m6-qn-bun { font-size: 4.6mm; line-height: 2.2; display: block; }
.m6-bun-abs { overflow: visible; }

.m6-bun { display: block; font-size: 4.6mm; line-height: 2.2; word-break: keep-all; overflow-wrap: anywhere; }

.m6-go { white-space: nowrap; }
.m6-bun-dan .m6-bun { line-height: 1.9; }
.m6-sen { display: block; border-top: .2mm solid #ccc; }
.m6-bun-mei { display: flex; align-items: center; font-size: 4.3mm; line-height: 1.8; white-space: nowrap; }

.m6-tani { display: flex; align-items: center; font-size: 4.6mm; line-height: 1; white-space: nowrap; }
.m6-tani rt { line-height: 1; }
.m6-frac-sen { display: block; }
.m6-ten { display: block; }

.m6-chou-waku { box-sizing: border-box; border: .3mm solid #999; border-radius: 2mm; }
.m6-chou-mae { display: block; font-size: 4.2mm; line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
.m6-qn-chou { font-size: 4.2mm; line-height: 1.8; }
.m6-bun-chou .m6-bun { font-size: 4.2mm; line-height: 1.8; }

.m6-bun-chou .m6-bun.m6-bun-1gyou { display: block; width: max-content; white-space: nowrap; }

.m6-daimon { display: flex; align-items: center; justify-content: center; }
.m6-daimon-svg { position: absolute; left: 0; top: 0; display: block; }
.m6-daimon-ji { position: relative; font-family: var(--font-num); font-size: 4mm; font-weight: 700; line-height: 1; }

.m6-frac { display: inline-flex; flex-direction: column; align-items: center; vertical-align: middle; margin: 0 .4mm; line-height: 1; font-family: var(--font-num); }

.m6-frac-n { border-bottom: .3mm solid currentColor; padding: 0 .5mm .2mm; }
.m6-frac-d { padding: .2mm .5mm 0; }

.m6-bun-chou .m6-bun.m6-bun-1gyou { position: relative; top: -.4mm; }

.m6-foot { text-align: center; font-size: 3.2mm; line-height: 1.4; color: #444; white-space: nowrap; }
.m6-kigen:empty::before { content: '\00a0'; }
.m6-site { position: absolute; right: 9mm; bottom: 5mm; font-size: 3mm; line-height: 1; color: #444; white-space: nowrap; }
.m6-site b { color: #000; margin-right: 1.5mm; letter-spacing: .04em; }

.no-consent-print { display: none; }
@media print {
  html, body { background: #fff !important; margin: 0; padding: 0; }
  .no-print { display: none !important; }
  .sheet-stage { padding: 0; overflow: visible; height: auto !important; }
  .m6-pages { transform: none; margin: 0; }
  .m6-sheet { box-shadow: none; margin: 0; break-after: page; page-break-after: always; }
  .m6-pages .m6-sheet:last-child { break-after: auto; page-break-after: auto; }

  body.print-page:not(.may-print) .sheet-stage { display: none !important; }
  body.print-page:not(.may-print) .no-consent-print {
    display: block !important; margin: 20mm 14mm; font-size: 14pt; line-height: 1.7; color: #000;
  }
}
