@charset "UTF-8";
@font-face {
  font-family: "S-CoreDream-3Light";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
/* 공통 ------------------------------------------------------------------------------ */
.mg_b3 {
  margin-bottom: 3%;
}

.mg_b5 {
  margin-bottom: 5%;
}

button {
  outline: none;
  border: none;
}

/* 하단 상담 ---------------------------------------------------------------------------- */
.counsel_form_wrap {
  background-image: url(../img/counsel_bg.jpg);
  background-size: 100% auto;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2% 0;
  position: fixed;
  left: 0;
  right: 0;
  bottom: -120%;
  font-family: "Pretendard", "Noto", dotum, sans-serif;
  transition: bottom 0.65s;
  z-index: 11;
}
.counsel_form_wrap.fixed {
  bottom: 0;
}
.counsel_form_wrap .counsel_txt {
  font-family: "S-CoreDream-3Light";
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.counsel_form_wrap .counsel_txt img {
  width: 100%;
  height: auto;
}
.counsel_form_wrap form {
  width: 100%;
}
.counsel_form_wrap .po_r {
  flex-direction: column;
}
.counsel_form_wrap .counsel_form {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: flex-start;
}
.counsel_form_wrap .counsel_form_inner {
  display: flex;
  justify-content: space-between;
  width: 60%;
  margin: 0 auto;
}
.counsel_form_wrap .counsel_form_inner_con p {
  font-family: "S-CoreDream-3Light";
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
}
.counsel_form_wrap .counsel_form .counsel_input {
  max-width: 200px;
  margin-right: 0.5rem;
  margin-top: 3%;
}
.counsel_form_wrap .counsel_form .counsel_input input[type=text] {
  text-indent: 2%;
}
.counsel_form_wrap .counsel_form .counsel_input input[type=checkbox] {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin: 0;
}
.counsel_form_wrap .counsel_form .counsel_input .select_wrap {
  width: 100%;
}
.counsel_form_wrap .counsel_form .counsel_input input,
.counsel_form_wrap .counsel_form .counsel_input select {
  width: 100% !important;
  height: 45px;
  border-radius: 5px;
}
.counsel_form_wrap .counsel_form .counsel_input input:focus,
.counsel_form_wrap .counsel_form .counsel_input select:focus {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -webkit-border: 0;
  -moz-border: 0;
  outline: none;
  box-shadow: none;
  border: 2px solid #00c4cc;
}
.counsel_form_wrap .counsel_form input[type=submit] {
  background-color: #173b79;
  border: none;
  outline: none;
  height: 45px;
  border-radius: 5px;
  padding: 0;
  font-weight: 500;
  color: #fff6e9;
  font-size: 1.2rem;
  letter-spacing: -0.7px;
}
.counsel_form_wrap .counsel_form .submit_btn_wrap.counsel_input {
  min-width: 180px;
  margin-right: 0;
  margin-top: 10%;
}
.counsel_form_wrap .counsel_form .pv_btn_wrap.counsel_input {
  width: 8%;
  min-width: 152px;
  margin: 0 0.5rem 0 0.3rem;
}
.counsel_form_wrap .counsel_form .pv_btn_wrap .c_form_btm {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
}
.counsel_form_wrap .counsel_form .pv_btn_wrap .c_form_btm a {
  display: inline-block;
  margin: 0 0 2px;
  padding: 3px;
  font-size: 0.9rem;
  font-weight: 300;
  border: 1px solid #fff;
  color: inherit;
  width: 90%;
  text-align: center;
}
.counsel_form_wrap .counsel_form .pv_btn_wrap .c_form_btm a:hover {
  color: #28b7b5;
  background: #fff;
}
.counsel_form_wrap .counsel_form .pv_btn_wrap .c_form_btm label[for=provision_check] input {
  height: auto !important;
  width: auto !important;
}
.counsel_form_wrap label[for=provision_check] {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 1.1rem;
  white-space: nowrap;
}
.counsel_form_wrap input[type=checkbox]#provision_check {
  width: 18px;
  height: 18px;
  margin: 0;
  vertical-align: middle;
}

@font-face {
  font-family: "S-CoreDream-3Light";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
#mo_counsel_open_btn {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: 65%;
  max-width: 420px;
  transform: translate(-50%, 0);
  z-index: 10;
}

#mo_counsel_close_btn {
  position: absolute;
  top: 15px;
  right: 25px;
  width: 4%;
  max-width: 20px;
}
#mo_counsel_close_btn img {
  width: 100%;
}

/* 개인정보처리방침----------------------------------------------------------------------- */
#privacy_box {
  position: fixed;
  display: none;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: rgba(0, 0, 0, 0.2);
  width: 100%;
  z-index: 99999999;
}
#privacy_box table {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  max-width: 800px;
  background: #fcfcfc;
  white-space: break-spaces;
  overflow-x: auto;
  -ms-overflow-style: none;
  border-collapse: collapse;
  border: 2px solid #232323;
}
#privacy_box tbody {
  display: flex;
  flex-direction: column;
}
#privacy_box tr:first-child {
  display: flex;
  line-height: 50px;
  text-align: center;
  border-bottom: 1px solid #232323;
  font-size: 1rem;
  font-weight: 900;
}
#privacy_box tr:last-child {
  height: 76vh;
  overflow-y: scroll;
  padding: 0 2%;
}
#privacy_box th:first-child {
  width: calc(100% - 50px);
  font-size: 1rem;
  font-weight: 900;
}
#privacy_box th:last-child {
  width: 50px;
  background: #232323;
}
#privacy_box button {
  display: inline-block;
  width: 100%;
  height: 100%;
  color: #fff;
  background: #232323;
  font-weight: 600;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
