/* --------------- PC modal start-------------- */
.modal_open_btn {
  cursor: pointer;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.7);

  z-index: 9999999999;
}

.modal_iner {
  width: 60vw;
  background: #fff;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;

  border-radius: 2vw;
  padding: 2vw;
}

.modal {
  display: none;
}

.modal.on_modal {
  display: flex;
}

.modal_hd {
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 1.4vw;
  font-weight: 600;
  margin-bottom: 2vw;

  width: 100%;
}

.modal_body {
  width: 100%;
  max-height: 60vh;
  overflow-y: auto;
  font-size: 0.8vw;
}

/* 약관 원문(bbs/branch_terms.php) 줄바꿈·들여쓰기 그대로 */
.policy_text {
  white-space: pre-wrap;
}


.modal_close {
  width: 100%;
  height: 2vw;
  background: #000;
  color: #fff;
  font-size: 0.9vw;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1vw;
  cursor: pointer;
  margin-top: 2vw;
  font-weight: 500;
}


/* --------------- MO modal start-------------- */
@media screen and (max-width:599px) {
  .modal_iner {
    width: 93vw;
    border-radius: 4vw;
    padding: 6vw;
  }

  .modal_hd {
    font-size: 5vw;
    margin-bottom: 6vw;
  }

  .modal_close {
    height: 8vw;
    font-size: 3.6vw;
    border-radius: 2.8vw;
    margin-top: 6vw;
  }

  .modal_body {
    font-size: 3.3vw;
  }
}


/* --------------- PC footer start-------------- */


a {
  color: inherit;
}

.footer {
  position: relative;
  width: 100%;
  box-sizing: border-box;

  padding-top: 7.6vw;
  padding-bottom: 7vw;

  background: #141414;
  font-family: "Pretendard Variable";
  letter-spacing: -0.04vw;
}

.ft_iner {
  width: 100%;
  box-sizing: border-box;

  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;

  padding-left: 8.399%;
  padding-right: 7.4016%;
}

/* ---- ft_left ---- */
.ft_left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.ft_logo {
  width: calc(var(--px) * 192);
  aspect-ratio: 192 / 30;

  display: flex;
  justify-content: center;
  align-items: center;
}

.ft_logo img {
  width: 100%;
}

.ft_sns {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;

  margin-top: 1.2vw;
}

.ft_char {
  width: calc(var(--px) * 76);
  aspect-ratio: 76 / 38;

  display: flex;
  justify-content: center;
  align-items: center;
}

.ft_char img {
  width: 100%;
}

