@charset "UTF-8";

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");
#bo_v > header {
  display: none;
}

/* 우측 퀵네비 — 테두리와 문구를 포함한 PSD 원본 이미지 */
.quick_nav {
  position: fixed;
  right: calc(var(--px) * 4);
  bottom: calc(var(--px) * 125);
  z-index: 9999;
}

.quick_nav_img {
  width: calc(var(--px) * 99);
  aspect-ratio: 99 / 99;
}

.quick_nav_img img {
  width: 100%;
}

.quick_instagram,
.top_btn {
  margin-top: calc(var(--px) * -5);
}

/* 모바일 전용 텍스트 셀 / 접기 토글 — PC 에서는 완성형 이미지 버튼만 노출 */
.qc_txt,
.quick_toggle {
  display: none;
}

/* 개인정보처리방침 모달 — privacy-modal 스킬 규격
   구조: .modal.prtd > .modal_iner > .modal_hd / .modal_body > .policy_text / .modal_close
   트리거: 아무 요소에나 .modal_open_btn 만 붙이면 동작 (footer.js 가 위임) */
/* --------------- PC modal start-------------- */
.modal_open_btn {
    cursor: pointer;
}

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

    /* 스킬 규격의 .prtd 클래스는 프로젝트에 따라 없을 수 있어 여기서 직접 지정한다 */
    font-family: "Pretendard Variable", "Pretendard", -apple-system, sans-serif;

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

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

    z-index: 9999999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.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.on_modal {
    opacity: 1;
    visibility: visible;
}

.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%;
    height: 60vh;
    overflow-y: scroll;
    font-size: 0.8vw;
}

.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;
    }
}

#policyWrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
  position: absolute;
  left: 50%;
  z-index: 2000;
  height: 50px;
  margin-left: -50px;
  background: #fff;
  text-align: center;
  border-radius: 5px;
}

#policy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  position: relative;
  height: 87%;
  margin: 0 auto;
  padding: 1px;
  text-align: left;
}

#policy div.policy_title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  height: auto;
  background-color: #fff;
  border-radius: 10px;
  margin-top: 0vw;
}

#policy div.policy_title h2 {
  font-weight: 700;
  font-size: 25px;
  color: #000;
}

#policy div.policy_con {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 2.5vh;
  /* padding: 20px 0px 20px 0px; */
  background: #fff;
  border-radius: 0px;
  height: 80%;
}

#policy p.policy_text {
  overflow-y: scroll;
  height: 100%;
  padding-right: 20px;
  font-size: 14px;
  text-align: justify;
  line-height: 18px;
}

#policyLoader {
  padding-top: 10px;
}

@font-face {
  font-family: "GmarketSansBold";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

/* ---------------footer start-------------- */
/* 캔버스 1905 · 푸터 높이 420 (시안 크롭 footer_visual.png 실측) */
.footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-sizing: border-box;
  padding: 1.9vw 0 9.1vw;
  background-color: #f8f8f8;
  font-family: "Pretendard Variable";
  color: #000;
}

.footer img {
  width: 100%;
}

.f_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(var(--px) * 402);
  aspect-ratio: 402 / 110;
  /* 시안 로고는 캔버스 정중앙이 아니라 7px 오른쪽 (붓글씨 시각중심) — 실측 보정 */
  margin-left: calc(var(--px) * 14);
}

/* 구분선 — hr 금지 규칙에 따라 div + height 1px (CLAUDE.md §1) */
.footer_line {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 1px;
  margin-top: 1.6vw;
  background-color: #969696;
}

/* 좌우 여백은 여기서만 — .footer 에 주면 로고가 캔버스 중앙에서 밀린다 (좌162 / 우82 비대칭) */
.footer_info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  margin-top: 2.3vw;
  padding-left: calc(var(--px) * 162);
  padding-right: calc(var(--px) * 162);
}

.footer_left {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
}

.footer_tt {
  font-size: calc(var(--px) * 18);
  font-weight: 400;
  line-height: 1.445;
  letter-spacing: -0.05vw;
  color: #010101;
}

.footer_copy {
  margin-top: 1.7vw;
  font-size: calc(var(--px) * 13);
  font-weight: 400;
  line-height: 2.177;
  letter-spacing: -0.02vw;
  color: #666666;
}

.footer_gn {
  cursor: pointer;
}

