@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) {
    /* 전역 box-sizing 이 content-box 라 93vw + padding 12vw = 105vw 가 되어 화면 양끝에 붙었다 → border-box 로 93vw 안에 padding 을 포함 */
    .modal_iner {
        box-sizing: border-box;
        width: 93vw;
        max-height: 90vh;
        border-radius: 4vw;
        padding: 6vw;
    }

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

    .modal_close {
        height: 11vw;
        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-------------- */
/* 시안: 크림 배경 + 상단 진갈색 3px 선, 로고 → 회사정보 중앙 정렬 */
.footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0vw 0vw 7.5vw;
  background-color: var(--color-cream-bg);
  font-size: calc(var(--px) * 17.5);
  color: var(--color-dark);
  font-family: "pretendard Variable";
  letter-spacing: -0.04vw;
}

.footer img {
  width: 100%;
}

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

.footer_top {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5.2vw;
  margin-bottom: 2.3vw;
}

/* 로고 자연사이즈 (footer_01.png) */
.f_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(var(--px) * 292);
  aspect-ratio: 292 / 49;
}

.footer_tt_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  line-height: calc(var(--px) * 24);
}

.footer_tt {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.footer_bar {
  margin: 0 0.4vw;
}

/* 회사정보 4줄과 Created By 사이의 빈 줄 = 줄높이 1개 */
.footer_right {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: calc(var(--px) * 24);
}

.footer_gn {
  cursor: pointer;
}

/* ---------------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 바
   시안 실측: 바 높이 76, 입력 217×51, 버튼 220×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) * 76);
  font-family: "Pretendard Variable", Pretendard, sans-serif; /* section 밖이라 광역 카스케이드를 못 받는다 */
  letter-spacing: -0.04vw;
  background-color: var(--color-dark);
}

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

/* 전화: 크림 원 + 아이콘 + 번호 */
.quick_call {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  gap: 0.6vw;
}

.quick_call_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(var(--px) * 44);
  height: calc(var(--px) * 44);
  background-color: var(--color-cream);
  border-radius: 50%;
}

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

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

.footer_form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 1.5%;
  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) * 51);
  padding-left: calc(var(--px) * 20);
  font-size: calc(var(--px) * 20);
  font-weight: 300;
  color: #000000;
  text-align: left;
  background-color: #ffffff;
  border: 0;
  border-radius: calc(var(--px) * 10);
  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.3%;
  gap: 0.2vw;
}

/* 체크박스: 흰 둥근 사각 (시안 21×21). 체크되면 진갈색 ✓ */
.quickAgree_checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  box-sizing: border-box;
  width: calc(var(--px) * 21);
  height: calc(var(--px) * 21);
  margin: 0;
  background-color: #ffffff;
  border: 0;
  border-radius: calc(var(--px) * 9);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

/* 체크 표시 — 체크되면 흰 박스 안에 진갈색 ✓ */
.quickAgree_checkbox:checked::after {
  content: "";
  width: calc(var(--px) * 14);
  height: calc(var(--px) * 15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 15'%3E%3Cpath d='M2 8l3.6 3.6L12 4' fill='none' stroke='%233e3022' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.quickAgree_fornt {
  font-size: calc(var(--px) * 18);
  font-weight: 400;
  color: #ffffff;
  white-space: nowrap;
  cursor: pointer;
}

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

.quick_submit_img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(var(--px) * 88);
  aspect-ratio: 88 / 23;
}

/* 맨 위로 (시안의 ↑ 박스) — 모바일에서는 pc-mobile 로 숨김 */
.quick_top {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.1%;
  width: calc(var(--px) * 53);
  height: calc(var(--px) * 53);
  background-color: var(--color-cream);
}

.quick_top_img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(var(--px) * 14);
  aspect-ratio: 14 / 27;
}
/* ---------------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: 0vw 0vw 30vw;
    font-size: 3.3vw;
  }
  .footer_top {
    margin-bottom: 6vw;
    padding-top: 10vw;
  }
  .f_logo {
    width: 52vw;
  }
  .footer_tt_wrap {
    line-height: 5.4vw;
  }
  .footer_right {
    margin-top: 5.4vw;
  }
  /* -----footer custom end----- */
  /* ---------------quick start-------------- */
  /* 4열 2행 그리드 (모바일 시안 없음 — 기본 배치 유지)
     1행: 전화(1~2) · 동의(3~4)
     2행: 입력 3개(1~3) · 문의하기(4)
     ↑ 박스(.quick_top)는 pc-mobile 로 숨김 */
  .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 / 3;
    grid-row: 1;
    justify-self: start;
    gap: 2vw;
  }

  .quick_call_icon {
    width: 8vw;
    height: 8vw;
  }

  .quick_call_icon_img {
    width: 4.5vw;
  }

  .quick_call_num {
    width: 25vw;
  }

  .quick_agree {
    grid-column: 3 / 5;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
    gap: 1.4vw;
  }

  .quickAgree_checkbox {
    width: 5vw;
    height: 5vw;
    border-radius: 2.2vw;
  }

  .quickAgree_checkbox:checked::after {
    width: 3.3vw;
    height: 3.5vw;
  }

  /* 3vw → 3.3vw (최소 폰트). 위아래 padding 은 탭 영역용 — 1행 높이(8vw) 안에 들어와 레이아웃 변화 없음 */
  .quickAgree_fornt {
    padding: 2vw 0;
    font-size: 3.3vw;
    line-height: 1.2;
  }

  /* form 은 레이아웃에서 빠지고(contents) 입력 3개가 바로 2행 1~3칸에 들어간다 → 입력 3개 + 문의하기 버튼이 4칸 완전 균등 */
  .footer_form {
    display: contents;
  }

  /* minmax(0,1fr) 칸을 꽉 채우도록 width 100% + min-width 해제 (기본 auto 면 콘텐츠 폭에 걸린다) */
  .footer_input {
    grid-row: 2;
    width: 100%;
    min-width: 0;
    height: 9vw;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    text-align: center;
    letter-spacing: -0.12vw;
    font-size: 3.3vw;
    font-family: inherit;
    border-radius: 1.5249vw;
  }

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

  .quick_submit_img {
    width: 17vw;
  }
  /* ---------------quick end-------------- */
}
