@charset "UTF-8";
/*----------------------------------------------------
	style_case.css
	症例紹介のスタイル
----------------------------------------------------*/

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

/* 症例 */
#caselist {
	width: 100%;
	margin: 0 0 80px 0;
	padding: 20px 0 0 0;
}
#caselist .catch {
	margin: 0 0 40px 0;
	padding: 0 30px;
	color: #707070;
	font-size: 1.4rem;
	line-height: 2;
	text-align: center;
}
#caselist ol {
	width: calc(100% - 60px);
	margin: 0 auto 80px auto;
	display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#caselist ol li {
	width: calc((100% - 10px) / 2);
	margin: 0 0 20px 0;
}
#caselist .box { margin: 0 0 80px 0; }
#caselist .box .list {
	width: 100%;
	padding: 20px 30px;
}
#caselist .box div:nth-child(odd) { background: rgba(250, 239, 208, 0.2); }
#caselist .box .list dl dt {
	margin: 0 0 40px 0;
	padding: 20px 0;
	font-size: 3.0rem;
	text-align: center;
}
#caselist .box .list dl dt span { font-size: 1.8rem; }
#caselist .box div:nth-child(odd) dl dt { background: url(../images/ic_line_gr.png) no-repeat center bottom; }
#caselist .box div:nth-child(even) dl dt { background: url(../images/ic_line_ye.png) no-repeat center bottom; }
#caselist .box .list dl dd .photo {
	width: 60%;
	margin: 0 auto;
}
#caselist .box .list dl dd .txt {
	padding: 20px 0;
	color: #707070;
	font-size: 1.4rem;
	line-height: 2;
}
#caselist .about {
	width: calc(100% - 60px);
	margin: 0 auto 80px auto;
	padding: 60px;
	background-color: #fcf9f0;
	background-image: url(../images/case/bg_box_lt.png), url(../images/case/bg_box_rt.png), url(../images/case/bg_box_lb.png), url(../images/case/bg_box_rb.png), url(../images/case/bg_box_top.png), url(../images/case/bg_box_bottom.png), url(../images/case/bg_box_left.png), url(../images/case/bg_box_right.png);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat-x, repeat-x, repeat-y, repeat-y;
  background-position: left top, right top, left bottom, right bottom, top, bottom, left, right;
  -webkit-box-sizing : border-box;
  -moz-box-sizing : border-box;
  box-sizing : border-box;
}
#caselist .about dl dt {
	padding: 20px 0;
	font-size: 2.4rem;
	color: #109853;
}
#caselist .about dl dd {
	font-size: 1.6rem;
	color: #707070;
}

/* 8020運動 */
#cont_8080 {
	width: calc(100% - 60px);
	margin: 0 auto 80px auto;
}
#cont_8080 dl dt {
	padding: 20px 0;
	font-size: 2.4rem;
	text-align: center;
}
#cont_8080 dl dd {
	color: #707070;
	font-size: 1.4rem;
	line-height: 2;
}


/*----------------------------------------------------
	Tablet　(600px 〜 )
----------------------------------------------------*/
@media screen and (min-width: 600px) {
	/* 症例 */
	#caselist .catch { margin: 0 0 80px 0; }
	#caselist ol { justify-content: center; }
	#caselist ol li {
		width: calc((100% - 40px) / 3);
		margin: 0 5px 20px 5px;
	}
	#caselist .box .list dl dd { display: table; }
	#caselist .box .list dl dd .photo {
		width: 40%;
		margin: 0;
		display: table-cell;
		vertical-align: middle;
	}
	#caselist .box .list dl dd .txt {
		padding: 0 0 0 40px;
		display: table-cell;
		vertical-align: middle;
	}
	#caselist .about .photo {
		width: 45%;
		float: left;
	}
	#caselist .about dl {
		width: 50%;
		float: right;
	}
	#caselist .about dl dt { padding: 0 0 20px 0; }
	
	/* 8020運動 */
	#cont_8080 .st_title_page { margin: 0 0 60px 0; }
	#cont_8080 .photo {
		width: 40%;
		float: left;
	}
	#cont_8080 dl {
		width: 55%;
		float: right;
	}
	#cont_8080 dl dt {
		padding: 0 0 20px 0;
		text-align: left;
	}
}


/*----------------------------------------------------
	※850pxからレイアウト変更
----------------------------------------------------*/
@media screen and (min-width: 850px) {
	#caselist .box .list dl dd .photo { width: 370px; }
}


/*----------------------------------------------------
	PC　(1200px 〜 )
----------------------------------------------------*/
@media screen and (min-width: 1200px) {
	/* 症例 */
	#caselist ol {
		width: 1200px;
		margin: 0 auto 140px auto;
	}
	#caselist .box .list dl {
		width: 1200px;
		margin: 0 auto;
	}
	#caselist .box .list dl dt { padding: 40px 0; }
	#caselist .about {
		width: 1200px;
		margin: 0 auto 140px auto;
	}
	#caselist .box .list dl dd .txt {
		width: calc(100% - 370px);
		padding: 0 0 0 80px;
	}
	
	/* 8020運動 */
	#cont_8080 {
		width: 1200px;
		margin: 0 auto 140px auto;
	}
	#cont_8080 .photo { width: 640px; }
	#cont_8080 dl { width: 480px; }
}