@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Poppins:wght@700&display=swap");

.car-search-form {
   background-color: #fff;
   font-weight: 700;
   font-size: 13px;
   line-height: 20px;
   letter-spacing: 0;
   box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
   padding: 20px 20px;
}

.car-search-form .item:not(:last-child) {
   padding-bottom: 15px;
}

.car-search-form label {
   display: block;
   line-height: inherit;
   padding-bottom: 5px;
}

.car-search-form ul {
   display: grid;
   grid-template-columns: 1fr 23px;
   list-style: none;
   padding: 0;
}

.car-search-form ul li:nth-child(2) {
   text-align: right;
   padding: 7px 0;
}

.car-search-form select {
   display: block;
   width: 100%;
   border: 1px solid #E3E3E3;
   border-radius: 3px;
   font-size: 13px;
   line-height: 25px;
   padding: 7px 5px;
}

.car-search-form select+select {
   margin-top: 10px;
}

.car-search-form button {
   display: block;
   width: 100%;
   height: 50px;
   background-color: #A62125;
   color: #fff;
   border-radius: 3px;
   border: 0;
}
@media screen and (max-width: 767px) {
   .car-search-form .item {
      padding-left: 70px;
      position: relative;
   }
   .car-search-form label {
      position: absolute;
      top: 7px;
      left: 0;
      padding-bottom: 0;
   }
}

/* -- -- */
.stock-car-list {
   font-family: "Noto Sans JP", sans-serif;
   color: #313131;
   padding: 30px 50px 160px;
}

.stock-car-list .wrap {
   display: grid;
   grid-template-columns: 250px 1fr;
   align-items: flex-start;
   gap: 50px;
   width: 100%;
   max-width: 1500px;
   margin: 0 auto;
}

.stock-car-list .box article {
   display: grid;
   grid-template-columns: 350px 1fr;
   align-items: center;
   gap: 20px;
}

.stock-car-list .box article+article {
   margin-top: 35px;
}

.stock-car-list .box figure {
   position: relative;
}

.stock-car-list .box figure a {
   display: block;
   width: 100%;
   padding-top: 250px;
   position: relative;
   background-color: #FAFAFA;
}

.stock-car-list .box figure a img {
   width: 100%;
   max-width: inherit;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
   object-fit: cover;
}

.stock-car-list .box figure figcaption {
   width: 52px;
   position: absolute;
   top: 0;
   right: 0;
}

.stock-car-list .box .text {
   font-weight: 500;
   font-size: 16px;
   line-height: 24px;
   letter-spacing: 0.05em;
}

.stock-car-list .box .tags {
   display: flex;
   align-items: center;
}

.stock-car-list .box .tags .maker {
   flex: 1 0 0;
   font-weight: 700;
}

.stock-car-list .box .tags p:not(.maker, .status) {
   display: inline-block;
   background-color: #FAFAFA;
   font-size: 13px;
   letter-spacing: 0.05em;
   line-height: 19px;
   padding: 4px 15px 5px;
}

.stock-car-list .box .title a {
   color: inherit;
}

.stock-car-list .box .title a:hover {
   text-decoration: underline;
}

.stock-car-list .box .preview {
   display: grid;
   grid-template-columns: repeat(6, 1fr);
   gap: 20px;
}

.stock-car-list .box .preview dt {
   font-size: 14px;
}

.stock-car-list .box .preview dd {
   font-weight: 700;
   font-size: 14px;
   margin-left: 0;
}

.stock-car-list .box .preview dd span {
   font-size: 16px;
}

.stock-car-list .pagination {
   justify-content: center;
   padding: 0 50px;
}

.stock-car-list .pagination ul {
   display: flex;
   justify-content: center;
   gap: 20px;
   list-style: none;
   padding: 0;
}

@media screen and (max-width: 1440px) {
   .stock-car-list .box article {
      grid-template-columns: 30% 1fr;
   }

   .stock-car-list .box figure a {
      padding-top: 71.4%;
   }

   .stock-car-list .box .preview {
      grid-template-columns: repeat(3, 1fr);
   }
}

@media screen and (max-width: 1023px) {
   .stock-car-list .box article {
      grid-template-columns: 1fr;
   }
}

