@charset "utf-8";

/* ========================== << モーダル（ポップアップ）定義 >> ==== */

/* --------------------------------------------- << PC 用定義 >> ---- */
@media (min-width: 961px) {

  .js_modalBtnCont {
    display: none;
  }
  .js_modalBtnCont a {
    pointer-events: none;
  }

}
/* ------------------------------------------ << スマホ用定義 >> ---- */
@media (max-width: 960px) {

  .js_modalBtnCont {
    text-align: center;
  }

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

  .js_modalWrap {
    position: fixed;
    z-index: -1;
    display: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
  }
  .js_modalWrap.active {
    animation: modalOpen 0.3s ease forwards;
  }
  .js_modalWrap.active2 {
    animation: modalClose 0.3s ease forwards;
  }
  .js_modalBG {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
  }
  
  .js_modalContInner {
    position: absolute;
    padding: 2vw;
    left: 50%;
    top: 50%;
    width: 80%;
    transform: translateX(-50%) translateY(-50%);
    background-color: #fff;
  }
  .js_modalCont {
    overflow-y: scroll;
    min-height: 20vw;
    max-height: 80%;
  }
  .js_modalClose {
    position: absolute;
    z-index: 1001;
    display: block;
    cursor: pointer;
    right: 0vw;
    top: -7vw;
    width: 6vw;
    height: 6vw;
    overflow: hidden;
  }
  .js_modalClose::before,
  .js_modalClose::after {
    position: absolute;
    content: "";
    top: 0vw;
    right: 3vw;
    width: 0.1vw;
    height: 6vw;
    background-color: #ddd;
    }
  .js_modalClose::before {
    transform: rotate(45deg);
  }
  .js_modalClose::after {
    transform: rotate(-45deg);
  }
  
}
