@charset "utf-8";
.footer__pagetop-button,
#js-junkoshimada-pagetop-area{display: none;}
.p-summer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.p-summer__li {
  flex-basis: 33%;
  max-width: 33%;
  margin-right: 3px;
  margin-bottom: 3px;
}

li.p-summer__li:nth-child(3n) {
  margin-right: 0;
}

.p-summer__nav:after {
  content: "";
  display: block;
  width: 33%;
  height: 0;
}

.p-js__collection.p-js__summer .gallery-thumbs .swiper-wrapper {
  overflow-y: visible;
}

@media (min-width: 768px) {
  li.p-summer__li {
    margin-bottom: 28px;
    margin-right: 28px;
    flex-basis: 30%;
    max-width: 30%;
  }

  .p-summer__nav:after {
    width: 30%;
  }
}

@media (max-width: 767px) {
  #page-body {
    margin-bottom: calc(200* (100vw / 750));
  }
  
  .p-summer__li {
    flex-basis: 32%;
    max-width: 32%;
    margin-right: 3px;
    margin-bottom: 3px;
  }

  .p-summer__nav:after {
    width: 32%;
  }
}

@media (min-width: 768px) {
  /* .p-js__collection .gallery-thumbs {
    margin-top: 10px;
    padding: 0;
  } */

  .p-js__collection .gallery-thumbs .swiper-wrapper {
    height: initial;
  }
}



@media only screen and (min-width: 750px) and (max-width: 1200px) {
  .p-js__collection .gallery-top {
    height: 80%;
    width: 45%;
  }

  .p-js__collection .gallery-thumbs .swiper-wrapper {
    width: 45%;
  }
}