/* ==========================================================================
   業種別企業ロゴスライダー（CSS-only marquee）
   ========================================================================== */

.industry-slider {
    width: 100%;
    overflow: hidden;
}

.industry-slider__track {
    display: flex;
    width: max-content;
    animation: industry-slider-scroll var(--scroll-duration, 20s) linear infinite;
}

.industry-slider__item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.industry-slider__industry {
    margin: 0 0 8px;
    color: #333;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.industry-slider__logo {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* 1セット分（=トラック全体の 1/コピー数）だけスクロールしてループ */
@keyframes industry-slider-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(calc(-100% / var(--copy-count, 2)), 0, 0); }
}

/* ---------- Mobile (~ 1023px) ---------- */
@media screen and (max-width: 1023px) {
    .industry-slider__item {
        width: 130px;
        margin: 0 5px;
        min-height: 110px;
    }
    .industry-slider__industry {
        font-size: 0.7rem;
    }
    .industry-slider__logo {
        max-height: 60px;
    }
}

/* ---------- Desktop (1024px ~) ---------- */
@media screen and (min-width: 1024px) {
    .industry-slider__item {
        width: 210px;
        margin: 0 5px;
        min-height: 180px;
    }
    .industry-slider__industry {
        margin-bottom: 12px;
        font-size: 0.9rem;
    }
    .industry-slider__logo {
        max-height: 100px;
    }
}