@charset "UTF-8";
/* Pretendard 풀버전 @import 제거 — header/index.html 의 dynamic-subset <link> 로 일원화 */
#bo_v > header {
  display: none;
}

@keyframes ddm_m {
  0% {
    transform: scale(1);
  }
  50% {
    transform: matrix(1.05, 0.01, 0.01, 1.05, 0, -15);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes ddm_m_reverse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: matrix(0.8, 0.01, 0.01, 0.8, 0, -5);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes blk2 {
  0% {
    opacity: 0;
  }
  49% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  99% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.pc-inline {
  display: inline;
}

.tablet {
  display: none;
}

.mobile {
  display: none;
}

.pc {
  display: flex;
}

.pc-mobile {
  display: flex;
}

.mobile-pc {
  display: none;
}

/* --------------- PC modal start-------------- */
.modal_open_btn {
  cursor: pointer;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  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: var(--headM);
  font-weight: 600;
  margin-bottom: 2vw;

  width: 100%;
}

.modal_body {
  width: 100%;
  height: 60vh;
  overflow-y: scroll;
  font-size: var(--bodyS);
  line-height: 1.6;
  text-align: left;
}

.modal_body .policy_text {
  word-break: keep-all;
}

.modal_body .policy_text p {
  margin: 0;
}

.modal_body .policy_text p + p {
  margin-top: 1.6rem;
}

.modal_close {
  width: 100%;
  height: 2vw;
  background: #000;
  color: #fff;
  font-size: var(--bodyM);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1vw;
  cursor: pointer;
  margin-top: 2vw;
  font-weight: 500;
}

/* ---------------footer start-------------- */
.footer {
  background-color: var(--c-dark);
  padding: 10.8rem 0 10.51rem;
}

.footer__privacy {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.footer__company {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2.4rem;
  margin-top: 2.9rem;
}

.footer__company-item--full {
  width: 100%;
}

.footer__copyright {
  margin-top: 2.91rem;
}

/* ---------------footer end-------------- */
/* ---------------퀵바 (하단 고정 창업문의) start-------------- */
.quick {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1111;
  width: 100%;
  height: 8.3rem;
  box-sizing: border-box;
  border-top: 1px solid #000000;
  background-color: var(--c-point);
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 1.3rem;
  padding-right: 24.05rem;
}

.quick__deco {
  position: absolute;
  left: 24.05rem;
  top: -5.4rem;
}

/* 게시판(/bbs/*) 등 script.js(ImgResize) 미로드 페이지 대비 — 값 = naturalWidth/10 rem.
   ImgResize 가 도는 페이지에선 동일값 인라인이 덮으므로 렌더 차이 없음. */
.quick__deco img {
  width: 24.8rem;
}

.quick__inner {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.quick__fields {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.quick__input {
  width: 21.4rem;
  height: 3.6rem;
  border: none;
  outline: none;
  background-color: var(--c-white);
  padding: 0 1.5rem;
  text-align: center;
  box-sizing: border-box;
}

.quick__input::-moz-placeholder {
  color: #000000;
}

.quick__input::placeholder {
  color: #000000;
}

.quick__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  margin-left: 1.3rem;
}

.quick__agree {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  height: 1.5rem;
}

.quick__agree-box {
  position: relative;
  width: 1.3rem;
  height: 1.3rem;
  box-sizing: border-box;
  background-color: transparent;
  border: 1px solid var(--c-white);
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.quick__agree-box::after {
  content: '';
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  right: 0.15rem;
  bottom: 0.15rem;
  background: var(--c-white);
  box-sizing: border-box;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.quick__agree-box:checked {
  border-color: var(--c-white);
  background-color: transparent;
}

.quick__agree-box:checked::after {
  opacity: 1;
  transform: scale(1);
}

.quick__agree-label {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}

.quick__submit {
  width: 22.6rem;
  height: 3.7rem;
  border: none;
  border-radius: 0.4rem;
  background-color: #000000;
  cursor: pointer;
}

.quick__call {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: 1.6rem;
  /* margin-bottom: 0.6rem; */
}

.quick__call-icon {
  width: 2.4rem;
}

/* 호버 시 전화기 아이콘 흔들림 (keyframes 정본 = css/library.css) */
.quick__call:hover .quick__call-icon {
  animation: shakeTwice 2s ease-in-out infinite;
  transform-origin: center;
}

.quick__totop {
  position: fixed;
  right: 5.15rem;
  bottom: 9.7rem;
  z-index: 1110;
  width: 9rem;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.quick__totop img {
  width: 100%;
}

/* ---------------퀵바 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: 5rem;
  height: 5rem;
  border: 0.5rem solid #f3f3f3; /* 회색 테두리 */
  border-top-color: var(--primary); /* 브랜드 메인색상 */
  border-radius: 50%;
  box-sizing: border-box;
  animation: spin 1s linear infinite; /* 회전 애니메이션 */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* ============================================================
 * 모바일 (max-width:599) — footer/contact/modal + display 토글
 * ★ 레거시 클래스 규칙 제거(현 BEM 마크업 미매칭: quick_logo/contact_mid/form-button2/#contact-form/ddm_logo 등)
 *   + 1023 tablet 레거시 블록 제거. 플로팅 SNS 레일은 2026-07-24 전면 제거(시안에 SNS 0개).
 * ============================================================ */
@media screen and (max-width: 599px) {
  /* display 토글 (header 등 공용) */
  .pc-mobile { display: none; }
  .pc-inline { display: none !important; }
  .mobile-pc { display: flex; }

  /* ----- 개인정보 모달 ----- */
  .modal_iner {
    width: 93vw;
    border-radius: 4vw;
    padding: 6vw;
    box-sizing: border-box;
  }
  .modal_hd { font-size: 5vw; margin-bottom: 6vw; }
  .modal_body { font-size: 3.3vw; }
  .modal_close { height: 8vw; font-size: 3.6vw; border-radius: 2.8vw; margin-top: 6vw; }

  /* ----- footer: 본문 중앙 스택 + 하단 고정 퀵바 회피 ----- */
  .footer {
    padding: 12vw 6vw 31vw;
    box-sizing: border-box;
  }

  .footer__inner {
    width: 100%;
    text-align: center;
  }

  .footer__privacy {
    line-height: 1.5;
  }

  .footer__company {
    max-width: 88vw;
    margin-top: 6vw;
    gap: 1.5vw 3vw;
    line-height: 1.75;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer__copyright {
    max-width: 88vw;
    margin-top: 6vw;
    line-height: 1.65;
  }

  /* ----- quick: 1행 전화/동의 + 2행 입력 3개/문의 버튼 ----- */
  .quick {
    left: 0;
    right: 0;
    width: auto;
    height: auto;
    padding: 2vw 3vw 2.5vw;
    box-sizing: border-box;
    align-items: stretch;
  }

  .quick__deco {
    display: none;
  }

  .quick__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 1.5vw 1vw;
    width: 100%;
    align-items: center;
  }

  .quick__fields,
  .quick__action {
    display: contents;
  }

  .quick__call {
    grid-row: 1;
    grid-column: 1 / 3;
    justify-self: start;
    gap: 1vw;
    margin: 0;
    white-space: nowrap;
  }

  .quick__call-icon {
    width: 4.5vw !important;
    height: auto !important;
  }

  .quick .quick__call-tel {
    font-size: var(--subheadM);
  }

  .quick__agree {
    grid-row: 1;
    grid-column: 3 / 5;
    justify-self: end;
    gap: 1vw;
    height: auto;
  }

  .quick__agree-box {
    width: 4vw;
    height: 4vw;
  }

  .quick__agree-box:checked::after {
    top: 0.5vw;
    left: 0.5vw;
    right: 0.5vw;
    bottom: 0.5vw;
  }

  .quick .quick__agree-label {
    font-size: var(--bodyS);
    white-space: nowrap;
  }

  .quick .quick__input,
  .quick .quick__submit {
    grid-row: 2;
    width: 100%;
    min-width: 0;
    height: 10.5vw;
    margin: 0;
    padding: 0 0.8vw;
    box-sizing: border-box;
    font-size: var(--bodyS);
    white-space: nowrap;
  }

  .quick__input[name="name"] {
    grid-column: 1;
  }

  .quick__input[name="hp"] {
    grid-column: 2;
  }

  .quick__input[name="exp"] {
    grid-column: 3;
  }

  .quick .quick__submit {
    grid-column: 4;
    border-radius: 0.8vw;
  }

  .quick__totop {
    right: 4vw;
    bottom: 24vw;
    width: 14vw;
  }

  .quick__totop img {
    width: 100% !important;
    height: auto !important;
  }
}

/* FONT:AUTO footer */
/* spec.json 파생 (tools/spec-font-to-css.js · mode=robust unit=rem) — 직접 수정 금지 */
.footer__privacy {
    font-family: var(--font-pretendard);
    font-size: var(--bodyL);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 1.89;
    color: #ffffff;
}

.footer__company {
    font-family: var(--font-pretendard);
    font-size: var(--bodyM);
    font-weight: 200;
    letter-spacing: -0.03em;
    line-height: 1.56;
    color: #ffffff;
}

.footer__copyright {
    font-family: var(--font-pretendard);
    font-size: var(--bodyM);
    font-weight: 200;
    letter-spacing: 0em;
    line-height: 1.56;
    color: #ffffff;
}
/* /FONT:AUTO footer */

/* FONT:AUTO quick */
/* spec.json 파생 (tools/spec-font-to-css.js · mode=robust unit=rem) — 직접 수정 금지 */
.quick__input {
    font-family: var(--font-pretendard);
    font-size: var(--bodyL);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1.3;
    color: #000000;
    border-radius: 0.4rem;
}

.quick__agree-label {
    font-family: var(--font-pretendard);
    font-size: var(--subheadS);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.3;
    color: #ffffff;
}

.quick__submit {
    font-family: var(--font-pretendard);
    font-size: var(--bodyL);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.3;
    color: #ffffff;
}

.quick__call-tel {
    font-family: var(--font-gangwon);
    font-size: var(--headL);
    font-weight: 800;
    letter-spacing: 0em;
    line-height: 1.3;
    color: #ffffff;
    position: relative;
    top: 0.5rem;
}
/* /FONT:AUTO quick */
