@charset "UTF-8";

/* Pretendard 풀버전 @import 제거 (font-perf) — header 의 dynamic-subset <link> 와 중복 로드였다 */
#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;
}

/* 본문 줄바꿈은 <br>, 문단 사이는 <br><br> (개인정보처리방침만 연속 br 허용 — 유저 지시) */
.policy_text {
    display: block;
    text-align: left;
    line-height: 1.9;
}

.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;
  font-display: swap;
}

/* ---------------footer start-------------- */
.footer {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  box-sizing: border-box;
  padding: 2.6vw 0 7.9vw;
  background-color: #f8f8f8;
  color: #010101;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
}

.footer img {
  width: 100%;
}

/* 로고 — 부모 flex center 가 가로 중앙을 잡는다(시안 좌표도 정중앙) */
.f_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(var(--px) * 205);
  aspect-ratio: 205 / 77;
}

/* 구분선 — 시안 실측색 #969696 (파서 #010101 은 불투명도 반영 전 값) */
.footer_line {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 1px;
  margin-top: 2.7vw;
  background-color: #969696;
}

/* 회사정보(좌) + 개인정보처리방침(우) — 좌우 여백이 비대칭이라 padding 으로 잡는다 */
.footer_info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
  margin-top: 2.6vw;
  padding: 0 4.3045% 0 8.5039%;
}

.footer_tt {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  font-size: calc(var(--px) * 18);
  line-height: 1.445;
  letter-spacing: -0.05vw;
}

.footer_gap {
  margin-left: 2.1vw;
}

.footer_privacy {
  font-size: calc(var(--px) * 20);
  color: #000000;
  letter-spacing: -0.07vw;
  text-decoration: underline;
  white-space: nowrap;
  cursor: pointer;
}

.footer_copy {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.3vw;
  padding-left: 8.5039%;
  font-size: calc(var(--px) * 13);
  line-height: 2.177;
  color: #666666;
  letter-spacing: -0.02vw;
}

.footer_gn {
  cursor: pointer;
}

/* 좌측 붉은 블록(0~44.7244%)이 우측 어두운 바와 맞붙는다.
   폼 첫 칸이 붉은 블록 위로 걸쳐 있어 별도 배경 element 대신 gradient 로 두 색을 만든다 */
.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) * 76);
  letter-spacing: -0.04vw;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  background-image: linear-gradient(to right, var(--color-point) 0 44.7244%, #231815 44.7244% 100%);
}

.contact_service img {
  width: 100%;
  display: block;
}

.quick_call {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 18.4777%;
  gap: calc(var(--px) * 14);
}

.quick_call_ico {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: calc(var(--px) * 49);
  aspect-ratio: 49 / 49;
}

.quick_call_num {
  font-family: "Miwon", serif;
  font-size: calc(var(--px) * 53);
  color: #ffffff;
  letter-spacing: 0.02vw;
  white-space: nowrap;
}

/* 동의줄 + 폼줄 2단. align-self: stretch 로 바 높이를 받아 세로중앙 정렬한다 */
.quick_panel {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: column;
  flex-shrink: 0;
  align-self: stretch;
  margin-left: 2.9396%;
  width: 42.9921%;
  gap: 0.4vw;
}

.quick_agree {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-right: 3.6630%;
  gap: calc(var(--px) * 8);
}

.quickAgree_checkbox {
  position: relative;
  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);
  border: 1px solid #ffffff;
  background-color: transparent;
  outline: none;
  cursor: pointer;
}

.quickAgree_checkbox:checked {
  background-color: #ffffff;
}

/* 체크 표시 — border 2변을 -45도 돌려 만든 체크 */
.quickAgree_checkbox:checked::after {
  position: absolute;
  content: "";
  width: 46%;
  height: 23%;
  border-left: 2px solid var(--color-point);
  border-bottom: 2px solid var(--color-point);
  transform: translateY(-15%) rotate(-45deg);
}

.quickAgree_fornt {
  font-size: calc(var(--px) * 17);
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.07vw;
  white-space: nowrap;
  cursor: pointer;
}

/* 입력칸 3 + 버튼 1 = 204px 셀 4개, 사이 1px */
.footer_form {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  gap: 1px;
}

.footer_input {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  width: 24.9084%;
  height: calc(var(--px) * 32);
  font-family: inherit;
  font-size: calc(var(--px) * 17);
  color: #0a0a0a;
  letter-spacing: -0.07vw;
  text-align: center;
  background-color: #ffffff;
  border: 0;
  outline: none;
}

.footer_input::placeholder {
  color: #0a0a0a;
}

.quick_submit_div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 24.9084%;
  height: calc(var(--px) * 32);
  font-family: inherit;
  background-color: var(--color-point);
  border: 0;
  cursor: pointer;
}

.quick_submit_div span {
  font-family: "Miwon", serif;
  font-size: calc(var(--px) * 21);
  color: #ffffff;
  letter-spacing: -0.05vw;
  white-space: nowrap;
}

/* ---------------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 {
    /* 하단 고정 퀵바(약 150px)가 마지막 줄을 가리지 않도록 여백 확보 */
    padding: 8vw 0 41vw;
  }
  .f_logo {
    width: 39vw;
  }
  .footer_line {
    margin-top: 7vw;
  }
  .footer_info {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 7vw;
    padding: 0 5%;
  }
  .footer_tt {
    font-size: 3.3vw;
  }
  /* 모바일은 폭이 좁아 항목이 붙어버린다(회사명+대표자 / 사업자번호+대표번호+Email).
     항목마다 줄을 바꿔 읽히게 한다 */
  .footer_gap {
    display: block;
    margin-left: 0;
  }
  .footer_privacy {
    margin-top: 3vw;
    font-size: 3.3vw;
  }
  .footer_copy {
    margin-top: 5vw;
    padding-left: 5%;
    font-size: 3.3vw;
  }
  /* -----footer custom end----- */
  /* ---------------quick start-------------- */
  /* 세로 2단: 전화 / (동의 + 입력 3 + 버튼) */
  /* 2줄 구성 — 1줄: 전화 + 개인정보동의 / 2줄: 성함·연락처·희망점포·상담신청 */
  .contact_service {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 2.5vw 3vw;
    column-gap: 3vw;
    row-gap: 2vw;
    background-image: none;
    background-color: #231815;
    transform: none !important;
  }

  .quick_call {
    margin-left: 0;
    gap: 2vw;
  }

  .quick_call_ico {
    width: 7vw;
  }

  .quick_call_num {
    font-size: 7vw;
  }

  /* display:contents — agree(1줄) 와 form(2줄) 을 퀵바 직계 flex item 으로 올린다 */
  .quick_panel {
    display: contents;
  }

  .quick_agree {
    margin-right: 0;
    gap: 1.5vw;
    flex-shrink: 0;
  }

  .quickAgree_checkbox {
    width: 4.1vw;
    height: 4.1vw;
  }

  .quickAgree_fornt {
    font-size: 3.3vw;
  }

  /* 2줄 = 성함·연락처·희망점포·상담신청 한 줄 (PC 와 같은 구성) */
  .footer_form {
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    gap: 1vw;
  }

  /* 입력 3 + 버튼 = 전부 같은 폭으로 한 줄을 꽉 채운다 (flex:1 → (100% − gap 3개)/4) */
  .footer_input {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 8vw;
    font-size: 3.3vw;
    font-family: inherit;
  }

  .quick_submit_div {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 8vw;
  }

  .quick_submit_div span {
    font-size: 3.5vw;
  }
  /* ---------------quick end-------------- */
}
