/* フッタースタイル - 動的表示を廃止 */
footer {
    background-color: #ffffff;
    color: #000000;
    padding: 50px 20px 20px;
    position: relative;
    z-index: 970;
    /* 動的表示を廃止 - 常に表示 */
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

footer .logo {
    color: #2c5530;
    font-size: 1.8rem;
}

.logo-top {
    display: flex;
    margin-bottom: 20px;
}

.sns {
    margin-top: 5px;
    display: flex;
    gap: 15px;
    
}

.sns-logo img {
    width: 40px;
    height: 40px;
    margin-left: 30px;
    transition: transform 0.3s ease;
}

.sns-logo:hover img {
    transform: scale(1.05);
}

.footer-link1, .footer-link2, .footer-link3, .footer-link4 {
    margin-bottom: 30px;
}

.footer-link1 h1, .footer-link2 h1, .footer-link3 h1, .footer-link4 h1 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #000000;
}

.footer-link1 li, .footer-link2 li, .footer-link3 li, .footer-link4 li {
    list-style: none;
    margin-bottom: 8px;
}

.footer-link1 a, .footer-link2 a, .footer-link3 a, .footer-link4 a {
    color: #5D6C72;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 2px 0;
}

.footer-link1 a:hover, .footer-link2 a:hover, .footer-link3 a:hover, .footer-link4 a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* 言語選択 */
.language-selector {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #5d6c72;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.language-selector option {
    background-color: #2c5530;
    color: white;
}


/* コピーライトリンク */
.copyright-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.copyright-link:hover {
    opacity: 0.8;
}

.copyright h1 {
    font-size: 0.9rem;
    color: #5D6C72;
    margin: 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    footer {
        padding: 30px 15px 15px;
    }
    
    .main-footer {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .language-selector {
        margin-bottom: 10px;
        left: 10px;
    }
}

@media (min-width: 768px) {
    .main-footer {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}