.p-illust_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.p-illust_item {
  width: 32%;
  margin-left: 2%;
  margin-top: 5%;
}

@media screen and (min-width: 901px) {
  .p-illust_item:nth-child(3n+1) {
    margin-left: 0;
  }
  .p-illust_item:nth-child(n+1):nth-child(-n+3) {
    margin-top: 0;
  }
}

@media screen and (max-width: 900px) {
  .p-illust_item {
    width: 100%;
    margin: 10% 0 0 0;
  }
  .p-illust_item:first-child {
    margin-top: 0;
  }
}

.p-illust_name {
  text-align: center;
  margin-top: 5px;
}

@media not all and (max-width: 960px) {
  [data-size=m] .p-illust_name {
    font-size: 18px;
  }
  [data-size=l] .p-illust_name {
    font-size: 22px;
  }
}

@media screen and (max-width: 960px) {
  [data-size=m] .p-illust_name {
    font-size: 16px;
  }
  [data-size=l] .p-illust_name {
    font-size: 18px;
  }
}


.p-illust_img {
  position: relative;
  padding-top: 100%;
  background: no-repeat center center;
  background-size: contain;
  cursor: pointer;
}

.p-illust_img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #aebda2;
  z-index: -1;
}

.m-img__container{
  width: 60%;
  margin: 0 auto;
}
@media screen and (max-width: 960px) {
  .m-img__container{
    width: 100%;
    margin: 0 auto;
  }
}
.m-modal__close{
  position: fixed !important;
}