#mainvisual {
	height: 800px;
	background-color: unset;
	background-image: unset;
}
#mainvisual div:first-of-type {
    background-size: cover;
    background-position:  center center;
}
.mainvisual_wrap {
	height: 800px;
}

footer {
    border-top: none;
}
.top_medical1_list {
    display: flex;
}

@media screen and (max-width:640px) {
#wrapper, html, body, #main{
	min-height: 400px;
}
#mainvisual {
	height: 300px;
}
.mainvisual_wrap {
	height: 300px;
}
#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%;
}
.top_medical1_list {
    display: block;
}

}
