@charset "utf-8";

/*********************************************
    푸터
*********************************************/
.footer {
    position: relative;
    width: 100%;
    color: rgba(0, 0, 0, 0.5);
    background: var(--white)
}

.footer__container {
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-width: calc(var(--inner-size) + (var(--page-margin) * 2));
    padding:150px var(--page-margin) 110px;
    margin: 0 auto;
    border-top:1px solid var(--neutral-400);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width:170px;
    margin-right:48px;
}

.footer__logo {
    flex:none;
}

.footer__logo img {
    display: block;
    width: 161px;
    height: auto;
    opacity: .5;
}

.footer__privacy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    padding: 10px 18px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    color: rgba(0, 0, 0, 0.5);
    line-height: 1;
    white-space: nowrap;
    transition: var(--deafult-transition);
}

.footer__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width:max-content;
    margin-right:100px;
}

.footer__info-text,
.footer__disclaimer,
.footer__copyright,
.footer__construction {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8
}

.footer__copyright {
    margin-top: 0
}

.footer__right {
    flex: 1 0 auto;
    display: flex;
    align-items: flex-start;
    gap:20px;
}

.footer__construction {
    text-align: left;
    margin-right: auto;
}

.footer__construction p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__construction-logo {
    width: auto;
    height: auto;
    max-width: none;
}

.footer__contact {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: var(--black);
}

.footer__contact-label {
    font-size: 1rem;
}

.footer__contact-phone {
    color: var(--black);
    font-size: 24px;
    font-weight: 700
}

.footer__sns {
    display: flex;
    gap: 14px;
    margin-top: 26px;
    padding: 0;
    list-style: none
}

.footer__sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    transition: var(--deafult-transition);
}

.footer__sns-link img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain
}

@media (hover: hover) and (min-width: 1025px) {
    .footer__privacy-btn:hover {
        border-color: var(--black);
        color:var(--black);
    }
    .footer__sns-link:hover {
        background: rgba(0, 0, 0, 0.5)
    }
}

@media screen and (min-width: 1025px) and (max-width: 1420px) {
    .footer__container {
        min-width:100%;
    }
    .footer__construction {
        width:max-content;
    }
}

@media screen and (max-width:1024px) {
    .footer__container {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 100%;
        text-align: center;
        padding:40px var(--page-margin) 30px;
    }

    .footer__brand {
        order: 1;
        width:100%;
        align-items: center;
        margin-right:0;
    }

    .footer__logo {
        width: 38.6667%;
    }

    .footer__logo img {
        width:100%;
        opacity: 1
    }

    .footer__privacy-btn {
        margin-top: 20px;
        padding: 7px 10px;
        color: var(--black);
        font-size: 12px;
        border-color: var(--black)
    }

    .footer__right {
        display: contents
    }

    .footer__construction {
        order: 2;
        margin: 26px auto 0;
        text-align: center;
        font-size: clamp(12px, 3.2vw ,25px);
        line-height: 1.6
    }

    .footer__construction p {
        justify-content: center;
    }

    .footer__info {
        order: 3;
        align-items: center;
        gap: 30px;
        margin: 30px 0 0;
        min-width: 100%;
        padding: 0
    }

    .footer__info-text,
    .footer__disclaimer,
    .footer__copyright {
        font-size: clamp(12px, 3.2vw, 25px);
        line-height: 1.6
    }

    .footer__contact {
        order: 4;
        margin-top: 30px
    }

    .footer__contact-label {
        font-size: clamp(11px, 2.9333vw, 22px)
    }

    .footer__contact-phone {
        font-size: clamp(16px, 4.2666vw, 32px)
    }

    .footer__sns {
        order: 5;
        gap: 10px;
        margin-top: 16px
    }

    .footer__sns-link {
        width: 9.6vw;
        height: 9.6vw
    }

    .footer__sns-link img {
        width: 4vw;
        height: 4vw
    }
}
