
header{
	height: 140px;
	background: #fff;
}

/*============================================================================

	#mainvisual

============================================================================*/

#mainvisual {
	height: 1000px;
	background-image: none;
	padding-top: 173px;
}
#mainvisual .bx-wrapper {
    z-index: -1;
}
.mainvisual_slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1000px;
}
.mainvisual_slide li {
    position: relative;
    width: 100%;
    height: 1000px;
	background: center/cover no-repeat;
}
.mainvisual_slide li img{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  margin: auto;
}
/*
.mainvisual_slide li:nth-of-type(1) {
    background: url("../images/mainvisual_slide1.jpg") no-repeat center top;
}
.mainvisual_slide li:nth-of-type(2) {
    background: url("../images/mainvisual_slide2.jpg") no-repeat center top;
}
.mainvisual_slide li:nth-of-type(3) {
    background: url("../images/mainvisual_slide3.jpg") no-repeat center top;
}
.mainvisual_slide li:nth-of-type(4) {
    background: url("../images/mainvisual_slide4.jpg") no-repeat center top;
}
*/
#mainvisual h2 {
	position: absolute;
	bottom: 60px;
    left: 50%;
    margin-left: -600px;
}
.mainvisual_catch {
	position: absolute;
	bottom: 75px;
	left: 50%;
	transform: translateX(-50%);
	max-width: 1200px;
	width: 100%;
	font-family: "新ゴ M",sans-serif;
	font-size: 33px;
	color: #006cb8;
	letter-spacing: .1em;
	line-height: 1.55;
	text-shadow: 4px 4px 4px #fff, -4px 4px 4px #fff, 4px -4px 4px #fff, -4px -4px 4px #fff, 4px 0px 4px #fff, 0px 4px 4px #fff, -4px 0px 4px #fff, 0px -4px 4px #fff;
}
.mainvisual_catch_en {
	display: block;
	font-size: 24px;
	margin-bottom: 10px;
}


/* 516px から 640px の間は非表示（content: none）にする */
@media screen and (min-width: 516px) and (max-width: 640px) {
    .top_interview_deco::after {
        content: none;
    }
}

@media screen and (max-width: 515px) {
    .top_interview_deco::after {
        position: absolute;
        right: 0;
        top: 1070px;
        width: 355px;
        max-width: 100%;
        height: 414px;
        background: url(../images/top_interview_deco02.png) no-repeat;
        content: "";
    }
}

@media screen and (max-width:640px) {

/* 見出し英字 */
.top_news_tit h2::before,
.top_concept h2::before,
.top_feature h2::before,
.top_doctor h2::before,
.top_medical h2::before,
.top_interview h2::before{
	font-size: 40px;
}

#wrapper, html, body, #main{
	min-height:500px;
}
#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_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;
}
	.main_padding {
		padding-top: 0;
	}
	#container {
		padding-top: 20px;
	}
	#container section {
		padding: 100px 6% 0;
		width: 100%;
		box-sizing: border-box;
	}
	#mainvisual {
		height: auto;
		margin-top: 124px;
		padding-top: 0;
	}
	.mainvisual_slide li img{
		position: static;
	  }
	/* .bx-viewport {
		height: 350px !important;
	} */
	.mainvisual_slide {
		height: auto;
	}
	.mainvisual_slide li {
		background-size: cover !important;
		height: auto;
	}
	#mainvisual h2 {
		left: 0;
		bottom: 0;
		margin-left: 0;
	}
	.mainvisual_catch {
		position: static;
		transform: none;
/*		font-size: 20px;*/
        font-size: 5vw;
		line-height: 1.55;
		padding-left: 6%;
		padding-right: 6%;
		margin-top: 20px;
	}
	.mainvisual_catch_en {
		font-size: 14px;
		margin-bottom: 5px;
	}
	.mainvisual_schedule {
		display: none;
	}
	.top_sch {
		padding-top: 0 !important;
	}
	#mainvisual .inner {
		max-width: none;
		width: 100%;
		height: 0;
		padding-top: 67%;
		bottom: auto;
		top: 0;
	}
	.mainvisual_recruit_btn {
		width: 120px;
		height: 120px;
		bottom: -15px;
		right: 14px;
	}
/*==================================================================

	.top_news

==================================================================*/
	.top_news {
		display: block;
		width: 100% !important;
		padding-top: 40px !important;
		height: auto;
	}
	.top_news_tit {
		width: 100% !important;
	}
	.top_news_btn {
		margin: 36px auto 0;
	}
	.top_news_flame {
		max-width: 100%;
		width: 100%;
		margin: 20px 0 0;
	}
	.top_news_flame ol li {
		line-height: 50px;
	}
