@charset "UTF-8";

.f_din {
	font-family: "din-2014", sans-serif;
}

/* 上の余白は固定ヘッダー（152px）を避けるため。FVを持たない詳細ページの既定値（.single_case と同じ）。
   パンくずは他ページと同じ白地に乗せたいので、余白はグレーの .single_page ではなく main 側に置く */
.single_main {
	padding-block: 150px 0;
}

.single_page {
	background: #F5F5F5;
	padding-block: 0;
}

.single_page .common_page_wrap {
	padding-block: 80px 140px;
}

.single_page .article {
	background: #fff;
	border-radius: 50px;
	border: 2px solid #E3E3E3;
	padding: 70px 60px;
}

.single_page .article .main_title {
	padding-inline: 4.3em 0;
	margin-block: 0 3em;
	position: relative;
}

.single_page .article .main_title::before {
	content: "";
	width: 8px;
	height: 100%;
	background: #707070;
	border-radius: 100vmax;
	position: absolute;
	top: 0;
	left: 0;
}

.single_page .article .main_title .title {
	font-size: 30px;
	letter-spacing: .08em;
	font-weight: 700;
	line-height: 1.5;
}

.single_page .article .main_title .cat_box {
	display: flex;
	gap: 1em;
	margin-block: 0 1.5em;
}

.single_page .article .main_title .cat_box .date,
.single_page .article .main_title .cat_box .update {
	flex-shrink: 0;
	color: #848484;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
}

.single_page .article .main_title .cat_box .cat_list {
	width: 100%;
}

.single_page .article .main_title .cat_box .cat_list ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 0.7em;
}

.single_page .article .main_title .cat_box .cat_list li {
	color: #848484;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.single_page .article .main_img {
	width: 100%;
	margin: 0 auto 1.7em;
}

/* アイキャッチは切り取らずに全体を見せる。
   style.css が同じセレクタで aspect-ratio:3/2 と object-fit:cover を指定しているので、両方とも打ち消す */
.single_page .article .main_img img {
	width: 100%;
	height: auto;
	aspect-ratio: auto;
	object-fit: contain;
}

.single_page .article .cont {
	padding-inline: 0;
}

.single_page .article .cont p {
	font-size: 15px;
	letter-spacing: .06em;
	font-weight: 400;
	line-height: 1.9;
}

.single_page .article .cont p+p {
	margin-block: 2em 0;
}

.single_page .article .cont h2 {
	font-size: 20px;
	letter-spacing: .06em;
	font-weight: 700;
	border-left: 6px solid var(--main-color);
	padding-inline: 0.7em 0;
	margin-block: 3em 1.2em;
}

.single_page .article .cont h3 {
	font-size: 18px;
	letter-spacing: .06em;
	font-weight: 700;
	border-bottom: 1px solid #959595;
	padding-block: 0 0.2em;
	margin-block: 3em 1.2em;
}

.single_page .article .cont h4,
.single_page .article .cont h5,
.single_page .article .cont h6 {
	font-size: 16px;
	letter-spacing: .06em;
	font-weight: 700;
	margin-block: 3em 1.2em;
}

.single_page .article .cont .post_image {
	margin-block: 1.5em;
}

.single_page .article .cont ul {
	list-style: disc;
	padding-inline: 1em 0;
	margin-block: 1.2em;
}

.single_page .article .cont ul li {
	font-size: 16px;
	letter-spacing: .06em;
	line-height: 1.5;
}

.single_page .article .cont ul li+li {
	margin-block: 0.25em 0;
}

/* 記事本文の番号付きリスト（2026/09/03 追加） */
.single_page .article .cont ol {
	list-style: decimal;
	padding-inline: 1.5em 0;
	margin-block: 1.2em;
}

.single_page .article .cont ol li {
	font-size: 16px;
	letter-spacing: .06em;
	line-height: 1.5;
}

