/* 追従 */
.floating-btn {
    position: fixed;
    bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    z-index: 1000;
    pointer-events: none;
    width: 100%;
    padding: 0;
    background-color: rgb(0, 0, 0, 0.6);
    max-width: 100%;
}

.floating-btn img {
    animation: anime1 0.8s ease 0s infinite alternate;
    max-width: 450px;
    margin: auto;
    display: block;
    width: 100%;
    padding: 10px 0 0 0;
}

.floating-btn.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    width: 100%;
    margin: auto;
}

.floating-btn.hide {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none; /* 非表示時にクリック不可に */
}

@media screen and (max-width: 750px) {
    .floating-btn img {
        width: 90%;
    }
}

@keyframes anime1 {
    from {
        transform: scale(0.95, 0.95);
    }
    to {
        transform: scale(1, 1);
    }
}