@charset 'utf-8';
@import url('./font.css');
/* counsel_ css */
.counsel_wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background-color: #0059b3;
}
.counsel_wrapper .counsel_title,
.counsel_wrapper .counsel_title2 {
  text-align: right;
  background-color: #060c2e;
  width: calc(100% - 965px);
  min-width: 600px;
}

.counsel_wrapper .counsel_title a {
  display: block;
}

.counsel_wrapper .counsel_title img {
  display: inline-block;
  width: 100%;
  height: auto;
}
.counsel_wrapper > div:nth-child(2) {
  background-color: #fff;
}
.counsel_wrapper > div:not(:last-child) {
  position: relative;
}

.counsel_wrapper .form-box {
  background-color: transparent;
  height: 332px;
}

.counsel_wrapper form {
  width: 875px;
  position: relative;
  display: flex;
  align-items: center;
}

.counsel_wrapper .form-title {
  margin-bottom: 1.5rem;
  font-size: 2.6rem !important;
  text-align: left;
  margin-left: 1.1rem;
}

.counsel_wrapper .form-title img {
  max-width: 335px;
  text-align: center;
  width: 100%;
  margin-left: 35%;
}

@media screen and (max-width: 769px) {
  .counsel_wrapper .form-title img {
    width: 86%;
    text-align: center;
    margin-left: 2%;
  }
}

.counsel_wrapper .form-title span {
  color: #060c2e;
  font-weight: 700 !important;
  letter-spacing: -1px;
}

.counsel_wrapper .form-title2 span {
  color: #00f0fe;
  font-weight: 700;
  letter-spacing: -1px;
}

.counsel_wrapper .form-con {
  line-height: 3em;
  display: flex;
  font-size: 1rem;
}
.counsel_wrapper .form-con ul {
  padding: 2rem 0 0 6rem;
  width: 45rem;
  min-width: 340px;
}
.counsel_wrapper input,
.counsel_wrapper select {
  border: none;
  outline: none;
  height: 2.5em;
  line-height: 2.2em;
  padding: 0.2% 2%;
  width: 100%;
  background-color: #f6f6f6;
  color: #3c3c3c;
  -webkit-border-radius: 0;
  font-size: 1rem;
}
.counsel_wrapper input::placeholder,
.counsel_wrapper .text-box input::placeholder {
  font-size: 0.9rem;
  font-family: 'SDGothicNeo';
  color: #3c3c3c;
}
.counsel_wrapper .text-box select,
.counsel_wrapper .text-box input {
  padding: 0.2% 2%;
  width: 32%;
  -webkit-border-radius: 0;
  color: #3c3c3c;
  font-size: 1rem;
}
.counsel_wrapper .text-box input {
  margin: 0 0 0 1%;
}
.counsel_wrapper .fr-con {
  display: inline-block;
  width: calc(100% - 10rem);
  margin-left: 1.3rem;
}

.counsel_wrapper .form-con li {
  color: #00f0ff;
  font-weight: 400;
  letter-spacing: -1px;
  font-size: 1.2rem;
}

#ev_rami_counsel.counsel_wrapper .form-con li {
  color: #ff91b7;
}

.counsel_wrapper .form-con li:not(:first-child) span {
  display: inline-block;
}
.counsel_wrapper .form-con li span:first-child {
  width: 5rem;
  margin-top: 0.2rem;
  text-align: left;
  font-weight: 400;
}
input[type="submit"] {
  width: 8rem;
  font-size: 1.2rem;
  /* background-color: #060c2e; */
  color: #fff;
  height: 11.6rem;
  margin-top: 9rem;
}
input[type="button"] {
  width: 8rem;
  font-size: 1.2rem;
  /* background-color: #060c2e; */
  color: #fff;
  height: 11.6rem;
  margin-top: 8rem;
}

#receive-btn,
#receive-btn2,
#receive-btn3 {
  width: 7.4rem;
  font-size: 1.2rem;
  color: #fff;
  height: 9rem;
  margin-top: 6.8rem;
  margin-left: -2.2%;
  cursor: pointer;
  line-height: 1.4em;
  word-break: auto-phrase;
  white-space: normal;
}

#receive-btn {
    background-color: #060c2e;
}
#receive-btn2 {
  background-color: #0e4648;
}
#receive-btn3 {
  background-color: #3b1f28;
}

