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

@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 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--color-dark);
  padding: 0vw 0vw 8.4vw;
  box-sizing: border-box;
  font-size: calc(var(--px) * 16);
  font-family: "pretendard Variable";
  color: #ffffff;
  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 {
  width: 100%;
  padding-top: calc(var(--px) * 103);
  padding-bottom: calc(var(--px) * 59);
  box-sizing: border-box;
  border-bottom: 1px solid #292625;
}

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

.footer_policy {
  margin-top: 2vw;
  font-weight: 300;
  line-height: 1.6vw;
  text-decoration: underline;
}

.footer_tt_wrap {
  margin-top: 1.5vw;
  font-weight: 300;
  line-height: 1.3vw;
  color: rgba(255, 255, 255, 0.8);
}

.footer_tt {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(var(--px) * 13);
}

.footer_right {
  margin-top: 1vw;
  line-height: 1.3vw;
  letter-spacing: -0.02vw;
  color: rgba(255, 255, 255, 0.3);
}

.footer_gn {
  cursor: pointer;
}

.f_tothetop {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: fixed;
  right: calc(var(--px) * 42);
  bottom: calc(var(--px) * 118);
  z-index: 1110;
  box-sizing: border-box;
  width: calc(var(--px) * 98);
  height: calc(var(--px) * 98);
  border: 2px solid #5c5036;
  border-radius: 50%;
  background-color: #1a1716;
  font-family: var(--font-myeongjo);
  font-weight: 800;
  font-size: calc(var(--px) * 24);
  line-height: 1.4vw;
  color: var(--color-point);
  letter-spacing: 0;
}

/* 등장·사라짐 — footer.js 가 첫 계산 뒤 .ready 를 붙여 로드 직후엔 전환이 돌지 않는다 */
.f_tothetop.ready {
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.f_tothetop.is_hide {
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(var(--px) * 20));
}

/* 호버 — 터치 기기에서는 탭 뒤 :hover 가 남으므로 마우스 환경에서만 */
@media (hover: hover) {
  .f_tothetop:hover {
    transform: translateY(calc(var(--px) * -6));
    border-color: var(--color-point);
    background-color: var(--color-point);
    color: var(--color-dark);
  }
}

/* ---------------footer end-------------- */
/* ---------------quick start-------------- */
/* ═══════════════ QUICK (기본 형태) ═══════════════
   구조: aside.contact_service > .quick_logo + form.footer_form(입력 3) + .quick_agree
         + button.quick_submit_div + a.quick_call(.quick_call_icon)   — 하단 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) * 80);
  letter-spacing: -0.04vw;
  background-color: var(--color-point);
}

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

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

.footer_form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.7%;
  gap: calc(var(--px) * 12.5);
}

.footer_input {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: calc(var(--px) * 175);
  height: calc(var(--px) * 42);
  font-family: var(--font-wanted);
  font-size: calc(var(--px) * 16);
  font-weight: 600;
  letter-spacing: -0.04vw;
  color: #000000;
  text-align: center;
  background-color: #ffffff;
  border-radius: calc(var(--px) * 5);
  outline: none;
}

.footer_input::placeholder {
  color: #a3a3a3;
  font-weight: 600;
}

.quick_agree {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.8%;
  gap: calc(var(--px) * 6);
}

.quickAgree_checkbox {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  box-sizing: border-box;
  width: calc(var(--px) * 18);
  height: calc(var(--px) * 18);
  box-shadow: inset 0 0 0 calc(var(--px) * 2) #000000;
  border-radius: calc(var(--px) * 4);
  outline: none;
  cursor: pointer;
}

.quickAgree_checkbox:checked {
  background-color: var(--color-dark);
}

/* 체크 표시 — border 2변을 -45도 돌려 만든 흰색 체크 */
.quickAgree_checkbox:checked::after {
  position: absolute;
  content: "";
  width: 55%;
  height: 28%;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: translateY(-15%) rotate(-45deg);
}

.quickAgree_fornt {
  font-family: var(--font-wanted);
  font-size: calc(var(--px) * 16);
  font-weight: 500;
  color: #000000;
  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) * 175);
  height: calc(var(--px) * 42);
  background-color: var(--color-dark);
  border: 0;
  border-radius: calc(var(--px) * 5);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.6, 0.3, 1), filter 0.3s, box-shadow 0.3s;
}

.quick_submit_div span {
  font-family: var(--font-myeongjo);
  font-size: calc(var(--px) * 18);
  font-weight: 800;
  letter-spacing: -0.13vw;
  color: #ffffff;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

/* 제출 CTA 샤인 스윕(폼 레이아웃.md §3) — 평상시 왼쪽 밖(숨김), 호버 시 대각선 흰 광택이 좌→우로 1회. 언호버 transition:0s 라 되돌림은 안 보인다. 눌림 = 쑥 */
.quick_submit_div::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 0;
  z-index: 2;
  width: 45%;
  height: 120%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-220%) skewX(-18deg);
  transition: transform 0s;
}

.quick_submit_div:hover {
  filter: brightness(1.06);
  box-shadow: 0 calc(var(--px) * 12) calc(var(--px) * 30) rgba(0, 0, 0, 0.25);
}

