#footer {
    width: 100%;
    height: 730px !important;
    background-color: #000000;
    color: #ffffff;
}

.underline::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: red;
    transform: scaleX(1) !important;
    transform-origin: left;
    transition: transform 0.3s ease;
}

#footer .footer_top {
    padding-left: 20px;
    margin-top: 110px;
}

#footer .footer_left {
    color: #fff;
    margin: 10px;
}

#footer .footer_left a p {
    position: relative;
    display: inline-block;
    overflow: hidden;
    color: #ffffff;
}

#footer .footer_left a p::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

#footer .footer_left a:hover p::after {
    transform: scaleX(1);
}

#footer .footer_right {
    color: #fff;
    text-align: right;
}

.foot_desc {
    align-items: center;
    justify-content: flex-end;
}

#footer hr {
    border-color: #4b4b4b;
}

#footer .footer_bottom {
    padding-left: 20px;
    justify-content: space-between;
    color: #fff;
    margin-top: 10px;
}

#footer .bg-white {
    background-color: white;
    color: #000000;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 8px;
    margin: 5px;
}

.fixBtn_kakao {
    position: fixed;
    bottom: 10%;
    left: 90%;
    cursor: pointer;
    z-index: 999;
}

#top_button {
    margin-left: auto;
    cursor: pointer;
    width: 50px;
    height: 50px;
}

#scrollToTopBtn {
    width: 100%;
    height: 100%;
    background-color: #e91d24;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}


/*popup 개인정보처리방침팝업*/
.bg-black{
    background-color: black;
}
.f-white{
    color:white;
}

.agree-popup-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* 배경 어둡게 */
    z-index: 1000;
    /* 팝업이 가장 위에 오도록 */
}

.agree-popup {
    height: 800px;
    position: absolute;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    overflow-y: scroll;
}

.popup_header {
    height: 69px;
}

.agree-popup-content {
    padding: 43px 40px;
}

.agree-popup-content ul {
    border: 1px solid #d7d7d7;
    padding: 20px;

}

.agree-close-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background: #1d2443;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.close-btn-wrapper {
    position: absolute;
    top: 24px;
    right: 20px;
    cursor: pointer;
}

/* mobile */
@media screen and (max-width: 767px) {
    .agree{
        padding:0 !important;
        font-size: 12px;
        margin-bottom: 26px;
    }

    .agree-popup-content {
        padding: 6px 15px;
        font-size:10px;
    }

    .agree-popup {
        width: 300px;
        height: 517px;
    }

    .fixBtn_kakao {
        bottom: 1%;
        left: 83%;
    }
    .fixBtn_kakao img{
        width:50px;
        height:50px;
    }
    #footer {
        height: 650px !important;

    }
    #footer .footer_top {
        padding-left: 0;
        margin-top: 0;

    }

    #footer .footer_bottom {
        padding-left: 0;

        margin-top: 0;
        margin-bottom: 0 !important;
    }

    #footer .footer_left {
        margin: 0;
        margin-bottom: 40px;
    }

    #footer .footer_right {
        color: #fff;
        text-align: left;
    }

    .foot_desc {
        justify-content: flex-start;
    }

    #top_button {
        position: absolute;
        right: 5%;
    }

    #scrollToTopBtn {
        width: 70%;
        height: 70%;
        background-color: #e91d24;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 15px;
    }
.footer_bottom_left{
    align-items:flex-start !important;
}
    .footer_bottom_right {
        margin-top: 25px;
    }
}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {}

/* pc */
@media screen and (min-width: 1025px) and (max-width: 1400px) {}