/* --- フッターのレイアウト --- */
.site-footer {
    padding: 40px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.site-footer p {
    color: #666;
    font-size: 0.9rem;
    margin-top: 30px;
    text-align: center;
}

/* サイトマップ */
.footer-sitemap { margin: 20px 0; }
.sitemap-title {
    color: var(--main-color);
    margin-bottom: 15px;
    padding-bottom: 5px;
}
.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sitemap-list li { margin-bottom: 10px; }
.sitemap-list li a {
    color: #555;
    font-size: 0.9rem;
    text-decoration: none;
    display: block;
}
.sitemap-list li a:hover { color: var(--accent-color); }

/* TOPへ戻るボタン */
#to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    padding: 10px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.3s;
}
#to-top img { width: 60px; height: auto; margin-bottom: 5px; }
#to-top span { font-size: 0.7rem; color: #333; font-weight: bold; }

/* アニメーションの定義 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* ボタンにアニメーションを適用 */
#to-top {
    animation: bounce 2s infinite;
}

/* ホバーした時はアニメーションを止めて少し大きくする（お好みで） */
#to-top:hover {
    animation: none;
    transform: scale(1.1);
}