.ft_insta {
  width: calc(var(--px) * 29);
  height: calc(var(--px) * 27);

  display: flex;
  justify-content: center;
  align-items: center;

  background-image: url('/images/hfq/footer_03.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  margin-left: calc(var(--px) * 24);
}

.ft_blog {
  width: calc(var(--px) * 29);
  height: calc(var(--px) * 27);

  display: flex;
  justify-content: center;
  align-items: center;

  background-image: url('/images/hfq/footer_04.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  margin-left: calc(var(--px) * 17);
}

.ft_insta:hover {
  background-image: url('/images/hfq/footer_03h.png');
}

.ft_blog:hover {
  background-image: url('/images/hfq/footer_04h.png');
}

/* ---- ft_center ---- */
.ft_center {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  /* 갭 389px (ft_left끝352→741). flex item margin %는 부모 content폭 기준이라 어긋나므로 calc 고정 */
  margin-left: calc(var(--px) * 389);
}

.ft_info {
  font-size: calc(var(--px) * 15);
  font-weight: 500;
  line-height: 1.31;
  color: #b1b1b1;
  white-space: nowrap;
}

/* 회사정보 항목/구분자 span — PC는 기존 nbsp×5 간격 그대로 재현(시각 보존). 모바일에서만 줄바꿈 전환 */
.finfo_sep::before {
  content: '\00a0\00a0\00a0\00a0\00a0';
}

/* 개인정보처리방침 · 이용약관 한 줄 — 간격 = 회사정보 구분자(nbsp×5) 폭 */
.ft_policy {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: calc(var(--px) * 14.5);

  margin-top: 1.7vw;
}

.ft_privacy,
.ft_terms {
  font-size: calc(var(--px) * 15);
  font-weight: 500;
  line-height: 1.0;
  color: #b1b1b1;
  cursor: pointer;
}

.ft_copy {
  margin-top: 1.6vw;

  font-size: calc(var(--px) * 15);
  font-weight: 500;
  line-height: 1.0;
  color: #b1b1b1;
}

.ft_created {
  margin-top: 0.3vw;

  font-size: calc(var(--px) * 15);
  font-weight: 500;
  line-height: 1.0;
  color: #6f6f6f;
}

/* ---- ft_right ---- */
.ft_right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  margin-left: auto;
}

.ft_callLabel {
  font-size: calc(var(--px) * 15);
  font-weight: 500;
  line-height: 1.0;
  color: #b1b1b1;
}

.ft_callNum {
  margin-top: 1.2vw;

  font-size: calc(var(--px) * 24);
  font-weight: 600;
  line-height: 1.0;
  color: #ffffff;
}

.ft_time {
  margin-top: 0.7vw;

  font-size: calc(var(--px) * 15);
  font-weight: 500;
  line-height: 1.31;
  color: #b1b1b1;
}

/* ---- ft_family ---- */
.ft_family {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;

  /* 갭 38px (ft_right끝→family). 우측그룹은 ft_right margin-left:auto 로 우측 밀착 */
  margin-left: calc(var(--px) * 38);
}

.ft_familyLabel {
  font-size: calc(var(--px) * 15);
  font-weight: 500;
  line-height: 1.0;
  color: #b1b1b1;
}

.ft_familyBtn {
  margin-top: 0.8vw;

  width: calc(var(--px) * 109);
  height: calc(var(--px) * 45);
  border-radius: calc(var(--px) * 21);
  background: #f8f4eb;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: calc(var(--px) * 15);
  font-weight: 700;
  line-height: 1.0;
  color: #141414;

  transition: background 0.3s ease;
}

.ft_familyBtn:hover {
  background: #ffd11e;
}

.top_btn {
  position: fixed;
  width: calc(var(--px) * 53);
  right: calc(var(--px) * 58);
  bottom: 5.6vw;
  z-index: 99999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top_btn.on {
  opacity: 1;
  visibility: visible;
}

.top_btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}

.top_btn:hover::before {
  animation: topPulse 1.4s ease-out infinite;
}

@keyframes topPulse {
  0% {
    opacity: 0.45;
    transform: scale(0.95);
  }

  100% {
    opacity: 0;
    transform: scale(2);
  }
}

/* top_btn 아이콘 — 기존 흰 원+짙은 화살표 PNG를 1:1 재현한 svg (색 제어용) */
.top_btn_ico {
  display: block;
  width: 100%;
  height: auto;
}

/* 원(disc): 기본은 반투명 프로스트(tt.png) → 호버 시 solid(tth.png) */
.tb_disc {
  fill: #f8f4eb;
  fill-opacity: 0.15;
  transition: fill 0.25s ease, fill-opacity 0.25s ease;
}

.top_btn:hover .tb_disc {
  fill: #fff;
  fill-opacity: 1;
}

/* 화살표(arw): 항상 solid. 기본=배경 대비색, 호버=solid 원 대비색 */
.tb_arw {
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s ease;
}

.top_btn:hover .tb_arw {
  stroke: #191919;
}

/* 밝은 배경 위(on-light): 흰색 계열 → 네이비 계열. 반투명 흰 원도 반투명 네이비로 */
.top_btn.on-light .tb_disc {
  fill: #0b1a2f;
}

.top_btn.on-light .tb_arw {
  stroke: #0b1a2f;
}

.top_btn.on-light:hover .tb_disc {
  fill: #0b1a2f;
  fill-opacity: 1;
}

.top_btn.on-light:hover .tb_arw {
  stroke: #fff;
}

/* 호버 펄스(::before)도 상태색: 밝은 배경에선 반투명 흰색 → 반투명 네이비 */
.top_btn.on-light::before {
  background: rgba(11, 26, 47, 0.4);
}

/* ===== 우측 고정 퀵메뉴 (nav 완성형 이미지 카드) ===== */
.quick_fixed {
  position: fixed;
  top: 50%;
  right: 2.4vw;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6vw;
  z-index: 9999;
}

.quick_card {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(var(--px) * 87);
  aspect-ratio: 1;
}

.quick_card img {
  display: block;
  width: 100%;
}

/* 모바일 전용 텍스트 메뉴 / 접기 토글 — PC(600↑)에서는 완성형 이미지 카드만 노출 */
.qc_txt,
.quick_toggle {
  display: none;
}

/* PC 전용(600↑): 퀵카드 호버 시 살짝 작아지는 모션 */
@media screen and (min-width: 600px) {
  .quick_card {
    transition: transform 0.25s ease;
  }

  .quick_card:hover {
    transform: scale(0.95);
  }
}

/* --------------- PC footer end-------------- */


/* --------------- MO footer start-------------- */
@media screen and (max-width: 599px) {
  .footer {
    padding-top: 14vw;
    padding-bottom: 46vw;
  }

  .ft_iner {
    flex-direction: column;
    align-items: center;

    padding-left: 4vw;
    padding-right: 4vw;
  }

  /* 컬럼 세로 stack 중앙정렬 */
  .ft_left,
  .ft_center,
  .ft_right,
  .ft_family {
    align-items: center;
    margin-left: 0;
  }

  /* ft_center 평탄화 → 자식(info/policy/copy/created)이 형제레벨로 올라와 order 제어 */
  .ft_center {
    display: contents;
  }

  /* 세로 순서(A안): 로고·SNS / 개인정보·이용약관 / 회사정보 / 대표번호 / FAMILY / 카피 / Created */
  .ft_left {
    order: 1;
  }

  .ft_right {
    order: 4;
    margin-top: 7vw;
  }

  .ft_family {
    order: 5;
    margin-top: 6vw;
  }

  .ft_logo {
    width: 38vw;
  }

  .ft_sns {
    margin-top: 4vw;
  }

  .ft_char {
    width: 16vw;
  }

  .ft_insta,
  .ft_blog {
    width: 6vw;
    height: 5.6vw;
  }

  .ft_insta {
    margin-left: 5vw;
  }

  .ft_blog {
    margin-left: 3.5vw;
  }

  /* 회사정보 본문: 항목별 줄바꿈 + 가독성 */
  .ft_info {
    order: 3;
    margin-top: 3vw;

    font-size: 3vw;
    line-height: 1.6;
    text-align: center;
    white-space: normal;
    word-break: keep-all;
  }

  /* 구분자(nbsp) → 모바일 줄바꿈 (항목 1개당 1줄). part는 inline 유지, <br>은 그대로 단일 줄바꿈 */
  .ft_info .finfo_sep {
    display: block;
  }

  .ft_info .finfo_sep::before {
    content: none;
  }

  .ft_callLabel,
  .ft_familyLabel {
    font-size: 3.5vw;
  }

  .ft_time {
    font-size: 3.5vw;
    text-align: center;
  }

  .ft_callNum {
    font-size: 5.4vw;
  }

  .ft_policy {
    order: 2;
    margin-top: 7vw;
    column-gap: 4vw;
  }

  .ft_privacy,
  .ft_terms {
    font-size: 3.2vw;
    text-align: center;
  }

  .ft_copy {
    order: 6;
    margin-top: 7vw;
    font-size: 2.9vw;
    text-align: center;
  }

  .ft_created {
    order: 7;
    margin-top: 1.5vw;
    font-size: 2.7vw;
    text-align: center;
  }

  .ft_callNum {
    margin-top: 3vw;
  }

  .ft_time {
    margin-top: 2.5vw;
  }

  .ft_familyBtn {
    margin-top: 3vw;
    width: 28vw;
    height: 11vw;
    border-radius: 5.5vw;
    font-size: 3.8vw;
  }

  /* top_btn — 상담바 좌측 상단에 붙는 탭. 바와 같은 색으로 뽈록 튀어나오게 */
  .top_btn {
    width: auto;
    height: auto;
    right: auto;
    left: 0;
    bottom: 17.4vw;
    /* 상담바 높이 17.56vw — 살짝 물려서 이음새 없앰(바가 위에 덮음) */

    padding: 2.2vw 3.8vw 1.8vw;
    background: #fff7da;
    border-radius: 0 2.2vw 0 0;
    box-shadow: 0 -0.2vw 0.6vw rgba(0, 0, 0, 0.05);
  }

  .top_btn::after {
    content: "TOP";

    font-size: 2.7vw;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #0b1a2f;
  }

  /* 원+화살표 svg, 호버 펄스는 모바일 미사용 */
  .top_btn_ico,
  .top_btn::before {
    display: none;
  }

  /* 우측 고정 퀵메뉴 — 모바일은 원 5개가 아니라 흰 박스 하나 안에서 구분선으로 나눔 */
  .quick_fixed {
    top: auto;
    bottom: 20vw;
    right: 0;
    transform: unset;
    flex-direction: row;
    align-items: stretch;
    gap: 0;

    background: #fff;
    border-radius: 2.6vw 0 0 2.6vw;
    /* 화면 우측 끝에 붙는 탭 — 왼쪽만 라운드 */
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(20, 20, 20, 0.07), 0 0.5vw 1.6vw rgba(0, 0, 0, 0.13);
  }

  /* 번호·설명이 박힌 완성형 카드는 모바일 크기에서 판독 불가 → 텍스트 셀로 대체 */
  .quick_card img {
    display: none;
  }

  .quick_card {
    width: 12vw;
    height: 11.5vw;
    aspect-ratio: auto;
    flex-shrink: 0;
    overflow: hidden;

    transition: width 0.28s ease, border-left-width 0.28s ease, opacity 0.2s ease;
  }

  /* 셀 구분선 */
  .quick_card+.quick_card,
  .quick_toggle {
    border-left: 1px solid rgba(20, 20, 20, 0.11);
  }

  .qc_txt {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 12vw;
    flex-shrink: 0;
    /* 고정폭 — 접힐 때 글자 리플로우 방지.
       flex 기본 shrink:1 이라 width 만으론 안 됨: 카드가 12vw→0 으로 줄면 셀도 같이 줄어
       "이달의/할인" 이 "이달/의/할인" 으로 재개행되며 튄다 → shrink 차단 + 아래 nowrap */
    height: 100%;

    color: #141414;
    font-size: 2.8vw;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.04em;
    text-align: center;
    white-space: nowrap;   /* 줄바꿈은 <br> 로만 — 폭이 줄어도 임의 개행 금지(넘치면 카드 overflow:hidden 가 클립) */
  }

  .quick_card:active .qc_txt {
    background: rgba(20, 20, 20, 0.06);
  }

  /* 접기 토글 — 박스 우측 끝에 고정(접어도 안 움직임) */
  .quick_toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;

    width: 8vw;
    height: 11.5vw;
    padding: 0;

    background: none;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    cursor: pointer;
  }

  .qt_arw {
    width: 2vw;
    height: 2vw;

    border-right: 0.5vw solid #141414;
    border-bottom: 0.5vw solid #141414;

    /* 회전한 L자 도형은 잉크가 박스 중심에서 0.82vw 치우쳐 렌더됨(실측) → 광학 보정 */
    transform: translateX(-0.82vw) rotate(-45deg);

    transition: transform 0.28s ease;
  }

  /* 접힌 상태 — 셀 폭 0 + 구분선 제거, 박스가 토글만 남게 줄어듦 */
  .quick_fixed.fold .quick_card {
    width: 0;
    border-left-width: 0;
    opacity: 0;
    pointer-events: none;
  }

  .quick_fixed.fold .quick_toggle {
    border-left-width: 0;
  }

  .quick_fixed.fold .qt_arw {
    transform: translateX(0.82vw) rotate(135deg);
  }

  /* 최초 상태 복원 시 애니메이션 스킵 */
  .quick_fixed.no-anim,
  .quick_fixed.no-anim * {
    transition: none !important;
  }
}

