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

/* ---------------footer start-------------- */
.footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #fff8e9;
  padding: 4.1vw 0vw 8.2vw;
  box-sizing: border-box;
  /* ★ 푸터도 section 밖 — Pretendard 직접 지정 (빠지면 맑은고딕) */
  font-family: "Pretendard Variable";
  font-size: calc(var(--px) * 17.01);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.04vw;
  color: #000000;
}

.footer img {
  width: 100%;
}

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

.footer_tt_wrap {
  width: 100%;
  gap: 0.5vw;
  margin-top: 2.4vw;
}

.footer_tt {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3vw;
}

.footer_right {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.5vw;
  margin-top: 1.4vw;
}

.footer_gn {
  cursor: pointer;
}

.footer_top {
  padding-top: 0vw;
  margin-bottom: 0vw;
}

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

/* ---------------footer end-------------- */
/* ---------------quick start-------------- */
/* ═══════════════ QUICK (기본 형태) ═══════════════
   구조: aside.contact_service > .quick_logo + form.footer_form(입력 3) + .quick_agree
         + button.quick_submit_div + a.quick_top   — 하단 fixed 바
   프로젝트마다 바꾸는 값 = 바 높이, 로고 자연사이즈, 입력칸 폭·높이, 배경색, 포인트색.
   ══════════════════════════════════════════════ */
.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) * 82);
  /* ★ 퀵바도 section 밖 — Pretendard 직접 지정 (빠지면 맑은고딕) */
  font-family: "Pretendard Variable";
  letter-spacing: -0.04vw;
  background-color: #000000;
  transition-duration: 0.3s;
  transition-property: opacity, visibility;
}

/* 메인비주얼(.main) 구간에서는 퀵바도 감춘다 — con01 부터 나타난다.
   body.main_top 은 js/header.js 가 건다(헤더와 같은 기준점).
   모바일 그리드 블록이 transform 을 !important 로 잠가둬서 이동이 아니라 opacity 로 숨긴다. */
body.main_top .contact_service {
  opacity: 0;
  visibility: hidden;
}

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

.quick_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 14.3045%;
  width: calc(var(--px) * 159);
  aspect-ratio: 159 / 37;
}

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

.footer_input {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  width: calc(var(--px) * 216);
  height: calc(var(--px) * 52);
  padding-left: calc(var(--px) * 20);
  font-family: "Suit";
  font-size: calc(var(--px) * 19.96);
  font-weight: 400;
  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: 400;
}

.quick_agree {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 1.8%;
  gap: 0.2vw;
}

.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: 0;
  background-color: #ffffff;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
}

/* 체크 표시 — 시안은 가운데 빨간 점 */
.quickAgree_checkbox:checked::after {
  position: absolute;
  content: "";
  width: calc(var(--px) * 14);
  height: calc(var(--px) * 14);
  background-color: var(--color-point);
  border-radius: 50%;
}

.quickAgree_fornt {
  font-family: "Suit";
  font-size: calc(var(--px) * 18.13);
  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: 0.6%;
  width: calc(var(--px) * 221);
  height: calc(var(--px) * 58);
  background-color: var(--color-point);
  border: 0;
  border-radius: calc(var(--px) * 10);
  cursor: pointer;
}

.quick_submit_div span {
  font-family: "Ria";
  font-size: calc(var(--px) * 25.77);
  /* Ria 는 ExtraBold 페이스가 normal 로 등록돼 있다 — 800 을 주면 가짜 볼드가 덧씌워진다 */
  font-weight: 400;
  color: #ffffff;
  white-space: nowrap;
}

/* 맨 위로 — 시안은 퀵바 우측 끝 사각 버튼 */
.quick_top {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.3%;
  width: calc(var(--px) * 59);
  height: calc(var(--px) * 58);
  background-color: var(--color-point);
  border-radius: calc(var(--px) * 10);
}

.quick_top_img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(var(--px) * 17);
  aspect-ratio: 17 / 19;
}
/* ---------------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.2vw;
  }
.footer_top {
  gap: 10.5vw;
  margin-bottom: 7vw;
  padding-top: 14vw;
  padding-bottom: 0vw;
}
.f_logo {
  width: 39vw;
}
  .footer_tt {
    gap: 1.2vw;
    flex-direction: column;
  }
  .footer_tt_wrap {
    gap: 1.2vw;
  }
  .footer_copy {
    margin-top: 6vw;
  }
  .footer_gn {
    margin-top: 1.4vw;
  }
  /* -----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;
  }

  /* 모바일은 .main 이 없어 con01 이 첫 화면 → main_top 숨김을 끈다(헤더와 같은 이유) */
  body.main_top .contact_service {
    opacity: 1;
    visibility: visible;
  }

  .quick_logo {
    grid-column: 1 / 2;
    grid-row: 1;
    justify-self: start;
    width: 28vw;
  }

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

  .quick_top {
    grid-column: 4 / 5;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
    width: 9vw;
    height: 7.6772vw;
    border-radius: 1.5249vw;
  }

  .quick_top_img {
    width: 3.4vw;
  }

  .quickAgree_checkbox {
    width: 4.1024vw;
    height: 4.1024vw;
  }

  .quickAgree_checkbox:checked::after {
    width: 2.7vw;
    height: 2.7vw;
  }

  .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-------------- */
}