.footer_privacy {
  margin-top: 0.5vw;
  font-size: calc(var(--px) * 20);
  font-weight: 400;
  letter-spacing: -0.07vw;
  color: #000000;
  text-decoration: underline;
  white-space: nowrap;
  cursor: pointer;
}
/* ---------------footer end-------------- */
/* ---------------quick start-------------- */
/* 하단 고정 문의바 — 바 76 (시안 quick_visual.png 실측)
   좌 빨강(0~797) + 우 먹색 2분할. 입력칸이 빨강 영역을 57px 침범하므로
   빨강을 별도 요소로 두지 못한다 → 배경 gradient 로 분할.
   --quick-fill = 빨강 폭. js/animation.js(quick-m01)가 홈페이지 스크롤 진행도로 0% → 100% 채운다.
   JS 가 안 돌거나 reduced-motion 이면 기본 분할(35.6% — 가운데 정렬 후 입력칸 시작 + 57 근사) 그대로 남는다. */
.contact_service {
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1111;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: calc(var(--px) * 76);
  border-top: 1px solid #000000;
  --quick-fill: 35.6%;
  background: linear-gradient(to right, var(--color-point) 0 var(--quick-fill), var(--color-ink) var(--quick-fill) 100%);
  letter-spacing: -0.04vw;
}

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

.quick_call {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  gap: 0.8vw;
}

.quick_call_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(var(--px) * 56);
  aspect-ratio: 87 / 92;
}

.quick_call_symbol {
  width: calc(100% * 49 / 87);
  aspect-ratio: 49 / 49;
}

.quick_call_num {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(var(--px) * 263);
  aspect-ratio: 263 / 49;
}

.quick_line {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-shrink: 0;
  margin-left: 3.2%;
}

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

/* 입력칸끼리 1px 보더를 공유한다 (시안 실측 — 사이 간격 없이 선 하나).
   폭 206 + margin-left -1px = 경계 간격 205 (시안 실측 740/945/1150/1355/1560) */
.footer_input {
  box-sizing: border-box;
  width: calc(var(--px) * 206);
  height: calc(var(--px) * 52);
  font-size: calc(var(--px) * 17);
  font-weight: 400;
  letter-spacing: -0.06vw;
  color: #0a0a0a;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid #000000;
  outline: none;
}

.footer_input + .footer_input {
  margin-left: -1px;
}

.footer_input::placeholder {
  color: #0a0a0a;
  font-weight: 400;
}

.quick_submit_col {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  flex-shrink: 0;
  gap: 1vw;
  margin-left: -1px;
}

.quick_agree {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.4vw;
}

/* position:relative = 체크 표시(::after) % 의 기준면. 없으면 % 가 퀵바 전체(aside) 기준으로 풀려 체크가 긴 선이 된다 */
.quickAgree_checkbox {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  box-sizing: border-box;
  width: calc(var(--px) * 18);
  height: calc(var(--px) * 18);
  border: 1px solid #ffffff;
  background-color: transparent;
  outline: none;
  cursor: pointer;
  transition: background-color var(--transition-ui);
}

.quickAgree_checkbox:checked {
  background-color: #ffffff;
}

/* 체크 표시 — border 2변을 -45도 돌려 만든 먹색 체크. 좌표 없이 부모 flex center 에 둔다.
   % 는 체크박스 안쪽 16px 기준, 보이는 체크 10×8 에서 역산:
   W = 8/√½ − 2 = 9.31 (58.2107%) · H = 10/√½ − W = 4.83 (30.2%) · 중심 보정 √½(H − 2)/2 = 1.0 (H 의 20.7%) */
.quickAgree_checkbox::after {
  position: absolute;
  content: "";
  width: 58.2107%;
  height: 30.2%;
  border-left: 2px solid var(--color-ink);
  border-bottom: 2px solid var(--color-ink);
  transform: translateY(-20.7%) rotate(-45deg);
  opacity: 0;
  transition: opacity var(--transition-ui);
}

.quickAgree_checkbox:checked::after {
  opacity: 1;
}

.quickAgree_fornt {
  font-size: calc(var(--px) * 17);
  font-weight: 500;
  letter-spacing: -0.06vw;
  color: #ffffff;
  white-space: nowrap;
  cursor: pointer;
}

.quick_submit_div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  box-sizing: border-box;
  width: calc(var(--px) * 206);
  height: calc(var(--px) * 52);
  background-color: var(--color-point);
  border: 1px solid #000000;
  cursor: pointer;
}

