.top-pc {
    height: 652px;
    background: url(../list-img/top-pc-bg.png) no-repeat #fce021 center top;
    background-size:100% auto;
    position: relative;
}
.-flex {
    display: flex;

}

.car-list {
    /* background-color: #fce021; */
    padding: 30px;
    padding-top: 250px;
}
.top_car_item_inner-list .more{
    margin: 0 auto;
    display: block;
}
.car-list-box {
    background-color: #fff;
    max-width: 910px;
    width: 100%;
    margin: 30px auto;
    border: 5px solid #000;
    box-shadow: 7px 7px 0 #000; 
    position: relative;
    padding: 30px 10px;
    font-family: "noto_b";
}
.car-search{
    margin: 30px auto;
    border-top: 2px solid #000;
    max-width: 910px;
    width: 100%;
}
.searchandfilter{
    width: auto;
}
.jc-around {
    justify-content: space-around;
}
.car-name {
    font-size: 1.8rem;
    border-bottom: 1px dashed gray;
}
.maker {
    font-size: 1.3rem;
    border-bottom: 1px dashed gray;
    border-bottom: none;
    line-height: 1;
    margin-top: 20px;
}
.border_non{
    border: none;
}
.list-car-title {
    font-weight: bold;
    font-size:1.5rem;
    line-height: 1.2;
}
.list-car-detail{
    width: 254px;
    text-align: left;
    margin-left: 14px;
}
.list-car-detail,
.list-car-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-car-grade{
    font-weight: bold;
    border-bottom: 1px dashed gray;
    font-family: "noto_m";
    font-weight: 500;
}
.list-car-year{
    border-bottom: 1px dashed gray;
    font-family: "noto_m";
    font-weight: 500;
}


.list-car-btn {
    width: 30%;
}

.list-car-btn-btn {
    font-weight: bolder;
    color: #fff;
    padding: 17px 16px;
    text-align: center;
    border: none;
    outline: none;
    width: 100%;
    margin-bottom: 5px;
    font-size: 16px;
}

.contact {
    background-color: #0068b6;
}

.line {
    background-color: #32cd32;
}
.list-car-price {
    font-size:2rem;
    text-align: right;
    font-weight: bold;
    color: black;
}
.monthly{
    font-size: 1.5rem;
    margin-right: 5px;
}
.list-car-image{
    width: 300px;
    height: 222px;
    object-fit: cover;
}
.list-car-images{
    width: 300px;
    height: 222px;
    object-fit: cover;
}
.list-car-tax-in {
    font-size:1rem;
}
.period{
    font-size: 0.8rem;
    color: red;
    text-align: center;
}
.more_btn{
    position: absolute;
    bottom: 0px;
    left: 38%;
}
.more {
    transition: all 0.3s;
    bottom: 5px;
    left: 3%;
    position: relative;
    width: 157px;
    height: 30px;
}
.more:after{
    position: absolute;
    content: "詳しく見る";
    top: 5px;
    right: 0;
    color:#000;
    font-weight: bold;
    font-size: 21px;
    background: #FCE021;
    width: 199px;
    padding: 10px 20px;
}


.more.active-in:after {
    content: "閉じる"
}
.txt-hide {
    display: none;
    padding: 37px 0px 20px 0px;
    text-align: left;
    }


.contact.off{
    background-color: #777;
}
#E_SubImg li{
    margin: 2px;
}
#E_SubImg {
    width: 60%;
    display: flex;
    flex-wrap: wrap;
    margin-left: 4%;
    justify-content: left;
}
#E_SubImg li img{
    object-fit: cover;
    width: 124px;
    height: 88px;
    cursor: pointer;
}
.lightbox-custom{
    display: flex;
    align-items: flex-start;
}
table th,table td{
    padding: 10px;
    border: 1px solid #999;
    }

    .txt-hide table{
        border-collapse: collapse;
        width: 65%;
        display: block;
        margin: 0 0 0 auto;
        font-size: 13px;
        display: block;
    }
    .txt-hide table tr{
        width:427px;
    }
    .txt-hide table th,.txt-hide table td{
        width: 100%;
        display: block;
    }
    .txt-hide table th{
        background-color: rgb(206, 206, 206);
        vertical-align: middle;
    }
    .lb-outerContainer{
        width: 531px;
        height: auto;
    }
    /* .lightbox .lb-image{
        height: 400px;
    } */
    /* .lb-image{
        max-width:640px !important;
        max-height:480px !important;
    } */
