/*=================================================
 * CSS for PC
 * ================================================= */

/** ALL **/
body{	background: #fff;}
header{	height: 120px; margin-bottom: 0;}
.pan{
	position: relative;
	margin-top: -24px;
	z-index: 1;
}


/** flow **/

.box_bg{
	position: relative;
}
.box_bg:after{
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 40px 40px 0 40px;
	border-color: #fff transparent transparent transparent;
	position: absolute;
	z-index: 1;
	bottom: -40px;
	left: calc(50% - 40px);
}

.box_bg:nth-of-type(even){
	color: #fff;
	background: -webkit-linear-gradient(-90deg, #151515 0%, #333333 100%);
	background: -moz-linear-gradient(-90deg, #151515 0%, #333333 100%);
	background: -o-linear-gradient(-90deg, #151515 0%, #333333 100%);
	background: -ms-linear-gradient(-90deg, #151515 0%, #333333 100%);
	background: linear-gradient(180deg, #151515 0%, #333333 100%);
}
.box_bg:nth-of-type(even):after{	border-color: #333 transparent transparent transparent;}

.box_bg:nth-of-type(4):after{	display: none;}

#flow1{	background: url(img/img01.png) no-repeat 100% calc(50% + 80px);}
#flow2{	background: url(img/img02.png) no-repeat 100% calc(50% + 80px);}
#flow3{	background: url(img/img03.png) no-repeat 100% calc(50% + 80px);}
#flow4{	background: url(img/img04.png) no-repeat 100% calc(50% + 70px);}

.box{
	width: 1200px;
	margin: 0 auto;
	padding: 80px 0 80px 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.box h3{
	position: relative;
	font-family: "Rounded Mplus 1c";
	font-size: 34px;
	font-weight: normal;
	line-height: 44px;
	margin: 0 0 100px 0;
}
#flow1 h3{	margin-bottom: 50px;}

.box h3 span{
	display: inline-block;
	vertical-align: top;
	width: 90px;
	font-family: "FontA";
	font-size: 18px;
	line-height: 24px;
	color: #fff;
	background: #ff3e90;
	border-radius: 12px;
	margin: 15px 0 0 0;
}
.box h3 span:before,
.box h3 span:after{
	content: '';
	width: 550px;
	border-bottom: 1px solid #d9d9d9;
}
.box h3 span:before{
	position: absolute;
	top: 70px;
	left: 0;
}
.box h3 span:after{
	position: absolute;
	top: 70px;
	right: 0;
}
.box_bg:nth-of-type(even) .box h3 span:before,
.box_bg:nth-of-type(even) .box h3 span:after{	border-color: #333;}

.box h4{
	position: relative;
	font-family: "Rounded Mplus 1c";
	font-size: 24px;
	font-weight: normal;
	line-height: 26px;
	color: #89622b;
	text-align: left;
	padding: 0 0 0 30px;
}
.box_bg:nth-of-type(even) .box h4{	color: #ffe28a;}

.box h4:before{
	content: '';
	display: inline-block;
	vertical-align: top;
	width: 25px;
	height: 25px;
	background: #ff3e90;
	border-radius: 2px;
	position: absolute;
	top: 0;
	left: 0;
}
.box h4:after{
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5.5px 0 5.5px 8px;
	border-color: transparent transparent transparent #fff;
	position: absolute;
	top: 7px;
	left: 10px;
}

.box div{
	font-size: 16px;
	line-height: 25px;
	text-align: left;
	margin: 0 0 50px 0;
	padding: 0;
}

.box p{
	font-size: 14px;
	line-height: 25px;
	text-align: left;
	margin: 0 0 60px 0;
	padding: 10px 0 0 30px;
}
.box p:last-of-type{	margin-bottom: 0;}


/*=================================================
 * CSS for SP
 * ================================================= */

@media screen and (max-width: 650px) {

	.pan{ margin-top: 0px;}

	/** ALL **/
	body::before,
	body::after{	display: none;}
	header,header.fixed{	height: 0;}
	main{	padding: 78px 0 0 0;}

	/** flow **/
	.box_bg{
	}
	.box_bg:after{
		border-style: solid;
		border-width: 30px 30px 0 30px;
		border-color: #fff transparent transparent transparent;
		position: absolute;
		z-index: 1;
		bottom: -30px;
		left: calc(50% - 30px);
	}
	.box_bg:nth-of-type(even):after{	border-color: #333 transparent transparent transparent;}
	#flow1{	background: url(img/img01.png) no-repeat 50% calc(100% - 0px); -webkit-background-size: 300px auto; background-size: 300px auto; padding-bottom: 270px;}
	#flow2{	background: url(img/img02.png) no-repeat 50% calc(100% + 15px); -webkit-background-size: 300px auto; background-size: 300px auto; height: auto; padding-top: 50px; padding-bottom: 220px;}
	#flow3{	background: url(img/img03.png) no-repeat 50% calc(100% - 15px); -webkit-background-size: 300px auto; background-size: 300px auto; height: auto; padding-top: 50px; padding-bottom: 310px;}
	#flow4{	background: url(img/img04.png) no-repeat 50% calc(100% - 5px); -webkit-background-size: 300px auto; background-size: 300px auto; height: auto; padding-top: 50px;padding-bottom: 270px;}
	.box{
		width: auto;
		margin: 0;
		padding: 20px 10px 0 10px;
	}
	.box h3{
		font-size: 22px;
		line-height: 24px;
		margin: 0 0 20px 0;
	}
	#flow1 h3{	margin-bottom: 20px;}
	.box h3 span{
		width: 80px;
		font-size: 15px;
		line-height: 20px;
		border-radius: 10px;
		margin: 10px 0 0 0;
	}
	.box h3 span:before,
	.box h3 span:after{
		content: '';
		width: calc(50vw - 65px);
	}
	.box h3 span:before{
		top: 44px;
		left: 0;
	}
	.box h3 span:after{
		position: absolute;
		top: 44px;
		right: 0;
	}
	.box h4{
		font-size: 16px;
		line-height: 20px;
		padding: 0 0 0 20px;
	}
	.box h4:before{
		width: 15px;
		height: 15px;
		top: 3px;
	}
	.box h4:after{
		content: '';
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 4px 0 4px 6px;
		border-color: transparent transparent transparent #fff;
		position: absolute;
		top: 6.5px;
		left: 5px;
	}
	.box div{
		font-size: 15px;
		line-height: 20px;
		text-align: left;
		margin: 0 0 15px 0;
		padding: 0;
	}
	.box p{
		font-size: 13px;
		line-height: 20px;
		text-align: left;
		margin: 0 0 20px 0;
		padding: 10px 0 0 0;
	}
	.box p:last-of-type{	margin-bottom: 0;}
	.sp_none{ display: none;}
}
