body{
	margin: 0px;
}

body#top_margin{
	margin-top: 93px;
}

body#top_margin_0{
	margin-top: 0;
}

#top-main{
	display: block;
}

.page_logo{
	display: inline-block;
	vertical-align: middle;
    margin-top: 5px;
	    text-align: center;
}
#logo{
	margin-top: 5px;
}

#logo p{
	vertical-align: middle;
}
#logo img{
	max-width: 115px;
	vertical-align: middle;
}

#h-p{
	color: #fff;
	font-size: 15px;
	vertical-align: middle;
	margin: 10px auto 0px auto;
}
.fixed #h-p,
.underlayer_h #h-p{
	color: #000;
}

.fixed .bar{
	background-color:#000;
}

.close .bar{
	background-color:#fff;
}

#sk{
	margin-top: -3px;
    font-size: 21px;
	letter-spacing: 2px;
    color: #fff;
}
.fixed #sk,
.underlayer_h #sk{
	/*color: #000;*/
	color: #531E11;
}

#sk strong{
	font-weight: normal;
    margin-left: 7px;
}

/*ヘッダーメニュー*/
header {
	margin: 0px;
    /*padding-bottom: 5px;*/
    top: 0px;
	width: 100%;
    position: absolute;
    z-index: +1;
    background-color: rgba(35, 24, 21, 0.55);
    max-width: none;
}
.header_menu{
	display: inline-block;
	vertical-align: middle;
    text-align: center;
	/*max-width: 850px;
    width: 100%;*/
	float: right;
	/*margin-top: 10px;*/
}
.header_menu ul{
	margin: 0px;
	padding: 0px;
	font-size: 0px;
	list-style: none;
}
.header_menu ul li{
    display: inline-block;
    text-align: center;
    font-size: 16px;
	padding: 30px 50px 20px 50px;
}

.header_menu ul li:hover{
	/*background-color: #f8f8f8;*/
	background-color: #f5f5f5;
}
.fixed .header_menu ul li:hover,
.underlayer_h .header_menu ul li:hover{
	background-color: #f5f5f5;
}

.header_menu ul li a{
    color: #3b3b3b;
}

.header_menu ul li p{
	margin: 0px;
    color: #fff;
}
.header_menu ul li:hover p{
	color: #3e3a39;
}


.fixed .header_menu ul li p,
.underlayer_h .header_menu ul li p{
	/*color: #595757;*/
	color: #000;
}
	.header_menu ul li p.t_jp{
		line-height: 19px;
		font-size: 13px;
	}
.fixed,
.underlayer_h{
	position: fixed;
	top: 0;
	left: 0;
	/*background: #fff;*/
	/*background: #e5e5e5;*/
	/*background: #dcdcdc;*/
	background: #efefef;
}
/*TOP背景動画*/
#main1{
	display: block;
    max-width: none;
    padding: 0;
}

.main_back_video{
    display: block;
	width: 100%;
    position: relative;
    height: 45vh;
    min-height: 440px;
    overflow: hidden;
}

.main_back_video video{
	object-fit: cover;
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 2px;
}

/*動画上の要素*/
.main_back_text{
    text-align: center;
	max-width: 1400px;
	width: 100%;
	position: absolute;
	top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    
}

	#t1{
		color: #0A68A3;
	    font-family: "游明朝", YuMincho, YuGo-Medium, 'YuGothic', "ＭＳ Ｐ明朝", "ＭＳ 明朝",serif;
	    font-weight: 600;
	    font-size: 23px;
	    line-height: 37px;
	}
	#m-r{
		position: absolute;
	    top: 30px;
	    right: 50px;
	    margin-left: 35px;
	}
	#m-s{
		max-width: 205px;
	}
	#m-s img{
		width: 100%;
	}
	#btn{
	    width: auto;
	    margin: 0 auto;
	}
		.doctor_name{
			margin: 7px 0px;
			font-size: 14px;
		}
		.doctor_name span{
		    font-family: "游明朝", YuMincho, YuGo-Medium, 'YuGothic', "ＭＳ Ｐ明朝", "ＭＳ 明朝",serif;
		    font-weight: 600;
			margin-left: 5px;
			font-size: 18px;
		}
		button.js-modal-open{
			    border: 0px;
		    /* background: transparent; */
		    background: #595757;
		    color: #fff;
		}

#skin{
	margin-top: 25px;
}

.underlayer_line_blue{
	border-top: 30px solid #0071bd;
}
.underlayer_line_pink{
	border-top: 30px solid #FC90BC;
}


