/* D안 보강 CSS — 원본의 상담 바는 게시판 iframe 이라 같은 모양으로 인라인 폼을 재구성한다 */

.sec15 .counsel {
  padding: 14px 0 12px;
}
.dear-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.dear-lead dl {
  margin: 0;
}
.dear-lead dl.cs {
  width: 200px;
  color: #fff;
  font-family: "Noto Sans KR", sans-serif;
}
.dear-lead dl.cs dt {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}
.dear-lead dl.cs dd a {
  font-family: "GmarketSansBold";
  font-size: 22px;
  color: #fff;
}
.dear-lead dl:not(.cs) {
  flex: 1;
  margin-right: 10px;
}
.dear-lead .frm_input {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 0;
  padding: 0 14px;
  box-sizing: border-box;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 15px;
  color: #222;
  background: #fff;
}
.dear-lead .btn_confirm {
  width: 130px;
  margin-left: 10px;
}
.dear-lead .btn_submit {
  width: 100%;
  height: 50px;
  border: 0;
  background: #b30303;
  color: #fff;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}
.dear-lead .btn_submit:hover {
  background: #8b0000;
}
.dear-lead .fregister_agree {
  width: 100%;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #444;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 13px;
  color: #ddd;
}
.dear-lead .fregister_agree input {
  accent-color: #f47c7c;
  width: 15px;
  height: 15px;
  margin: 0;
}
.dear-lead .agree_detail_btn {
  margin-left: 8px;
  text-decoration: underline;
  cursor: pointer;
}
.dear-lead .dear-msg {
  width: 100%;
  margin: 6px 0 0;
  text-align: right;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 13px;
  color: #ffd166;
  min-height: 0;
}
.dear-lead .dear-msg:empty {
  display: none;
}
.dear-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* 예시 표시 */
.dear-note {
  margin-top: 24px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.7;
  text-align: center;
}
.sec05 .dear-note {
  text-align: left;
  margin-top: 12px;
}
.dear-note-inline {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 0.6em;
  opacity: 0.7;
}
.sec13 h5 small {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 0.55em;
  opacity: 0.7;
}

/* 헤더 로고 비율 (디어 로고는 가로형) */
header.menubar h1 img {
  height: 56px;
  width: auto;
}
header.menubar.act h1 a img {
  height: 42px;
}

/* 시안 전환 (확정 후 제거) */
.dear-variant {
  position: fixed;
  right: 12px;
  bottom: 150px;
  z-index: 10000;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.78);
  font-family: "Noto Sans KR", sans-serif;
}
.dear-variant a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}
.dear-variant a.on {
  background: #fff;
  color: #000;
}

@media screen and (max-width: 1024px) {
  .dear-lead dl.cs {
    width: 150px;
  }
  .dear-lead dl.cs dd a {
    font-size: 18px;
  }
}
@media screen and (max-width: 768px) {
  header.menubar h1 img {
    height: 40px;
  }
  .dear-variant {
    bottom: auto;
    top: 84px;
  }
}
@media screen and (max-width: 550px) {
  .dear-lead dl.cs,
  .dear-lead dl:not(.cs),
  .dear-lead .btn_confirm {
    width: 100%;
    flex: none;
    margin: 0 0 10px 0;
  }
  .dear-lead .fregister_agree {
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .sec15 .counsel {
    padding: 24px 0 30px;
  }
}
