@charset "utf-8";

.single_stock_wrapper {
  margin: 6rem auto 18rem;
  width: 121rem;
  font-family: var(--NotoSerif);
}


/* --------Car Detail Section-------- */

.car_detail_section {
  width: 100%;
  height: fit-content;
}

.car_name {
  font-size: 3rem;
  line-height: 4.1rem;
  font-weight: 500;
  /* width: 70rem; */
}

.car_information_wrapper {
  margin-top: 2rem;
  min-height: 57.7rem;
  display: grid;
  grid-template-columns: 70rem 49.5rem;
  column-gap: 1.5rem;
}

.car_photo_wrapper {
  width: 70rem;
  height: 44rem;
  position: relative;
}

.car_photo_garelly {
  width: 70rem;
  height: 44rem;
}

.car_photo {
  width: 70rem;
  height: 44rem;
}

.car_photo.active {
  display: block;
}

.photo_garelly_wrapper {
  width: 70rem;
  height: 44rem;
}

.slider_thumbnail {
  margin-top: 3.5rem;
  width: 70rem;
  height: 10rem;
}

.thumbnail_slider_wrapper {
  width: 16.5rem;
  height: 10rem;
  display: flex;
  gap: .65rem;
}

.swiper-slide.thumbnail_slide_image {
  width: 16.5rem !important;
  height: 10rem;
}

.swiper-button-prev::after {
  content: "<";
  border-radius: 0 .5rem .5rem 0;
  left: -.6rem;
}

.swiper-button-next::after {
  content: ">";
  border-radius: .5rem 0 0 .5rem;
  right: -.6rem;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  width: 3.5rem;
  height: 6rem;
  color: #FFFFFF;
  background-color: #DC010B;
  font-size: 2rem;
  font-weight: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  margin: 0 !important;
}

.swiper-button-disabled {
  display: none;
}

/* ----text area---- */
.car_text_wrapper {
  width: 49.5rem;
}

.payable_text {
  font-size: 2rem;
  line-height: 2.7rem;
  font-weight: 500;
}

.payable_price {
  margin-top: .5rem;
  font-size: 2rem;
  line-height: 2.7rem;
  color: #DC010B;
  font-weight: 500;
}

.base_price {
  margin-top: .5rem;
  font-size: 1.6rem;
  line-height: 2.2rem;
  font-weight: 500;
}

.car_details {
  font-size: 1.6rem;
  line-height: 2.2rem;
  font-weight: 500;
}

.car_detail_text,
.single_annotation {
  margin-top: 2rem;
  width: 100%;
  font-size: 1.6rem;
  line-height: 2.2rem;
  font-weight: 500;
}

.contact_notice {
  margin-top: 3rem;
  font-size: 1.6rem;
  line-height: 2.2rem;
}


/* --------spec list-------- */

.spec_list_wrapper {
  width: 121rem;
  margin: 5.5rem auto 0;
}

.spec_list {
  width: 100%;
  height: fit-content;
  display: grid;
  grid-template-columns: 30.3rem 30.2rem 30.3rem 30.2rem;
  border-top: .1rem solid #2F3C5E;
  font-size: 1.6rem;
  grid-template-columns: 2fr 1fr;
  margin-top: 5rem;
}

.spec_list dt {
  /* width: 30.3rem; */
  min-height: 4rem;
  background-color: #FAFAF6;
  border-right: .1rem solid #2F3C5E;
  border-bottom: .1rem solid #2F3C5E;
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  align-items: center;
  border-left: .1rem solid #2F3C5E;
}

.spec_list dt:first-of-type {
  border-left: .1rem solid #2F3C5E;
}

.spec_list dt:nth-of-type(even) {
  border-left: .1rem solid #2F3C5E;
}

.spec_list dd {
  /* width: 30.2rem; */
  min-height: 4rem;
  border-right: .1rem solid #2F3C5E;
  border-bottom: .1rem solid #2F3C5E;
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  align-items: center;
}

.spec_list .first_data_cell {
  /* width: 90.7rem; */
  font-weight: 500;
  color: #DC010B;
  /* grid-column-start: 2; */
  /* grid-column-end: 5; */
}

.button_link {
  margin: 5rem auto 0;
  width: 21rem;
  height: 6rem;
  color: #FFFFFF;
  font-size: 2rem;
  letter-spacing: .3rem;
  background-color: #2F3C5E;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.stock_car_button {
  font-size: 2rem;
  letter-spacing: .3rem;
  cursor: pointer;
}


/* --------contact form-------- */

.stock_contact_section {
  margin: 8.5rem auto 0;
  width: 100rem;
}

.cont_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem calc(16.1rem - 13.95rem) 1.5rem 0;
  border-top: 0.1rem solid;
}