.quick_submit_div img {
  width: calc(var(--px) * 115);
}
/* ---------------quick end-------------- */
/* 로딩 */
.loading-overlay {
  position: fixed; /* 화면 전체를 덮도록 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 반투명 검은색 배경 */
  z-index: 9999; /* 다른 요소들보다 위에 표시 */
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3; /* 회색 테두리 */
  /* 브랜드 메인색상. footer.css 가 library.css 보다 늦게 로드돼 var(--primary) 를 덮어쓰던 것을
     토큰 참조로 통일(2026-07-29). library.css 가 안 붙는 게시판 페이지 대비로 fallback 을 둔다. */
  border-top: 5px solid var(--primary, red);
  border-radius: 50%;
  animation: spin 1s linear infinite; /* 회전 애니메이션 */
}

/* 광고 쿠키 동의 배너 — 마크업: footer/index.html, 동작: js/footer.js */
.consent_banner {
  display: none;
  position: fixed;
  box-sizing: border-box;
  left: calc(var(--px) * 20);
  bottom: calc(var(--consent-bottom, 0px) + var(--px) * 20);
  width: calc(var(--px) * 520);
  padding: calc(var(--px) * 28);
  border-radius: calc(var(--px) * 12);
  background: var(--color-ink);
  color: #ffffff;
  z-index: 10000;
}

.consent_banner.on {
  display: flex;
}

.consent_text {
  font-size: calc(var(--px) * 18);
  line-height: 1.6;
  word-break: keep-all;
}

.consent_btns {
  width: 100%;
  margin-top: 1.1vw;
  gap: 0.8vw;
}

.consent_deny,
.consent_accept {
  width: 50%;
  padding: calc(var(--px) * 14) 0;
  border-radius: calc(var(--px) * 8);
  font-size: calc(var(--px) * 18);
  font-weight: 700;
  cursor: pointer;
}

.consent_deny {
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
}

.consent_accept {
  border: 1px solid var(--color-point);
  background: var(--color-point);
  color: #ffffff;
}

/*개인정보 처리 방침*/
@media screen and (max-width: 1023px) {
  .ddm_logo {
    left: 0;
    max-width: 100%;
    width: 100% !important;
    margin-bottom: -16%;
    margin-right: -63%;
  }
  .tel_logo {
    display: none;
  }
  .mobile_background {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    padding-top: 2%;
    padding-bottom: 3%;
  }
  #contact-form {
    background: transparent !important;
  }
  #contact-form {
    width: 62% !important;
    margin-left: 9% !important;
  }
}