/*==================================================================

	.top_concept

==================================================================*/
	.top_concept {
		padding-top: 160px !important;
		padding-bottom: 130px !important;
	}
	.top_concept::before {
		top: 50px;
		margin: 0 -50% 0;
		width: 170%;
    	height: 90%;
	}
	.top_concept::after {
		top: 50px;
		left: 0;
		width: 170%;
		height: 90%;
		margin: 0 -20% 0;
	}
	.top_concept .inner {
		width: 100%;
		display: block;
	}
	.top_concept h2 {
		margin-bottom: 0;
	}
	.top_concept_txt {
		width: 100%;
		margin-bottom: 30px;
	}
	.top_concept_txt h3 {
		font-size: 26px;
    	line-height: 1.4;
		margin-bottom: 40px;
	}
	.top_concept_txt h3::before {
		width: 100%;
		left: 0;
	}
/*==================================================================

	.top_feature

==================================================================*/
	.top_feature {
		position: relative;
		box-sizing: border-box;
		padding-top: 36px !important;
		overflow: hidden;
		margin-top: 0;
	}
	.top_feature::before {
		top: -120px;
		left: -28px;
		width: 177px;
		height: 231px;
		background-size: contain;
	}
	.top_feature h2 {
		margin-bottom: 40px;
	}
	.top_concept_txt p{
		text-shadow: 0 0 1px #fff, 0 0 3px #fff, 0 0 7px #fff, 0 0 10px #fff, 0 0 15px #fff;
	}
	.top_feature_list_text h3 {
		font-size: 20px;
	}
.top_feature_list {
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}
.top_feature_list li {
    display: flex;
    justify-content: space-between;
    width: 100%;
	margin-bottom: 27px;
}
.top_feature_list li:nth-of-type(3),
.top_feature_list li:nth-of-type(4){
	    flex-direction: column-reverse;
}
.top_feature_list li:nth-of-type(1),
.top_feature_list li:nth-of-type(2) {
	    flex-direction: column-reverse;
    margin-bottom: 27px;
}
	.top_feature_list_text {
		width: 280px;
		/* height: 280px; */
		max-width: 100%;
		margin: 0 auto;
	}
	.top_feature_list li figure {
		width: 280px;
		height: auto;
		max-width: 100%;
		margin: 0 auto;
	}
/*==================================================================

	.top_doctor

==================================================================*/
	.top_doctor {
		padding-bottom: 130px !important;
	}
	.top_doctor::before {
		width: 200%;
		left: -130px;
		height: 94%;
	}
	.doctor01 .inner, .doctor02 .inner {
		flex-direction: column-reverse;
		width: 100%;
	}
	.doctor01::before, .doctor02::before {
		width: 100%;
	}
	.top_doctor_text {
		width: 100%;
		padding: 30px 8% 44px;
	}
	.top_doctor_text h3 {
		font-size: 20px;
		margin-bottom: 30px;
		line-height: 1.2;
	}
	.doctor01 .inner figure, .doctor02 .inner figure {
		width: 80%;
    	margin: 0 auto;
	}
	.top_doctor_btm {
		display: block;
	}
	.top_doctor_text p.top_doctor_name {
		margin-bottom: 20px;
	}
	.top_doctor_text p.top_doctor_name span {
		margin-right: 0;
    display: block;
    margin-bottom: 10px;
	}
	.top_doctor::after {
   		bottom: -46px;
		right: -28px;
		width: 177px;
		height: 231px;
		background-size: contain;
	}
	.top_doctor_btn {
		padding: 0 28px;
	}
