@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500&display=swap");

.pc_block {
    display: block;
}

.mo_block {
    display: none;
}

@media screen and (max-width: 768px) {
    .mo_block {
        display: block;
    }

    .pc_block {
        display: none;
    }
}

@media screen and (max-width: 1210px) {
    .main-v {
        height: clamp(400px, 70vw, 950px);
    }
}

.sec-2-img {
    overflow: hidden;
    border-radius: 50px;
}

@media screen and (max-width: 768px) {
    .sec-2-img {
        border-radius: 20px;
    }
    .doctor_swiper .swiper-button-wrap {
        display: none;
    }
}

/* 병원 소개 */
.clinic_section {
    position: relative;
    overflow: hidden;
    height: calc(100vh - 100px);
}

.clinic_section .clinic_swiper {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.clinic_swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clinic_inner {
    max-width: 1480px;
    margin: 0 auto;
    color: #fff;
    display: flex;
    height: 100%;
    align-items: end;
}

@media screen and (max-width: 1600px) {
    .clinic_inner {
        width: 90%;
    }
}

.clinic_text_box {
    position: relative;
    z-index: 1;
    padding-bottom: 120px;
}

.clinic_tit {
    font-family: "Noto Sans KR";
    font-size: 50px;
    font-weight: 700;
    line-height: 38px;
    padding-bottom: 36px;
}

.clinic_txt {
    font-size: 24px;
    font-weight: 300;
    line-height: 140%;
    letter-spacing: -0.48px;
    padding-bottom: 32px;
}

.clinic_txt strong {
    font-weight: 700;
}

.custom-pagination {
    display: flex;
    gap: 10px;
    height: 80px;
    padding-bottom: 35px;
}

.pagination-item {
    display: flex;
    align-items: center;
}

.pagination-item .img_box {
    max-width: 60px;
    filter: grayscale(1);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.pagination-item .txt_box {
    opacity: 0;
    width: 0;
    transition: width 0.3s ease-in-out;
    visibility: hidden;
}

.pagination-item .tit_wrap {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease-in-out;
}

.pagination-item .tit_wrap a {
    color: #bdbdbd;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.64px;
}

.pagination-item .thumb_txt {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease-in-out;
    transition-delay: 0.1s;
}

.pagination-item.active .img_box {
    max-width: 80px;
    filter: grayscale(0);
}

.pagination-item.active .txt_box {
    opacity: 1;
    width: auto;
    visibility: visible;
    padding-left: 12px;
}

.pagination-item.active .tit_wrap {
    opacity: 1;
    transform: translateY(0);
}

.pagination-item.active .thumb_txt {
    opacity: 1;
    transform: translateY(0);
}

.custom-pagination .tit_wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
}

.thumb_tit {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 150%;
}

.thumb_txt {
    font-family: Pretendard;
    font-size: 16px;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: -0.48px;
}

.clinic_section .swiper-scrollbar {
    max-width: 300px;
    background: rgba(255, 255, 255, 0.4);
    height: 3px;
}

.swiper-scrollbar-drag {
    background: rgba(255, 255, 255, 1);
}

@media screen and (max-width: 1210px) {
    .clinic_section {
        height: clamp(635px, 70vw, 950px);
    }

    .clinic_tit {
        font-size: 30px;
        padding-bottom: 12px;
        line-height: 38px;
    }

    .clinic_swiper img {
        object-position: 70% 50%;
    }

    .clinic_txt {
        font-size: 16px;
        letter-spacing: -0.32px;
        padding-bottom: 20px;
    }

    .clinic_inner {
        width: 90%;
    }

    .clinic_text_box {
        padding-bottom: 52px;
    }

    .custom-pagination .tit_wrap {
        padding-bottom: 4px;
    }

    .pagination-item .tit_wrap a {
        font-size: 16px;
    }

    .pagination-item .img_box {
        max-width: 40px;
    }

    .pagination-item.active .img_box {
        max-width: 50px;
    }

    .thumb_tit {
        font-size: 20px;
    }

    .thumb_txt {
        font-size: 13px;
    }

    .pagination-item.active .txt_box {
        padding-left: 10px;
    }
}

@media screen and (max-width: 768px) {
    .clinic_inner {
        width: calc(100% - 40px);
        padding: 0 20px;
    }

    .custom-pagination {
        height: 100px;
    }

    .custom-pagination .tit_wrap {
        flex-direction: column;
        gap: 0;
        align-items: start;
        padding-bottom: 4px;
    }

    .clinic_section .swiper-scrollbar {
        max-width: 200px;
    }

    .thumb_txt p {
        display: none;
    }

    .pagination-item .img_box {
        transform: scale(1);
    }

    .clinic_btn_group {
        left: -16px;
        bottom: 17%;
    }
}

.clinic_btn_group {
    position: absolute;
    bottom: 20%;
    /* left: 10%; */
    max-width: 224px;
    width: 100%;
    height: 35px;
}

.clinic_btn_group .stop_btn {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 46px;
    cursor: pointer;
    z-index: 9999;
    font-size: 25px;
    color: #fff;
}

.clinic_btn_group .stop_btn img {
    width: 18px;
}

.clinic_btn_group .swiper-pagination {
    position: absolute;
    top: 12px;
    bottom: auto;
    left: 50%;
    transform: translateX(-66%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background-color: #fff !important;
}

.swiper-button-next,
.swiper-container-rtl .swiper-button-prev,
.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    background-image: none;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after,
.swiper-button-next:after,
.swiper-button-prev:after {
    display: none;
}

.clinic_btn_group .swiper-button-next,
.clinic_btn_group .swiper-button-prev {
    position: absolute;
    top: 88%;
    width: 50px;
    text-align: center;
    /* height: 50px; */
    display: block;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    background-size: 27px 44px;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 999;
}

.clinic_btn_group .swiper-button-next {
    right: 0;
}

.clinic_btn_group .swiper-button-prev {
    left: 0;
}

/* 원장 소개 */
/* .doctor_section {
    padding: 123px 0;
} */

.doctor_swiper.doctor_inner {
    overflow: hidden;
    width: 100%;
    padding: 123px 0;
}

.doctor_inner .swiper-wrapper {
    display: flex;
    align-items: center;
}

.doctor_swiper .swiper-slide {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 75px;
    box-sizing: border-box;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s ease-in-out;
    transition-delay: 0.2s;
}

.doctor_swiper .swiper-slide-active {
    opacity: 1;
    transform: translateY(0);
}

/* active 양옆(prev/next) 슬라이드에 부드러운 잔상 느낌 */
.doctor_swiper .swiper-slide-prev,
.doctor_swiper .swiper-slide-next {
    opacity: 0.4;
    transform: translateY(30px);
}

.doctor_swiper .swiper-slide .doctor_name img,
.doctor_swiper .swiper-slide .doctor_name h2 {
    transform: translateX(-40px);
    transition: all 1s ease-in-out;
    transition-delay: 0.4s;
    opacity: 0;
}

.doctor_swiper .swiper-slide-active .doctor_name img,
.doctor_swiper .swiper-slide-active .doctor_name h2 {
    transform: translateX(0);
    opacity: 1;
}

.doctor_swiper .swiper-button-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1500px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    z-index: 10;
}

.doctor_swiper_next {
    transform: rotate(180deg);
}

.doctor_inner .img_box {
    max-width: 540px;
    overflow: hidden;
    border-radius: 50px;
}

.doctor_inner .txt_box {
    position: relative;
    max-width: 664px;
}

.doctor_inner .deco_txt {
    position: absolute;
    bottom: 66%;
    left: 15%;
    color: #262626;
    font-family: "Playfair Display";
    font-size: 4.7vw;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.916px;
    opacity: 0.1;
    white-space: nowrap;
}

.doctor_inner .deco_txt.aos-animate {
    opacity: 0.1;
}

.doctor_name {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #262626;
    font-family: Pretendard;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    padding-bottom: 30px;
}

.doctor_name strong {
    font-size: 50px;
    font-weight: 800;
}

.doctor_slogan_wrap {
    display: flex;
    gap: 8px;
    align-items: start;
    padding-bottom: 40px;
}

.doctor_slogan_wrap:before,
.doctor_slogan_wrap:after {
    flex-shrink: 0;
    content: "";
    display: block;
    width: 16px;
    height: 14px;
    background: url(/img/main/ico_word.svg) center center / contain no-repeat;
}

.doctor_slogan_wrap:after {
    transform: rotate(-180deg);
}

.doctor_slogan {
    color: #1f1f1f;
    font-family: "Nanum Myeongjo";
    font-size: 32px;
    font-style: normal;
    font-weight: 300;
    line-height: 130%;
    letter-spacing: -0.96px;
}

.doctor_slogan strong {
    font-weight: 600;
}

.doctor_history_box {
    padding-bottom: 40px;
}

.doctor_history_box h3 {
    color: #1f1f1f;
    font-family: Pretendard;
    font-size: 24px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0.24px;
    padding-bottom: 16px;
}

.doctor_history_inner {
    display: flex;
    gap: 20px;
}

.doctor_history_box li {
    color: #636363;
    font-family: Pretendard;
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.2px;
    display: flex;
    gap: 10px;
}

.doctor_history_inner li:before {
    content: "";
    display: block;
    width: 3px;
    height: 3px;
    background: #152c6b;
    flex-shrink: 0;
    margin-top: 12px;
}

.doctor_more_btn {
    color: #222;
    text-align: center;
    font-family: Pretendard;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.72px;
    margin: 0 0 0 auto;
    display: block;
    width: fit-content;
    position: absolute;
    bottom: -60px;
    right: 0;
}

@media screen and (max-width: 1350px) {
    .doctor_slogan_wrap {
        max-width: 380px;
        text-align: center;
    }
}

@media screen and (max-width: 1210px) {
    .doctor_section {
        padding: 50px 0;
    }

    .doctor_inner {
        width: 90%;
        margin: 0 auto;
    }

    .doctor_swiper .swiper-slide {
        flex-direction: column;
        gap: 40px;
    }

    .doctor_inner .deco_txt {
        font-size: 40px;
    }

    .doctor_inner .img_box {
        max-width: 360px;
    }

    .doctor_more_btn {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 0 auto;
    }

    .doctor_name {
        font-size: 24px;
        padding-bottom: 20px;
    }

    .doctor_name strong {
        font-size: 34px;
    }

    .doctor_name img {
        max-width: 40px;
    }

    .doctor_slogan_wrap {
        text-align: left;
        padding-bottom: 20px;
    }

    .doctor_slogan {
        font-size: 20px;
    }

    .doctor_slogan strong {
        display: block;
    }

    .doctor_history_box h3 {
        font-size: 20px;
    }

    .doctor_history_box li {
        font-size: 16px;
        letter-spacing: -0.16px;
    }
}

@media screen and (max-width: 768px) {
    .doctor_inner .img_box {
        border-radius: 30.569px;
    }

    .doctor_history_inner {
        flex-direction: column;
    }
}

/* 연구 논문 */
.report_section {
    background: url(/img/main/report_section.png?v=3) center center / cover no-repeat;
}

@media screen and (max-width: 768px) {
    .report_section {
        background: url(/img/main/m_report_section.png?v=3) center center / cover no-repeat;
    }
}

/* 뉴스 */
.news_sec .new_sec_inner {
    flex-wrap: wrap;
}

.mobile_btn {
    width: 100%;
    order: 3;
    display: none;
}

.news_list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    max-width: 848px;
}

