.category-search {
  background-color: #efefef;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 2400px;
}

.category-search .ec-newsRole {
  padding: 0;
  margin: 0 100px;
}

.category-search .ec-secHeading {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.category-search .ec-secHeading__en {
  font-size: 48px;
  font-family: var(--title-sans);
  letter-spacing: -1px;
  font-weight: bold;
  text-transform: uppercase;
}

.category-search .uni-heading .ttl {
  margin-bottom: 40px;
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
}

.category-search .item-list {
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  gap: 30px;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.category-search .item {
  width: 100%;
  padding-bottom: 0px;
  padding-top: 0px;
  box-sizing: border-box;
  text-align: center;
}

.category-search .item a:hover {
  opacity: 0.8;
}

.category-search .item-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%;
}

.category-search .item-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-search .item-text p {
  font-size: 24px;
  font-family: var(--title-sans);
  font-weight: bold;
}

.category-search .item-text {
  width: 100%;
  font-size: 12px;
  position: absolute;
  color: #ffffff;
  top: 50%;
  transform: translate(0, -50%);
}

@media screen and (max-width: 1280.9px) and (min-width: 769px) {
  .category-search .ec-newsRole {
    margin: 0 3.125vw;
  }

  .category-search .ec-secHeading__en {
    font-size: 3.75vw;
  }

  .category-search .uni-heading .ttl {
    font-size: 1.563vw;
  }

  .category-search .item-list {
    gap: 1.563vw;
  }

  .category-search .item-text p {
    font-size: 1.875vw;
  }

  .category-search .item-text {
    font-size: 0.938vw;
  }
}

@media screen and (max-width: 768.9px) and (min-width: 521px) {
  .category-search {
    padding: 0 2.605vw;
  }

  .category-search .ec-newsRole {
    margin: 0 2.604vw;
  }

  .category-search .ec-secHeading__en {
    font-size: 4.688vw;
    letter-spacing: -0.13vw;
  }

  .category-search .uni-heading .ttl {
    font-size: 2.345vw;
  }

  .category-search .item-list {
    grid-template-columns: auto auto auto auto;
    gap: 1.953vw;
  }

  .category-search .item-text p {
    font-size: 2.344vw;
  }

  .category-search .item-text {
    font-size: 1.563vw;
  }
}

@media screen and (max-width: 520.9px) {
  .category-search {
    padding: 0 5.128vw;
  }

  .category-search .ec-newsRole {
    margin: 0;
  }

  .category-search .ec-secHeading__en {
    /* font-size: 6.923vw; */
    font-size: 9.231vw;
  }

  .category-search .uni-heading .ttl {
    font-size: 4.615vw;
  }

  .category-search .item-list {
    grid-template-columns: auto auto auto;
    gap: 1.923vw;
  }

  .category-search .item-text p {
    font-size: 3.462vw;
  }

  .category-search .item-text {
    font-size: 2.308vw;
  }
}
