#modal .modal-wrap {
  max-width: 800px;
}

#modal .modal-wrap .modal-contents {
  padding: calc(40px + 0.4vw) calc(20px + 1vw) calc(60px + 0.4vw) calc(20px + 1vw);
}

.modal-contents {
  margin: 0 auto;
  width: 100%;
  text-align: left;
}


.modal-contents h1 {
  margin-top: 40px;
  font-weight: 600;
  font-size: 1.4rem;
  text-align: center;
  color: #222;
}


.modal-contents p {
  margin-top: 30px;
  font-weight: 400;
  font-size: 1rem;
  text-align: center;
  color: #222;
}

.modal-contents h3 {
  margin-top: 60px;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.7rem;
  letter-spacing: -0.02rem;
}

.modal-contents .text-box {
  padding: 18px;
  width: 100%;
  border: 1px solid #ddd;
  box-sizing: border-box;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5rem;
  letter-spacing: -0.02rem;
  color: #666;
  border-radius: 8px;
}

.modal-contents .check-wrap {
  display: flex;
  align-items: center;
  margin-top: 12px;
}

.modal-contents label {
  padding-right: 40px;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5rem;
  letter-spacing: -0.02rem;
}

.modal-contents .button-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.modal-contents .button-wrap span {
  display: inline-block;
  margin-left: 6px;
  width: 16px;
  height: 10px;
  background: url(/yooshin_talent_portal/assets/images/common/arrow_right.png) no-repeat center center / 100%;
}

.modal-contents .button-wrap button {
  margin-top: 40px;
  width: 180px;
  height: 48px;
  font-weight: 500;
  font-size: 0.92rem;
  color: #fff;
  border-radius: 30px;
  background-color: #ccc;
  pointer-events: none;
}

.modal-contents .button-wrap .enabled {
  pointer-events: all;
  background-color: var(--color-orange);
}

.modal-contents .button-wrap button:hover {
  opacity: 0.8;
}

.modal-contents input[type=checkbox] {
  width: 24px;
  height: 24px;
}

.modal-contents label {
  height: 24px;
}

@media all and (max-width:768px) {
  .modal-contents {
    width: 100%;
  }
}

@media all and (max-width:540px) {
  .modal-contents form {
    width: 100%;
  }

  .modal-contents .button-wrap button {
    width: 100%;
  }
}