/* ========================================
   MV 記事表示（障害情報・お知らせ共通）
   ======================================== */

.mv-maintenance {
    position: relative;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 16px * 2);
    max-width: 1200px;
    background: #fff;
    overflow: hidden;
    z-index: 1;
}

.mv-maintenance--item {
    display: none;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    height: var(--mv-display-height);
    padding: 0 20px;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
    box-sizing: border-box;
}

.mv-maintenance--item.is-active {
    display: flex;
    animation: mv-maintenance-fadein 0.4s ease;
}

@keyframes mv-maintenance-fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* 中・低（デフォルト）: 白背景・赤ボーダー・赤文字 */
.mv-maintenance--badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 24px;
    font-size: 12px;
    font-weight: 500;
    color: #e05252;
    background: #fff;
    border: 1px solid #e05252;
    white-space: nowrap;
    box-sizing: border-box;
}

/* 高: アイテム全体に赤ボーダー、バッジは赤背景・白文字 */
.mv-maintenance--item[data-priority="high"] {
    box-shadow: inset 0 0 0 2px #e05252;
}

.mv-maintenance--item[data-priority="high"] .mv-maintenance--badge {
    background: #e05252;
    color: #fff;
    border: none;
}

.mv-maintenance--date {
    flex-shrink: 0;
    font-size: 13px;
    color: #e05252;
    font-weight: bold;
    white-space: nowrap;
}

.mv-maintenance--title {
    flex: 1;
    font-size: 13px;
    color: #333;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.mv-maintenance--arrow {
    flex-shrink: 0;
    font-size: 16px;
    color: #999;
    line-height: 1;
}

.mv-maintenance--item:hover .mv-maintenance--title {
    text-decoration: none;
}

/* ========================================
   Responsive - SP非表示
   ======================================== */
@media (max-width: 767px) {
    .mv-maintenance {
        visibility: hidden;
    }
}
