@charset "utf-8";

/* A4縦 */
@page {
	size: A4 portrait;
}

@media print {
	/* A4縦 */
	body {
		width: 200mm;
		-webkit-print-color-adjust: exact;
	}
	/* ヘッダー */
	header {
		width: 200mm;
	}
	/* お問い合わせ（ヘッダー） */
	.l5_header_shoulder {
		width: auto;
	}
	.l5_contact_form {
		display: none;
	}
	/* スライドショー（先頭１枚を印刷） */
	.slider {
		width: 200mm;
	}
	.bx-wrapper {
		display: none;
	}
	.slider-printimg {
		display: block!important;
		position: relative;
	}
	.slider-printimg img {
		width: 200mm!important;
	}
	.slider-printimg .bx-caption {
		background: rgba(0, 0, 0, 0.55)!important;
		position: absolute;
		bottom: 0;
		left: 0;
		line-height: 1.0!important;
		width: 200mm;
	}
	.slider-printimg .bx-caption span {
		color: #fff;
		display: block;
		font-size: .75em!important;
		padding: 8px!important;
	}

	/*アニメーションで初期表示状態をそのまま印刷対象とする場合はこちらを有効に*/
	.l5_top_banner {
		width: 200mm!important;
	}
	/*一律アニメーションなしのキャプションを表示する場合はこちらを有効に*/
	/*.l5_top_banner {
		display: none!important;
	}
	.l5_top_banner_print {
		display: block!important;
		width: 200mm!important;
		list-style: none;
		padding: 0;
		margin: 0;
	}
	*/
	/*コメントアウトここまで*/

	/* 全体の文字サイズ */
	body {
		font-size: 70%!important;
	}
	/* 背景グラデーション */
	#l5_container {
		background-image: none!important;
	}
	/* パーツのベース */
	.l5_main_content_article {
		width: 200mm;
		break-inside: avoid;
		padding-top:10px!important; 
		padding-bottom:5px!important; 
	}
	.l5_main_content_article .l5_article {
		padding: 0.5em!important;
	}
	.l5_main_content_article h2 {
		padding-right:1em!important;
	}
	/* 文章＋画像パーツの画像 */
	.l5_article img.img_small {
		max-width: 200px!important;
	}
	.l5_article img.img_big {
		max-width: 300px!important;
	}
	/* ２点・３点ボタン */
	.l5_parts_btn.btn3 {
		width: 100%!important;
		margin: 0 auto!important;
	}
	.l5_parts_btn.btn3 ul {
		gap: 2em;
	}
	.l5_parts_btn.btn2 {
		width: 80%!important;
		margin: 0 auto!important;
	}
	.l5_parts_btn.btn2 ul {
		gap: 4em;
	}
		/* ２点・３点のリンクボタン */
		.l5_parts_btn .linkbtnwrapper {
			max-width: 210px!important;
			margin: 0 auto!important;
		}
		.l5_parts_btn p {
			max-width: 190px!important;
		}
	/* 一律とするか */
	/*.l5_parts_btn img {
		max-width: 150px!important;
	}
	*/
	/* 大小でサイズを分けるか */
	.l5_parts_btn .list.big img {
		max-width: 190px!important;
	}
	.l5_parts_btn .list.small img {
		max-width: 150px!important;
	}
	/* 表 */
	.l5_article_table {
		overflow:hidden;
	}
	.l5_article_table table{
		transform: scale(.645);
		transform-origin: left;
		margin-bottom: 0!important;
		overflow:auto;
	}
	.l5_article_table table th,
	.l5_article_table table td {
		padding: 8px!important;
	}
	/* youtube（動画部分の印刷は難しいかも） */
	.l5_parts_youtube iframe {
		display: none;
	}
	.l5_parts_youtube img {
		display: block!important;
	}
	.l5_parts_youtube.movie_left img {
		float: left;
		margin: 0 2em 2em auto;
	}
	.l5_parts_youtube.movie_right img {
		float: right;
		margin: 0 auto 2em 2em;
	}
	.l5_parts_youtube.movie_vertical img {
		margin: 1em auto;
	}
	.l5_parts_youtube p {
		width: 185mm!important;
	}
	.l5_parts_youtube.movie_vertical p {
		width: 140mm!important;
	}
	/* youtubeなら消す（でもhasは未サポート jsの印刷前後イベントハンドラで消したり出したりするしかないかも） */
	.l5_main_content_article:has(.l5_parts_youtube) {
		display: none!important;
	}
	/* バナー */
	.l5_parts_banner img {
		margin: 0 0.8em 0.8em 0.8em!important;
		width: 120px!important;
		height: 40px!important;
	}
	/* 注目記事 */
	#main-news ul {
		margin-left: 0;
	}
	#main-news span {
		width: auto;
	}
	/* 事務所だより */
	.l5_main_content_article a.l5_dayori {
		margin: 0.5em auto!important;
	}
	/* ページの先頭に戻る */
	#l5_link_top {
		display: none!important;
	}
	/* フッター */
	.l5_nav_bottom ul {
		width: 200mm;
	}
	.l5_footer {
		width: 200mm;
	}
	footer {
		break-inside: avoid;
	}
	/* お問い合わせ（フッター） */
	.l5_footer_address_map {
		display: none;
	}
	.l5_footer_contact {
		display: none;
	}


	/* 記事ページ */

	/* 左側メニュー */
	#l5_story_menu {
		display:none!important;
	}
	#l5_story_content {
		width: 200mm;
	}
	/* 記事の改ページ条件*/
	#l5_story_content > .l5_main_content_article {
		break-inside: auto!important;
	}
	#l5_story_content > .l5_main_content_article > .l5_article > .l5_article{
		/*break-inside: avoid!important;*/
	}
	.l5_article .add-img img{
		break-inside: avoid!important;
		max-width: 550px!important;
	}
	/* 表 */
	.l5_articlecorner_table {
		break-inside: avoid!important;
		overflow:hidden;
	}
	.l5_articlecorner_table table{
		transform: scale(0.76);
		transform-origin: left;
		margin-bottom: 0!important;
		overflow:auto;
	}
	.l5_articlecorner_table table th,
	.l5_articlecorner_table table td {
		padding: 8px!important;
		width: 60px!important;
	}
	#l5_story_content .l5_sns {
		width: 200mm;
	}
	/* youtube */
	.l5_article iframe {
		display: none;
	}
	.l5_article .imgprint {
		display: block!important;
	}
	#l5_story_container {
		display: block;
	}
}
