html { overflow-y: scroll;}

.medical-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.medical-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity .3s ease, visibility 0s;
}
.medical-modal__inner {
  width: 90%;
  max-width: 800px;
  background: #fff;
  padding: 32px 55px 55px;
  max-height: 90vh;
  overflow-y: auto;
}
.medical-modal__header {
    margin: 0 0 18px;
    padding: 0 0 11px;
    border-bottom: 1px solid #b3b3b3;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.medical-modal__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    background: #f5f2eb;
    border-left: solid 7px #3562b2;
    padding: 10px 10px 10px 20px;
    margin-bottom: 20px;
}
.medical-modal__desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 20px;
}
.medical-modal__choice {
    text-align: center;
}
.medical-modal__job-list {
    list-style: none;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 12px auto 13px;
    width: 60%;
}
.medical-modal__job-list li {
    width: calc(50% - 1.5px);
    margin: 0 0 3px;
}
.medical-modal__job-list button {
    border: none;
    cursor: pointer;
    appearance: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 44px;
    background: #e6e6e6;
    text-align: center;
    font-size: 15px;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    -webkit-transition: opacity 300ms ease 0ms;
    transition: opacity 300ms ease 0ms;
    width: 100%;
}
.medical-modal__job-list button:hover {
    opacity: 0.6;
}
.medical-modal__corporate-box {
    display: flex;
    justify-content: end;
}
.medical-modal__corporate {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
}
.medical-modal__corporate::after {
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    position: absolute;
    top: 50%;
    left: 1px;
    -webkit-transform: rotate(45deg) translateY(-50%);
    transform: rotate(45deg) translateY(-50%);
}
.medical-modal__corporate::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2857a5;
    position: absolute;
    top: calc(50% + 1px);
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

@media screen and (max-width: 1217px) {
  .medical-modal__inner {
    padding: 8px 20px 20px;
  }
  .medical-modal__header {
    margin: 0 0 16px;
    padding: 0 0 16px;
  }
  .medical-modal__header img {
    max-width: 300px;
  }
  .medical-modal__job-list {
    width: 100%;
  }
  .medical-modal__job-list li {
    width: calc(50% - 5px);
    margin: 0 0 10px;
  }
}