@charset "UTF-8";

/* 開くボタン */
.button-open {
  cursor: pointer;
}

/* モーダルウィンドウ */
.modal-window {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 90%;
  background-color: #fff;
  border-radius: 5px;
  z-index: 11;
  padding: 3%;
  overflow: scroll;
}

@media screen and (max-width: 599px) {
  .modal-window {
    width: 90%;
  }
}

.modal__img {
  margin: 1em auto 1em;
  width: 85%;
}

.modal__link {
  margin-top: 1.5em;
}

.modal__link a {
  color: #323b86;
}

.modal__logo {
  margin: 5em auto 0;
}

@media screen and (max-width: 599px) {
  .modal__logo {
    margin-top: 3em;
  }
}

.modal__logo a {
  display: block;
  width: 40%;
  margin: 0 auto;

}

.modal__logo a img {
  width: 100%;
}

.modal__list {
  margin-top: 1.5em;
}

.modal__time {
  font-weight: bold;
  font-size: 130%;
}

@media screen and (max-width: 599px) {
  .modal__time {
    font-size: 110%;
  }
}

.modal__note {
  margin-bottom: 1em;
}

/* 閉じるボタン */
.button-close {
  position: absolute;
  top: 2%;
  right: 2%;
  color: #323b86;
  font-size: 3em;
  line-height: 1;
  cursor: pointer;
}

@media screen and (max-width: 599px) {
  .button-close {
    font-size: 2em;
  }
}

/* オーバーレイ */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  z-index: 10;
}

/* 表示領域外へはスクロールさせない */
.no_scroll {
  overflow: hidden;
}
