@charset "UTF-8";

/* 用紙サイズの指定（A4） */
@page {
	margin: 10mm;
	/* A4縦サイズの場合 */
	/* size: 210mm 297mm; */
	/* A4横サイズの場合 */
	size: 297mm 210mm;
}

@media print {
	/* 全体設定 */
	body {
		/* 印刷時でも背景色や背景画像を表示 */
		-webkit-print-color-adjust: exact;
		/* 印刷時の全ページ幅を統一（px数値はお好みで） */
		/* width: 1190px; */
		/* なるべく多くのブラウザで切れないようにするため */
		zoom: 0.6;
	}

	.noprint,
	header,
	footer,
	aside,
	.search_wrap,
	.pager,
	.content_head [class*="btn-"]{
		display: none;
	}

	main{padding: 0;}
	.contents_wrap{margin: 0;}
	main.menu_page .contents_wrap,
	.order_table_wrap{
		width: 100%!important;
		overflow: hidden;
	}

	table.list_table th,
	table.list_table td{
    padding: 1rem 1rem;
	}

	.caselayer_case_wrap ul,
	#layer_wrap,
	#case_detail{
		height: fit-content;
	}
	.contents_wrap .main-layer>*{
		padding-right: 0;
	}
	#order_table td.left{
		white-space: normal;
	}

	.no_print{
		display: none !important;
	}

	#invoice_list thead{
		display: table-header-group;
		break-inside: avoid;
	}

	/* 改ページをいれる場合 */
	/* 各セクションで改ページが行われるようにしています */
	/* section {
		page-break-before: always;
	} */
	/* 特定のセクションでは改ページを入れない場合の指定 */
	/* section + section.new-none:not(:root) {
		page-break-before: avoid;
	} */
	/* 特定の場所で改ページを入れたいときの指定 */
	/* .new-page {
		page-break-before: always;
	} */
}