.news_list .news_item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    width: calc(100% / 3 - 12px);
}

.news_list .news_item a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.news_item .hover_box {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.65) 100%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.news_item:hover .hover_box {
    opacity: 1;
}

.news_item .hover_txt {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 8px;
    border: 1px solid #fff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-align: center;
    font-family: "Pretendard";
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.72px;
}

.news_list .news_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 1210px) {
    .news_list {
        width: 60%;
    }

    .tit_box {
        width: 40%;
        max-width: 260px;
    }
}

@media screen and (max-width: 1025px) {
    .mobile_btn {
        display: block;
        order: unset;
    }

    .news_sec .tbx .news_btn {
        margin: 0 0 40px;
    }

    .news_sec .new_sec_inner {
        padding-bottom: 70px;
    }
}

@media screen and (max-width: 980px) {
    .news_list {
        width: 80%;
    }
}

@media screen and (max-width: 768px) {
    .news_list {
        width: 90%;
    }

    .news_list .news_item {
        width: calc(100% / 2 - 12px);
    }

    .news_item .hover_txt {
        font-size: 14px;
    }
}

/* 진료시간 */
.ttm_txt {
    color: #000;
    font-family: "Noto Sans KR";
    font-size: 18px;
    font-weight: 350;
    line-height: 130%;
}

