@charset "UTF-8";

/************************************
** 車両一覧ページ用CSS
************************************/
.so-wrap{
    padding: 0;
}

.header-container{
    display: none;
}

.title-blueribbon{
    background-color: #052b43;
    padding: 10px 15px;
    color: #ffffff;
    font-size:15px;
    font-weight: 600;
}

/* 検索フォーム */
.car-tab {
    display: flex;
    flex-wrap: wrap;
    max-width: 950px;
    margin: 0 auto 15px auto;
}
.car-tab .tab-label{
    height: 55px;
    line-height: 55px;
    color:#333;
    background: #dddddd;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
    order: -1;
    position: relative;
    z-index: 1;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    flex: 1;
    border-top: 3px solid #ff6010;
    border: 1px solid #f0ede9;
}
.tab-label:not(:last-of-type) {
    margin-right: 5px;
}
.tab-content {
    width: 100%;
    height: 0;
    overflow: hidden;
    opacity: 0;
    background-color: #fff;
}
  
/* アクティブタブ */
.tab-active:checked+.tab-label {
    color:#fff;
    background:#1f71b5;
}
.car-tab .tab-active:checked+.tab-label {
    color:#ff6010;
    background:#fff;
    border-top: 3px solid #ff6010;
    border-bottom: none;
}
.tab-active:checked+.tab-label+.tab-content {
    height: auto;
    overflow: auto;
    padding: 15px 15px 10px 15px;
    opacity: 1;
    transition: .5s opacity;
    box-shadow: 0 0 3px rgba(0,0,0,.2);
}
  
/* ラジオボタン非表示 */
.tab-active {
    display: none;
}
  
