
#mainvisual{
	height: 1600px;
	/*background-color: unset;
	background-image: unset;*/
	margin-bottom: 120px;
}
#mainvisual::after {
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc(100% - (50% - 300px));
    /* min-width: 1200px; */
    height: 350px;
    background-color: #c3e4f4;
    content: "";
    z-index: 0;
}
#mainvisual .inner {
    height: 1450px;
}
.mainvisual_wrap{
height: 945px;
    width: 100%;
    position: absolute;
    display: block;
				top: 150px;
				left: 50%;
    transform: translateX(-50%);
    z-index: 1;
				background-repeat: no-repeat !important;
				background-position: center !important;
}

@media screen and (max-width:640px) {
	
#wrapper, html, body, #main{
	min-height:500px;
}

.mainvisual_wrap{
position: absolute;
    height: 320px;
    background-size: cover !important;
				top: 100px;
}

#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%;
}
	
#mainvisual{
	/*height:1600px;*/
	height:/*1730px*/1880px;
}
#mainvisual::after{
display: none;
}
#mainvisual .inner {
    height: /*1100px*/1250px;
}

.mv_bnr01 {
    position: absolute;
    top: 415px;
    left: 8px;
    z-index: 10;
}
.mv_bnr02 {
    position: absolute;
    top: 495px;
    left: 8px;
    z-index: 10;
}
	
.mv_bnr03 {
    position: absolute;
    top: 495px;
    z-index: 10;
	width: 90%;
    left: 50%;
    transform: translateX(-50%);
}
	.mv_bnr.sp{
		position:absolute;
		width: 90%;
		top:330px;
		left: 50%;
    	transform: translateX(-50%);
		z-index: 10;
	}
	.mv_bnr.sp a{
		display:block;
		margin-bottom:30px;
	}
.mv_bnr01 img,
.mv_bnr02 img{
width: 89%;
}

.mv_bnr03 img{
		
	}	
	
.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;
}

}

@media screen and (max-width:320px) {
#mainvisual {

}
#mainvisual .inner {

}
.mv_bnr01 img, .mv_bnr02 img {
    width: 65%;
}
.mv_bnr01 {
    top: 430px;
}
.mv_bnr02 {
    top: 495px;
}
.top_info .box1 a {
    font-size: 27px;
}
}