@media screen and (max-width: 767px) {
   .stock-car-list {
      padding: 30px 20px 50px;
   }

   .stock-car-list .wrap {
      grid-template-columns: 1fr;
   }

   .stock-car-list .box .tags {
      justify-content: flex-end;
      flex-wrap: wrap;
      padding-top: 30px;
   }

   .stock-car-list .box .tags .maker {
      width: 100%;
      flex: inherit;
   }

   .stock-car-list .box .preview {
      grid-template-columns: repeat(2, 1fr);
   }
}

/* -- -- */
.stock-car-details {
   font-family: "Noto Sans JP", sans-serif;
   color: #313131;
   padding: 30px 50px 160px;
}

.stock-car-details p {
   margin: 0;
}

.stock-car-details .wrap {
   width: 100%;
   max-width: 1280px;
   margin: 0 auto;
   padding: 0;
   box-sizing: border-box;
}

.car-sns-share {
   display: flex;
   justify-content: flex-end;
   gap: 15px;
}

.car-sns-share a {
   display: block;
   width: 36px;
}

.car-sns-share a img {
   display: block;
}

.car-tags {
   display: flex;
   align-items: center;
   gap: 2px;
   padding-top: 45px;
}

.car-tags .maker {
   flex: 1 0 0;
   font-weight: 700;
   font-size: 16px;
   letter-spacing: 0.05em;
   line-height: 24px;
}

.car-tags .status {
   color: #A62125;
   font-family: "Poppins", sans-serif;
   font-weight: 700;
   font-style: italic;
   font-size: 34px;
   letter-spacing: 0.05em;
   line-height: 48px;
   padding-left: 14px;
}

.car-tags p:not(.maker, .status) {
   display: inline-block;
   background-color: #FAFAFA;
   font-size: 13px;
   letter-spacing: 0.05em;
   line-height: 19px;
   padding: 4px 15px 5px;
}

.car-title {
   font-weight: 500;
   font-size: 20px;
   letter-spacing: 0.05em;
   line-height: 30px;
   margin: 20px 0;
}

.car-information {
   display: flex;
   justify-content: center;
   gap: 30px;
}

.car-information-gallery {
   width: 735px;
   max-height: 811px;
   overflow-y: auto;
}

.car-information-gallery .swiper-button-prev,
.car-information-gallery .swiper-button-next {
   display: none;
}

.car-information-gallery .acfgl-grid {
   gap: 24px;
}

.car-information-gallery .acfgl-main {
   background: #fff;
   border-radius: 0;
   position: sticky;
   top: 0;
   z-index: 2;
}

.car-information-gallery .acfgl-thumbs {
   padding: 0;
}

.car-information-gallery .acfgl-thumbs .swiper-wrapper {
   transform: translate3d(0px, 0px, 0px) !important;
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 10px;
}

.car-information-gallery .acfgl-thumbs .swiper-slide {
   width: 100% !important;
   margin-right: 0 !important;
}

.car-information-gallery .acfgl-thumb-img {
   border-radius: 0;
}

.car-information-details {
   width: 515px;
}

.car-info-preview {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 25px 10px;
}

.car-info-preview dl dt {
   font-weight: 400;
   font-size: 12px;
   letter-spacing: 0.05em;
   line-height: 17px;
}

.car-info-preview dl dd {
   font-weight: 700;
   font-size: 15px;
   letter-spacing: 0;
   line-height: 35px;
   margin-left: 0;
   padding-top: 13px;
}

.car-info-preview dl dd span {
   font-size: 20px;
}

.car-info-preview .carprice {
   font-size: 20px;
}

.car-info-preview .carprice span {
   font-size: 24px;
}

.car-info-preview .allprice,
.car-info-preview .year {
   font-size: 20px;
}

.car-info-preview .allprice span,
.car-info-preview .year span {
   font-size: 30px;
}

.car-info-table {
   padding-top: 24px;
}

.car-info-table-item {
   display: flex;
   flex-wrap: wrap;
   gap: 0 20px;
}

.car-info-table-item:not(:last-child) {
   padding-bottom: 24px;
}

.car-info-table h3 {
   width: 100%;
   font-weight: 700;
   font-size: 14px;
   letter-spacing: 0.05em;
   line-height: 20px;
   margin: 0 0 6px;
}

