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

#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;
  font-display: swap;
}

/* ---------------footer start-------------- */
.footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #0b0b0b;
  padding: 5.9vw 0vw 11.5vw; /* 하단 = 시안 여백(마지막 줄 잉크 하단 377 → 바닥 515) + 고정 퀵바 87 (퀵바가 덮는 만큼) */
  box-sizing: border-box;
  font-size: calc(var(--px) * 17);
  font-weight: 300;
  line-height: 1.2vw;
  color: #adadad;
  font-family: var(--font-free);
}

.footer img {
  width: 100%;
}

.footer_main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.f_logo {
  width: calc(var(--px) * 168);
  aspect-ratio: 168 / 47;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer_line {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 1px;
  margin-top: 2.0vw;
  background-color: #282828;
}

.footer_tt_wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  padding-left: calc(var(--px) * 233);
  margin-top: 2.8vw;
}

.footer_tt {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  line-height: calc(var(--px) * 22); /* 시안 줄 간격 22 (잉크 256·277·299) — .footer 1.2vw(22.86) 상속값보다 좁음 */
}

.footer_right {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  margin-top: 1.0vw;
  color: #626262;
}

.footer_copy {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer_gn {
  cursor: pointer;
}

/* ---------------footer end-------------- */
/* ---------------quick start-------------- */
/* ═══════════════ QUICK (기본 형태) ═══════════════
   구조: aside.contact_service > .quick_logo + form.footer_form(입력 3) + .quick_agree
         + button.quick_submit_div + a.quick_call   — 하단 fixed 바
   프로젝트마다 바꾸는 값 = 바 높이, 로고 자연사이즈, 입력칸 폭·높이, 배경색, 포인트색.
   ══════════════════════════════════════════════ */
.contact_service {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1111;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  box-sizing: border-box;
  width: 100%;
  height: calc(var(--px) * 87);
  padding-bottom: calc(var(--px) * 15);
  font-family: var(--font-free);
  letter-spacing: -0.04vw;
  background-color: #eedfbe;
}

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

/* 캐릭터 — 바 위로 38 튀어나오고 아래는 화면 밖으로 잘린다(시안 동일).
   오른쪽 29 는 동의·입력 묶음 아래로 겹친다 → 음수 margin 으로 흐름 유지 */
.quick_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: calc(var(--px) * 206);
  aspect-ratio: 206 / 183;
  margin-right: calc(var(--px) * -29);
  margin-bottom: calc(var(--px) * -73);
}

.quick_form_wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex-shrink: 0;
  gap: 0.2vw;
}

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

.footer_input {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: calc(var(--px) * 179);
  height: calc(var(--px) * 40);
  padding: 0;
  font-size: calc(var(--px) * 16);
  font-weight: 500;
  color: #000000;
  text-align: center;
  background-color: #ffffff;
  border: 0;
  outline: none;
}

.footer_input::placeholder {
  color: #6d6d6d;
  font-weight: 500;
}

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

.quickAgree_checkbox {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  box-sizing: border-box;
  width: calc(var(--px) * 14);
  height: calc(var(--px) * 14);
  margin: 0;
  border: 1px solid #000000;
  background-color: transparent;
  border-radius: calc(var(--px) * 2);
  outline: none;
  cursor: pointer;
}

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

/* 체크 표시 — 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) * 15);
  letter-spacing: 0; /* 시안 잉크 폭 ≈140 — .contact_service −0.04vw 상속 시 133 */
  font-weight: 600;
  color: #000000;
  white-space: nowrap;
  cursor: pointer;
}

.quick_submit_div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.3675%;
  width: calc(var(--px) * 175);
  height: calc(var(--px) * 39);
  background-color: var(--color-point);
  border: 0;
  cursor: pointer;
}

