/* #content */
section .main_title {margin-bottom: 48px; color: #29203B;}
section .sub_text {letter-spacing: -0.02em; font-weight: 400; color: #29203B;margin-top: 24px;}
section .more_btn {display: inline-block; font-weight: 500; font-size: 24px; color: #8556E3; padding: 24px 36px;
    border: 1px solid #8556E3; border-radius: 8px; box-sizing: border-box;}

.popup_bg {background: #fff; border-top: 1px solid rgba(46, 21, 102, 0.15); width: 100%; height: calc(100vh - 200px); position: fixed; top: 200px; left: 0; z-index: 1000; display: none;}
.popup_area {background: #F9F9F9 ; width: 66%; height: calc(90vh - 260px); border-radius: 32px; position: fixed; top: 260px; left: 50%; transform: translateX(-50%); z-index: 1000; display: none;}
.popup_area .btn_close {display: inline-block; width: 32px; height: 32px; position: absolute; top: 44px; right: 3%; z-index: 103;}
.popup_area .btn_close span {display: inline-block; width: 32px; height: 2px; background: #8556E3; border-radius: 5px; position: absolute; top: 50%; transform: translateY(-50%); left: 0;}
.popup_area .btn_close span:nth-of-type(1) {transform: rotate(45deg);}
.popup_area .btn_close span:nth-of-type(2) {transform: rotate(-45deg);}
.popup_area .popup_con {width: calc(100% - 44px); height: calc(100% - 88px); position: fixed; top: 44px; left: 44px; z-index: 102; overflow-y: scroll;}
/*.popup_area .popup_con {-ms-overflow-style: none; !* IE and Edge *! scrollbar-width: none; !* Firefox *!}
.popup_area .popup_con::-webkit-scrollbar {display: none; !* Chrome, Safari, Opera*!}*/

.doctor {padding: 0 16.66% 120px;}
.doctor > ul {display: grid; grid-template-columns: repeat(4, 3fr); column-gap: 20px; row-gap: 28px;}
/* .doctor > ul > li:not(:nth-child(4)) {background: #F5F5F5; border-radius: 16px; padding: 20px 7% 0; position: relative;}
.doctor > ul > li:not(:nth-child(4)) .hover_box {width: 100%; height: 100%; padding: 20px 5% 38px; box-sizing: border-box; border: 1px solid #D4C4F5; border-radius: 16px;
    display: flex; flex-direction: column; justify-content: space-between; position: absolute; top: 0; left: 0; z-index: -1; opacity: 0; transition: all .2s;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(15px) saturate(2); -webkit-backdrop-filter: blur(15px);}
.doctor > ul > li:not(:nth-child(4)):hover .hover_box.on {z-index: 10; opacity: 1;} */
.doctor > ul > li {background: #F5F5F5; border-radius: 16px; padding: 20px 7% 0; position: relative;}
.doctor > ul > li .hover_box {width: 100%; height: 100%; padding: 20px 5% 38px; box-sizing: border-box; border: 1px solid #D4C4F5; border-radius: 16px;
    display: flex; flex-direction: column; justify-content: space-between; position: absolute; top: 0; left: 0; z-index: -1; opacity: 0; transition: all .2s;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(15px) saturate(2); -webkit-backdrop-filter: blur(15px);}
.doctor > ul > li:hover .hover_box.on {z-index: 10; opacity: 1;}
/* hover */
@media (hover:hover) {
    /* .doctor > ul > li:not(:nth-child(4)):hover .hover_box {z-index: 10; opacity: 1;} */
    .doctor > ul > li:hover .hover_box {z-index: 10; opacity: 1;}
}
/*.doctor > ul > li:not(:nth-child(4)) .hover_box dl {border-bottom: 1px solid #DFDFDF;}
.doctor > ul > li:not(:nth-child(4)) .hover_box dl dt {font-size: 28px; line-height: 36px;}
.doctor > ul > li:not(:nth-child(4)) .hover_box dl dd {font-weight: 500; font-size: 14px; line-height: 20px;}
.doctor > ul > li:not(:nth-child(4)) .hover_box p {font-weight: 400; font-size: 14px; line-height: 18px; color: #29203B;}
.doctor > ul > li:not(:nth-child(4)) .hover_box ul li {font-weight: 400; font-size: 14px; line-height: 18px; color: #29203B; padding-left: 10%;
    position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.doctor > ul > li:not(:nth-child(4)) .hover_box ul li::before {content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #29203B;
    position: absolute; top: 50%; transform: translateY(-50%); left: 4%;}
.doctor > ul > li:not(:nth-child(4)) .hover_box .more_btn {display: block; padding: 11px 0; font-weight: 700; font-size: 13px; line-height: 18px; text-align: center;
    color: #8556E3; background: #F2ECFF; border: 1px solid rgba(116, 53, 255, 0.15); border-radius: 100px;}
.doctor > ul > li:not(:nth-child(4)) .hover_box .close_btn {display: block; width: 24px; height: 24px; position: absolute; top: 20px; right: 5%;}
.doctor > ul > li:not(:nth-child(4)) .hover_box .close_btn span {display: block; width: 2px; height: 14px; background: rgba(116, 53, 255, 0.5); position: absolute; top: 50%; left: 50%; margin-top: -7px; margin-left: -1px;}
.doctor > ul > li:not(:nth-child(4)) .hover_box .close_btn span:first-of-type {transform: rotate(45deg);}
.doctor > ul > li:not(:nth-child(4)) .hover_box .close_btn span:last-of-type {transform: rotate(-45deg);}
.doctor > ul > li:not(:nth-child(4)) .plus_btn {display: block; width: 24px; height: 24px; position: absolute; top: 20px; right: 5%; }
.doctor > ul > li:not(:nth-child(4)) .plus_btn span {display: block; width: 2px; height: 16px; background: #29203B; position: absolute; top: 50%; left: 50%;}
.doctor > ul > li:not(:nth-child(4)) .plus_btn span:first-of-type {width: 2px; height: 16px; margin-top: -8px; margin-left: -1px;}
.doctor > ul > li:not(:nth-child(4)) .plus_btn span:last-of-type {height: 2px; width: 16px; margin-top: -1px; margin-left: -8px;}*/
.doctor > ul > li .hover_box dl {border-bottom: 1px solid #DFDFDF;}
.doctor > ul > li .hover_box dl dt {font-size: 28px; line-height: 36px;}
.doctor > ul > li .hover_box dl dd {font-weight: 500; font-size: 14px; line-height: 20px;}
.doctor > ul > li .hover_box p {font-weight: 400; font-size: 14px; line-height: 18px; color: #29203B;}
.doctor > ul > li .hover_box ul li {font-weight: 400; font-size: 14px; line-height: 18px; color: #29203B; padding-left: 10%;
    position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.doctor > ul > li .hover_box ul li::before {content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #29203B;
    position: absolute; top: 50%; transform: translateY(-50%); left: 4%;}
.doctor > ul > li .hover_box .more_btn {display: block; padding: 11px 0; font-weight: 700; font-size: 13px; line-height: 18px; text-align: center;
    color: #8556E3; background: #F2ECFF; border: 1px solid rgba(116, 53, 255, 0.15); border-radius: 100px;}
.doctor > ul > li .hover_box .close_btn {display: block; width: 24px; height: 24px; position: absolute; top: 20px; right: 5%;}
.doctor > ul > li .hover_box .close_btn span {display: block; width: 2px; height: 14px; background: rgba(116, 53, 255, 0.5); position: absolute; top: 50%; left: 50%; margin-top: -7px; margin-left: -1px;}
.doctor > ul > li .hover_box .close_btn span:first-of-type {transform: rotate(45deg);}
.doctor > ul > li .hover_box .close_btn span:last-of-type {transform: rotate(-45deg);}
.doctor > ul > li .plus_btn {display: block; width: 24px; height: 24px; position: absolute; top: 20px; right: 5%; }
.doctor > ul > li .plus_btn span {display: block; width: 2px; height: 16px; background: #29203B; position: absolute; top: 50%; left: 50%;}
.doctor > ul > li .plus_btn span:first-of-type {width: 2px; height: 16px; margin-top: -8px; margin-left: -1px;}
.doctor > ul > li .plus_btn span:last-of-type {height: 2px; width: 16px; margin-top: -1px; margin-left: -8px;}
/* .doctor > ul > li::after {content: ''; display: block; width: 100%; padding-bottom: calc(348/265*100%); position: relative; bottom: 0; left: 50%; transform: translateX(-50%);
    background-position: center bottom; background-repeat: no-repeat; background-size: contain;}
.doctor > ul > li:nth-child(1):after {background-image: url(../images/sub05_03_img_doctor01.png);}
.doctor > ul > li:nth-child(2):after {background-image: url(../images/sub05_03_img_doctor02.png);}
.doctor > ul > li:nth-child(3):after {background-image: url(../images/sub05_03_img_doctor03.png);}
.doctor > ul > li:nth-child(5):after {background-image: url(../images/sub05_03_img_doctor04.png);}
.doctor > ul > li:nth-child(6):after {background-image: url(../images/sub05_03_img_doctor05.png);}
.doctor > ul > li:nth-child(7):after {background-image: url(../images/sub05_03_img_doctor06.png);}
.doctor > ul > li:nth-child(8):after {background-image: url(../images/sub05_03_img_doctor07.png);}
.doctor > ul > li:nth-child(9):after {background-image: url(../images/sub05_03_img_doctor08.png);}
.doctor > ul > li:nth-child(10):after {background-image: url(../images/sub05_03_img_doctor09.png);}
.doctor > ul > li:nth-child(11):after {background-image: url(../images/sub05_03_img_doctor10.png);}
.doctor > ul > li:nth-child(12):after {background-image: url(../images/sub05_03_img_doctor11.png);}
.doctor > ul > li:nth-child(13):after {background-image: url(../images/sub05_03_img_doctor12.png);}
.doctor > ul > li:nth-child(14):after {background-image: url(../images/sub05_03_img_doctor13.png);}
.doctor > ul > li:nth-child(15):after {background-image: url(../images/sub05_03_img_doctor14.png);} */
.doctor > ul > li dl {padding-bottom: 16px; border-bottom: 1px solid #DFDFDF; margin-bottom: 16px;}
.doctor > ul > li dl dt {font-weight: 700; font-size: 24px; line-height: 36px; letter-spacing: -0.02em; white-space: nowrap; color: #29203B;}
.doctor > ul > li dl dd {font-weight: 700; font-size: 16px; line-height: 24px; letter-spacing: -0.02em; white-space: nowrap; color: #29203B;}
.doctor > ul > li .img_box {width: 100%; padding-bottom: calc(348/265*100%); position: relative; bottom: 0; left: 50%; transform: translateX(-50%);
    background-position: center bottom; background-repeat: no-repeat; background-size: contain;}

.cert_bg {background: rgba(0, 0, 0, 0.8);width: 100%;height: 100vh;position: fixed;top: 0;left: 0;z-index: 10000;display: none;}
.cert_area{max-width: 500px;position:fixed;left:50%;top:50%;transform: translate(-50%, -50%);z-index: 10001;display: none;}
.cert_area .close_cert_view {width:24px; height:24px; display:inline-block;position:absolute;top:0;right:0;}
.cert_area .close_cert_view span {display: inline-block; width: 32px; height: 2px; background: #FFFFFF; border-radius: 5px; position: absolute; top: 50%; transform: translateY(-50%); left: 0;}
.cert_area .close_cert_view span:nth-of-type(1) {transform: rotate(45deg);}
.cert_area .close_cert_view span:nth-of-type(2) {transform: rotate(-45deg);}
.cert_img { margin-top:34px;}
.cert_img img {width:100%;}
.t_hide {display:block;}

/* PC (해상도 1440px ~ 1540px) */
@media screen and (max-width:1540px) {
    .doctor {padding: 0 12% 120px;}
    .popup_area {width: 76%;}
}
/* PC (해상도 1058px ~ 1440px) */
@media screen and (max-width:1440px) {
    .doctor {padding: 0 8% 120px;}
    .doctor ul li dl dt {font-size: 16px;}
    .doctor ul li dl dd {font-size: 11px;}
    .popup_area {width: 84%;}
}
/* PC (해상도 1024px ~ 1058px) */
@media screen and (max-width:1058px) {
    .doctor {padding: 0 6% 120px;}
    .popup_area {width: 88%;}
    .cert_area{width:80%;}
    .t_hide {display: none;}
}


/* 태블릿 (해상도 769px ~ 1024px) */
@media screen and (max-width:1024px) {
    /* content */
    section .main_title {font-size: 28px; margin-bottom: 28px;}
    section .sub_text {font-size: 14px; line-height: 21px;}
    section .more_btn {font-size: 18px;}

    .popup_bg {background: rgba(0,0,0,0); width: 0; height: 0; bottom: 0;}
    .popup_area {background: #fff; width: 100%; height: calc(100vh - 240px); top: 280px;
        border: 1px solid rgba(46, 21, 102, .15); border-radius: 32px 32px 0 0; box-shadow: 0px -6px 36px rgba(0, 0, 0, .08);}
    .popup_area .btn_close {top: 24px; right: 3%;}
    .popup_area .popup_con {width: 100%; height: calc(100% - 88px); position: fixed; top: 68px; left: 0;}

    .doctor {padding: 0 5% 80px;}
    .doctor > ul {grid-template-columns: repeat(3, 1fr); column-gap: 16px; row-gap: 40px;}
    /* .doctor > ul > li:nth-child(4) {display: none;} */
    /* .doctor ul li:not(:nth-child(4)) {padding: 0; overflow: hidden;} */
    /* .doctor > ul > li::after {background-size: 88%; left: 10%; transform: translateX(0); bottom: 0;} */
    /* .doctor > ul > li:not(:nth-child(4)) .hover_box ul li {padding-left: 8%;}
    .doctor > ul > li:not(:nth-child(4)) .hover_box ul li::before {left: 2%;} */
    .doctor > ul > li .hover_box ul li {padding-left: 8%;}
    .doctor > ul > li .hover_box ul li::before {left: 2%;}
    .doctor > ul > li dl {padding-bottom: 10px; margin-bottom: 10px;}
    .doctor > ul > li dl dt {font-size: 20px; line-height: 28px;}
    .doctor > ul > li dl dd {font-size: 14px; line-height: 20px;}
    .doctor > ul > li .img_box {background-size: 88%; left: 10%; transform: translateX(0); bottom: 0;}
}

/* 모바일 가로, 모바일 세로 (해상도 375px ~ 768px)*/
@media screen and (max-width:768px) {
    /* content */
    section .main_title {line-height: 41px; margin-bottom: 24px;}
    section .main_title i {display: block;}
    section .sub_text span {display: inline;}

    .popup_area {height: calc(100vh - 160px); top: 160px; border-radius: 16px 16px 0 0;}
    .popup_area .btn_close {width: 24px; height: 24px; top: 18px;}
    .popup_area .btn_close span {background: #2E1566; width: 14px; top: 50%; left: 50%; margin-top: -1px; margin-left: -7px;}
    .popup_area .popup_con {width: 100%; height: calc(100% - 60px); position: fixed; top: 60px; left: 0;}

    .doctor {padding: 60px 5%;}
    .doctor > ul {row-gap: 16px; grid-template-columns: repeat(1, 1fr);}
    /* .doctor > ul > li::after {margin-top: 20px; background-size: 100%; left: 0;} */
    .doctor > ul > li dl {padding-bottom: 16px; margin-bottom: 16px;}
    .doctor > ul > li dl dt {font-size: 20px; line-height: 30px; margin-bottom: 4px;}
    .doctor > ul > li dl dd {line-height: 16px;}
    /* .doctor > ul > li:not(:nth-child(4)) {padding: 28px 7% 0; border-radius: 8px;}
    .doctor > ul > li:not(:nth-child(4)) .hover_box {padding: 32px 5% 40px; border-radius: 8px;}
    .doctor > ul > li:not(:nth-child(4)) .hover_box dl dt {font-size: 24px; line-height: 32px;}
    .doctor > ul > li:not(:nth-child(4)) .hover_box .more_btn {width: 70%; margin: 0 auto;}
    .doctor > ul > li:not(:nth-child(4)) .hover_box .close_btn {top: 32px;} */
    .doctor > ul > li {padding: 28px 7% 0; border-radius: 8px;}
    .doctor > ul > li .hover_box {padding: 32px 5% 40px; border-radius: 8px;}
    .doctor > ul > li .hover_box dl dt {font-size: 24px; line-height: 32px;}
    .doctor > ul > li .hover_box .more_btn {width: 70%; margin: 0 auto;}
    .doctor > ul > li .hover_box .close_btn {top: 32px;}
    .doctor > ul > li .img_box {margin-top: 20px; background-size: 100%; left: 0;}
    .t_hide {display: block;}
}

/* ===== 의료진 상세 팝업 — 원본 /pages/05_03/popup/css/popup_common.css 를 .popup_con 안으로 스코프 ===== */
.popup_con section .inner {display: flex; gap: 40px;}
.popup_con section .inner .card_box {width: 20%; position: relative;}
.popup_con section .inner .card_box .wrapper {background: #fff; border-radius: 16px; padding: 32px 10% 0;}
/* section .inner .card_box dl::after {content: ''; display: block; width: 100%; padding-bottom: calc(696/530*100%); 
    background: url(../images/sub05_03_img_doctor01.png) center no-repeat; background-size: contain; position: relative; bottom: 0; right: 0;} */
.popup_con section .inner .card_box .wrapper dl dt {font-weight: 700; font-size: 24px; line-height: 32px; letter-spacing: -0.02em; color: #29203B;}
.popup_con section .inner .card_box .wrapper dl dd {font-weight: 700; font-size: 16px; line-height: 24px; letter-spacing: -0.02em; color: #29203B;}
.popup_con section .inner .card_box .wrapper span {display: block; width: 100%; padding-bottom: calc(696/530*100%); 
    background-repeat: no-repeat; background-position: center; background-size: contain; position: relative; bottom: 0; right: 0;}

.popup_con section .inner .text_box {width: 80%;}
.popup_con section .inner .text_box dl {padding: 34px 0 36px; display: flex; gap: 24px;}
.popup_con section .inner .text_box dl:last-of-type {padding: 34px 0 120px;}
.popup_con section .inner .text_box dl:not(:last-of-type) {border-bottom: 1px solid rgba(46, 21, 102, 0.15);}
.popup_con section .inner .text_box dl dt {font-weight: 700; font-size: 28px; line-height: 36px; letter-spacing: -0.02em; color: #3E3353; width: 15%;}
.popup_con section .inner .text_box dl dd {width: 80%;}
.popup_con section .inner .text_box dl dd p {font-weight: 300; font-size: 22px; line-height: 42px; color: #3E3353;}
.popup_con section .inner .text_box dl dd p i {display: block;}
.popup_con section .inner .text_box dl dd p .hyphen {display: none;}
.popup_con section .inner .text_box dl.books {padding: 58px 0 120px;}
.popup_con section .inner .text_box .books dd {text-align: center; width: 25%;}
.popup_con section .inner .text_box .books dd .img_box {padding-bottom: 64px; position: relative;}
.popup_con section .inner .text_box .books dd .img_box::after {content: ''; display: block; width: 1px; height: 40px; background: rgba(46, 21, 102, 0.48); opacity: .5;
    position: relative; bottom: -32px; left: 50%;}
.popup_con section .inner .text_box .books dd .img_box img {width: 50%; filter: drop-shadow(-2px 6px 14px rgba(135, 135, 135, 0.18));}
.popup_con section .inner .text_box .books dd p {font-weight: 500; font-size: 24px; line-height: 30px; letter-spacing: -0.02em; color: #2E1566; margin-bottom: 24px;}
.popup_con section .inner .text_box .books dd p i {display: block;}
.popup_con section .inner .text_box .books dd p b {display: block; font-weight: 500; font-size: 20px; line-height: 25px; letter-spacing: -0.02em; color: #9269EE; margin-top: 8px;}
.popup_con section .inner .text_box .books dd a {display: inline-block; font-weight: 500; font-size: 18px; line-height: 26px; letter-spacing: -0.02em; color: #7435FF;
    background: #fff; border: 1px solid rgba(116, 53, 255, 0.15); border-radius: 100px; padding: 12px 15%; display: flex; flex-direction: column; align-items: center;}
.popup_con section .inner .text_box .books dd a.black {pointer-events: none; cursor: default; color: #777777; background: rgba(0, 0, 0, 0.05); border: 1px solid rgba(71, 71, 71, 0.15);}
.popup_con section .inner .text_box .books dd a span:first-of-type {display: inline-block;}
.popup_con section .inner .text_box .books dd a span:last-of-type {display: none;}

.popup_con .btn_certificate {width:100%;background: #F2ECFF;text-align: center;font-weight: 700;font-size: 13px;line-height: 18px;text-align: center;color:#69488E;border: 1px solid rgba(116, 53, 255, 0.15);background: #F2ECFF;border-radius: 100px;box-sizing: border-box;cursor: pointer;}
.popup_con .btn_certificate.pc_btn_cert {display: block;margin-top:24px;padding: 11px 0;}
.popup_con .btn_certificate.tab_btn_cert {display: none;}


/* 스크롤바 커스텀 */
.popup_con .popup_area .popup_con::-webkit-scrollbar {width: 20px; /* 스크롤바 너비 */}
.popup_con .popup_area .popup_con::-webkit-scrollbar-thumb {background: #D9D9D9; /* 스크롤바 색상 */ border-radius: 12px; border: 6px solid #F9F9F9;}
.popup_con .popup_area .popup_con::-webkit-scrollbar-track {background: #F9F9F9; /*스크롤바 뒷 배경 색상*/ border-radius: 8px;}


/* 태블릿 (해상도 769px ~ 1024px) */
@media screen and (max-width:1024px) {
.popup_con section .inner {flex-direction: column; gap: 0;}
.popup_con section .inner .card_box {width: 80%; background: #F5F5F5; border: 1px solid rgba(46, 21, 102, 0.15); padding: 0 10%;
        display: flex; justify-content: space-between; align-items: center;}
    /* section .inner .card_box::after {content: ''; display: block; width: 40%; padding-bottom: calc(660/768*40%); 
        background: url(../images/sub05_03_img_doctor01.png) top -40px center no-repeat; background-size: cover; position: relative; bottom: 0; right: 0;} */
.popup_con section .inner .card_box .wrapper {width: 100%; background: none; border-radius: 0; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 6px}
    /* section .inner .card_box dl {background: none; border-radius: 0; padding: 0; display: flex; align-items: center; gap: 6px;} */
.popup_con section .inner .card_box .wrapper dl dt {font-size: 28px; line-height: 36px; color: #47346B;}
.popup_con section .inner .card_box .wrapper dl dd {font-weight: 500; font-size: 14px; line-height: 18px; letter-spacing: 0; color: #47346B;}
.popup_con section .inner .card_box .wrapper span {width: 40%; padding-bottom: calc(660/768*40%); background-size: cover; background-position: top -20px center;}
    
.popup_con section .inner .text_box {width: 100%;}
.popup_con section .inner .text_box dl {padding: 34px 10%; gap: 16px;}
.popup_con section .inner .text_box dl:last-of-type {padding: 34px 10% 300px;}
.popup_con section .inner .text_box dl dt {font-size: 16px; line-height: 22px;}
.popup_con section .inner .text_box dl dd p {font-weight: 300; font-size: 16px; line-height: 22px; letter-spacing: -0.02em;}
.popup_con section .inner .text_box dl dd p i {display: inline;}
.popup_con section .inner .text_box dl.books {padding: 34px 10% 300px;}
.popup_con section .inner .text_box .books dd .img_box {padding-bottom: 64px; position: relative;}
.popup_con section .inner .text_box .books dd .img_box::after {content: ''; display: block; width: 1px; height: 40px; background: rgba(46, 21, 102, 0.48); opacity: .5;
        position: relative; bottom: -32px; left: 50%;}
.popup_con section .inner .text_box .books dd .img_box img {width: 50%; filter: drop-shadow(-2px 6px 14px rgba(135, 135, 135, 0.18));}
.popup_con section .inner .text_box .books dd p {font-size: 20px; line-height: 25px;}
.popup_con section .inner .text_box .books dd p b {font-size: 16px; line-height: 20px;}
.popup_con section .inner .text_box .books dd a {font-size: 16px; line-height: 20px;}

.popup_con .btn_certificate.pc_btn_cert {display: none;}
.popup_con .btn_certificate.tab_btn_cert {display: block;margin-top:6px;padding: 8px 26px;min-width:181px;font-size: 12px;margin-bottom:3px;}


    /* 스크롤바 커스텀 */
.popup_con .popup_area .popup_con::-webkit-scrollbar-thumb {border: 6px solid #fff;}
.popup_con .popup_area .popup_con::-webkit-scrollbar-track {background: #fff; /*스크롤바 뒷 배경 색상*/}
}


/* 모바일 가로, 모바일 세로 (해상도 375px ~ 768px)*/
@media screen and (max-width:768px) { 
.popup_con section .inner {flex-direction: column; gap: 0;}
.popup_con section .inner .card_box {width: 90%; background: #F5F5F5; border: none; padding: 0 5%;}
    /* section .inner .card_box::after {content: ''; display: block; width: 40%; padding-bottom: calc(660/768*40%); 
        background: url(../images/sub05_03_img_doctor01.png) top -18px center no-repeat; background-size: cover; position: relative; bottom: 0; right: 0;} */
.popup_con section .inner .card_box .wrapper dl {gap: 4px;}
.popup_con section .inner .card_box .wrapper dl dt {font-size: 24px; line-height: 32px;}
.popup_con section .inner .card_box .wrapper dl dd {font-size: 14px; line-height: 18px;}
.popup_con section .inner .card_box .wrapper span {background-position: top -18px center;}
    
.popup_con section .inner .text_box {width: 100%;}
.popup_con section .inner .text_box dl {padding: 34px 5%; flex-direction: column; gap: 8px;}
.popup_con section .inner .text_box dl:last-of-type {padding: 34px 5% 100px;}
.popup_con section .inner .text_box dl dt {width: 100%; font-size: 15px;}
.popup_con section .inner .text_box dl dd {width: 100%;}
.popup_con section .inner .text_box dl dd p {line-height: 25px; color: #55496C;}
.popup_con section .inner .text_box dl dd p .hyphen {display: inline; font-size: 16px; line-height: 25px;}
.popup_con section .inner .text_box dl dd p span {display: inline-block; font-weight: 300; font-size: 11px; line-height: 15px; color: #55496C;}
.popup_con section .inner .text_box dl.thesis dd p {font-weight: 500; font-size: 12px; line-height: 20px; letter-spacing: -0.02em; color: #55496C;}
.popup_con section .inner .text_box dl.books {padding: 34px 5% 100px; gap: 32px;}
.popup_con section .inner .text_box .books dd {width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;}
.popup_con section .inner .text_box .books dd .img_box {width: 20%; padding-bottom: 0;}
.popup_con section .inner .text_box .books dd .img_box::after {display: none;}
.popup_con section .inner .text_box .books dd .img_box img {width: 100%;}
.popup_con section .inner .text_box .books dd p {width: 55%; font-size: 15px; line-height: 22px; margin-bottom: 0; text-align: left; color: #3E3353;}
.popup_con section .inner .text_box .books dd p i {display: inline;}
.popup_con section .inner .text_box .books dd p b {font-weight: 300; font-size: 15px; line-height: 22px; color: #3E3353; margin-top: 0;}
.popup_con section .inner .text_box .books dd a {width: 20%; font-weight: 300; font-size: 12px; line-height: 18px; letter-spacing: 0; color: #3E3353; padding: 4px 3%; vertical-align: middle;}
.popup_con section .inner .text_box .books dd a span .purple {vertical-align: bottom; color: #7435FF;}
.popup_con section .inner .text_box .books dd a span:first-of-type {display: none;}
.popup_con section .inner .text_box .books dd a span:last-of-type {display: block;}

.popup_con .btn_certificate.tab_btn_cert {padding: 6px 15px;min-width:150px;font-size: 12px;}


    /* 스크롤바 커스텀 */
.popup_con .popup_area .popup_con::-webkit-scrollbar {width: 16px; /* 스크롤바 너비 */}
.popup_con .popup_area .popup_con::-webkit-scrollbar-thumb {border-radius: 8px;}
}
/* ── 페이지 타이틀 정렬·여백 (2026-07-29) ──────────────────────────
 * 원본은 타이틀이 `<section class="doctor">` **안**에 있어 그 좌우 패딩을 그대로 받는다.
 * CMS 는 타이틀을 페이지 콘텐츠(#content 직속)에 두고 모듈이 카드만 렌더하므로
 * 타이틀이 패딩을 못 받아 화면 왼쪽 끝에 붙었다(국문·다국어 공통).
 * → .doctor 와 같은 좌우 패딩을 브레이크포인트별로 그대로 준다.
 * ★.line_map(브레드크럼)은 건드리지 않는다 — 자체 반응형 패딩이 이미 있다.
 * ★767px 이하는 .line_map 이 display:none 이라 타이틀이 헤더에 딱 붙는다 → 위 여백 추가.
 * (doctors.css 는 의료진 모듈이 있는 페이지에만 로드되므로 다른 페이지 무영향)
 * ------------------------------------------------------------------ */
#content > .main_title { padding-left: 16.66%; padding-right: 16.66%; }
@media screen and (max-width:1540px) { #content > .main_title { padding-left: 12%; padding-right: 12%; } }
@media screen and (max-width:1440px) { #content > .main_title { padding-left: 8%;  padding-right: 8%; } }
@media screen and (max-width:1058px) { #content > .main_title { padding-left: 6%;  padding-right: 6%; } }
@media screen and (max-width:1024px) { #content > .main_title { padding-left: 5%;  padding-right: 5%; } }
@media screen and (max-width:767px)  { #content > .main_title { padding-left: 5%;  padding-right: 5%; padding-top: 40px; } }
