@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;
}

/* 개인정보처리방침 모달 — 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-------------- */
/* ═══════════════════════ FOOTER ═══════════════════════
   구조: footer.footer > .footer_main > .footer_tt_wrap(좌) + .footer_right(우)
   ★ font-family 필수 — footer 는 <section> 밖이라 Pretendard 광역 카스케이드를
     못 받고 default.css 의 body{Malgun Gothic} 으로 폴백된다.
   ═════════════════════════════════════════════════════ */
.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  padding-top: 5.9vw;
  /* 시안값은 6.8vw(130px) 이지만 fixed 퀵바 + 그 위로 98px 솟는 셰프컷이
     개인정보처리방침 줄을 51px 덮는다 → 셰프 상단(하단에서 181px)보다 30px 더 확보 */
  padding-bottom: 11.1vw;
  padding-left: 8.9764%;  /* 시안 x=179 − center-crop 8 */
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  font-size: calc(var(--px) * 16);
  color: #151515;
  letter-spacing: -0.042vw;
  background-color: #ffefd6;
}

.footer img {
  width: 100%;
}

.footer_main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: calc(var(--px) * 1562);
}

.footer_tt_wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer_tt {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  line-height: 1.521;
  /* 시안의 항목 사이 넓은 공백을 그대로 유지한다 (HTML 공백 축약 방지) */
  white-space: pre-wrap;
}

.footer_company {
  font-weight: 600;
}

.footer_privacy {
  margin-top: 1.3vw;
  font-size: calc(var(--px) * 15);
  text-decoration: underline;
  cursor: pointer;
}

.footer_right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 1.9vw;
}

.footer_gn {
  margin-top: 0.1vw;
  opacity: 0.4;
  cursor: pointer;
}

/* ---------------footer end-------------- */
/* ---------------quick start-------------- */
/* ═══════════════ QUICK ═══════════════
   구조: aside.contact_service > .quick_logo(absol) + a.quick_call
         + form.footer_form(입력 3) + .quick_agree + button.quick_submit_div
   ★ .quick_logo 는 바 위로 98px 솟는 인물컷이라 absol — 흐름에서 뺀다.
   ═══════════════════════════════════════ */
.contact_service {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1111;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: calc(var(--px) * 83);
  border-top: 1px solid rgba(21, 21, 21, 0.2);
  /* ★ <section> 밖이라 Pretendard 광역 카스케이드를 못 받는다 */
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  letter-spacing: -0.04vw;
  background-color: #ffefd6;
}

.contact_service img {
  width: 100%;
  display: block;
}

.quick_logo {
  position: absolute;
  left: 10.7612%;  /* 시안 x=213 − center-crop 8 */
  top: -5.2vw;  /* 바 border-top 1px 포함 보정 — 시안상 바 위로 98px */
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(var(--px) * 236);
  aspect-ratio: 236 / 277;
}

.footer_form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 2.189%;   /* 렌더 실측 보정 — 시안 x=630 */
  width: calc(var(--px) * 663);
}

.footer_input {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: calc(100% / 3);
  height: calc(var(--px) * 50);
  font-size: calc(var(--px) * 16);
  font-weight: 300;
  color: #151515;
  /* 시안 실측: placeholder 가 좌측정렬이 아니라 칸 중앙에 있다 */
  text-align: center;
  background-color: #ffffff;
  border: 1px solid #bdaf99;
  outline: none;
}

/* 3칸이 한 덩어리로 보이도록 맞닿는 테두리를 겹친다 */
.footer_input:not(:first-of-type) {
  margin-left: -1px;
}

.footer_input_first {
  border-radius: calc(var(--px) * 8) 0 0 calc(var(--px) * 8);
}

.footer_input_last {
  border-radius: 0 calc(var(--px) * 8) calc(var(--px) * 8) 0;
}

.footer_input::placeholder {
  color: #151515;
  font-weight: 300;
}

.quick_agree {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 1.2073%;
  gap: 0.4vw;
}

.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 #f75110;
  background-color: #ffffff;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
}

.quickAgree_checkbox:checked {
  background-color: #f75110;
}

/* 체크 표시 — border 2변을 -45도 돌려 만든 흰색 체크 */
.quickAgree_checkbox:checked::after {
  position: absolute;
  content: "";
  width: 46%;
  height: 23%;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: translateY(-15%) rotate(-45deg);
}

.quickAgree_fornt {
  font-size: calc(var(--px) * 16);
  font-weight: 500;
  color: #151515;
  white-space: nowrap;
  cursor: pointer;
}

.quick_submit_div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 1.6052%;  /* 렌더 실측 보정 — 시안 x=1506 */
  width: calc(var(--px) * 199);
  height: calc(var(--px) * 53);
  border: 0;
  border-radius: 50vw;
  background-color: var(--color-point);
  cursor: pointer;
}

