/* ==========================================================================
   SMA-RESCUE Repair Prices Custom Styles & Responsive Rules
   ========================================================================== */

/* 1. 料金表はこちら 統一ボタン */
.viewmore-pricing-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4B85DC, #3568b2);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 18px;
    padding: 16px 50px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(75, 133, 220, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
}

.viewmore-pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 133, 220, 0.4);
    opacity: 0.95;
    text-decoration: none;
}

.viewmore-pricing-btn:active {
    transform: translateY(0);
}

/* 2. ブランド・メーカー一覧（料金トップ）のレスポンシブ調整 */
@media screen and (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
        gap: 12px !important;
        padding: 0 10px;
    }
    .grid-item {
        padding: 15px 10px !important;
    }
    .grid-item img {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 8px !important;
    }
    .grid-item span {
        font-size: 13px !important;
    }
}

/* 3. シリーズ・機種一覧ページのレスポンシブ調整 */
@media screen and (max-width: 768px) {
    .series-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
        gap: 12px !important;
        padding: 0 10px;
    }
    .model-card {
        padding: 12px 8px !important;
        font-size: 13px !important;
    }
    .series-title {
        font-size: 18px !important;
        margin-top: 30px !important;
        margin-bottom: 15px !important;
    }
}

/* 4. 個別料金表テーブルのレスポンシブ調整 */
.price-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tbl-price {
    width: 100% !important;
    border-collapse: collapse !important;
    min-width: 500px;
}

@media screen and (max-width: 600px) {
    /* 料金表ボタンのレスポンシブ化 */
    .viewmore-pricing-btn {
        font-size: 15px;
        padding: 12px 30px;
        width: 90%;
    }
}

/* ==========================================================================
   5. ホームページ（front-page.php）大刷新用の追加スタイル
   ========================================================================== */

/* (1) HEROスライダー (Swiper) & チラ見え効果 */
#home-hero-slider {
    width: 100%;
    overflow: hidden;
    padding: 100px 0 20px; /* ヘッダーとの重なりを回避するために上部paddingを拡張 */
    background: #f5f8fa;
}

@media screen and (max-width: 768px) {
    #home-hero-slider {
        padding-top: 80px; /* スマホ用ヘッダー高さ分の余白 */
    }
}

.home-swiper {
    width: 100%;
    padding-bottom: 30px !important;
    overflow: visible !important; /* はみ出し（チラ見え）を許容する */
}

.home-swiper .swiper-slide {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    opacity: 0.45;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(0.92);
    aspect-ratio: 21 / 6.5; /* 縦幅をより薄く */
    max-height: 250px; /* PC版での最大高さを制限 */
    position: relative;
}

@media screen and (max-width: 768px) {
    .home-swiper .swiper-slide {
        max-height: 150px; /* スマホでの最大高さ */
    }
}

.home-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1.0);
}

.home-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* キャプションオーバーレイ */
.slide-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 75%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px 40px;
    box-sizing: border-box;
    z-index: 10;
}

.caption-inner {
    text-align: left;
}

.slide-tag {
    display: inline-block;
    background: #4B85DC;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.caption-inner h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 0.03em;
}

.caption-inner p {
    font-size: 13px;
    color: #e2e8f0;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .slide-caption-overlay {
        padding: 12px 15px;
    }
    .caption-inner h3 {
        font-size: 15px;
        margin-bottom: 2px;
    }
    .caption-inner p {
        font-size: 10px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .slide-tag {
        font-size: 9px;
        padding: 2px 6px;
        margin-bottom: 4px;
    }
}

/* スライダー矢印 */
.home-swiper .swiper-button-prev,
.home-swiper .swiper-button-next {
    color: #4B85DC;
    background: rgba(255, 255, 255, 0.9);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.home-swiper .swiper-button-prev:after,
.home-swiper .swiper-button-next:after {
    font-size: 18px !important;
    font-weight: bold;
}
.home-swiper .swiper-button-prev:hover,
.home-swiper .swiper-button-next:hover {
    background: #4B85DC;
    color: #fff;
}

/* ページネーション */
.home-swiper .swiper-pagination-bullet-active {
    background: #4B85DC !important;
    width: 24px;
    border-radius: 5px;
}

/* (2) 無限ループスクロール（基板修理横流し） */
#marquee-board {
    width: 100%;
    background: #111;
    overflow: hidden;
    padding: 15px 0;
    box-sizing: border-box;
    border-top: 2px solid #222;
    border-bottom: 2px solid #222;
}

