/* フッター全体 */
.footer {
    padding: 60px 0 40px;
    background-color: #fff;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center; /* 中身を真ん中寄せにする */
    align-items: center; /* 中身のパーツを中央に寄せる */
}

/* 左側：ロゴ・情報 */
.footer-logo img {
    max-width: 200px;
    margin-bottom: 10px;
}

.footer-info {
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 15px;
}

.footer-info p {
    margin: 0;
}

.footer-info p + p {
    margin-top: 4px;
}

.footer-sns {
    display: flex;
    gap: 20px;
}

.footer-sns a {
    font-size: 20px;
    transition: opacity 0.3s;
}

.footer-sns a:hover {
    opacity: 0.7;
}

.copyright {
    font-size: 13px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-left {
        margin-bottom: 40px;
    }

    .footer-sns {
        justify-content: center;
    }
}


/* TOPへボタン */
.footer-right {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;

    /* 初期は非表示 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* 表示状態（JSで付与） */
.footer-right.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ボタン自体 */
.top-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.top-btn:hover {
    transform: translateY(-5px);
}

/* バルーン */
.top-balloon {
    background: var(--main-green);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
    white-space: nowrap;
}

.top-illust {
    width: 50px;
    height: auto;
}

/* スマホ */
@media (max-width: 768px) {
    .footer-right {
        bottom: 20px;
        right: 20px;
    }

    .top-balloon {
        font-size: 11px;
    }

    .top-illust {
        width: 35px;
    }
}