header{ background: #fff; }

.mv{ height: 35rem; background-repeat: no-repeat; background-size: cover; background-position: center; margin-bottom: .6rem; }
.mv.access{ background-image: url(../images/access/access_mv.jpg); }
.mv.price{ background-image: url(../images/price/price_mv.jpg); }
.mv.doctor{ background-image: url(../images/doctor/doctor_mv.jpg); }
.mv.clinic{ background-image: url(../images/clinic/clinic_mv.jpg); }
.mv.case{ background-image: url(../images/case/case_mv.jpg); }
.mv.implant{ background-image: url(../images/implant/implant_mv.jpg); }
.mv.flow{ background-image: url(../images/flow/flow_mv.jpg); }
.mv.contact{ background-image: url(../images/contact/contact_mv.jpg); }
.mv.measures{ background-image: url(../images/measures/measures_mv.jpg); }
.mv.perio{ background-image: url("../images/reason/perio/mv.jpg"); }
.mv.screw_retain{ background-image: url("../images/reason/screw_retain/mv.jpg"); }
.mv.straumann{ background-image: url("../images/reason/straumann/mv.jpg"); }
.mv.difficult_cases{ background-image: url("../images/reason/difficult_cases/mv.jpg"); }
.mv.zirconia{ background-image: url("../images/reason/zirconia/mv.jpg"); }
.mv.reason{ background-image: url("../images/reason/index/mv.jpg"); }

.pankuzu{ width: 1000px; margin: 0 auto; }
.pankuzu li{ font-size: 1.2rem; display: inline-block; }
.pankuzu li:not(:last-of-type):after{ content: '-'; margin-left: .5em; }

main{ display: block; width: 800px; margin: 10rem auto 14rem; }
main h1{ font-family: "游明朝", YuMincho, yu-mincho-pr6n, serif; font-weight: 600; font-size: 5rem; line-height: 1.4; margin-bottom: 8rem; color: #141e64; text-align: center; }
main h1:after{ display: block; content: attr(data-en)""; font-size: 3rem; font-family: Optima, 'Marcellus', serif; font-weight: 400; color: #c8b48c; letter-spacing: 0.03em; margin-top: .8rem; line-height: 1; }

main section > img{ display: block; width: 100%; margin: 4rem 0 3rem; }
main section img, main section iframe{ border-radius: .5rem; }
main section .btn{ margin: 2.5rem 0; }
main section + section{ margin-top: 8rem; }
main section > *:first-child:not(.dr-pic){ margin-top: 0 !important; }
main section > *:last-child{ margin-bottom: 0 !important; }

main section h2:not(.no-style){ font-family: "游明朝", YuMincho, yu-mincho-pr6n, serif; font-weight: 600; font-size: 3rem; line-height: 1.6; color: #141e64; background: #beaa78; text-align: center; margin: 8rem 0 4rem; padding: .2em 1em; }
main section h3:not(.no-style){ font-size: 2.4rem; color: #141e64; border-bottom: solid 1px #beaa78; margin: 6rem 0 2.6rem; }
main section h4:not(.no-style){ font-size: 2rem; color: #fff; background: #141e64; padding: .1em 1em; margin: 4rem 0 2rem; border-radius: .5rem; }
main section h5:not(.no-style){ font-size: 1.8rem; color: #beaa78; margin: 3rem 0 1em; }
main section h6:not(.no-style){ font-size: 1.6rem; color: #141e64; margin: 1.3em 0 .8em; position: relative; padding-left: 1.1em; }
main section h6:not(.no-style):before{ content: '◯'; position: absolute; left: 0; }
main section h2:not(.no-style) + *:not(.dr-pic),
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; line-height: 2; }
main section p strong{ font-weight: bold; }
main section p a:not([class]){ text-decoration: underline; color: #beaa78; }

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: 5rem; box-sizing: border-box; background: #f2f2f2; font-family: Optima, 'Marcellus', serif; font-weight: 400; font-size: 2.4rem; color: #beaa78; letter-spacing: 0; display: flex; justify-content: center; align-items: center; position: absolute; left: 0; top: 0; }
main section ol:not([class]) li strong{ font-weight: 700; }
main section ol:not([class]) li + li{ margin-top: 3rem; }

main section ol.card-list{ margin: 4rem 0; counter-reset: card; display: flex; flex-wrap: wrap; }
main section ol.card-list li{ width: 25rem; background: #f2f2f2; margin-right: 2.5rem; padding: 2rem 2rem 2.6rem; border-radius: .5rem; }
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.8rem; font-weight: 700; text-align: center; padding-bottom: .6em; position: relative; margin-bottom: 1em; border-bottom: solid 1px #073b66; }
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: Optima, 'Marcellus', serif; font-weight: 400; letter-spacing: 0.03em; color: #beaa78; display: block; text-align: center; line-height: 1; margin-bottom: .5em; }

main section ul:not([class]){ margin: 3rem 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: 1rem; height: 1rem; border-radius: 1.5rem; background: #141e64; position: absolute; left: .2rem; top: .9rem; }
main section ul:not([class]) li strong{ font-weight: 700; }
main section ul:not([class]) li + li{ margin-top: 2rem; }

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{ position: relative; padding-left: 4rem; display: block; margin-bottom: 1.2rem; font-size: 1.6rem; font-weight: 700; color: #141e64; }
main section ol.flow li strong:first-of-type:before{ counter-increment: flow; content: counter(flow); width: 3rem; height: 3rem; box-sizing: border-box; background: #141e64; border-radius: 1.5rem; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; font-family: Optima, 'Marcellus', serif; font-weight: 400; color: #fff; letter-spacing: 0; position: absolute; left: 0; top: 0; }
main section ol.flow li img{ width: 35rem; position: absolute; top: 0; right: 0; }
main section ol.flow.small img{ width: 13rem; right: auto; left: 0; }
main section ol.flow.small li.has-img{ padding-left: 16rem; padding-right: 0; }

main section table:not(.no-style){ width: 100%; margin: 4rem 0; }
main section table:not(.no-style) th{ padding: 1em; vertical-align: middle; background: #f2f2f2; line-height: 1.7; font-size: 1.6rem; color: #beaa78; border: solid 1px #beaa78; border-right: none; }
main section table:not(.no-style) th:last-child{ border-right: solid 1px #beaa78; }
main section table:not(.no-style) td{ padding: 1em; vertical-align: middle; line-height: 1.7; border: solid 1px #beaa78; border-left: none; }
main section table:not(.no-style) td[colspan="3"]{ border-left: solid 1px #beaa78; }

main section .side{ display: flex; justify-content: space-between; align-items: flex-start; margin: 3rem 0; }
main section .side > *:first-child{ width: 38rem; }
main section .side > iframe{ height: 24rem; }
main section .side > *:last-child{ width: 38rem; }
main section .side .txt > *:first-child{ margin-top: 0; }
main section .side .txt > *:last-child{ margin-bottom: 0; }
main section .side.small .txt{ width: 60rem; }
main section .side.small > img{ width: 18rem; } 
main section .side.small.narrow > img{ width: 14rem; }
main section .side.small.narrow .txt{ width: 64rem; }



/*** doctor ***/

.dr-pic{ width: 100%; height: 30rem; display: flex; align-items: center; background: url(../images/index/bg-dot01.png) #fff center; position: relative; padding-left: 6.5rem; margin: 12.5rem 0 4rem; z-index: 0; border-radius: 1rem; box-shadow: 0px 4px 15px -2px rgb(0 0 0 / 25%); }
.dr-pic.v2{ margin-top: 9rem; }
.dr-pic:before{ content: ''; width: calc(100% - 3rem); height: calc(100% - 3rem); border: solid 1px #beaa78; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: -1; }
.dr-pic img{ width: 35rem; position: absolute; bottom: 0; right: 0; }
.dr-pic.v2 img{ width: 25rem; right: 4rem; top: 50%; transform: translateY(-50%); }
.dr-pic .inner h2{ position: relative; display: table; margin-bottom: 1.4rem; }
.dr-pic .inner h2:before{ content: ''; width: calc(100% + 6.5rem); height: 1px; background: #beaa78; position: absolute; bottom: 0; right: 0; }
.dr-pic .inner h2:after{ content: ''; width: 0.5rem; height: 0.5rem; border-radius: 0.25rem; background: #beaa78; position: absolute; bottom: -0.2rem; right: -0.1rem; }
.dr-pic .inner h2 small{ display: block; font-size: 1.8rem; font-weight: 400; }
.dr-pic .inner h2 strong{ font-size: 4rem; display: block; }
.dr-pic .inner h2 strong:after{ content: attr(data-en); font-size: 1.8rem; font-family: Optima, 'Marcellus', serif; font-weight: 400; letter-spacing: 0.03em; font-size: 1.8rem; color: #beaa78; display: inline-block; margin-left: 1em; vertical-align: middle; }
.dr-pic .inner h3{ font-size: 2.2rem; font-weight: 700; color: #beaa78; line-height: 1.6; }
.history-row{ display: flex; justify-content: space-between; margin: 3.6rem 0 }
.history-row .inner{ width: 37rem; }
.history-row .inner h4{ text-align: center; margin-bottom: 2.5rem; background: #beaa78; color: #141e64; border-radius: .5rem; font-weight: 400; padding: .1em; }
.history-row .inner table{ width: 100%; }
.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; }
.history-row .inner ul li:before{ content: '・'; position: absolute; left: 0; }
.history-row .inner ul li + li{ margin-top: .5em; }


/*** price ***/

.price-content{ display: flex; align-items: center; margin: 1.5em 0; }
.price-content li{ padding: .4em 1em; color: #beaa78; border: solid 1px; font-weight: 600; position: relative; }
.price-content li + li{ margin-left: 2em; }
.price-content li + li:before{ content: '+'; font-size: 1.4em; position: absolute; top: 50%; left: -1.1em; transform: translateY(-50%); }
img.technician{ width: 30rem; margin-left: auto; margin-right: auto; }
main section table.digital-credit{ width: 100%; table-layout: fixed; line-height: 2; }
main section table.digital-credit tr.border-bottom{ border-bottom: solid 1px #f2f2f2; }
main section table.digital-credit tr.border-bottom > *{ padding-bottom: .2em; }
main section table.digital-credit tr.border-bottom + tr > *{ padding-top: .2em; }
main section table.digital-credit th{ font-weight: 400; }
main section table.td-border td{ border-left: solid 1px #beaa78; }

/*case-list*/
.case-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.case-list li{
    position: relative;
    display: inline-block;
    text-align: left;
    margin-bottom: 30px;
    font-size: 1.07em;
    letter-spacing: 0.2em;
    width: 48.4%;
    line-height: 0;
}
.case-list li img{
    border-radius: 0;
}
.case-list p.title {
    content: "";
    font-size: 20px;
    bottom: -29px;
    left: 0;
    color: rgb(255, 255, 255);
    background: #233264;
    width: 100%;
    text-align: center;
}
.case-list p strong{
    background: linear-gradient(transparent 50%, #ffffb5 50%)!important;
    padding-bottom: 0.2em;
}

/*case-table*/
.case-table th{width: 20%}
.case-table td{width: 80%}

/*side-img*/
.side-img {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    flex-wrap: wrap;
}
.side-img .img {
    width: 48%;
}
.side-img .img img{
    border-radius: 0;
}
.side-img .img h4{
    margin-top: 0;
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    text-align: center;
}
.side-img .content {
    width: 48%;
    padding: 0px;
    margin: 0;
}
.side-img .content h4 {
    margin-top: 0;
}

.center{margin: 2.5rem auto!important;}

/*measures-box*/
.measures-box{background: #f3f3f3;border-radius: 3rem;padding: 4rem 5rem 6rem;margin-top: 3.6rem;}
.measures-box h3{margin: 0rem 0 6rem!important; text-align: center;}
.measures-box h3 strong {font-size: 6rem!important;line-height: 1;}

/*card-list*/
.card-list{ display: flex; justify-content: center; flex-wrap: wrap; }
.card-list li{ width: 20rem; margin-right: 4rem; background: #fff; position: relative; border-radius: 1rem; padding: 0 2rem 2rem; }
.card-list li:nth-of-type(3n),
.card-list li:last-of-type{ margin-right: 0; }
.card-list li:nth-of-type(n+4){ margin-top: 6rem; }
.card-list li .no{ width: 5rem; height: 5rem; border-radius: 2.5rem; background: #141e64; color: #fff; font-size: 1.2rem; position: absolute; top: -2.5rem; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; align-items: center; font-weight: bold;}
.card-list li .no span{ display: block; text-align: center; line-height: 1.4; }
.card-list li .no strong{ display: block; font-size: 1.7rem; text-align: center; line-height: 1; background: none!important;padding-bottom: 0px;}
.card-list li img{ width: calc(100% + 4rem); margin-left: -2rem; border-radius: 1rem 1rem 0 0; max-width: initial; }
.card-list li h4{ font-size: 1.5rem; text-align: center; line-height: 1.2; letter-spacing: 0.03em; height: 6rem; border-bottom: solid 1px #f3f3f3; margin-bottom: 1.2rem; margin-top: 20px;}
.card-list li p{ letter-spacing: .05em; margin-bottom: 0; }

main .sec-contact{
    margin: 100px calc(50% - 50vw);
    width: 100vw;
}

/*form*/

form input[type="submit"], form input[type="button"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    border: none;
    outline: none;
    font-size: 1.1em;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 60px;
    color: #fff;
    background:#141e64;
    border-radius: 50px;
    position: relative;
    margin: 0 auto;
    cursor: pointer;
    margin-bottom: 1em;
}
form textarea{width: 100%;}