.marquee-inner {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.marquee-track {
    display: flex;
    gap: 15px;
    animation: marquee-scroll 28s linear infinite;
}

.marquee-track img {
    height: 110px;
    width: 200px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    border: 1px solid #333;
}

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

/* (3) メインの2カラム構成 */
.home-main-cols {
    display: flex;
    gap: 40px;
    margin: 50px 0;
}

.home-left-col {
    flex: 0 0 32%;
    max-width: 32%;
}

.home-right-col {
    flex: 0 0 68%;
    max-width: 68%;
}

/* (4) 左カラム：アコーディオンメニュー */
.accordion-nav-wrapper {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 24px 20px;
    position: sticky;
    top: 20px;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #4B85DC;
}

.accordion-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    overflow: hidden;
    background: #fdfdfd;
    transition: all 0.3s ease;
}

.accordion-btn {
    width: 100%;
    background: #f8fafc;
    border: none;
    outline: none;
    padding: 15px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: #34495e;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.accordion-btn:hover {
    background: #f1f5f9;
}

.acc-arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #7f8c8d;
    border-bottom: 2px solid #7f8c8d;
    transform: rotate(45deg);
    transition: transform 0.3s;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    background: #ffffff;
}

.accordion-content ul {
    list-style: none !important;
    padding: 10px 20px !important;
    margin: 0 !important;
}

.accordion-content li {
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.accordion-content li:last-child {
    border-bottom: none;
}

.accordion-content li a {
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: block;
    transition: color 0.2s;
}

.accordion-content li a:hover {
    color: #4B85DC;
}

/* アコーディオンアクティブ状態 */
.accordion-item.active {
    border-color: #4B85DC;
    box-shadow: 0 4px 12px rgba(75, 133, 220, 0.08);
}
.accordion-item.active .accordion-btn {
    background: #eef2ff;
    color: #4B85DC;
}
.accordion-item.active .acc-arrow {
    transform: rotate(-135deg);
    border-color: #4B85DC;
}
.accordion-item.active .accordion-content {
    max-height: 800px;
}

/* (5) 右カラム：メインコンテンツ */
.home-section {
    margin-bottom: 45px;
}

/* お知らせ (NEWS) */
.news-list-block {
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.news-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 700;
    margin-right: 25px;
    flex: 0 0 90px;
}

.news-title {
    font-size: 15px;
    color: #334155;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.news-title:hover {
    color: #4B85DC;
}

/* 修理写真ギャラリー */
.repair-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-img {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.gallery-img:hover img {
    transform: scale(1.03);
}

/* 販売バナー */
.sales-banner-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.sales-banner-wrapper img {
    width: 100%;
    display: block;
    transition: opacity 0.3s;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

.sales-banner-wrapper img:hover {
    opacity: 0.95;
}

/* 3大修理ボタンパネル */
.main-repair-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-panel-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 24px 18px;
    border-radius: 12px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    text-align: center;
}

.service-panel-btn .btn-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    display: block;
}

.service-panel-btn .btn-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    display: block;
}

.service-panel-btn:hover {
    border-color: #4B85DC;
    box-shadow: 0 8px 24px rgba(75, 133, 220, 0.15);
    transform: translateY(-2px);
}

.service-panel-btn.accent {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-color: #c7d2fe;
}
.service-panel-btn.accent .btn-title {
    color: #3730a3;
}
.service-panel-btn.accent .btn-desc {
    color: #4f46e5;
}
.service-panel-btn.accent:hover {
    border-color: #818cf8;
    box-shadow: 0 8px 24px rgba(129, 140, 248, 0.2);
}

