/* 2020.04.03 モダール追加 */
.modal-medical {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.modal-medical.active {
  opacity: 1;
  visibility: visible;
}

.modal_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  max-width: 700px;
  background: #fff;
  padding: 40px;
  color: #333;
  text-align: center;
}

.modal_inner p {
  margin-bottom: 20px;
  font-size: 1.143em;
}

.modal_inner .btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 320px;
  margin: 0 auto;
  font-size: 1.143em;
}

.modal_inner .btn button {
  text-align: center;
  width: 140px;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.modal_inner .btn #yes {
  background: #12171e;
  color: #fff;
  font-size: 1.143em;
}

.modal_inner .btn #no {
  text-align: center;
  width: 140px;
  height: 40px;
  line-height: 40px;
  border: 1px solid #12171e;
  color: #333;
  box-sizing: border-box;
}

@media screen and (max-width: 480px) {
  .modal_inner {
    width: 80%;
    padding: 20px;
  }

  .modal_inner h2 {
    margin-bottom: 20px;
    font-size: 1.714em;
  }

  .modal_inner p {
    margin-bottom: 16px;
    font-size: 1em;
  }

  .modal_inner .btn {
    width: 100%;
  }
}
