.footer {
    position: relative;
    width: 100%;
    height: 339px;
    padding: 0;
    background: #000000;
    border-radius: 60px 60px 0 0;
    box-sizing: border-box;
}

.footer .container {
    width: min(1492px, calc(100% - 428px));
    height: 339px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 350px;
    color: #ffffff;
    box-sizing: border-box;
}

.footer_logo_area {
    flex: 0 0 127px;
    width: 127px;
    height: 98px;
    display: flex;
    align-items: center;
    justify-content: center;
}

img.footer_logo {
    width: 127px;
    height: 98px;
    display: block;
    object-fit: contain;
}

.footer_info {
    flex: 0 0 331px;
    width: 331px;
    height: 159px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer_text_cont {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.footer_text_first {
    flex: 0 0 40px;
    white-space: nowrap;
}

.footer_text_cont:nth-child(3) .footer_text_first,
.footer_text_cont:nth-child(4) .footer_text_first {
    flex-basis: 69px;
}

.footer_text_second {
    display: flex;
    align-items: center;
    color: #ffffff;
    white-space: nowrap;
}

.footer_text_second::before {
    content: "";
    display: inline-block;
    flex: 0 0 1px;
    width: 1px;
    height: 14px;
    margin: 0 12px 0 15px;
    background: #ffffff;
}

.footer_copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.footer_right {
    flex: 0 0 333px;
    width: 333px;
    height: 155px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.footer_tel {
    height: 31px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.footer_tel_first {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.footer_tel_second {
    flex: 0 0 188px;
    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
    text-align: right;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.footer_privacy {
    width: 314px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    opacity: 0.5;
}

.footer_privacy a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    text-align: right;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
}

.footer_privacy a:not(:last-child)::after {
    content: "·";
    margin-left: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 1500px) {
    .footer {
        height: auto;
        min-height: 339px;
    }

    .footer .container {
        width: min(100% - 48px, 900px);
        height: auto;
        min-height: 339px;
        justify-content: space-between;
        gap: 48px;
    }
}

@media screen and (min-width: 901px) and (max-width: 1100px) {
    .footer .container {
        width: min(calc(100% - 64px), 920px);
        padding: 42px 0;
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: center;
        justify-content: stretch;
        gap: 24px 36px;
    }

    .footer_logo_area {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: center;
    }

    .footer_info {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        height: auto;
        min-width: 0;
        flex: none;
        gap: 10px;
    }

    .footer_text_cont {
        width: 100%;
        min-width: 0;
        align-items: flex-start;
        font-size: 13px;
    }

    .footer_text_second {
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .footer_copyright {
        font-size: 12px;
        white-space: normal;
    }

    .footer_right {
        grid-column: 2;
        grid-row: 2;
        width: 100%;
        height: auto;
        min-width: 0;
        flex: none;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .footer_tel {
        height: auto;
        flex: 0 0 auto;
    }

    .footer_tel_first {
        font-size: 13px;
    }

    .footer_tel_second {
        flex-basis: auto;
        font-size: 21px;
    }

    .footer_privacy {
        width: auto;
        height: auto;
        min-width: 0;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .footer_privacy a {
        font-size: 12px;
        white-space: normal;
    }
}

@media screen and (max-width: 900px) {
    .footer {
        min-height: 0;
        border-radius: 32px 32px 0 0;
    }

    .footer .container {
        width: calc(100% - 48px);
        min-height: 0;
        padding: 32px 0 28px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 24px;
    }

    .footer_logo_area,
    img.footer_logo {
        width: 96px;
        height: 74px;
    }

    .footer_logo_area {
        flex-basis: 74px;
        justify-content: flex-start;
    }

    .footer_info {
        flex: none;
        width: 100%;
        height: auto;
        gap: 9px;
    }

    .footer_text_cont {
        width: 100%;
        font-size: 13px;
    }

    .footer_text_second {
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .footer_copyright {
        font-size: 12px;
        white-space: normal;
    }

    .footer_right {
        flex: none;
        width: 100%;
        height: auto;
        align-items: flex-start;
        gap: 18px;
    }

    .footer_tel {
        height: auto;
    }

    .footer_tel_first {
        font-size: 13px;
    }

    .footer_tel_second {
        flex: none;
        font-size: 21px;
        text-align: left;
    }

    .footer_privacy {
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .footer_privacy a {
        font-size: 12px;
        text-align: left;
        white-space: normal;
    }
}

@media screen and (max-width: 480px) {
    .footer .container {
        width: calc(100% - 36px);
        padding: 26px 0 24px;
        gap: 20px;
    }

    .footer_logo_area,
    img.footer_logo {
        width: 82px;
        height: 64px;
    }

    .footer_logo_area {
        flex-basis: 64px;
    }

    .footer_text_cont {
        align-items: flex-start;
        font-size: 12px;
    }

    .footer_text_second::before {
        margin: 0 8px;
    }

    .footer_tel_second {
        font-size: 19px;
    }
}