/* (6) 店舗案内一覧：スタイリッシュリスト */
#home-shop-list-section {
    background: #f8fafc;
    padding: 55px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.shop-list-table-style {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.shop-list-row {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
    transition: all 0.3s;
}

.shop-list-row:hover {
    border-color: #4B85DC;
    box-shadow: 0 6px 15px rgba(75, 133, 220, 0.08);
}

.shop-name-col {
    flex: 0 0 25%;
}

.shop-name-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.shop-name-col h3 a {
    color: #1e293b;
    text-decoration: none;
}
.shop-name-col h3 a:hover {
    color: #4B85DC;
}

.shop-detail-col {
    flex: 0 0 50%;
}

.shop-detail-col p {
    margin: 4px 0;
    font-size: 14px;
    color: #475569;
}
.shop-detail-col p a {
    color: #4B85DC;
    font-weight: 700;
    text-decoration: none;
}

.shop-map-col {
    flex: 0 0 20%;
    text-align: right;
}

.map-link-btn {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #4B85DC;
    color: #4B85DC !important;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-link-btn:hover {
    background: linear-gradient(135deg, #4B85DC, #3568b2);
    border-color: #3568b2;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(75, 133, 220, 0.25);
    transform: translateY(-1px);
}

/* (7) 高価買取＆問い合わせ CTA */
#home-bottom-cta-section {
    padding: 60px 0;
}

.bottom-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.cta-left-box,
.cta-right-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.02);
}

.cta-left-box {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.cta-box-inner h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 12px;
}

.cta-box-inner p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 25px;
}

