.p-gallery {
  margin-top: 6rem;
  transform: translate(-1.2rem, -1rem);
  opacity: 0;
}
@media screen and (max-width: 750px) {
  .p-gallery {
    margin-top: 3.2rem;
    transform: translate(-0.8rem, -0.6rem);
  }
}
.l-section.is-active .p-gallery {
  transform: translate(0, 0);
  opacity: 1;
  transition: transform 1.2s var(--ease-out-cubic) 0.25s, opacity 0.7s var(--ease-out-cubic) 0.25s;
}
.p-gallery__title {
  text-align: center;
  color: var(--color-pink);
  font-size: 3.2rem;
}
@media screen and (max-width: 750px) {
  .p-gallery__title {
    font-size: 2.4rem;
  }
}
.p-gallery__list {
  margin-top: 1.5rem;
}
.p-gallery__list-item {
  width: 80rem;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-gold);
}
@media screen and (max-width: 750px) {
  .p-gallery__list-item {
    width: 100%;
    padding-bottom: 1.6rem;
  }
}
.p-gallery__list-item:nth-child(n+2) {
  margin-top: 3.9rem;
}
@media screen and (max-width: 750px) {
  .p-gallery__list-item:nth-child(n+2) {
    margin-top: 2rem;
  }
}

.p-gallery_item {
  width: 50rem;
  margin: 0 auto;
}
@media screen and (max-width: 750px) {
  .p-gallery_item {
    width: 100%;
  }
}
.p-gallery_item__title {
  margin-top: 1.2rem;
  text-align: center;
  font-size: 2rem;
}
@media screen and (max-width: 750px) {
  .p-gallery_item__title {
    margin-top: 1rem;
    font-size: 1.7rem;
  }
}