#provision {
  line-height: 1.2rem;
}
#provision-check[type="checkbox"] {
  width: 1rem;
  line-height: 1.3rem;
  margin-right: 0.1rem;
  margin-top: -0.2rem;
  -webkit-appearance: checkbox;
}
#provision-check label[for="provision-check"] {
  font-size: 1rem;
}

#provision2 {
  line-height: 1.2rem;
}
#provision2-check[type="checkbox"] {
  width: 1rem;
  line-height: 1.3rem;
  margin-right: 0.1rem;
  -webkit-appearance: checkbox;
}
#provision2-check label[for="provision-check"] {
  font-size: 1rem;
}

#provision3 {
  line-height: 1.2rem;
}
#provision3-check[type="checkbox"] {
  width: 1rem;
  line-height: 1.3rem;
  margin-right: 0.1rem;
  -webkit-appearance: checkbox;
}
#provision3-check label[for="provision-check"] {
  font-size: 1rem;
}

#privacy_btn {
  display: inline-block;
  padding: 0.3rem 1rem 0.1rem;
  background: #060c2e;
  color: #fff;
  font-size: 1rem;
  margin-left: 0.3rem;
}

#privacy_btn2 {
  display: inline-block;
  padding: 0.3rem 1rem 0.1rem;
  background: #0e4648;
  color: #fff;
  font-size: 1rem;
  margin-left: 0.3rem;
}

#privacy_btn3 {
  display: inline-block;
  padding: 0.3rem 1rem 0.1rem;
  background: #3b1f28;
  color: #fff;
  font-size: 1rem;
  margin-left: 0.3rem;
}

.counsel_wrapper .provision {
  position: absolute;
  bottom: -2.5rem;
  left: 13.6%;
  width: 80%;
  text-align: right;
}

.counsel_wrapper .provision2 {
  position: absolute;
  bottom: -2.5rem;
  left: 13.6%;
  width: 80%;
  text-align: right;
}

.counsel_wrapper .provision3 {
  position: absolute;
  bottom: -2.5rem;
  left: 13.6%;
  width: 80%;
  text-align: right;
}

.counsel_wrapper .provision span {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}
.counsel_wrapper .provision2 span {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}
.counsel_wrapper .provision3 span {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}
/* rolling banner */

/* 개인정보 처리방침 팝업 */
#privacy_box {
  position: fixed;
  display: none;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  z-index: 99999999;
}
#privacy_box table {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vw;
  background: #fcfcfc;
  font-family: 'SDGothicNeo', "Noto Sans Korean", "Malgun Gothic", dotum, sans-serif;
  white-space: break-spaces;
  overflow-x: auto;
  -ms-overflow-style: none;
  border-collapse: collapse;
  border: 0px solid #666565;
}

#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 #8f8f8f;
}
#privacy_box tr:last-child {
  height: 76vh;
  overflow-y: scroll;
  padding: 0 2%;
}
#privacy_box tr:first-child th:first-child {
  width: calc(100% - 50px);
  font-size: 1rem;
  font-weight: 900;
}
#privacy_box tr:first-child 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: 0.85rem;
  letter-spacing: -1px;
  line-height: 1.2;
  color: #2d2d2d;
  white-space: break-spaces;
  overflow-x: unset;
  margin-top: -10px;
  font-family: 'SDGothicNeo', "Noto Sans KR", "Malgun Gothic", dotum, sans-serif;
}
@media screen and (max-width: 1500px) {
  .counsel_wrapper .counsel_title {
    width: 100%;
    text-align: center;
    padding: 4% 0;
  }
  .counsel_wrapper form {
    width: 100%;
    padding-bottom: 8%;
  }

  .counsel_wrapper .provision {
    width: 100%;
    bottom: 10%;
    left: 0%;
  }
  .counsel_wrapper .provision2 {
    width: 100%;
    bottom: 10%;
    left: 0%;
  }

  .counsel_wrapper .provision3 {
    width: 100%;
    bottom: 10%;
    left: 0%;
  }
  #privacy_btn, #privacy_btn2, #privacy_btn3 {
    font-size: 0.8rem;
  }
  .counsel_wrapper > div:not(:last-child) {
    margin: 0 auto;
    height: auto;
  }
  .counsel_wrapper .form-con li:not(:first-child) span:first-child {
    font-size: 1rem;
  }
  .counsel_wrapper .form-con ul {
    padding: 10% 0 10% 3%;
    width: 100%;
    min-width: 100%;
  }
  .counsel_wrapper .fr-con {
    width: 80%;
    margin-left: 3%;
  }
  .counsel_wrapper .fr-con input[name="wr_subject"] {
    height: 3.3em;
  }
  .counsel_wrapper .form-con .text-box {
    display: flex;
  }
  .counsel_wrapper .text-box select,
  .counsel_wrapper .text-box input {
    padding: 0.2% 2%;
    width: 34%;
    height: auto;
    line-height: 3.2em;
  }
  .counsel_wrapper .form-con li span:first-child {
    width: 15%;
    margin-top: 2%;
  }
  .counsel_wrapper .form-title {
    margin-bottom: 4%;
    font-size: 2rem;
    text-align: center;
    width: 100%;
    margin-left: 3rem;
  }
  input[type="submit"] {
    width: 16%;
    font-size: 1rem;
    color: #fff;
    height: 29.5vw;
    margin: 13% 3% 0;
    max-height: 171px;
  }

  /*	1500픽셀이하에서 사이즈 조정 */
  #receive-btn,
  #receive-btn2,
  #receive-btn3 {
    width: 8rem;
    color: #fff;
    height: 10.3rem;
    margin-top: 5rem;
    cursor: pointer;
    margin-left: 1rem;
  }
}