.cta-btn-link {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #4B85DC;
    color: #4B85DC !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-link:hover {
    background: linear-gradient(135deg, #4B85DC, #3568b2);
    border-color: #3568b2;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(75, 133, 220, 0.25);
    transform: translateY(-1px);
}

/* 問い合わせグリッド */
.cta-contacts-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-cta-btn {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.contact-cta-btn .icon {
    font-size: 20px;
    margin-right: 15px;
}

.contact-cta-btn .label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    flex: 1;
}

.contact-cta-btn .val {
    font-size: 15px;
    font-weight: 700;
}

/* 個別色設定 */
.contact-cta-btn.tel-btn {
    background: #fffbeb;
    border-color: #fde68a;
}
.contact-cta-btn.tel-btn .val { color: #d97706; }
.contact-cta-btn.tel-btn:hover { border-color: #f59e0b; box-shadow: 0 4px 10px rgba(245,158,11,0.1); }

.contact-cta-btn.mail-btn {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.contact-cta-btn.mail-btn .val { color: #16a34a; }
.contact-cta-btn.mail-btn:hover { border-color: #22c55e; box-shadow: 0 4px 10px rgba(34,197,94,0.1); }

.contact-cta-btn.line-btn {
    background: #f0fdf4;
    border-color: #bbf7d0;
    background-color: #ecfdf5;
    border-color: #a7f3d0;
}
.contact-cta-btn.line-btn .val { color: #059669; }
.contact-cta-btn.line-btn:hover { border-color: #10b981; box-shadow: 0 4px 10px rgba(16,185,129,0.1); }


/* ==========================================================================
   6. モバイル表示でのレスポンシブ最適化 (大刷新用)
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* 2カラム解除 */
    .home-main-cols {
        flex-direction: column;
        gap: 30px;
        margin: 30px 0;
    }
    
    .home-left-col,
    .home-right-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* アコーディオンのスティッキー解除 */
    .accordion-nav-wrapper {
        position: static;
        padding: 15px;
    }
    
    /* 3大修理ボタン 縦積み化 */
    .main-repair-services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .service-panel-btn {
        padding: 16px;
    }
    
    /* 修理写真ギャラリー縦積み化 */
    .repair-gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 店舗案内リスト縦積み化 */
    .shop-list-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 15px;
    }
    
    .shop-name-col,
    .shop-detail-col,
    .shop-map-col {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .shop-map-col {
        text-align: left;
    }
    
    .map-link-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    /* CTA縦積み化 */
    .bottom-cta-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-left-box,
    .cta-right-box {
        padding: 20px;
    }
    
    .cta-btn-link {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   7. 共通見出しデザインの刷新（新トンマナ統一）
   ========================================================================== */
.heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
}

h2.f-bar-b {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    border-left: 5px solid #4B85DC !important;
    padding-left: 15px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: flex-end !important;
    gap: 12px !important;
}

h2.f-bar-b span {
    font-size: 12px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 2px !important;
    border-left: none !important;
    padding-left: 0 !important;
}

.heading .viewmore {
    display: inline-block !important;
    background: #ffffff !important;
    border: 1px solid #4B85DC !important;
    color: #4B85DC !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    padding: 6px 18px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    transition: all 0.25s ease-in-out !important;
    box-shadow: none !important;
    line-height: 1.2 !important;
}

.heading .viewmore:hover {
    background: linear-gradient(135deg, #4B85DC, #3568b2) !important;
    border-color: #3568b2 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(75, 133, 220, 0.2) !important;
    transform: translateY(-1px) !important;
}

.heading .viewmore span {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    border: none !important;
    padding: 0 !important;
}

@media screen and (max-width: 768px) {
    .heading {
        margin-bottom: 20px;
    }
    h2.f-bar-b {
        font-size: 18px !important;
    }
}

/* ==========================================================================
   8. FAQ（よくある質問）ページのトンマナ調整 & 劇的リニューアル
   ========================================================================== */
/* FAQページのコンテナ幅を適切に制限して中央寄せ（間延びを防ぎ、情報を整理） */
.page-id-69 #page .container {
    max-width: 860px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
}

.faq-container-redesign {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 20px;
}

.faq-category-block {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 35px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.faq-cat-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    border-left: 5px solid #4B85DC !important;
    padding-left: 15px !important;
    margin-top: 0 !important;
    margin-bottom: 25px !important;
    line-height: 1.2 !important;
}

/* アコーディオン要素 */
details.qa-item-redesign {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

details.qa-item-redesign:last-child {
    margin-bottom: 0;
}

details.qa-item-redesign:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 15px rgba(75, 133, 220, 0.04);
}

details.qa-item-redesign[open] {
    border-color: #4B85DC;
    box-shadow: 0 6px 20px rgba(75, 133, 220, 0.07);
    background: #ffffff;
}

/* 質問ヘッダー */
details.qa-item-redesign summary {
    padding: 20px 24px;
    font-weight: 700;
    font-size: 16px;
    color: #334155;
    cursor: pointer;
    outline: none;
    list-style: none;
    position: relative;
    transition: all 0.25s;
    display: flex;
    align-items: center;
}

details.qa-item-redesign summary::-webkit-details-marker {
    display: none;
}

/* Qアイコンバッジ */
details.qa-item-redesign summary::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #4B85DC;
    color: #ffffff;
    border-radius: 50%;
    font-weight: 800;
    font-size: 12px;
    margin-right: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(75, 133, 220, 0.2);
}

/* 開閉矢印アイコン */
details.qa-item-redesign summary::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transition: transform 0.3s, border-color 0.3s;
}

details.qa-item-redesign[open] summary {
    color: #4B85DC;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(to right, #f8faff, #ffffff);
}

details.qa-item-redesign[open] summary::after {
    transform: translateY(-25%) rotate(-135deg);
    border-color: #4B85DC;
}

/* 回答ボディ */
.qa-answer-redesign {
    padding: 22px 24px 22px 62px; /* Qのインデントに揃える */
    background: #ffffff;
    position: relative;
}

/* Aアイコンバッジ */
.qa-answer-redesign::before {
    content: "A";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #e11d48;
    color: #ffffff;
    border-radius: 50%;
    font-weight: 800;
    font-size: 12px;
    position: absolute;
    left: 24px;
    top: 20px;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.2);
}

.qa-answer-redesign p {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 10px 0;
}

.qa-answer-redesign p:last-child {
    margin-bottom: 0;
}

.qa-answer-redesign p.note {
    font-size: 13px;
    color: #64748b;
    background: #f1f5f9;
    padding: 10px 15px;
    border-radius: 6px;
    border-left: 3px solid #94a3b8;
    margin-top: 12px;
}

/* 配送先住所用ボックス */
.shipping-address-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 12px 0;
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .faq-category-block {
        padding: 20px 15px;
    }
    details.qa-item-redesign summary {
        padding: 15px;
        font-size: 14px;
    }
    details.qa-item-redesign summary::before {
        margin-right: 10px;
    }
    .qa-answer-redesign {
        padding: 15px 15px 15px 48px;
    }
    .qa-answer-redesign::before {
        left: 15px;
        top: 15px;
    }
    .qa-answer-redesign p {
        font-size: 13.5px;
    }
}


/* ==========================================================================
   9. 修理の流れ（flow）ページのトンマナ調整 & 縦型タイムライン再構築
   ========================================================================== */
.page-id-98 #page .container {
    max-width: 880px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
}

.flow-container-redesign {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 20px;
}

.flow-section-redesign {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 25px rgba(0,0,0,0.01);
}

.flow-section-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    text-align: center;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.02em;
}

.flow-section-subtitle {
    font-size: 14px;
    color: #64748b;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* 縦型タイムライン */
.timeline-redesign {
    position: relative;
    padding-left: 55px; /* バッジ部分の余白 */
}

/* 縦の接続線 */
.timeline-redesign::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 25px;
    bottom: 25px;
    width: 3px;
    background: linear-gradient(to bottom, #4B85DC, #e0e7ff);
    border-radius: 2px;
}

.timeline-item-redesign {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item-redesign:last-child {
    margin-bottom: 0;
}

/* 番号丸型バッジ */
.timeline-badge {
    position: absolute;
    left: -55px;
    top: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #4B85DC, #3568b2);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(75, 133, 220, 0.3);
    z-index: 10;
    border: 3px solid #ffffff;
}

/* 各ステップのコンテンツカード */
.timeline-content-redesign {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 30px;
    transition: all 0.3s ease;
}

.timeline-item-redesign:hover .timeline-content-redesign {
    border-color: #4B85DC;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(75, 133, 220, 0.07);
    transform: translateX(3px);
}

.timeline-content-redesign h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.time-tag {
    font-size: 10px;
    background: #eef2ff;
    color: #4B85DC;
    border: 1px solid #c7d2fe;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.timeline-content-redesign p {
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
    margin: 0 0 10px 0;
}

.timeline-content-redesign p:last-child {
    margin-bottom: 0;
}

.timeline-content-redesign p.note {
    font-size: 12px;
    color: #ef4444;
    background: #fef2f2;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #ef4444;
    margin-top: 10px;
}

/* タイムライン内の予約ボタン */
.timeline-meta-btn {
    display: flex;
    gap: 15px;
    margin: 15px 0 5px 0;
}

.timeline-meta-btn a {
    display: inline-block;
    background: #4B85DC;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none !important;
    transition: all 0.25s;
    box-shadow: 0 3px 8px rgba(75,133,220,0.15);
}

.timeline-meta-btn a:hover {
    background: #3568b2;
    box-shadow: 0 5px 12px rgba(75,133,220,0.3);
}

.timeline-meta-btn a.line {
    background: #22c55e;
    box-shadow: 0 3px 8px rgba(34,197,94,0.15);
}

.timeline-meta-btn a.line:hover {
    background: #16a34a;
    box-shadow: 0 5px 12px rgba(34,197,94,0.3);
}

/* 法人プランエリア */
.flow-b2b-redesign {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 45px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.b2b-header-redesign {
    text-align: center;
    margin-bottom: 35px;
}

.b2b-header-redesign h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.b2b-header-redesign p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.b2b-grid-redesign {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 35px;
}

.b2b-card-redesign {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.015);
    transition: all 0.3s;
}

.b2b-card-redesign:hover {
    border-color: #4B85DC;
    box-shadow: 0 8px 20px rgba(75, 133, 220, 0.08);
}

.b2b-card-redesign .icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.b2b-card-redesign h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.b2b-card-redesign p {
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.b2b-footer-btn {
    text-align: center;
}

.b2b-footer-btn a {
    display: inline-block;
    background: linear-gradient(135deg, #4B85DC, #3568b2);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(75, 133, 220, 0.25);
    transition: all 0.3s;
}

.b2b-footer-btn a:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(75, 133, 220, 0.4);
}

@media screen and (max-width: 768px) {
    .flow-section-redesign {
        padding: 25px 20px;
    }
    .timeline-redesign {
        padding-left: 0;
    }
    .timeline-redesign::before {
        display: none; /* スマホでは縦線を非表示にしてカードライクにする */
    }
    .timeline-badge {
        position: static;
        margin: 0 auto 12px auto;
    }
    .timeline-content-redesign {
        padding: 20px;
    }
    .b2b-grid-redesign {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .flow-b2b-redesign {
        padding: 25px 20px;
    }
}


/* ==========================================================================
   10. メディア掲載ページ & 各種ボタントンマナ調整
   ========================================================================== */
#archive .media .row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
    margin: 0 !important;
}

@media screen and (max-width: 900px) {
    #archive .media .row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}
@media screen and (max-width: 600px) {
    #archive .media .row {
        grid-template-columns: 1fr !important;
    }
}

#archive .media article {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

#archive .media article:hover {
    border-color: #4B85DC !important;
    box-shadow: 0 10px 25px rgba(75, 133, 220, 0.1) !important;
    transform: translateY(-3px) !important;
}

#archive .media article .content {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

#archive .media article .image {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
}

#archive .media article .image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}

#archive .media article:hover .image img {
    transform: scale(1.05) !important;
}

#archive .media article .image .date {
    position: absolute !important;
    bottom: 10px !important;
    left: 10px !important;
    background: rgba(30, 41, 59, 0.8) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}

#archive .media article .category {
    padding: 15px 20px 0 !important;
}

