/* 外部サイト遷移警告用モーダル
 ========================================================================== */
 .js-modal{
  position: absolute;
  z-index: 100;
}
.modal-wrap{
  opacity: 0;
  transition: all .3s;
}
.fadein{
  opacity: 1;
}
.modal-parent {
  all: initial;
  display: none;
}
.modal-wrap {
  cursor: pointer;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2147483647;
  display: block;
}
.modal-contents {
  cursor: auto;
}
.modal-wrap .modal-contents {
  font-size: 14px;
  width: 600px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -300px;
  margin-top: -120px;
  box-sizing: border-box;
  padding: 35px 30px;
  text-align: center;
  background: #eef2f3;
  border: solid 10px #fff;
}
.modal-link {
  cursor: pointer;
  position: relative;
  width: 300px;
  border: solid 1px #bec2c2;
  line-height: 30px;
  padding: 5px 5px;
  margin: 0 auto;
  background: #fff;
  font-size: 14px;
}
.modal-link a{
  text-decoration: none;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", sans-serif;
}
.modal-link a:hover{
  text-decoration: underline;
  opacity: .7;
}
.modal-exit {
  cursor: pointer;
  position: relative;
  width: 300px;
  border: solid 1px #bec2c2;
  line-height: 30px;
  padding: 5px 5px;
  margin: 0 auto;
  margin-top: 5px;
  background: #fff;
  font-size: 14px;
}
a.modal-btn {
  color: #000000;
}
.ext_icon {
  width: 12px;
  vertical-align: middle;
}
@media only screen and (max-width: 750px) {
  .modal-wrap .modal-contents .modal-wrap {
    overflow: scroll;
  }
  .modal-wrap .modal-contents {
    width: 95%;
    margin-left: -47%;
    padding: 15px;
    text-align: center;
    border-width: 5px;
  }
}
@media only screen and (max-width: 400px) {
  .modal-link {
    width: 95%;
  }
  .modal-exit {
    width: 95%;
  }
}
@media only screen and (max-width: 300px) {
  .modal-link {
    height: 60px;
  }
  .modal-exit {
    height: 60px;
    line-height: 60px;
  }
  .modal-btn {
    position: relative;
    margin: 0 auto;
    width: 150px;
  }
}
@media only screen and (max-width: 220px) {
  .modal-btn {
    width: 100%;
  }
}