.p-gallery {
  margin-bottom: 13px;
}
@media screen and (min-width: 901px) {
  .p-gallery {
    margin-bottom: 65px;
  }
}

.p-gallery__contents {
  width: 91.8%;
  margin: 38px auto 0;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(8px);
  transition: transform 1s var(--ease-out) 0.3s, opacity 1s var(--ease-out) 0.3s, filter 1.5s var(--ease-out) 0.3s;
}
.is-load .p-gallery__contents {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.p-gallery__contents-block + .p-gallery__contents-block {
  margin-top: 62px;
}
.p-gallery__contents-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7.5vw 2.5vw;
  width: 93.6%;
  margin: 30px auto 0;
}
@media screen and (min-width: 901px) {
  .p-gallery__contents-list {
    gap: 12px;
  }
}
.p-gallery__contents-item {
  width: 48.5%;
  cursor: pointer;
}
@media (hover: hover) {
  .p-gallery__contents-item:hover img {
    transform: scale(1.03);
  }
}
.p-gallery__contents-item-image {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.p-gallery__contents-item-image img {
  transition: transform 0.6s var(--ease-out);
}
.p-gallery__contents-item-detail {
  margin-top: 5px;
  font-size: 1.2em;
  line-height: 1.3;
}
@media screen and (min-width: 901px) {
  .p-gallery__contents-item-detail {
    font-size: 1.5rem;
  }
}