@charset "UTF-8";
/*--------------------------------
 タイプ・カラー選択 レイアウト
---------------------------------*/
.page-specification {
  position: fixed;
  width: 100%;
}

.page-specification-contents__inner {
  display: flex;
  align-items: flex-start;
}

.page-specification-main {
  position: sticky;
  top: 125px;
  flex: 1;
  padding-left: 10%;
  margin-right: 2%;
}

.page-specification-side {
  flex: 0 1 496px;
  background-color: #f2f2f2;
  padding: 24px 134px 24px 24px;
}

.page-specification-side__inner {
  height: calc(100vh - 261px) !important; /* 100+73+24+64 */
  padding-right: 24px;
  overflow-y: auto;
}

@media not screen and (max-width: 850px) {
  .slf-header-caution ~ .page-specification-contents .page-specification-side__inner {
    height: calc(100vh - 329px) !important; /* 100+141+24+64 */
  }
}

.page-specification-side__inner::-webkit-scrollbar {
  width: 8px;
}

.page-specification-side__inner::-webkit-scrollbar-track {
  background-color: #f2f2f2;
  border-radius: 6px;
}

.page-specification-side__inner::-webkit-scrollbar-thumb {
  background-color: #a7a4a4;
  border-radius: 6px;
}

/*--------------------------------
車体画像
---------------------------------*/
.selected-car-view {
  position: relative;
  height: auto;
  background-color: #fff;
}

.selected-car-view img {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 900px;
}

.selected-car-view__preview {
  cursor: pointer;
}

.selected-car-view .car-view3d::after  {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  content: "";
  width: 60px;
  height: 60px;
  background-image: url(../images/common/icon_3dview.png);
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.selected-car-view__interior {
  display: none;
}

.sp-selected-car-view__interior {
  display: none;
}

/*--------------------------------
メニュー
---------------------------------*/
.specification-menu-note {
  font-size: 12px;
  line-height: 1.2;
  padding-bottom: 20px;
}

.specification-menu-note:empty {
  margin-bottom: -20px;
}

.specification-menu__item {
  margin-bottom: 70px;
}

.specification-menu__title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.specification-menu__title::before,
.specification-menu__title::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #d9d8d8;
}

.specification-menu__title::before {
  margin-right: 12px;
}

.specification-menu__title::after {
  margin-left: 12px;
}

.specification-menu__body + .specification-menu__title {
  font-size: 16px;
  font-weight: unset;
  margin-top: 24px;
}

/*--------------------------------
タイプを選択
---------------------------------*/
.grade-menu {
  margin-bottom: 8px;
}

.grade-menu__list li { /* li.grade-menu__item , li.grade-plan__item */
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 16px;
  position: relative;
  margin: 0 2px;
  background-color: #fff;
  border-radius: 8px;
  border: 2px solid #fff;
}

.grade-menu__list li + li {
  margin-top: 15px;
}

.grade-menu__list li:hover {
  border: 2px solid #c8191e;
  border-radius: 6px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.12);
}

.grade-menu__item.is-selected {
  border: 2px solid #c8191e;
  border-radius: 6px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.12);
}

.grade-menu__item .icon-pickup {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 56px;
  height: 56px;
}

.grade-menu__thumb {
  flex: 0 1 120px;
  margin-right: 20px;
}

.grade-menu__desc {
  flex: 1;
}

.grade-plan__item .grade-menu__desc {
  padding: 4px 0;
}

.grade-plan__item .grade-plan {
  position: absolute;
  top: 4px;
  right: 4px;
  color: #C00;
  font-weight: bold;
  font-size: 14px;
  background-image: url(../images/common/icon_external-red.svg);
  background-repeat: no-repeat;
  background-position: 100% center;
  background-size: 16px;
  padding-right: 18px;
}

.grade-menu__name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.grade-menu__text {
  font-size: 14px;
  line-height: 1.4;
  color: #747171;
}

.grade-menu-links {
  text-align: center;
}

.grade-menu-links__test {
  display: block;
  margin-bottom: 8px;
  width: 100%;
  padding: 12px;
}

.grade-menu-links__test .btn-text {
  background-image: url(../images/common/icon_question-red.svg);
  background-repeat: no-repeat;
  background-position: 0 center;
  background-size: 20px;
  padding: 12px 12px 12px 24px;
}

.grade-menu-links__compare {
  display: block;
  font-size: 14px;
  color: #5a5959;
  padding: 12px 0;
  text-align: center;
  width: 100%;
  border-radius: 50px;
  transition: 0.3s;
}

