@charset "UTF-8";
/* CSS Document */
/*===メイン==============================*/
.introduction .inner {
  max-width: 1400px;
}
.gallery_list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -20px;
}
.gallery_list li {
  width: 18%;
  margin: 0 1% 10px;
  font-size: 0;
}
.gallery_list li a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  min-height: 0%;
  width: 100%;
}
.gallery_list li a::before {
  content: '';
  display: block;
  padding-top: 80%;
}
.gallery_list li a img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: .8s all;
}
.gallery_list li a:hover img {
  transform: scale(1.1);
}
.gallery_list li p.detail_text {
  padding: 3px;
  font-size: 0.85rem;
  margin-top: 5px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1080px) {
  .gallery_list li {
    width: 23%;
  }
}
@media (max-width: 750px) {
  .gallery_list {
    justify-content: space-between;
  }
  .gallery_list li {
    width: 48%;
    margin-bottom: 15px;
  }
}
@media (max-width: 550px) {
  .gallery_list li p.detail_text {
    margin-top: 0;
    margin-bottom: 15px;
  }
  .gallery_list li {
    margin: 0;
  }
}