@charset "UTF-8";
/* CSS Document */
/*===メイン==============================*/
.workslist .inner {
  max-width: 1400px;
}
.gallery_list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -20px;
}
.gallery_list li {
  width: 23%;
  margin: 0 1% 10px;
  font-size: 0;
}
.gallery_list li a {
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 0%;
  width: 100%;
}
.gallery_list li a::before {
  content: '';
  display: block;
  padding-top: 85%;
}
.gallery_list li a img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.gallery_list li p.detail_text {
  padding: 3px;
  font-size: 0.85rem;
  margin-top: 5px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.gallery_list li a:hover img {
  opacity: 0.6;
}
.category {
  margin-bottom: 70px;
}
.category:last-child {
  margin-bottom: 0 !important;
}
@media (max-width: 750px) {
  .gallery_list {
    justify-content: space-between;
  }
  .gallery_list li {
    width: 48%;
    margin-bottom: 15px;
  }
}
@media (max-width: 550px) {
  .category {
    margin-bottom: 45px;
  }
  .gallery_list li p.detail_text {
    margin-top: 0;
    margin-bottom: 15px;
  }
  .gallery_list li {
    margin: 0;
  }
}