.single_page .article .cont ol li+li {
	margin-block: 0.25em 0;
}

/* 記事本文の表（2026/09/03 追加） */
.single_page .article .cont table {
	width: 100%;
	border-collapse: collapse;
	margin-block: 1.5em;
	font-size: 15px;
	letter-spacing: .04em;
	line-height: 1.6;
}

.single_page .article .cont table th,
.single_page .article .cont table td {
	width: auto;
	border: 1px solid #D9D9D9;
	padding: 0.8em 1em;
	text-align: left;
	vertical-align: middle;
}

/* 見出しセル：th、またはthを持たない表の1行目 */
.single_page .article .cont table th,
.single_page .article .cont table:not(:has(th)) tbody tr:first-child td {
	background: #F5F7F6;
	color: #235034;
	font-weight: 700;
}

/* 関連ブログ */
.single_page .related_post_block {
	margin-block: 70px 0;
}

.single_page .related_post_block .related_post_ttl {
	color: #265436;
	font-size: 20px;
	letter-spacing: .06em;
	font-weight: 700;
	line-height: 1.5;
	border-bottom: 1px dashed #B2B2B2;
	padding-block: 0 0.4em;
	margin-block: 0 0.7em;
}

.single_page .related_post_block .related_post_list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.single_page .related_post_block .related_post_list .related_post_item {
	display: flex;
	flex-direction: column;
	background-color: #F5F7F6;
	border: 2px solid #183F27;
}

.single_page .related_post_block .related_post_list .related_post_item .item_img {
	width: 100%;
	height: 120px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.single_page .related_post_block .related_post_list .related_post_item .item_img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: .3s;
}

.single_page .related_post_block .related_post_list .related_post_item:hover .item_img img {
	transform: scale(1.08);
}

.single_page .related_post_block .related_post_list .related_post_item .item_text_area {
	flex-grow: 1;
	padding: 14px;
}

.single_page .related_post_block .related_post_list .related_post_item .item_text_area .item_date {
	color: #8D8D8D;
	font-size: 13px;
	font-weight: 400;
	line-height: 1;
	margin-block: 0 0.6em;
}