.grade-menu-links__compare .btn-text {
  background-image: url(../images/common/icon_external.svg);
  background-repeat: no-repeat;
  background-position: 100% center;
  background-size: 20px;
  padding: 8px 24px 8px 8px;
}

.grade-menu-links__compare:hover {
  background-color: #fff;
}

/*--------------------------------
カラーを選択(ボティカラー・インテリアカラー共通)
---------------------------------*/
.color-menu__list,
.interior-color-menu__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.color-menu__item,
.interior-color-menu__item {
  position: relative;
}

:is(.color-menu__item, .interior-color-menu__item).is-selected::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  content: "";
  width: 24px;
  height: 24px;
  transition: 0.3s;
  transform: translate(-50%, -50%);
  background-color: #000;
  border: 2px solid #fff;
  border-radius: 50%;
}

:is(.color-menu__item, .interior-color-menu__item).is-selected::after {
  position: absolute;
  display: block;
  content: "";
  transform: rotate(45deg);
  top: 13px;
  left: 17px;
  width: 7px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.color-menu__display-name,
.interior-color-menu__display-name {
  text-align: center;
  font-size: 16px;
  margin-bottom: 16px;
}

.color-menu__name,
.interior-color-menu__name {
  display: none;
}

.btn-color {
  width: 40px;
  height: 40px;
  overflow: hidden;
  display: block;
  border-radius: 4px;
  cursor: pointer;
}

.btn-color::after {
  content: "";
  width: 41px;
  height: 41px;
  position: absolute;
  top: -1px;
  left: -1px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

/*--------------------------------
仕様を選択
---------------------------------*/
.select-specification__item {
  margin-bottom: 16px;
}

.select-specification__item:last-child {
  margin-bottom: 0;
}

.select-specification__title {
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  color: #3c3b3b;
}

/* 仕様選択ボタン(見積り結果比較にもあるためこのページのみ対応） */
.btns-select__btn {
  border: 1px solid #ccc;
  color: #ccc;
}

.btns-select__btn--left {
  border-left: 1px solid #cccc;
}

.btns-select__btn--right {
  border: 1px solid #ccc;
}

.btns-select__btn.is-selected {
  color: #fff !important;
}

/* disabled 非表示 */
.btns-select__btn.is-disabled {
  display: none;
}

/* hover効果 */
@media (hover: hover) {
  .btns-select__btn:not(.is-selected):hover {
    border-color: #e04638;
    color: inherit;
  }
}

/* disabledの前後ボタン 左右丸くする対応*/
.is-disabled + .btns-select__btn  {
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

.btns-select__btn:has( + .is-disabled ) {
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
}

/* disabledの前後ボタン 3個の真ん中の場合のみ戻す */
.btns-select__btn:has( + .is-disabled + .btns-select__btn:not(.is-disabled)) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btns-select__btn:not(.is-disabled) + .is-disabled + .btns-select__btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/*--------------------------------
メイン画像切替用
---------------------------------*/
.img_switching {
    height: 70px;
    margin-bottom: 10px;
}


/*media Queries 1400
----------------------------------------------------*/
@media screen and (max-width: 1400px) {
  .page-specification-side {
    flex: 0 1 436px;
    padding: 24px 72px 0 24px;
    margin-bottom: 64px;
  }
}

/*media Queries 1100
----------------------------------------------------*/
@media screen and (max-width: 1100px) {
  .page-specification-main {
    padding-left: 16px;
  }

  .car-name-header__name {
    font-size: 24px;
    padding: 4px 0;
  }

/*  .car-name-header__desc {
    font-size: 14px;
    padding-left: 16px;
  }*/
}

/*media Queries 850
----------------------------------------------------*/
@media screen and (max-width: 850px) {

  .page-specification {
    position: unset;
    padding-bottom: 76px; /* bottom-bar height*/
  }

  .page-specification-contents__inner {
    display: block;
  }

  .page-specification-main {
    top: 166px;
    z-index: 100;
    padding-left: 0;
  }

  .car-name-header {
    display: none;
  }

  .selected-car-view {
    display: none;
  }

  .selected-car-view {
    height: 250px;
    z-index: 100;
    background-color: #fff;
  }

  .page-specification-side {
    margin: 15px 0 0;
    padding: 24px 0 0 0;
    border-radius: 32px 32px 0 0;
    width: 100%;
  }

  .page-specification-side__inner {
    padding: 0 32px;
    height: auto !important;
    
  }

  .specification-menu {
    margin-bottom: 0;
  }

  /* 切替用 */
  .img_switching {
    height: 40px;
    margin-bottom: 40px;
  }

 .select-interior-color {
    margin-bottom: 40px;
  }

  .sp-btn-prev {
    padding-bottom: 84px;
  }
}
