.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: 0.6s;
  -o-transition: 0.6s;
  transition: 0.6s;
}

.modal.is-show {
  visibility: visible;
  opacity: 1;
}

.modal-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 65%;
  height: 85vh;
  padding: 50px;
  overflow-y: scroll;
  background: linear-gradient(to right, rgba(143, 195, 31, 1) 0%, rgba(243, 152, 0, 1) 100%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.hidden {
  overflow-y: hidden;
}

@media only screen and (max-width: 768px) {
  .modal-inner {
    width: 85%;
    height: 85vh;
    padding: 10vw 5vw;
  }
}

.modal-inner img {
  width: 100%;
}

.modal-close,
.modal-close2,
.modal-close3,
.modal-closeSp .modal-closeSp2 .modal-closeSp3 {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
}

.modal-background,
.modal-background2,
.modal-background3,
.modal-backgroundSp,
.modal-backgroundSp2,
.modal-backgroundSp3 {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background-color: rgba(50, 50, 50, 0.8);
}

@media only screen and (max-width: 768px) {
  .pc {
    display: none;
  }
}

@media screen and (max-width: 559px) {
  .modal .flex {
    display: block;
  }
}
