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

.p-goods_list-item {
  width: 31.6%;
  margin-left: 2.5%;
  margin-top: 5%;
}

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

@media screen and (max-width: 960px) {
  .p-goods_list-item {
    width: 49%;
    margin-left: 2%;
    margin-top: 8%;
  }
  .p-goods_list-item:nth-child(2n+1) {
    margin-left: 0;
  }
  .p-goods_list-item:nth-child(n+1):nth-child(-n+2) {
    margin-top: 0;
  }
}

.p-goods_list-img {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background-color: #fff;
  cursor: pointer;
}

.p-goods_list-img figure {
  display: block;
  position: absolute;
  top: 0;
  left: 0%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transition: all 0.4s cubic-bezier(0.5, 1, 0.89, 1);
  transition: all 0.4s cubic-bezier(0.5, 1, 0.89, 1);
}

.p-goods_list-name {
  margin-top: 10px;
}

[data-size=m] .p-goods_list-name {
  font-size: 20px;
}

@media screen and (max-width: 960px) {
  [data-size=m] .p-goods_list-name {
    font-size: 15px;
  }
}

[data-size=l] .p-goods_list-name {
  font-size: 22px;
}

@media screen and (max-width: 960px) {
  [data-size=l] .p-goods_list-name {
    font-size: 17px;
  }
}

.p-goods_foot {
  margin-top: 60px;
}

@media screen and (max-width: 960px) {
  .p-goods_foot {
    margin-top: 40px;
  }
}

.c-pagination_num {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 16px;
}

@media screen and (max-width: 960px) {
  .c-pagination_num {
    font-size: 14px;
  }
}

.c-pagination_num li {
  position: relative;
  margin-left: 40px;
  -webkit-transition: all 0.4s cubic-bezier(0.5, 1, 0.89, 1);
  transition: all 0.4s cubic-bezier(0.5, 1, 0.89, 1);
}

@media screen and (max-width: 960px) {
  .c-pagination_num li {
    margin-left: 20px;
  }
}

.c-pagination_num li:first-child {
  margin-left: 0;
}

.c-pagination_num li a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.c-pagination_num li.is-current {
  color: #fff;
}

.c-pagination_num li.is-current::before {
  content: "";
  width: 250%;
  padding-top: 250%;
  position: absolute;
  top: 55%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
  background-color: #000;
  pointer-events: none;
  opacity: 1;
  z-index: -1;
}

.c-pagination_num li:hover {
  color: #fff;
}

.c-pagination_arrow__prev {
  position: absolute;
  left: 0;
}

.c-pagination_arrow__next {
  position: absolute;
  right: 0;
  width: 2rem;
}

/***********************************************************************************/
.p-goods_detail {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media screen and (max-width: 960px) {
  .p-goods_detail {
    display: block;
  }
}

.p-goods_detail__img {
  width: 47.5%;
}

@media screen and (max-width: 960px) {
  .p-goods_detail__img {
    width: 100%;
  }
}

.p-goods_detail__img--main {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background-color: white;
  cursor: pointer;
  overflow: hidden;
  border-width: 2px;
  border-style: solid;
  -o-border-image: initial;
     border-image: initial;
  border: transparent;
}

.p-goods_detail__img--main figure {
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-transition: opacity .4s ease;
  transition: opacity .4s ease;
}

.p-goods_detail__img--thumb {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 10px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.p-goods_detail__img--thumb_item {
  opacity: .7;
  position: relative;
  width: 24%;
  margin-left: 1.25%;
  overflow: hidden;
  cursor: pointer;
  -webkit-transition: opacity .4s ease;
  transition: opacity .4s ease;
  background: #fff;
}

.p-goods_detail__img--thumb_item.is-current {
  opacity: 1;
  cursor: default;
  -webkit-transition: opacity .4s ease;
  transition: opacity .4s ease;
  pointer-events: none;
}

.p-goods_detail__img--thumb_item:nth-child(4n + 1) {
  margin-left: 0;
}

.p-goods_detail__img--thumb_item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.p-goods_detail__img--thumb_inner {
  position: relative;
  width: 100%;
  padding-top: 100%;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
}

.p-goods_detail__img--thumb_inner figure {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

.p-goods_detail__info {
  width: 52.5%;
  padding-left: 36px;
}

@media screen and (max-width: 960px) {
  .p-goods_detail__info {
    width: 100%;
    padding: 0;
    margin-top: 20px;
  }
}

.p-goods_detail__info--name {
  font-size: 25px;
  color: #8dc365;
  font-weight: 700;
  line-height: 1.4em;
}

@media screen and (max-width: 960px) {
  .p-goods_detail__info--name {
    font-size: 17px;
    line-height: 1.4em;
  }
}

[data-size=m] .p-goods_detail__info--name {
  font-size: 28px;
}

@media screen and (max-width: 960px) {
  [data-size=m] .p-goods_detail__info--name {
    font-size: 19px;
  }
}

[data-size=l] .p-goods_detail__info--name {
  font-size: 32px;
}

@media screen and (max-width: 960px) {
  [data-size=l] .p-goods_detail__info--name {
    font-size: 21px;
  }
}

.p-goods_detail__info--description {
  margin-top: 25px;
  font-size: 15px;
  line-height: 1.5em;
  letter-spacing: normal;
}

@media screen and (max-width: 960px) {
  .p-goods_detail__info--description {
    margin-top: 15px;
    font-size: 12px;
    line-height: 1.4em;
    letter-spacing: normal;
  }
}

[data-size=m] .p-goods_detail__info--description {
  font-size: 17px;
}

@media screen and (max-width: 960px) {
  [data-size=m] .p-goods_detail__info--description {
    font-size: 14px;
  }
}

[data-size=l] .p-goods_detail__info--description {
  font-size: 19px;
}

@media screen and (max-width: 960px) {
  [data-size=l] .p-goods_detail__info--description {
    font-size: 16px;
  }
}
.p-goods_detail__info--description span{
  vertical-align: baseline;
}

.m-modal__content {
  max-width: 800px !important;
  width: 70% !important;
  margin: 0 auto;
}

@media screen and (max-width: 960px) {
  .m-modal__content {
    width: 100% !important;
  }
}


.p-goods_price {
  margin-top: 20px;
}
.p-goods_price span {
  vertical-align: baseline;
  font-size: 25px;
}
@media screen and (max-width: 960px) {
  .p-goods_price span {
    font-size: 16px;
  }
}

[data-size=m] .p-goods_price span {
  font-size: 28px;
}

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

@media screen and (max-width: 960px) {
  [data-size=l] .p-goods_price span {
    font-size: 20px;
  }
}
.p-goods_maker {
  display: inline-block;
  background: #8dc365;
  color: #000;
  line-height: 1em;
  padding: 5px;
  margin-top: 15px;
  font-size: 15px;
}

[data-size=m] .p-goods_maker {
  font-size: 17px;
}

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

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