
.container {
  width: 1200px;
  margin: 0px auto;
  max-width: 100%;
  box-sizing: border-box;
  background-color: #fff;
}



.btn.btn-ctl {
  position: absolute;
  display: inline-block;
  top: 10px;
  right: 10px;
  background-color: #ef6c00;
  color: #fff;
  font-size: 14px;
  opacity: 0.5;
  border-radius: 4px;
  transition: opacity 0.5s;
}
.btn.btn-ctl:hover {
  opacity: 1;
}
.container * {
  box-sizing: border-box;
}
input,
textarea,
select {
  box-sizing: border-box;
}

h1 {font-size:24px; line-height:2em; color: #304ffe}

.li-item {
  width: 100%;
  margin: 0px auto;
  border-top: 1px solid #ddd;
  padding: 10px 0;
  box-sizing: border-box;
}
.li-item.last {
  border-bottom: 1px solid #ddd;
}
.li-item.first {
  margin-top:10px;
}
.li-item:after { content: " ";visibility: hidden;display: block;height: 0;clear: both; }
.li-item > label {
  display: block;
  width: 120px;
  float:left;
  text-align: left;
}
.li-item .qa_question {
  line-height: 2em;
  font-size: 16px;
  color: #096dd9;
}

.li-item .answer {
  display: block;
  padding-left:10px;
  width: calc(100% - 120px);
  float:left;
  font-size: 16px;
  line-height: 1.5em;
  text-align: left;
  border-left: 1px solid #ddd;
}

.li-item .answer > div {
  text-align: left;
}
.li-item .answer > div.cke_sc{
  margin: 0 0 5px;
  text-align: right;
}
.li-item .answer .btn_cke_sc {
  line-height:1em;
}
.li-item input[type="text"],
.li-item input[type="tel"],
.li-item input[type="email"],
.li-item input[type="date"],
.li-item select {
  border: 1px solid #ccc;
  line-height: 1em;
  padding: 0.4em;
}

.li-item textarea {
  border: 1px solid #ccc;
  line-height: 1.5em;
  padding: 0.4em;
  height: 6em;
  width: 100%;
}

.tl-txt-point {
  float: left;
  line-height: 50px;
  color: #aaa;
  font-size: 16px;
  width: 54px;
  text-align: right;
}
.co_confirm_wrapper {
  font-size: 16px;
  text-align: center;
  line-height: 1em;
  padding: 10px 0;
}
.action {
  text-align: center;
  margin: 20px 0;
}

.btn-submit {
  font-size: -webkit-calc(14px + 1.2vmin);
  font-size: -moz-calc(14px + 1.2vmin);
  font-size: calc(14px + 1.2vmin);
  padding: 0.4em 1em;
  background-color: #d32f2f;
  color: #fff;
  transition: all 0.5s;
  border: 0;
  border-radius: 4px;
}

.btn-submit:hover {
  background-color: #b71c1c;
}

/* 가로모드 모바일 디바이스 (가로 해상도가 768px 보다 작은 화면에 적용) */
@media (max-width: 1200px) {  
  .container {
    width:98%;
  }
}
@media (max-width: 767px) {
  .sv_hp_box {
    float: right;
  }
}

@media (max-width: 575px) {  
  .container {
    width:97%;
  }
  .li-item .qa_question {
    display:block;
    width:100%;
    line-height: 1.5em;
    font-size: 14px;
  }
  .li-item .answer {
    display: block;
    padding-left:0;
    width: 100%;
    font-size: 16px;
    line-height: 1.5em;
    text-align: left;
    border-left: 0;
  }
}
/* Haedam-specific consultation UI; scoped so other site styles remain unchanged. */
.haedam-counsel{max-width:1040px!important;margin:48px auto 90px!important;padding:0 24px!important;font-family:inherit;color:#262d31}
.haedam-counsel-intro{padding:38px 44px;background:#f4f5f2;border-left:3px solid #707d6b;margin-bottom:36px}
.haedam-eyebrow{display:block;font-size:11px;letter-spacing:.2em;color:#697467;margin-bottom:15px}
.haedam-counsel-intro h2{font-size:clamp(20px,2.6vw,30px);font-weight:600;line-height:1.4;margin:0 0 12px;color:#26312a}
.haedam-counsel-intro p{font-size:15px;line-height:1.8;color:#606b62;margin:0}
.haedam-counsel #fcounsel{padding:0 4px}
.haedam-form-title{font-size:21px;color:#2e392f;margin-bottom:8px}
.haedam-required-hint{font-size:13px;color:#777;margin-bottom:24px}
.haedam-counsel .li-item{display:flex;align-items:flex-start;padding:20px 0;border-top:1px solid #e8eae6;float:none}
.haedam-counsel .li-item>.qa_question{float:none;flex:0 0 190px;width:auto;line-height:1.55;color:#343f37;font-weight:600;font-size:15px}
.haedam-counsel .li-item>.answer{float:none;flex:1;min-width:0;width:auto;border:0;padding:0;font-size:14px}
.haedam-counsel .li-item .answer>input:not([type=radio]):not([type=checkbox]),.haedam-counsel .li-item .answer>select,.haedam-counsel .li-item .answer>textarea{width:100%;min-height:46px;background:#fff;border:1px solid #dce0db;border-radius:4px;padding:12px 14px;max-width:100%;font-size:15px}
.haedam-counsel .li-item .answer>textarea{min-height:156px;resize:vertical}
.haedam-counsel .icheck-material-teal{margin:5px 18px 9px 0;display:inline-block}
.haedam-counsel .haedam-privacy-policy{background:#fafafa;border-color:#e6e6e6!important;border-radius:4px;margin-top:28px}
.haedam-optionals{margin:26px 0;border:1px solid #e6e9e5;padding:15px 22px;border-radius:4px}
#haedam-optional-toggle{width:100%;background:none;border:0;text-align:left;color:#465a4d;font-size:15px;padding:5px;cursor:pointer;font-weight:600}
#haedam-optional-fields{margin-top:14px}
#haedam-optional-fields[hidden],#haedam-complete[hidden]{display:none!important}
.haedam-private-notice{color:#777;font-size:13px;margin:23px 0 15px}
.haedam-counsel .action{text-align:center;padding:20px 0}
.haedam-counsel .btn-submit{background:#0c1a41;color:white;border:0;border-radius:3px;padding:16px 56px;min-width:220px;font-size:16px;cursor:pointer}
.haedam-complete{text-align:center;background:#f4f5f2;padding:80px 25px;margin:35px 0}
.haedam-complete strong{display:block;font-size:25px;color:#344b3b;margin-bottom:18px}
.haedam-complete p{color:#6a736d;margin-bottom:28px}
.haedam-home-link{display:inline-block;border:1px solid #66786b;padding:12px 32px;color:#344b3b;text-decoration:none}
@media(max-width:700px){.haedam-counsel{margin:24px auto 60px!important;padding:0 18px!important}.haedam-counsel-intro{padding:28px 22px}.haedam-counsel .li-item{display:block}.haedam-counsel .li-item>.qa_question{display:block;margin-bottom:10px}.haedam-counsel .li-item>.answer{display:block;width:100%}.haedam-optionals{padding:12px}}

/* 2026-10-13: consult form only, site-wide sub visual remains managed by theme. */
.haedam-counsel{width:min(100% - 40px,1200px)!important;max-width:1280px!important;margin:58px auto 90px!important;padding:0 18px!important}
.haedam-counsel #fcounsel{max-width:100%;padding:0!important}
.haedam-counsel .haedam-form-title{font-size:27px;line-height:1.4;margin:0 0 10px;color:#29382e}
.haedam-counsel .haedam-required-hint{font-size:15px;line-height:1.7;margin:0 0 28px;color:#6b756e}
.haedam-counsel .haedam-privacy-policy{margin-top:32px!important;height:140px!important}
.haedam-counsel .haedam-private-notice{text-align:center}
@media(max-width:700px){.haedam-counsel{width:100%!important;margin:32px auto 65px!important;padding:0 18px!important}.haedam-counsel .haedam-form-title{font-size:23px}}