/*==================================================================

	.top_implant

==================================================================*/
	.top_implant {
		margin-top: -100px;
		background: #b1cbdf url(../images/top_implant_bg_sp.jpg) no-repeat right 33% top -30px;
		background-size: contain;
		padding: 160px 0% 80px !important;
		margin-bottom: 110px;
	}
	.top_implant_copy {
		position: static;
		width: 100%;
		padding: 0 6%;
	}
	.top_implant_copy h2 {
		width: 28%;
		margin: 0 auto 0 0;
	}
	.top_implant_name {
		text-shadow: none;
		text-align: center;
		margin-top: 20px;
	}
	.top_implant_name span {
		display: block;
		margin-right: 0;
	}
	.top_implant_btn {
		margin-bottom: 42px;
		box-shadow: none;
	}
	.top_implant_list {
		width: 100%;
		height: 100vw;
		left: 0;
		transform: translate(0, 0);
		margin-left: 0;
		padding-top: 46vw;
		background-size: cover;
	}
	.top_implant_list h3 {
		font-size: 20px;
    	background: url(../images/top_implant_cross.png) no-repeat center 24px;
    	background-size: 12px 12px;
    	margin-bottom: 6px;
	}
	.top_implant_list h3::before {
		bottom: -4px;
		top: auto;
		width: 20vw;
		display: none;
	}
	.top_implant_list h3 span:first-of-type {
		margin-bottom: 18px;
	}
	.top_implant_list_txt {
		margin-top: 0;
		margin: 0% 6% 30px;
		color: #fff;
		font-size: 18px;
		line-height: 1.2;
		font-family: "新ゴ R",sans-serif;
	}
	.top_implant_list li {
		width: 36vw;
		height: 36vw;
		background: no-repeat center 20px;
		background-size: 30%;
		font-size: 72%;
		padding-top: 18%;
	}
	.top_implant_list li:nth-of-type(2) {
		top: 25%;
		left: 2%;
	}
	.top_implant_list li:nth-of-type(3){
		bottom: -1%;
    	left: 11%;
	}
	.top_implant_list li:nth-of-type(4){
		bottom: -1%;
    	right: 11%;
	}
	.top_implant_list li:nth-of-type(5) {
		top: 25%;
		right: 2%;
	}
/*==================================================================

	.top_medical

==================================================================*/
	.top_medical {
		width: 100%;
		padding-top: 0 !important;
	}
	.top_medical_list li {
		width: 42vw;
		height: 42vw;
		margin-bottom: 20px;
	}
	.top_medical_list li a {
		width: 100%;
		height: 100%;
		background-size: 37% !important;
		padding-top: 50%;
		/*font-size: 120%;*/
		font-size: 5vw;
		background: no-repeat center 16%;
	}
	.top_medical_list li a p {
		bottom: 12px;
   	 	right: -10px;
    	font-size: 12px;
	}
	.top_medical_list li a p::before {
		bottom: -12px;
		right: 6px;
		width: 30px;
		height: 30px;
	}
	.top_medical_list li a p::after {
		width: 52px;
    	height: 10px;
    	background: url(../images/top_medical_arrow.png) no-repeat left bottom;
    	background-size: contain;
	}
	.top_medical_list li:nth-of-type(1) a {
		background-position: center 20%;
	}
	.top_medical_list li:nth-of-type(2) a {
		background-position: center 20%;
	}
	.top_medical_list li:nth-of-type(3) a {
		background-position: center 15%;
		padding-top: 42%;
		font-size: 14px;
	}
	.top_medical_list li:nth-of-type(4) a {
		padding-top: 43%;
	}
	.top_medical_list li:nth-of-type(5) a {
		background-position: center 21%;
	}
	.top_medical_list li:nth-of-type(6) a {
		background-position: center 16%;
		padding-top: 43%;
	}
	.top_medical_list li:nth-of-type(7) a {
		background-position: center 22%;
	}
	.top_medical_list li:nth-of-type(8) a {
		background-position: center 18%;
	}
	.top_medical_list li:nth-of-type(9) a {
		background-position: center 22%;
	}
	.top_medical_list li:nth-of-type(10) a {
		padding-top: 43%;
	}

/*==================================================================

	.top_interview

==================================================================*/
	.top_interview {
		padding-bottom: 50px !important;
	}
	.top_interview_list {
		width: 100%;
		    flex-wrap: wrap;
	}
	.top_interview_list li {
		/*width: 100%;
		max-width: 300px;*/
		    width: 228px;
    height: 358px;
		margin: 0 auto 30px;
	}
	.top_interview_list li a {
		width: 100%;
		background-size: cover;
	}
	.top_interview_deco::before {
		max-width: 100%;
		top: 340px;
		left: 0px;
		left: auto;
		background-size: contain;
	}
	/* .top_interview_deco::after {
		position: absolute;
		right: 0;
		top: 1070px;
		width: 355px;
		max-width: 100%;
		height: 414px;
		background: url(../images/top_interview_deco02.png) no-repeat;
		content: "";
	} */
}

@media screen and (max-width:320px) {
#main{
	background-size: 100% auto!important;
}


}
