/* ==========================================================================
   記事詳細ページ専用スタイル
   ========================================================================== */

/* 親コンテナの余白調整（下部CTAとの間） */
.l-mainContent__inner {
	padding-bottom: 160px;
}

/* 記事詳細ヘッダー */
.p-entry-detail__header {
	border-bottom: 1px solid #ccc;
	padding-bottom: 16px;
	margin-bottom: 32px;
}

.p-entry-detail__date {
	font-size: 14px;
	line-height: 1.2;
	margin-bottom: 8px;
}

.p-entry-detail__title {
	font-size: 20px;
	font-weight: 400;
	color: var(--color_text);
	line-height: 1.4;
	margin: 0;
}

/* アイキャッチ画像を3:2比率で固定（一覧のブログカードと揃える） */
.p-articleThumb {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	margin: 0;
}

.p-articleThumb__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* BACKボタン */
.p-entry-detail__footer {
	margin-top: 80px;
}

.c-btn-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 240px;
	height: 48px;
	border: 1px solid #0c4394;
	background-color: #fff;
	color: #0c4394;
	font-size: 16px;
	text-decoration: none;
	letter-spacing: 0.05em;
	cursor: pointer;
	padding: 0;
	font-family: inherit;
	transition: background-color 0.3s ease, color 0.3s ease;
}

@media (hover: hover) {

	.c-btn-back:hover {
		background-color: #0c4394;
		color: #fff;
	}
}

.c-btn-back:focus-visible {
	outline: 2px solid #0c4394;
	outline-offset: 2px;
}

/* ==========================================================================
   レスポンシブ（SP: ~768px）
   ========================================================================== */

@media screen and (max-width: 768px) {

	.l-mainContent__inner {
		padding-bottom: 80px;
	}

	.p-entry-detail__header {
		padding-bottom: 16px;
		margin-bottom: 24px;
	}

	.p-entry-detail__title {
		font-size: 18px;
	}

	.p-entry-detail__footer {
		margin-top: 40px;
		display: flex;
		justify-content: center;
	}

}