@charset "utf-8";
/* CSS Document */

/*load*/
#loading {
	height: 100%;
    width: 100%;
    position: fixed;
    z-index: 2000;
    left: 0px;
    top: 0px;
    background-color: #FFF;
}
#loading div{
	position:absolute;
    left: 50%;
    top: 50%;
    background-color: #FFF;
	margin-left: -177px;
	margin-top: -135px;
}
	

/*main*/
main {
	margin-top: 45px;
	margin-bottom: 120px;
}
main .inner {
	background-image: url(../images/top/main_bg.png);
	background-repeat: no-repeat;
	background-position: right bottom;
}
main .main_v {
	margin-bottom: 80px;
	position: relative;
}
main .title {
	text-align: center;
	margin-bottom: 40px;
}
main .main_v h1 {
	font-size: 40px;
	color: #534741;
	letter-spacing: 2px;
	line-height: 1.7;
	font-family:'小塚ゴシック Pro','Kozuka Gothic Pro',sans-serif;
	position:absolute;
	top:50%;
	left:-5%;
	z-index:100;
    text-shadow: #FFF 2px 2px 3px, #FFF -2px -2px 3px, #FFF 2px -2px 3px, #FFF -2px 2px 3px;
}
main .slide img {
	text-align: center;
	position: relative;
}
main .slide {
	position: relative;
	overflow: hidden;
	height: 600px;
}
main .slide ul {
	position: absolute;
	width: 4800px;
}
main .slide li {
	float: left;
	width: 960px;
}
main .slide li img{
	width: 960px;
}
main section h2 {
	font-size: 40px;
	font-family: "Comic Sans MS'";
}
main .container {
	margin-bottom: 80px;
}
/*診療時間*/
main .time h2 {
	margin-bottom: 25px;
}
main .time table {
	width:500px;
	height:185px;
	margin-bottom: 30px;
}
main .time td {
	border: 1px solid #009eb0;
	text-align: center;
	vertical-align: middle;
	padding: 10px;
}
main .time tr:nth-of-type(n+2) td:nth-of-type(n+2) {
	color: #dadf00;
}
main .time tr:nth-of-type(n+2) td:nth-child(3) {
	color: #009eb0;
}
main .time p {
	line-height: 2;
}
main .time p span {
	font-size: 20px;
	font-weight: bold;
}
main .time p span a{
	text-decoration:none;
	color:#009eb0;
	display:inline-block;
}
/*診療案内*/
main .guide {
	width: 385px;
	height: 250px;
	box-sizing: border-box;
	padding: 35px 40px 20px 30px;
	border: solid 1px #009eb0;
	position: relative;
	margin-top: 20px;
}
main .guide h2 {
	position: absolute;
	top: -20px;
	left: 15px;
}
main .guide p {
	font-size: 21px;
	margin-bottom: 20px;
}
main .guide .guide_btn {
	width: 240px;
	height: 64px;
	margin: 0 auto;
}
main .guide .guide_btn a {
	display: block;
	width: 100%;
	height: 100%;
	background-image: url(../images/top/top_annai.png);
	background-repeat: no-repeat;
}
main .guide .guide_btn a:hover {
	background-image: url(../images/top/top_annai_hov.png);
	background-repeat: no-repeat;
}
/*お知らせ*/
main .news {
	width: 610px;
}
main .news h2 {
	border-bottom: 1px solid #009eb0;
	padding-bottom: 25px;
	margin-bottom: 20px;
}
main .news dl dt {
	float: left;
	clear: both;
	width: 125px;
	border-bottom: 1px solid #009eb0;
	padding: 20px 0 20px 15px;
}
main .news dl dd {
	border-bottom: 1px solid #009eb0;
	margin-left: 125px;
	padding: 20px 0;
}
main .news dl dt:first-child {
	border: none;
}
main .news dl dt:first-child + dd {
	border: none;
}
main .news p {
	clear: both;
	border-bottom: 1px solid #009eb0;
	padding-left: 15px;
	padding-bottom: 30px;
	line-height: 1.5;
}
/*main*/
/*ここからレスポンシブ*/
@media screen and (max-width:640px){

	main {
		margin-top:70px;
		margin-bottom:70px;
	}
	main .inner {
		background-image: none;
	}
	main .title {
		width: 80%;
		margin:0 auto 20px auto;
	}
	main .container {
		margin-bottom:30px;
	}
	main .main_v {
		margin:0 auto 30px auto;
		width:80%;
		height: 200px;
	}
	main .slide{
		width:100%;
		height:200px;
	}
	main .slide li img{
		width:40%;
		height:200px;
	}
	main .main_v h1 {
		font-size: 18px;
		top: 30%;
		left: -5%;
	}
	main .time {
		padding:20px;
		margin-bottom:40px
	}
	main .time h2 {
		margin-bottom:25px;
		padding-right: 33px;
		text-align: center;
	}
	main .time table {
	width:100%;
	height:auto;
	margin-bottom:15px;
	}
	main .time p {
		text-align: center;
		line-height:1.5;
		letter-spacing:1px;
	}
	main .guide {
		width:auto;
		height:auto;
		margin:20px;
	}
	main .guide h2 {
		top:-7%;
		left:21%;
	}
	main .guide p {
		text-align:center
	}
	main .guide .guide_btn {
		margin: 0 auto;
	}
	main .news{
		width:auto;
		padding:10px;
	}
	main .news h2{
		text-align:center;
		padding-right: 40px;
	}
	main .news dl p{
		font-size:10px;
	}
	main .news dl dt{
		font-size:12px;
	}
	main .news dl dd{
		font-size:12px;
	}

}