@charset "UTF-8";
:root {
  --color-primary: #00559D;
  --color-line: #E5E5EC;
}

/* Button */
.btn {
  display: inline-block;
  border-radius: 4px;
  text-align: center;
}

.btn-mini {
  height: 32px;
  line-height: 32px;
}

.btn-sm {
  height: 40px;
  line-height: 40px;
}

.btn-md {
  height: 44px;
  line-height: 44px;
}

.btn-lg {
  height: 48px;
  line-height: 48px;
  font-weight: 600;
}

.btn-big {
  height: 56px;
  line-height: 56px;
  font-size: 18px;
  font-weight: 600;
}

.btn-w100p {
  width: 100%;
}

.btn_p16 {
  padding: 0 16px;
}

.btn_p24 {
  padding: 0 24px;
}

.btn_primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn_gray {
  background-color: #DDDDDD;
  color: #999999;
}

.btn_black {
  background-color: #202020;
  color: #fff;
}

.btn_outlined_primary {
  background-color: #fff;
  color: var(--color-primary);
}

.btn_outlined_black {
  border: 1px solid #202020;
  color: #202020;
  background-color: #fff;
}

.btn:disabled,
.btn.disabled {
  background-color: #DDDDDD;
  color: #767676;
}

.btn_area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.btn_area.end {
  justify-content: flex-end;
}

.btn_area .btn {
  flex: 1;
}

.btn_area.end .btn { 
  flex: none;
}

.btn_list {
  max-width: 600px;
}

/* #### Modal #### */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.4);
  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;
  padding: 24px;
}

.modal.open .modal__inner {
  top: 50%;
  opacity: 1;
}

.modal__content::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.modal__content::-webkit-scrollbar-thumb {
  height: 30%;
  background: #dddddd;
  border-radius: 10px;
}

.modal__content::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 20px;
}

.modal__close {
  display: inline-block;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 16px;
  right: 24px;
}

.modal__close .btn_modal-close {
  display: inline-block;
  width: 100%;
  height: 100%;
  background: url(/_img/icon/icon_modal_close.svg) no-repeat center / contain;
}

.modal__header {
  margin-top: 24px;
}

.modal__header h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #202020;
}

.modal__btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.modal_confirm .modal__inner {
  max-width: 500px;
  text-align: center;
  padding-top: 40px;
}

.modal_confirm .modal__header {
  margin-top: 24px;
}

.modal_confirm .modal__content p {
  color: #202020;
  margin-top: 24px;
}

/* Text */
.info_txt {
  font-size: 14px;
  display: block;
  color: #999999;
  margin-top: 8px;
}

h3.h3_tit {
  font-size: 24px;
  font-weight: 600;
  color: #202020;
}

.c_primary {
  color: var(--color-primary);
}

.c_green {
  color: #1DA82B;
}

.c_red {
  color: #FF0000;
}

.c_gray {
  color: #505050;
}

/* Form */
.form-control {
  width: 100%;
  height: 48px;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  background-color: #fff;
  padding: 0 16px;
  font-size: 16px;
}

.form-control::placeholder {
  font-size: 16px;
  font-weight: 400;
  color: #999999;
}

.form-control:disabled {
  background-color: #FAFAFA;
}

.form-control.valid {
  border: 1px solid #1DA82B;
}

.form-control.invalid {
  border: 1px solid #FF0000;
}

select.select--typeA::-ms-expand {
  display: none;
}

.select--typeA {
  -o-appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.select--typeA {
  border-radius: 4px;
  height: 48px;
  background: #fff url(/_img/icon/icon_select_arrow.svg) no-repeat center right 16px / 16px;
  padding: 0px 16px;
  padding-right: 56px;
  border: 1px solid #E5E5EC;
}

.select--typeA option {
  background: #fff;
  color: #111;
}

/* Checkbox */
.checkbox label {
  display: flex;
  align-items: flex-start;
  color: #202020;
}

.checkbox label span.chk_text {
  font-size: 16px;
  font-weight: 500;
  color: #202020;
}

.checkbox input[type=checkbox] {
  display: none;
}

.checkbox input[type=checkbox]+em {
  display: inline-block;
  width: 20px;
  height: 20px;
  font-style: normal;
  margin-right: 8px;
  flex-shrink: 0;
  background: url(/_img/icon/icon_checkbox.svg) no-repeat center center / contain;
}

.checkbox input[type=checkbox]:checked+em {
  background: url(/_img/icon/icon_checkbox_on.svg) no-repeat center center / contain;
}

/* Radio */
.radio label {
  display: flex;
  align-items: flex-start;
  color: #202020;
}

.radio label span.radio_text {
  font-size: 16px;
  font-weight: 500;
  color: #202020;
  margin-top: 2px;
}

.radio input[type=radio] {
  display: none;
}

.radio input[type=radio]+em {
  display: inline-block;
  width: 24px;
  height: 24px;
  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;
}

/* Datepicker */
.datepicker {
  background: #fff url(/_img/icon/icon_calendar.svg) no-repeat center right 16px / 20px;
}

.search_period {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* TextArea */
.textarea {
  min-height: 120px;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: 16px;
  width: 100%;
}

.textarea::placeholder {
  color: #999;
}
@media screen and (max-width:767px) {
  .btn-lg {
    height: 44px;
    line-height: 44px;
    font-size: 14px;
  }

  .btn_area {
    gap: 4px;
  }

  h3.h3_tit {
    font-size: 16px;
  }
  
  .modal__inner {
    border-radius: 4px;
    padding: 12px;
  }

  .modal__header {
    margin-top: 12px;
  }

  .modal__header h3 {
    font-size: 16px;
  }

  .modal__close {
    width: 16px;
    height: 16px;
    top: 12px;
    right: 12px;
  }

  .modal__btns {
    margin-top: 20px;
    gap: 4px;
  }

  .modal_confirm .modal__inner {
    max-width: 280px;
    padding-top: 28px;
  }

  .modal_confirm .modal__header .check_img img {
    width: 40px;
  }

  .modal_confirm .modal__content {
    margin-top: 12px;
  }

  .modal_confirm .modal__content p {
    font-size: 14px;
    margin-top: 12px;
  }

  .form-control {
    height: 44px;
    font-size: 14px;
    padding: 0 12px;
  }

  .form-control::placeholder {
    font-size: 14px;
  }

  .info_txt {
    font-size: 12px;
    margin-top: 4px;
  }

  .select--typeA {
    height: 44px;
    font-size: 14px;
    padding-right: 40px;
  }

  .checkbox label span.chk_text {
    font-size: 14px;
  }

  .checkbox input[type=checkbox]+em {
    width: 16px;
    height: 16px;
    margin-right: 4px;
  }

  .radio label span.radio_text {
    font-size: 14px;
  }

  .radio input[type=radio]+em {
    width: 20px;
    height: 20px;
  }

  .search_period {
    gap: 4px;
  }

  .textarea {
    font-size: 14px;
    padding: 12px;
  }

  .textarea::placeholder {
    font-size: 14px;
  }
}