/* 365jandi inquiry responsive form */
#bo_w,
.bo_w,
.tbl_frm01,
.write_div {
  max-width: 920px;
  margin: 0 auto;
  padding: 30px 22px;
  box-sizing: border-box;
}

#bo_w h2,
.bo_w h2 {
  font-size: 26px;
  margin: 0 0 24px;
  color: #12351f;
  font-weight: 800;
}

.tbl_frm01 table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.tbl_frm01 th {
    width: 170px;
    padding: 15px 16px;
    background: #f3f8f2;
    color: #1f3f27;
    font-size: 25px;
    font-weight: 700;
    /* text-align: left; */
    border-radius: 12px 0 0 12px;
    vertical-align: top;
}

.tbl_frm01 td {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #dde8dc;
  border-left: 0;
  border-radius: 0 12px 12px 0;
}

.tbl_frm01 input[type="text"],
.tbl_frm01 input[type="password"],
.tbl_frm01 input[type="email"],
.tbl_frm01 input[type="tel"],
.tbl_frm01 input[type="file"],
.tbl_frm01 select,
.tbl_frm01 textarea,
.frm_input,
.required {
  width: 100% !important;
  max-width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #cfdccf;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  color: #222;
  box-sizing: border-box;
}

.tbl_frm01 textarea,
#wr_content {
  min-height: 220px;
  line-height: 1.65;
  resize: vertical;
}

.tbl_frm01 input:focus,
.tbl_frm01 textarea:focus,
.tbl_frm01 select:focus {
  outline: none;
  border-color: #2f8f46;
  box-shadow: 0 0 0 3px rgba(47,143,70,.13);
}

.required {
  background-image: none !important;
}

.frm_info,
.frm_file {
  display: block;
  margin-top: 7px;
  color: #667;
  font-size: 13px;
  line-height: 1.5;
}

.btn_confirm,
.write_btn,
.bo_fx {
  max-width: 920px;
  margin: 24px auto 0;
  padding: 0 22px;
  text-align: center;
  box-sizing: border-box;
}

.btn_submit,
.btn_b01,
.btn_cancel,
a.btn_cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn_submit {
  background: #23863a;
  color: #fff !important;
}

.btn_submit:hover {
  background: #17692b;
}

.btn_cancel,
a.btn_cancel,
.btn_b01 {
  background: #eef3ee;
  color: #333 !important;
}

#captcha,
.captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

#captcha input {
  width: 150px !important;
}

/* mobile */
@media (max-width: 768px) {
  #bo_w,
  .bo_w,
  .tbl_frm01,
  .write_div {
    padding: 22px 14px;
  }

  #bo_w h2,
  .bo_w h2 {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .tbl_frm01 table,
  .tbl_frm01 tbody,
  .tbl_frm01 tr,
  .tbl_frm01 th,
  .tbl_frm01 td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  .tbl_frm01 table {
    border-spacing: 0;
  }

  .tbl_frm01 tr {
    margin-bottom: 14px;
    border: 1px solid #dde8dc;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
  }

  .tbl_frm01 th {
    padding: 12px 14px 6px;
    background: #f3f8f2;
    border-radius: 0;
    font-size: 14px;
  }

  .tbl_frm01 td {
    padding: 8px 12px 14px;
    border: 0;
    border-radius: 0;
  }

  .tbl_frm01 input[type="text"],
  .tbl_frm01 input[type="password"],
  .tbl_frm01 input[type="email"],
  .tbl_frm01 input[type="tel"],
  .tbl_frm01 input[type="file"],
  .tbl_frm01 select,
  .tbl_frm01 textarea,
  .frm_input,
  .required {
    min-height: 44px;
    font-size: 16px;
  }

  .tbl_frm01 textarea,
  #wr_content {
    min-height: 240px;
  }

  .btn_confirm,
  .write_btn,
  .bo_fx {
    padding: 0 14px;
  }

  .btn_submit,
  .btn_cancel,
  a.btn_cancel,
  .btn_b01 {
    width: 100%;
    margin: 5px 0;
  }

}
/* 자동등록방지 캡차 표시 보정 */
#captcha {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 16px;
  background: #fff;
  border: 0;
}

#captcha legend {
  display: none;
}

#captcha_img {
  display: block !important;
  width: 132px !important;
  height: 60px !important;
  border: 1px solid #ddd;
  background: #fff;
}

#captcha_key {
  width: 160px !important;
  height: 46px !important;
  padding: 0 12px !important;
  border: 1px solid #cfdccf !important;
  border-radius: 10px !important;
  font-size: 18px !important;
}

#captcha_mp3,
#captcha_reload {
  height: 38px;
  padding: 0 10px;
  border: 1px solid #d9e5d9;
  background: #f4f8f4;
  border-radius: 8px;
  font-size: 13px;
}

#captcha_info {
  width: 100%;
  margin-top: 4px;
  font-size: 13px;
  color: #555;
}

@media (max-width: 768px) {
  #captcha {
    align-items: flex-start;
  }

  #captcha_img {
    width: 130px !important;
  }

  #captcha_key {
    width: calc(100% - 140px) !important;
    max-width: 180px;
  }

  #captcha_mp3,
  #captcha_reload {
    flex: 1;
    min-width: 90px;
  }
}