@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;
    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;
    transition: opacity 0.2s;
}

.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;
    line-height: 1.7;
}

.modal_close {
    border: 0;
    font-family: inherit;
    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;
}

/* 방침 본문 — 목차 · 조 제목 · 표 · 이전 처리방침 링크 (본문 컨테이너 <div class="policy_text">) */
.modal_body .policy_text {
    font-size: 0.9vw;
    line-height: 1.75;
    color: #333;
    text-align: left;
    word-break: keep-all;
    padding-right: 1vw;
}

.modal_body .policy_text strong {
    font-weight: 700;
    color: #000;
}

.modal_body .policy_text p { margin: 0; }
.modal_body .policy_text .pt_i { padding-left: 1.4em; }
.modal_body .policy_text ul.pt_i { margin: 0.3em 0 0.8em; padding-left: 2.6em; }
.modal_body .policy_text .pt_note { margin-top: 0.6em; color: #555; }
.modal_body .policy_text .pt_h {
    margin: 2.4em 0 0.5em;
    /* default.css 가 h1~h6 에 맑은 고딕/돋움을 강제 — 모달은 푸터 밖이라 직접 상속시킨다 */
    font-family: inherit;
    font-size: 1.08em;
    font-weight: 700;
    color: #000;
    scroll-margin-top: 0.4em;
}
.modal_body .policy_text .pt_sub { margin: 1.1em 0 0.3em; font-weight: 600; color: #000; }
.modal_body .policy_text .pt_h:focus,
.modal_body .policy_text .pt_h:focus-visible { outline: none; }

.policy_toc ul {
    margin: 1.4em 0 0;
    padding: 1em 1.3em;
    list-style: none;
    columns: 2;
    column-gap: 2em;
    background: #f6f6f6;
    border-radius: 0.7em;
}
.policy_toc li { break-inside: avoid; }
.policy_toc a {
    display: block;
    padding: 0.28em 0;
    color: #333;
    text-decoration: none;
}
.policy_toc a:hover { color: #be2c34; text-decoration: underline; }
.policy_toc a:focus-visible,
.policy_prev_link:focus-visible,
.policy_mail:focus-visible { outline: 2px solid #be2c34; outline-offset: 2px; }

.policy_table_wrap { margin: 0.6em 0 1em; }
.policy_table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border: 1px solid #d3d3d3;
    font-size: 0.96em;
}
.policy_table th,
.policy_table td {
    padding: 0.65em 0.9em;
    border: 1px solid #dedede;
    text-align: left;
    vertical-align: top;
    word-break: keep-all;
}
.policy_table thead th { background: #f1f3f6; font-weight: 700; color: #000; }
.policy_table tbody th { width: 21%; background: #fafafa; font-weight: 500; color: #222; white-space: nowrap; }
.policy_table .pt_break { word-break: break-all; }
.policy_table .pt_tag { display: inline-block; margin-right: 0.35em; font-weight: 700; color: #be2c34; }

.policy_prev_link {
    display: inline;
    padding: 0;
    font: inherit;
    font-weight: 700;
    color: #be2c34;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    background: none;
    border: 0;
    cursor: pointer;
}
.policy_mail { color: #1a56b0; }
.policy_text a[href^="tel:"] { color: inherit; text-decoration: none; }

/* 이전 처리방침 모달은 현재 방침 위에 겹쳐 뜬다 — 뒤 배경이 이중으로 어두워지지 않게 옅게 */
#privacy-policy-prev { background: rgba(0, 0, 0, 0.4); }

/* --------------- MO modal start-------------- */
@media screen and (max-width:599px) {
    .modal_body .policy_text {
        font-size: 3.3vw;
        padding-right: 2vw;
    }

    .policy_toc ul { columns: 1; padding: 3vw 4vw; border-radius: 2.4vw; }
    .policy_toc a { padding: 1.2vw 0; }
    .policy_table { font-size: 3vw; }
    .policy_table th,
    .policy_table td { padding: 2vw 2.4vw; }
    .policy_table tbody th { width: 24%; white-space: normal; }
    .modal_body .policy_text .pt_h { margin-top: 2em; }

    .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: flex-start;
  align-items: center;
  flex-direction: column;
  background-color: var(--color-surface);
  box-sizing: border-box;
  font-family: var(--font-noto-sans-kr);
}

.footer img {
  display: block;
  width: 100%;
}

.footer_brand {
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding-top: calc(var(--px) * 117);
  padding-bottom: calc(var(--px) * 29);
  border-bottom: 1px solid rgba(255, 255, 255, 0.078431);
}

.footer_logo {
  display: block;
  width: calc(var(--px) * 215);
  aspect-ratio: 215 / 23;
}

.footer_content {
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding-top: calc(var(--px) * 18);
  padding-bottom: calc(var(--px) * 45);
}

.footer_social {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(var(--px) * 193);
  column-gap: calc(100vw * 3 / 1905);
}

.footer_social_link {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: calc(var(--px) * 46);
  padding-block: calc(var(--px) * 23 / 2);
  color: #fff;
}

.footer_social_icon {
  display: block;
  background-color: currentColor;
  -webkit-mask: var(--icon-src) center / contain no-repeat;
  mask: var(--icon-src) center / contain no-repeat;
}

.footer_social_icon_youtube {
  width: calc(var(--px) * 21);
  aspect-ratio: 21 / 16;
}

.footer_social_icon_facebook {
  width: calc(var(--px) * 13);
  aspect-ratio: 13 / 24;
}

.footer_social_icon_instagram {
  width: calc(var(--px) * 22);
  aspect-ratio: 22 / 22;
}

.footer_social_icon_kakao {
  width: calc(var(--px) * 23);
  aspect-ratio: 23 / 24;
}

.footer_company {
  font-size: calc(var(--px) * 15);
  font-weight: 350;
  letter-spacing: calc(100vw * -0.45 / 1905);
  line-height: calc(var(--px) * 22);
  color: var(--color-muted);
}

.footer_company {
  margin-top: calc(100vw * 31.5 / 1905);
  text-align: center;
}

.footer_company_line {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: calc(var(--px) * 30);
}

.footer_company_item {
  white-space: nowrap;
}

.footer_privacy_wrap {
  margin-top: calc(100vw * 17 / 1905);
  z-index: 1;
}

.footer_privacy {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: calc(var(--px) * 8);
  font-size: calc(var(--px) * 16);
  font-weight: 500;
  letter-spacing: calc(100vw * -0.45 / 1905);
  line-height: calc(var(--px) * 22);
  color: #fff;
}

.footer_privacy_label {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-underline-offset: 0.2em;
}

.footer_privacy_arrow {
  display: inline-block;
  width: calc(var(--px) * 14);
}

.footer_privacy_arrow svg {
  display: block;
  width: 100%;
  height: auto;
}

.footer_privacy_menu {
  top: calc(100% + var(--px) * 12);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: calc(var(--px) * 288);
  box-sizing: border-box;
  padding: calc(var(--px) * 8);
  border: 1px solid rgba(156, 115, 80, 0.28);
  border-radius: calc(var(--px) * 12);
  background: var(--color-cream);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.footer_privacy_menu[hidden] {
  display: none;
}

.footer_privacy_entry + .footer_privacy_entry {
  border-top: 1px solid rgba(66, 47, 36, 0.12);
}

.footer_privacy_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: calc(var(--px) * 16);
  width: 100%;
  box-sizing: border-box;
  padding: calc(var(--px) * 14) calc(var(--px) * 16);
  border-radius: calc(var(--px) * 8);
  text-align: left;
  text-decoration: none;
  color: var(--color-brand-dark);
  background: transparent;
}

.footer_privacy_copy {
  align-items: flex-start;
  gap: calc(var(--px) * 4);
}

.footer_privacy_name {
  font-size: calc(var(--px) * 16);
  font-weight: 600;
  line-height: calc(var(--px) * 24);
}

.footer_privacy_desc {
  font-size: calc(var(--px) * 12);
  font-weight: 400;
  line-height: calc(var(--px) * 18);
  color: rgba(66, 47, 36, 0.72);
}

.footer_privacy_direction {
  width: calc(var(--px) * 18);
  height: auto;
  flex-shrink: 0;
  color: var(--color-brand);
}

.footer_privacy:focus-visible,
.footer_privacy_item:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: calc(var(--px) * 2);
}

.footer_family {
  justify-content: flex-start;
  width: calc(var(--px) * 187);
  margin-top: calc(100vw * 35.5 / 1905);
}

.footer_family_toggle {
  width: 100%;
  box-sizing: border-box;
  padding-block: calc(var(--px) * 12);
  font-size: calc(var(--px) * 16);
  font-weight: 500;
  letter-spacing: calc(100vw * -0.8 / 1905);
  line-height: calc(var(--px) * 26);
  background: var(--color-brand);
  color: #fff;
}

.footer_family_dot {
  position: absolute;
  left: calc(var(--px) * 8);
  top: calc(var(--px) * 7);
  width: calc(var(--px) * 6);
  height: calc(var(--px) * 6);
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
}

.footer_family_label {
  display: block;
  height: calc(var(--px) * 26);
  overflow: hidden;
}

.footer_family_text,
.footer_family_clone {
  display: block;
}

.footer_family_menu {
  top: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  background: var(--color-brand);
}

.footer_family_menu[hidden] {
  display: none;
}

.footer_family_link {
  display: block;
  padding-block: calc(var(--px) * 12);
  font-size: calc(var(--px) * 15);
  font-weight: 500;
  letter-spacing: calc(100vw * -0.75 / 1905);
  line-height: calc(var(--px) * 26);
  text-align: center;
  color: #fff;
  background: rgba(66, 47, 36, 0);
}

.footer_bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  row-gap: calc(var(--px) * 10);
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.078431);
  padding: calc(var(--px) * 41) calc(var(--px) * 58) calc(var(--px) * 116) calc(var(--px) * 53);
}

.footer_copyright {
  width: calc(var(--px) * 413);
  aspect-ratio: 413 / 15;
}

.footer_credit {
  width: calc(var(--px) * 133);
  aspect-ratio: 133 / 16;
}

.footer_credit_link {
  display: block;
}

/* ---------------footer 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----- */
  /* 순서(모바일_푸터.md): 로고 → 구분선 → 개인정보처리방침 → 회사정보 → SNS → 패밀리 → 카피 → Created by.
     로고·카피는 각자 래퍼(.footer_brand / .footer_bottom)라 순서 그대로, .footer_content 안만 order 로 바꾼다. */
  /* 하단 15vw = 모바일 퀵바 줄 자리(바닥 4vw + 높이 11vw — css/header.css .quick_nav·.quick_top) */
  .footer {
    padding-bottom: 15vw;
  }
  .footer_brand {
    padding: 16vw 6vw 8vw;
  }
  .footer_logo {
    width: 44vw;
  }
  .footer_content {
    padding: 6vw 6vw 10vw;
  }
  .footer_privacy_wrap {
    order: 1;
    margin-top: 0;
  }
  .footer_company {
    order: 2;
    width: 100%;
    margin-top: 4vw;
    line-height: 1.7;
  }
  .footer_social {
    order: 3;
    width: 50vw;
    margin-top: 6vw;
    column-gap: 2vw;
  }
  .footer_family {
    order: 4;
    width: 48vw;
    margin-top: 6vw;
  }
  .footer_social_link {
    width: 11vw;
    min-height: 11vw;
    padding: 0;
  }
  /* 아이콘마다 PC 폭(21·13·22·23 / 링크 46)을 그대로 비례 — 하나로 묶으면 세로형 페이스북만 커진다 */
  .footer_social_icon_youtube {
    width: calc(11vw * 21 / 46);
  }
  .footer_social_icon_facebook {
    width: calc(11vw * 13 / 46);
  }
  .footer_social_icon_instagram {
    width: calc(11vw * 22 / 46);
  }
  .footer_social_icon_kakao {
    width: calc(11vw * 23 / 46);
  }
  .footer_company {
    font-size: 3.3vw;
    letter-spacing: calc(3.3vw * -0.03);
  }
  .footer_privacy {
    font-size: 3.6vw;
    letter-spacing: calc(3.3vw * -0.03);
    line-height: 1.5;
    gap: 2vw;
  }
  .footer_privacy_menu {
    top: calc(100% + 3vw);
    width: 74vw;
    padding: 2vw;
    border-radius: 3vw;
  }
  .footer_privacy_item {
    padding: 3.6vw 4vw;
    gap: 4vw;
    border-radius: 2vw;
  }
  .footer_privacy_copy {
    gap: 1vw;
  }
  .footer_privacy_name {
    font-size: 3.8vw;
    line-height: 1.5;
  }
  .footer_privacy_desc {
    font-size: 3.3vw;
    line-height: 1.45;
  }
  .footer_privacy_arrow {
    width: 3.6vw;
  }
  .footer_privacy_direction {
    width: 4.6vw;
  }
  .footer_privacy:focus-visible,
  .footer_privacy_item:focus-visible {
    outline-offset: 0.5vw;
  }
  /* 회사정보 한 줄에 한 항목. 긴 주소는 단어 단위로 균형 있게 두 줄 */
  .footer_company_line {
    flex-direction: column;
    gap: 0;
  }
  .footer_company_item {
    white-space: normal;
    text-wrap: balance;
  }
  .footer_family_toggle,
  .footer_family_link {
    font-size: 3.6vw;
    letter-spacing: calc(3.6vw * -0.05);
    line-height: 1.5;
  }
  .footer_family_toggle {
    padding: 3vw 2vw;
  }
  /* 모바일 버튼 왼쪽 점(o)은 뺀다(2026-09-30 유저 — con12 탭만 유지). PC 는 좌상단 점 그대로 */
  .footer_family_dot {
    display: none;
  }

  .footer_family_label {
    height: 5.4vw;
  }
  .footer_family_link {
    padding: 3vw 0;
  }
  /* 구분선은 로고와 정책 링크 사이 하나만(모바일_푸터.md) — 카피 위 선은 모바일에서 뺀다 */
  .footer_bottom {
    flex-direction: column;
    align-items: center;
    border-top: 0;
    padding: 0 6vw 10vw;
    row-gap: 3vw;
  }
  /* 카피·크레딧 글자 높이 ≈ 2.9vw(모바일_푸터.md) = 이미지 높이 15px / 16px 기준 */
  .footer_copyright {
    width: 80vw;
  }
  .footer_credit {
    width: 24vw;
  }
  /* -----footer custom end----- */
}
