@charset "UTF-8";
/*--------------------------------
 車種選択 レイアウト
---------------------------------*/
body {
  margin-bottom: 64px !important;
}

/*--------------------------------
 車種カテゴリナビ
---------------------------------*/
.car-category-nav {
  margin-bottom: 24px;
  position: sticky;
  /*top: 125px;*/
  top: 73px;
  background-color: #fff;
  z-index: 1;
}

.car-category-nav__nav {
  overflow-x: auto;
}

.car-category-nav__list {
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-wrap: nowrap;
}

.car-category-nav__item {
  white-space: nowrap;
  margin: 4px 0;
}

.car-category-nav__item:last-child {
  margin-right: 0;
}

.car-category-nav__item a {
  display: block;
  color: #333;
  text-decoration: none;
  line-height: 1;
  font-size: 14px;
  padding: 8px 16px 8px 32px;
  background-image: url(../images/common/icon_arrow-down.svg);
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: 8px center;
  font-weight: bold;
  transition: 0.3s;
  border-radius: 30px;
}

.car-category-nav__item a:hover {
  background-color: #fef1f1;
  background-image: url(../images/common/icon_arrow-down-red.svg);
}

/*--------------------------------
 車種一覧
---------------------------------*/
.car-select__item {
  margin-bottom: 56px;
}

.car-select__item:last-child {
  margin-bottom: 40px;
}

.car-select__title {
  margin-bottom: 24px;
  padding: 8px 0 8px 16px;
  font-weight: bold;
  font-size: 24px;
  border-bottom: 1px solid #d9d8d8;
  border-left: 5px solid #cc0000;
}

.car-list__list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -24px;
}

.car-list__item {
  margin-right: 24px;
  margin-bottom: 24px;
  width: calc(25% - 72px / 4);
  text-decoration: none;
  color: #333;
  display: block;
  border: 2px solid #f2f2f2;
  padding: 22px;
  border-radius: 8px;
  cursor: pointer;
}

.car-list__item:hover {
  border: 2px solid #cc0000;
  /* outline-offset: -1px; */
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.12);
}

.car-list__item.is-selected {
  border: 2px solid #cc0000;
  /* outline-offset: -1px; */
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.12);
}

.car-list__item:nth-child(4n) {
  margin-right: 0;
}

.car-card__thumb {
  text-align: center;
  margin-bottom: 10px;
}

.car-card__thumb img {
  max-width: 100%;
  height: auto;
}

.car-card__title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 4px;
}

.car-card__name {
  font-size: 14px;
  margin-bottom: 15px;
}

.car-card__price {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.car-card__fuel {
  font-size: 14px;
  color: #8e8b8b;
}

.car-list__group {
  margin-bottom: 40px;
}

.car-list__group-title {
  margin-bottom: 16px;
}

/*media Queries 850
----------------------------------------------------*/
@media screen and (max-width: 850px) {
  /*--------------------------------
 レイアウト
---------------------------------*/
  body {
    margin-bottom: 76px !important;
  }

  /*--------------------------------
 車種カテゴリナビ
---------------------------------*/
  .car-category-nav {
    /*top: 166px;*/
    /*top: 119px;*/
    /*position: static;*/
    top: 0;
  }

  /*--------------------------------
 車種一覧
---------------------------------*/
  .car-category-nav__item a {
    transition: none;
  }

  .car-category-nav__item a:hover {
    background-color: transparent;
    background-image: url(../images/common/icon_arrow-down.svg);
  }

  .car-list__item {
    margin-right: 15px;
    margin-bottom: 16px;
    width: calc(50% - 15px / 2);

    border: 2px solid #f2f2f2;
    padding: 8px;
  }
  .car-list__item:nth-child(2n) {
    margin-right: 0;
  }
}
