/*==================================================
sp pc
==================================================*/
@media all and (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
}

@media all and (min-width: 769px) {
  .sp-only {
    display: none !important;
  }
}
@media all and (max-width: 768px) {
  .sp-only {
    display: block;
  }
}

/*--------------------------------------
brand
----------------------------------------*/
.brands {
  display: grid;
  gap: 3.5rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 6rem;
}
@media all and (max-width: 1280px) {
  .brands {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media all and (max-width: 768px) {
  .brands {
    gap: 4rem;
    grid-template-columns: 1fr;
  }
}

.brand {
  background-color: #fff;
  border-radius: 0.8rem;
  box-shadow: 0 0 1.6rem rgba(142, 126, 102, 0.3);
  padding: 3rem;
  scroll-margin-top: 15rem;
}
.brand__logo {
  text-align: center;
}
.brand__logo-img {
  max-width: 20rem;
  width: 100%;
}
.brand__logo-name {
  display: block;
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-top: 0.5em;
}
.brand__btns {
  display: grid;
  gap: 1em;
  justify-items: center;
  margin-top: 1.5em;
  text-align: center;
}
.brand__btns .m-btn {
  max-width: 26rem;
  width: 100%;
}