footer {
    background-color: #0B318F;
}

/* 英語版の新しい footer-top メニュー用のスタイル */
.footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 24px 120px;
    background-color: white;
    border-top: 1px solid #0B318F;
}

.footer-top a {
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.8px;
    text-decoration: none;
    width: auto;
    color: #333;
    padding: 0 20px;
}

.footer-top a:nth-child(2) {
    position: relative;
    padding: 0 30px;
}

.footer-top a:nth-child(2)::before,
.footer-top a:nth-child(2)::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background-color: #333;
}

.footer-top a:nth-child(2)::before {
    left: 0;
}

.footer-top a:nth-child(2)::after {
    right: 0;
}

.footer-bottom {
    display: flex;
    padding: 40px 120px;
    align-items: flex-start;
    gap: 80px;
    border-top: 1px solid #0B318F;
    background: #FFF;
}

.footer-logo {
    display: flex;
    width: 280px;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    align-self: stretch;
}

.footer-info {
    display: flex;
    gap: 8px;
    align-self: stretch;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
}

.footer-zip {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    letter-spacing: 0.8px;
    white-space: pre-wrap;
}

.footer-tel {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    letter-spacing: 0.8px;
    white-space: pre-wrap;
}

.footer-sns {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.footer-facebook {
    display: flex;
    align-items: center;
    gap: 4px;
    align-self: stretch;
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 171.429% */
    letter-spacing: 0.7px;
    text-decoration: none;
}

.footer-info-box {
    display: flex;
    width: 290px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-info-link {
    color: #FFF;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    /* 150% */
    letter-spacing: 0.8px;
    align-self: stretch;
    text-decoration: none;
}



.footer-info-link img {
    vertical-align: middle;
    height: 24px;
    /* 明示的にサイズを合わせる */
}

.footer-copyright {
    display: flex;
    padding: 40px 0;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-top: 1px solid #FFF;
    background: #0B318F;
    color: #FFF;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    /* 150% */
    letter-spacing: 0.8px;
}

.footer-official-sns {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    letter-spacing: 0.8px;
}

.header-sp {
    display: none;
}

@media screen and (max-width: 1200px) {
    .footer-bottom {
        gap: 40px;
        padding: 40px 52px;
    }
}

@media screen and (max-width: 1024px) {
    footer {
        display: flex;
        flex-direction: column;
    }

    .footer-top {
        order: 2;
        padding: 40px 24px;
        flex-direction: column;
        gap: 24px;
    }

    .footer-top a {
        padding: 0;
    }

    .footer-top a:nth-child(2) {
        position: relative;
        display: block;
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .footer-top a:nth-child(2)::before,
    .footer-top a:nth-child(2)::after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #333;
        transform: none;
    }

    .footer-top a:nth-child(2)::before {
        top: -8px;
    }

    .footer-top a:nth-child(2)::after {
        top: 32px;
    }

    .footer-bottom {
        order: 4;
        display: flex;
        padding: 40px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        align-self: stretch;
        height: auto;
    }

    .footer-copyright {
        order: 5;
        display: flex;
        padding: 40px 0;
        justify-content: center;
        align-items: center;
        gap: 10px;
        align-self: stretch;
        color: #FFF;
        font-family: "Noto Sans JP";
        font-size: 10px;
        font-style: normal;
        font-weight: 500;
        line-height: 24px;
        letter-spacing: 0.5px;
    }
}

@media screen and (max-width: 425px) {
    .footer-info-link {
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: 24px;
        /* 200% */
        letter-spacing: 0.6px;
    }

    .footer-zip {
        font-size: 14px;
    }

    .footer-tel {
        font-size: 14px;
    }

    .footer-official-sns {
        font-size: 14px;
    }
}

@media print {
    .footer-bottom {
        padding: 40px 0;
    }

    footer {
        margin-top: 600px;
    }
}