@charset "utf-8";

.LPDetails h2{border-left:none; margin-bottom:12px; color:#333333; padding-left:4px; clear:both;}
.LPDetails h2 span{display:block;}
#HeaderContents h1 span.blk{display:inline;}

/*youtube*/
.video-container {
text-align:center;
}

/*写真サイズ調整*/
.photos {
  width:980px; margin:0 auto;
  height:200px;
  position: relative;
  overflow: hidden; z-index:-10;
}
.photos img {
  position: absolute;
  top:50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/*小国院長の施術の様子**/
.doctor{border:1px solid #999999; border-left:none; border-right:none; padding:8px 0; margin:12px 0;}
.doctor:after{content:""; display:block; clear:both;}
.doctor p{display: table-cell; vertical-align: middle; margin: 0;}
.doctor img{max-width:300px; margin-right:8px;}

/*写真回り込み*/
img.left{float:left; max-width:auto; width:auto; margin-right:8px; vertical-align:middle;}

/*費用*/
#price table td.notes{border:none; text-align:right; padding-right:0;}

@media screen and (max-width: 999px) {
.photos{width:100%; height:160px;}
}
@media screen and (max-width:912px) {
#HeaderContents h1{font-size:2em;}
}
@media screen and (max-width:800px) {
.LPDetails h2 span{display:inline;}

.photos{width:auto; height:240px;}
.photos img{width:220px; height:240px; object-fit: cover;}
.photos img {
  position:static;
  top:0;
  left:0;
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0,0); width:100%;
}
}

@media screen and (max-width:694px) {
#price table td.notes{text-align:left; padding-left:0;}
}

@media screen and (max-width:678px) {
#HeaderContents h1 span.blk{display:block;}

.doctor p{display:block; vertical-align:inherit; margin: 0;}
.doctor img{margin:0 auto; display:block;}

}

@media screen and (max-width:444px) {
#HeaderContents h1{font-size:1.4em;}

}


@media screen and (max-width:590px) {
/*youtube*/
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
}