/* RML-CONTRACT-0.9.0-beta.16 | FIXED-PHYSICAL-PAGE-CONTRACT
* beta.16: .rml-print-key may wrap between Japanese characters (keep-all made the 16-character label
* "雇用管理の改善等に関する相談窓口" overflow 44mm and blocked every part-time / fixed-term document).
 * beta.15: Safari ignored page breaks inside the absolutely positioned print root, so a short page merged
 * with the next (4->3, 6->5). Print root is now in normal flow, other body children are display:none,
 * and every page after the first also carries break-before:page.
 * Screen/off-screen A4 is used only to calculate pagination.
 * Print media releases fixed 297mm height to avoid Safari trailing blank pages.
 */
.mdsr-rml-print{
  --rml-print-navy:#10213f;--rml-print-line:#8c96a3;--rml-print-soft:#f3f6fa;--rml-print-label:#eef2f7;
  --rml-print-yellow:#fff9e7;--rml-print-yellow-line:#d7bd64;--rml-print-orange:#fff3e7;--rml-print-orange-line:#db9b53;
  --rml-print-red:#fff0f0;--rml-print-red-line:#c94c4c;--rml-print-text:#17233a;
  display:none;color:var(--rml-print-text);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic","YuGothic",Meiryo,sans-serif;
  font-size:16px;line-height:normal;text-align:left;direction:ltr;writing-mode:horizontal-tb;transform:none!important;zoom:1!important
}
.mdsr-rml-print,.mdsr-rml-print *{box-sizing:border-box!important}
.mdsr-rml-print.is-preparing{display:block!important;position:fixed!important;left:-300mm!important;top:0!important;width:210mm!important;visibility:hidden!important;pointer-events:none!important;z-index:-1!important}
.mdsr-rml-print .rml-print-source{display:none!important}
.mdsr-rml-print .rml-print-pages{padding:1px 0 20px}
.mdsr-rml-print .rml-print-page{width:210mm;height:297mm;margin:18px auto;background:#fff;padding:9mm 10mm 10mm 20mm;overflow:hidden;break-after:page;page-break-after:always}
.mdsr-rml-print .rml-print-page:last-child{break-after:auto;page-break-after:auto}
.mdsr-rml-print .rml-print-page-inner{width:100%;height:278mm;overflow:hidden}
.mdsr-rml-print .rml-print-meta-row{display:flex;justify-content:space-between;gap:8mm;align-items:flex-start;margin-bottom:2.5mm}
.mdsr-rml-print .rml-print-meta{font-size:9.1pt;line-height:1.55}
.mdsr-rml-print .rml-print-tag{border:1px solid #666;padding:2mm 3mm;font-size:9pt;font-weight:700;white-space:nowrap}
.mdsr-rml-print h1{display:block!important;text-align:center!important;font-size:18pt!important;margin:0 0 4mm!important;padding:0!important;color:#111!important;background:transparent!important;border:0!important;letter-spacing:0!important;line-height:1.35!important}
.mdsr-rml-print .rml-print-lead{font-size:9pt;margin:0 0 4mm;line-height:1.5}
.mdsr-rml-print .rml-print-repeat{display:flex;justify-content:space-between;gap:8mm;align-items:center;padding:0 0 3mm;margin:0 0 4mm;border-bottom:2px solid var(--rml-print-navy);font-size:9pt;font-weight:700}
.mdsr-rml-print .rml-print-contract-intro,.mdsr-rml-print .rml-print-check-intro-block{break-inside:avoid;page-break-inside:avoid}
.mdsr-rml-print .rml-print-form-row{display:flex;width:100%;min-height:7.9mm;border-left:1px solid var(--rml-print-line);border-right:1px solid var(--rml-print-line);border-bottom:1px solid var(--rml-print-line);font-size:9pt;break-inside:avoid;page-break-inside:avoid}
.mdsr-rml-print .rml-print-form-row.is-top{border-top:1px solid var(--rml-print-line)}
.mdsr-rml-print .rml-print-key{width:44mm;flex:0 0 44mm;background:var(--rml-print-label);font-weight:700;padding:2.35mm 2.8mm;display:flex;align-items:center;line-height:1.35;word-break:normal;overflow-wrap:anywhere;border-right:1px solid var(--rml-print-line)}
.mdsr-rml-print .rml-print-value{flex:1;padding:2.35mm 3mm;min-width:0;line-height:1.45;overflow-wrap:anywhere;word-break:normal}
.mdsr-rml-print .rml-print-small{font-size:8.35pt}
.mdsr-rml-print .rml-print-form-group{width:100%;break-inside:avoid;page-break-inside:avoid}
.mdsr-rml-print .rml-print-form-group .rml-print-form-row{break-inside:avoid;page-break-inside:avoid}
.mdsr-rml-print .rml-print-form-group.is-page-start .rml-print-form-row:first-child{border-top:1px solid var(--rml-print-line)}
.mdsr-rml-print .rml-print-rate-block{break-inside:avoid;page-break-inside:avoid}
.mdsr-rml-print .rml-print-rate-title{background:var(--rml-print-navy);color:#fff;font-weight:800;font-size:11pt;padding:2.5mm 3mm;margin:0 0 2.5mm}
.mdsr-rml-print .rml-print-rate-table{width:100%;border-collapse:collapse;font-size:9.2pt;table-layout:fixed;margin:0!important}
.mdsr-rml-print .rml-print-rate-table th,.mdsr-rml-print .rml-print-rate-table td{border:1px solid var(--rml-print-line)!important;padding:2.4mm 3mm!important;vertical-align:middle!important;background:#fff;color:#17233a}
.mdsr-rml-print .rml-print-rate-table th{background:var(--rml-print-label)!important;text-align:left}
.mdsr-rml-print .rml-print-rate-table col:first-child{width:78%}.mdsr-rml-print .rml-print-rate-table col:last-child{width:22%}
.mdsr-rml-print .rml-print-rate{font-weight:800;white-space:nowrap;text-align:center}
.mdsr-rml-print .rml-print-signature-wrap{display:flex;flex-wrap:wrap;gap:7mm;margin-top:5mm;break-inside:avoid;page-break-inside:avoid}
.mdsr-rml-print .rml-print-copies-note{flex:0 0 100%;margin:0 0 -4mm;font-size:9pt;line-height:1.5}
.mdsr-rml-print .rml-print-sig{flex:1;border:1px solid #777;min-height:36mm;padding:4mm 5mm;font-size:9.2pt;line-height:1.85}
.mdsr-rml-print .rml-print-write-row{display:flex;align-items:flex-end;gap:1.5mm;min-width:0;margin-top:1.7mm}
.mdsr-rml-print .rml-print-write-label,.mdsr-rml-print .rml-print-stamp{white-space:nowrap}
.mdsr-rml-print .rml-print-write-line{flex:1;border-bottom:1px solid #333;min-width:22mm;height:1.2em}
.mdsr-rml-print .rml-print-filled-line{flex:1;min-width:22mm;border-bottom:1px solid #333;padding:0 1mm .4mm;overflow-wrap:anywhere}
.mdsr-rml-print .rml-print-check-title{border-top:3px solid var(--rml-print-navy);padding-top:4mm;text-align:center;font-size:18pt;font-weight:800;margin-bottom:4mm}
.mdsr-rml-print .rml-print-check-intro{background:var(--rml-print-soft);border:1px solid #d7dde5;padding:3mm;font-size:8.5pt;margin-bottom:4mm}
.mdsr-rml-print .rml-print-counts{display:flex;gap:2mm;margin-bottom:4mm}
.mdsr-rml-print .rml-print-count{flex:1;border:1px solid #999;padding:3mm;text-align:center;font-weight:800;font-size:9.5pt}
.mdsr-rml-print .rml-print-card{border:1.5px solid;border-left-width:4px;border-radius:4mm;padding:3mm 4mm;margin:0 0 3mm;break-inside:avoid;page-break-inside:avoid;font-size:8.9pt;line-height:1.5}
.mdsr-rml-print .rml-print-card .rml-print-badge{display:inline-block;padding:1mm 2mm;border-radius:999px;background:#fff;font-weight:700;font-size:7.8pt;margin-bottom:1mm}
.mdsr-rml-print .rml-print-card h3{display:block!important;font-size:10.3pt!important;margin:0 0 1.5mm!important;padding:0 0 1.5mm!important;background:transparent!important;color:#17233a!important;border:0!important;border-bottom:1px solid rgba(16,33,63,.18)!important;line-height:1.4!important}
.mdsr-rml-print .rml-print-card p{margin:0 0 1mm}.mdsr-rml-print .rml-print-card.is-yellow{background:var(--rml-print-yellow);border-color:var(--rml-print-yellow-line)}.mdsr-rml-print .rml-print-card.is-orange{background:var(--rml-print-orange);border-color:var(--rml-print-orange-line)}.mdsr-rml-print .rml-print-card.is-red{background:var(--rml-print-red);border-color:var(--rml-print-red-line)}.mdsr-rml-print .rml-print-card.is-green{background:#eef7f1;border-color:#8eb29a}
.mdsr-rml-print .rml-print-update{border:1px solid #cbd2dc;margin-top:2mm;padding:0;break-inside:avoid;page-break-inside:avoid}
.mdsr-rml-print .rml-print-update h2{display:block!important;margin:2.5mm!important;background:var(--rml-print-navy)!important;color:#fff!important;padding:3mm!important;font-size:13pt!important;border:0!important;line-height:1.35!important}
.mdsr-rml-print .rml-print-update .rml-print-update-body{padding:0 4mm 4mm;font-size:8.5pt;line-height:1.55}
.mdsr-rml-print .rml-print-footer-id{margin-top:2mm;text-align:right;font-size:7.5pt;color:#687385}
.mdsr-rml-print .is-oversize{outline:2px solid #c94c4c!important}
@media print{
  html,body{width:210mm!important;min-width:210mm!important;max-width:210mm!important;background:#fff!important;margin:0!important;padding:0!important;overflow:visible!important}
  body>*:not(.mdsr-rml-print){display:none!important}
  .mdsr-rml-print,.mdsr-rml-print *{visibility:visible!important}
  body>.mdsr-rml-print{display:block!important;position:static!important;inset:auto!important;float:none!important;width:210mm!important;min-width:210mm!important;max-width:210mm!important;margin:0!important;padding:0!important;background:#fff!important;overflow:visible!important}
  .mdsr-rml-print .rml-print-pages{padding:0!important;margin:0!important}
  .mdsr-rml-print .rml-print-page{width:210mm!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:9mm 10mm 10mm 20mm!important;box-shadow:none!important;overflow:visible!important;break-after:auto!important;page-break-after:auto!important;break-inside:auto!important}
  .mdsr-rml-print .rml-print-page:last-child{break-after:auto!important;page-break-after:auto!important}
  .mdsr-rml-print .rml-print-page+.rml-print-page{break-before:page!important;page-break-before:always!important}
  .mdsr-rml-print .rml-print-pages{display:block!important}
  .mdsr-rml-print .rml-print-page-inner{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
  @page{size:A4 portrait;margin:0}
  .mdsr-rml-print *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
}
.mdsr-rml-print .rml-print-inline-write-line{display:inline-block;vertical-align:baseline;width:38mm;border-bottom:1px solid #333;height:1.05em;min-width:22mm}
.mdsr-rml-print .rml-print-inline-write-line--date{width:32mm}
.mdsr-rml-print .rml-print-sig--full{flex-basis:100%}