#archive .media article .category span {
    background: #eef2ff !important;
    color: #4B85DC !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    display: inline-block !important;
}

#archive .media article .text {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.4 !important;
    margin: 0 0 15px 0 !important;
    flex-grow: 1 !important;
}

#archive .media article .more {
    text-align: right !important;
    margin-top: auto !important;
}

#archive .media article .more span {
    display: inline-block !important;
    background: #ffffff !important;
    border: 1px solid #4B85DC !important;
    color: #4B85DC !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    padding: 6px 18px !important;
    border-radius: 20px !important;
    transition: all 0.25s !important;
}

#archive .media article:hover .more span {
    background: linear-gradient(135deg, #4B85DC, #3568b2) !important;
    border-color: #3568b2 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(75, 133, 220, 0.2) !important;
}

/* メディア個別記事詳細デザイン */
.media-post .main-cont h1 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
}

.media-post .post-info {
    display: flex !important;
    gap: 20px !important;
    font-size: 13px !important;
    color: #64748b !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 15px !important;
    margin-bottom: 30px !important;
}

.media-post .post-info p {
    margin: 0 !important;
}

.media-post .main-cont h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    border-left: 5px solid #4B85DC !important;
    padding-left: 15px !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
}

.media-post .main-cont h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding-bottom: 8px !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
}

