@charset "UTF-8";

/* ================================================= *
 *        	common
 * ================================================= */
.car-search {
    width: min(92%, 980px);
    margin-inline: auto;
    padding: min(8vw, 60px) 0;
    color: #626262;
}

.car-search a {
    /* display: block; */
    color: currentColor;
}

.car-search-title {
    margin-bottom: 25px;
    padding-bottom: 15px;
    font-size: 2.4rem;
    font-weight: bold;
    border-bottom: 1px solid #C9C9C9;
}

@media screen and (max-width: 640px) {
    .car-search-title {
        margin-bottom: 15px;
        font-size: 1.8rem;
    }
}

.car-search-title::before {
    content: "";
    display: inline-block;
    width: 51px;
    margin-right: 0.5em;
    aspect-ratio: 103/69;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
}

.manufacturer-carmodel .car-search-title::before {
    background-image: url(../img/car_search/title_icon01@2x.png);
}

.body-type .car-search-title::before {
    background-image: url(../img/car_search/title_icon02@2x.png);
}

.body-color .car-search-title::before {
    background-image: url(../img/car_search/title_icon03@2x.png);
}

.vehicle-price .car-search-title::before {
    background-image: url(../img/car_search/title_icon04@2x.png);
}

.store-classification .car-search-title::before {
    background-image: url(../img/car_search/title_icon05@2x.png);
}

.vehicle-classification .car-search-title::before {
    background-image: url(../img/car_search/title_icon06@2x.png);
}

.other-specialties .car-search-title::before {
    background-image: url(../img/car_search/title_icon07@2x.png);
}

.popularity-ranking .car-search-title::before {
    background-image: url(../img/car_search/title_icon08@2x.png);
}

@media screen and (max-width: 640px) {
    .car-search-title::before {
        width: 30px;
    }
}

.car-search-inner {
    background-color: #EEEEEB;
}

/* ================================================= *
 *        	メーカー・車種から探す
 * ================================================= */
.tab-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 20px;
}

.tab-menu__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 177px;
    height: 167px;
    background-color: #EEEEEB;
    -webkit-box-shadow: 2.1409px 2.1409px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 2.1409px 2.1409px 0 rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .tab-menu__item {
        width: calc((100% - 40px) / 3);
        height: auto;
        padding: min(1.3333333333vw, 10px) 0;
    }
}

.tab-menu__item:hover {
    background-color: #CD0E22;
}

.tab-menu__item:hover .tab-menu__title {
    color: #fff;
}

.tab-menu__title {
    margin-top: 10px;
    font-size: 1.7rem;
    font-weight: bold;
}

.tab-menu__img {
    width: min(87.0056497175%, 154px);
    height: auto;
}

.tab-content {
    margin-top: 40px;
}

.tab-content__item {
    display: none;
}

.tab-content__title {
    position: relative;
    display: inline-block;
    font-size: 2.1rem;
}

.tab-content__title::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -15px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border: 0;
    border-top: solid 1.5px #626262;
    border-right: solid 1.5px #626262;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.carmodel-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    text-align: center;
}

@media screen and (max-width: 640px) {
    .carmodel-list {
        gap: 10px 20px;
        margin-top: 15px;
    }
}

.carmodel-list__item {
    width: 177px;
    height: 167px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .carmodel-list__item {
        width: calc((100% - 40px) / 3);
        height: auto;
    }
}

.carmodel-list__img {
    max-width: 100%;
    height: auto;
}

.carmodel-list__caption {
    color: #DA0000;
    font-size: 1.6rem;
    font-weight: bold;
}

.carmodel-list__caption span {
    display: block;
    font-size: 0.75em;
    font-weight: normal;
}

/* ================================================= *
 *        	ボディタイプから探す
 * ================================================= */
.body-type {
    margin-top: 90px;
}

@media screen and (max-width: 640px) {
    .body-type {
        margin-top: min(8vw, 60px);
    }
}

.body-type .car-search-inner {
    padding: min(6.6666666667vw, 50px) 4%;
}

