.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.5);
}
.modal-box {
background-color: #fff;
margin: 20% auto;
width: 40%;
animation-name: modalopen;
animation-duration: 1s;
position: relative;
padding: 40px 60px;
text-align: center;
}
.modalClose{
position: absolute;
top: 0;
right: 1.2rem;
font-size: 4rem;
}
.modalOpen {
  /* text-align: inherit; */
}
.modalOpen p {
  font-size: 18px;
  text-decoration: underline;
  white-space: nowrap;
  font-family: 'AudiTypeExtendBold', 'DFHSBold'!important;
}
.modal-box p {
  font-size: 1.7rem;
  line-height: 2!important;
}
.modal-box a {
  font-size: 1.7rem;
}
.modelbutton {
  display: block;
  border: 1px solid #000;
  font-family: 'AudiTypeExtendBold', 'DFHSBold';
  padding: 20px;
  margin-bottom: 20px;
}
@media screen and (max-width: 1000px) {
  .modal-box {
    width: 60%;
    padding: 40px 40px 30px;
    margin: 30% auto;
  }
}
@media screen and (max-width: 820px) {
  .modal-box {
    width: 70%;
    padding: 40px 40px 30px;
  }
}
@media screen and (max-width: 640px) {
  .modal-box {
    width: 98%;
    padding: 40px 30px 30px;
  }
}

/* swiperのpaginationとモデルmodalの重なり防止 */
/* swiper.min.css overwrite */
.swiper-pagination {
  z-index: unset;
}