@charset "utf-8";

/* ================================================
   フローティングボタン（予約・FAQ・TOPスクロール）
   ================================================ */

/* フローティングボタンコンテナ */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* TOPへスクロールボタン */
.floating-top-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    color: #969696;
    border: 2px solid #969696;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(150, 150, 150, 0.4);
    background: rgba(255, 255, 255, 0.9);
}

.floating-top-btn i {
    font-size: 18px;
    margin-bottom: 2px;
}

.floating-top-btn span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 予約とFAQボタンのコンテナ */
.floating-action-buttons {
    display: flex;
    gap: 8px;
}

/* 共通のボタンスタイル */
.floating-btn {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    color: white;
}

.floating-btn:hover {
    text-decoration: none;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.floating-btn i {
    font-size: 24px;
    margin-bottom: 4px;
}

.floating-btn span {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* ネット予約ボタン */
.floating-reservation {
    background: #e65d74;
}

.floating-reservation:hover {
    color: white;
    box-shadow: 0 6px 20px rgba(230, 93, 116, 0.5);
}

/* よくある質問ボタン */
.floating-faq {
    background: #669ef1;
}

.floating-faq:hover {
    color: white;
    box-shadow: 0 6px 20px rgba(102, 158, 241, 0.5);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .floating-buttons {
        right: 15px;
        bottom: 15px;
        gap: 8px;
    }

    .floating-top-btn {
        width: 50px;
        height: 50px;
    }

    .floating-top-btn i {
        font-size: 16px;
    }

    .floating-top-btn span {
        font-size: 9px;
    }

    .floating-action-buttons {
        gap: 6px;
    }

    .floating-btn {
        width: 60px;
        height: 60px;
    }

    .floating-btn i {
        font-size: 20px;
    }

    .floating-btn span {
        font-size: 10px;
    }
}

@media screen and (max-width: 480px) {
    .floating-buttons {
        right: 10px;
        bottom: 10px;
    }

    .floating-top-btn {
        width: 45px;
        height: 45px;
    }

    .floating-top-btn i {
        font-size: 14px;
    }

    .floating-top-btn span {
        font-size: 8px;
    }

    .floating-btn {
        width: 55px;
        height: 55px;
    }

    .floating-btn i {
        font-size: 18px;
        margin-bottom: 2px;
    }

    .floating-btn span {
        font-size: 9px;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-buttons > * {
    animation: fadeInUp 0.5s ease;
}