.quick_submit_div span {
  font-size: calc(var(--px) * 16);
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

.quick_call {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  gap: 0.4vw;
  margin-left: 0.315%;
  margin-bottom: calc(var(--px) * -2); /* 시안 숫자 글리프가 입력칸 하단보다 2 아래 */
  font-family: var(--font-poppins);
  font-size: calc(var(--px) * 45);
  font-weight: 800;
  line-height: 1;
  color: var(--color-point);
  letter-spacing: 0;
  white-space: nowrap;
}

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

/* ---------------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: 8vw 0vw 38vw;
    font-size: 3.3vw;
    line-height: 5vw;
  }
  .f_logo {
    width: 34vw;
  }
  .footer_line {
    margin-top: 6vw;
  }
  /* 회사정보·카피라이트 가운데 정렬 (유저 지시 2026-10-23 — 로고와 정렬 맞춤) */
  .footer_tt_wrap {
    align-items: center;
    padding: 0 5vw;
    margin-top: 5vw;
    text-align: center;
  }
  .footer_tt {
    align-items: center;
    gap: 1.2vw;
    line-height: 5vw; /* PC 는 calc(var(--px)*22) — 모바일에선 4px 로 줄이 겹쳐서 되돌림 */
  }
  .footer_right {
    align-items: center;
    margin-top: 4vw;
  }
  .footer_copy {
    justify-content: center;
  }
  /* -----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; /* 1행 전화(로고 옆, 왼쪽) + 동의(한 줄, 오른쪽) · 2행 입력+문의 — 유저 지시 2026-10-23 */
    align-items: center;
    column-gap: 1vw;
    row-gap: 2vw;
    height: auto;
    padding: 3vw;
    box-sizing: border-box;
    font-size: 3.3vw;
    transform: none !important;
  }

  /* 로고 — PC 처럼 바 위로 튀어나오게 absol (유저 지시 2026-10-23). 그리드 행 높이에서 빠져서 퀵바 높이가 낮아진다
     1열은 비워둔 채 유지(전화·동의 칸 배치 그대로) */
  .quick_logo {
    position: absolute;
    top: -7vw;
    left: 3vw;
    width: 18vw;
    margin: 0;
  }
  /* PC 의 동의+입력 묶음을 풀어 자식(동의·form)이 그리드 셀에 직접 들어가게 한다 */
  .quick_form_wrap {
    display: contents;
  }

  /* 전화 — 로고(absol, 좌측 3~21vw) 바로 옆에서 시작 */
  .quick_call {
    grid-column: 1 / 4;
    grid-row: 1;
    justify-self: start;
    margin-left: 19vw;
    margin-bottom: 0;
    gap: 1.3vw;
    font-size: 5.5vw; /* 유저 지시(2026-10-23): 키움 4.6 → 5.5 (동의 문구와 한 줄에 들어가는 최대치) */
  }
  .quick_call_icon {
    width: 5.9vw;
  }

  /* 동의 — 유저 지시(2026-10-23): 한 줄로, 전화번호와 같은 행 오른쪽 끝 */
  .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: 3.3vw;
    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;
    margin-left: 0;
    gap: 1vw;
  }

  /* 입력 3개 + 문의하기 버튼이 4칸 균등이 되도록 min-width 해제 (기본 auto 면 콘텐츠 폭에 걸린다) */
  .footer_input {
    width: 100%;
    min-width: 0;
    height: 7.6772vw;
    font-size: 3.3vw;
    font-family: inherit;
  }

  .quick_submit_div {
    grid-column: 4;
    grid-row: 2;
    width: 100%;
    height: 7.6772vw;
    margin-left: 0;
    box-sizing: border-box;
  }

  .quick_submit_div span {
    font-size: 3.3vw;
  }
  /* ---------------quick end-------------- */

  /* ---------------- MO modal (파일 끝 단일 모바일 블록으로 통합, 2026-10-20) ---------------- */
  .modal_iner {
      width: 81vw; /* content-box(reset) — 패딩 6vw×2 포함 바깥 폭 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;
  }
}
