@charset "UTF-8";
/* =================================
   作業工賃ページ
================================= */

.workfee{
    padding:80px 20px;
    background:#f7f8fa;
}

.workfee-inner{
    max-width:1200px;
    margin:0 auto;
}

.workfee-header{
    text-align:center;
    margin-bottom:50px;
}

.workfee-header h2{
    font-size:42px;
    font-weight:900;
    margin-bottom:10px;
    
}
.nagare{
    width:70%;
    margin: 0 auto;
}
.workfee-header p{
    color:#666;
    font-size:14px;
}

/* =================================
   料金BOX
================================= */

.price-box{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.price-box.blue{
    border-top:8px solid #0d47a1;
}

.price-title{
    background:#0d47a1;
    color:#fff;
    text-align:center;
    font-size:28px;
    font-weight:700;
    padding:20px;
}

/* =================================
   購入タブ
================================= */

.purchase-tabs{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-bottom:20px;
    margin-top: 20px;
}

.purchase-tab{
    border:none;
    border-radius:999px;
    padding:14px 30px;
    cursor:pointer;
    font-weight:700;
    background:#e5e5e5;
    transition:.3s;
}

.purchase-tab.active{
    background:#0d47a1;
    color:#fff;
}

/* =================================
   サイズタブ
================================= */

.size-tabs{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    padding:20px;
}

.size-tab{
    border:none;
    border-radius:999px;
    padding:10px 18px;
    cursor:pointer;
    background:#eee;
    transition:.3s;
}

.size-tab.active{
    background:#0d47a1;
    color:#fff;
}

/* =================================
   オプション
================================= */

.option-toggle{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-bottom:20px;
}

.toggle-btn{
    border:none;
    border-radius:999px;
    padding:12px 24px;
    cursor:pointer;
    background:#eee;
}

.toggle-btn.active{
    background:#0d47a1;
    color:#fff;
}

.option-check{
    text-align:center;
    margin-bottom:25px;
}

.tpms-toggle{
    font-weight:700;
}

/* =================================
   料金表示
================================= */

.price-content{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    padding:30px;
}

.size-display{
    grid-column:1/-1;
    text-align:center;
    font-size:clamp(32px,4vw,60px);
    font-weight:900;
    margin-bottom:10px;
}

.service-card{
    background:#f8f9fb;
    border-radius:15px;
    text-align:center;
    padding:20px;
}

.service-card h3{
    font-size:16px;
    margin-bottom:10px;
}

.service-card .price{
    font-size:32px;
    font-weight:900;
    color:#0d47a1;
}

/* =================================
   合計金額
================================= */

.total-area{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#f5f7fb;
    padding:30px;
    margin-top:20px;
}

.total-left{
    display:flex;
    align-items:center;
    gap:10px;
}

.total-left img{
    width:100px;
    height:auto;
}

.total-left span{
    font-size:24px;
    font-weight:700;
}

.total-right{
    text-align:right;
}

.total-right small{
    display:block;
    margin-bottom:10px;
    color:#666;
}

#total-price{
    display:block;
    font-size:56px;
    line-height:1;
    font-weight:900;
    color:#e60012;
    white-space:nowrap;
}

#saving-price{
    margin-top:10px;
    font-size:18px;
    font-weight:700;
    color:#0d47a1;
}

/* =================================
   料金一覧
================================= */

.workfee-price{
    padding:80px 20px;
}

.workfee-head{
    text-align:center;
    margin-bottom:50px;
}

.workfee-head span{
    color:#0d47a1;
    font-weight:700;
}

.workfee-head h2{
    font-size:48px;
    margin:10px 0;
}

.workfee-head p{
    color:#888;
}

.price-image-top{
    margin-bottom:30px;
}

.price-image-top img{
    width:60%;
    height:auto;
    display:block;
    border-radius:15px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.price-image-bottom{
    display:flex;
    gap:20px;
    margin-top: 10px;
}

.price-image-bottom img{
    width:50%;
    height:auto;
    display:block;
    border-radius:15px;
}

/* =================================
   比較エリア
================================= */

.workfee-compare{
    padding:80px 20px;
    background:#f7f8fa;
}

.workfee-compare h3{
    text-align:center;
    font-size:40px;
    margin-bottom:40px;
}

.compare-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.compare-card{
    background:#fff;
    padding:30px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.compare-card h4{
    margin-bottom:15px;
}

.compare-text{
     text-align:center;
    font-size:14px;
    line-height:2;
    color:#666;
    max-width:900px;
    margin:20px auto 40px;
}

.old-price{
    font-size:24px;
    text-decoration:line-through;
    color:#999;
}

.new-price{
    font-size:48px;
    font-weight:900;
    color:#e60012;
    margin:10px 0;
}

.save-price{
    font-size:20px;
    font-weight:700;
    color:#0d47a1;
}

/* =================================
   CTA
================================= */

.workfee-cta{
    padding:80px 20px;
}

.workfee-cta h3{
    text-align:center;
    font-size:48px;
    margin-bottom:40px;
}

.cta-btns{
    display:flex;
    justify-content:center;
    gap:20px;
}

.cta-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:260px;
    height:70px;
    border-radius:999px;
    text-decoration:none;
    font-size:20px;
    font-weight:700;
}

.cta-phone{
    background:#0d47a1;
    color:#fff;
}

.cta-web{
    background:#e60012;
    color:#fff;
}

/* =================================
   スマホ
================================= */

@media(max-width:768px){

    .workfee{
        padding:50px 10px;
    }

    .workfee-header h2{
        font-size:40px;
        
    }

    .purchase-tabs{
        gap:8px;
    }

    .purchase-tab{
        padding:10px 18px;
        font-size:14px;
    }

    .size-tab{
        font-size:12px;
        padding:8px 12px;
    }

    .option-toggle{
        flex-direction:column;
        align-items:center;
    }

    .toggle-btn{
        width:220px;
    }

    .price-content{
        gap:8px;
        padding:15px;
    }

    .size-display{
        font-size:28px;
    }

    .service-card{
        padding:12px 6px;
    }

    .service-card h3{
        font-size:10px;
        line-height:1.3;
        min-height:28px;
    }

    .service-card .price{
        font-size:18px;
        white-space:nowrap;
    }

    .total-area{
        flex-direction:column;
        text-align:center;
        gap:15px;
    }

    .total-right{
        text-align:center;
    }

    .total-left{
        display:none;
    }

    #total-price{
        font-size:42px;
    }

    .compare-grid{
        grid-template-columns:1fr;
    }

    .workfee-head h2{
        font-size:32px;
    }

    .workfee-compare h3{
        font-size:32px;
    }

    .workfee-cta h3{
        font-size:36px;
    }

    .cta-btns{
        flex-direction:column;
    }

    .cta-btn{
        width:100%;
        min-width:auto;
    }
    
    .price-image-bottom{
    flex-direction:column;
}

.price-image-bottom img{
    width:100%;
}

}


/*-----------------追加css*/
/*-----------------他店購入モード-----------------*/

.other-mode .purchase-tab.active{
    background:#2e7d32;
}

.other-mode .price-title{
    background:#2e7d32;
}

.other-mode .size-tab.active{
    background:#2e7d32;
}

.other-mode .toggle-btn.active{
    background:#2e7d32;
}

.other-mode .total-area{
    background:#2e7d32;
}

.other-mode #total-price{
    color:#fff;
}

.other-mode .total-right small{
    color:#fff;
}

.other-mode #saving-price{
    color:#fff;
}