
#mainvisual {
    height: 850px;
    background-color: unset;
    background-image: unset;
}
.mainvisual_wrap{
	height: 850px;
	background-size: cover;
}


#container {
    padding-top: 152px;
    padding-bottom: 0;
}


.bg1 {
    padding-top: 238px;
}

.bg2 {
	margin-bottom: 0;
	padding-top: 206px;
    padding-bottom: 63px;
}










@media screen and (max-width:640px) {

#wrapper, html, body, #main{
	min-height:500px;
}
#mainvisual{
	height:180px;
}
.mainvisual_wrap{
	height: 180px;
}
#main,
#main .inner{
	width:100%;
	min-width:100%;
}
#main{
	background-size: auto 100% !important; 
}
#main h1, #main h1 img {
width: 168px;
height: 102px;
}
#main h1{
	top: 144px;
	padding:0;
}
#main h2{
	top: 258px;
	padding: 0 12%;
}


#container {
    padding-top: 82px;
    padding-bottom: 0;
}
.bg1 {
    padding-top: 0;
}
.bg2 {
    margin-bottom: 0;
    padding-top: 86px;
    padding-bottom: 2px;
}



.top_greet .text{
	width:88%;
	padding:0 6%;
}
/*.top_greet .box{
	padding:70px 0 480px;
}*/
.top_greet_img{
	position:relative !important;
	right:0;
	top:0;
	bottom:0;
	width: 210px;
	height: auto;
	margin:0 auto 30px !important;
}
.top_greet_doctor{
	float:none;
	margin-bottom:20px;
}
.top_greet_doctor dd span{
	margin-right:0;
}
.top_greet .btn01{
	float:none;
	margin:auto;
}

}
