@charset "UTF-8";
/* シンプルスライダー */
.slider-wrapper { 
    overflow: hidden; 
    position: relative; 
    margin: 0 auto;
    max-width: 1000px;
}
.slider-track { 
    display: flex; 
    animation: scroll 20s linear infinite;
    width: fit-content;
}
.slider-track:hover { 
    animation-play-state: paused; 
}
.slider-card { 
    flex: 0 0 300px;
    margin: 0 15px;
    background:#fff; 
    border-radius:10px; 
    box-shadow:0 2px 6px rgba(0,0,0,0.15); 
    cursor:pointer; 
    transition: transform 0.3s;
    overflow: hidden;
}
.slider-card:hover { 
    transform: translateY(-10px) scale(1.05); 
}
.slider-card img { 
    width:100%; 
    height:200px; 
    object-fit:cover; 
    display: block;
}
.slider-card .title { 
    font-weight:bold; 
    font-size:1.1em; 
    padding:15px;
    text-align: center;
}

/* アニメーション */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 5 - 150px)); }
}
.slider-track {
    display: flex;
    animation: scroll 20s linear infinite;
}
/* レスポンシブ */
@media (max-width: 768px) {
    .slider-card { flex: 0 0 250px; }
    @keyframes scroll {
        100% { transform: translateX(calc(-250px * 5 - 150px)); }
    }
}