#privacy_box pre {
  font-size: 1rem;
  white-space: break-spaces;
  overflow-x: unset;
  font-family: "Pretendard", "SpoqaHanSansNeo-Regular", dotum, sans-serif;
}

#counsel_open {
  display: none;
  position: fixed;
  bottom: 0%;
  left: 50%;
  width: 100%;
  z-index: 9998;
  transform: translate(-50%, 0);
  filter: drop-shadow(-5px 4px 6px rgba(0, 0, 0, 0.2117647059));
}
#counsel_open .counsel_txt {
  margin: 0 auto;
  width: 30%;
  text-align: center;
  background-color: #2b49df;
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
  padding: 0.3rem 0.2rem;
  letter-spacing: 1px;
  border-radius: 1.2rem 1.2rem 0 0;
}
#counsel_open .counsel_bn {
  padding: 2% 0;
  text-align: center;
}
#counsel_open .counsel_bn img {
  width: 100%;
  max-width: 360px;
}

#counsel_close {
  position: absolute;
  display: none;
  right: 0;
  top: -2.36rem;
  font-size: 0.8rem;
  color: #fff;
  font-weight: bold;
  line-height: 30px;
  padding: 0.2rem 0.7rem 0.3rem 0.9rem;
  letter-spacing: 1px;
  border-radius: 1.3rem 0 0 0;
  z-index: 2;
  background-color: #ef8468;
  text-align: center;
}

.input-group {
  position: relative;
}
.input-group .counsel_ico {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}
.input-group select {
  padding-left: 40px;
  border: 1px solid #ccc;
  font-size: 16px;
  color: #828282;
}
.input-group input {
  padding-left: 40px;
  border: 1px solid #ccc;
  font-size: 16px;
  color: #828282;
}
.input-group input::-moz-placeholder {
  color: #828282;
}
.input-group input::placeholder {
  color: #828282;
}

@media screen and (max-width: 767px) {
  .mg_b5 {
    margin-bottom: 4%;
  }
  .mg_b3 {
    margin-bottom: 4%;
  }
  .counsel_form_wrap {
    background-image: url(../img/m_counsel_bg.jpg);
    background-size: 100% auto;
    background-repeat: repeat;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .counsel_form_wrap.on {
    bottom: 0;
  }
  .counsel_form_wrap.fixed {
    bottom: -100%;
  }
  .counsel_form_wrap.fixed.on {
    bottom: 0;
  }
  .counsel_form_wrap .counsel_txt {
    width: 65%;
    max-width: 100%;
    padding-right: 0;
    margin: 0 auto 6%;
  }
  .counsel_form_wrap .counsel_form {
    width: 100%;
    margin: 0 auto;
    margin-top: 4%;
    padding: 0;
    max-width: auto;
  }
  .counsel_form_wrap .counsel_form_inner {
    display: block;
    width: 92%;
    margin: 0 auto;
    padding: 9% 0 6%;
  }
  .counsel_form_wrap .counsel_form_inner_con p {
    font-size: 1rem;
    text-align: center;
  }
  .counsel_form_wrap .counsel_form .counsel_input {
    width: 100%;
    max-width: 100%;
    margin: 0.1rem;
  }
  .counsel_form_wrap .counsel_form .counsel_input input,
  .counsel_form_wrap .counsel_form .counsel_input select {
    height: 38px;
  }
  .counsel_form_wrap .counsel_form .submit_btn_wrap.counsel_input {
    width: 15%;
    min-width: 150px;
    margin-top: 0;
  }
  .counsel_form_wrap .counsel_form .submit_btn_wrap input[type=submit] {
    height: 35px;
    font-size: 1rem;
    padding-left: 0;
  }
  .counsel_form_wrap .counsel_form .pv_btn_wrap.counsel_input {
    width: 100%;
    min-width: 100%;
  }
  .counsel_form_wrap .counsel_form .pv_btn_wrap .c_form_btm {
    flex-direction: row;
  }
  .counsel_form_wrap .counsel_form .pv_btn_wrap .c_form_btm a {
    margin: 0px 5px 2px 0;
    font-size: 0.75rem;
    width: 95px;
  }
  .counsel_form_wrap .counsel_form .pv_btn_wrap .c_form_btm label[for=provision_check] {
    font-size: 1rem;
  }
  label[for=provision_check] {
    padding-bottom: 0.4rem;
    display: inline-block;
    margin-left: 1.5%;
  }
  /* 모바일 버튼 */
  #counsel_open {
    display: block;
  }
  #counsel_close {
    display: block;
  }
  /* 개인정보처리방침 */
  #privacy_box table {
    width: 90vw;
  }
  .counsel_input input::-moz-placeholder {
    word-break: keep-all;
  }
  .counsel_input input::placeholder {
    word-break: keep-all;
  }
  label[for=provision_check] span {
    font-size: 1rem;
    letter-spacing: -0.78px;
    word-break: keep-all;
  }
  .input-group .counsel_ico {
    width: 15px;
    height: 15px;
  }
  .input-group select {
    font-size: 1rem;
    padding-left: 25px;
  }
  .input-group input {
    padding-left: 25px;
    font-size: 1rem;
  }
}