@charset "UTF-8";

/* brandlistArea */
.brandlistArea .sub-inner {
  padding-top: 30px;
  padding-bottom: 120px;
}
.brandlistArea .sub-inner ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 30px;
}
.brand-card .brand-img-fix {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 3px 6px 0 rgb(0 0 0 / 30%);
}
.brand-card .brand-img-fix::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgb(0 0 0 / 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}
.brand-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}
.brand-card img {
  padding: 30px 30px 40px;
}
.brand-card .slide-btn {
  position: absolute;
  right: 30px;
  bottom: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-gold);
  border-radius: 50%;
  transition: background-color 0.4s ease;
}
.brand-card .slide-btn::before,
.brand-card .slide-btn::after {
  content: "";
  position: absolute;
}
.brand-card .slide-btn::before {
  left: 12px;
  width: 16px;
  height: 2px;
  background-color: var(--color-white);
  transition: width 0.4s ease;
}
.brand-card .slide-btn::after {
  right: 12px;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
  transform: rotate(45deg);
  transition: right 0.4s ease;
}
.brand-card:hover img {
  transform: scale(1.05);
}
.brand-card:hover .brand-img-fix::before {
  opacity: 1;
}
.brand-card:hover .slide-btn {
  background-color: var(--color-main-text);
}
.brand-card:hover .slide-btn::before {
  width: 20px;
}
.brand-card:hover .slide-btn::after {
  right: 6px;
}
.brandlistArea .btnArea {
  display: flex;
  justify-content: flex-end;
  padding-top: 80px;
}

@media screen and (max-width: 1000px) {
/* brandlistArea */
  .brandlistArea .sub-inner {
    padding-top: 20px;
    padding-bottom: 80px;
  }
  .brandlistArea .sub-inner ul {
    gap: 16px;
  }
  .brand-card img {
    padding: 20px 16px 30px;
  }
  .brand-card .slide-btn {
    bottom: 30px;
  }
}

@media screen and (max-width: 768px) {
/* brandlistArea */
  .brandlistArea  .sub-inner {
    padding-bottom: 40px;
  }
  .brandlistArea .sub-inner ul {
    display: block;
    max-width: 600px;
    margin: 0 auto;
  }
  .brandlistArea .sub-inner ul li {
    margin-bottom: 30px;
  }
  .brand-card img {
    padding: 40px 60px 40px 30px;
  }
}

@media screen and (max-width: 600px) {
/* brandlistArea */
  .brandlistArea  .sub-inner {
    padding-bottom: 40px;
  }
  .brandlistArea .sub-inner ul li {
    margin-bottom: 20px;
  }
  .brand-card img {
    padding-left: 20px;
    padding-right: 36px;
  }
  .brand-card .slide-btn {
    right: 20px;
  }
}
