/* =========================================================
   速報ニュースティッカー
   フルワイド帯 — 左右フェード + 真ん中ハイライト
   ========================================================= */

.aind-ticker {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
    height: 38px;
    display: flex;
    align-items: center;
    position: relative;
}

/* ヘッダーとのスペースを詰めて、下にスペースを追加 */
.aind-fv-bottom-area .aind-fv-widget:first-child .aind-ticker {
    margin-top: -32px;
}

/* ── ラベル ── */
.aind-ticker__label {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 14px;
    height: 100%;
    border-right: 1px solid #e5e7eb;
    z-index: 2;
    background: #fff;
    font-size: 10px;
    font-weight: 700;
    color: #1d3e91;
    letter-spacing: 0.06em;
}

.aind-ticker__icon {
    width: 12px;
    height: 12px;
    color: #1d3e91;
}

/* ── トラック ── */
.aind-ticker__track {
    flex: 1;
    overflow: hidden;
    height: 100%;
    position: relative;
}

/* ── 左右フェードマスク ── */
.aind-ticker__fade {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.aind-ticker__fade--l {
    left: 0;
    width: 80px;
    background: linear-gradient(90deg, #fff 10%, rgba(255, 255, 255, 0) 100%);
}

.aind-ticker__fade--r {
    right: 0;
    width: 100px;
    background: linear-gradient(270deg, #fff 10%, rgba(255, 255, 255, 0) 100%);
}

/* ── リスト（横スクロール） ── */
.aind-ticker__list {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    animation: aind-ticker-scroll 45s linear infinite;
}

@keyframes aind-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── アイテム ── */
.aind-ticker__item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 20px;
    white-space: nowrap;
    text-decoration: none;
    color: #1a1a2e;
    font-size: 12px;
    font-weight: 500;
    height: 100%;
    line-height: 1;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}

.aind-ticker__item > * {
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.aind-ticker__item:hover {
    color: #2563eb;
}

/* JSでセンター付近にいるアイテムに付与 */
.aind-ticker__item.is-highlight {
    opacity: 1 !important;
    font-weight: 700;
    font-size: 12.5px;
    color: #0f172a;
}

/* ── NEWバッジ ── */
.aind-ticker__new {
    font-size: 9px;
    font-weight: 800;
    color: #dc2626;
    letter-spacing: 0.04em;
}

/* ── 日付 ── */
.aind-ticker__date {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ── タイトル ── */
.aind-ticker__title {
    transition: color 0.15s;
}

/* ── 区切り ── */
.aind-ticker__sep {
    color: #cbd5e1;
    font-size: 11px;
    flex-shrink: 0;
    padding: 0 4px;
    opacity: 0.4;
    transition: opacity 0.4s;
}

/* ── もっと見る ── */
.aind-ticker__more {
    flex-shrink: 0;
    padding: 0 14px;
    font-size: 10px;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    border-left: 1px solid #e5e7eb;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    background: #fff;
    transition: color 0.15s;
}

.aind-ticker__more:hover {
    color: #2563eb;
}

/* ── レスポンシブ ── */
@media (max-width: 768px) {
    .aind-ticker__label span {
        display: none;
    }
    .aind-ticker__fade--l {
        width: 40px;
    }
    .aind-ticker__fade--r {
        width: 50px;
    }
    .aind-ticker__more {
        display: none;
    }
}