.ttm_txt div:first-child {
    padding-bottom: 12px;
}

.ttm-fbx .ttm-bx-inner-time {
    display: block;
    color: #000;
    padding-top: 50px;
    font-family: "Noto Sans KR";
    font-size: 18px;
    font-weight: 300;
    line-height: 140%;
    letter-spacing: 0.9px;
    margin-left: 0;
}

.ttm-bx-inner-time .time-item {
    display: flex;
    gap: 30px;
    align-items: start;
    padding-bottom: 12px;
}

.time-cont-item-tit {
    width: 68px;
    height: 28px;
    text-align: justify;
}

.time-cont-item-tit:after {
    content: "";
    display: inline-block;
    width: 100%;
    height: auto;
}

.time-cont-item {
    display: flex;
    gap: 21px;
}

.time-cont-item-caution {
    color: #777;
    font-family: "Noto Sans KR";
    font-size: 16px;
    font-weight: 300;
    line-height: 140%;
    letter-spacing: -0.8px;
}

.time-cont-item-caution strong {
    font-weight: 500;
}

.main-map-txt {
    padding-bottom: 26px;
}

.main-map-btn-group {
    display: flex;
    gap: 10px;
}

.main-map-btn-group a {
    display: flex;
    flex: 1;
    border-radius: 50px;
    padding: 12px 25px;
    max-width: 237px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--white, #fff);
    text-align: center;
    font-family: "Noto Sans";
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
}

.main-map-btn-group a img {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.main-map-btn-group .btn-naver {
    background: #2db400;
}

.main-map-btn-group .btn-kakao {
    background: #fed500;
    color: #000;
}

@media screen and (max-width: 1210px) {
    .ttm_txt {
        font-size: 15px;
    }

    .ttm-bx #map {
        aspect-ratio: 16 / 9;
    }

    .ttm-bx-inner-time .time-item {
        flex-direction: column;
        gap: 20px;
    }

    .ttm-fbx .ttm-bx-inner-time {
        margin: 0;
        font-size: 16px;
        letter-spacing: 0.8px;
        padding-bottom: 36px;
    }

    .time-cont-item-tit {
        width: 60px;
        height: 26px;
    }

    .ttm-fbx .main-map-txt {
        flex-direction: column;
    }

    .main-map-btn-group {
        justify-content: center;
    }

    .main-map-btn-group a {
        font-size: 16px;
        gap: 4px;
    }
}
