@charset "utf-8";
/* ---------------------------------------------------------------------
  cmn-service-flow  サービストップ＆プロダクトトップ＆メーカー代理店 共通
------------------------------------------------------------------------ */
.cmn-service-flow .service-flow-area {
	counter-reset: strengths-num 0;
	margin: 110px 0 0 0 ;
}

.cmn-service-flow .service-flow-area .service-flow-inner {
	/*background: #f2f1f0;*/
	padding: 80px 0 100px;
    border-top: 5px solid var(--red);
}

.cmn-service-flow .flow-num {
	display: flex;
	justify-content: space-between;
	position: relative;
}

.cmn-service-flow .flow-sec03 .flow-num {
	width: calc( 50% - 30px );
}

.cmn-service-flow .flow-num::before {
	content: "";
	background: #fff;
	bottom: 0;
	height: 20px;
	width: calc( 100% - 30px );
	left: 0;
	position: absolute;
}

.cmn-service-flow .flow-num-item {
	align-items: flex-end;
	display: flex;
	padding: 0 0 5px 4px;
	position: relative;
}
.cmn-service-flow .flow-num-item {
	counter-increment: strengths-num;
	position: relative;
}

.cmn-service-flow .flow-num-item::before {
	color: var(--red);
	content: attr(data-num);
	/*content: "0" counter(strengths-num);*/
	display: inline-block;
	font-weight: bold;
	font-size: 3.2rem;
	font-family: 'Poppins', sans-serif;
	margin: 0 0 0 -10px;
	letter-spacing: -0.04em;
	z-index: 1;
}

.cmn-service-flow .flow-num-item:last-child {
	margin: 0;
}

.cmn-service-flow .flow-sec03 .flow-box .flow-box-item:last-child .flow-num-item::before {
	content: counter(strengths-num) "";
}

.cmn-service-flow .flow-box .flow-box-item:not(:last-child) .flow-num-item::after {
	content: "";
	background: var(--white02);
	bottom: 0;
	height: 20px;
	width: 100%;
	left: 0;
	position: absolute;
}

.cmn-service-flow .flow-box .flow-box-item:last-child .flow-num-item::after {
	content: "";
	background: var(--white02);
	bottom: 0;
	height: 20px;
	width: calc( 100% - 30px );;
	left: 0;
	position: absolute;
}

.cmn-service-flow .flow-num-ttl {
	font-weight: bold;
	font-size: 2.2rem;
	margin: 0 0 0 13px;
	padding: 0 0 5px 0;
	position: relative;
	z-index: 1;
}

.cmn-service-flow .flow-list {
	margin: 40px 0 0 0;
}

.cmn-service-flow .flow-box {
	display: flex;
}

.cmn-service-flow .flow-box .flow-box-item {
	margin: 0 66px 0 0;
	width: calc( ( 100% - 198px ) / 4 );
	position: relative;
}

.cmn-service-flow .flow-box .flow-box-item:last-child {
	margin: 0;
}

.cmn-service-flow .flow-box .flow-box-item:not(:last-child)::before {
	content: "";
	background: var(--white02);
	top: 17px;
	height: 20px;
	width: 66px;
	right: -66px;
	position: absolute;
}

.cmn-service-flow .flow-box .flow-box-item:last-child::before {
	background: url(../img/workstop-flow-triangle.svg)left bottom/contain no-repeat;
	content: '';
	display: inline-block;
	height: 20px;
	top: 17px;
	right: 0;
	width: 30px;
	position: absolute;
}

.cmn-service-flow .flow-box .flow-box-inner {
	margin: 10px 0 0 0;
}

.cmn-service-flow .flow-box .flow-box-inner img {
	height: 180px;
	width: 260px;
}

.cmn-service-flow .flow-box-inner .note{
	line-height: 1.875;
	margin: 10px 0 0 0;
}





@media screen and (max-width: 768px) {
	
	.cmn-service-flow .service-flow-area {
		margin: 40px 0 0 0 ;
	}
	
	.cmn-service-flow .service-flow-area .service-flow-inner {
		padding: 40px 0;
	}
	
	.cmn-service-flow .flow-list {
		display: block;
		margin: 0;
	}
	
	.cmn-service-flow .flow-num {
		display: block;
		width: 38px!important;
	}
	
	.cmn-service-flow .flow-num::before {
		top: 0;
		height: 100%;
		width: 20px;
	}
	
	.cmn-service-flow .flow-num-item {
		align-items: flex-start;
		height: calc( 100% / 4 );
		white-space: nowrap;
	}
	
	.cmn-service-flow .flow-num-item:not(:last-child)::after {
		height: 0;
		width: 0;
	}
	
	.cmn-service-flow .flow-num-item:last-child::after {
		display: none;
	}
	
	.cmn-service-flow .flow-num-ttl {
		padding: 7px 0 3px 0;
	}
	
	.cmn-service-flow .flow-box {
		display: block;
	}
	
	.cmn-service-flow .flow-box .flow-box-inner {
		margin: 0;
	}
	
	.cmn-service-flow .flow-box .flow-box-inner img {
		width: 100%;
		height: auto;
	}
	
	.cmn-service-flow .flow-box .flow-box-item {
		margin: 25px 0 0 0!important;
		width: 100%;
	}
	
	.cmn-service-flow .flow-box .flow-box-item::before {
		display: none!important;
	}
	
	.cmn-service-flow .flow-box .flow-box-item:last-child .flow-num-item::after {
		width: 100%;
	}

	.cmn-service-flow .flow-box-inner .note {
		margin: 10px 0 0 0;
	}
	
}
