header { /* 20241111追加 */
    /* background-color: #2b75cf; */
    background-color: #0E3267;
    padding: 7px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    display: block;
}
.logo {
    text-align: center;
    margin: 0 auto;
    max-width: 250px;
    width: 100%;
}
/* 車両詳細 */
.detail-right{
    width: 50%;
}
.slider {
    text-align: center;
  }
  
  #mainImage {
    width: 80%;
    max-width: 600px;
    margin-bottom: 20px;
  }
  .thumbnails {
    width: 90%;
    flex-wrap: wrap;
  }
  .thumbnails img {
    width: 111px;
    cursor: pointer;
    margin: 5px;
    border: 2px solid transparent;
    transition: border 0.3s;
  }
  
  .thumbnails img:hover {
    border: 2px solid #333;
  }
  .txt-right{
    justify-content: right;
}
.total_price{
    justify-content:right;
    align-items: center;
}
 .price_red{
    color: red;
 }
 .price_red span{
    font-size: 4rem;
 }
 .month-box{
    width: 50%;
 }
 .month-price{ /* 20241111変更 */
    /* background: #008ce6; */
    background-color: #0E3267;
    border-radius: 5px;
    height: 56px;
    font-weight: 900;
    font-size: 1.5625em;
    line-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    width: 100%;
 }
 .month-price.open{ /* 20241111変更 */
    /* background-color: #ff2f40; */
    background-color: #D60004;
 }
.car-info-box dl{
    margin-bottom: 5px;
}
.car-info-box dl dt{ /* 20241111変更 */
    box-sizing: border-box;
    /* border: 1px solid #008ce6; */
    border: 1px solid #0E3267;
    border-radius: 5px;
    /* color:#008ce6; */
    color: #0E3267;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    width: 122px;
    height: 38px; 
}
 .car-info{
    width: 100%;
    margin-left: 5%;
    margin-top: 3%;
 }
 .car-info-box{
    margin-left: 5%;
 }
 .car-info-box dl dd{
    margin-left: 1em;
    font-weight: 700;
    line-height: 2.2;
 }
 .car-info-box dl dd span{
    font-size: 2.125em;
    line-height: 1;
 }
 .main_price{
    font-weight: 900;
    font-size: 3rem;
    line-height: 1.8;
    text-align: right;
 }
 .zeikomi{
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-align: left;
    padding-top: 0.75em;
 }
.en {
    font-weight: 900;
    font-size:2.125em;
    line-height: 1.3;
    text-align: left;
}
.month-box-label{
    justify-content: center;
}
.car-info-detail{
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}
.car-info-detail tr:first-child th{
    border-bottom: 1px solid #fff;
}
.car-info-detail th{ /* 20241111変更 */
    /* background-color: #008ce6; */
    background-color: #0E3267;
    color: #fff;
    width: 25%;
    /* border: 1px solid #008ce6; */
    border: 1px solid #0E3267;
}
.car-info-detail td{ /* 20241111変更 */
    width: 25%;
    height: 40px;
    font-size: 14px;
    /* border: 1px solid #008ce6; */
    border: 1px solid #0E3267;
    padding:5px 0;
    text-align: center;
}
.line_upinfomation h4 {
    font-weight: 900;
    font-size: 1.25em;
    line-height: 1.9;
    margin: 1em 0;
}
.line_upinfomation ul,.line_upinfomation ul li {
    position: relative;
    width: 100%;
}
.line_upinfomation ul dl {
    display: flex;
    align-items: baseline;
    border-bottom: 1px solid #333;
}
.line_upinfomation ul dt {
    text-align: end;
    flex-basis: 35%;
    padding: 1em 2em 1em 0;
    font-size: 0.9375em;
}
.line_upinfomation ul td, .line_upinfomation ul dd {
    display: inline-block;
    flex-basis: 65%;
    word-break: break-all;
}

.line_upinfomation ul dd{
    font-size:1.25em;
    padding-top: 0.45em;
}
#car-detail{
    padding-top: 130px;
}
#car-detail h2{
    margin-top: 50px;
    background-color: #000;
    color: #fff;
    padding: 10px;
}

