/* Footer Styles - Public bottom style */

.site-footer {
    width: 100% !important;
    max-width: 100% !important;
    background-color: rgba(209, 209, 209, 1) !important;
    padding: 60px 0 50px 0 !important;
}

.footer-container {
    width: 100% !important;
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    position: relative !important;
}

/* Footer content area - Use Flexbox layout */
.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Left content area (Logo and contact information) */
.footer-left {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Logo */
.footer-logo {
    margin-bottom: 0;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

/* Contact information */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    line-height: 30px;
    font-size: 16px;
}


.footer-contact-value {
    color: #333;
    text-decoration: none;
    line-height: 1.6;
    transition: opacity 0.3s ease;
}

.footer-contact-value:hover {
    opacity: 0.6;
}

/* Right content area (Navigation and social media) */
.footer-right {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 35px;
    min-width: 300px;
}

/* Navigation links at the top right, horizontal alignment */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: flex-end;
}

.footer-nav-link {
    color: rgba(51, 51, 51, 1);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Source Han Sans JP', sans-serif;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.footer-nav-link:hover {
    opacity: 0.6;
}

/* Social media icons below navigation, right alignment */
.footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

.footer-social-link {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(51, 51, 51, 1);
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    transform: translateY(-2px);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Copyright - Bottom center, independent line */
.footer-copyright {
    text-align: center;
    padding-top: 30px;
    width: 100%;
    margin-top: 0;
}

.footer-copyright p {
    margin: 0;
    /* Footer Styles - Public bottom style */

    .site-footer {
        width: 100% !important;
        max-width: 100% !important;
        background-color: rgba(209, 209, 209, 1) !important;
        padding: 60px 0 50px 0 !important;
    }

    .footer-container {
        width: 100% !important;
        max-width: 1250px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
        position: relative !important;
    }

    /* Footer content area - Use Flexbox layout */
    .footer-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 40px;
        margin-bottom: 40px;
        flex-wrap: wrap;
    }

    /* Left content area (Logo and contact information) */
    .footer-left {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    /* Logo */
    .footer-logo {
        margin-bottom: 0;
    }

    .footer-logo-img {
        height: 32px;
        width: auto;
        display: block;
    }

    /* Contact information */
    .footer-contact-info {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .footer-contact-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        line-height: 30px;
        font-size: 16px;
    }


    .footer-contact-value {
        color: #333;
        text-decoration: none;
        line-height: 1.6;
        transition: opacity 0.3s ease;
    }

    .footer-contact-value:hover {
        opacity: 0.6;
    }

    /* Right content area (Navigation and social media) */
    .footer-right {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 35px;
        min-width: 300px;
    }

    /* Navigation links at the top right, horizontal alignment */
    .footer-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        align-items: center;
        justify-content: flex-end;
    }

    .footer-nav-link {
        color: rgba(51, 51, 51, 1);
        text-decoration: none;
        font-size: 16px;
        font-weight: 400;
        font-family: 'Source Han Sans JP', sans-serif;
        transition: opacity 0.3s ease;
        white-space: nowrap;
    }

    .footer-nav-link:hover {
        opacity: 0.6;
    }

    /* Social media icons below navigation, right alignment */
    .footer-social {
        display: flex;
        gap: 12px;
        align-items: center;
        justify-content: flex-end;
    }

    .footer-social-link {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(51, 51, 51, 1);
        transition: all 0.3s ease;
    }

    .footer-social-link:hover {
        transform: translateY(-2px);
    }

    .footer-social-link svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

    /* Copyright - Bottom center, independent line */
    .footer-copyright {
        text-align: center;
        padding-top: 30px;
        width: 100%;
        margin-top: 0;
    }

    .footer-copyright p {
        margin: 0;
        color: rgba(0, 0, 0, 1);
        font-size: 16px;
        font-family: 'Source Han Sans JP', sans-serif;
        line-height: 1.6;
    }

    /* Responsive Design */
    @media screen and (max-width: 1024px) {
        .site-footer {
            padding: 50px 0 25px;
            margin-top: 60px;
        }

        .footer-content {
            gap: 30px;
            margin-bottom: 30px;
        }

        .footer-nav {
            gap: 20px;
        }
    }

    @media screen and (max-width: 768px) {
        .site-footer {
            padding: 40px 0 20px;
            margin-top: 40px;
        }

        .footer-content {
            flex-direction: column;
            align-items: center;
            /* Center align for mobile */
            gap: 35px;
            margin-bottom: 30px;
        }

        .footer-left {
            width: 100%;
            align-items: center;
            /* Center align */
            text-align: center;
        }

        .footer-contact-info {
            gap: 12px;
            align-items: center;
            /* Center align */
        }

        .footer-contact-item {
            gap: 8px;
            justify-content: center;
        }

        .footer-contact-label,
        .footer-contact-value {
            font-size: 14px;
        }

        .footer-right {
            width: 100%;
            align-items: center;
            /* Center align */
            gap: 25px;
            min-width: auto;
        }

        .footer-nav {
            flex-direction: column;
            /* Stack links vertically */
            flex-wrap: nowrap;
            align-items: center;
            justify-content: center;
            gap: 15px;
            width: 100%;
        }

        .footer-nav-link {
            font-size: 15px;
        }

        .footer-social {
            justify-content: center;
            gap: 15px;
        }

        .footer-social-link {
            width: 36px;
            height: 36px;
        }

        .footer-social-link svg {
            width: 18px;
            height: 18px;
        }

        .footer-copyright {
            padding-top: 20px;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }
    }

    @media screen and (max-width: 480px) {
        .footer-container {
            padding: 0 20px;
        }

        .footer-logo-img {
            height: 26px;
        }

        .footer-left {
            gap: 20px;
        }

        .footer-contact-info {
            gap: 10px;
        }

        .footer-contact-label,
        .footer-contact-value {
            font-size: 13px;
        }

        .footer-nav-link {
            font-size: 14px;
        }

        .footer-copyright p {
            font-size: 12px;
            padding: 0 10px;
        }
    }
}