/* =========================================================
   事業内容（/service）ページ専用スタイル
   ========================================================= */

/* ---- ＃建設工事全体の流れ ---- */
.flow {
	margin-top: 50px;
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 0;
	flex-wrap: nowrap;
}
.flow__step {
	flex: 1 1 0;
	min-width: 0;
	background: #C7DAD3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 26px 14px;
	border-radius: 4px;
}
.flow__step-name {
	font-family: var(--ff-jp);
	font-size: 17px;
	font-weight: 500;
	color: #231815;
	line-height: 1.4;
}
/* 掘削工事（南行担当）を強調 */
.flow__step--current {
	background: var(--c-green);
	flex: 1.25 1 0;
	padding: 22px 14px;
}
.flow__step--current .flow__step-name { color: #FFFFFF; }
.flow__step-list {
	margin-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.flow__step-list li {
	position: relative;
	color: #FFFFFF;
	font-family: var(--ff-jp);
	font-size: 14px;
	font-weight: 400;
	padding-left: 16px;
	text-align: left;
}
.flow__step-list li::before {
	content: "";
	position: absolute;
	left: 0; top: 0.55em;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: #FFFFFF;
}
.flow__arrow {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	color: #9BB3AC;
	font-size: 22px;
	font-weight: 400;
}
.flow__note {
	margin-top: 28px;
	text-align: center;
	font-family: var(--ff-jp);
	font-size: 14px;
	font-weight: 400;
	color: #55605C;
	line-height: 1.8;
}

/* ---- ＃事業について（01/02/03カード） ---- */
.about__lead2 { margin-top: 26px; }
.about-cards {
	margin-top: 54px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
.about-card {
	background: #E3ECE9;
	padding: 34px 32px 36px;
	border-radius: 6px;
}
.about-card__no {
	display: block;
	font-family: var(--ff-en);
	font-size: 34px;
	font-weight: 500;
	color: var(--c-green);
	line-height: 1;
}
.about-card__title {
	margin-top: 16px;
	font-family: var(--ff-jp);
	font-size: 19px;
	font-weight: 700;
	color: #231815;
}
.about-card__text {
	margin-top: 14px;
	font-family: var(--ff-jp);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.9;
	color: #2F2F2F;
}

/* ---- ＃自社が受け持つ工事の3工程（緑背景） ---- */
.three {
	margin-top: 56px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}
.three__item { display: flex; flex-direction: column; }
.three__img {
	width: 100%;
	aspect-ratio: 380 / 240;
	overflow: hidden;
	border-radius: 2px;
}
.three__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.three__name {
	margin-top: 22px;
	font-family: var(--ff-jp);
	font-size: 20px;
	font-weight: 700;
	color: #FFFFFF;
}
.three__text {
	margin-top: 14px;
	font-family: var(--ff-jp);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.9;
	color: #FFFFFF;
	flex: 1;
}
.three__btn {
	margin-top: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 60px;
	background: #FFFFFF;
	color: var(--c-green);
	font-family: var(--ff-jp);
	font-size: 17px;
	font-weight: 700;
	border-radius: 2px;
	transition: opacity .25s ease;
}
.three__btn:hover { opacity: .8; }

/* =========================================================
   SP
   ========================================================= */
@media (max-width: 768px) {
	/* 流れは縦積み・矢印は回転 */
	.flow {
		margin-top: 30px;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.flow__step { padding: 18px 14px; }
	.flow__step--current { flex: none; }
	.flow__step-name { font-size: 15px; }
	.flow__step-list li { font-size: 13px; }
	.flow__arrow {
		width: 100%;
		height: 34px;
		transform: rotate(90deg);
		font-size: 18px;
	}
	.flow__note { margin-top: 20px; font-size: 12px; }

	.about-cards {
		margin-top: 30px;
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.about-card { padding: 24px 22px 26px; }
	.about-card__no { font-size: 28px; }
	.about-card__title { font-size: 16px; margin-top: 12px; }
	.about-card__text { font-size: 13px; }

	.three {
		margin-top: 32px;
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.three__name { font-size: 18px; margin-top: 16px; }
	.three__text { font-size: 13px; }
	.three__btn { height: 52px; font-size: 15px; margin-top: 18px; }
}
