/* ========= info-map ========= */
.map ul.flex > li > div {
    padding: 50px 0;
    height: 350px;
    border: 1px solid #dfdfdf;
}
.map ul.flex h5 {
    margin-top: 10px;
    font-family: 'NanumSquare', san-serif;
    font-weight: 800;
    transform: skew(-0.1deg);
}
.map ul.flex p {
    position: relative;
    margin-top: 10px;
    padding-top: 20px;
    font-weight: 700;
}
.map ul.flex p::before {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background-color: #ddd;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}
.map ul.flex > li:nth-child(2) p span:nth-child(2) {
    background: #47af1b;
}
.map ul.flex > li:nth-child(2) p span:nth-child(3) {
    background: #00afbd;
}
.map .root_daum_roughmap {
    width: calc(100% - 20px) !important;
    margin: 0 auto;
}

/*================================================================ 1500px 이하 ================================================================= */
@media screen and (max-width: 1500px) {
}

/*================================================================ 1200px 이하 ================================================================= */
@media screen and (max-width: 1200px) {
    .time-table article {
        margin-top: 40px;
    }
}

/*================================================================ 1025px 이하 ================================================================= */
@media screen and (max-width: 1025px) {
    .dentist .tab-content > ul {
        background-size: 30%;
    }
}

/*================================================================ 900px 이하 ================================================================= */
@media screen and (max-width: 900px) {
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width: 769px) {
    /* =========== info-dentist ======== */
    .dentist .tab-btn {
        margin: 20px auto 40px;
        flex-direction: column;
        max-width: 350px;
    }
    .dentist .tab-btn label {
        padding: 8px 15px;
    }

    .dentist .tab-content .tab-name > div {
        display: block;
    }
    .dentist .tab-content img {
        max-width: 350px;
        width: 100%;
    }
    .dentist .tab-content > ul {
        display: block;
        background: none;
    }
    .dentist .tab-content > ul > li {
        width: 100%;
        text-align: center;
    }
    .dentist .tab-content > ul > li:last-child {
        margin: 20px 0 0 0;
    }
    .dentist .tab-content .disc-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-width: 400px;
        margin: 0 auto;
        text-align: left;
    }

    /* =========== info-time ======== */
    .time-table ul {
        display: block;
        max-width: 500px;
        margin: 0 auto;
    }
    .time-table ul li img {
        width: 70%;
    }
    .time-table ul li:last-child {
        margin: 40px auto 0;
    }
    .time-table h6 {
        font-size: 18px;
    }

    /* ========= info-map ========= */
    .map ul.flex {
        flex-wrap: wrap;
        justify-content: center;
    }
    .map ul.flex > li {
        width: 100%;
    }
    .map ul.flex > li > div {
        height: auto;
    }
}

/* 커스텀 스타일 */
.main_quick_section {
    display: flex;
    flex-direction: column;
}
.main_quick_section > ul {
    width: 100%;
    display: flex;
}
.main_quick_section > ul > li > a {
    display: block;
    position: relative;
    width: 25vw;
    height: 25vw;
    overflow: hidden;
}
.main_quick_section > ul > li > a > img {
    max-width: none;

    --width: 25vw;
    transition: all 0.5s;
    width: var(--width);
    height: var(--width);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.main_quick_section > ul > li > a:hover > img {
    --width: 27vw;
    filter: brightness(90%);
}
.main_quick_section > ul > li > a.no_action {
    cursor: none;
    pointer-events: none;
}
.main_quick_section > ul > li > a.main_gallary_quick:hover > img {
    --width: 25vw;
    filter: brightness(100%);
}

@media (max-width: 1200px) {
    .gallary_btn {
        display: none;
    }
    .main_quick_section {
        display: flex;
        flex-direction: row;
    }
    .main_quick_section > ul {
        width: 50%;
        display: flex;
        flex-direction: column;
    }
    .main_quick_section > ul > li > a {
        display: block;
        position: relative;
        width: 50vw;
        height: 50vw;
        overflow: hidden;
    }
    .main_quick_section > ul > li > a > img {
        --width: 50vw;
        transition: all 0.5s;
        width: 50vw;
        height: 50vw;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .main_quick_section > ul > li > a:hover > img {
        --width: 50vw;
        width: var(--width);
        height: var(--width);
    }
    .main_quick_section > ul > li > a.main_gallary_quick:hover > img {
        --width: 50vw;
        filter: brightness(100%);
    }
}

.main_quick_section > ul > li > a.main_gallary_quick {
    display: flex;
    justify-content: center;
    align-items: center;
}
.main_quick_section .swiper {
    margin-top: 9%;
}
.main_quick_section .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.main_quick_section .swiper-slide img {
    width: 80%;
    border: 2px solid #fff;
    box-sizing: border;
}
.main_quick_section .swiper-button-prev,
.main_quick_section .swiper-button-next {
    color: #fff;
}

/* 오시는 길 */
.map {
    position: relative;
    margin-bottom: 80px;
    overflow: hidden;
}

img.map_deco {
    position: absolute;
    right: -5vw;
    width: 40vw;
    top: -5vw;
}
.main_btn a {
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    background-color: #c6a688;
}
.main_btn a:hover {
    background-color: #d9b48e;
}
.main_btn img {
    width: 20vw;
}

#footer {
    border-top: 0px solid #000;
}

@media (max-width: 1200px) {
    .map {
        margin-bottom: 40px;
    }
    .main_btn img {
        width: 60vw;
    }
}
