/* #content */
section .main_title {margin-bottom: 48px; color: #29203B;}
section .sub_text {letter-spacing: -0.02em; font-weight: 400; color: #29203B;}
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;}
}
