@charset "UTF-8";
/* カラー */
/* media query */
/* SP縦から */
/* SP横から */
/* タブレット縦から */
/* フルワイド */
.modalOpen {
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  /* 閉じるボタン */
  /* 閉じるボタンのX */
}
.modal .modal-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal .modal-box {
  background-color: var(--c-font);
  padding: 15px;
  max-width: 800px;
  width: 90%;
  animation-name: modalopen;
  animation-duration: 1s;
  position: relative;
}
.modal .modal-box .modal-thum {
  width: 100%;
  max-width: 800px;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
  background: #FFF;
}
.modal .modal-box .modal-thum dl dt {
  padding: 5px 0;
  margin: 0 0 5px;
  font-weight: bold;
  border-bottom: 1px dotted #CCC;
}
@media all and (max-width: 480px) {
  .modal .modal-box .modal-thum dl dt {
    letter-spacing: 0;
  }
}
.modal .modal-box .modal-thum dl dt:first-child {
  padding: 5px;
  color: #FFF;
  text-align: center;
  border: none;
  background: #47B6E4;
}
.modal .modal-box .modalClose {
  position: absolute;
  top: 0;
  right: 0;
  color: #FFF;
  text-align: center;
  border-radius: 100px;
  background: #333;
}
.modal .modal-close-btn {
  position: absolute;
  right: -5px;
  top: -5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 20;
}
.modal .modal-close-btn:hover {
  opacity: .8;
}
.modal .lineClose {
  display: inline-block;
  vertical-align: middle;
  color: var(--c-white);
  line-height: 1;
  width: 2rem;
  height: .2rem;
  background: currentColor;
  border-radius: 0.1rem;
  position: relative;
  transform: rotate(45deg);
}
@media all and (max-width: 480px) {
  .modal .lineClose {
    margin: 8px 0 0 2px;
  }
}
.modal .lineClose::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  transform: rotate(90deg);
}
