@charset "utf-8";

.banner-top{
  background:#F2F1ED;
  padding:5rem 5% 0;
  text-align:center;
}

.banner-top > img{
  width: 430px;
  margin: 0 auto;
  opacity:0;
  transform: translateX(150%);
  transition:1.5s ease-in-out;
}

.banner-top > img.fadeUp{
  transform: none;
  opacity:1;
}


.banner-bottom{
  letter-spacing: 4px;
  padding:3.5rem 5%;
  background:#67CCB4;
  color:#fff;
  text-align:center;
  font-size:clamp(1.25rem, 0.977rem + 0.91vw, 2rem);
}

.banner-wrap{ 
  display:flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 100px;
  margin-bottom: -1rem;
}

.banner-item{ 
  background:#67CCB4;
  color:#fff;
  padding:10px;
  font-size:clamp(0.75rem, 0.568rem + 0.61vw, 1.25rem);
  border-radius:10px;
  width: 30%;
  max-width: 420px;
}

.banner-item:nth-child(2){
  transform: translateY(-100px);
  animation-delay:0.5s;
}

.banner-item:nth-child(3){
  animation-delay:1s;
}

.banner-item strong{
  font-size:clamp(0.875rem, 0.466rem + 1.36vw, 2rem);
  font-weight:bold;
}

.banner-item img{
  margin:1rem auto 0;
}

.banner-item:first-child img{
  width:90px;
}

.banner-item:nth-child(2) img{
  width:140px;
}

.banner-item:nth-child(3) img{
  width:120px;
}

.service-top::before{
  width: 18%;
  left:5%;
  aspect-ratio:  647/668;
  background: url(https://kmotors.jp/system_panel/uploads/images/20251001164444767841.png) no-repeat center / contain;
}

.service{
  margin:7.5rem 0;
}

.service .container{
  max-width:1345px;
}

.service-wrap{
  display: flex;
  flex-wrap: wrap;
  gap: 5rem 2.5%;
  margin-top: 4rem;
}

.service-item{
  background: #fff;
  border-radius: 1rem;
  padding: 2.5rem 1.5rem 1rem;
  position: relative;
  width:calc((100% - 7.5%)/4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size:14px;
}

.service-item::before{
  content:"";
  position:absolute;
  width:2.5rem;
  aspect-ratio:1/1;
  background:#67CCB4;
  top:0;
  left:0;
}

.service-item h3{
  text-align:center;
  font-size:clamp(1rem, 0.909rem + 0.3vw, 1.25rem);
  margin-bottom:8px;
}

.service-item img{
  width:70%;
  margin:1rem auto 0;
  aspect-ratio: 4 / 3;
}

.service-item img.big{
  width: 85%;
  margin: 0 auto 1rem;
  aspect-ratio: 2 / 1;
}

.service-item img.small{
  padding:1.5rem 0;
}

.service-top-txt h2{
  font-size:clamp(1.25rem, 0.977rem + 0.91vw, 2rem);
}

@media screen and (max-width: 1400px) {
  .service-wrap {
    gap: 3rem 2.5%;
  }
  .service-item{
    width: calc((100% - 5%) / 3);
  }
}

@media screen and (max-width: 1024px) {
  .service-wrap {
    gap: 1rem 2.5%;
    max-width: 650px;
    margin: 4rem auto 0;
  }
  .service-item {
    width: calc((100% - 2.5%) / 2);
  }
  .banner-item:first-child img {
    width: 60px;
  }
  .banner-item:nth-child(2) img {
    width: 100px;
  }
  .banner-item:nth-child(3) img {
    width: 80px;
  }
  .banner-wrap{
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .banner-wrap{
    gap: 1rem 5%;
    flex-wrap: wrap;
    margin:0 0 2.5rem;
  }
  .banner-item{
    width: 47.5%;
    font-size: 10px;
    padding: 4px;
  }
  .banner-item:first-child{
    margin: 0 20%;
  }
  .banner-top > img {
    width: 80%;
  }
  .banner-item:nth-child(2){
    transform:none;
  }
  .banner-item:first-child img {
    width: 48px;
  }
  .banner-item:nth-child(2) img {
    width: 64px;
  }
  .banner-item:nth-child(3) img {
    width: 55px;
  }
  .banner-item img {
    margin: 8px auto 0;
  }
  .banner-top {
    padding: 3rem 5% 0;
  }
  .banner-bottom {
    letter-spacing: 2px;
    padding: 2rem 5%;
  }
  .service{
    margin:4rem 0;
  }
  .service-item {
    width: 100%;
    padding: 1rem;
  }
  .service-item img {
    width: 40%;
  }
  .service-item img.big {
    width: 50%;
    margin: 4px auto 0;
  }
  .service-item::before{
    width: 20px;
  }
  .service-item img.small {
    padding: 1rem 0;
  }
  .service-wrap{
    margin-top:2.5rem;
  }
  .lower-fv{
    margin:0;
  }
  .service-top::before {
    width: 30%;
    left: 0%;
    top: 5%;
  }
  .service-top > img {
    width: 95%;
  }
}