@charset "utf-8";


.flow_detail > li {
	border: 2px solid #00aebb;
	border-radius: 7px;
	background: url(../img/step_bcgd.png);
	position: relative;
	margin-left: 100px;
	margin-bottom: 60px;
	padding: 30px 50px 30px 80px;
}
.flow_detail > li::after {
	content: "";
	background: url(../img/arrow.jpg) no-repeat center;
	background-size: contain;
	display: block;
	position: absolute;
	bottom: -50px;
	right: 0;
	left: 0;
	margin: auto;
	width: 8%;
	height: 40px;
}
.flow_detail > li:last-child::after {
	background: none;
}
.flow_detail li span.step_num {
	position: absolute;
	left: -100px;
}

.flow_detail li dt {
	display: table;
	margin-bottom: 1em;
}
.flow_detail li dt img,
.flow_detail li dt em {
	display: table-cell;
	vertical-align: middle;
}
.flow_detail li dt em {
	color: #87c656;
	font-size: 30px;
	font-size: 3rem;
	padding: 10px 20px;
	line-height: 1.5;
	letter-spacing: 0.05em;
}
.flow_detail li dd {
	background: #1eb2c3;
	color: white;
	padding: 15px;
}
.flow_detail li dd p:last-child {
	margin-bottom: 0;
}
.flow_detail li dd a {
	color: #a9ef70;
	font-weight: bold;
}
.flow_detail li dd a.sp_link {
	color: white;
}

@media screen and (max-width: 768px) {
	
	
	.flow_detail > li {
		margin-left: 60px;
	}
	.flow_detail li span.step_num {
		left: -60px;
		width: 115px;
		top: 15px;
	}
	.flow_detail li dt em {
    	font-size: 4vw;
		padding: 10px;
	}
	.flow_detail li dd a.sp_link {
		color: #a9ef70;
	}
	
} /* end media query */


@media screen and (max-width: 480px) {
	
	.flow_detail > li {
		margin-left: 0;
		padding: 25px 15px 15px;
	}
	
	.flow_detail > li::after {
		width: 14%;
	}
	
	.flow_detail li span.step_num {
		left: auto;
		width: 65px;
		top: -24px;
		right: 15px;
	}
	.flow_detail li dt em {
    	font-size: 5.5vw;
		padding: 10px;
	}
	
} /* end media query */

