#mainvisual {
	position: relative;
	width: calc(100% - 40px);
	height: 880px;
	margin: 0 auto;
	border-radius: 50px;
	background-color: unset;
	background-image: unset;
	background-size: cover;
	overflow: hidden;
}

#mainvisual::before {
    position: absolute;
    top: 10px;
    left: 0;
	right: 0;
	margin: auto;
    width: 98.8%;
    height: 97.8%;
    content: "";
    border: dashed 2px #fff;
    border-radius: 50px;
	z-index: 1;
}

.mainvisual_wrap {
	height: 880px;
}

#mainvisual .inner {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
}

.blog_information{
	display:inline-block;
}

/* メインスライド */
#slick_fade {
	width: 100%;
	height: 880px;
}

#slick_fade li img {
	width: 100%;
	height: 880px;
	object-fit: cover;
	object-position: center;
	border-radius: 50px;
}

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

.mainvisual_wrap {
	height: 400px;
}

#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_bg_wrap {
	margin-top: 115px;
}

#mainvisual {
	width: 100%;
	height: 320px;
	border-radius: 0;
}

#mainvisual::before {
    height: 96.8%;
	border-radius: 0;
	border-top: 0;
	border-left: dashed 2px #fff;
	border-right: dashed 2px #fff;
	border-bottom: dashed 2px #fff;
	border-bottom-left-radius: 50px;
	border-bottom-right-radius: 50px;
	pointer-events: none;
}


h1 {
	border-bottom: none;
}	


footer::before {
	top: auto!important;
}

/* メインスライド */
#slick_fade {
	height: 320px;
}

#slick_fade li img {
	height: 320px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.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;
}
}