.body-type-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 30px 25px;
    width: min(100%, 680px);
    margin-inline: auto;
}

@media screen and (max-width: 768px) {
    .body-type-list {
        gap: 15px;
    }
}

.body-type-list__item {
    /* リンク挿入の場合aタグに変更 */
    width: calc((100% - 50px) / 3);
    border-radius: 2px;
    background-color: #fff;
    -webkit-box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
    aspect-ratio: 210/156;
    cursor: pointer;
}

.body-type-list__item a {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .body-type-list__item {
        width: calc((100% - 30px) / 3);
    }
}

.body-type-list__item:hover {
    background-color: #CD0E22;
}

.body-type-list__item:hover .body-type-list__title {
    color: #fff;
}

.body-type-list__title {
    margin-top: 15px;
    color: #CD0E22;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.04em;
}

@media screen and (max-width: 768px) {
    .body-type-list__title {
        margin-top: min(2vw, 15px);
        font-size: min(2.4vw, 1.8rem);
    }
}

.body-type-list__img {
    width: 62%;
    max-width: 100%;
    height: auto;
}

/* ================================================= *
 *        	ボディカラーで探す
 * ================================================= */
.body-color {
    margin-top: min(8vw, 60px);
}

.body-color .car-search-inner {
    padding: min(5.3333333333vw, 40px) 4% min(3.3333333333vw, 25px);
}

.body-color-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 28px;
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
    margin-inline: auto;
}

@media screen and (max-width: 768px) {
    .body-color-list {
        gap: 15px;
    }
}

@media screen and (max-width: 640px) {
    .body-color-list__item {
        width: calc((100% - 75px) / 6);
    }
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip__color {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 5px solid #fff;
    border-radius: 1.956px;
    -webkit-box-shadow: 2.4621px 2.4621px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 2.4621px 2.4621px 0 rgba(0, 0, 0, 0.15);
}

.body-color-list__item:first-of-type .tooltip__color {
    position: relative;
    background-color: #fff;
}

.body-color-list__item:first-of-type .tooltip__color::before {
    content: "";
    position: absolute;
    width: 31px;
    height: 31px;
    border: 1px solid #CCC;
}

.body-color-list__item:nth-child(2) .tooltip__color {
    background-color: #000;
}

.body-color-list__item:nth-child(3) .tooltip__color {
    background-color: #999;
}

.body-color-list__item:nth-child(4) .tooltip__color {
    background-color: #ED1C24;
}

.body-color-list__item:nth-child(5) .tooltip__color {
    background-color: #0061E2;
}

.body-color-list__item:nth-child(6) .tooltip__color {
    background-color: #009245;
}

.body-color-list__item:nth-child(7) .tooltip__color {
    background-color: #FCEE21;
}

.body-color-list__item:nth-child(8) .tooltip__color {
    background-color: #FF95FF;
}

.body-color-list__item:nth-child(9) .tooltip__color {
    background-color: #8A5EAB;
}

.body-color-list__item:nth-child(10) .tooltip__color {
    background-color: #754C24;
}

.body-color-list__item:nth-child(11) .tooltip__color {
    background-color: #F7931E;
}

.body-color-list__item:nth-child(12) .tooltip__color {
    background-color: #FCE8C2;
}

.tooltip__text {
    position: absolute;
    left: 50%;
    bottom: 100%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin-bottom: 6px;
    padding: 0.3em 0.5em;
    border-radius: 6px;
    background-color: #CD0E22;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.04em;
    visibility: hidden;
    z-index: 1;
}

@media screen and (max-width: 640px) {
    .tooltip__text {
        font-size: 1rem;
    }
}

.tooltip:hover .tooltip__text {
    visibility: visible;
}

/* ================================================= *
 *        	車両本体価格から探す
 * ================================================= */
.vehicle-price {
    margin-top: min(8vw, 60px);
}

.vehicle-price .car-search-inner {
    padding: min(8vw, 60px) 4% min(6vw, 45px);
}

@media screen and (max-width: 640px) {
    .vehicle-price .car-search-inner {
        padding: min(6vw, 45px) 4%;
    }
}

.vehicle-price-search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: min(100%, 880px);
    margin-inline: auto;
}