/*TOP　[VIEW MORE]ボタンの action*/
#v:active,
#v2:active,
#vm:active,
#v3:active{
	opacity: 0.5;
}
@media screen and (max-width: 1024px) {
/*.main_back_video{
	display:none;
}*/
body#top_margin{
	margin-top:0;
}

.main_back_video {
    height: 25vh;
	min-height:inherit;
}

.main_back_text{
	position:absolute;
	height:100%;
}

#m-r {
    position: absolute;
    top: 25%;
    right: 50px;
    margin-left: 35px;
}


#m-b {
    position: absolute;
    left: 10%;
    top: 25%;
}

#te2{
	float:right;
}

#pam3{
	margin-left:0;
}

#pama {
    margin-top: 20px;
}


#hada,#te1,#te2{
	width:450px;
	height:auto;
}

#endless, #endless2, #endless3 {
    position: relative;
}

#skin2{
	margin-bottom:30px;
	padding:12px 0;
}

#skin3 {
    margin: 0;
	padding:0;
	top:0;
	left:80px;
    position: absolute;
}

#main3,#main2{
	padding:0 20px;
	margin-bottom:30px;
}

}
@media screen and (max-width: 768px) {
*{
	box-sizing:border-box;
}

body#top_margin_0 {
    margin-top: 80px;
}
	
.main_back_video {
    height: 32vh;
}

.main_back_video video {
    object-fit: none;
    position: absolute;
     height: auto;
    width: 100%;
}

#m-b {
    left: 5%;
}

#t1{
	font-size:1rem !important;
}

#hada, #te1, #te2 {
    width: 48%;
    height: auto;
}

#hm, #hm1, #tec {
    width: 46%;
}

#tisiki,#thi,#pam2 {
    font-size: 1.5rem;
}

#hm p,#pam3,#thi1{
	font-size:1rem;
}

figure {
    width: 33%;
}

figure img{
	max-width:100%;
	height:auto;
}

#gallery_box {
	padding:10px 20px;
}

figcaption p{
	font-size:1rem !important;
}

#g-p,#g-p2,#g-p3{
	font-size:0.75rem;
}

.main_back_text{
	top:45%;
}

}
@media screen and (max-width: 599px) {
.main_back_video {
    height: 63vh;
    max-height: 63vh;
}

.main_back_video video {
    object-fit: none;
    position: absolute;
    height: 100vh;
    width: auto;
    top: -30%;
}

.main_back_text {
    text-align: center;
    max-width: 1400px;
    width: 100%;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#hm, #hm1, #tec{
	float:none;
}

#m-b {
    position: absolute;
    left: 50%;
    width: 90%;
    top: 50%;
    transform: translate(-50%, -50%);
}



#m-r {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: 0;
	right:0;
}

#m-s {
    max-width: 100%;
}

#skin,#skin2 {
    margin-bottom: 0;
	padding-top:0;
}

#hada, #te1, #te2 {
    width: 100%;
    height: auto;
}

#b,#b2,#b3{
    height: 50px;
}

#skin1,#skin3,#skin5 {
    position: absolute;
    top: 0;
  right: 0;
  bottom: 0;
  left: 0;
    text-align: left;
	padding-left: 30px;
	margin-top: 0;
	padding-top:3px;
}

#main3, #main2{
	padding:0;
	max-width:100%;
}

#hm, #hm1, #tec {
    width: 100%;
	padding:0 1%;
}

#tisiki, #thi, #pama{
	text-align:center;
	font-size:1.5em;
}

#hm,#hm1,#tec{
	text-align:center;
}

#v,#v2,#v3,#vm,#v5 {
    width: 100%;
	height:auto;
	display:flex;
	justify-content:center;
	align-items:center;
	padding:10px;
}

#v1 {
    padding-top: 4px;
	margin-top:0;
	display:inline;
}

figure{
	width:49%;
	position:relative;
}

#gallery_box{
	padding:0;
	align-items:unset;
	margin-top:20px;
}

.img_box{
	overflow:inherit;
	height:auto;
}

.img_box:before {
    content: '';
    padding-top: 100%;
    display: block;
}

.img_box img{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  object-fit: cover;
}

#v3 {
	position:absolute;
	bottom:0;
}

#v4{
	margin:0;
	padding:0;
}

#vm1 {
    padding-top: 0;
	margin:0;
}

#g{
	height:auto;
}

#g1{
	height:auto;
}

#g-p, #g-p2, #g-p3 {
    margin-bottom: 50px;
}
	
}

@media screen and (max-width: 380px) {
	.main_back_video {
    height: 70vh;
    max-height: 70vh;
}

.main_back_video video {
    object-fit: cover;
    position: absolute;
    height: 120vh;
    /* width: 100%; */
    top: -40%;
}

}