/* ==========================
  モーダル（ポップアップ）
========================== */
.js_modalBtnWrap {
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}
.js_modalBtnCont {
  display: block;
  background: #fff;
  transition: 0.3s;
  cursor: pointer;
}
.js_modalWrap {
  opacity: 0;
  z-index: -1;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.js_modalWrap.active {
  animation: modalOpen 0.5s ease forwards;
}
.js_modalWrap.active2 {
  animation: modalClose 0.5s ease forwards;
}
.js_modalBG {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.js_modalContInner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  max-width: 800px;
  background-color: #fff;
  padding: 50px;
  transition: 0.5s;
}
.js_modalCont {
  overflow-x: hidden;
  max-height: 750px;
}
.js_modalCont > * + * {
  margin-top: 10px;
}
.js_modalContInner > .js_modalClose + * {
  margin-top: 0;
}
.js_modalClose {
  display: block;
  position: absolute;
  top: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  overflow: hidden;
  cursor: pointer;
  z-index: 1001;
}
.js_modalClose::before,
.js_modalClose::after {
  content: "";
  background-color: #222;
  position: absolute;
  top: -5px;
  right: 10px;
  width: 1px;
  height: 30px;
}
.js_modalClose::before {
  transform: rotate(45deg);
}
.js_modalClose::after {
  transform: rotate(-45deg);
}

@keyframes modalOpen {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    z-index: 1000;
  }
}
@keyframes modalClose {
  0% {
    opacity: 1;
    z-index: 1000;
  }
  100% {
    opacity: 0;
  }
}

@media screen and (max-width: 750px) {
  .js_modalContInner {
    width: 100%;
    box-sizing: border-box;
    max-width: 950px;
    max-height: 500px;
    padding: calc(80 / 750 * 100vw) calc(40 / 750 * 100vw)
      calc(40 / 750 * 100vw);
    overflow: hidden;
  }
  .js_modalCont {
    overflow-x: hidden;
    max-height: 480px;
    padding-bottom: 50px;
  }
}