@media screen and (max-width: 599px) {
  .ddm_logo {
    display: none;
  }
  .contact-form-top {
    width: 123% !important;
  }
  .mobile_inputs input {
    height: 30px !important;
  }
  .form-button2 {
    margin-top: 0%;
    width: 41%;
  }
  .form-button2 img {
    width: 66% !important;
  }
  #contact-form {
    width: 95% !important;
    margin-left: 3% !important;
    margin-bottom: -1% !important;
  }
  .form-button2 img {
    width: 96% !important;
    padding-left: 0 !important;
  }
  .modal-content {
    background-color: #fefefe;
    margin: 17% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 86%;
    border-radius: 30px;
  }
  .contact_fixed_left {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 4.5%;
    margin-left: -2%;
    padding-bottom: 0.8%;
  }
  /* -----footer custom start----- */
  .footer {
    padding: calc(8vw - 1px) 0 28vw;
  }
  .f_logo {
    width: 39vw;
    margin-left: 0;
  }
  .footer_line {
    margin-top: 6vw;
  }
  .footer_info {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 6vw;
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .footer_left {
    display: contents;
  }
  .footer_tt {
    order: 2;
    font-size: 3.3vw;
    line-height: 1.6;
    text-align: center;
    word-break: keep-all;
  }
  .footer_info_part {
    display: block;
  }
  .footer_info_sep {
    display: none;
  }
  .footer_tt .footer_info_break {
    display: none !important;
  }
  .footer_copy {
    order: 3;
    margin-top: 4vw;
    font-size: 3.3vw;
    line-height: 1.6;
    text-align: center;
  }
  .footer_privacy {
    order: 1;
    margin-top: 0;
    margin-bottom: 5vw;
    font-size: 3.5vw;
  }
  /* -----footer custom end----- */
  /* ---------------quick start-------------- */
  /* 사용자 제공 퀵바 규격: 상단 전화/동의 + 하단 동일 너비 입력3/버튼. */
  #contact_service {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 0;
    row-gap: 1vw;
    height: auto;
    padding: 3vw 2vw 2vw;
    box-sizing: border-box;
    /* 모바일 시안은 단색 먹색 → 기본 채움 0%. 스크롤 차오름(quick-m01)은 PC 와 같은 gradient 를 쓴다.
       reduced-motion·JS 실패 시엔 0% 라 시안 그대로 먹색 */
    --quick-fill: 0%;
    background: linear-gradient(to right, var(--color-point) 0 var(--quick-fill), var(--color-ink) var(--quick-fill) 100%);
    transform: none;
  }
  #contact_service::before {
    content: "";
    order: 3;
    flex-basis: 100%;
  }

  /* 래퍼를 걷어내 전화·동의·입력·버튼을 그리드에 직접 배치한다 */
  #contact_service .quick_line,
  #contact_service .quick_submit_col,
  #contact_service .footer_form {
    display: contents;
  }

  #contact_service .quick_call {
    order: 1;
    justify-content: flex-start;
    margin-left: 0;
    gap: 0;
  }

  #contact_service .quick_call_icon {
    display: none;
  }

  .quick_call_num {
    width: 34vw;
  }

  #contact_service .quick_agree {
    order: 2;
    justify-content: flex-end;
    margin-bottom: 0;
    gap: 1.5vw;
  }

  .quickAgree_checkbox {
    width: 4.1vw;
    height: 4.1vw;
  }

  .quickAgree_fornt {
    font-size: 3.3vw;
    line-height: 1.2;
  }

  /* 입력칸 폭은 그리드 셀이 잡는다 — min-width 를 풀지 않으면 콘텐츠 폭이 최소값으로 걸린다 */
  #contact_service .footer_input,
  #contact_service .quick_submit_div {
    order: 4;
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    height: 7.9vw;
    font-size: 3.3vw;
    border-radius: 0;
  }

  #contact_service .footer_input + .footer_input,
  #contact_service .quick_submit_div {
    margin-left: -1px;
  }

  #contact_service .footer_input::placeholder {
    font-size: 3.2vw;
  }

  #contact_service .quick_submit_div img {
    display: none;
  }
  #contact_service .quick_submit_div::after {
    content: "문의하기";
    color: #ffffff;
    font-size: 3.5vw;
    white-space: nowrap;
    font-weight: 800;
  }
  /* 우측 퀵메뉴 — 흰 박스 하나에 구분선으로 나눈 텍스트 셀, 토글로 접고 펼침 (펫마트 방식)
     바 높이는 footer.js 가 --quick-nav-bar-height 로 주입한다 */
  .quick_nav {
    bottom: calc(var(--quick-nav-bar-height, 20vw) + 3vw);
    right: 0;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    background: #ffffff;
    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_nav_img {
    display: none;
  }
  .quick_kakao,
  .quick_instagram,
  .top_btn {
    width: 12vw;
    height: 11.5vw;
    margin-top: 0;
    flex-shrink: 0;
    overflow: hidden;
    transition: width 0.28s ease, border-left-width 0.28s ease, opacity 0.2s ease;
  }
  .quick_instagram,
  .top_btn,
  .quick_toggle {
    border-left: 1px solid rgba(20, 20, 20, 0.11);
  }
  .qc_txt {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 12vw;
    height: 100%;
    flex-shrink: 0;
    color: #141414;
    font-size: 2.8vw;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.04em;
    text-align: center;
    white-space: nowrap;
  }
  .top_btn .qc_txt {
    color: var(--color-point);
  }
  .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;
    transform: translateX(-0.82vw) rotate(-45deg);
    transition: transform 0.28s ease;
  }
  /* 접힌 상태 — 셀 폭 0, 토글만 남는다 */
  .quick_nav.fold .quick_kakao,
  .quick_nav.fold .quick_instagram,
  .quick_nav.fold .top_btn {
    width: 0;
    border-left-width: 0;
    opacity: 0;
    pointer-events: none;
  }
  .quick_nav.fold .quick_toggle {
    border-left-width: 0;
  }
  .quick_nav.fold .qt_arw {
    transform: translateX(0.82vw) rotate(135deg);
  }
  .quick_nav.no-anim,
  .quick_nav.no-anim * {
    transition: none !important;
  }
  /* ---------------quick end-------------- */

  .consent_banner {
    left: 0;
    bottom: var(--consent-bottom, 0px);
    width: 100%;
    padding: 3vw 4vw;
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }
  .consent_text {
    font-size: 3.3vw;
    line-height: 1.45;
  }
  .consent_btns {
    margin-top: 2.5vw;
    gap: 2vw;
  }
  .consent_deny,
  .consent_accept {
    padding: 2.2vw 0;
    border-radius: 1.5vw;
    font-size: 3.5vw;
  }
}
