@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 {
    /* box-sizing: 전역이 border-box 로 바뀐 뒤에도 폭을 보존한다 (reset.css 2026-08-18) */
    box-sizing: content-box;
    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 {
        box-sizing: content-box;   /* 전역 border-box 전환 시 폭 보존 (reset.css 2026-08-18) */
        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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: calc(var(--px) * 63);
  padding-bottom: calc(var(--px) * 139);
  background-color: #fef7e5;
  font-family: var(--font-suit);
  font-size: calc(var(--px) * 17);
  font-weight: 600;
  line-height: 1.647;
  letter-spacing: -0.04em;
  color: #000000;
  text-align: center;
}

.footer img {
  display: block;
  width: 100%;
}

.footer_cta {
  display: flex;
  align-items: flex-start;
  width: calc(var(--px) * 1750);
  padding: calc(var(--px) * 97) calc(var(--px) * 156) calc(var(--px) * 84) calc(var(--px) * 157);
  background-color: #ffffff;
  border: 1px solid #eadab0;
  border-radius: calc(var(--px) * 40);
  text-align: left;
}

/* em 은 계산값(px)으로 상속돼 폰트 크기가 다른 자식마다 다시 선언 */
.footer_cta__title,
.footer_cta__desc,
.footer_cta__btn {
  letter-spacing: -0.06em;
}

.footer_cta__panel {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: calc(var(--px) * 647);
}

.footer_cta__divider {
  flex-shrink: 0;
  width: 1px;
  height: calc(var(--px) * 191);
  margin: calc(var(--px) * -18) calc(var(--px) * 72) calc(var(--px) * -15) calc(var(--px) * 70);
  background-color: rgba(0, 0, 0, 0.102);
}

.footer_cta__txt {
  display: flex;
  flex-direction: column;
  gap: calc(var(--px) * 22);
}

.footer_cta__title {
  font-size: var(--titleXL);
  font-weight: 800;
  line-height: 1.06;
}

.footer_cta__desc {
  font-size: var(--bodyXL);
  font-weight: 500;
  line-height: 1.5;
}

.footer_cta__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: calc(var(--px) * 212);
  height: calc(var(--px) * 59);
  margin-bottom: calc(var(--px) * 8);
  border-radius: 50vw;
  font-size: var(--bodyXL);
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.footer_cta__btn--store {
  background-color: #166938;
}

.footer_cta__btn--menu {
  background-color: #d3222c;
  --hf-color: #d3222c;
}

.footer_brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--px) * 28);
  margin-top: calc(var(--px) * 88);
}

.f_logo {
  width: calc(var(--px) * 208);
  aspect-ratio: 624 / 214;
}

.footer_sns {
  display: flex;
  gap: calc(var(--px) * 52);
}

.footer_sns__item {
  width: calc(var(--px) * 46);
  aspect-ratio: 1 / 1;
}

.footer_sns__item a {
  display: block;
}

.footer_info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: calc(var(--px) * 53);
  padding-top: calc(var(--px) * 50);
  border-top: 1px solid rgba(132, 110, 53, 0.149);
}

.footer_info__company {
  font-style: normal;
}

.footer_info__company p {
  display: flex;
  justify-content: center;
  gap: calc(var(--px) * 24);
}

.footer_info__copy {
  margin-top: calc(var(--px) * 37);
  opacity: 0.702;
}

.footer_family {
  position: relative;
  margin-top: calc(var(--px) * 31);
}

.footer_family__btn {
  position: relative;
  display: flex;
  align-items: center;
  width: calc(var(--px) * 226);
  height: calc(var(--px) * 59);
  padding-left: calc(var(--px) * 38);
  background-color: #ffffff;
  border: 1px solid #eadab0;
  border-radius: calc(var(--px) * 10);
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: #000000;
  cursor: pointer;
}

.footer_family__btn::after {
  position: absolute;
  top: calc(var(--px) * 22);
  right: calc(var(--px) * 34);
  width: calc(var(--px) * 8);
  height: calc(var(--px) * 8);
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
  transform: rotate(45deg);
  content: "";
}

.footer_family.on .footer_family__btn::after {
  top: calc(var(--px) * 27);
  transform: rotate(-135deg);
}

.footer_family__list {
  position: absolute;
  bottom: 100%;
  left: 0;
  display: none;
  width: 100%;
  margin-bottom: calc(var(--px) * 6);
  padding: calc(var(--px) * 10) 0;
  background-color: #ffffff;
  border: 1px solid #eadab0;
  border-radius: calc(var(--px) * 10);
  text-align: left;
}

