@charset "UTF-8";
:root {
  --color-primary: #249C4A;
  --color-sub: #F7D454;
}
/* Button */
.btn {
  display: inline-block;
  text-align: center;
}
.btn-sm {
  height: 40px;
  line-height: 40px;
  font-size: 16px;
  border-radius: 8px;
  font-weight: 700;
}
.btn-md {
  height: 44px;
  line-height: 44px;
}
.btn-lg {
  height: 52px;
  line-height: 52px;
  font-size: 18px;
}
.btn-big {
  height: 56px;
  line-height: 56px;
  font-size: 20px;
  font-weight: 700;
}
.btn-w100p {
  width: 100%;
}
.btn-textType {
  text-decoration: underline;
  font-size: 14px;
  font-weight: 400;
  color: var(--info_text);
}
.btn_p12 {
  padding: 0 12px;
}
.btn_primary {
  background-color: var(--color-primary);
  color: #fff;
}
.btn_sub {
  background-color: var(--color-sub);
  color: #111;
}
.btn_white {
  background-color: #fff;
  color: var(--color-primary);
}
.btn_outlined_primary {
  background-color: #fff;
  color: var(--color-primary);
}
.btn_gray {
  background-color: #DDDDDD;
  color: #fff;
}
.btn_area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.btn_area.end {
  justify-content: flex-end;
}
.btn_common {
  width: 200px;
  height: 40px;
  line-height: 43px;
  background-color: #FDFDFA;
  color: var(--color-primary);
  text-align: center;
  font-weight: 700;
}
/* TEXT */
.link {
  text-decoration: underline;
}
.h3_tit {
  font-size: 32px;
  font-weight: 700;
}
.h4_tit {
  font-size: 24px;
  font-weight: 700;
}
.info_txt {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  font-size: 14px;
}
.info_txt.invalid {
  color: #FF5656;
}
span.asterisk {
  color: var(--color-primary);
}
/* #### Modal #### */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: -1;
  opacity: 0;
}
.modal.open {
  z-index: 1000;
  opacity: 1;
}
.modal__inner {
  position: absolute;
  top: 47.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  border-radius: 8px;
  background-color: #fff;
  transition: 0.45s;
  opacity: 0;
  max-width: 498px;
}
.modal.open .modal__inner {
  top: 50%;
  opacity: 1;
}
.modal__header {
  padding: 20px 24px;
}
.modal__header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}
.modal__content {
  padding: 8px 24px;
}
.modal__content p {
  color: #333;
  font-size: 14px;
}
.modal__btns {
  padding: 20px 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
/* Form */
.form-control {
  border-radius: 8px;
  background-color: #fff;
  padding: 0 12px;
  border: none;
  height: 40px;
  font-size: 16px;
}
.form-control::placeholder {
  color: #999999;
}
.textarea {
  width: 100%;
  border: none;
  background-color: #fff;
  border-radius: 8px;
  padding: 12px;
  min-height: 400px;
}
.radio_box {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}
.radio label {
  display: flex;
  align-items: flex-start;
}
.radio label span.radio_text {
  font-size: 16px;
  font-weight: 400;
  color: #333333;
  margin-top: 2px;
}
.radio input[type=radio] {
  display: none;
}
.radio input[type=radio]+em {
  display: inline-block;
  width: 18px;
  height: 18px;
  font-style: normal;
  margin-right: 8px;
  flex-shrink: 0;
  background: url(../_img/icon/icon_radio.svg) no-repeat center center / contain;
}
.radio input[type=radio]:checked+em {
  background: url(../_img/icon/icon_radio_on.svg) no-repeat center center / contain;
}
.file_upload {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.file_upload .file_list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.file_upload .file_list .file_item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0px 12px;
  background: #fff;
  border-radius: 9px;
  font-size: 14px;
  text-decoration: underline;
  color: #767676;
}
.file_upload .file_item .file_name {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file_upload .file_item .btn_remove {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(../_img/icon/icon_file_remove.svg) no-repeat center / contain;
}

@media screen and (max-width:767px) {
  .btn_common {
    width: 100%;
  }
  .h3_tit {
    font-size: 18px;
  }
  .h4_tit {
    font-size: 18px;
  }
  .info_txt {
    font-size: 12px;
    margin-top: 6px;
  }
  .modal__inner {
    max-width: 280px;
  }
  .modal__header {
    padding: 12px;
  }
  .modal__header h3 {
    font-size: 16px;
  }
  .modal__content {
    padding: 0 12px;
  }
  .modal__content p {
    font-size: 13px;
  }
  .modal__btns {
    padding: 12px;
  }
  .modal__btns > * {
    flex: 1;
  }
  .form-control { 
    font-size: 14px;
  }
  .textarea {
    min-height: 240px;
  }
  .radio_box {
    padding-bottom: 20px;
  }
  .radio label span.radio_text {
    font-size: 14px;
  }
  .file_upload {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .file_upload .file_list {
    gap: 8px;
  }
}