/* 新しいアニメーション効果のためのCSS */
/* アニメーションキーフレーム */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    70% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* アニメーションをそれぞれの要素に適用 */
.share-card {
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
}

.share-card:nth-child(1) {
    animation-delay: 0.2s;
}

.share-card:nth-child(2) {
    animation-delay: 0.4s;
}

.share-card:nth-child(3) {
    animation-delay: 0.6s;
}

.share-card:nth-child(4) {
    animation-delay: 0.8s;
}

.section-intro {
    animation: slideIn 0.5s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.settlement-table {
    animation: fadeFromLeft 0.6s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.instruction-item {
    animation: slideIn 0.5s forwards;
    opacity: 0;
}

.instruction-item:nth-child(odd) {
    animation-delay: 0.3s;
}

.instruction-item:nth-child(even) {
    animation-delay: 0.5s;
}

.settlement-instructions-container {
    animation: fadeFromRight 0.7s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.total-amount-display {
    animation: popIn 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.6s;
    opacity: 0;
}
