@charset "UTF-8";

#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;
}

/* ---------------footer start-------------- */
.footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #0f0f0f;
  /* 하단 = 시안 여백 90 + 퀵바(fixed) 높이 83 */
  padding: 0vw 0vw calc(var(--px) * 173);
  box-sizing: border-box;
  font-size: calc(var(--px) * 17);
  font-weight: 300;
  color: #6f6f6f;
  letter-spacing: -0.05vw;
  font-family: "pretendard Variable";
}

.footer img {
  width: 100%;
}

.footer_main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* 텍스트 줄 피치 27px(시안) = line-height 1.4vw */
.footer_tt_wrap {
  width: calc(var(--px) * 1380);
  gap: 0;
  line-height: 1.4vw;
}

.footer_tt {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5vw;
}

.footer_sep {
  margin-left: 0.5vw;
}

.footer_right {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0;
  margin-top: 1.4vw;
}

.footer_gn {
  cursor: pointer;
}

.footer_top {
  padding-top: 4.4vw;
  margin-bottom: 2vw;
}

.f_logo {
  width: calc(var(--px) * 249);
  aspect-ratio: 249 / 54;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* ---------------footer end-------------- */
/* ---------------quick start-------------- */
/* ═══════════════ QUICK ═══════════════
   구조: aside.contact_service > a.quick_call(아이콘+번호) + form.footer_form(입력 3) + .quick_agree
         + button.quick_submit_div + a.quick_top   — 하단 fixed 바
   시안(PSD) 수치: 바 높이 83 · 입력 217×52 · 문의하기 221×53 · TOP 53×53
   ══════════════════════════════════════════════ */
.contact_service {
  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) * 83);
  letter-spacing: -0.05vw;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  background-color: var(--color-point);
}

.contact_service img {
  width: 100%;
  display: block;
}

.quick_call {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  gap: 0.7vw;
}

/* 흰 원 40 × 39 + 전화 아이콘 20 × 20 */
.quick_call_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(var(--px) * 40);
  aspect-ratio: 40 / 39;
  background-color: #ffffff;
  border-radius: 50%;
}

.quick_call_icon img {
  width: 50%;
}

.quick_call_num {
  font-family: "esamanru";
  font-size: calc(var(--px) * 30);
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.footer_form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 1.6%;
  gap: 0.4vw;
}

.footer_input {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  width: calc(var(--px) * 217);
  height: calc(var(--px) * 52);
  padding-left: calc(var(--px) * 17);
  font-size: calc(var(--px) * 20);
  font-weight: 300;
  color: #000000;
  text-align: left;
  background-color: #ffffff;
  border: 0;
  outline: none;
}

.footer_input::placeholder {
  color: #000000;
  font-weight: 300;
}

.quick_agree {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.5%;
  gap: 0.1vw;
}

/* 시안: 흰 링(26) + 안쪽 빨강(18) — 체크되면 안쪽이 흰색으로 채워진다 */
.quickAgree_checkbox {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  box-sizing: border-box;
  width: calc(var(--px) * 26);
  height: calc(var(--px) * 26);
  border: 4px solid #ffffff;
  background-color: #ffffff;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
}

/* 체크 = 빨간 원이 채워진다(흰 테두리 유지). 체크 표시(✓)는 쓰지 않는다 */
.quickAgree_checkbox:checked {
  background-color: var(--color-point);
}

.quickAgree_fornt {
  font-size: calc(var(--px) * 20);
  font-weight: 300;
  color: #ffffff;
  white-space: nowrap;
  cursor: pointer;
}

.quick_submit_div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.9%;
  width: calc(var(--px) * 221);
  height: calc(var(--px) * 53);
  background-color: #000000;
  border: 0;
  cursor: pointer;
}

.quick_submit_div span {
  font-family: "esamanru";
  font-size: calc(var(--px) * 26);
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

/* TOP — 흰 정사각 53 + 빨강 화살표 (시안 ↑ 는 JalnanGothic 글리프) */
.quick_top {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.7%;
  width: calc(var(--px) * 53);
  height: calc(var(--px) * 53);
  font-family: "JalnanGothic";
  font-size: calc(var(--px) * 26);
  color: var(--color-point);
  background-color: #ffffff;
}
/* ---------------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: 599px) {
  /* -----footer custom start----- */
  .footer {
    padding: 0vw 0vw 38vw;
    font-size: 3.2vw;
  }
  .footer_top {
    gap: 10.5vw;
    margin-bottom: 7vw;
    padding-top: 8vw;
    padding-bottom: 0vw;
  }
  .f_logo {
    width: 40vw;
  }
  .footer_tt {
    gap: 1.2vw;
    flex-direction: column;
  }
  .footer_tt_wrap {
    gap: 1.2vw;
    line-height: 5vw;
  }
  .footer_copy {
    margin-top: 6vw;
  }
  .footer_gn {
    margin-top: 1.4vw;
  }
  /* -----footer custom end----- */
  /* ---------------quick start-------------- */
  /* 4열 2행 그리드
     1행: 전화(1~3) · 동의(4)
     2행: 입력 3개(1~3) · 문의하기(4)
     TOP 은 바 위 우측에 띄운다(absolute — 그리드 셀을 차지하지 않는다) */
  .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;
  }

  .quick_call {
    grid-column: 1 / 4;
    grid-row: 1;
    justify-self: start;
    gap: 2.4vw;
  }

  .quick_call_icon {
    width: 8vw;
  }

  .quick_call_num {
    font-size: 5.4vw;
  }

  .quick_agree {
    grid-column: 4 / 5;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
    gap: 1vw;
  }

  .quickAgree_checkbox {
    width: 4.1024vw;
    height: 4.1024vw;
    border-width: 2px;
  }

  .quickAgree_fornt {
    font-size: 2.8vw;
    line-height: 1.2;
  }

  /* form 이 input 3개를 감싸고 있어 셀 하나를 차지하고 내부에서 3등분한다 */
  .footer_form {
    grid-column: 1 / 4;
    grid-row: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 0;
    gap: 1vw;
  }

  /* 입력 3개 + 문의하기 버튼이 4칸 균등이 되도록 min-width 해제 (기본 auto 면 콘텐츠 폭에 걸린다) */
  .footer_input {
    width: 100%;
    min-width: 0;
    height: 7.6772vw;
    padding-left: 3%;
    font-size: 3.3vw;
    font-family: inherit;
    border-radius: 1.5249vw;
  }

  .quick_submit_div {
    grid-column: 4;
    grid-row: 2;
    width: 100%;
    height: 7.6772vw;
    margin-left: 0;
    border-radius: 1.5249vw;
    box-sizing: border-box;
  }

  .quick_submit_div span {
    font-size: 3.3vw;
  }

  .quick_top {
    position: absolute;
    right: 3vw;
    bottom: calc(100% + 2vw);
    margin-left: 0;
    width: 10vw;
    height: 10vw;
    font-size: 5vw;
  }
  /* ---------------quick end-------------- */
}