.single_page .related_post_block .related_post_list .related_post_item .item_text_area .item_name {
	color: #183F27;
	font-size: 14px;
	letter-spacing: .02em;
	font-weight: 700;
	line-height: 1.5;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.single_page .archive_btn {
	width: fit-content;
	margin: 2.5em auto 0;
}

.single_page .archive_btn .link {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.4em;
	color: #3E3E3E;
	font-size: 22px;
	letter-spacing: .08em;
	font-weight: 500;
	position: relative;
}

.single_page .archive_btn .link .mark {
	width: 20px;
	aspect-ratio: 1;
	min-width: 0;
	background: #4B4B4B;
	border-radius: 50%;
	display: grid;
	place-content: center;
}

.single_page .archive_btn .link .mark::before {
	content: "";
	mask-image: url(./image/icon_arrow.svg);
	mask-repeat: no-repeat;
	mask-size: contain;
	background: #fff;
	width: 5px;
	aspect-ratio: 5/9;
	min-width: 0;
	display: block;
	translate: -0.05em 0;
}

.single_page .archive_btn .link::after {
	content: "";
	width: 78%;
	height: 2px;
	background: #3E3E3E;
	border-radius: 100vmax;
	position: absolute;
	bottom: 0;
	right: 0.2em;
	pointer-events: none;
}

@media (max-width: 750px) {
	.single_main {
		padding-block: 33vw 0;
	}

	.single_page {
		padding-block: 0;
	}

	.single_page .common_page_wrap {
		padding-block: 15vw 18vw;
	}

	/* style.css の `.single_page .wrap { max-width: 95% }` がパンくずにも効いてしまうので、
	   パンくずだけ他ページ（common_fv）と同じ既定値（style.css の `.wrap`）に戻す */
	.single_page .common_lower_breadcrumb .wrap {
		max-width: 89.75%;
	}

	.single_page .article {
		border-radius: 8vw;
		padding: 10vw 6.5vw;
	}

	.single_page .article .main_title {
		padding-inline: 2em 0;
		margin-block: 0 2.5em;
	}

	.single_page .article .main_title::before {
		width: 7px;
	}

	.single_page .article .main_title .title {
		font-size: 4.1vw;
		letter-spacing: .07em;
	}

	.single_page .article .main_title .cat_box {
		flex-wrap: wrap;
		gap: 0.5em 0.8em;
		margin-block: 0 1.2em;
	}

	.single_page .article .main_title .cat_box .date,
	.single_page .article .main_title .cat_box .update {
		font-size: 3.3vw;
	}

	.single_page .article .main_title .cat_box .cat_list {
		width: auto;
	}

	.single_page .article .main_title .cat_box .cat_list li {
		font-size: 3.6vw;
	}

	.single_page .article .main_img {
		margin: 0 auto 1.2em;
	}

	.single_page .article .cont {
		padding-inline: 0;
	}

	.single_page .article .cont p {
		font-size: 3.6vw;
		line-height: 1.7;
	}

	.single_page .article .cont p+p {
		margin-block: 1.5em 0;
	}

	.single_page .article .cont h2 {
		font-size: 3.9vw;
		line-height: 1.5;
	}

	.single_page .article .cont h3 {
		font-size: 3.7vw;
	}

	.single_page .article .cont h4,
	.single_page .article .cont h5,
	.single_page .article .cont h6 {
		font-size: 3.6vw;
	}

	.single_page .article .cont ul li {
		font-size: 3.6vw;
	}

	.single_page .article .cont ol {
		padding-inline: 1.5em 0;
	}

	.single_page .article .cont ol li {
		font-size: 3.6vw;
	}

	.single_page .article .cont table {
		font-size: 3.6vw;
		margin-block: 1.5em;
	}

	.single_page .article .cont table th,
	.single_page .article .cont table td {
		padding: 0.7em 0.8em;
	}

	/* SPでは見出しセルを折り返さない（列幅を見出しの文字幅に合わせる） */
	.single_page .article .cont table th,
	.single_page .article .cont table:not(:has(th)) tbody tr:first-child td {
		white-space: nowrap;
	}

	/* 見出しが長く本文幅を超える表は、表の中だけ横スクロールさせる（theadを持たない表のみ） */
	.single_page .article .cont table:not(:has(thead)) {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.single_page .article .cont table:not(:has(thead)) tbody {
		display: table;
		width: 100%;
		border-collapse: collapse;
	}

	.single_page .archive_btn .link {
		font-size: 4.6vw;
		gap: 0.7em;
	}

	.single_page .archive_btn .link .mark {
		width: 6.4vw;
	}

	.single_page .archive_btn .link .mark::before {
		width: 1.5vw;
	}

	.single_page .archive_btn .link::after {
		width: 71%;
		bottom: -0.1em;
	}

	/* 関連ブログ */
	.single_page .related_post_block {
		margin-block: 12vw 0;
	}

	.single_page .related_post_block .related_post_ttl {
		font-size: 4vw;
		letter-spacing: .04em;
		margin-block: 0 0.8em;
	}

	.single_page .related_post_block .related_post_list {
		grid-template-columns: repeat(2, 1fr);
		gap: 4vw;
	}

	.single_page .related_post_block .related_post_list .related_post_item .item_img {
		height: 30vw;
	}

	.single_page .related_post_block .related_post_list .related_post_item .item_text_area {
		padding: 3vw;
	}

	.single_page .related_post_block .related_post_list .related_post_item .item_text_area .item_date {
		font-size: 2.9vw;
	}

	.single_page .related_post_block .related_post_list .related_post_item .item_text_area .item_name {
		font-size: 3.3vw;
	}
}