/* Contact Us */
.contact_us_wrap .img_area {
  width: 100%;
  height: 240px;
  border-radius: 16px;
  background: url("/images/img_contact_us.avif") no-repeat 50% 50% / cover;
  margin-bottom: 48px;
}
.contact_us_wrap .input_area > .excl {
  text-align: right;
  font-size: 16px;
  color: #1e2082;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 16px;
}
.contact_us_wrap .input_area .inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.contact_us_wrap .input_area .inputs > div {
  width: calc(50% - 12px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact_us_wrap .input_area .tit {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}
.contact_us_wrap .input_area .email_area {
  gap: 8px;
  align-items: center;
}
.contact_us_wrap .input_area .email_area span {
  width: 16px;
  text-align: center;
}
.contact_us_wrap .input_area .email_area .text {
  width: calc((100% - 40px) / 3);
}
.contact_us_wrap .input_area .email_area .text.is-readonly {
  background: #f5f6f8;
  color: #333d4b;
}
.contact_us_wrap .input_area textarea.text {
  height: 300px;
  padding: 24px;
}
/* 첨부파일 */
.file_wrap {
  padding: 24px 0 64px;
  margin-bottom: 64px;
  border-bottom: #ddd 1px solid;
}
.file_wrap .file_input_area {
  gap: 24px;
  align-items: center;
}
.file_wrap .file_input_area .tit {
  font-size: 20px;
  font-weight: 600;
  line-height: 48px;
}
.file_wrap .file_input_area .file_input input {
  display: none;
}
.file_wrap .file_input_area .file_input label {
  display: block;
  font-size: 17px;
  color: #fff;
  font-weight: 600;
  line-height: 48px;
  height: 48px;
  width: 122px;
  text-align: center;
  background: #1e2082;
  border-radius: 24px;
}
.file_wrap .file_list {
  display: none;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.file_wrap .file_list.on {
  display: flex;
}
.file_wrap .file_list button {
  font-size: 16px;
  color: #1e2082;
  font-weight: 500;
  line-height: 28px;
  padding: 0 40px 0 16px;
  border: #1e2082 1px solid;
  border-radius: 15px;
  background: #fff url("/images/btn_del.svg") no-repeat right 16px center;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 약관 */
.terms_area .terms_box {
  margin: 8px 0 16px;
  border: #e5e8eb 1px solid;
  border-radius: 8px;
  padding: 24px;
  background: #f9fafb;
  overflow: auto;
  font-size: 16px;
  color: #6b7684;
  line-height: 1.4;
}
.terms_area .terms_box.height1 {
  height: 208px;
}
.terms_area .terms_box.height2 {
  height: 140px;
}
.check_label {
  margin-bottom: 24px;
}
.check_label input {
  display: none;
}
.check_label label {
  position: relative;
  display: block;
  padding-left: 30px;
}
.check_label i {
  position: absolute;
  top: 1px;
  left: 0;
  width: 22px;
  aspect-ratio: 1/1;
  border-radius: 2px;
  background: #fff;
  border: #ddd 1px solid;
  transition: 0.2s linear;
}
.check_label i:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/images/icon_check.svg") no-repeat 50% 50%;
  opacity: 0;
  transition: 0.2s linear;
}
.check_label span {
  display: block;
  font-size: 16px;
  line-height: 24px;
}
.check_label strong {
  font-weight: 500;
}
.check_label input:checked + label i:before {
  opacity: 1;
}
.terms_area .excl {
  position: relative;
  color: #dc2626;
  font-weight: 500;
  padding-left: 28px;
}
.terms_area .excl:before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  aspect-ratio: 1/1;
  background: url("/images/icon_excl.svg") no-repeat 50% 50% / contain;
}
/* 캡챠 */
.captcha_wrap {
  margin-top: 24px;
}
.captcha_wrap .captcha_area {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}
.captcha_wrap .captcha_area .imgfit,
.captcha_wrap .captcha_area .btn {
  display: flex;
  justify-content: center;
  align-items: center;
}
.captcha_wrap .captcha_area .imgfit {
  width: 160px;
  height: 56px;
  border: #e5e8eb 1px solid;
  border-radius: 8px;
}
.captcha_wrap .captcha_area .btn {
  width: 56px;
  height: 56px;
  border: #e5e8eb 1px solid;
  border-radius: 8px;
  font-size: 0;
}
.captcha_wrap .captcha_area .btn_sound {
  background: url("/images/btn_sound.svg") no-repeat 50% 50%;
}
.captcha_wrap .captcha_area .text {
  width: 412px;
  max-width: calc(100% - 396px);
}

/* ------------------------------ PC Guide ------------------------------ */
@media screen and (max-width: 1480px) {
  /* Contact Us */
  .contact_us_wrap .input_area .tit {
    font-size: 18px;
  }
  /* 첨부파일 */
  .file_wrap .file_input_area .tit {
    font-size: 18px;
  }
  .file_wrap .file_input_area .file_input label {
    font-size: 16px;
  }
  .file_wrap .file_list button {
    font-size: 15px;
  }
}

/* ------------------------------ Tablet PC ------------------------------ */
@media screen and (max-width: 1023px) {
  /* Contact Us */
  .contact_us_wrap .img_area {
    height: 220px;
    margin-bottom: 40px;
  }
  .contact_us_wrap .input_area .inputs {
    gap: 20px;
  }
  .contact_us_wrap .input_area .inputs > div {
    width: 100%;
  }
}

/* ------------------------------ Mobile ------------------------------ */
@media screen and (max-width: 767px) {
  /* Contact Us */
  .contact_us_wrap .img_area {
    height: 140px;
    border-radius: 12px;
    margin-bottom: 24px;
  }
  .contact_us_wrap .input_area > .excl {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .contact_us_wrap .input_area .inputs {
    gap: 24px;
  }
  .contact_us_wrap .input_area .inputs > div {
    gap: 6px;
  }
  .contact_us_wrap .input_area .tit {
    font-size: 15px;
  }
  .contact_us_wrap .input_area .email_area {
    gap: 4px;
  }
  .contact_us_wrap .input_area .email_area span {
    width: 14px;
  }
  .contact_us_wrap .input_area .email_area .text {
    width: calc((100% - 26px) / 3);
  }
  .contact_us_wrap .input_area textarea.text {
    height: 200px;
    padding: 16px;
  }
  /* 첨부파일 */
  .file_wrap {
    padding: 12px 0 48px;
    margin-bottom: 48px;
  }
  .file_wrap .file_input_area {
    gap: 12px;
  }
  .file_wrap .file_input_area .tit {
    font-size: 15px;
    line-height: 40px;
  }
  .file_wrap .file_input_area .file_input label {
    font-size: 14px;
    line-height: 40px;
    height: 40px;
    width: 100px;
  }
  .file_wrap .file_list {
    gap: 4px;
    margin-top: 20px;
  }
  .file_wrap .file_list button {
    font-size: 13px;
    line-height: 24px;
    padding: 0 30px 0 12px;
    background-position: right 8px center;
  }
  /* 약관 */
  .terms_area .terms_box {
    margin: 6px 0 12px;
    padding: 20px;
    font-size: 13px;
  }
  .terms_area .terms_box.height1 {
    height: 160px;
  }
  .terms_area .terms_box.height2 {
    height: 120px;
  }
  .check_label {
    margin-bottom: 20px;
  }
  .check_label span {
    font-size: 13px;
  }
  .terms_area .excl {
    padding-left: 22px;
  }
  .terms_area .excl:before {
    top: 1px;
    width: 16px;
  }
  /* 캡챠 */
  .captcha_wrap {
    margin-top: 20px;
  }
  .captcha_wrap .captcha_area {
    margin-top: 6px;
    gap: 4px;
    flex-wrap: wrap;
  }
  .captcha_wrap .captcha_area .imgfit {
    width: 140px;
    height: 42px;
  }
  .captcha_wrap .captcha_area .btn {
    width: 42px;
    height: 42px;
  }
  .captcha_wrap .captcha_area .text {
    width: 100%;
    max-width: 100%;
  }
}
