/* ■print-style.css
====================================== */
@media print {
	@page {
		size: A4 portrait;
		margin: 0;
	}

	html {
		font-size: 75% !important;
	}

	* {
		-webkit-print-color-adjust: exact !important;
		color-adjust: exact !important;
		print-color-adjust: exact !important;
	}

	section:not(:last-of-type) {
		box-sizing: border-box;
		margin: 0;
		/* 途中での改ページを避ける */
		page-break-inside: avoid;
		break-inside: avoid;
		page-break-before: auto;
		break-before: auto;

		/* 最小の高さを設定して1ページに収まるように調整 */
		min-height: 297mm;

		/* 元のflexレイアウトも維持 */
		display: flex;
		flex-direction: column;
	}

	section:not(:last-of-type)::after {
		content: "";
		display: block;
		flex-grow: 1;
		background: hsl(223, 6%, 93%);
	}

	/* テーブルの改ページ制御 */
	table {
		page-break-inside: avoid;
	}

	/* 見出しが単独で改ページされるのを防ぐ */
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		page-break-after: avoid;
		break-after: avoid;
	}

	/* リンクの装飾を印刷用に調整 */
	a {
		text-decoration: none;
		color: inherit;
	}

	/* display: none; */
	.d-none_print,
	.d-none_pc:not(.d-print),
	.header:not(.d-print),
	.footer:not(.d-print),
	.breadcrumb,
	.pageBtn-group,
	button,
	.button,
	[class^="adj-"],
	[class*="-Endnote"],
	[class*="videcker-"] {
		display: none !important;
	}
}