/* SUV車両詳細 */
.suv-car-info__box{
    display: flex;
}
.suv-car-info__box table {
    width: 100%;
    margin-top: 20px;
    font-size: 15px;
    border-collapse: collapse;
}
.suv-car-info__box table th{ /* 20241111変更 */
    width: 10%;
    /* background-color: #2b75cf; */
    background-color: #0E3267;
    color: #fff;
    padding: 10px 5px;
    border: 1px solid #fff;
}
.suv-car-info__box table td{
    width: 40%;
    border: 1px solid #999;
    padding-left: 5px;
}
.suv-car-info__box tr:first-child th{ /* 20241111変更 */
    /* border-top: 1px solid #2b75cf */
    border-top: 1px solid #0E3267;
}
.suv-car-info__box tr:last-child th{ /* 20241111変更 */
    /* border-bottom: 1px solid #2b75cf */
    border-bottom: 1px solid #0E3267;
}
.equipment{
    justify-content: left;
}
.equipment li{ /* 20241111変更 */
    width: 24%;
    /* border: 1px solid #2b75cf; */
    border: 1px solid #0E3267;
    border-radius: 3px;
    padding: 3px;
    margin: 5px 5px;
}

.total_pay{
    font-size: 2rem;
}
#car-detail h1{ /* 20241111変更 */
    /* background-color: #2b75cf; */
    background-color: #0E3267;
    color: #fff;
    padding: 10px;
    margin-bottom: 10px;
}
.price_1::before {
    top: 53px;
    left: -3px;
    width: 123%;
}
.amount_price dt span{
    font-size: 0.8rem;

}
.amount_price dd {
    font-size: 0.8rem;
    margin-left: 30px;
}
.amount_price {
    align-items: baseline;
    justify-content: end;
}
.month-box-label.open{ /* 20241111変更 */
    /* color: #ff2f40; */
    color: #D60004;
}
.detail-left{
    width: 50%;
}
.swiper-wrapper{
    flex-wrap: wrap;
}
.swiper-slide{
    width: 19%!important;
    margin:3px;
}
@media only screen and (max-width: 768px) {
    .swiper-wrapper {
        flex-wrap: nowrap;
    }
    .swiper-slide {
        width: 25%!important;
    }
    #mainImage,.detail-right,.detail-left,.month-box{
        width: 100%;
    }
    .car-info-box{
        margin: 0;
    }
    .thumbnails {
        overflow: hidden;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
      }
    table, tbody, th, td, tr {
        display: block;
        width: 100%;
    }
    th, td {
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border: none;
        border-bottom: 1px solid #ddd;
    }
    .suv-car-info__box table th,.suv-car-info__box table td{
        width: 100%;
        border: none;
    }
    .equipment li{
        width: 47%;
        font-size: 13px;
    }
    #car-detail{ /* 20241111追加 */
        padding-top: 80px;
    }
    .car-info-detail th{
        width:100%;
        border: none;
    }
    .car-info-detail td{
        width:100%;
        border: none;
    }
    .car-info{
        margin: 20px auto;
    }
    .thumbnails img{
        width: 20%;
        margin: 0;
    }
    .car-info-box dl dt{
        width: 50%;
    }
    .total_pay{
        font-size: 1rem;
    }
    .price_red span{
        font-size: 3rem;
    }
    .amount_price {
        align-items: flex-end;
    }
    /* 前へ次への矢印カスタマイズ */
    .swiper-button-next, .swiper-button-prev{
        color: transparent!important;
        top: initial!important;
        bottom: 12%;
    }
.swiper-button-prev::after,
.swiper-button-next::after {
  bottom: 0;
  content: "";
  height: 0;
  margin: auto;
  position: absolute;
  top: 0;
  width: 0;
}
/* 前への矢印カスタマイズ */
.swiper-button-prev::after {
  border-bottom: 20px solid transparent;
  border-right: 30px solid #ff4500;
  border-top: 20px solid transparent;
}
/* 次への矢印カスタマイズ */
.swiper-button-next::after {
  border-bottom: 20px solid transparent;
  border-left: 30px solid #ff4500;
  border-top: 20px solid transparent;
}
.car-image .swiper-container {
    display: block; /* Show swiper container on mobile devices */
    overflow: hidden;
  }
  .logo {
    max-width: 150px;
}
}