.footer-menu-section {
    background: #fff;
    padding: 60px 40px 70px;
    border-top: 1px solid #e0dbd5;
}

.footer-menu-section .footer-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
}

.footer-menu-section .fm-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.footer-menu-section .fm-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px;
}

.footer-menu-section .fm-link-title a {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-menu-section .fm-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-menu-section .fm-list li {
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    color: #333;
}

.footer-menu-section .fm-list li::before {
    content: "・";
    flex-shrink: 0;
    color: #555;
}

.footer-menu-section .fm-list li a {
    color: #333;
    text-decoration: none;
    line-height: 1.5;
}

.footer-menu-section .fm-list li a:hover,
.footer-menu-section .fm-link-title a:hover {
    color: #2a7fc0;
    text-decoration: underline;
}

.invoice-registration {
    margin: 5px 10px;
    color: #777;
    font-size: 12px;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .footer-menu-section {
        padding: 0;
    }

    .footer-menu-section .footer-menu-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-menu-section .fm-col {
        gap: 0;
    }

    .footer-menu-section .fm-group {
        border-bottom: 1px solid #e8e4df;
    }

    .footer-menu-section .fm-title {
        display: block;
        padding: 14px 16px;
        margin: 0;
        cursor: default;
    }

    .footer-menu-section .fm-title::after {
        content: none;
    }

    .footer-menu-section .fm-link-title a {
        pointer-events: auto;
        text-decoration: underline;
    }

    .footer-menu-section .fm-list {
        max-height: none !important;
        overflow: visible;
        padding: 0 16px 12px;
        gap: 0;
    }

    .footer-menu-section .fm-list li {
        border-top: 1px solid #f0ece8;
    }

    .footer-menu-section .fm-list li::before {
        content: none;
    }

    .footer-menu-section .fm-list li a {
        display: block;
        width: 100%;
        padding: 12px 4px;
        font-size: 0.88rem;
    }
}