.car-info-table table {
   width: calc(50% - 10px);
   table-layout: fixed;
   margin: 0;
}

.car-info-table table th,
.car-info-table table td {
   height: 50px;
   font-weight: 400;
   font-size: 12px;
   letter-spacing: 0.05em;
   line-height: 17px;
   vertical-align: middle;
   background-color: #fff;
   border: 1px solid #DDDDDD;
   padding: 0;
}

.car-info-table table th {
   background-color: #FAFAFA;
   text-align: center;
   width: 102px;
}

.car-info-table table td {
   padding: 0 10px;
}

.car-info-table table tbody>tr:nth-child(odd)>th,
.car-info-table table tbody>tr:nth-child(even)>th {
   background-color: #FAFAFA;
}

.car-info-table table tbody>tr:nth-child(odd)>td,
.car-info-table table tbody>tr:nth-child(even)>td {
   background-color: #fff;
}

.car-specifications {
   max-width: 1000px;
   font-size: 14px;
   letter-spacing: 0.05em;
   line-height: 20px;
   margin: 0 auto;
   padding-top: 40px;
}

.car-specifications h3 {
   font-weight: 700;
   font-size: 14px;
   letter-spacing: 0.05em;
   line-height: 20px;
   margin: 0 0 14px;
}

.car-specifications .text {
   border: 1px solid #DDDDDD;
   padding: 20px;
}

.car-post-content {
   max-width: 726px;
   font-family: "Noto Serif JP", serif;
   font-weight: 400;
   font-size: 15px;
   line-height: 30px;
   margin: 0 auto;
   padding-top: 70px;
}

.car-post-content>*,
.car-post-content p {
   margin-bottom: 30px;
}

.car-post-content>*:last-child,
.car-post-content p:last-child {
   margin-bottom: 0;
}

.car-post-content iframe {
   width: 100%;
   height: 100%;
   aspect-ratio: 3 / 2;
}

.car-mailform {
   background-color: #FAFAFA;
   max-width: 1000px;
   margin: 80px auto 0;
   padding: 60px 30px;
   font-weight: 500;
   font-size: 14px;
   letter-spacing: 0.05em;
   line-height: 20px;
}

.car-mailform h3 {
   text-align: center;
   font-weight: 500;
   font-size: 20px;
   letter-spacing: 0.05em;
   line-height: 32px;
   margin: 0 0 42px;
}

.car-mailform .in {
   max-width: 700px;
   margin: 0 auto;
}

.car-mailform input:not([type="checkbox"], [type="radio"]),
.car-mailform textarea {
   display: block;
   width: 100%;
   background-color: #fff;
   border: 1px solid #E3E3E3;
   border-radius: 3px;
   font-size: 16px;
   line-height: 24px;
   padding: 14px 15px 13px;
}

.car-mailform textarea {
   height: 260px;
   resize: vertical;
}

.car-mailform .wpcf7-checkbox {
   display: flex;
   flex-direction: column;
   gap: 12px;
   line-height: 20px;
}

.car-mailform .wpcf7-checkbox .wpcf7-list-item {
   display: block;
   margin-left: 0;
   cursor: pointer;
}

.car-mailform .wpcf7-checkbox input {
   display: none;
}

.car-mailform .wpcf7-checkbox .wpcf7-list-item-label {
   display: inline-grid;
   grid-template-columns: 13px 1fr;
   align-items: center;
   gap: 10px;
   cursor: pointer;
}

.car-mailform .wpcf7-checkbox .wpcf7-list-item-label:before,
.car-mailform .wpcf7-checkbox .wpcf7-list-item-label:after {
   content: '';
   grid-area: 1/1;
   border-radius: 50%;
   margin: auto;
}

.car-mailform .wpcf7-checkbox .wpcf7-list-item-label:before {
   width: 13px;
   height: 13px;
   border: 1px solid #CBCBCB;
   background-color: #fff;
}

.car-mailform .wpcf7-checkbox .wpcf7-list-item-label:after {
   width: 9px;
   height: 9px;
   background-color: #CBCBCB;
   display: none;
}

.car-mailform .wpcf7-checkbox input:checked+.wpcf7-list-item-label:after {
   display: block;
}

