.p-maturenw {
  padding-top: 0;
}

.video-content {
  height: 160vw;
  width: 100%;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .video-content {
    width: 100%;
    height: 100%;
  }
}

.p-maturenw-gallery__container {
  padding: 0 2.5rem;
}

@media screen and (min-width: 768px) {
  .p-maturenw-gallery__container {
    max-width: 1050px;
    margin: 0 auto;
  }
}

.p-maturenw-gallery__lead {
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  text-align: center;
  margin-top: 4.5rem;
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .p-maturenw-gallery__lead {
    margin-top: 5rem;
    line-height: 2.29;
  }
}

.p-maturenw-gallery__anchor-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 404px;
  margin-top: 3rem;
  margin-inline: auto;
  padding: 0 1rem;
}

@media screen and (min-width: 768px) {
  .p-maturenw-gallery__anchor-list {
    display: grid;
    grid-template-columns: repeat(4, 190px);
    gap: 12px;
    max-width: 796px;
    margin-top: 4.4rem;
    padding: 0;
  }
}

.p-maturenw-gallery__anchor-item {
  width: 100%;
}

.p-maturenw-gallery__anchor-link {
  display: block;
  position: relative;
}

@media screen and (min-width: 768px) {
  .p-maturenw-gallery__anchor-link {
    transition: opacity .3s;
  }
}

@media screen and (min-width: 768px) {
  .p-maturenw-gallery__anchor-link:hover {
    opacity: 0.7;
  }
}

.p-maturenw-gallery__anchor-text {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
  position: absolute;
  bottom: 9%;
  width: 100%;
  text-align: center;
}

.p-maturenw-gallery__anchor-text--white {
  color: #fff;
}

.p-maturenw-gallery__contents {
  margin-top: 5rem;
}

@media screen and (min-width: 768px) {
  .p-maturenw-gallery__contents {
    margin-top: 9.8rem;
  }
}

.p-maturenw-gallery__detail:not(:first-of-type) {
  margin-top: 8.8rem;
}

@media screen and (min-width: 768px) {
  .p-maturenw-gallery__detail:not(:first-of-type) {
    margin-top: 11rem;
  }
}

.p-maturenw-gallery__heading--lv2 {
  font-size: 2.8rem;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.08em;
  border-bottom: 2px solid #000;
  padding-bottom: 2.7rem;
}

@media screen and (min-width: 768px) {
  .p-maturenw-gallery__heading--lv2 {
    font-size: 3.6rem;
    font-weight: 600;
    padding-bottom: 2.1rem;
  }
}

.p-maturenw-gallery__heading--ja {
  display: block;
  font-size: 1.2rem;
  margin-top: 1rem;
  letter-spacing: 0.01em;
}

@media screen and (min-width: 768px) {
  .p-maturenw-gallery__heading--ja {
    font-size: 1.4rem;
    margin-top: 1.5rem;
  }
}

.p-maturenw-gallery__detail-list {
  padding: 0 2.5rem;
  margin: 3rem auto 0;
}

@media screen and (min-width: 768px) {
  .p-maturenw-gallery__detail-list {
    display: flex;
    flex-wrap: wrap;
    max-width: 1050px;
    margin: 4rem auto 0;
  }
}

.p-maturenw-gallery__detail-item {
  width: 100%;
  margin-top: 3.5rem;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .p-maturenw-gallery__detail-item {
    width: 31%;
    margin-right: 3.5%;
    margin-top: 5rem;
  }
}

@media screen and (max-width: 767px) {
  .p-maturenw-gallery__detail-item:first-of-type {
    margin-top: 0;
  }
}

@media screen and (min-width: 768px) {
  .p-maturenw-gallery__detail-item:nth-of-type(-n+3) {
    margin-top: 0;
  }
}

@media screen and (min-width: 768px) {
  .p-maturenw-gallery__detail-item:nth-of-type(3n) {
    margin-right: 0;
  }
}

.p-maturenw-gallery__detail-text {
  font-size: 1.4rem;
  margin-top: 1rem;
  text-align: center;
  line-height: 1.4;
  margin-top: 1.2rem;
}

@media screen and (min-width: 768px) {
  .p-maturenw-gallery__detail-text {
    font-size: 1.4rem;
    margin-top: 1.3rem;
  }
}

.p-maturenw-gallery__plain-anchor-wrap {
  margin-top: 3.5rem;
}

@media screen and (min-width: 768px) {
  .p-maturenw-gallery__plain-anchor-wrap {
    margin-top: 4rem;
  }
}