.quick_submit_div span {
  font-family: var(--font-wanted);
  font-size: calc(var(--px) * 20);
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}

/* 좌측 전화 CTA — 라벨 + 번호 2줄 */
.quick_call {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 23.5696%;  /* 시안 x=457 − center-crop 8 */
  letter-spacing: 0;
  white-space: nowrap;
}

.quick_call_label {
  font-size: calc(var(--px) * 16);
  font-weight: 800;
  color: #151515;
}

.quick_call_num {
  font-family: var(--font-title);
  font-size: calc(var(--px) * 26);
  font-weight: 800;
  color: #f75110;
}
/* ---------------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; /* 회전 애니메이션 */
}

/*개인정보 처리 방침*/
@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: 14vw 0vw 31vw;
    font-size: 3.2vw;
  }
  /* 모바일은 좌우 2단이 아니라 세로 1단 가운데 정렬 (유저 지시) */
  .footer_main {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
  }

  .footer_tt_wrap {
    align-items: center;
  }

  .footer_right {
    align-items: center;
  }

  .footer_tt {
    gap: 1.2vw;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer_tt_wrap {
    gap: 1.2vw;
  }
  .footer_copy {
    margin-top: 6vw;
  }
  .footer_gn {
    margin-top: 1.4vw;
  }
  /* -----footer custom end----- */
  /* ---------------quick start-------------- */
  /* 4열 2행 그리드
     1행: 로고(1) · 전화(2~3) · 동의(4)
     2행: 입력 3개(1~3) · 문의하기(4) */
  .contact_service {
    display: grid;
    /* minmax(0,1fr) — 그냥 1fr 이면 input 의 기본 콘텐츠 폭이 최소값으로 잡혀 4칸이 균등해지지 않는다 */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 1vw;
    row-gap: 3vw;
    height: auto;
    padding: 3vw;
    box-sizing: border-box;
    font-size: 3.3vw;
    transform: none !important;
  }

  /* 모바일은 로고를 빼고 1행을 전화(1~2) + 동의(3~4)로 나눈다 (유저 지시) */
  .quick_logo {
    display: none;
  }

  /* 모바일은 라벨+번호를 한 줄로 (유저 지시) — PC 는 세로 2줄 그대로 */
  .quick_call {
    grid-column: 1 / 3;
    grid-row: 1;
    flex-direction: row;
    align-items: center;
    justify-self: start;
    column-gap: 2vw;
    margin-left: 3vw;
  }

  /* 자식이 각자 calc(var(--px)*N) 을 들고 있어 부모 font-size 로는 안 커진다 (실측 3.1px / 5.1px) */
  .quick_call_label {
    font-size: 3vw;
  }

  .quick_call_num {
    font-size: 4.4vw;
  }

  /* 동의 문구를 한 줄로 유지하려면(유저 지시 · nowrap) 4열 하나로는 폭이 모자라 3~4열을 쓴다 */
  .quick_agree {
    grid-column: 3 / 5;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
    gap: 1vw;
  }

  .quickAgree_checkbox {
    width: 4.1024vw;
    height: 4.1024vw;
  }

  .quickAgree_fornt {
    margin-left: 0;
    font-size: 2.9vw;
    line-height: 1.25;
    white-space: nowrap;
  }

  /* form 이 input 3개를 감싸고 있어 셀 하나를 차지하고 내부에서 3등분한다 */
  .footer_form {
    grid-column: 1 / 4;
    grid-row: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;              /* PC 고정폭 calc(var(--px)*663)=130px 를 반드시 푼다 */
    min-width: 0;
    margin-left: 0;
    gap: 1.4vw;
  }

  /* 입력 3개 + 문의하기 버튼이 4칸 균등이 되도록 min-width 해제 (기본 auto 면 콘텐츠 폭에 걸린다) */
  .footer_input {
    width: 100%;
    min-width: 0;
    height: 9.6vw;
    padding-left: 0;
    font-size: 3.1vw;
    font-family: inherit;
    border-radius: 1.5249vw;
  }

  .quick_submit_div {
    grid-column: 4;
    grid-row: 2;
    width: 100%;
    height: 9.6vw;
    margin-left: 0;
    border-radius: 1.5249vw;
    box-sizing: border-box;
  }

  .quick_submit_div span {
    font-size: 3.3vw;
  }
  /* ---------------quick end-------------- */

  /* 하단 개인정보처리방침 링크 — calc(var(--px)*15) 라 모바일에서 3px 로 찌부됐다 */
  .footer_privacy {
    margin-top: 3vw;
    font-size: 3.2vw;
  }
}
