/* スクロール連動シーケンスアニメーション */
.scroll-sequence-section {
    height: 300vh; /* スクロール範囲を拡張してゆっくりにする */
    position: relative;
    padding: 0;
}

.scroll-sequence-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -20vh;
    margin-bottom: -20vh;
}

.scroll-sequence-image-wrapper {
    position: relative;
    text-align: center;
}

#scroll-sequence-image {
    width: 50vw;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* スムーズなイージング */
}

.frame-info {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Roboto', sans-serif;
    font-weight: 100; /* Thin weight */
    font-size: 0.8rem;
    padding: 10px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    letter-spacing: 1px;
    color: #666;
}

#frame-number {
    font-family: 'Roboto', sans-serif;
    font-weight: 300; /* Light weight for emphasis */
    color: #333;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #scroll-sequence-image {
        width: 85vw;
    }
    
    .frame-info {
        font-size: 1rem;
        padding: 8px 16px;
        bottom: -35px;
    }
}

@media (max-width: 480px) {
    #scroll-sequence-image {
        width: 95vw;
    }
    
    .frame-info {
        font-size: 0.9rem;
        padding: 6px 12px;
        bottom: -30px;
    }
}
