/* Footer Styles */
.footer {
    display: flex;
    padding: clamp(40px, 6vw + 20px, 80px) clamp(20px, 6vw + 10px, 90px);
    flex-direction: column;
    align-items: center;
    gap: clamp(24px, 2vw + 16px, 70px);
    align-self: stretch;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

/* ロゴリンクのスタイル */
.footer-logo-link {
    display: flex;
    align-items: center;
}

.footer-logo {
    display: flex;
    width: clamp(70px, 8vw + 40px, 84px);
    height: clamp(30px, 4vw + 20px, 36px);
    padding: 0px clamp(6px, 1vw, 7.333px) 0px clamp(5px, 1vw, 6.667px);
    justify-content: center;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: clamp(20px, 2vw + 10px, 30px);
    justify-content: center;
    flex-grow: 1;
}

.footer-nav a {
    display: block;
    text-decoration: none;
    color: #142238;
    font-family: "Noto Sans JP";
    font-size: clamp(14px, 1vw + 12px, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.social-icons {
    display: flex;
    gap: clamp(12px, 1vw + 10px, 15px);
    justify-content: flex-end;
}

.social-icons a {
    text-decoration: none;
    color: #142238;
}

.footer-bottom-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(24px, 2vw + 16px, 30px);
    align-self: stretch;
}

.horizontal-line {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    max-width: 1200px;
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* width: 100%; */
    max-width: 1200px;
}

.footer-bottom a {
    color: #142238;
    text-decoration: none;
    font-family: "Noto Sans JP";
    font-size: clamp(14px, 1vw + 12px, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.footer-links {
    display: flex;
    gap: clamp(20px, 2vw + 16px, 24px);
    justify-content: flex-start;
}

.copyright {
    color: #142238;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 1vw + 12px, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 48px;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-links {
        order: 1;
        width: 100%;
        flex-direction: column;
        /* 縦並びに変更 */
        align-items: center;
        /* 中央揃え */
        gap: 24px;
        /* リンク間のスペース */
    }

    .copyright {
        order: 2;
        width: 100%;
        text-align: center;
    }
}