.home_category {
  background-color: #f3f4f4;
  padding: 8.2rem 0 8.1rem;
  overflow: hidden;
}
.home_category .head {
  position: relative;
  display: inline-block;
}
.home_category .head .mask_img {
  position: absolute;
  width: 5.3rem;
  height: 5.3rem;
  left: 116%;
  top: 10%;
}
.home_category .head .mask_img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.home_category .list {
  margin-top: 6.4rem;
}
.home_category .list ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.home_category .item a {
  display: block;
  height: 100%;
  background-color: #fff;
  border: 1px solid #e0e0e0;
}
.home_category .item a:hover img {
  transform: scale(1.05);
}
.home_category .item .img {
  width: 100%;
  padding-bottom: 81.23249%;
}
.home_category .item .title {
  font-size: 1.9rem;
  font-weight: 600;
  text-align: center;
  padding: 1.2rem 2rem 3rem;
}
.home_category p.center:has(.btn) {
  margin-top: 5.7rem;
}
@media screen and (max-width: 768px) {
  .home_category {
    padding: 4rem 0;
  }
  .home_category .head .mask_img {
    width: 2rem;
    height: 2rem;
    left: 100%;
    top: 0;
  }
  .home_category .list {
    margin-top: 2rem;
  }
  .home_category .list ul {
    grid-template-columns: 1fr 1fr;
  }
  .home_category .item .title {
    font-size: 16px;
    padding: 1rem 10px;
  }
  .home_category p.center:has(.btn) {
    margin-top: 2rem;
  }
}
@media screen and (min-width: 640px) and (max-width: 768px) {
  .home_category .list ul {
    grid-template-columns: repeat(3, 1fr);
  }
}
