@charset "UTF-8";
/* お知らせ・修理カスタマイズ・オーダーグローブ（一覧と記事） */

#page {
	padding-bottom: 120px;
}
.post_page > .block_heading {
	margin-bottom: 44px;
}
.post_heading {
	font-size: 0.8em;
}

/* 本文と横の欄 */
.post_layout {
	display: flex;
	align-items: flex-start;
	gap: 55px;
}
.post_main {
	flex: 1;
	min-width: 0;
}
.side {
	flex: none;
	width: 300px;
}

/* 日付と種類の札 */
.post_meta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 8px;
}
.post_date {
	font-size: 1.4rem;
	color: #259a6a;
	font-weight: 500;
}
.post_category {
	display: inline-block;
	min-width: 116px;
	padding: 0 10px;
	font-size: 1.3rem;
	color: #fff;
	font-weight: 700;
	line-height: 26px;
	text-align: center;
	background-color: #259a6a;
}
.post_category:empty {
	display: none;
}

/* お知らせの一覧（日付・種類・タイトル・抜粋） */
.news_row + .news_row {
	margin-top: 60px;
}
.news_title {
	font-size: 1.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding-bottom: 10px;
	border-bottom: 1px solid #259a6a;
	margin-bottom: 20px;
}
.news_excerpt {
	font-size: 1.4rem;
	line-height: 1.9;
}

/* 修理カスタマイズ・オーダーグローブの一覧（カードが3つずつ並ぶ） */
.post_cards {
	display: flex;
	flex-wrap: wrap;
	gap: 60px 30px;
}
.post_cards .card {
	width: calc((100% - 60px) / 3);
	display: flex;
	flex-direction: column;
}
.post_cards .card_img img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.post_cards .card_title {
	margin-top: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid #000;
	font-size: 1.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.5;
}
.post_cards .card_excerpt {
	margin-top: 20px;
	font-size: 1.4rem;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
.post_cards .card_excerpt:empty {
	display: none;
}
.post_cards .card_btn {
	margin-top: auto;
	padding-top: 24px;
	text-align: center;
}

/* ページ送り（薄い緑の丸。今のページは緑） */
.pagination {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 70px;
}
.pagination a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-size: 1.4rem;
	color: #259a6a;
	background-color: #e3f3eb;
	border-radius: 50%;
}
.pagination .current a {
	color: #fff;
	background-color: #259a6a;
}
.pagination .prev a::before {
	content: '<';
}
.pagination .next a::before {
	content: '>';
}

/* 記事 */
.article_title {
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding-bottom: 12px;
	border-bottom: 1px solid #259a6a;
	margin-bottom: 30px;
}
.article_body {
	font-size: 1.5rem;
	line-height: 2;
}
.article_body > * + * {
	margin-top: 1.6em;
}
.article_body img {
	display: block;
	max-width: 100%;
	max-height: 640px;
	width: auto;
	height: auto;
}
.article_body h2,
.article_body h3 {
	font-size: 1.7rem;
	font-weight: 700;
	padding-left: 12px;
	border-left: 6px solid #259a6a;
}
.article_body a {
	color: #259a6a;
	text-decoration: underline;
}

/* 前後の記事 */
.pager {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 60px;
}
.pager_btn {
	display: block;
	width: 190px;
	line-height: 46px;
	font-size: 1.4rem;
	font-weight: 700;
	text-align: center;
	color: #259a6a;
	border: 1px solid #259a6a;
	position: relative;
}
.pager_btn_list {
	color: #fff;
	background-color: #259a6a;
}
.pager_prev::before,
.pager_next::after {
	position: absolute;
	top: 50%;
	margin-top: -7px;
	width: 14px;
	height: 14px;
	line-height: 14px;
	font-size: 1rem;
	color: #fff;
	background-color: #259a6a;
	border-radius: 50%;
}
.pager_prev::before {
	content: '<';
	left: 12px;
}
.pager_next::after {
	content: '>';
	right: 12px;
}

/* 横の欄（薄い緑の箱） */
.side_box {
	padding: 24px 20px;
	background-color: #e3f3eb;
}
.side_box + .side_box {
	margin-top: 10px;
}
.side_title {
	margin-bottom: 20px;
	font-size: 1.6rem;
	font-weight: 700;
	text-align: center;
}
.side_title span::before {
	content: '～ ';
}
.side_title span::after {
	content: ' ～';
}
.side_categories li + li {
	margin-top: 12px;
}
.side_categories a {
	display: block;
	position: relative;
	padding: 0 30px;
	line-height: 40px;
	font-size: 1.4rem;
	font-weight: 700;
	color: #fff;
	text-align: center;
	background-color: #259a6a;
}
.side_categories li:nth-child(4n+2) a { background-color: #175771; }
.side_categories li:nth-child(4n+3) a { background-color: #ffb51a; }
.side_categories li:nth-child(4n+4) a { background-color: #c0c0c0; }
.side_categories a::after {
	content: '>';
	position: absolute;
	right: 14px;
}
.side_recent_item + .side_recent_item {
	margin-top: 12px;
}
.side_recent_item a {
	display: block;
	padding: 12px 14px;
	background-color: #fff;
}
.side_date {
	display: block;
	font-size: 1.2rem;
	color: #259a6a;
}
.side_post {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 1.3rem;
	line-height: 1.6;
}

@media (max-width: 1024px) {
	#page {
		padding-bottom: 60px;
	}
	.post_page > .block_heading {
		margin-bottom: 24px;
	}
	.post_layout {
		display: block;
	}
	.side {
		width: auto;
		margin-top: 50px;
	}
	.news_row + .news_row {
		margin-top: 36px;
	}
	.news_title {
		font-size: 1.5rem;
		margin-bottom: 12px;
	}
	.news_excerpt {
		font-size: 1.3rem;
	}
	.post_category {
		min-width: 90px;
		font-size: 1.1rem;
		line-height: 22px;
	}
	.post_cards {
		gap: 36px 6%;
	}
	.post_cards .card {
		width: 47%;
	}
	.post_cards .card_title {
		margin-top: 10px;
		padding-bottom: 8px;
		font-size: 1.4rem;
		letter-spacing: 0.02em;
	}
	.post_cards .card_excerpt {
		margin-top: 10px;
		font-size: 1.2rem;
	}
	.post_cards .card_btn {
		padding-top: 14px;
	}
	.post_cards .bt_more {
		line-height: 36px;
		font-size: 1.2rem;
		background-size: 14px;
		background-position: right 8px center;
	}
	.pagination {
		gap: 8px;
		margin-top: 40px;
	}
	.pagination a {
		width: 34px;
		height: 34px;
	}
	.article_title {
		font-size: 1.7rem;
		margin-bottom: 20px;
	}
	.article_body {
		font-size: 1.4rem;
		line-height: 1.8;
	}
	.pager {
		gap: 8px;
		margin-top: 40px;
	}
	.pager_btn {
		width: auto;
		min-width: 90px;
		padding: 0 24px;
		font-size: 1.2rem;
		line-height: 40px;
	}
	.pager_list {
		flex: 1;
		max-width: 150px;
	}
}