.car-mailform ::-webkit-input-placeholder {
   color: #D5D5D5;
}

.car-mailform ::-moz-placeholder {
   color: #D5D5D5;
}

.car-mailform :-ms-input-placeholder {
   color: #D5D5D5;
}

.car-mailform :-moz-placeholder {
   color: #D5D5D5;
}

.car-mailform .form-row {
   display: grid;
   grid-template-columns: 200px 1fr;
   gap: 15px;
}

.car-mailform .form-row:not(:last-child) {
   padding-bottom: 20px;
}

.car-mailform .form-row .caption {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   padding: 18px 0 0;
}

.car-mailform .form-row .caption span {
   display: block;
   width: 30px;
   background-color: #A62125;
   color: #fff;
   text-align: center;
   border-radius: 2px;
   font-size: 11px;
   line-height: 18px;
}

.car-mailform .form-row .input [data-name="your-postal-code"] input {
   width: 130px;
}

.car-mailform .form-row .input [data-name="your-tel"] input {
   width: 250px;
}

.car-mailform .form-row .input [data-name="checkbox-819"] a {
   color: inherit;
   text-decoration: underline;
}

.car-mailform .form-row .input [data-name="checkbox-819"] a:hover {
   text-decoration: none;
}

.car-mailform .form-row.checkbox .caption {
   padding-top: 0;
}

.car-mailform .form-btn {
   padding-top: 25px;
}

.car-mailform .form-btn input {
   width: 443px;
   height: 51px;
   background-color: #A62125;
   border: 1px solid #E3E3E3;
   color: #fff;
   font-size: 14px;
   margin: 0 auto;
   transition: all 0.3s;
}

.car-mailform .form-btn input:hover {
   opacity: 0.7;
}

.car-mailform .wpcf7-spinner,
.car-mailform [data-name="post-title"] {
   display: none;
}

@media screen and (max-width: 1440px) {
   .car-information-gallery {
      width: calc(100% - 545px);
   }
}

@media screen and (max-width: 1023px) {
   .car-information {
      flex-direction: column;
      align-items: center;
   }

   .car-information-gallery {
      width: 100%;
      max-height: inherit;
   }

   .car-information-gallery .acfgl-main {
      position: relative;
   }
}

@media screen and (max-width: 767px) {
   .stock-car-details {
      padding: 30px 20px 50px;
   }

   .car-tags {
      justify-content: flex-end;
      flex-wrap: wrap;
      padding-top: 30px;
   }

   .car-tags .maker {
      width: 100%;
      flex: inherit;
   }

   .car-information-details {
      width: 100%;
   }

   .car-info-preview {
      gap: 20px 10px;
   }

   .car-info-table-item {
      flex-direction: column;
   }

   .car-info-table table {
      width: 100%;
   }

   .car-info-table table+table tr:first-child th,
   .car-info-table table+table tr:first-child td {
      border-top: 0;
   }

   .car-mailform {
      padding: 40px 20px;
   }

   .car-mailform h3 {
      font-size: 16px;
      margin-bottom: 20px;
   }

   .car-mailform .form-row {
      grid-template-columns: 1fr;
   }

   .car-mailform .form-row .caption {
      justify-content: flex-start;
      gap: 10px;
      padding: 0;
   }

   .car-mailform .form-btn input {
      width: 100%;
   }
}

.car-toggle-link {
   display: none;
}

@media screen and (max-width: 767px) {
   .car-toggle-link {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 50px;
      border-radius: 3px;
      border: 0;
      background-color: #363636;
      color: #fff;
      margin-bottom: 0;
      position: relative;
      font-size: 16px;      
      letter-spacing: 0.2em;
   }

   .car-toggle-link:before{
      content: '';
      width: 8px;
      height: 8px;
      border-top: 2px solid #fff;
      border-right: 2px solid #fff;
      position: absolute;
      top: 50%;
      right: 20px;
      transform: translateY(-50%) rotate(135deg);
      transition: all 0.3s;
   }

   .car-toggle-link.is-active:before {
      transform: translateY(-50%) rotate(-45deg);
   }

   .car-search-form .in {
      display: none;
      margin-top: 10px;
   }
}