/* 桜を表示するコンテナのスタイル */
.cherry-blossom-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: 9999;
    pointer-events: none;
}

/* 桜の花びらのスタイル */
.petal {
    position: absolute;
    background-color: #ffc0cb;
    border-radius: 150% 0 150% 0;
    pointer-events: none;
}

.petal::after {
    content: "";
    position: absolute;
    top: -14%;
    left: -10%;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #ffc0cb;
    border-radius: 150% 0 150% 0;
    transform: rotate(15deg);
}

/* @keyframes は不要になったので削除 */

/* 花びらが降るアニメーション */
/* @keyframes animate-petal {
    0% {
        top: 0;
        opacity: 0;
        transform: rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: 100vh;
        transform: rotate(3000deg);
    }
} */

/* @keyframes animate-petal {
    0% {
        top: -20px;
        opacity: 0;
        transform: translateX(0) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    30% {
        transform: translateX(var(--sway-mid)) rotate(120deg);
    }
    60% {
        transform: translateX(var(--sway-x)) rotate(600deg);
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100vh;
        opacity: 0;
        transform: translateX(calc(var(--sway-x) * -0.5)) rotate(1080deg);
    }
} */

/* @keyframes animate-petal {
    0% {
        top: -20px;
        opacity: 0;
        margin-left: 0px;
        transform: rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    30% {
        margin-left: var(--sway-mid);
        transform: rotate(120deg);
    }
    60% {
        margin-left: var(--sway-x);
        transform: rotate(600deg);
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100vh;
        opacity: 0;
        margin-left: calc(var(--sway-x) * -0.5);
        transform: rotate(1080deg);
    }
} */