@charset "UTF-8";

/* ========================================
   SERVICE INTRO
======================================== */

.service-intro{
  padding: 3rem 0;
  background: #e9f4fd;
}

.service-intro__inner{
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: start;
  gap: clamp(32px, 7vw, 56px);
  width: min(80%, 1280px);
  margin: 0 auto;
}

.service-intro__heading h2{
  margin: 0;
  color: #0474c7;
  font-size: clamp(24px, 2.7vw, 32px);
  letter-spacing: 0.03em;
}

.service-intro__content{
  max-width: 960px;
}

.service-intro__content p{
  margin: 0;
  color: #000000;
  font-size: 16px;
  line-height: 2;
}

.service-intro__content p + p{
  margin-top: 24px;
}

.service-intro__content .service-intro__lead{
  color: #0474c7;
  font-size: 18px;
}

/* ========================================
   1024px以下
======================================== */

@media screen and (max-width: 1024px){
  .service-intro{
    padding: 80px 0;
  }

  .service-intro__inner{
    grid-template-columns: 1fr;
    gap: 36px;
    width: calc(100% - 80px);
  }
}

/* ========================================
   SP
======================================== */

@media screen and (max-width: 768px){
  .service-intro{
    padding: 64px 0 72px;
  }

  .service-intro__inner{
    gap: 28px;
    width: calc(100% - 40px);
  }

  .service-intro__heading h2{
    font-size: 26px;
    line-height: 1.6;
  }

  .service-intro__content .service-intro__lead{
    font-size: 15px;
    line-height: 1.9;
  }

  .service-intro__content p{
    font-size: 13px;
    line-height: 1.9;
  }

  .service-intro__content p + p{
    margin-top: 20px;
  }
}

/* ========================================
   414px以下
======================================== */

@media screen and (max-width: 414px){
  .service-intro__inner{
    width: calc(100% - 32px);
  }

  .service-intro__heading h2{
    font-size: 24px;
  }

  .service-intro__content p{
    font-size: 12px;
  }
}

/* ========================================
   VEHICLE GALLERY
======================================== */

.vehicle-gallery{
  padding: 120px 0;
  background: #ffffff;
}

.vehicle-gallery__inner{
  width: min(80%, 1280px);
  margin: 0 auto;
}

.vehicle-gallery__heading{
  margin-bottom: 56px;
  text-align: center;
}

.vehicle-gallery__en{
  margin: 0;
  color: #0474c7;
  font-size: 12px;
  line-height: 1.5;
}

.vehicle-gallery__heading h2{
  position: relative;
  margin: 4px 0 0;
  padding-bottom: 16px;
  color: #0474c7;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1.4;
}

.vehicle-gallery__heading h2::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 2px;
  background: #7fb5e6;
  transform: translateX(-50%);
}

.vehicle-gallery__lead{
  max-width: 880px;
  margin: 26px auto 0;
  color: #000000;
  font-size: 16px;
  line-height: 1.9;
}

