@charset "utf-8";
/* CSS Document */

/* 交通事故治療ページ設定 */

@media print,screen and (min-width: 768px){
/* PC用設定 */

#contents #flo {
	margin-top: -130px;
	padding-top: 130px;
}
#contents #flow li {
	width:48.5%;
	float:left;
	margin-top:20px;
}
#contents #flow li img {
	border-radius:12px;
	width:100%;
}
#contents #flow li h3 {
	color:#8CC456;
	text-align:center;
	margin-top:1em;
	margin-bottom:0.7em;
	font-size: 21px;
	line-height: 1.3em;
}
#contents #flow li p {
	line-height: 1.6em;
}
#contents #flow li p {
	line-height: 1.6em;
}
#contents #flow li:before {
	content: '1';
	padding:0.4em 0.6em;
	position: absolute;
	margin-left:10px;
	margin-top:10px;
	background-color: #F9BF3D;
	font-weight: bold;
	color: #FFF;
	font-size: 26px;
	line-height: 1em;
	text-align: center;
	border-radius: 50%;
	box-shadow:3px 3px 3px rgba(0,0,0,0.2);
}
#contents #flow li:nth-child(even) {
	float:right;
}
#contents #flow li:nth-child(odd) {
	clear:both;
}
#contents #flow li:nth-child(2):before { content: '2'; }
#contents #flow li:nth-child(3):before { content: '3'; }
#contents #flow li:nth-child(4):before { content: '4'; }
#contents #flow li:nth-child(5):before { content: '5'; }
#contents #flow li:nth-child(6):before { content: '6'; }
#contents #flow li:nth-child(7):before { content: '7'; }
#contents #flow li:nth-child(8):before { content: '8'; }
}
@media screen and (max-width: 767px){
/* スマホ用設定 */
#contents #flo {
	margin-top: -65px;
	padding-top: 65px;
}
#contents #flow {
}
#contents #flow li {
	width:48.5%;
	float:left;
	margin-top:15px;
}
#contents #flow li img {
	border-radius:8px;
	width:100%;
}
#contents #flow li h3 {
	color:#8CC456;
	text-align:center;
	margin-top:1em;
	margin-bottom:0.7em;
	font-size: 15px;
	line-height: 1.3em;
}
#contents #flow li p {
	line-height: 1.6em;
}
#contents #flow li p {
	line-height: 1.6em;
}
#contents #flow li:before {
	content: '1';
	padding:0.4em 0.6em;
	position: absolute;
	margin-left:5px;
	margin-top:5px;
	background-color: #F9BF3D;
	font-weight: bold;
	color: #FFF;
	font-size: 15px;
	line-height: 1em;
	text-align: center;
	border-radius: 50%;
	box-shadow:3px 3px 3px rgba(0,0,0,0.2);
}
#contents #flow li:nth-child(even) {
	float:right;
}
#contents #flow li:nth-child(odd) {
	clear:both;
}
#contents #flow li:nth-child(2):before { content: '2'; }
#contents #flow li:nth-child(3):before { content: '3'; }
#contents #flow li:nth-child(4):before { content: '4'; }
#contents #flow li:nth-child(5):before { content: '5'; }
#contents #flow li:nth-child(6):before { content: '6'; }
#contents #flow li:nth-child(7):before { content: '7'; }
#contents #flow li:nth-child(8):before { content: '8'; }
}
