@charset "UTF-8";
/*----------------------------------------------------
	style_flow.css
	矯正治療の流れのスタイル
----------------------------------------------------*/

/*----------------------------------------------------
	SP　(599px以下)
----------------------------------------------------*/
/* コンテンツ背景 */
.pageback {
	background-image: url(../images/bg_cont01_sp.png), url(../images/bg_cont03_sp.png), url(../images/bg_cont02_sp.png), url(../images/bg_cont04_sp.png), url(../images/bg_cont05_sp.png);
	background-size: 18% auto, 26% auto, 18% auto, 18% auto, 26% auto;
	background-repeat: no-repeat;
	background-position: 10px 5%, 96% 15%, 10px 58%, 10px 76%, 96% 98%;
}

/* メインイメージ */
#mainimage_cont {
	background: url(../images/flow/bg_mainimage.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}

/* 流れについて */
#about {
	width: calc(100% - 60px);
	margin: 0 auto 40px auto;
}
#about .txt { padding: 30px 0; }
#about .txt p {
	color: #707070;
	font-size: 1.4rem;
	line-height: 2;
}

/* 矯正治療の流れ */
#flowlist {
	width: 100%;
	margin: 0 0 40px 0;
}
#flowlist ol {
	width: 80%;
	margin: 0 auto;
	padding: 0 30px;
}
#flowlist ol li {
	width: calc((100% - 100px) / 3);
	margin: 0 50px 20px 0;
	float: left;
	position: relative;
}
#flowlist ol li:nth-of-type(3),
#flowlist ol li:nth-of-type(6) { margin: 0 0 20px 0; }
#flowlist ol li::after {
	content: "";
	width: 30px;
	height: 35px;
	background: url(../images/flow/ic_flow.png) no-repeat;
	background-size: contain;
	position: absolute;
	top: 45%;
	right: -40px;
}
#flowlist ol li:nth-of-type(3)::after,
#flowlist ol li:nth-of-type(6)::after { background: none; }
#flowlist .ex {
	width: 380px;
	margin: 0 auto 40px auto;
}
#flowlist .box .list {
	width: 100%;
	padding: 20px 30px;
}
#flowlist .box  .list:nth-child(odd) { background: rgba(250, 239, 208, 0.2); }
#flowlist .box .list dl dt {
	margin: 0 0 40px 0;
	padding: 20px 0;
	font-size: 3.0rem;
	text-align: center;
}
#flowlist .box .list dl dt span { font-size: 1.8rem; }
#flowlist .box  .list:nth-child(odd) dl dt { background: url(../images/ic_line_gr.png) no-repeat center bottom; }
#flowlist .box  .list:nth-child(even) dl dt { background: url(../images/ic_line_ye.png) no-repeat center bottom; }
#flowlist .box .list dl dd .txt { padding: 20px 0; }
#flowlist .box .list dl dd p {
	color: #707070;
	font-size: 1.4rem;
	line-height: 2;
}
#flowlist .box .list dl dd p.bt_tel {
	width: 400px;
	margin: 0 auto;
	padding: 20px 0 0 0;
}


/*----------------------------------------------------
	Tablet　(600px 〜 )
----------------------------------------------------*/
@media screen and (min-width: 600px) {
	
}


/*----------------------------------------------------
	※850pxからレイアウト変更
----------------------------------------------------*/
@media screen and (min-width: 850px) {
	/* 流れについて */
	#about {
		margin: 0 auto 80px auto;
		display: flex;
	  flex-wrap: wrap;
	  justify-content: space-between;
	  flex-shrink: 0;
	}
	#about .photo { width: 50%; }
	#about .txt {
		width: 50%;
		padding: 20px 0 0 40px;
	}
	
	/* 矯正治療の流れ */
	#flowlist ol {
		width: calc(100% - 60px);
		margin: 0 auto;
	}
	#flowlist ol li {
		width: calc((100% - 250px) / 6);
		margin: 0 50px 0 0;
	}
	#flowlist ol li:nth-of-type(3) { margin: 0 50px 20px 0; }
	#flowlist ol li:nth-of-type(6) { margin: 0; }
	#flowlist ol li:nth-of-type(3)::after { background: url(../images/flow/ic_flow.png) no-repeat; }
	#flowlist .ex {
		width: 594px;
		margin: 0 auto 80px auto;
	}
	
	#flowlist .box .list dl dd { display: table; }
	#flowlist .box .list dl dd .photo {
		width: 40%;
		margin: 0;
		display: table-cell;
		vertical-align: middle;
	}
	#flowlist .box .list dl dd { padding: 0 0 30px 0; }
	#flowlist .box .list dl dd .txt {
		padding: 0 0 0 40px;
		display: table-cell;
		vertical-align: middle;
	}
	#flowlist .box .list dl dd .txt.nophoto { padding: 0; }
}


/*----------------------------------------------------
	PC　(1200px 〜 )
----------------------------------------------------*/
@media screen and (min-width: 1200px) {
	/* コンテンツ背景 */
	.pageback {
		background-image: url(../images/bg_cont01.png), url(../images/bg_cont03.png), url(../images/bg_cont02.png), url(../images/bg_cont04.png), url(../images/bg_cont05.png);
		background-size: 232px auto, 338px auto, 183px auto, 232px auto, 338px auto;
		background-position: 10px 12%, 96% 19%, 10px 62%, 10px 87%, 98% 94%;
	}
	
	/* 流れについて */
	#about {
		width: 1200px;
		margin: 0 auto 140px auto;
	}
	
	/* 矯正治療の流れ */
	#flowlist {
		width: 100%;
		margin: 0 auto 140px auto;
	}
	#flowlist ol { width: 800px; }
	#flowlist .box .list dl {
		width: 1200px;
		margin: 0 auto;
		padding: 20px 0;
	}
}