/* CSS Document */
.mainArea {
	background-image: url(../img/clinic/mainImg.jpg);
}


.wrapFacilityBox {
	margin-top: 60px;
	background: #f0f0f0;
}

.facilityBox {
	width: 100%;
	height: 510px;
	max-width: 1500px;
	margin: 0 auto;
	background-image: url(../img/clinic/bg_facility.jpg);
	background-position: top center;
	background-repeat: no-repeat;
}

.facilityBox h3 {
	width: 307px;
	height: 57px;
	margin: 0 auto;
	text-indent: -9999px;
	overflow: hidden;
	display: block;
	background-image: url(../img/clinic/h3_facility.png);
	background-position: top center;
	background-repeat: no-repeat;
}

.roomBox {
	padding-top: 60px;
	padding-bottom: 60px;
}

.roomBox .catch {
	width: 962px;
	height: 59px;
	margin: 0 auto 40px;
	text-indent: -9999px;
	overflow: hidden;
	display: block;
	background-image: url(../img/clinic/text_room.png);
	background-position: top center;
	background-repeat: no-repeat;
}

.balloon {
	position: relative;
	display: inline-block;
	margin: 0 0 10px 640px;
	padding: 0 15px;
	width: auto;
	min-width: 115px;
	height: 40px;
	line-height: 34px;
	color: #666;
	text-align: center;
	background: #fff;
	border: 3px solid #EA7A8C;
	z-index: 0
}

.balloon:before {
	content: "";
	position: absolute;
	bottom: -8px; left: 50%;
	margin-left: -9px;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 9px 9px 0 9px;
	border-color: #fff transparent transparent transparent;
	z-index: 0;
}

.balloon:after {
	content: "";
	position: absolute;
	bottom: -12px; left: 50%;
	margin-left: -10px;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 10px 10px 0 10px;
	border-color: #EA7A8C transparent transparent transparent;
	z-index: -1;
}

.roomBox ul {
	padding: 10px 30px;
	overflow: hidden;
}

.roomBox li {
	float: left;
	width: 290px;
	margin-top: 30px;
}

.roomBox li:nth-child(3n) {
	margin-left: 35px;
}

.roomBox li:nth-child(3n+1) {
	clear: both;
}

.roomBox li:nth-child(3n+2) {
	margin-left: 35px;
}

.roomBox li img {
	margin-bottom: 10px;
	width: 100%;
}
.roomBox li a {
	display: inline-block;
}
.roomBox li a:hover {
	opacity: .7;
}

.roomBox li p {
	padding-left: 10px;
	padding-right: 10px;
	font-size: 12px;
	color: #666;
	text-align: left;
}

.equipmentBox {
	padding-top: 60px;
	padding-bottom: 60px;
}

.equipmentBox .catch {
	width: 91px;
	height: 18px;
	margin: 0 auto 30px;
	text-indent: -9999px;
	overflow: hidden;
	display: block;
	background-image: url(../img/clinic/h4_equipment.png);
	background-position: top center;
	background-repeat: no-repeat;
}

.equipmentBox ul {
	padding: 10px 30px 30px;
	overflow: hidden;
}

.equipmentBox li {
	float: left;
	width: 220px;
	margin-top: 30px;
}
.equipmentBox li img {
	width: 100%;
}
.equipmentBox li a {
	display: inline-block;
}
.equipmentBox li a:hover {
	opacity: .7;
}

.equipmentBox li + li {
	margin-left: 20px;
}

.equipmentBox li:nth-child(4n+1) {
	margin-left: 0;
}

.equipmentBox li img {
	margin-bottom: 10px;
}

.equipmentBox li  p {
	padding-left: 10px;
	font-size: 12px;
	color: #666;
	text-align: left;
}

@media only screen and (max-width: 1000px){
	.roomBox {
		padding: 30px 20px 0;
	}
	.roomBox .catch {
		width: 100%;
		background-size: contain;
	}
	.balloon {
		margin: 0 auto 10px;
	}
	.roomBox ul {
		padding: 10px 0;
		}
	.roomBox li {
		width: 48%;
		margin: 30px 1% 0;
	}
	.roomBox li:nth-of-type(2n+1) {
		clear: both;
	}
	.roomBox li:nth-child(3n) {
		margin-left: 0;
	}
	.roomBox li:nth-child(3n+1) {
		clear: none;
	}
	.roomBox li:nth-child(3n+2) {
		margin-left: 0;
	}
	.roomBox li p {
		width: 70%;
		margin: 0 auto;
		padding-left: 0;
		padding-right: 0;
		text-align: center;
	}
	.equipmentBox ul {
		padding: 0 0;
	}
	.equipmentBox li {
		width: 48%;
		margin: 30px 1% 0;
	}
	.equipmentBox li + li {
		margin-left: 0;
	}
	.equipmentBox li:nth-child(4n+1) {
		margin-left: 0;
	}
	.equipmentBox li p {
		width: 70%;
		margin: 0 auto;
		padding-left: 0px;
		text-align: center;
	}
}

@media only screen and (max-width: 767px){
	.wrapFacilityBox {
		margin-top: 30px;
		background: #fff;
	}
	.facilityBox {
		width: 100%;
		height: inherit;
		margin: 0 auto;
		background-image: none;
	}
	.facilityBox h3 {
		width: 100%;
		height: 57px;
		background-size: contain;
	}
	.facilityBox .img {
		text-align: center;
		padding-top: 30px;
	}
	.facilityBox .img>img {
		width: 100%;
	}
	.roomBox {
		padding: 30px 5vw 50px;
	}
	.roomBox .catch {
		width: 100%;
		height: inherit;
		background-image: none;
		color: #AC7F46;
		font-family: "Sawarabi Mincho";
		font-size: 18px;
		margin: 0 0 35px 0;
		text-indent: 0;
		text-align: left;
	}
	.roomBox li p {
		width: 100%;
		padding: 0 2%;
	}
	.equipmentBox {
		padding: 30px 5vw 50px;
	}
	.equipmentBox .catch {
		width: 100%;
		height: inherit;
		background-image: none;
		color: #000;
		font-family: "Sawarabi Mincho";
		font-size: 20px;
		margin: 0 0 10px 0;
		text-indent: 0;
		text-align: left;
		text-align: center;
	}
	.equipmentBox li p {
		width: 100%;
		padding: 0 2%;
	}	
}

@media only screen and (max-width: 450px){
	.roomBox li p {
		text-align: left;
	}
	.equipmentBox li p {
		text-align: left;
	}	
}

@media only screen and (max-width: 400px){
	.facilityBox h3 {
		height: 55px;
		background-size: 80%;
	}
	.balloon {
		font-size: 11px;
	}	
	.roomBox li img {
		margin-bottom: 5px;
	}
	.equipmentBox li img {
		margin-bottom: 5px;
	}
}