.media-post .sub-cont h2 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    border-left: 4px solid #4B85DC !important;
    padding-left: 12px !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
}

.categorylist2 {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 35px 0 !important;
}

.categorylist2 li {
    margin-bottom: 10px !important;
}

.categorylist2 li a {
    display: block !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    color: #475569 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
}

.categorylist2 li a:hover {
    border-color: #4B85DC !important;
    color: #4B85DC !important;
    background: #eef2ff !important;
}

.categorylist2 li h3.title {
    margin: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
}


/* ==========================================================================
   11. NEWS 100%幅拡張 & バナー HTML キャプション遮光 & VIEW MORE 美化
   ========================================================================== */

/* スライダーのテキスト遮光と文字サイズレスポンシブ */
.slide-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 遮光マスクを濃くして、元のバナー画像内の文字が切れてもHTML文字だけを浮き上がらせる */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0) 100%) !important;
    display: flex;
    align-items: flex-end;
    padding: 30px 45px !important;
    box-sizing: border-box;
    z-index: 10;
}

.caption-inner h3 {
    font-size: 28px !important; /* PC版で見やすく大きく */
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
    letter-spacing: 0.04em !important;
}

.caption-inner p {
    font-size: 14.5px !important;
    color: #f1f5f9 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

.slide-tag {
    background: #4B85DC !important;
    font-size: 11px !important;
    padding: 4px 12px !important;
    border-radius: 4px !important;
    margin-bottom: 8px !important;
}

@media screen and (max-width: 768px) {
    .slide-caption-overlay {
        padding: 15px 20px !important;
    }
    .caption-inner h3 {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }
    .caption-inner p {
        font-size: 10.5px !important;
        line-height: 1.3 !important;
    }
}

/* NEWS ボックスの幅を親の 100% いっぱいに使い切る */
.news-list-block {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 24px 30px !important; /* 左右の余白を少し広げて優雅に */
}

.news-item {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    justify-content: flex-start !important;
}

.news-title {
    flex-grow: 1 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important; /* 横幅いっぱいに長い文字は末尾...にする */
}

/* VIEW MORE ボタンの劇的美化 */
.heading .viewmore {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #4B85DC, #3568b2) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    padding: 9px 24px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(75, 133, 220, 0.25) !important;
    transition: all 0.3s ease !important;
    line-height: 1.2 !important;
    border: none !important;
    letter-spacing: 0.05em !important;
}

.heading .viewmore:hover {
    background: linear-gradient(135deg, #5390f5, #3c74c7) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(75, 133, 220, 0.4) !important;
    opacity: 0.95 !important;
}

.heading .viewmore::after {
    content: " →" !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    margin-left: 4px !important;
    transition: transform 0.25s !important;
}

.heading .viewmore:hover::after {
    transform: translateX(3px) !important;
}

/* ==========================================================================
   12. 修理ブログ（REPAIR BLOG）カードデザイン
   ========================================================================== */
.blog-card-redesign {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015) !important;
    transition: all 0.3s ease !important;
}

.blog-card-redesign:hover {
    border-color: #4B85DC !important;
    box-shadow: 0 8px 24px rgba(75, 133, 220, 0.08) !important;
    transform: translateY(-2px) !important;
}

.blog-card-img-wrapper img {
    transition: transform 0.4s ease !important;
}

.blog-card-redesign:hover .blog-card-img-wrapper img {
    transform: scale(1.04) !important;
}

.blog-card-readmore {
    transition: color 0.2s !important;
}

.blog-card-redesign:hover .blog-card-readmore {
    color: #3568b2 !important;
}

@media screen and (max-width: 768px) {
    .blog-grid-redesign {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* ==========================================================================
   13. 会社情報（company）ページのトンマナ調整
   ========================================================================== */
.page-id-453 #page .container {
    max-width: 860px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
}

.company-container-redesign {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.company-intro-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 30px;
    font-size: 15px;
    color: #475569;
    line-height: 1.75;
    border-left: 5px solid #4B85DC;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

.company-info-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}

.company-info-table th {
    background: #f8fafc;
    color: #1e293b;
    font-weight: 700;
    font-size: 15px;
    width: 220px;
    padding: 22px 24px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    vertical-align: middle;
}

.company-info-table td {
    background: #ffffff;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    padding: 22px 24px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.company-info-table tr:last-child th,
.company-info-table tr:last-child td {
    border-bottom: none;
}

.company-info-table td a {
    color: #4B85DC;
    font-weight: 700;
    text-decoration: none;
}

.company-info-table td a:hover {
    text-decoration: underline;
}

.biz-list {
    list-style: disc !important;
    margin: 0 !important;
    padding-left: 20px !important;
}

.biz-list li {
    margin-bottom: 10px;
    color: #475569;
    line-height: 1.6;
}

.biz-list li:last-child {
    margin-bottom: 0;
}


@media screen and (max-width: 768px) {
    .company-info-table, 
    .company-info-table tbody, 
    .company-info-table tr, 
    .company-info-table th, 
    .company-info-table td {
        display: block !important;
        width: 100% !important;
    }
    .company-info-table th {
        border-right: none !important;
        background: #f1f5f9;
        padding: 12px 18px !important;
        font-size: 14px;
        border-bottom: 1px solid #e2e8f0;
    }
    .company-info-table td {
        padding: 15px 18px !important;
        font-size: 14px;
        border-bottom: 1px solid #e2e8f0;
    }
    .company-info-table tr:last-child td {
        border-bottom: none;
    }
    .company-intro-card {
        padding: 20px 15px;
        font-size: 14px;
    }
}

/* ==========================================================================
   14. 店舗個別ページの修理メニュー（ブランド別カード）
   ========================================================================== */
.shop-brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 16px !important;
    margin-top: 25px;
}

.shop-brand-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: none !important;
}

.shop-brand-card:hover {
    transform: translateY(-2px) !important;
    background: #ffffff !important;
    border-color: #4B85DC !important;
    box-shadow: 0 6px 20px rgba(75, 133, 220, 0.08) !important;
}

.shop-brand-card .brand-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.shop-brand-card .label {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    transition: color 0.2s ease !important;
    white-space: normal !important;
    text-align: left;
    margin: 0 !important;
    display: inline-block !important;
}

.shop-brand-card:hover .label {
    color: #4B85DC !important;
}

.shop-brand-card .sub-label {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    transition: color 0.2s ease !important;
}

.shop-brand-card:hover .sub-label {
    color: #4B85DC !important;
    opacity: 0.8;
}

.shop-brand-card .arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    color: #64748b;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.2s ease !important;
}

