/**
 * 対応工事カード表示ブロックのスタイル
 */

.yonekou-service-cards {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 0;
}

.yonekou-service-cards__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

/* カード全体 */
.yonekou-service-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
}

.yonekou-service-card__content-wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* アイキャッチ画像 */
.yonekou-service-card__thumbnail {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f0f0f0;
}

.yonekou-service-card__thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.yonekou-service-card__thumbnail--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}

.yonekou-service-card__no-image {
	color: #999;
	font-size: 14px;
}

/* カードコンテンツ */
.yonekou-service-card__content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* H2タイトルのスタイル（SEO最適化：H3からH2に変更） */
.entry-content .yonekou-service-card__title,
.yonekou-service-card__title {
	font-size: 18px;
	font-weight: bold;
	margin: 0 0 12px 0;
	line-height: 1.4;
	color: #333;
}

.yonekou-service-card__description {
	line-height: 1.6;
	color: #666;
	margin: 0 0 16px 0;
	flex: 1;
}


/* タブレット表示（2列） */
@media screen and (max-width: 1024px) {
	.yonekou-service-cards {
		padding: 30px 0;
	}

	.yonekou-service-cards__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
	}

	.yonekou-service-card__title {
		font-size: 16px;
	}
}

/* スマホ表示（1列） */
@media screen and (max-width: 768px) {
	.yonekou-service-cards {
		padding: 20px 0;
	}

	.yonekou-service-cards__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.yonekou-service-card__content {
		padding: 15px;
	}

	.yonekou-service-card__title {
		font-size: 16px;
		margin-bottom: 10px;
	}
}