/* ==========================================================================
   リペア実績ページ専用スタイル
   既存の style.min.css（色・フォント・グリッド）に準拠して拡張しています。
   ========================================================================== */

.repair-lead {
    margin-top: -3rem;
    margin-bottom: 5rem;
    color: #727171;
}

/* ---------- ① メーカー選択ボタン（2列×2段＋中央1列） ---------- */
.repair-brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 62rem;
    margin: 0 auto 7rem;
}

.repair-brands__btn {
    position: relative;
    width: calc(50% - 1rem);
    padding: 2.2rem 1rem;
    border: 0.2rem solid #005789;
    border-radius: 1rem;
    background: #fff;
    color: #005789;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    z-index: 0;
    transition: color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.repair-brands__btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(90deg, #005789 2%, #0c8ed9 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.repair-brands__btn:hover {
    color: #005789;
    box-shadow: 0 4px 12px rgba(0, 87, 137, 0.18);
}

.repair-brands__btn.is-active,
.repair-brands__btn:focus-visible {
    color: #fff;
    border-color: #005789;
    box-shadow: 0 4px 14px rgba(0, 87, 137, 0.28);
}

.repair-brands__btn.is-active::before {
    opacity: 1;
}

.repair-brands__btn--wide {
    width: 100%;
    max-width: 28.5rem;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .repair-brands {
        gap: 1.5rem;
        max-width: 50rem;
    }
    .repair-brands__btn {
        font-size: 2.6rem;
        padding: 2.6rem 1rem;
    }
}

/* ---------- ③④ メーカー別パネル（クリックで切替表示） ---------- */
.repair-panel {
    display: none;
}

.repair-panel.is-active {
    display: block;
    animation: repair-fade 0.4s ease;
}

@keyframes repair-fade {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.repair-empty {
    padding: 6rem 2rem;
    color: #727171;
    border: 0.1rem dashed #005789;
    border-radius: 1rem;
}

@media (max-width: 590px) {
    .repair-empty {
        font-size: 3rem !important;
    }
}
