/* ===== 共通アニメーション ===== */

/* フェードインアップ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* 浮遊アニメーション */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* 輝き（シャイン）効果 */
@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

/* パルス効果 */
@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 70, 84, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 70, 84, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 70, 84, 0);
    }
}

.pulse-red {
    animation: pulse-red 2s infinite;
}

/* スクロール出現用 */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 背景の動くライン */
@keyframes move-lines {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

.moving-grid {
    animation: move-lines 10s linear infinite;
}
