/* footer */
.footer {
    background-color: #151515;
    padding: 40px 104px 29px;
    position: relative;
    z-index: 1;
}
.footer p {
    color: rgba(255, 255, 255, 0.4);
    margin-top: 50px;
}

/* quick_menu */
.quick_menu {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 101;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
.quick_menu a {
    display: flex;
    padding: 8px 14px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 100px;
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    color: #fff;
    transition: all 0.2s;
}
.quick_menu a:hover {
    gap: 8px;
}

/* modal */
html.modal-active,
body.modal-active {
    /* overflow: hidden; */
}
.modal-container {
    position: fixed;
    display: table;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform: scale(0);
    z-index: 99999;
}
.modal-container.on {
    transform: scaleY(0) scaleX(0);
    animation: unfoldIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal-container.on .modal-background .modal {
    transform: scale(0);
    animation: zoomIn 0.5s 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal-container.on.out {
    transform: scale(1);
    animation: unfoldOut 1s 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal-container.on.out .modal-background .modal {
    animation: zoomOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal-container .modal-background {
    display: table-cell;
    background: rgba(0, 0, 0, 0.85);
    text-align: center;
    vertical-align: middle;
}
.modal-container .modal-background .modal {
    display: inline-block;
}
.modal-close {
    cursor: pointer;
    transition: all 0.2s;
}
.modal-close:hover {
    transform: rotate(90deg);
}

@keyframes unfoldIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes unfoldOut {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0);
    }
    100% {
        transform: scaleY(0);
    }
}
@keyframes zoomIn {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes zoomOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
.modal-container .modal-background .inner {
    display: inline-flex;
    padding: 32px;
    flex-direction: column;
    align-items: flex-start;
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    color: #fff;
    text-align: left;
}
.pop_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}
/* doctor_pop */
.pop_head span {
    margin-right: 4px;
}
#doctor_pop .inner > ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 32px 0px;
}
#doctor_pop .inner > ul li {
    display: flex;
    padding: 4px 16px 4px 8px;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    background: #fff;
    color: #222;
}
.doctor_txt {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    align-self: stretch;
}
.doctor_txt ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.doctor_txt > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}
.doctor_txt > div ul:last-of-type {
    padding: 11px;
    align-self: stretch;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
}

/* jaw_pop */
#jaw_pop .inner > ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
#jaw_pop .inner > ul li {
    display: flex;
    align-items: center;
    gap: 4px;
}
#jaw_pop h4 {
    margin-bottom: 8px;
    margin-top: 32px;
}
#jaw_pop p {
    padding: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
    width: 100%;
}

/* bna_pop */
.modal-container.bna_pop .modal-background .inner {
    padding: 32px 20px 32px 32px;
    align-items: stretch;
}
.pop_scroll {
    max-height: 676px;
    overflow-y: scroll;
    margin-top: 32px;

    /* 파이어폭스 전용 */
    scrollbar-width: thin;
    scrollbar-color: #888 transparent; /* 스크롤바 색상과 트랙 색상 */
}

/* 크롬, 엣지, 사파리 전용 */
.pop_scroll::-webkit-scrollbar {
    width: 4px; /* 세로 스크롤바 두께 */
}

.pop_scroll::-webkit-scrollbar-track {
    background: transparent;
}

.pop_scroll::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 999px;
}

.pop_scroll::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}
.pop_scroll::-webkit-scrollbar-button {
    display: none;
}
.pop_scroll h4,
.pop_scroll h5 {
    margin-bottom: 8px;
}
.pop_scroll p {
    margin-bottom: 32px;
}
.pop_scroll p.box {
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
}
.case_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