/* --------------- MO footer end -------------- */


/* --------------- PC quick start-------------- */

.contact_service {
  position: fixed;
  z-index: 99999999;
  left: 0;
  bottom: 0;

  width: 100%;
  height: calc(var(--px) * 80);

  padding-left: 13vw;

  display: flex;
  justify-content: flex-start;
  align-items: center;

  background: #fff7da;
}

.quick_mascot {
  width: calc(var(--px) * 98);
  height: calc(var(--px) * 137);
  align-self: flex-end;
  flex-shrink: 0;

  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.quick_logo {
  width: calc(var(--px) * 151);
  height: calc(var(--px) * 24);
  margin-left: calc(var(--px) * 32);
  flex-shrink: 0;

  display: flex;
  justify-content: center;
  align-items: center;
}

.quick_mascot img,
.quick_logo img {
  display: block;
}

.contact_mid {
  margin-left: calc(var(--px) * 38);
  flex-shrink: 0;

  display: flex;
  justify-content: center;
  align-items: center;
}

.footer_form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer_input_form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(var(--px) * 4);
}

.qk_box {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer_input {
  width: calc(var(--px) * 400);
  height: calc(var(--px) * 50);
  background: #fff;
  border-radius: calc(var(--px) * 8);

  font-size: calc(var(--px) * 16);
  font-weight: 500;
  color: #000;
}

.quickAgree_fornt {
  letter-spacing: -0.8px;
}

.footer_input::placeholder {
  color: #222;
}

.quick_agree {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: calc(var(--px) * 19);

  font-size: calc(var(--px) * 16);
  color: #858585;
}

.quickAgree_checkbox {
  -webkit-appearance: none;
  appearance: none;
  width: calc(var(--px) * 22);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #0b1a2f;
  background: transparent;
  margin: 0 calc(var(--px) * 8) 0 0;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
}

.quickAgree_checkbox:checked {
  background: #0b1a2f;
  box-shadow: inset 0 0 0 calc(var(--px) * 3) #fff7da;
}

.qk_udln {
  text-decoration: underline;
  text-underline-offset: 20%;
  text-decoration-thickness: 1px;
  cursor: pointer;
}

.quick_submit_div {
  width: calc(var(--px) * 221);
  height: calc(var(--px) * 51);
  margin-left: calc(var(--px) * 19);
  border-radius: calc(var(--px) * 8);
  flex-shrink: 0;

  font-size: calc(var(--px) * 18);
  font-weight: 900;

  color: #fff;
  background: #0b1a2f;

  display: flex;
  justify-content: center;
  align-items: center;
}

.quick_call {
  margin-left: calc(var(--px) * 33);
  flex-shrink: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: calc(var(--px) * 30);
  line-height: 1;
  color: #0b1a2f;
}

.quick_dot {
  color: #facd1d;
}

/* 차오르는 호버 — 좌→우 배경 채움 (브이인더웹 btn_hover). PC 전용 */
@media screen and (min-width:600px) {
  .btn_hover {
    position: relative;
    overflow: hidden;
  }

  .btn_hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background: #facd1d;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 0;
    pointer-events: none;
  }

  .btn_hover>* {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
  }

  .btn_hover:hover::before {
    transform: scaleX(1);
  }

  .quick_submit_div.btn_hover:hover>* {
    color: #0b1a2f;
  }
}

