/* ここからモーダル */
.modal-div {
  position: absolute;
  bottom: 285px;
  width: 100%;
  font-size: 13px;
  text-align: center;
}
.modal-div-henkin {
  width: 100%;
}
.modal-open {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: #4c4c4c;
  text-decoration: underline;
  border: none;
  cursor: pointer;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,75%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
  z-index: 10000;
}
.modal:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}
.modal.is-active {
  opacity: 1;
  visibility: visible;
}
.modal-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 600px;
  width: 90%;
}
.modal-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  color: #fff;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
}
.modal-content {
  background: #fff;
  text-align: left;
  line-height: 1.8;
  padding: 20px;
}
.modal-content p {
  margin: 1em 0;
}
.modal-content-henkin {
  background: #fff;
  text-align: left;
  line-height: 1.25;
  padding: 4% 4% 4% 8%;
}

@media screen and (max-width:768px) {
  .modal-div {
    bottom: 27%;
    line-height: 1.3;
  }
  .modal-open {
    font-size: 12px;
  }
  .sp_only {
    display: block;
  }
  .modal-content-henkin {
    padding: 8% 4% 8% 8%;
  }
}
/* ここまでモーダル */