.vehicle-gallery__list{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.vehicle-gallery__item{
  min-width: 0;
}

.vehicle-gallery__item h3{
  margin: 0 0 14px;
  color: #0474c7;
  font-size: 22px;
  line-height: 1.5;
  text-align: center;
}

.vehicle-gallery__main{
  overflow: hidden;
  background: #f2f2f2;
}

.vehicle-gallery__main img{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  opacity: 1;
  transition:
    opacity 0.25s ease,
    transform 0.4s ease;
}

.vehicle-gallery__main img.is-changing{
  opacity: 0;
  transform: scale(0.98);
}

.vehicle-gallery__thumbs{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.vehicle-gallery__thumb{
  display: block;
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    opacity 0.25s ease;
}

.vehicle-gallery__thumb:hover{
  opacity: 0.72;
}

.vehicle-gallery__thumb.is-active{
  border-color: #0474c7;
  width: 100%!important;
  height: 100%!important;
}

@media screen and (max-width: 1024px){
  .vehicle-gallery{
    padding: 100px 0;
  }

  .vehicle-gallery__inner{
    width: min(88%, 1280px);
  }

  .vehicle-gallery__list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px){
  .vehicle-gallery{
    padding: 88px 0;
  }

  .vehicle-gallery__inner{
    width: min(90%, 1280px);
  }

  .vehicle-gallery__heading{
    margin-bottom: 40px;
  }

  .vehicle-gallery__heading h2{
    font-size: 26px;
  }

  .vehicle-gallery__lead{
    font-size: 12px;
    line-height: 1.9;
  }

  .vehicle-gallery__list{
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .vehicle-gallery__item h3{
    font-size: 20px;
  }

  .vehicle-gallery__thumbs{
    gap: 5px;
  }
}

/* ========================================
   VEHICLE SUPPORT
======================================== */

.vehicle-support{
  padding: 0 0 3rem;
  background: #ffffff;
}

.vehicle-support__lead{
  padding: 18px 20px;
  background: #e9f4fd;
  text-align: center;
}

.vehicle-support__lead p{
  margin: 0;
  color: #0474c7;
  font-size: 16px;
  line-height: 1.6;
}

.vehicle-support__inner{
  width: min(80%, 1280px);
  margin: 0 auto;
}

/* ========================================
   全国車両検索
======================================== */

.vehicle-support__search{
  padding-top: 32px;
  text-align: center;
}

.vehicle-support__search-image{
  width: min(100%, 760px);
  margin: 0 auto;
}

.vehicle-support__search-image img{
  display: block;
  width: 100%;
  height: auto;
}

.vehicle-support__search-image--sp{
  display: none !important;
}

.vehicle-support__search-text{
  max-width: 1000px;
  margin: 32px auto 0;
}

.vehicle-support__search-text p{
  margin: 0;
  color: #000000;
  font-size: 15px;
  line-height: 1.9;
}

.vehicle-support__search-text p + p{
  margin-top: 4px;
}

/* ========================================
   納車後サポート
======================================== */

.vehicle-support__after{
  margin-top: 88px;
}

.vehicle-support__heading{
  text-align: center;
}

.vehicle-support__heading p{
  margin: 0;
  color: #0474c7;
  font-size: 12px;
  line-height: 1.5;
}

.vehicle-support__heading h2{
  position: relative;
  margin: 4px 0 0;
  padding-bottom: 16px;
  color: #0474c7;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1.4;
}

.vehicle-support__heading h2::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 2px;
  background: #7fb5e6;
  transform: translateX(-50%);
}

.vehicle-support__intro{
  margin-top: 38px;
  text-align: center;
}

.vehicle-support__intro h3{
  margin: 0;
  color: #0474c7;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.6;
}

.vehicle-support__intro p{
  margin: 20px 0 0;
  color: #000000;
  font-size: 15px;
  line-height: 1.9;
}

/* ========================================
   サポートカード
======================================== */

.vehicle-support__list{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.vehicle-support__card{
  padding: 28px 20px 24px;
  background: #ffffff;
  border: 1px solid #7fb5e6;
  border-radius: 10px;
  text-align: center;
}

.vehicle-support__card img{
  display: block;
  width: min(100%, 120px);
  height: auto;
  margin: 0 auto 20px;
}

.vehicle-support__card h4{
  margin: 0;
  color: #000000;
  font-size: 17px;
  line-height: 1.6;
}

.vehicle-support__card p{
  margin: 14px 0 0;
  color: #000000;
  font-size: 13px;
  line-height: 1.8;
}

.vehicle-support__button{
  display: flex;
  margin: 32px auto 0;
}

/* ========================================
   1024px以下
======================================== */

@media screen and (max-width: 1024px){
  .vehicle-support{
    padding-bottom: 2rem;
  }

  .vehicle-support__inner{
    width: min(88%, 1280px);
  }

  .vehicle-support__list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========================================
   SP
======================================== */

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

  .vehicle-support__lead{
    padding: 14px 20px;
  }

  .vehicle-support__lead p{
    font-size: 13px;
  }

  .vehicle-support__inner{
    width: min(90%, 1280px);
  }

  .vehicle-support__search{
    padding-top: 28px;
  }

  .vehicle-support__search-image--pc{
    display: none !important;
  }

  .vehicle-support__search-image--sp{
    display: block !important;
  }

  .vehicle-support__search-text{
    margin-top: 24px;
    text-align: left;
  }

  .vehicle-support__search-text p{
    font-size: 12px;
    line-height: 1.9;
  }

  .vehicle-support__search-text p + p{
    margin-top: 14px;
  }

  .vehicle-support__after{
    margin-top: 72px;
  }

  .vehicle-support__heading h2{
    font-size: 26px;
  }

  .vehicle-support__intro{
    margin-top: 30px;
  }

  .vehicle-support__intro h3{
    font-size: 20px;
  }

  .vehicle-support__intro p{
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.9;
  }

  .vehicle-support__list{
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 30px;
  }

  .vehicle-support__card{
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-areas:
      "image title"
      "image text";
    column-gap: 16px;
    align-items: center;
    padding: 18px 16px;
    text-align: left;
  }

  .vehicle-support__card img{
    grid-area: image;
    width: 76px;
    margin: 0;
  }

  .vehicle-support__card h4{
    grid-area: title;
    font-size: 15px;
  }

  .vehicle-support__card p{
    grid-area: text;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.7;
  }

  .vehicle-support__button{
    margin-top: 28px;
  }
}