/* --------------- PC quick end -------------- */


/* --------------- MO quick start -------------- */
@media screen and (max-width:599px) {

  .ft_tt {
    width: 14vw;
    bottom: 23vw;
    right: 2.2vw;
  }

  #contact_service {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;

    width: 100%;
    height: auto;

    padding: 3vw 2vw 2vw;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 1.5vw;

    background: #fff7da;
  }

  /* 마스코트 / 워드마크 로고 숨김 (모바일 공간 확보) */
  #contact_service .quick_mascot,
  #contact_service .quick_logo {
    display: none;
  }

  /* 상단 행: 전화번호(좌) + 개인정보 동의(우) */
  #contact_service .quick_call {
    order: 1;
    margin: 0 auto 0 0;

    font-size: 6vw;
    line-height: 1.1;
    color: #0b1a2f;
  }

  #contact_service .quick_agree {
    order: 2;
    margin: 0;

    font-size: 3.3vw;
    line-height: 1.2;
    color: #0b1a2f;
  }

  #contact_service .quickAgree_checkbox {
    width: 3.9vw;
    margin-right: 1.5vw;
    box-shadow: none;
  }

  #contact_service .quickAgree_checkbox:checked {
    box-shadow: inset 0 0 0 0.9vw #fff7da;
  }

  /* 줄바꿈 강제 (입력+버튼을 다음 줄로) */
  #contact_service::before {
    content: "";
    flex: 0 0 100%;
    order: 3;
    height: 0;
  }

  /* 하단 행: 입력 3개 + 버튼 한 줄 */
  #contact_service .contact_mid,
  #contact_service .footer_form,
  #contact_service .footer_input_form {
    display: contents;
  }

  #contact_service .footer_input,
  #contact_service .quick_submit_div {
    order: 4;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: 9vw;
    margin: 0;
    box-sizing: border-box;
  }

  #contact_service .footer_input {
    background: #fff;
    border: 1px solid #e5d9a8;
    border-radius: 1.2vw;
    color: #111;
    font-size: 3.4vw;
    font-weight: 500;
    text-align: center;
    padding: 0 1.5vw;
  }

  #contact_service .footer_input+.footer_input {
    margin-left: 1.2vw;
  }

  #contact_service .footer_input::placeholder {
    color: #777;
    font-size: 3.2vw;
    opacity: 1;
  }

  #contact_service .quick_submit_div {
    order: 5;
    flex: 0 0 26vw;
    margin-left: 1.2vw;

    background: #0b1a2f;
    color: #fff;
    font-size: 3.4vw;
    font-weight: 700;
    line-height: 1;
    border-radius: 1.2vw;

    cursor: pointer;
  }
}

