@charset "utf-8";
/* ============================================================
   메인 리뉴얼 (siahn261020 시안 이식)
   - 2026-11-13 1단계 : 오른쪽 퀵메뉴 + 하단 고정 상담 + 모바일 하단 바
   - 시안 원본 : /siahn261020/index.html
   - 기존 common.css 의 .quick_menu / .bottom_fixed_box 규칙은
     마크업이 .qm / .qform 으로 바뀌어 더 이상 적용되지 않음
   ============================================================ */

.qm, .qform, .mbar {
  --rn-blue: #1E75BC;
  --rn-sky:  #7DBEF0;
  --rn-navy: #0E1C2C;
  --rn-deep: #13253A;
  --rn-ink:  #111;
  --rn-en:   'Barlow', 'Pretendard', sans-serif;
  letter-spacing: -.02em;
  box-sizing: border-box;
}
.qm *, .qform *, .mbar * { box-sizing: border-box; }

/* ------------------------------------------------------------
   오른쪽 퀵메뉴
   ------------------------------------------------------------ */
.qm {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 100;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  width: 90px;
  padding: 8px 0;
  background: rgba(255,255,255,.96);
  border-radius: 40px;
  box-shadow: 0 10px 34px rgba(14,28,44,.16);
}
.qm a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 13px 0;
  color: var(--rn-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.04em;
  text-decoration: none;
  transition: color .2s;
}
.qm a + a {
  border-top: 1px solid #eef0f3;
  margin: 0 14px;
}
.qm svg {
  width: 28px;
  height: 28px;
  color: var(--rn-blue);
  transition: transform .25s;
}
.qm a:hover { color: var(--rn-blue); }
.qm a:hover svg { transform: translateY(-2px); }
.qm a.top {
  margin: 8px 10px 0;
  border: 0;
  border-radius: 30px;
  background: var(--rn-navy);
  color: #fff;
  padding: 12px 0;
}
.qm a.top svg { color: #fff; width: 20px; height: 20px; }

/* ------------------------------------------------------------
   하단 고정 상담 (가운데 탭으로 열고 닫는 시트)
   ------------------------------------------------------------ */
.qform {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 299;
  min-width: 1400px;
  transform: translateY(var(--qh, 0px));
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.qform.open { transform: none; }

.qtab {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  height: 62px;
  padding: 0 44px;
  border: 0;
  border-radius: 16px 16px 0 0;
  background: var(--rn-blue);
  color: #fff;
  font-family: inherit;
  font-size: 21px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.qtab i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  position: relative;
  font-style: normal;
}
.qtab i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border: solid var(--rn-blue);
  border-width: 2px 2px 0 0;
  transform: translate(-50%,-30%) rotate(-45deg);
  transition: transform .3s;
}
.qform.open .qtab i::after { transform: translate(-50%,-70%) rotate(135deg); }

.qpanel {
  background: rgba(14,22,32,.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
}
.qpanel .in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 26px clamp(20px, 6vw, 100px) 20px;
}
.qpanel .num { display: flex; flex-direction: column; gap: 6px; }
.qpanel .lbl {
  align-self: flex-start;
  color: var(--rn-sky);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
.qpanel .num a {
  font-family: var(--rn-en);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  color: #fff;
  text-decoration: none;
}
.qpanel .flds { display: grid; grid-template-columns: 340px 340px 220px; gap: 12px 14px; }
.qpanel input[type=text],
.qpanel input[type=tel] {
  width: 100%;
  max-width: none;   /* common.css 의 input[type="tel"]{max-width:150px} 해제 */
  height: 60px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  font-family: inherit;
  font-size: 18px;
  background: #fff;
  color: #111;
}
.qpanel .qbtn {
  height: 60px;
  border: 0;
  border-radius: 8px;
  background: var(--rn-blue);
  color: #fff;
  font-family: inherit;
  font-size: 21px;
  font-weight: 700;
  cursor: pointer;
  animation: qblink 1.2s infinite;
}
/* 상담신청 색 깜빡임 - 파란 바탕·흰 글씨 ↔ 하늘 바탕·남색 글씨 */
.qform:not(.open) .qtab { animation: qblink 1.2s infinite; }
@keyframes qblink {
  0%, 100% { background: var(--rn-blue); color: #fff; }
  50%      { background: #BFE3FF; color: #0E3A66; }
}
@media (prefers-reduced-motion: reduce) {
  .qpanel .qbtn, .qform .qtab, .mbar button { animation: none; }
}
.qpanel .qagree {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.6;
  opacity: .75;
}
/* common.css 는 체크박스를 숨기고 label:before 아이콘폰트로 그린다 - 시안대로 기본 체크박스로 되돌림 */
.qpanel .qagree input[type=checkbox] {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--rn-blue);
  cursor: pointer;
}
.qpanel .qagree input[type=checkbox] + label { padding-left: 0; text-align: left; cursor: pointer; }
.qpanel .qagree input[type=checkbox] + label:before { content: none; }
.qpanel .qagree a { color: var(--rn-sky); text-decoration: none; }

/* 모바일 하단 바 - PC 에서는 숨김 */
.mbar { display: none; }

/* ------------------------------------------------------------
   반응형
   ------------------------------------------------------------ */
@media screen and (max-width: 1500px) {
  .qpanel .flds { grid-template-columns: 240px 240px 170px; }
  .qpanel .num a { font-size: 32px; }
  .qpanel .in { gap: 36px; }
}

@media screen and (max-width: 767px) {
  .qm { display: none; }

  .mbar {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 299;
    height: 60px;
  }
  .mbar a, .mbar button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    background: var(--rn-deep);
    text-decoration: none;
  }
  .mbar a + a { border-left: 1px solid rgba(255,255,255,.12); }
  .mbar button {
    background: var(--rn-blue);
    cursor: pointer;
    font-size: 19px;
    font-weight: 800;
  }
  /* '빠른 상담' - PC 상담 버튼과 같은 깜빡임 (열려서 '닫기'일 때는 멈춤) */
  .mbar button[aria-expanded="false"] { animation: qblink 1.2s infinite; }

  /* 모바일 - 하단 바 '빠른 상담'을 누르면 바 위로 올라옴 */
  .qform {
    min-width: 0;
    bottom: 60px;
    z-index: 298;
    transform: translateY(100%);
    visibility: hidden;
    transition: transform .45s cubic-bezier(.2,.7,.2,1), visibility 0s .45s;
  }
  .qform.open {
    transform: none;
    visibility: visible;
    transition: transform .45s cubic-bezier(.2,.7,.2,1);
  }
  .qtab { display: none; }
  .qpanel { border-radius: 18px 18px 0 0; }
  .qpanel .in { flex-direction: column; align-items: stretch; gap: 16px; padding: 24px 20px 20px; }
  .qpanel .num { flex-direction: row; align-items: center; justify-content: space-between; }
  .qpanel .lbl { align-self: center; font-size: 14px; }
  .qpanel .num a { font-size: 24px; }
  .qpanel .flds { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .qpanel input[type=text],
  .qpanel input[type=tel] { min-width: 0; height: 50px; padding: 0 16px; font-size: 16px; }
  .qpanel .qbtn { grid-column: 1 / -1; height: 52px; font-size: 18px; }
  .qpanel .qagree { font-size: 13px; }
}
