footer {
    position: relative;
    background-image: url("../img/footer-back-01.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    margin-top: -230px;
}

footer::before {
    content: "";
    display: block;
    background-image: url("../img/footer-bebiru-heart.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    width: clamp(110px, 10%, 350px);
    aspect-ratio: 1185 / 1219;
    height: auto;
    pointer-events: none;

    position: absolute;
    left: 0;
    top: 0;
    transform: translate(90%, -70%);
}

footer::after {
    content: "";
    display: block;
    background-image: url("../img/footer-bebiru-dollar.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    width: clamp(110px, 10%, 350px);
    aspect-ratio: 164 / 169;
    height: auto;
    pointer-events: none;

    position: absolute;
    right: 0;
    top: 0;
    transform: translate(-140%, -20%);
}

.footer-nav-container {
    display: flex;
    justify-content: flex-start;
    row-gap: 5%;
    align-items: center;
    padding: 40px 0 40px 20%;
    position: relative;
    width: 100%;
}

.footer-nav-container div {
    width: 20%;
}
.footer-nav-container ul {
    display: flex !important;
    /* justify-content: center; */
    column-gap: 10%;
    margin-left: 40px;
    width: 100%;
}

.footer-logo-link{
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.footer-text-container {
    padding: 30px 0;
    width: min(90%, 1200px);
    margin: 0 auto;
}

.footer-text-container p:first-child {
    font-size: 26px;
    font-weight: 700;
    color: #FFF054;
}

.footer-text-container p {
    color: #fff;
    text-align: center;
}

/* ---------table--------- */
table {
    border-collapse: collapse;
    width: min(90%, 1200px);
    margin: 0 auto;
}

table tbody tr:first-child td{
    background-color: #FFB1D6;
    color: #DB2473;
    font-weight: 700;
    padding: 4px 5px;
}

table tbody tr:last-child td {
    background-color: #fff;
    color: #3A3A3A;
    font-weight: 600;
    padding: 6px 10px;
}

table tbody tr td {
    text-align: center;
}

table tbody tr td:not(:last-child) {
    border-right: 1px solid #DB2473;
}

table tbody tr td {
    width: 245px;
}

table tbody tr:first-child td:nth-child(2), td:nth-child(3), td:nth-child(4){
    width: 200px !important;
}

table tbody tr:last-child td:nth-child(2), td:nth-child(3), td:nth-child(4){
    width: 200px !important;
}

.copyright {
    padding: 20px 0;
    background-color: #DD2B78;
}

.copyright p{
    text-align: center;
    color: #fff;
}

.xl3-only {
    display: block;
}

@media (max-width: 1536px) {
    .footer-nav-container div {
        width: 30%;
    }
    .footer-table tbody tr td {
        font-size: 0.9rem;
    }
    .xl3-only {
        display: none;
    }
}

@media (max-width: 1280px) {
    .footer-nav-container {
        padding: 40px 0 40px 14%;
    }
    .footer-nav-container div {
        width: 35%;
    }
    .footer-nav-container ul {
        font-size: 0.9rem;
        column-gap: 5%;
    }
    .footer-table tbody tr td {
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .footer-nav-container {
        padding: 40px 0 40px 10%;
    }
    .footer-nav-container div {
        width: 40%;
    }
    .footer-nav-container ul {
        font-size: 0.8rem;
    }
    .footer-table tbody tr td {
        font-size: 0.8rem;
    }
}

@media (max-width: 960px) {
    footer {
        background-image: url("../img/footer-back-01-sp.webp");
        margin-top: -220px;
    }
    footer::before {
        content: "";
        display: block;
        background-image: url("../img/footer-img-01-sp.webp");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
        width: clamp(120px, 25%, 150px);
        aspect-ratio: 618 / 638;
        height: auto;

        position: absolute;
        left: 0;
        top: 0;
        transform: translateY(-60%);
    }
    footer::after {
        display: none;
    }
    .footer-nav-container {
        flex-direction: column;
        align-items: flex-start;
        width: min(90%, 1200px);
        margin: 0 auto;
        padding: 0;
        padding-top: 60px;
    }
    .footer-nav-container ul {
        display: flex !important;
        /* justify-content: center; */
        margin: 30px 0 0 0;
        width: 100%;
        flex-direction: column;
        font-size: 16px;
    }
    .footer-text-container p:first-child {
        font-size: 18px;
        font-weight: 500;
    }
    table {
        display: block;
        width: min(90%, 1200px);
    }
    table tbody {
        display: flex;
        flex-direction: column;
    }
    table tbody tr {
        display: contents;
    }
    table tbody tr:first-child td:nth-child(2), td:nth-child(3), td:nth-child(4){
        width: 100% !important;
    }

    table tbody tr:last-child td:nth-child(2), td:nth-child(3), td:nth-child(4){
        width: 100% !important;
    }
    table tbody tr td {
        display: block;
        width: 100% !important;
        padding: 12px 16px;
    }
    table tbody tr td:not(:last-child) {
        border-right: none;
    }
    table tbody tr:first-child td:nth-child(1) { order: 0; }
    table tbody tr:last-child  td:nth-child(1) { order: 1; }
    table tbody tr:first-child td:nth-child(2) { order: 2; }
    table tbody tr:last-child  td:nth-child(2) { order: 3; }
    table tbody tr:first-child td:nth-child(3) { order: 4; }
    table tbody tr:last-child  td:nth-child(3) { order: 5; }
    table tbody tr:first-child td:nth-child(4) { order: 6; }
    table tbody tr:last-child  td:nth-child(4) { order: 7; }
    table tbody tr:first-child td:nth-child(5) { order: 8; }
    table tbody tr:last-child  td:nth-child(5) { order: 9; }
}

@media (max-width: 768px) {
}

@media (max-width: 640px) {
    .footer-nav-container div {
        width: 70%;
    }
    .footer-text-container p:first-child {
        font-size: 17px;
    }
    .footer-text-container p {
        font-weight: 300;
        font-size: 13px;
    }
    .copyright p{
        font-size: 14px;
    }
}