/* 서브페이지 공통 */
.subtop {position: relative; width: 100%; height: 350px; color: #fff; z-index: -1; margin-top: 89px;}
.subtop .subtop_txt {width: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; font-family: "Gowun Batang", serif; font-weight: 700;}
.subtop .subtop_txt h2 {position: relative;}
.subtop .subtop_txt p {font-size: 2.5rem; margin-top: 1rem;}

.subtop.subtop1_1 {background: url(images/subtop1_1.png) no-repeat center left 45% / cover;}
.subtop.subtop1_2 {background: url(images/subtop1_2.png) no-repeat center left 10%/ cover;}
.subtop.subtop1_3 {background: url(images/subtop1_3.png) no-repeat center right / cover;}
.subtop.subtop2_1 {background: url(images/subtop2_1.png) no-repeat center right / cover;}
.subtop.subtop2_2 {background: url(images/subtop2_2.png) no-repeat center center / cover;}
.subtop.subtop2_3 {background: url(images/subtop2_3.jpg) no-repeat center right / cover;}
.subtop.subtop2_4 {background: url(images/subtop2_4.png) no-repeat center / cover;}
.subtop.subtop2_5 {background: url(images/subtop2_5.png) no-repeat center / cover;}
.subtop.subtop3_1 {background: url(images/subtop3_1.png) no-repeat center left 20% / cover;}
.subtop.subtop3_2 {background: url(images/subtop3_2.png) no-repeat center left 20% / cover;}
.subtop.subtop3_3 {background: url(images/subtop3_3.png) no-repeat center / cover;}
.subtop.subtop4_1 {background: url(images/subtop4_1.png) no-repeat center / cover;}



/* sub */
#sub {width: 100%;}
#sub .sub_big_tit {text-align: center; font-weight: 800;}
/* #sub .sub_tit {text-align: center;padding-left: 15px;} */
#sub .sub_tit h2 {position: relative; color: #242d6a;}
#sub .sub_tit h2:after {content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; background: url(images/sub_tit_bg.png);}
#sub .sub_tit p {margin-top: 30px;}



/* sub1_1 */
.sub1_1 {padding: 12rem 0;}
.sub1_1 .sub1_1_cont {display: flex; align-items: center; gap: 100px; margin-top: 3rem;}
.sub1_1 .sub1_1_cont > div {flex: 1 0 50%;}
.sub1_1 .sub1_1_cont .doctor_cont {background: url(images/logo_tit.png) no-repeat top left #f7f2e9; display: flex; justify-content: right;}
.sub1_1 .sub1_1_cont .doctor_cont img {padding: 5rem;}
.sub1_1 .sub1_1_cont .doctor_txt .name {font-family: "Gowun Batang", serif; font-weight: 700;}
.sub1_1 .sub1_1_cont .doctor_txt .name .flex {gap: 30px; align-items: baseline;}

.sub1_1 .sub1_1_cont .doctor_desc {margin-top: 30px;}
.sub1_1 .sub1_1_cont .doctor_desc li p {position: relative; padding-left: 14px;}
.sub1_1 .sub1_1_cont .doctor_desc li p:after {content: ""; position: absolute; top: 13px; left: 0; width: 3px; height: 3px; background: #303030; border-radius: 50px;}




/* sub1_3 */
.info {display: flex; justify-content: space-between; align-items: center; gap: 50px; padding: 5rem; background: #d8bdb5;}
.info .map_left {max-width: 700px; width: 100%;}
.info .info_right {font-family: "Gowun Batang", serif; font-weight: 700; width: 40%;}
.info .info_right .info_box:not(:first-child) {margin-top: 50px;}
.info .info_right .info_box .info_tit {display: flex; align-items: center; gap: 10px; margin-bottom: 1rem;}
.info .info_right .info_box .info_tit span {color: #fff; font-size: 4rem;}

.info .info_right .info_box .info_desc {padding-left: 5.2rem;}
.info .info_right .info_box .info_desc .timetable {display: flex; gap: 25px;}
.info .info_right .info_box .info_desc .timetable .column .day {text-align-last: justify;}
.info .info_right .info_box .info_desc .timetable .column p {font-size: 2.1rem; line-height: 3rem;}
.info .info_right .info_box .info_desc .holiday {font-size: 1.6rem; text-align: left; line-height: 2rem; margin-top: 1rem;}

.root_daum_roughmap .wrap_controllers {display: none;}




/* sub2_1 */
.top_txt {text-align: center;}
.top_txt .top_tit {display: flex; align-items: center; justify-content: center; gap: 25px; text-align: center;}
.top_txt .top_tit h1 {font-size: 7rem;}
.top_txt p {margin-top: 1.5rem;}

.pb {padding-bottom: 12rem;}
.vs {position: relative; text-align: center;}
.vs:after {position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); content: "VS"; font-size: 6rem; font-weight: 700; color: #413831;}
.vs_cont {display: flex; gap: 20px; margin-top: 4rem;}
.vs_cont > div {flex: 1 0 45%; padding: 50px;}
.vs_cont > div h4 {margin-bottom: 2rem;}
.vs_cont > div img {width: 100%; display: block;}
.vs_cont .vs_left {background: #f6f6f6;}
.vs_cont .vs_right {background: #e6d3b5;}

.beige_bg {background: #f7f2e9;}

.box_cont {display: flex; flex-wrap: wrap; gap: 20px; margin-top: 60px;}
.box_cont.box_cont_6 {gap: 50px 20px;}
.box_cont .box {flex: 1 0 22%; text-align: center; background: #fff;}
.box_cont .box .icon {position: relative; width: 56px; height: 56px; background: #665334; border-radius: 100px; margin: -28px auto 0;}
.box_cont .box .icon span {color: #fff; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 3.6rem;}
.box_cont .box .box_txt {padding: 30px 20px 40px;}
.box_cont .box .box_txt h4 {color: #665334; margin-bottom: 2rem;}
.box_cont .box .box_txt h5 {color: #665334;}

.box_cont .img_box {flex: 1 0 22%; text-align: center;}
.box_cont .img_box img {display: block; width: 100%;}
.box_cont .img_box h5 {margin-top: 2rem;}

.sub2_1_bg {background: url(images/sub2_1_bg.jpg) no-repeat center / cover;}

.check {margin: 50px 0;}
.check li {color: #fff; display: flex; align-items: center; gap: 20px; padding: 20px 40px; border: 1px solid #fff; border-radius: 50px;}
.check li span {font-size: 3.6rem;}
.check.check450 li {max-width: 500px; width: 100%; margin: 0 auto;}
.check.check1100 li {max-width: 1100px; width: 100%; margin: 0 auto;}
.check.check1200 li {max-width: 1200px; width: 100%; margin: 0 auto;}
.check li:not(:first-child) {margin-top: 2rem;}

.bna_cont {display: flex; flex-direction: column; gap: 70px;}
.bna_cont .bna_box {display: flex; gap: 20px; text-align: center;}
.bna_cont .bna_box > div {flex: 1 0 45%;}
.bna_cont .bna_box.bna_box_3 > div {flex: 1 0 30%;}
.bna_cont .bna_box img {width: 100%; display: block;}
.bna_cont .bna_box p {font-family: "Gowun Batang", serif; font-weight: 700; padding: 10px 20px; display: inline-block; font-size: 2.4rem; color: #fff; border-radius: 50px; margin-top: -25rem;}
.bna_cont .bna_box .before p {background: #917f62;}
.bna_cont .bna_box .after p,
.bna_cont .bna_box .middle p {background: #3c2d14;}
.bna_cont .bna_box .before.pink p {background: #d9beb6;}


/* sub2_2 */
.brown_bg {background: url(images/logo_icon_w.png) no-repeat top left -2% #413831; padding: 80px 0;}

.check2_cont {display: flex; justify-content: space-around; align-items: center;}
.check2_cont .check2_box {color: #fff;;}
.check2_cont .check2_box2 {max-width: 500px; width: 100%;}
.check2_cont .check2_box li {display: flex; align-items: center; gap: 15px; padding: 20px; border-bottom: 1px solid #807a75;}
.check2_cont .check2_box li span {font-size: 3rem;}

.system {display: flex; justify-content: space-between; align-items: flex-end;}
.system .system_txt {max-width: 700px; width: 100%; margin: 0 105px 50px;}
.system .system_img {max-width: 960px; width: 100%; display: block;}
.system .implant_img2 {max-width: 615px; width: 100%; display: block; margin-top: 30px; display: block;}


/* sub2_3 */
.sub2_3_bg {background: url(images/sub2_3_bg.jpg) no-repeat center left / cover;}

.triple {display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; padding: 10rem 20px 0; gap: 20px;}
.triple .txt_cont {text-align: center; max-width: 400px;}
.triple img {max-width: 480px; width: 100%; display: block;}


/* sub2_4 */
.implant {padding-top: 8rem;}
.implant .inner {display: flex; align-items: center;}
.implant .inner > div {flex: 1 0 50%;}
.implant .implant_img {text-align: center;}


/* sub2_5 */
.youtube .yt_cont {display: flex; align-items: center;}
.youtube .yt_cont > div {flex: 1 0 50%;}
.youtube .yt_cont .yt_box {aspect-ratio: 16 / 9;}
.youtube .yt_cont .yt_box iframe {width: 100%; height: 100%;}
.youtube .yt_cont .yt_txt {display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 50px; padding: 0 20px;}
.youtube .yt_cont .yt_txt img {max-width: 333px; width: 100%; display: block;}

.one_guide_tit {display: flex; justify-content: center; align-items: baseline; gap: 20px;}
.one_guide_tit .gowun_bold {font-size: 7rem; color: #c19b5f;}


/* sub3_1 */
.pink_bg {background: #f4ebe9;}
.desc_cont {display: flex; justify-content: space-between; align-items: center;}
.desc_cont .desc_txt {padding-right: 20px;}
.desc_tit {background: #593429; display: inline-block; border-radius: 50px; padding: 8px 18px; font-size: 2.4rem;}
.desc_tit.desc_tit {background: #665334;}
.desc_cont .desc_img {max-width: 700px; width: 100%; display: block;}

.zigzag_cont {margin-top: 5rem;}
.zigzag_cont .zigzag_box {display: flex; align-items: center;}
.zigzag_cont .zigzag_box:nth-child(even) {flex-direction: row-reverse;}
.zigzag_cont .zigzag_box .zigzag_img {max-width: 700px; width: 100%; display: block;}
.zigzag_cont .zigzag_box .zigzag_txt {display: flex; align-items: flex-start; gap: 30px; margin: 0 auto;}

.big_num {font-family: "Gowun Batang", serif; font-weight: 700; font-size: 13rem; line-height: 13rem; opacity: .2;}

.differ_cont {display: flex; gap: 20px;} 
.differ_cont .differ_box {flex: 1 0 30%; background: #d9beb6; text-align: center; padding: 40px 20px;}
.differ_cont .differ_box h4 {font-family: "Gowun Batang", serif; font-weight: 700; margin-bottom: 1rem;}
.differ_img {max-width: 800px; width: 100%; margin: -55px auto 0; display: block; position: relative; z-index: -1;}

.comment {display: flex; justify-content: space-between;}
.comment .comment_txt {flex: 1 0 50%; background: #d9beb6; padding: 10rem;}
.comment .comment_txt p {font-family: "Gowun Batang", serif; font-weight: 700; font-size: 2.5rem; color: #3f3f3e;}
.comment .comment_img {flex: 1 0 50%; max-width: 960px; width: 100%;}

.miso_cont {display: flex; gap: 20px; flex-wrap: wrap;}
.miso_cont .miso_box {flex: 1 0 22%; overflow: hidden;}
.miso_cont .miso_box img {width: 100%; display: block; transition: all .3s ease-in-out;}
.miso_cont .miso_box img:hover {transition: all .3s ease-in-out; transform: scale(1.1);}

.circle {position: relative; max-width: 394px; height: 394px; width: 100%; height: 100%; margin: -110px auto 0; z-index: -1;}
.circle .circle_logo {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 167px; width: 100%;}
.circle .circle_txt {width: 100%; display: block; animation: rotate_image 6s linear infinite; transform-origin: 50% 50%;}
@keyframes rotate_image{
    100% {
        transform: rotate(360deg);
    }
}

.smlie_design {width: 100%;}


/* sub3_3 */
.order_cont {display: flex; gap: 20px;}
.order_cont .order_box {position: relative; flex: 1; max-height: 300px; background: #e6d3b5; text-align: center; padding: 45px 20px;}
.order_cont .order_box:after {position: absolute; content: ""; top: 0; right: 0;}
.order_cont .order_box p {font-weight: 500; font-size: 2.2rem;}
.order_cont span {font-size: 3.6rem; display: block;}

.brown_bg2 {background: #3c2d14;}


/* sub4_1 */
.treatment_info {display: flex; flex-wrap: wrap; gap: 20px; margin-top: 3rem;}
.treatment_info .treatment_info_box {flex: 1 0 18%; text-align: center; background: #f7f2e9; padding: 40px 20px;}
.treatment_info .treatment_info_box h4 {color: #665334; margin-top: 20px; margin-bottom: 40px;}
.treatment_info .treatment_info_box img {max-width: 100px; width: 100%;}

.img_tit_cont {margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 20px;}
.img_tit_cont .img_tit_box {flex: 1 0 30%; text-align: center;}
.img_tit_cont .img_tit_box img {max-width: 454px; width: 100%;}
.img_tit_cont .img_tit_box h4 {font-family: "Gowun Batang", serif; font-weight: 700; background: #665334; color: #fff; padding: 10px;}

.step_cont {display: flex; gap: 20px;}
.step_cont .step_box {flex: 1 0 18%; background: #f7f2e9; text-align: center; padding: 30px 20px;}
.step_tit {background: #413831; color: #fff; display: inline-block; font-weight: 800; padding: 0px 8px; margin-bottom: 2rem;}
.step_cont .step_box h4 {font-family: "Gowun Batang", serif; font-weight: 700;}
.step_cont .step_box h4 small {font-size: 1.8rem;}

.step_cont2 {display: flex; gap: 20px;}
.step_cont2 .step_box {flex: 1 0 22%; background: #f7f2e9; text-align: center;}
.step_cont2 .step_box img {max-width: 335px; width: 100%;}
.step_cont2 .step_box h4 {font-family: "Gowun Batang", serif; font-weight: 700;}
.step_cont2 .step_box .step_txt_cont {padding: 30px 10px;}

.num_cont {display: flex; flex-wrap: wrap; gap: 20px;}
.num_cont .num_box {flex: 1 0 22%;}
.num_cont .num_box .icon {position: relative; width: 50px; height: 50px; background: #665334; text-align: center; color: #fff; font-weight: 700; margin: 0 auto -25px;}
.num_cont .num_box .icon p {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 3rem;}
.num_cont .num_box img {max-width: 335px; width: 100%;}
.num_cont .num_box .num_txt_cont {padding: 30px 30px;}
.num_cont .num_box .num_txt_cont h5 {color:#665334; border-bottom: 1px solid #e0e0e0; padding-bottom: 1.5rem; margin-bottom: 1.5rem;}
.num_cont .num_box .num_txt_cont p {font-size: 1.8rem; line-height: 2.4rem;}
.num_cont .num_box .num_txt_cont .txt_circle {margin-top: 10px;}
.num_cont .num_box .num_txt_cont .txt_circle li p {position: relative; padding-left: 10px; font-size: 1.6rem;}
.num_cont .num_box .num_txt_cont .txt_circle li p:after {position: absolute; top: 10px; left: 0; content: ""; width: 3px; height: 3px; background: #303030; border-radius: 50%;}






/* 개인정보처리방침 policy css */
.policy_btns {padding: 2.5rem; margin: 4rem 0; background: #e0e0e0; border-top-left-radius: 30px; border-bottom-right-radius: 30px;}
.policy_btns ul {display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;}
.policy_btns ul li {flex: 1 0 48%; }
.policy_btns ul li a {font-size: 1.5rem; font-weight: 600; display: flex; align-items: center; gap: 10px; width: 100%; padding: 1rem 1.5rem; background: #fff;}
.policy_btns ul li a img {width: 4rem; display: block;}

.p_box {padding-top: 7rem;}
.p_box .p_tit {margin-bottom: 2rem; display: flex; gap: 10px; align-items: center; font-family: "Elice Digital Baeum", sans-serif;}
.p_box .p_tit img {width: 4rem;}
.p_box .p_txt {margin-bottom: 2rem;}

.txt_area {padding: 10rem 0;}




/* 미디어쿼리 반응형 */
@media (max-width: 1400px) {
    /* sub2_2 */
    .system {flex-direction: column; align-items: center;}
    .system .system_txt {margin: 0; padding: 50px 30px;}
    .system .system_txt .sub_logo {max-width: 80px; width: 100%;}

    /* sub2_3 */
    .triple {flex-direction: column; gap: 50px;}




}

@media (max-width: 1300px) {
    /* sub1_3 */
    .info {flex-direction: column; gap: 0;}
    .info .map_left {margin: 0 auto; max-width: 860px; width: 100%;}
    .info .info_right {max-width: 860px; width: 100%; margin-top: 0; margin-left: 0; margin: 0 auto; padding: 40px;}
    .info .info_right .info_box {max-width: 400px; margin: 0 auto;}

    /* sub3_1 */
    .desc_cont {flex-direction: column; gap: 50px;}

    .zigzag_cont .zigzag_box {flex-direction: column; gap: 30px;}
    .zigzag_cont .zigzag_box:nth-child(even) {flex-direction: column; gap: 30px;}
    .zigzag_cont .zigzag_box .zigzag_txt {padding-bottom: 5rem;}


}

@media (max-width: 1200px) {
    /* sub1_1 */
    .sub1_1 .sub1_1_cont {flex-direction: column; gap: 60px;}
    .sub1_1 .sub1_1_cont .doctor_cont {width: 100%; padding: 0;}
    .sub1_1 .sub1_1_cont .doctor_cont img {margin: 0 auto; display: block; max-width: 519px; width: 100%;}


    /* sub1_2 */
    .info .info_box {flex-wrap: wrap; gap: 30px;}
    .info .info_box li {flex: 1 0 45%;}

    /* sub1_3 */
    .box_cont {flex-wrap: wrap; gap: 40px 20px;}
    .box_cont .box {flex: 1 0 45%;}

    .box_cont .img_box {flex: 1 0 45%;}

    /* sub2_5 */
    .youtube .yt_cont .yt_txt {gap: 30px;}
    .youtube .yt_cont .yt_txt img {max-width: 150px;}

    /* sub3_1 */
    .comment {flex-direction: column;}
    .comment .comment_img {max-width: 1200px;}

    /* sub4_1 */
    .num_cont .num_box {flex: 1 0 45%;}
    .num_cont .num_box img {display: block; margin: 0 auto;}
}



@media (max-width: 1024px) {
    /* sub2_1 */
    .pb {padding-bottom: 80px;}

    /* sub2_2 */
    .brown_bg {background: url(images/logo_icon_w.png) no-repeat top -2% left -2% / 40% #413831;}
    .check2_cont {flex-direction: column; gap: 30px;}

    /* sub2_4 */
    .implant .inner {flex-direction: column; gap: 30px;}

    /* sub3_3 */
    .order_cont {flex-wrap: wrap;}
    .order_cont .order_box {flex: 1 0 30%;}

    /* sub4_1 */
    .treatment_info .treatment_info_box {flex: 1 0 45%;}

    .step_cont, .step_cont2 {flex-wrap: wrap;}
    .step_cont .step_box {flex: 1 0 45%;}
    .step_cont .step_box h4 {line-height: 2.4rem;}

    .step_cont2 .step_box {flex: 1 0 45%;}
    .step_cont2 .step_box img {max-width: 470px;}
}

@media (max-width: 960px) {

}

@media (max-width: 840px) {
    /* sub1_2 */
    .time_top .inner {flex-direction: column; gap: 40px; align-items: center;}

    /* sub2_1 */
    .top_txt .top_tit {flex-direction: column; gap: 0;}

    .vs_cont {flex-direction: column;}

    /* sub2_3 */
    .bna_cont .bna_box_3 {flex-direction: column;}
    .bna_cont .bna_box.bna_box_3 > div {flex: 1 0 100%;}

    /* sub2_5 */
    .youtube .yt_cont {flex-direction: column;}
    .youtube .yt_cont:nth-child(even) {flex-direction: column-reverse;}
    .youtube .yt_cont > div {width: 100%;}
    .youtube .yt_cont .yt_txt {padding: 50px 20px;}

    /* sub3_1 */
    .differ_cont {flex-direction: column;}


}

@media (max-width: 720px) {
    /* subtop */
    .subtop {margin-top: 70px;}

    /* sub2_1 */
    .br_none {display: none;}




    /* 개인정보처리방침 policy css */
    .policy_btns {padding: 1.5rem;}
    .policy_btns ul li {flex: 1 0 100%;}
    .policy_btns ul li a {padding: 0.8rem 1rem;}
    .policy_btns ul li a img {width: 2.5rem;}
    .p_box {padding-top: 5rem;}


}

@media (max-width: 640px) {
    /* sub */
    .subtop {height: 250px;}
    .subtop .subtop_txt h2:after {font-size: 5rem;}
    .subtop.subtop1 {background-size: cover;}


    /* sub1_1 */
    .sub1_1 {padding: 8rem 0;}
    .sub1_1 .sub1_1_cont .doctor_cont {background:#f7f2e9;}
    /* .sub1_1 .sub1_1_cont .doctor_cont img {padding: 0 40px;} */
    .sub1_1 .sub1_1_cont .doctor_txt .name .flex {gap: 15px;}

    /* sub1_3 */
    .root_daum_roughmap .wrap_map {height: 400px !important;}
    .info .info_right {padding: 40px 0;}

    /* sub2_1 */
    .vs_cont > div {padding: 40px 30px;}

    .box_cont .box {flex: 1 0 100%;}

    .box_cont .img_box {flex: 1 0 100%;}

    .check {margin: 30px 0;}
    .check li {padding: 15px 20px;}

    .bna_cont .bna_box {flex-wrap: wrap; gap: 5px;}
    .bna_cont .bna_box > div {flex: 1 0 100%;}

    /* sub2_5 */
    .one_guide_tit {flex-direction: column; align-items: center; gap: 0;}

    /* sub3_1 */
    .comment .comment_txt {padding: 5rem;}
    .comment .comment_txt .logo {max-width: 100px; width: 100%;}

    .miso_cont .miso_box {flex: 1 0 45%;}

    /* sub3_3 */
    .order_cont .order_box {padding: 20px; flex: 1 0 48%;}

    /* sub4_1 */
    .img_tit_cont .img_tit_box {flex: 1 0 100%;}
    .img_tit_cont .img_tit_box h4 {max-width: 454px; width: 100%; margin: 0 auto;}

    .num_cont .num_box {flex: 1 0 100%;}
    .num_cont .num_box .num_txt_cont {padding: 20px;}
}


@media (max-width: 480px) {
    /* sub1_3 */
    .info {padding: 0;}
    .info .map_left {padding: 20px;}
    .info .info_right {padding: 40px 10px;}
    .info .info_right .info_box {max-width: 315px;}

    /* sub2_2 */
    .name_box h4 {font-size: 18px;}

    /* sub2_4 */
    .implant .inner .implant_img {width: 100%;}
    .implant .inner .implant_img img {width: 70%; display: block; margin: 0 auto;}

    /* sub3_1 */
    .big_num {font-size: 7rem; line-height: 7rem;}
    .zigzag_cont .zigzag_box .zigzag_txt {gap: 20px;}




}