.footer_family.on .footer_family__list {
  display: block;
}

.footer_family__list a {
  display: block;
  padding: calc(var(--px) * 8) calc(var(--px) * 38);
}

.footer_gn {
  margin-top: calc(var(--px) * 20);
  opacity: 0.702;
}

/* ---------------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: center;
  box-sizing: border-box;
  width: 100%;
  height: calc(var(--px) * 90);
  letter-spacing: -0.04vw;
  background-color: #f4f4f9;
}

.contact_service img {
  width: 100%;
  display: block;
}

.quick_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  /* 퀵바 로고 자연사이즈로 교체 */
  width: calc(var(--px) * 172);
  aspect-ratio: 172 / 39;
}

.footer_form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 1.8373%;
  gap: 0.3vw;
}

.footer_input {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  width: calc(var(--px) * 218);
  height: calc(var(--px) * 53);
  padding-left: calc(var(--px) * 27);
  font-size: calc(var(--px) * 19);
  font-weight: 600;
  color: #000000;
  text-align: left;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  outline: none;
}

.footer_input::placeholder {
  color: #000000;
  font-weight: 600;
}

.quick_agree {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.5249%;
  gap: 0.3vw;
}

.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: 1px solid #dddddd;
  background-color: #ffffff;
  border-radius: 50%;
  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 {
  margin-left: 0.3%;
  font-size: calc(var(--px) * 19);
  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: 2.0472%;
  width: calc(var(--px) * 222);
  height: calc(var(--px) * 63);
  background-color: var(--primary);
  border: 0;
  cursor: pointer;
}

.quick_submit_div span {
  font-size: calc(var(--px) * 26);
  color: #ffffff;
  white-space: nowrap;
}

.quick_call {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 1.4173%;
  font-size: calc(var(--px) * 35);
  color: var(--primary);
  letter-spacing: 0;
  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 {
    box-sizing: content-box;   /* 전역 border-box 전환 시 폭 보존 (reset.css 2026-08-18) */
    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: 10.6667vw 4.2667vw 16vw;
    font-size: 3.2vw;
  }

  .footer_cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 8.5333vw 6.4vw;
    border-radius: 5.3333vw;
    /* .mob-ta-c 는 common.css 라 PC 의 text-align:left 에 로드순서로 진다 */
    text-align: center;
  }

  .footer_cta__panel {
    flex-direction: column;
    align-items: center;
    gap: 5.3333vw;
    width: 100%;
  }

  .footer_cta__divider {
    width: 100%;
    height: 1px;
    margin: 8.5333vw 0;
  }

  .footer_cta__txt {
    gap: 3.2vw;
  }

  .footer_cta__btn {
    width: 48vw;
    height: 12.8vw;
    margin-bottom: 0;
  }

  .footer_brand {
    gap: 4.2667vw;
    margin-top: 10.6667vw;
  }

  .f_logo {
    width: 39vw;
  }

  .footer_sns {
    gap: 5.3333vw;
  }

  .footer_sns__item {
    width: 8.5333vw;
  }

  .footer_info {
    margin-top: 8.5333vw;
    padding-top: 8.5333vw;
  }

  /* 회사정보 한 줄이 모바일 폭을 넘어 span 단위로 줄을 넘긴다 */
  .footer_info__company p {
    flex-wrap: wrap;
    gap: 0 3.2vw;
  }

  .footer_info__copy {
    margin-top: 4.2667vw;
  }

  .footer_family {
    margin-top: 5.3333vw;
  }

  .footer_family__btn {
    width: 48vw;
    height: 11.7333vw;
    padding-left: 5.3333vw;
    border-radius: 2.1333vw;
  }

  .footer_family__btn::after {
    top: 3.7333vw;
    right: 5.3333vw;
    width: 2.1333vw;
    height: 2.1333vw;
  }

  .footer_family.on .footer_family__btn::after {
    top: 5.3333vw;
  }

  .footer_family__list {
    margin-bottom: 1.6vw;
    padding: 2.1333vw 0;
    border-radius: 2.1333vw;
  }

  .footer_family__list a {
    padding: 2.1333vw 5.3333vw;
  }

  .footer_gn {
    margin-top: 4.2667vw;
  }
  /* -----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;
  }

  .quick_logo {
    grid-column: 1 / 2;
    grid-row: 1;
    justify-self: start;
    width: 18vw;
  }

  .quick_call {
    grid-column: 2 / 4;
    grid-row: 1;
    justify-self: start;
    margin-left: 4vw;
    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;
  }

  .quickAgree_fornt {
    margin-left: 0;
    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 end-------------- */
}