.subject_select,
.cont_input {
  width: 61rem;
  border: 0.1rem solid;
  border-radius: 0.5rem;
  font-size: 1.8rem;
  padding: 0.55rem 1.5rem;
}

.subject_select {
  padding-right: 4.5rem;
}

.cont_select {
  position: relative;
}

.cont_select::before {
  /* content: ''; */
  width: 1.8rem;
  height: 1.53rem;
  background-color: #000000;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  position: absolute;
  top: 2.8rem;
  right: 4rem;
  z-index: -1;
}

.cont_title {
  font-size: 1.8rem;
  line-height: calc(24 / 18);
}

.cont_title span {
  color: #D50000;
}

.item_message {
  align-items: normal;
  border-bottom: 0.1rem solid;
  margin-bottom: 5rem;
}

.item_message .cont_title {
  margin-top: 1rem;
}

.item_message .cont_input {
  height: 25rem;
  resize: none;
}

/* 送信ボタン */
.contact_submit_wrap {
  display: flex;
  /* margin: 0 auto; */
}

.contct_submit {
  width: 21rem;
  height: 6rem;
  color: #FFFFFF;
  background-color: #2F3C5E;
  margin: 0 auto;
  cursor: pointer;
}

.contct_submit input {
  width: 100%;
  font-size: 2rem;
  letter-spacing: calc(3em / 20);
  padding: 1.6rem 0;
  cursor: pointer;
}

/* .wpcf7-not-valid-tip {
  display: none;
} */
.wpcf7-not-valid {
  background-color: #FFDEDE;
  border: 0.1rem solid #DC010B;
}


/* --------car list -------- */

.car_list_section {
  margin: 8.5rem auto 0;
  width: 100%;
  height: fit-content;
  display: flex;
  gap: 3rem;
}

.stocks_detail {
  width: 28rem;
  height: fit-content;
  padding: 1rem;
  background-color: #FAFAF6;
}

