.customers {
  display: grid;
  grid-template-columns:repeat(5, 1fr);
  gap:20px;
}

.customers li a img {
  display: block;
  width: 100%;
}

.modal-gallery {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
}

.modal-gallery.dis {
  display: block;
}

.modal-gallery .close-bg {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 110;
}
.modal-gallery > div,
.modal-gallery .next,
.modal-gallery .prev {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  -moz-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  z-index: 120;
}
.modal-gallery .next,
.modal-gallery .prev,
.modal-gallery .close {
  display: inline-block;
  color: #666666;
  font-size: 150%;
}
.modal-gallery .next:hover,
.modal-gallery .prev:hover,
.modal-gallery .close:hover {
  text-decoration: none;
}
.modal-gallery > div {
  left: 0;
  right: 0;
  width: 65vw;
  /* max-width: 740px; */
  height:80vh;
  margin: 0 auto;
  padding: 25px;
  box-sizing: border-box;
  background-color: #ffffff;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  text-align: center;
}

.modal-gallery .next {
  right: 10px;
}
.modal-gallery .prev {
  left: 10px;
}
.modal-gallery .close {
  position: absolute;
  top: 10px;
  right: 10px;
}
.modal-gallery #pic_main {
  height: calc(100% - 50px);
}
.modal-gallery #pic_main img {
  height:100%;
}
.pic-caption {
  margin-top: 15px;
  font-size: 14px;
}
.pic-caption p:first-of-type{
  font-size: 16px;
}


@media (max-width: 768px) {
  .customersWrap{
    position: relative;
  }

  #upgrade-examples {
    height: calc(535 / 390 * 100vw);
  }

  #upgrade-examples li {
    padding:20px;
  }

  #upgrade-examples li a{
    display: block;
    width: 100%;
  }

  #upgrade-examples img {
    width: 100%;
    margin-bottom: 10px;
  }
  .spcaption{
    text-align: center;
  }
  .spcaption p:first-of-type{
    font-size: 16px;
  }

  /* SPスライダーの左右ボタン */
  #prev,
  #next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 40px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    cursor: pointer;
  }

  #prev {
    left: -10px;
  }

  #next {
    right: -10px;
  }

  #prev img,
  #next img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

