@charset "utf-8";
body{counter-reset: number 0;}

/* 歯科矯正の治療方法
-------------------------------------------*/
.method_title_wrap > p{
	width: 65%;
	margin-top: 3em;
}
.treatment_wrap{
	padding: 100px 80px 80px;
	border-radius: 20px;
}
.treatment_wrap li{
	width: 30%;
	position: relative;
	z-index: 1;
}
.treatment_wrap li > div{margin-bottom: 40px;}
.treatment_wrap li > div img{
	display: block;
	margin: 0 auto 40px;
}
.treatment_wrap li > div h3{
	font-size: 20px;
	font-family: "zkgn-m";
	color: #5c8c00;
	letter-spacing: .15em;
	text-align: center;
}
.treatment_wrap li > p{line-height: 2;}
.other_treatment > li{
	width: calc(100% / 3);
	padding-top: 30px;
	padding-bottom: 30px;
}
.other_treatment > li:not(:last-child){
	border-right: 1px dashed #adc44b;
	padding-right: 40px;
}
.other_treatment > li:not(:first-child){padding-left: 40px;}
.other_treatment h4{
	font-size: 20px;
	font-family: "zkgn-m";
	margin-bottom: 1em;
	color: #5e8e00;
	letter-spacing: .15em;
}
.other_treatment li > p{line-height: 2;}

/* 歯科矯正治療の流れ
-------------------------------------------*/
.flow_title{margin-bottom: -10px;}
.flow_title > p{text-align: right;}
.flow_li{
	background: #e8efda;
	border-radius: 40px;
	padding: 100px;
}
.flow_li li{
	padding: 60px 45px;
	border-radius: 20px;
	background: rgba(255,255,255,.4);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
}
.flow_li li:not(:last-child){margin-bottom: 30px;}
.flow_li li > div{
	padding-left: 60px;
	position: relative;
}
.flow_li li > div::before{
	counter-increment: number 1;
	content: counter(number);
	width: 40px;
	text-align: right;
	font-size: 68px;
	color: #adc44b;
	font-family: 'poppins';
	margin-right: .3em;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.flow_li li > div h3{
	color: #5e8e00;
	font-size: 20px;
	font-family: 'zkgn-m';
	letter-spacing: .15em;
	margin-bottom: .5em;
}
.flow_li li > div p{
	color: #adc44b;
	font-family: 'poppins';
	letter-spacing: .15em;
}
.flow_li li > p{
	width: 67%;
	line-height: 2;
	margin-top: 2em;
}

/* 歯科矯正治療のリスクや副作用
-------------------------------------------*/
.risk_title > p{margin-top: 3.5em;}
.risk_box{
	border: rgba(105,160,10,.3) 1px solid;
	border-radius: 20px;
	padding: 65px 50px;
}
.risk_box li{
	counter-increment: mycounter;
	position: relative;
	padding-left: 2em;
}
.risk_box li::before{
	content: counter(mycounter, decimal-leading-zero) ".";
	color: #adc44b;
	font-family: 'poppins';
	position: absolute;
	left: 0;
	top: 0;
}

/* 1300px以下から
------------------------------------------------------------*/
@media only screen and (max-width:1300px){
	
	/* 歯科矯正の治療方法
	-------------------------------------------*/
	.treatment_wrap{
		padding: 70px 50px 50px;
		border-radius: 15px;
	}
	.treatment_wrap li > div{margin-bottom: 30px;}
	.treatment_wrap li > div img{
		margin-bottom: 25px;
		width: 100px;
	}
	.treatment_wrap li > div h3{font-size: 16px;}
	.other_treatment > li{
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.other_treatment > li:not(:last-child){padding-right: 30px;}
	.other_treatment > li:not(:first-child){padding-left: 30px;}
	.other_treatment h4{font-size: 16px;}
	
	/* 歯科矯正治療の流れ
	-------------------------------------------*/
	.flow_title{margin-bottom: -7px;}
	.flow_li{
		border-radius: 30px;
		padding: 70px;
	}
	.flow_li li{
		padding: 40px 30px;
		border-radius: 15px;
	}
	.flow_li li:not(:last-child){margin-bottom: 20px;}
	.flow_li li > div{padding-left: 45px;}
	.flow_li li > div::before{
		width: 32px;
		font-size: 53px;
	}
	.flow_li li > div h3{font-size: 16px;}
	.flow_li li > div p{font-size: 12px;}

	/* 歯科矯正治療のリスクや副作用
	-------------------------------------------*/
	.risk_box{padding: 45px 35px;}
	
}

/* 950px以下から
------------------------------------------------------------*/
@media only screen and (max-width:950px){
	
	/* 歯科矯正の治療方法
	-------------------------------------------*/
	.method_title_wrap .title{margin-bottom: 40px;}
	.method_title_wrap > p{
		margin: 0;
		width: 100%;
	}
	.treatment_wrap li{
		max-width: 600px;
		width: 100%;
		margin: 0 auto;
	}
	.treatment_wrap li:not(:last-child){margin-bottom: 45px!important;}
	.other_treatment{
		max-width: 600px;
		width: 100%;
		margin: 0 auto;
	}
	.other_treatment > li{width: 100%;}
	.other_treatment > li:not(:last-child){
		border-right: none;
		border-bottom: 1px dashed #adc44b;
		padding: 0 0 35px;
		margin-bottom: 35px;
	}
	.other_treatment > li:last-child{padding: 0;}
	
	/* 歯科矯正治療の流れ
	-------------------------------------------*/
	.flow_title{margin-bottom: 35px;}
	.flow_title > p{text-align: left;}
	.flow_li{padding: 50px;}
	.flow_li li > div{margin-bottom: 20px;}
	.flow_li li > div::before{width: auto;}
	.flow_li li > p{
		width: 100%;
		margin: 0;
	}
	
	/* 歯科矯正治療のリスクや副作用
	-------------------------------------------*/
	.risk_title .title{margin-bottom: 30px;}
	.risk_title > p{
		margin: 0;
		width: 100%;
	}
	
}

/* 500px以下から
------------------------------------------------------------*/
@media only screen and (max-width:500px){
	
	
	/* 歯科矯正の治療方法
	-------------------------------------------*/
	.treatment_wrap{padding: 70px 25px 50px;}
	
	/* 歯科矯正治療の流れ
	-------------------------------------------*/
	.flow_title > p{line-height: 2;}
	.flow_li{padding: 20px;}
	.flow_li li{padding: 35px 20px;}
	
	/* 歯科矯正治療のリスクや副作用
	-------------------------------------------*/
	.risk_title .title h2{font-size: 20px;}
	.risk_title > p{line-height: 2;}
	.risk_box{padding: 45px 20px;}
	
}