/* 工程⑦-1：月間カレンダー専用印刷。通常表示は変更しない。 */
.monthly-print-actions{margin:8px 0 12px}
@page{size:A4 portrait;margin:7mm}
@media print{
 body.e39-print-monthly{background:white!important;margin:0!important}
 body.e39-print-monthly main{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;box-shadow:none!important}
 body.e39-print-monthly main > :not(#calendarPanel){display:none!important}
 body.e39-print-monthly #calendarPanel > :not(#calendar){display:none!important}
 body.e39-print-monthly #calendar{display:block!important;overflow:visible!important;width:100%!important;max-width:100%!important}
 body.e39-print-monthly #calendar .month{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
 body.e39-print-monthly #calendar .month th,body.e39-print-monthly #calendar .month td{width:14.2857%!important;min-width:0!important;max-width:14.2857%!important;box-sizing:border-box!important;padding:1.2mm .6mm!important;font-size:6.2pt!important;line-height:1.2!important;overflow-wrap:anywhere!important;word-break:normal!important}
 body.e39-print-monthly #calendar .month td{height:auto!important;min-height:0!important;break-inside:avoid!important}
 body.e39-print-monthly #calendar .month tr{break-inside:avoid!important}
 body.e39-print-monthly #calendar .month caption{font-size:12pt!important;font-weight:700!important;margin-bottom:2mm!important}
 body.e39-print-monthly #calendar .month .day-button{font-size:8pt!important;line-height:1.15!important;min-width:0!important;width:auto!important;padding:0!important;color:inherit}
 body.e39-print-monthly #calendar .month .holiday-name{font-size:5.5pt!important}
 body.e39-print-monthly #calendar .month .note,body.e39-print-monthly #calendar .month .marker{font-size:5.7pt!important;line-height:1.2!important;margin-top:.5mm!important;font-weight:600!important}
 body.e39-print-monthly #calendar .month .marker{padding:.2mm .5mm!important}
 body.e39-print-monthly #calendar .month .date-heading,body.e39-print-monthly #calendar .month .marker-row,body.e39-print-monthly #calendar .month .pillar-row{gap:.5mm!important}
}
