/* 関連記事ブロック共通スタイル */
.p-blogCard {
	position: relative;
	margin: 2em 0;
	padding: 1.2rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	transition: all 0.3s ease;
	background-color: #fff;
}

.p-blogCard:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.p-blogCard__caption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0.5em 1em;
	background-color: var(--brand-color);
	color: #fff;
	font-size: 0.8em;
	z-index: 1;
	border-radius: 0 0 4px 0;
}

.p-blogCard__link {
	display: flex;
	text-decoration: none;
	color: #333;
}

.p-blogCard__thumb {
	width: 21%;
	position: relative;
	overflow: hidden;
}

.p-blogCard__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.p-blogCard:hover .p-blogCard__thumb img {
	transform: scale(1.05);
}
.p-blogCard:hover .p-blogCard__link {
	text-decoration: none;
}

.p-blogCard__body {
	flex: 1;
	padding: 1.5em;
	display: flex;
	align-items: center;
}

.p-blogCard__title {
	margin: 0 0 0.5em;
	color: #333;
	order: 1;
}

.p-blogCard__excerpt {
	margin: 0.5em 0;
	font-size: 0.9em;
	line-height: 1.6;
	color: #666;
	order: 2;
	max-height: 4.8em;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.p-blogCard__meta {
	margin-top: auto;
	font-size: 0.8em;
	color: #888;
	order: 3;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	align-items: center;
}

.p-blogCard__category {
	display: inline-block;
	padding: 0.2em 0.5em;
	background-color: #f0f0f0;
	border-radius: 3px;
}

.p-blogCard__site {
	display: inline-block;
}

/* テキストスタイル */
.p-blogCard--text {
	border: none;
	box-shadow: none;
	padding: 0;
	margin: 1em 0;
}

.p-blogCard--text .p-blogCard__link {
	display: inline-flex;
	align-items: center;
	color: #1976d2;
	text-decoration: underline;
	font-weight: normal;
	transition: color 0.2s ease;
}

.p-blogCard--text .p-blogCard__link:hover {
	color: #1565c0;
}

.p-blogCard--text .p-blogCard__icon {
	display: inline-flex;
	margin-right: 0.5em;
	font-size: 0.9em;
}

/* スリムスタイル */
.p-blogCard--slim {
	border: none;
	background-color: #f5f5f5;
	padding: 0;
	border-radius: 4px;
}

.p-blogCard--slim .p-blogCard__link {
	padding: 0.8em 1.2em;
	display: flex;
	align-items: center;
}

.p-blogCard--slim .p-blogCard__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2em;
	height: 2em;
	margin-right: 0.8em;
	background-color: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.p-blogCard--slim .p-blogCard__title {
	margin: 0;
}

/* モバイルでの表示調整 */
@media screen and (max-width: 767px) {
	.p-blogCard__link {
		/* flex-direction: column; */
	}
	.p-blogCard {
		padding: 1rem;
	}
	.p-blogCard__thumb {
		width: 30%;
		max-height: 180px;
	}
	.p-blogCard__thumb img {
		height: auto;
		object-fit: cover;
	}

	.p-blogCard__body {
		padding: 1em;
	}

	.p-blogCard__title {
		font-size: 1em;
	}

	.p-blogCard__excerpt {
		font-size: 0.85em;
		-webkit-line-clamp: 2;
		max-height: 3.2em;
	}
}