.shop-brand-card:hover .arrow-icon {
    background: #4B85DC;
    color: #ffffff;
    border-color: #4B85DC;
    transform: translateX(3px);
}

@media screen and (max-width: 768px) {
    .shop-brand-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .shop-brand-card {
        padding: 14px 18px !important;
    }
    .shop-brand-card .label {
        font-size: 14px !important;
    }
}

/* ==========================================================================
   15. 店舗関連ブログカードの大改修 (ホバーアニメーション & 高級感デザイン)
   ========================================================================== */
.shop-related-blogs-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #f1f5f9;
}

.shop-related-blogs-section .heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.shop-related-blogs-section .heading .viewmore {
    font-size: 13px;
    font-weight: 700;
    color: #4B85DC;
    text-decoration: none;
    border: 2px solid #eef2ff;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.shop-related-blogs-section .heading .viewmore:hover {
    background-color: #4B85DC;
    color: #ffffff !important;
    border-color: #4B85DC;
    box-shadow: 0 4px 12px rgba(75, 133, 220, 0.2);
}

.blog-card-redesign {
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.blog-card-redesign:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(75, 133, 220, 0.08) !important;
    border-color: #4b85dc30 !important;
}

.blog-card-redesign a {
    text-decoration: none !important;
}

.blog-card-redesign h3 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
    transition: color 0.2s ease;
}