@media screen and (max-width: 640px) {
    .vehicle-price-search {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

.vehicle-price-search .lower-limit,
.vehicle-price-search .upper-limit {
    width: 39.4318181818%;
    height: 48px;
    padding: 0.5em 1em;
    border: none;
    border-radius: 3.797px;
    background: url(../img/car_search/select_arrow.svg) no-repeat right 15px center/13px;
    background-color: #fff;
/*    color: #CCC;*/
    font-size: 1.5rem;
    font-weight: bold;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

@media screen and (max-width: 640px) {

    .vehicle-price-search .lower-limit,
    .vehicle-price-search .upper-limit {
        width: calc((100% - 35px) / 2);
    }
}

.vehicle-price-search .lower-limit option,
.vehicle-price-search .upper-limit option {
    color: #000;
    background-color: #E5E4E2;
}

.vehicle-price-search .search-text {
    width: 35px;
    color: #B3B3B3;
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
}

.vehicle-price-search .search-btn {
    width: 128px;
    height: 48px;
    margin-left: 20px;
    border: none;
    border-radius: 3.797px;
    background-color: #CD0E22;
    color: #fff;
    font-size: 2rem;
    -webkit-box-shadow: 2.8931px 2.8931px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 2.8931px 2.8931px 0 rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

@media screen and (max-width: 640px) {
    .vehicle-price-search .search-btn {
        width: 100%;
        margin: 10px 0 0;
    }
}

.vehicle-price-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 20px;
    width: min(100%, 880px);
    margin-inline: auto;
    margin-top: min(4vw, 30px);
}

@media screen and (max-width: 640px) {
    .vehicle-price-list {
        gap: 10px;
    }
}

.vehicle-price-list__item {
    width: calc((100% - 40px) / 3);
    height: 56px;
    border-radius: 3.726px;
    background-color: #fff;
    -webkit-box-shadow: 2.8931px 2.8931px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 2.8931px 2.8931px 0 rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.vehicle-price-list__item a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
}

@media screen and (max-width: 768px) {
    .vehicle-price-list__item {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
}

@media screen and (max-width: 640px) {
    .vehicle-price-list__item {
        width: calc((100% - 20px) / 2);
        height: 40px;
    }
}

.vehicle-price-list__item:hover {
    background-color: #CD0E22;
}

.vehicle-price-list__item:hover .vehicle-price-list__title,
.vehicle-price-list__item:hover .vehicle-price-list__title strong {
    color: #fff;
}

.vehicle-price-list__title {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 0.02em;
}

.vehicle-price-list__title strong {
    color: #C20017;
    font-size: 1.2142857143em;
}

/* ================================================= *
 *        	店舗から探す
 * ================================================= */
.store-classification {
    margin-top: 60px;
}

.store-classification .car-search-inner {
    padding: min(6.6666666667vw, 50px) 4%;
}

@media screen and (max-width: 640px) {
    .store-classification .car-search-inner {
        padding: min(5.3333333333vw, 40px) 4%;
    }
}

.store-classification-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
    margin-inline: auto;
}

@media screen and (max-width: 768px) {
    .store-classification-list {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 640px) {
    .store-classification-list {
        gap: 10px;
    }
}

.store-classification-list__item {
    width: 215px;
    height: 56px;
    border-radius: 3.726px;
    background-color: #fff;
    -webkit-box-shadow: 2.8931px 2.8931px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 2.8931px 2.8931px 0 rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.store-classification-list__item a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
}

@media screen and (max-width: 768px) {
    .store-classification-list__item {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
}

@media screen and (max-width: 640px) {
    .store-classification-list__item {
        width: calc((100% - 20px) / 2);
        height: 40px;
    }
}

.store-classification-list__item:hover {
    background-color: #CD0E22;
}

.store-classification-list__item:hover .store-classification-list__title {
    color: #fff;
}

.store-classification-list__title {
    font-size: 1.5rem;
    font-weight: bold;
}

/* ================================================= *
 *        	車両区分から探す
 * ================================================= */
.vehicle-classification {
    margin-top: min(8vw, 60px);
}

.vehicle-classification .car-search-inner {
    padding: min(6.6666666667vw, 50px) 4%;
}

@media screen and (max-width: 640px) {
    .vehicle-classification .car-search-inner {
        padding: min(5.3333333333vw, 40px) 4%;
    }
}

.vehicle-classification-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
    margin-inline: auto;
}

@media screen and (max-width: 640px) {
    .vehicle-classification-list {
        gap: 10px;
    }
}

.vehicle-classification-list__item {
    width: 359px;
    height: 56px;
    border-radius: 3.726px;
    background-color: #fff;
    -webkit-box-shadow: 2.8931px 2.8931px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 2.8931px 2.8931px 0 rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.vehicle-classification-list__item a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
}

@media screen and (max-width: 640px) {
    .vehicle-classification-list__item {
        height: 40px;
    }
}

.vehicle-classification-list__item:hover {
    background-color: #CD0E22;
}

.vehicle-classification-list__item:hover .vehicle-classification-list__title {
    color: #fff;
}

.vehicle-classification-list__title {
    font-size: 1.5rem;
    font-weight: bold;
}

/* ================================================= *
 *        	その他こだわりから探す
 * ================================================= */
.other-specialties {
    margin-top: min(8vw, 60px);
}

.other-specialties .car-search-inner {
    background-color: transparent;
}

.other-specialties-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.other-specialties-list__item {
    border: 1px solid #C9C9C9;
    border-radius: 1.239px;
    background-color: #fff;
    text-align: center;
    cursor: pointer;
}

.other-specialties-list__item:hover {
    background-color: #CD0E22;
}

.other-specialties-list__item:hover .other-specialties-list__title {
    color: #fff;
}

.other-specialties-list__title {
    display: block;
    padding: 1em 1.5em;
    color: #CD0E22;
    font-size: 1.4rem;
}

@media screen and (max-width: 640px) {
    .other-specialties-list__title {
        padding: 0.5em 1em;
    }
}

/* ================================================= *
 *        	人気ランキングから探す
 * ================================================= */
.popularity-ranking {
    margin-top: min(8vw, 60px);
}

.popularity-ranking-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 45px;
}

.popularity-ranking-list__item {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 180px;
    height: 188px;
    border-radius: 4px;
    background-color: #FDEF7D;
    cursor: pointer;
}

@media screen and (max-width: 640px) {

    .popularity-ranking-list__item {
        width: calc((100% - 20px) / 2);
        height: auto;
        padding: 20px 0 min(2.6666666667vw, 20px);
    }
}

.popularity-ranking-list a-inner,
.popularity-ranking-list__item-inner {
    width: 86.1111111111%;
    height: 135px;
    border-radius: 5.69px;
    background-color: #fff;
    text-align: center;
}

@media screen and (max-width: 640px) {

    .popularity-ranking-list a-inner,
    .popularity-ranking-list__item-inner {
        height: auto;
    }
}

.popularity-ranking-list__number {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    top: -25px;
}

.popularity-ranking-list__title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 35px;
    border-top-left-radius: 5.69px;
    border-top-right-radius: 5.69px;
    background-color: #FCC22A;
    font-size: 1rem;
    text-align: center;
}

.popularity-ranking-list__title strong {
    margin-top: -3px;
    margin-left: 0.2em;
    font-size: 1.4337602753em;
}

.popularity-ranking-list__img {
    max-width: 100%;
    height: auto;
}

/* ================================================= *
 *        	banner-area
 * ================================================= */
.banner-area {
    margin-top: min(12vw, 90px);
    text-align: center;
}

.banner-area img {
    max-width: 100%;
    height: auto;
}