/* --------------- MO quick end -------------- */



/* ===== fix_banner (전역 우측 고정 배너) ===== */
/* PC */
@media screen and (min-width:600px) {

  .fix_banner {
    position: fixed;
    top: 30%;
    right: 0;
    z-index: 99999999999;

    width: 3.7vw;
    background: #000;
    color: #fff;

    font-size: 0.729vw;
    font-weight: 500;
    cursor: pointer;

    transition: width 0.3s;
  }

  .fix_banner.on {
    width: 7.292vw;
  }

  .fix_iner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;

    padding-top: 4.167vw;
    padding-bottom: 1.3vw;
  }

  .fix_eyes {
    width: 58.17%;
    top: 0.7vw;
    position: absolute;
  }

  .fix_txt {
    writing-mode: sideways-lr;
  }

  .fix_txt .txt_line {
    background: #3235cd;
    padding: 0.3vw 0.1vw;
  }

  .fix_banner .center_wrap {
    position: absolute;
    width: 100%;
    height: 100%;

    background: #3235cd;
    color: #fff;

    z-index: 10;

    top: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 0;
    transition: opacity 0.3s;
  }

  .fix_banner.on .center_wrap {
    opacity: 1;
  }

  .fix_banner .vweb_img {
    width: 5.313vw;
    aspect-ratio: 102 / 22;
    margin-bottom: 0.5vw;
  }

  .fix_banner .vweb_link {
    width: 1.875vw;
    aspect-ratio: 1;
    margin-top: 1vw;
  }
}

