/* Footer Styles */
footer {
    background: linear-gradient(135deg, #d9fce2 0%, #d5f3f2 100%);
    color: #2d5016;
    padding: 50px 5% 20px;
    font-family: 'Arial', sans-serif;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(217, 252, 226, 0.9), rgba(213, 243, 242, 0.9));
    backdrop-filter: blur(10px);
    z-index: 1;
}

footer > * {
    position: relative;
    z-index: 2;
}

.footer__container {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.footer__branding {
    display: flex;
    align-items: center;
    gap: 22px;
    transition: transform 0.3s ease;
}

.footer__branding:hover {
    transform: scale(1.05);
}

.footer__logo {
    width: 65px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer__logo:hover {
    transform: scale(1.1);
}

.footer__title {
    font-size: 1.6rem;
    margin: 0;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.footer__title:hover {
    transform: scale(1.05);
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.footer__nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    font-family: 'Montserrat', sans-serif; /* おしゃれな細い英文フォントを適用 */
}

.footer__link {
    color: #2d5016;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 600;
}

.footer__link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(45deg, #4a7c59, #2a9d8f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer__link:hover::after {
    transform: scaleX(1);
}

.footer__info {
    text-align: center;
}

.footer__address {
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.footer__social {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social__link img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
}

.social__link:hover img {
    transform: scale(1.2);
}

.footer__bottom {
    margin-top: 45px;
    padding-top: 22px;
    border-top: 1px solid rgba(45, 80, 22, 0.2);
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif; /* おしゃれな細い英文フォントを適用 */
    color: #2d5016;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.footer__branding, .footer__nav, .footer__info {
    animation: fadeIn 0.8s ease-out forwards;
}

.footer__nav { animation-delay: 0.2s; }
.footer__info { animation-delay: 0.4s; }

@media (max-width: 768px) {
    .footer__branding {
        flex-direction: column;
        text-align: center;
    }

    .footer__nav ul {
        flex-direction: column;
        align-items: center;
    }

    .footer__title {
        font-size: 1.5rem;
    }

    .footer__link {
        font-size: 1rem;
    }
}

.footer__contact-info {
    text-align: center;
    margin-top: 2rem;
}

.footer__line-guide {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #2d5016;
}

.footer__line-button {
    display: inline-block;
    background-color: #00B900;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.footer__line-button:hover {
    opacity: 0.8;
}