.stocks_name {
  font-size: 2rem;
  font-weight: 500;
  line-height: 2.5rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.stocks_image {
  margin-top: 1.6rem;
  width: 26rem;
  height: 15rem;
}

.stocks_data {
  margin-top: 1.5rem;
  width: 26rem;
  padding: 2rem 1rem;
  background-color: #FFFFFF;
  border: .05rem solid #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stocks_amount_text {
  font-size: 2rem;
  font-weight: 500;
  line-height: 2.5rem;
}

.stocks_amount_pay {
  font-size: 2rem;
  font-weight: 500;
  color: #DC010B;
  line-height: 2.5rem;
  text-align: center;
  margin: .5rem 0 .7rem;
}

.stocks_text {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.2rem;
  text-align: center;
}

.stocks_line {
  margin-top: 1.5rem;
  width: 24rem;
  height: .05rem;
  background-color: #000000;
}

.stocks_data_list {
  margin-top: 1.5rem;
}

.stocks_data_list dt {
  width: 24rem;
  height: 2.5rem;
  background-color: #DC010B;
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  line-height: 2.2rem;
  color: #FFFFFF;
  font-weight: 500;
  display: flex;
  justify-content: center;
}

.stocks_data_list dd+dt {
  margin-top: 1rem;
}

.stocks_data_list dd {
  margin-top: .4rem;
  font-size: 1.6rem;
  line-height: 2.2rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
}

.stocks_button_link {
  margin-top: .5rem;
  width: 26rem;
  height: 5rem;
  background-color: #303C5D;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stocks_button {
  font-size: 2rem;
  color: #FFFFFF;
  line-height: 2.7rem;
  letter-spacing: .23rem;
  cursor: pointer;
}

.last_button_link {
  margin-top: 4rem;
}


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

  .single_stock_wrapper {
    margin: 3rem auto 15rem;
    width: 35.5rem;
    font-family: var(--NotoSerif);
  }


  /* --------Car Detail Section-------- */

  .car_detail_section {
    margin: 0 auto;
    width: 33.5rem;
    height: fit-content;
  }

  .car_name {
    font-size: 2rem;
    line-height: 2.7rem;
    font-weight: 400;
  }

  .car_information_wrapper {
    min-height: fit-content;
    grid-template-columns: 33.5rem;
    column-gap: 0;
  }

  .car_photo_wrapper {
    width: 33.5rem;
    height: 21rem;
  }

  .car_photo_garelly {
    width: 33.5rem;
    height: 21rem;
  }

  .car_photo {
    width: 33.5rem;
    height: 21rem;
  }

  .photo_garelly_wrapper {
    width: 33.5rem;
    height: 21rem;
  }

  .slider_thumbnail {
    margin-top: 2rem;
    width: 33.5rem;
    height: 4.242rem;
  }

  .thumbnail_slider_wrapper {
    width: 7rem;
    height: 4.242rem;
    display: flex;
    gap: 0.91665rem;
  }

  .swiper-slide.thumbnail_slide_image {
    width: 7rem !important;
    height: 4.242rem;
  }

  .swiper-button-prev::after {
    left: -1rem;
  }

  .swiper-button-next::after {
    right: -1rem;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    width: 3.5rem;
    height: 5rem;
  }

  /* ----text area---- */
  .car_text_wrapper {
    width: 33.5rem;
    margin-top: 8.242rem;
  }

  .payable_text {
    margin: 0;
    text-align: center;
  }

  .payable_price {
    margin: .6rem 0 .5rem;
    text-align: center;
  }

  .base_price {
    margin: 0;
    text-align: center;
  }

  .car_details {
    margin: 0;
    text-align: center;
  }

  .car_details+.car_details {
    margin-top: .5rem;
  }

  .base_price {
    font-size: 1.6rem;
    line-height: 2.2rem;
    font-weight: 500;
  }

  .car_detail_text,
  .single_annotation {
    margin-top: 3rem;
    font-weight: 400;
  }

  .phone_number {
    margin-top: 2rem;
    width: 33.5rem;
    justify-content: start;
    justify-content: center;
    padding-left: 0;
  }

  .telephone_icon {
    width: 3.162rem;
    height: 3.5rem;
  }

  .phone_number_text {
    margin-left: 1.038rem;
  }

  .contact_notice {
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: 500;
  }


  /* --------spec list-------- */

  .spec_list_wrapper {
    width: 33.5rem;
    margin: 4rem auto 0;
  }

  .spec_list {
    grid-template-columns: 33.5rem;
    border-top: .1rem solid #2F3C5E;
  }

  .spec_list dt {
    width: 33.5rem;
    min-height: 4rem;
    background-color: #FAFAF6;
    border-right: .1rem solid #2F3C5E;
    border-left: .1rem solid #2F3C5E;
    border-bottom: .1rem solid #2F3C5E;
    padding-left: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .spec_list dd {
    width: 33.5rem;
    min-height: 4rem;
    border-right: .1rem solid #2F3C5E;
    border-left: .1rem solid #2F3C5E;
    border-bottom: .1rem solid #2F3C5E;
    padding-left: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .spec_list .first_data_cell {
    width: 33.5rem;
    font-weight: 500;
    color: #DC010B;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  .button_link {
    margin: .5rem auto 0;
    width: 100%;
    height: 5rem;
    color: #FFFFFF;
    font-size: 1.8rem;
    letter-spacing: .27rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .last_button_link {
    margin-top: 1rem;
  }

  /* --------contact form-------- */


  .stock_contact_section {
    width: 33.5rem;
    margin: 3rem auto 0;
  }

  .contact_wrap {
    width: 33.5rem;
    margin: 0;
    padding: 0;
  }

  .cont_item {
    flex-direction: column;
    gap: 0.5rem;
    align-items: start;
    padding: 1rem 0 0.9rem;
  }

  .subject_select,
  .cont_input {
    width: 100%;
    padding: 0.55rem 0.5rem;
  }

  .subject_select {
    width: 33.5rem;
    padding-right: 1rem;
  }

  .cont_select::before {
    content: '';
    width: 1.8rem;
    height: 1.53rem;
    top: 5.2rem;
    right: 1.3rem;
    z-index: -1;
  }

  .item_message {
    margin-bottom: 2rem;
  }

  .item_message .cont_title {
    margin-top: 0;
  }

  .item_message .cont_input {
    height: 36rem;
  }

  /* 送信ボタン */
  .contct_submit {
    width: 100%;
    height: 5rem;
  }

  .contct_submit input {
    width: 100%;
    height: 100%;
    font-size: 1.8rem;
    letter-spacing: calc(2.7em / 18);
    padding: 1.1rem 0;
  }


  /* --------car list -------- */

  .car_list_section {
    margin: 4rem auto 0;
    flex-direction: column;
    gap: 2rem;
  }

  .stocks_detail {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .stocks_image {
    width: 33.5rem;
    height: 20rem;
  }

  .stocks_data {
    margin-top: 1.5rem;
    width: 33.5rem;
    padding: 2rem 1.7rem;
    background-color: #FFFFFF;
    border: .05rem solid #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .stocks_line {
    width: 30rem;

  }

  .stocks_data_list {
    margin-top: 1.5rem;
  }

  .stocks_data_list dt {
    width: 30rem;
  }

  .stocks_button_link {
    width: 33.5rem;
  }

  .stock_car_button {
    letter-spacing: .27rem;
  }

  .pc_only {
    display: none;
  }

}