/* Mobile */
@media screen and (max-width:599px) {
  .fix_banner {
    display: none;
  }
}

/* --------------- MO #contact_service layout end -------------- */


/* ============================================================
   MO #contact_service 재배치 (요구사항 반영)
   - 상단행: 좌 전화번호 / 우 개인정보 동의
   - 하단행: 인풋3 + 문의하기 버튼 = 동일 너비/높이 균등 4분할
   - 간격은 column-gap 하나로 통일 / 버튼 텍스트는 "문의하기" 고정
   ※ 파일 상단 기존 MO quick 블록을 ID 셀렉터로 덮어씀
   ============================================================ */
@media screen and (max-width: 599px) {

  /* 컨테이너: 하단 고정 바 (2행 wrap) */
  #contact_service {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;

    width: 100%;
    height: auto;
    box-sizing: border-box;

    padding: 2.2vw 2vw 1vw;
    /* 위2.2 / 양옆2 / 아래1 */

    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;

    column-gap: 1vw;
    /* 인풋·버튼 사이 간격 */
    row-gap: 0.6vw;
    /* 상·하행 간격 좁게(밀착) */

    background: #fff7da;
  }

  /* 장식(마스코트/워드마크 로고) 숨김 */
  #contact_service .quick_mascot,
  #contact_service .quick_logo {
    display: none;
  }

  /* --- 상단 행: 좌 전화번호 --- */
  #contact_service .quick_call {
    order: 1;
    position: static;
    left: auto;
    top: auto;
    margin: 0 auto 0 0;
    /* 우측으로 '동의' 밀기 */

    font-size: 4.8vw;
    font-weight: 700;
    line-height: 1.1;
    color: #0b1a2f;
  }

  /* --- 상단 행: 우 개인정보 동의 --- */
  #contact_service .quick_agree {
    order: 2;
    position: static;
    left: auto;
    top: auto;
    margin: 0;

    font-size: 3.3vw;
    line-height: 1.2;
    color: #0b1a2f;
    margin-right: 1vw;
  }

  #contact_service .quickAgree_checkbox {
    width: 3.9vw;
    margin: 0 1.2vw 0 0;
    box-shadow: none;
  }

  #contact_service .quickAgree_checkbox:checked {
    box-shadow: inset 0 0 0 0.9vw #fff7da;
  }

  /* 강제 줄바꿈: 상단행 → 하단행 */
  #contact_service::before {
    content: "";
    flex: 0 0 100%;
    order: 3;
    height: 0;
  }

  /* 중첩 래퍼 평탄화 → 인풋3개를 컨테이너 직계 flex 자식으로 */
  #contact_service .contact_mid,
  #contact_service .footer_form,
  #contact_service .footer_input_form {
    display: contents;
  }

  /* --- 하단 행: 인풋3 + 버튼 균등 4분할(동일 너비·높이) --- */
  #contact_service .footer_input,
  #contact_service .quick_submit_div {
    position: static;
    left: auto;
    top: auto;

    flex: 1 1 0;
    /* 1fr 대신 flex-basis:0 균등분할 */
    min-width: 0;
    width: auto;
    height: 7.9vw;
    /* 인풋·버튼 동일 높이 */
    margin: 0;
    /* 간격은 column-gap 으로만 */
    box-sizing: border-box;
    border-radius: 1.4vw;
  }

  /* 구 규칙(.footer_input+.footer_input margin-left) 무력화 → column-gap 만 */
  #contact_service .footer_input+.footer_input {
    margin-left: 0;
  }

  #contact_service .footer_input {
    order: 4;

    background: #fff;
    border: 1px solid #e5d9a8;
    color: #111;
    font-size: 3.4vw;
    font-weight: 500;
    text-align: center;
    padding: 0 1.2vw;
  }

  #contact_service .footer_input::placeholder {
    color: #777;
    font-size: 3.2vw;
    opacity: 1;
  }

  #contact_service .quick_submit_div {
    order: 5;

    background: #0b1a2f;
    color: #fff;
    cursor: pointer;
  }

  /* 버튼 텍스트 통일: 원본(상담 신청하기/메일 전송하기 등) 숨기고 "문의하기" 고정 */
  #contact_service .quick_submit_div p {
    display: none;
  }

  #contact_service .quick_submit_div::after {
    content: "문의하기";
    font-size: 3.4vw;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    color: #fff;
  }
}