@charset "utf-8";
/*==================================================
	【施工の流れ】ページ固有のスタイル
==================================================*/
#flow .box {
	border: 3px solid var(--color-primary);
	border-radius: 20px;
	margin-bottom: 90px;
	background: #f6f6f6;
	position: relative;
	padding: 25px;
}
#flow .box:last-of-type {
	margin-bottom: 0;
}
#flow .box:not(:last-of-type)::before {
	position: absolute;
	content: "";
	left: 50%;
	bottom: -100px;
	margin-left: -60px;
	border: 60px solid transparent;
	border-top: 40px solid var(--color-primary);
}
#flow .box .in {
	position: relative;
	padding-left: 410px;
	min-height: 310px;
}
#flow .box h4 {
	font-size: 50px;
	line-height: 1;
	margin-bottom: 30px;
}
#flow .box h4 .orange {
	font-size: 44px;
	font-weight: normal;
	margin-right: 20px;
}
#flow .box h4 .serif {
	background: var(--color-secondary);
	color: #fff;
	font-weight: 300;
	font-size: 35px;
	display: inline-block;
	border-radius: 10px;
	padding: 2px 10px 6px;
	position: relative;
	top: -3px;
	margin-left: 20px;
}
#flow .box .img {
	position: absolute;
	top: 0;
	left: 0;
}
#flow .box .img img {
	border-radius: 20px;
}
#flow .box .txt {
	background: #fff;
	padding: 15px;
	font-size: 20px;
	border-radius: 20px;
	min-height: 225px;
	font-weight: 500;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#flow .box {
		margin-bottom: 60px;
	}
	#flow .box:not(:last-of-type)::before {
		bottom: -82px;
		margin-left: -50px;
		border: 50px solid transparent;
		border-top: 30px solid var(--color-primary);
	}
	#flow .box .in {
		padding-left: 0;
	}
	#flow .box h4 {
		font-size: 30px;
	}
	#flow .box h4 .orange {
		font-size: 27px;
	}
	#flow .box h4 .serif {
		font-size: 24px;
		top: -1px;
	}
	#flow .box .img {
		position: relative;
		text-align: center;
		margin-bottom: 15px;
	}
	#flow .box .txt {
		min-height: unset;
		font-size: 18px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#flow .box {
		margin-bottom: 30px;
		border-radius: 10px;
		padding: 15px 10px 10px;
	}
	#flow .box:not(:last-of-type)::before {
		bottom: -50px;
		margin-left: -30px;
		border: 30px solid transparent;
		border-top: 20px solid var(--color-primary);
	}
	#flow .box h4 {
		margin-bottom: 15px;
		font-size: 24px;
	}
	#flow .box h4 .orange {
		font-size: 22px;
		margin-right: 10px;
	}
	#flow .box h4 .serif {
		font-size: 19px;
		top: -2px;
		margin-left: 10px;
	}
	#flow .box .img img {
		border-radius: 10px;
	}
	#flow .box .txt {
		font-size: 110%;
		border-radius: 10px;
	}
}