.quick_submit_div:hover::before {
  transform: translateX(320%) skewX(-18deg);
  transition: transform 0.7s ease;
}

.quick_submit_div:active {
  transform: scale(0.985);
  transition: transform 0.1s ease;
}

.quick_call {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.7%;
  font-family: var(--font-hambak);
  padding-bottom: calc(var(--px) * 2);
  font-size: calc(var(--px) * 30);
  letter-spacing: -0.03vw;
  color: var(--color-dark);
  white-space: nowrap;
}

.quick_call_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.2%;
  margin-top: calc(var(--px) * 6);
  width: calc(var(--px) * 28);
  aspect-ratio: 28 / 26;
}
/* ---------------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 38vw;
    font-size: 3.3vw;
    letter-spacing: -0.1vw;
  }
  .footer_top {
    padding-top: 8vw;
    padding-bottom: 7vw;
  }
  .f_logo {
    width: 39vw;
  }
  .footer_policy {
    margin-top: 3vw;
    padding: 3vw 4vw;
    line-height: 5vw;
  }
  .footer_tt_wrap {
    margin-top: 2vw;
    gap: 3.6vw;
    line-height: 5vw;
    text-align: center;
  }
  .footer_tt {
    gap: 1.2vw;
    flex-direction: column;
  }
  .footer_right {
    margin-top: 7vw;
    line-height: 5vw;
    letter-spacing: -0.05vw;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
  }
  .footer_gn {
    margin-top: 0.4vw;
    padding: 1vw 3vw;
  }
  .f_tothetop {
    right: 4vw;
    bottom: 22vw;
    width: 16vw;
    height: 16vw;
    font-size: 3.7vw;
    line-height: 4.6vw;
  }
  /* -----footer custom end----- */
  /* ---------------quick start-------------- */
  /* 4열 2행 그리드 (md/모바일/모바일_퀵바.md 정본)
     1행: 전화(1~2) · 동의(3~4)  — 로고는 장식이라 숨긴다
     2행: 입력 3개(1~3) + 문의하기(4) — 칸 사이 간격 0, 일체형 바 */
  .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;
    gap: 2vw 0;
    height: auto;
    padding: 2vw 2vw;
    box-sizing: border-box;
    font-size: 3.3vw;
    transform: none !important;
  }

  .quick_logo {
    display: none;
  }

  .quick_call {
    grid-column: 1 / 3;
    grid-row: 1;
    justify-self: start;
    margin-left: 1vw;
    padding-bottom: 0;
    font-size: 5.2vw;
  }

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

  .quick_call_icon {
    width: 4.6vw;
    margin-right: 1vw;
    margin-top: 0;
  }

  .quickAgree_checkbox {
    width: 4.4vw;
    height: 4.4vw;
    box-shadow: inset 0 0 0 0.5vw #000000;
    border-radius: 1vw;
  }

  .quickAgree_fornt {
    margin-left: 0;
    font-size: 3.6vw;
    line-height: 1.2;
  }

  /* form 래퍼를 평탄화 — 입력 3개가 문의하기와 같은 그리드의 직계 자식이 되어 4칸이 픽셀 단위로 같다 */
  .footer_form {
    display: contents;
  }

  /* 칸 배정 — 입력은 id 로 고정 (같은 클래스라 위치 셀렉터를 쓰지 않는다) */
  #name_quick {
    grid-column: 1;
  }

  #tel1_quick {
    grid-column: 2;
  }

  #store_quick {
    grid-column: 3;
  }

  /* 일체형 바: 각진 직사각형 · 칸 사이 간격 0 · 이음매는 칸의 왼쪽 보더 1px 하나뿐
     (grid 라 칸 너비는 보더와 무관하게 같다 — margin -1px 겹침은 쓰지 않는다) */
  .footer_input {
    grid-row: 2;
    width: 100%;
    min-width: 0;
    height: 7.9vw;
    padding: 0 0.8vw;
    font-size: 3.3vw;
    border: 1px solid var(--color-dark);
    border-right: 0;
    border-radius: 0;
  }

  /* 흰 바탕 위 placeholder 대비 확보 (#a3a3a3 → 약 2.5:1 이라 #767676 으로) */
  .footer_input::placeholder {
    color: #767676;
  }

  .quick_submit_div {
    grid-column: 4;
    grid-row: 2;
    width: 100%;
    height: 7.9vw;
    margin-left: 0;
    border: 1px solid var(--color-dark);
    border-radius: 0;
    box-sizing: border-box;
  }

  .quick_submit_div span {
    font-size: 3.4vw;
    letter-spacing: -0.04vw;
  }

  /* 제출 CTA — 모바일은 hover 불가: 자동 샤인 루프 + 탭 눌림, 터치로 눌러붙은 :hover 리프트 무력화 */
  .quick_submit_div::before {
    animation: fs_shine_auto 4s ease-in-out infinite;
  }

  .quick_submit_div:hover {
    transform: none;
    filter: none;
    box-shadow: none;
  }

  .quick_submit_div:active {
    transform: scale(0.96);
    transition: transform 0.12s ease;
  }
  /* ---------------quick end-------------- */
}