/* もっと見るのボタン */
.more_b {
    text-align: center;
    padding-top: 15px;
    cursor: pointer;
    position: relative;
    padding-bottom: 15px;
    background-color: #000;
    color: #fff;
    width: 300px;
    display: block;
    margin: 0 auto;
}
.more_b button{
    background-color: #000;
    color: #fff;
}
.gallery-popup{
    width: 60%;
    display: flex;
    flex-wrap: wrap;
    margin-left: 4%;
    justify-content: left;
}
.gallery-popup li img{
    object-fit: cover;
    width: 124px;
    height: 88px;
    cursor: pointer;
}

/* もっと見るの非表示 */
.is-hidden {
  visibility: hidden;
  opacity: 0;
  height: 0;
  margin: 0 10px;
  padding: 0;
}


.car-search-content {
    max-width: 910px;
    width: 100%;
    margin: 80px auto 0 auto;
    padding: 20px;
}
.form-group {
    width: 47%;
    display: inline-flex;
    margin: 15px 0;
}
.forn-field-ct label {
    width: 25%;
    padding: 5px;
    font-size: 16px;
    font-weight: 600;
}

.forn-field-ct {
    width: 100%;
    display: inline-flex;
    align-items: center;
}
.forn-field-ct select {
    height: 36px;
    padding: 0 5px;
    font-size: 15px;
    font-weight: 500;
    background-color: #f7f7f7;
    box-shadow: none;
    width: 70%;
}
.forn-field-ra label {
    font-size: 16px;
    font-weight: 600;
    padding: 5px;
    width: 25%;
}
.forn-field-ra {
    width: 100%;
    display: inline-flex;
    align-items: center;
}
.tabaco-content input {
    width: 10%;
}
.tabaco-content input {
    width: 10%;
}
.tabaco-content {
    width: 75%;
}
button.btn.btn-primary {
    width: 200px;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
    background-color: #0068b6;
}
.search-button-car{
    width: 100%;
    text-align: center;
    margin: 30px 0 0;
}

#car_77_tab:checked~.top_car_inner #car_77.is_active{
   display: block;
}

#car_77_tab:checked~.top_car_inner #car_77.is_hidden{
    display: none;
}
.car-d{
    display: inline-block;
    width: 40%;
}
.color_red{
    color:#d10c18;
}
.color_orange{
    color: #0068b6;
}
.detail_table tr{
    display:flex;
}
.main-price{
    font-size: 3.5rem;
}

@media screen and (max-width: 767px) {
    .top-pc{
       background: none;
       height: auto;
    }  
    .main-price{
        font-size: 2rem;
    } 
    .column{
        display: block;
    }
    .form-group {
        width: 100%;
        display: block;
    }
    .list-car-btn {
        width: 100%;
    }
    .car-list {
        background-color: #fce021;
        padding:1px 0 1px 0;
    }
    .car-list-box{
        padding: 20px 10px 40px 10px;
        box-sizing: border-box;
    }
    .maker {
        font-size: 0.875rem;
        line-height:0;
    }
    .car-search-content {
        margin: 0px auto;
        padding: 0px 20px;
    }
    .car-name {
        font-size: 1.25rem;
        line-height: 2;
    }
    .list-car-title {
        font-size: 2rem;
        text-align: center;
        font-weight: 500;
        font-family: "noto_m";
    }
    .car-list-box {
        margin: 14px auto;
    }
    .list-car-detail {
        width: 100%;
        margin-left: 0;
        line-height: 1.8;
    }
    .lb-outerContainer{
        width:95%!important;
    }
    .list-car-year,.list-car-grade{
        font-size: 0.875rem;
    }
    .period {
        font-size: 1rem;
        text-align: center;
    }
    .txt-hide {
        padding: 20px;
        font-size: 1rem;
        margin-top: 50px;
    }
    .txt-hide table{
        margin-top: 30px;
    }
    .list-car-btn-btn{
        font-size: 16px;
        padding: 10px;
    }
    /* .list-car-image img {
        width: 200px;
        height: 150px;
        object-fit: cover;
    } */
    .list-car-image {
        display: inline;
          margin: 0 auto;
      }
    .list-car-price {
        font-size: 1.5rem;
        font-weight: 500;
        font-family: "noto_m";
    }
    .lb-image{
        width:100% !important;
        height:310px !important;
    }
    .txt-hide table tr {
        width: 75vw;
    }
    #E_SubImg li img,.gallery-popup li img{
        width: 84px;
        height: 62px;
    }
    .more {
    bottom: 5px;
    }
    .lightbox-custom {
        flex-direction: column;
    }
    #E_SubImg,.gallery-popup {
        width: 100%;
        margin-left: 0%;
        justify-content: center;
    }
    .txt-hide table{
        width: 100%;
    }
    .more {
        left: 0;
        width: 100%;
    }
    .more:after {
        width: 100%;
        font-size: 16px;
    }
    .top_store_item_map_icon_wrapper{
        width: 14px;
    }
}

