/**
 * WORKS? 実績 — Advantage ページ セクション
 *
 * 構造: .works-row > .works-row__label + .works-row__body
 *        4 つの行カード（全体実績数 / 実績例 / 保有資格 / 取引先一例）
 */

/* ── 共通カード行 ── */
.ideage-works-section {
	margin-bottom: 150px;
}
.works-row {
	display: flex;
	align-items: stretch;
	gap: 12px;
}

.works-row + .works-row {
	margin-top: 12px;
}

.works-row__label {
	flex: 0 0 180px;
	display: flex;
	min-width: 237px;
	align-items: center;
	justify-content: center;
	padding: 32px 20px;
	text-align: center;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.6;
	color: #1e73be;
	background: #E4F0FE;
	border-radius: 36px;
}

.works-row__label-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.works-row__label-sub {
	font-size: 16px;
	font-weight: 600;
	color: #1E73BE;
}

.works-row__body {
	flex: 1;
	min-width: 0;
	padding: 40px 48px;
	background: #EBF2F8;
	border-radius: 36px;
}

/* ── Section 1: 全体実績数 ── */
.works-stats-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.works-stat {
	display: flex;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.works-stat__text {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.6;
	color: #1e73be;
	flex: 0 0 auto;
}

.works-stat__value {
	display: flex;
	align-items: flex-end;
	gap: 6px;
}

.works-stat__prefix {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.6;
	color: #1e73be;
}

.works-stat__number {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 64px;
	font-weight: 700;
	line-height: 1;
	color: #1e73be;
}

.works-stat__suffix {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
	color: #1e73be;
}

/* ── Section 2: 実績例 ── */
.works-cases-list {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.works-case {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}

.works-case__badge {
	flex: 0 0 auto;
	width: 76px;
	height: 76px;
	border-radius: 14px;
	overflow: hidden;
}

.works-case__badge img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.works-case__body {
	flex: 1;
	min-width: 0;
}

.post_content .works-case__title {
	margin: 0 0 8px;
	padding: 0;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.6;
	color: #1e73be;
	text-align: left;
	clear: none;
}

.works-case__desc {
	margin: 0;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.9 !important;
	color: #1E73BE;
}

/* ── Section 3: 保有資格 ── */
.post_content .works-certs__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.post_content .works-certs__list li {
	position: relative;
	padding-left: 18px;
	margin-bottom: 12px;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 2;
	color: #1E73BE;
	border: none;
	background: none;
}

.post_content .works-certs__list li:last-child {
	margin-bottom: 0;
}

.post_content .works-certs__list li::before {
	content: '•';
	position: absolute;
	left: 0;
	top: 0;
	color: #1e73be;
	font-size: 20px;
	line-height: 2;
	font-weight: 700;
}

/* ── Section 4: 取引先一例 ── */
.works-clients-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 20px;
}

.works-client-card {
	display: flex;
	flex: 1 1 160px;
	max-width: 200px;
	text-align: center;
}

.works-client-card__frame {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	aspect-ratio: 1.2;
	padding: 20px 16px;
	background: #fff;
	border-radius: 16px;
}

.works-client-card__logo {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 0;
}

.works-client-card__logo img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.works-client-card__name {
	flex-shrink: 0;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: #1e73be;
	text-align: center;
}

/* ── Responsive ── */
@media (max-width: 767px) {
	.works-row {
		flex-direction: column;
		margin-bottom: 40px;
	}

	.works-row__label {
		flex: none;
		padding: 20px;
		font-size: 20px;
	}

	.works-row__body {
		padding: 24px 20px;
		text-align: center;
	}

	.works-stats-list {
		align-items: center;
	}

	.works-stat {
		justify-content: center;
	}

	.works-stat__value {
		justify-content: center;
	}

	.works-case {
		align-items: center;
	}

	.post_content .works-case__title {
		text-align: center;
	}

	.works-case__desc {
		text-align: center;
	}

	.post_content .works-certs__list {
		display: inline-block;
		text-align: left;
	}
	.post_content .works-certs__list li ,
	.post_content .works-certs__list li::before {
		font-size: 16px;
	}
	.works-stat__number {
		font-size: 48px;
	}

	.works-case {
		flex-direction: column;
		gap: 12px;
	}

	.works-case__badge {
		width: 60px;
		height: 60px;
	}

	.works-clients-grid {
		justify-content: center;
	}
}
