.sub-bg{ background: #e9ecee; }

.mv{ width: 100%; height: 50rem; background-repeat: no-repeat; background-size: cover; background-position: center; margin-bottom: .6rem; position: relative; }
.mv{ background-image: url(../jpg/mv01.jpg); }

.pankuzu{ width: 1000px; margin: 0 auto; text-align: left; }
.pankuzu li{ font-size: 1.2rem; display: inline-block; }
.pankuzu li:not(:last-of-type):after{ content: '-'; margin-left: .5em; }

h1{ font-size: 4rem; font-family: 'Noto Serif JP', serif; font-weight: 500; line-height: 1.6; color: #1a1a1a; text-align: center; margin-top: 8rem; margin-bottom: 8rem; position: relative; padding-bottom: 1.2rem; }
h1:after{ content: ''; width: 3rem; height: 2px; background: url(../png/border01.png) repeat-x left bottom/contain; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }

main{ display: block; width: 800px; margin: 6rem auto 10rem; padding-bottom: 14rem; }
main h1{ font-size: 4rem; font-family: 'Noto Serif JP', serif; font-weight: 500; line-height: 1.6; color: #1a1a1a; text-align: center; margin-bottom: 8rem; position: relative; padding-bottom: 1.2rem; }
main h1:after{ content: ''; width: 3rem; height: 2px; background: url(../png/border01.png) repeat-x left bottom/contain; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }

main section > img{ display: block; width: 100%; margin: 4rem 0; }
main section + section{ margin-top: 8rem; }
main section a.btn{ margin: 2.5rem 0; }
main section > *:first-child{ margin-top: 0 !important; }
main section > *:last-child{ margin-bottom: 0 !important; }

main section h2:not(.no-style){ font-size: 2.2rem; font-family: 'Noto Serif JP', serif; font-weight: 500; line-height: 1.6; color: #fff; background: #5c80a5; text-align: center; margin: 8rem 0 4rem; padding: .4em 1em; }
main section h3:not(.no-style){ font-size: 2rem; font-family: 'Noto Serif JP', serif; font-weight: 500; color: #5c80a5; background: url(../png/border01.png) repeat-x left bottom/auto 2px; margin: 6rem 0 2.6rem; padding-bottom: .6rem; }
main section h4:not(.no-style){ font-size: 1.6rem; font-weight: 700; background: #fff; color: #5c80a5; padding: .2em 1em; margin: 4rem 0 2rem; }
main section h5:not(.no-style){ font-size: 1.6rem; font-weight: 700; color: #5c80a5; padding-left: 1em; position: relative; margin: 3rem 0 1em; }
main section h5:not(.no-style):before{ content: '■'; position: absolute; left: 0; }
main section h6:not(.no-style){ font-size: 1.5rem; font-weight: 700; color: #5c80a5; margin: 1.3em 0 .8em; }
main section h2:not(.no-style) + *,
main section h3:not(.no-style) + *,
main section h4:not(.no-style) + *,
main section h5:not(.no-style) + *,
main section h6:not(.no-style) + *{ margin-top: 0 !important; }
main section p{ margin-bottom: 1em; }
main section p strong{ font-weight: 700; color: #5c80a5; }

main section ol:not([class]){ margin: 4rem 0; counter-reset: number; }
main section ol:not([class]) li{ font-size: 1.6rem; padding-left: 6.4rem; position: relative; min-height: 5rem; display: flex; align-items: center; }
main section ol:not([class]) li:before{ counter-increment: number; content: counter(number); width: 5rem; height: 5rem; border-radius: 2.5rem; background: #5c80a5; font-size: 2.4rem; font-family: adobe-garamond-pro, serif; font-weight: 400; color: #fff; letter-spacing: 0; line-height: 1; display: flex; justify-content: center; align-items: center; position: absolute; left: 0; top: 0; }
main section ol:not([class]) li + li{ margin-top: 3rem; }

main section ul:not([class]){ margin: 4rem 0; }
main section ul:not([class]) li{ font-size: 1.6rem; padding-left: 2.3rem; position: relative; }
main section ul:not([class]) li:before{ content: ''; width: 1.5rem; height: 1.5rem; border-radius: 1.5rem; background: #9c8d64; position: absolute; left: 0; top: .7rem; }
main section ul:not([class]) li + li{ margin-top: 2rem; }

main section ol.card-list{ margin: 4rem 0; counter-reset: card; display: flex; flex-wrap: wrap; }
main section ol.card-list li{ width: 25rem; margin-right: 2.5rem; padding: 2rem 2rem 2.6rem; background: #fff;}
main section ol.card-list li:nth-of-type(3n){ margin-right: 0; }
main section ol.card-list li:nth-of-type(n+4){ margin-top: 2.5rem; }
main section ol.card-list li strong:first-of-type{ display: block; font-size: 1.6rem; font-weight: 700; color: #5c80a5; text-align: center; padding-bottom: .6em; position: relative; margin-bottom: 1em; background: url(../png/border01.png) repeat-x bottom left/auto 2px; }
main section ol.card-list li strong:first-of-type:before{ counter-increment: card; content: counter(card,decimal-leading-zero); font-size: 2.8rem; font-family: adobe-garamond-pro, serif; font-weight: 400; color: #5c80a5; display: block; text-align: center; line-height: 1; margin-bottom: .5em; }

main section ol.flow{ counter-reset: flow; margin: 5rem 0; }
main section ol.flow li{ position: relative; line-height: 2; }
main section ol.flow li + li{ margin-top: 4rem; }
main section ol.flow li.has-img{ padding-right: 40rem; }
main section ol.flow li strong:first-of-type{ font-size: 1.6rem; font-weight: 700; color: #5c80a5; position: relative; padding-left: 4rem; display: block; margin-bottom: 1.2rem; }
main section ol.flow li strong:first-of-type:before{ counter-increment: flow; content: counter(flow); width: 3rem; height: 3rem; background: #5c80a5; border-radius: 1.5rem; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; line-height: 1; letter-spacing: 0; font-family: adobe-garamond-pro, serif; font-weight: 400; color: #fff; position: absolute; left: 0; top: 0; }
main section ol.flow li img{ width: 35rem; position: absolute; top: 0; right: 0; }

main section table:not(.no-style){ width: 100%; margin: 4rem 0; }
main section table:not(.no-style) th{ color: #5c80a5; padding: 1em; vertical-align: middle; background: #fff; border: solid 1px #5c80a5; line-height: 1.7; /*border-right: none;*/ }
main section table:not(.no-style) td{ padding: 1em; vertical-align: middle; border: solid 1px #5c80a5; line-height: 1.7; /*border-left: none;*/ }

main section .aid-list li a:before{ width: 7.9rem; height: 8.8rem; top: 2.3rem; }


/*** mkj ***/

.contents-list{ margin-bottom: 100px; }
.contents-list dt{ font-size: 2rem; color: #1a1a1a; font-family: 'Noto Serif JP', serif; font-weight: 500; text-align: center; border-top: solid 1px; border-bottom: solid 1px; padding: .1em; margin-bottom: 30px; }
.contents-list dd{ display: flex; counter-reset: mkj; }
.contents-list dd ul{ width: 50%; }
.contents-list.non-half dd ul{ width: 100%; }
.contents-list dd ul li{ font-size: 1.6rem; color: #5c80a5; line-height: 1.6; font-weight: 700; padding-left: 60px; padding-right: 1em; position: relative; min-height: 40px; display: flex; align-items: center; }
.contents-list dd ul li:before{ counter-increment: mkj; content: counter(mkj, decimal-leading-zero); width: 40px; height: 40px; border-radius: 20px; display: flex; justify-content: center; align-items: center; font-size: 1.6rem; color: #fff; font-family: adobe-garamond-pro, serif; font-weight: 400; background: #5c80a5; line-height: 1; letter-spacing: 0; position: absolute; top: 0; left: 0; }
.contents-list dd ul li + li {margin-top: 10px;}

/*** staff ***/

.dr-pic{ width: 100%; height: 30rem; display: flex; align-items: center; background: url(../jpg/bg01.jpg) no-repeat center/cover; position: relative; margin: 10rem 0 3.5rem; }
.dr-pic img{ width: 28rem; position: absolute; right: 5rem; bottom: 0; }
.dr-pic h3{ font-size: 4rem; font-family: 'Noto Serif JP', serif; font-weight: 500; color: #1a1a1a; margin-left: 6.5rem; line-height: 1.6; position: relative; z-index: 2; }
.dr-pic h3:after{ content: attr(data-en); display: block; font-family: adobe-garamond-pro, serif; font-weight: 400; font-size: 2rem; color: #5c80a5; line-height: 1.3; }

.history-row{ display: flex; justify-content: space-between; margin: 3.6rem 0 }
.history-row .inner{ width: 37rem; }
.history-row .inner h4{ font-size: 1.6rem; font-weight: 700; color: #fff; text-align: center; background: #5c80a5; margin-bottom: 2.5rem; padding: .2em; }
.history-row .inner table{ width: 100%; line-height: 1.6; }
.history-row .inner table th{ font-weight: 400; width: 1px; padding-right: 1.5em; white-space: nowrap; }
.history-row .inner table tr + tr > *{ padding-top: .5em; }
.history-row .inner ul li{ padding-left: 1em; position: relative; line-height: 1.6; }
.history-row .inner ul li:before{ content: '・'; position: absolute; left: 0; }
.history-row .inner ul li + li{ margin-top: .5em; }


/*** treatment ***/

section + .treat-list01{ margin-top: 10rem; }
.pickup{ width: 100rem; margin-left: -10rem; }

section.mb2rem + .treat-list01 {margin-top: 2rem;}


/*** archive ***/

.post-article{ position: relative; display: flex; justify-content: space-between; background: #fff; border: solid 1px #5c80a5; }
.post-article + .post-article{ margin-top: 4rem; }
.post-article .thumb{ width: 20rem; background-repeat: no-repeat; background-size: cover; background-position: center; }
.post-article .txt{ width: 56rem; padding: 3rem 3rem 3rem 0; }
.post-article .txt .time{ font-size: 1.2rem; }
.post-article .txt h2{ font-size: 2rem; font-family: 'Noto Serif JP', serif; font-weight: 500; color: #5c80a5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: .5rem; }
.post-article .txt p{ line-height: 1.8; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

.pagination{ margin-top: 8rem; }
.pagination .page-numbers{ display: flex; }
.pagination .page-numbers li + li{ margin-left: .8rem; }
.pagination .page-numbers li a,
.pagination .page-numbers li span{ display: flex; width: 2rem; height: 2rem; font-size: 1.2rem; justify-content: center; align-items: center; border: solid 1px; box-sizing: border-box; }
.pagination .page-numbers li span.current{ background: #5c80a5; color: #fff; border-color: #5c80a5; font-weight: 700; }


/*** kanren ***/

.kanren-list > li{ text-align: left; background: #fff; padding: 1rem; display: block; border: 1px solid #5c80a5;}
.kanren-list > li + li{ margin-top: 1rem; }
.kanren-list > li > a{ font-weight: 700; color: #5c80a5; }
.kanren-list > li > ul li{ display: inline-block; }



/**2022_0221**/
main .side-img {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
}
main .side-img .content {
    width: 400px;
}
main .side-img .img {
    width: 350px;
}

main section a.relation-link {
    display: table;
    border: solid 1px;
    font-size: 14px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    letter-spacing: .05em;
    padding: 0.4em 1.4em 0.4em 184px;
    position: relative;
    margin: 20px 0;
}


main section a.relation-link:before {
    content: '併せて読みたい';
    width: 170px;
    height: 100%;
    background: #141414;
    color: #fff;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    line-height: 1;
    padding-left: 1.4em;
    box-sizing: border-box;
}

main section .side-img ul:not([class]) {
    margin: 0;
}

main section .side-img li {
    margin-top: 0.5rem;
}
main section .fee table th{ border-right: solid 1px; }
main section .fee table td{ border-left: solid 1px; }

/*** case ***/
.beforeafter {margin: 20px 0 1px; display: flex; flex-wrap: wrap; justify-content: space-between;}
.beforeafter div:first-child {margin-right: 1%;}
.beforeafter div {width: 47.5%;}
.beforeafter div p {font-size: 18px; color: #5c80a5; margin-bottom: 5px; padding-bottom: 5px; font-weight: 800; font-style: italic;}
.beforeafter div img {width: 100%;}

table.case-table th {width: 20%;}

.case .case-list{ display: flex; justify-content: space-between; width: 650px; margin: 0 auto 50px; flex-wrap: wrap;}
.case .case-list li{ width: 200px; position: relative; }
.case .case-list li h4{ width: 200px; height: 140px; display: flex; justify-content: center; align-items: center; font-size: 18px; color: #fff; background-repeat: no-repeat; background-size: cover; background-position: center; margin-bottom: 10px; }
.case .case-list li:nth-of-type(1) h4{ background-image: url(../case-list01.html); }
.case .case-list li:nth-of-type(2) h4{ background-image: url(../case-list02.html); }
.case .case-list li:nth-of-type(3) h4{ background-image: url(../case-list03.html); }
.case .case-list li:nth-of-type(4) h4{ background-image: url(../case-list04.html); }
.no-webp .case .case-list li:nth-of-type(1) h4{ background-image: url(../case-list01-2.html); }
.no-webp .case .case-list li:nth-of-type(2) h4{ background-image: url(../case-list02-2.html); }
.no-webp .case .case-list li:nth-of-type(3) h4{ background-image: url(../case-list03-2.html); }
.no-webp .case .case-list li:nth-of-type(4) h4{ background-image: url(../case-list04-2.html); }
.case .case-list li h4 span{ display: block; text-align: center; }
.case .case-list li h4 small{ font-size: 14px; display: block; text-align: center; line-height: 1.5; }
.case .case-list li .btn{ pointer-events: none; }
.case .case-list li:hover .btn{ background: #3F3F3F; }
.case .case-list .btn{width:100%}

/*** 歯のクリーニング ***/

.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;
	display: initial;
	margin-bottom: initial;
}
.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;
	display: initial;
	margin-bottom: initial;
}
.cleaning-whitening .side-img .content h4{
    margin: 0;
}