.blog-card-redesign:hover h3 {
    color: #4B85DC !important;
}

.blog-card-category-tag {
    background-color: #f0f6ff !important;
    color: #4B85DC !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 11px !important;
}

.blog-card-readmore {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #4B85DC !important;
    transition: all 0.2s ease;
}

.blog-card-redesign:hover .blog-card-readmore {
    gap: 8px !important;
}

@media screen and (max-width: 768px) {
    .blog-grid-redesign {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* ==========================================================================
   16. 修理メニューセクションのレイアウト崩れ・文字組み・重なり完全解消
   ========================================================================== */
.shop-menu-title-wrap {
    clear: both !important;
    width: 100% !important;
    display: block !important;
    margin-top: 50px !important;
    padding-top: 30px !important;
    border-top: 1px solid #e2e8f0 !important;
    text-align: left !important;
}

/* テーマの h2::after や #single h2 などの影響を完全にシャットアウト */
.shop-menu-title-wrap h2.shop-menu-title {
    font-family: "Barlow Semi Condensed", "Noto Sans JP", sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #4b85dc !important;
    line-height: 1.2 !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    display: inline-block !important; /* 横並びにする */
    vertical-align: bottom !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
    letter-spacing: 0.05em !important;
}

/* 余計な下線や疑似要素を完全に消去 */
.shop-menu-title-wrap h2.shop-menu-title::after,
.shop-menu-title-wrap h2.shop-menu-title::before {
    display: none !important;
    content: none !important;
}

.shop-menu-title-wrap .shop-menu-subtitle {
    font-family: "Barlow Semi Condensed", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    margin-left: 12px !important;
    display: inline-block !important;
    vertical-align: bottom !important;
    letter-spacing: 0.08em !important;
    line-height: 1.6 !important;
}

.shop-menu-title-wrap .shop-menu-desc {
    font-size: 14px !important;
    color: #64748b !important;
    margin: 8px 0 25px 0 !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
    text-align: left !important;
}

@media screen and (max-width: 768px) {
    .shop-menu-title-wrap {
        margin-top: 30px !important;
        padding-top: 20px !important;
    }
    .shop-menu-title-wrap h2.shop-menu-title {
        font-size: 24px !important;
        display: block !important; /* スマホでは縦積みにする */
        margin-bottom: 2px !important;
    }
    .shop-menu-title-wrap .shop-menu-subtitle {
        font-size: 12px !important;
        margin-left: 0 !important;
        display: block !important;
        margin-bottom: 6px !important;
    }
    .shop-menu-title-wrap .shop-menu-desc {
        font-size: 13px !important;
        margin-top: 6px !important;
        margin-bottom: 15px !important;
    }
}


