.page-mv{ background-image: url(../images/mv/sub008.jpg); }
.page-mv.patient{ background-image: url(../images/mv/sub003.jpg); }
.page-mv.concept{ background-image: url(../images/mv/sub004.jpg); }
.page-mv.treatment{ background-image: url(../images/mv/sub007.jpg); }
.page-mv.access{ background-image: url(../images/mv/sub011.jpg); }
.page-mv.dent-home{ background-image: url(../images/mv/sub012.jpg); }
.page-mv.lose-teeth{ background-image: url(../images/mv/sub006.jpg); }

/*.container .wrap > *:first-child{ margin-top: 0!important; }*/
.container h2{ font-size: 24px; color: #00468c; padding: 1em 0; position: relative; margin: 90px 0 30px; }
.container h2:before{ content: ''; width: calc(50vw + 500px); height: 100%; position: absolute; top: 0; right: calc(-50vw + 400px); border: solid 1px; border-right: none; border-radius: 5px 0 0 5px; }
.container h3{ font-size: 20px; border-bottom: solid 1px; color: #00468c; margin: 50px 0 30px; }
.container h4{ font-size: 18px; padding-left: 1.4em; position: relative; margin: 30px 0 20px; font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif; }
.container h4:before{ content: '■'; color: #a7b2c8; position: absolute; left: 0; }
.container p{ margin-bottom: 1em; }

.container .img_right{ float: right; margin: 0 0 20px 25px; max-width: 400px; }
.container .img_left{ float: left; margin: 0 25px 20px 0px; max-width: 400px; }
.container .img_center{ display: block; margin: 20px 0; }

.container ol{ counter-reset: number; margin: 20px 0; }
.container ol li{ font-size: 18px; padding-left: 50px; position: relative; margin-bottom: 1em; }
.container ol li:before{
	counter-increment: number;
	content: counter(number);
	color: #464646;
	width: 35px;
	height: 35px;
	background: #cad1de;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	left: 0;
	top: -2px;
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.container ol li img{ display: block; margin: 20px 0 30px; }

.container ul.list01{ margin: 20px 0; }
.container ul.list01 li{ position: relative; padding-left: 1.3em; margin-bottom: .3em; }
.container ul.list01 li:before{ content: '▶︎'; color: #a7b2c8; position: absolute; left: 0; }
.container ul.list01 li + dd{ margin-bottom: 2em; padding-left: 1.3em; }

.container .flex_box{ display: flex; justify-content: space-between; }
.container .flex_box .item_img{ width: 40%; }
.container .flex_box .item{ width: 50%; }

.container .flex_box.anchor-list{ justify-content: space-around; padding-top: 40px; }
.container .flex_box.anchor-list .item_branch{ font-size: 16px; color: #00468c; }

.container table{ width: 100%; margin: 20px 0; }
.container table th{ font-size: 18px; vertical-align: middle; padding: 1em; background: #cad1de; border: solid 1px #464646; font-weight: normal; }
.container table td{ font-size: 14px; vertical-align: middle; padding: 1em; border: solid 1px #464646; }
.container table td span{ font-size: 20px; font-weight: 700; }

.container table.dentures{ width: 100%; margin: 20px 0 0; }
.container table.dentures th{ font-size: 18px; vertical-align: middle; padding: 1em; background: #cad1de; border: solid 1px #464646; font-weight: normal; text-align: center;}
.container table.dentures td{ font-size: 14px; vertical-align: middle; padding: 1em; border: solid 1px #464646; }
.container table.dentures td span{ font-size: 20px; font-weight: 700; }

.container .flow li{ display: flex; justify-content: space-between; margin-bottom: 60px; position: relative; }
.container .flow li:not(:last-of-type):after{ content: ''; width: 0; height: 0; border-style: solid; border-width: 20px 25px 0 25px; border-color: #a7b2c8 transparent transparent transparent; position: absolute; bottom: -40px; left: 244px;}
.container .flow li .no{ 
	width: 50px;
	height: 50px;
	background: #00468c;
	color: #fff;
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-weight: normal;
	font-size: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.container .flow li .txt{ width: calc(100% - 80px); display: flex; justify-content: space-between; }
.container .flow li .txt dl{ order: 2; width: calc(100% - 375px); }
.container .flow li .txt dl dt{ font-size: 20px; color: #00468c; font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;  margin-bottom: 1em; }
.container .flow li .txt .pic{ order: 1; width: 335px; }
.container .flow li .txt .pic img{ display: block; }

.container #memo{ margin: 30px 0; }

.container .kanren{ background: #f3f5f8; padding: 30px 0 45px; margin: 100px 0 -100px; }
.container .kanren dl dt{ font-size: 24px; color: #00468c; margin-bottom: 40px; }
.container .kanren dl dd > ul{  }
.container .kanren dl dd ul{ text-align: left; }
.container .kanren dl dd ul li{ display: inline-block; }
.container .kanren dl dd > ul > li{ text-align: left; background: #fff; padding: 20px; display: block; }
.container .kanren dl dd > ul > li > a{ font-weight: 700; color: #00468c; }
.container .kanren dl dd > ul > li + li{ margin-top: 20px; }
.container .kanren dl dd ul li a:before{ content: '['; padding-right: .5em; }
.container .kanren dl dd ul li a:after{ content: ']'; padding-left: .5em; }
.container .kanren dl dd > ul > li > a:before,
.container .kanren dl dd > ul > li > a:after{ content: none; }
/*.container .kanren dl dd ul li.current_page_item { display: none; }*/

.nav-next, .nav-previous{ text-decoration: underline; }

table.imp_price th {width: 40%;}
table.all_price td {width: 20%;}

strong {font-weight: bold;}

div#gallery-1 {display: flex; justify-content: space-evenly;}
input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {width: 100%;}
textarea.wpcf7-form-control.wpcf7-textarea {width: 100%;}
input.wpcf7-form-control.wpcf7-submit {border: solid 1px #00468c; border-radius: 5px; padding: 5px; width: 100px; text-align: center; font-weight: bold; margin-top: 10px;}
input.wpcf7-form-control.wpcf7-submit:hover{background:#00468c; color:#ffffff;}
figure.gallery-item {display: inline-block; width: 48%; vertical-align: top;}
figcaption {margin-right: 50px; text-align: left;}
td.wide20{width:20%;}
td.wide15{width:15%;}
.flex_img {display: flex; /*flex-wrap: wrap;*/ justify-content: space-between; align-items: center;}
.flex_img img{flex-basis: 30%; margin-right: 20px;}
.hito_table {flex-basis: 60%;}
.flex_case img{width: 48%;}
.flex_case {display: flex; /*flex-wrap: wrap;*/  /*justify-content: space-between;*/ align-items: center;}
.flex_case img{width: 48%; margin-right: 20px;}
#shozoku .flex_case img{width: 100%;}
.flex_caselast {display: flex; justify-content: space-between; align-items: flex-start;}
td.ti {background: #cad1de; width:20%; text-align: center;}
.container table.gold td {border: none;}
.wide_td th {width: 20%; text-align: center;}

.acd-check{
    display: none;}
.acd-label{
    background: #f2f2f2;
    color: #233264;
    display: block;
    margin-bottom: 1px;
	padding: 10px;
	position: relative;}
.acd-label:hover{
	opacity: .7;}
.acd-content{
    height: 0;
    opacity: 0;
	padding: 7px;
    transition: .5s;
    visibility: hidden;
	overflow: hidden;}
.acd-check:checked + .acd-label + .acd-content{
    height: auto;
    opacity: 1;
    visibility: visible;}
.txt_q::before {
    content: 'Q';
    color: #62B46C;
    font-size: 1.5em;
    font-weight: 700;
    padding-right: 10px;}

.research_item {
	margin-left: 20px;
	width:300px;
	margin-bottom:30px;
}

.research_item p {
	font-weight:900;
	font-size:12px;
	color:#00468b;
}

#toc_container {
padding: .5em 1.5em;
     margin: 2em 0; 
    border: solid 1px #000;
    border-radius: 10px;
    background: #f7f7f7;
padding-top: 0 !important;
}

.toc_title {
    font-size: large;
    line-height: 2;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    width: 100%;
    margin-top: 20px!important;
    margin-bottom: 20px!important;
    color: #000;
    position: relative;
}

.toc_title::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    display: inline-block;
    width: 60px;
    height: 2px;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: black;
}

#toc_container p.toc_title+ul.toc_list {
    margin-top: 1em;
    margin-bottom: 1em;
}

.toc_list li {
    font-size: 95%;
    line-height: 1.5;
    font-weight: bold;
    display: inline-block;
    text-align: left;
    width: 100%;
    padding: 0;
    text-indent: 0;
}

.toc_number {
font-weight: bolder;
}

.categorybox {
	 background: #f9f9f9;
    border: 1px solid #aaa;
    padding: 0 20px 20px;
    margin-bottom: 1em;
    width: 100%;
    display: table;
    font-size: 95%;
}

.container .categorybox h3 {
	margin: 20px 0 30px;
}

.clear {
	clear: both;
}


.video {
	width:100%;
	text-align: center;
	margin: 20px auto;
}

.video.pc video {
	width:80%;
	height:300px;
}

.video.sp video {
	width:100%;
	height:300px;
}

.btn_flex {
	display: flex;
    width: 800px;
    flex-flow: wrap;
    justify-content: space-evenly;
}

.btn_flex .btn01 {
	margin: 1em 0;
}
.th_width{
	width:20%;
}


/*before after image*/

.beforeafter{
    text-align: center;
    margin: 20px 0 1px;
	display: flex;
	flex-wrap: wrap;
}
.beforeafter div {
    display: inline-block;
    vertical-align: middle;
    width: 49%;
    margin: auto;
}
.beforeafter div:first-child {
   margin-right: 1%;
}

.beforeafter div p{
    font-size: 18px;
    color: #000;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: solid 1px #000;
    font-style: italic;
	text-align: center;
}

.beforeafter div p img {
	display: block;
	margin: 3px auto;
}

.half {
    display: flex;
    justify-content: space-around;
    margin: 5rem 0;
}

.half .inner {
    width: 300px;
}

.half.case dl dt {
    font-weight: 700;
    background: #cad1de;
    text-align: center;
}

.half.case dl:nth-of-type(2) dt {
    background: #00468c;
    color:#fff;
    font-weight: 700;
}

.cleaning-flow {
	display: flex;
	justify-content: space-around;
	margin: 0 auto;
	gap: 20px;
}
.cleaning-flow > div {
	width: 50%;
	padding: 20px;
	text-align :center;
	border: solid 1px #333;
}
.cleaning-flow img {
	padding: 10px 0;
}
.cleaning-flow p {
	text-align :center;
}
.cleaning-flow2 {
	text-align :center;
}
.cleaning-flow2 > div {
	text-align :center;
	padding: 20px;
	border: solid 1px #333;
}
.cleaning-flow2 img {
	padding: 10px 0;
}