/* メーカー・ボディタイプ・即納車 */
.maker, .bodytype{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.sokunou{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.maker img, .bodytype img{
    width: 75%;
}
.sokunou img{
    width: 85%;
}
.maker a, .bodytype a, .sokunou a{
    text-decoration: none;
    text-align: center;
    color: #333;
    padding-bottom: 5px; 
    margin: 0 auto;
    font-size:12px;
}
.maker a:hover, .bodytype a:hover, .sokunou a:hover{
    color: #333;
    opacity: 0.8;
}
.hibrid-check{
    margin-left:10px;
}
.hibrid-check input[type='checkbox']{
    margin-right:5px;
    font-size:12px;
}
.sokunou-item p{
    font-size: 12px;
    font-weight: bold;
    line-height: 1.2;
    padding-top: 10px;
}
.sokunou-item p span{
    display: block;
    color: #aaa;
}
.sokunou-btn{
    width: 90%;
    background-color: #eb6812;
    border-bottom: 5px solid #ba4d02;
    border-radius: 5px;
    text-align: center;
    padding: 5px;
    margin: 10px auto;
}
.sokunou-btn a{
    display: block;
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}

.maker-title{
    text-align: center;
    color:#0075c2;
    margin: 15px 0;
}
.search-block{
    padding: 30px 15px;
    background-color: #f0f0f0;
    /*エラーしのぎ対策*/
    display: none;
}
.serch-approach{
    font-size:1em;
    font-weight: bold;
    max-width: 950px;
    margin: auto;
    margin-bottom:0.2em;
}
.search-text{
    max-width: 950px;
    margin: auto;
}
.search-block .text-small{
    max-width: 950px;
    margin: auto;
}
.maker-link{
    padding:15px;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom:10px;
}
.maker-link a{
    width: 15%;
    margin-left:5%;
    margin-right:5%;
    margin-bottom:10px;
    float:left;
    text-decoration: none;
    color:#333333;
    opacity: 1.0;
    text-align: center;
    font-size: 10px;
    line-height: 1.2em;
}
.maker-link a:hover{
    opacity: 0.8;
    color:#333333;
}
.maker-link-items{
    overflow: hidden;
}
.campaign-slider{
    padding:15px;
    margin:auto;
    line-height: 0;
}
.cpbanner-pc{
    display: none;
}
.cpbanner-sp{
    display: block;
}

/* 即納車 */
.sokunou-maker-inner{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px;
}


/*アーカイブ共通パーツここから*/
.cars-maker-inner{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.cars-maker-card{
    width: 45%;
    background: #fbfbfb;
    border: solid 3px #f0f0f0;
    border-radius: 7px;
    /*box-shadow: 3px 10px 5px rgba(0, 0, 0, 0.1), -3px 10px 5px rgba(0, 0, 0, 0.1);*/
    margin-top: 0px;
    margin-bottom: 15px;
    position: relative;
}
.cars-maker-card:hover, .cars-maker-card.active:hover{
    background-color: #d7f1f9;
}
.cars-maker-card.active{
    background-color: #ffffee;
}
.cars-maker-card.comming-soon{
    position: relative;
    background-color:#FFFFEF;
}
.cars-maker-card.comming-soon::before{
    position: absolute;
    top: 5px;
    left: 5px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    box-shadow: 0 0 5px #ED1A3D;
    border-radius: 50%;
    background: #ED1A3D;
    color: white;
    font-size: 0.8rem;
    text-align: center;
    text-transform: uppercase;
    content: 'new';
}
.cars-maker-card-inner{
    position: relative;
    flex-direction: column;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 7px;
}
.cars-maker-card-inner .car-img{
    position: relative;
}
.cars-maker-card-inner img:first-child{
    display: block;
    width: 90%;
    margin: 5% auto;
}
.cars-maker-card-inner img.status{
    position: absolute;
    width: 90%;
    top: 0;
    right: 0;
    left: 0;
    margin: auto;
}
.cars-maker-card-inner img.status-2{
    position: absolute;
    top: -15%;
}
.cars-catd-price{
    display: flex;
    justify-content: center;
    align-items: center;
}
.cars-maker-card .link-card{
    text-decoration: none;
    color: #333333;
}
.cars-maker-card .link-button{
    font-weight: bold;
    background: #116a97;
    color: #ffffff;
    width: 100%;
    padding: 2%;
    border-radius: 35px;
    margin: 10px 0 5px;
    text-decoration: none;
    text-align: center;
    font-size: 12px;
}
.cars-maker-card .link-button::after{
    content: "▲";
    position: absolute;
    right: 15px;
    transform: rotate(90deg);
}
.cars-card-title{
    text-align: center;
    font-size: 12px;
    line-height: 1.5em;
}
.cars-card-discription{
    text-align: center;
    font-size: 10px;
    color: #aaaaaa;
}
.tx-center{
    text-align: center;
}
.bg-pink{
    background-color: #ed1a3d;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    padding: 2px;
}
.cars-catd-price-left p{
    font-size: 14px;
    text-align: center;
    line-height: 1.3;
}
.cars-catd-price-left p span{
    display: block;
    font-size:10px;
}
.cars-catd-price-right p{
    margin-left:5px;
    font-size:18px;
}
.tokusen_subject{
    position: absolute;
    font-size:10px;
    top:5px;
    right:5px;
}

/*フロート追従バナーここから*/
.float-banner{
    position: fixed;
    bottom: 40px;
    right: 10px;
    padding: 0 0 50px 0;
    z-index: 2;
    line-height: 0;
}
.float-banner.none{
    display: none;
}
.float-banner img{
    max-width: 180px;
}
#close-button{
    position: absolute;
    top: -40px;
    right: 0px;
    width: 40px;
    height: 40px;
    color: #aaaaaa;
    font-size: 30px;
    border: 2px solid #dddddd;
}


/*CTAメールフォームここから*/
.input-line{
    overflow: hidden;
}
.input-line .label{
    font-weight: bold;
    font-size:14px;
    margin-top:10px;
}
.input-line span.hissu{
    margin-left:10px;
    color:#0075a8;
    background-color:#ffff00;
    border-radius: 3px;
    font-weight: bold;
    font-size:14px;
}
.input-line .form-item input[type="text"],
.input-line .form-item input[type="email"],
.input-line .form-item input[type="tel"],
.input-line .form-item input[type="date"],
.input-line textarea{
    padding: 7px;
    font-size:14px;
}
.input-line textarea{
    max-height:200px;
}
.input-line.kojin{
    text-align: center;
    margin-top:20px;
    margin-bottom:20px;
}
input[type='submit']{
    font-family:'LineSeed';
    font-size:1.3em;
    background-color: #eb6812;
    color:#ffffff;
    border-radius: 7px;
    min-width: 250px;
    margin:auto;
    text-decoration: none;
    display: table;
    text-align: center;
    padding: 10px
}
.privacy-policy{
    border: 1px solid #dddddd;
    background-color: #f5f5f5;
    color: #333333;
    padding: 15px;
    height: 100px;
    overflow-y: scroll;
    margin-bottom: 20px;
}

/* 未掲載車種 */
.other-car-block-inner{
    max-width: 950px;
    padding: 30px 15px;
    margin: auto;
}
.other-car-block-inner .pc{
    display: none;
}
.other-car-block-inner .sp{
    display: block;
}

/*CTAメールフォームここまで*/

.go-to-top{
    display: none!important;
}

.contact-block{
    padding: 30px 0;
}
.contact-block-inner{
    width: 90%;
    margin:auto;
}

@media screen and (min-width: 481px){
    /*必要ならばここにコードを書く*/
    .header-container{
        display: block;
    }
    .single-post .so-wrap{
        width: 100%;
    }
    .title-blueribbon{
        text-align: center;
    }
    .maker-link{
        max-width: 950px;
        margin: auto;
        margin-bottom: 10px;
    }
    .maker-link a{
        width: 8%;
        margin-left: 2.2%;
        margin-right: 2.2%;
    }
    .cars-maker-card{
        width: 24%;
    }
    .cars-maker-inner, .sokunou-maker-inner{
        max-width: 950px;
        margin:auto;
    }
    .contact-block{
        padding: 50px 0;
    }
    .contact-block-inner{
        max-width:650px;
        margin:auto;
    }
    
    .campaign-slider{
        max-width: 950px;
    }
    .cpbanner-pc{
        display: block;
    }
    .cpbanner-sp{
        display: none;
    }

    .float-banner{
        padding: 10px 20px;
    }
    .float-banner img{
        max-width: 322px;
    }
    #close-button{
        top: -30px;
        right: 20px;
    }

    /* 即納車 */
    .sokunou-maker-inner{
        gap: 15px;
    }

    /* 未掲載車種 */
    .other-car-block-inner{
        padding: 30px 0;
    }
    .other-car-block-inner .pc{
        display: block;
    }
    .other-car-block-inner .sp{
        display: none;
    }
}

@media screen and (min-width: 950px){
    .search-block{
        padding: 30px;
    }
    .car-tab .tab-label{
        font-size: 18px;
    }
    .tab-active:checked+.tab-label+.tab-content {
        padding: 30px 30px 25px 30px;
    }
    .maker{
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .maker img{
        width: 130%!important;
    }
    .bodytype img{
        width: 90%;
    }
    .maker a, .bodytype a{
        font-size: 14px;
    }
    .sokunou-item p{
        font-size: 15px;
        padding-top: 15px;
    }
    .sokunou-btn{
        padding: 10px;
        margin: 15px auto;
    }
    .sokunou-btn a{
        font-size: 18px;
    }
}