@media screen and (max-width: 1023px) {
  .counsel_wrapper > div:not(:last-child) {
    padding: 0;
  }
}

@media screen and (max-width: 720px) {
  .counsel_wrapper .counsel_title img {
    width: 100%;
  }
}

@media all and (max-width: 610px) {
  .counsel_wrapper .counsel_title img {
    width: 100%;
    height: auto;
  }
  .counsel_wrapper .counsel_title a {
    width: 100%;
    min-width: 100%;
  }
  .counsel_wrapper form {
    padding-bottom: 11%;
  }
  .counsel_wrapper .form-con {
    line-height: 3em;
    display: flex;
    font-size: 3.6vw;
  }
  .counsel_wrapper .form-title {
    margin-bottom: 5%;
    font-size: 6.5vw;
    text-align: center;
  }
  .counsel_wrapper .form-title.form-ortho-title {
    width: 100%;
  }
  .counsel_wrapper .form-con li:not(:first-child) span:first-child {
    font-size: 3vw;
  }
  .counsel_wrapper input,
  .counsel_wrapper select {
    height: 2.5em;
    line-height: 2.5em;
    padding: 0.2% 2%;
    font-size: 3.5vw;
  }
  .counsel_wrapper .text-box select,
  .counsel_wrapper .text-box input {
    width: 34%;
    height: auto;
    line-height: 2.5em;
    font-size: 3.5vw;
  }
  .counsel_wrapper .form-con ul {
    padding: 8% 0 3% 3%;
    width: 98%;
    min-width: 98%;
  }
  .counsel_wrapper .form-con li span:first-child {
    width: 18%;
    margin-top: 2%;
  }
  .counsel_wrapper .fr-con {
    width: 75%;
  }
  .counsel_wrapper .fr-con input[name="wr_subject"] {
    height: 2.5em;
  }
  .counsel_wrapper .form-con li:not(:first-child) span:first-child {
    margin: 0;
    width: 14%;
    font-size: 3.2vw;
  }

  input[type="submit"] {
    width: 14%;
    font-size: 3vw;
    height: 31.5vw;
    margin: 14.3% 4% 0 0;
    min-height: none;
  }

  .counsel_wrapper .provision,
  .counsel_wrapper .provision2,
  .counsel_wrapper .provision3 {
    left: auto;
    right: 3%;
    bottom: 5%;
  }
  .counsel_wrapper .provision span,
  .counsel_wrapper .provision2 span,
  .counsel_wrapper .provision3 span {
    font-size: 3.5vw;
  }
  #receive-btn,
  #receive-btn2,
  #receive-btn3 {
    width: 25%;
    font-size: 3.5vw;
    color: #fff;
    height: 32vw;
    margin: 17% 3% 0 0;
    max-height: 171px;
    line-height: 1.5em;
    word-break: auto-phrase;
  }

  #privacy_box table {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88vw;
    background: #fcfcfc;
    font-family: 'SDGothicNeo', "Noto Sans Korean", "Malgun Gothic", dotum, sans-serif;
    white-space: break-spaces;
    overflow-x: auto;
    -ms-overflow-style: none;
    border-collapse: collapse;
    border: 1px solid #232323;
  }

  .counsel_wrapper > div:not(:last-child) {
    min-width: 100%;
    width: 100%;
  }
  .counsel_wrapper form {
    width: 100%;
    justify-content: center;
  }
}
