@charset "UTF-8";
.page-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .page-title {
    font-size: 20px;
    margin-bottom: 16px;
  }
}

.result-count {
  text-align: center;
  margin-bottom: 24px;
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  .result-count {
    font-size: 14px;
    margin-bottom: 16px;
  }
}
.result-count span {
  margin: 0 4px;
}

.attribute-images-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media screen and (max-width: 767px) {
  .attribute-images-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 24px;
  }
}

.attribute-image-item {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 141.4%; /* A4比率 */
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 4px;
  cursor: pointer;
}
.attribute-image-item .attribute-image,
.attribute-image-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s;
}
.attribute-image-item:hover .attribute-image,
.attribute-image-item:hover img {
  opacity: 0.8;
}

.pagination-wrapper {
  margin: 32px 0;
  display: flex;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  .pagination-wrapper {
    margin: 24px 0;
  }
}

.back-to-talent {
  text-align: center;
  margin: 40px 0;
}
@media screen and (max-width: 767px) {
  .back-to-talent {
    margin: 32px 0;
  }
}
.back-to-talent a {
  display: inline-block;
  min-width: 300px;
}
@media screen and (max-width: 767px) {
  .back-to-talent a {
    min-width: 240px;
    font-size: 14px;
  }
}