/*


modify


 */

/* ==========================================================================
   페이지 셸 (헤더 · 상단바 · 푸터 · 서브페이지)
   --------------------------------------------------------------------------
   먹색 다크 셸입니다.
   메인 페이지 본문(#content:not(.sub))만 먹색으로 덮고,
   서브(게시판) 페이지는 layout.css 의 밝은 기본값을 그대로 씁니다.
   섹션 내부는 각 main_html/*.html 의 <style> 이 담당합니다.
   ========================================================================== */
:root {
  /* ── 먹색 다크 팔레트 (메인 섹션 공용) ───────────────────
     각 섹션이 이 이름으로 색을 받아가므로, 여기 일곱 줄만 바꾸면
     메인 전체의 밝기와 온도가 한 번에 바뀝니다. */
  --ink: #0e0f10; /* 페이지 바탕 (먹색) */
  --ink-2: #141517; /* 한 단계 밝은 면 (섹션 교차 배경) */
  --ink-panel: #17191b; /* 카드 · 폼 · 드롭다운 판 */
  --ink-line: rgba(255, 255, 255, 0.12); /* 실선 */
  --ink-text: #efece6; /* 본문 밝은 글자 */
  --ink-text-sub: rgba(255, 255, 255, 0.62); /* 보조 글자 */
  --ink-mute: rgba(255, 255, 255, 0.4); /* 라벨 · 날짜 */

  /* ── 사진 위에 얹는 글자 ─────────────────────────────────
     히어로 · CTA 배너처럼 바탕이 사진인 자리에 쓰는 색입니다.
     페이지 톤을 바꿔도 사진 위 글자는 흰색이어야 하므로 따로 둡니다. */
  --on-photo: #ffffff;
  --on-photo-sub: rgba(255, 255, 255, 0.78);
  --on-photo-line: rgba(255, 255, 255, 0.35);

  /* 브랜드 포인트 : 주홍 (버튼 · 강조 · 밑줄) */
  --brand: #c94f3d;
  --brand-dark: #a83a2b;

  /* 차트 색 (수익 구조 그래프) — 색약 판별 검증을 통과한 조합. 순서 유지 */
  --chart-1: #c94f3d;
  --chart-2: #8b7cf0;
  --chart-3: #b3861e;
  --chart-4: #177a4b;

  /* 제목용 굵은 고딕 : G마켓 산스 (15번 테마와 같은 서체)
     이름이 --font-serif 인 것은 예전에 명조를 쓰던 자리이기 때문입니다.
     테마 전반이 이 이름으로 부르고 있어 이름만 그대로 둡니다.
     @font-face 는 lib/css/fonts.css 에 있습니다. */
  --font-serif: "GmarketSans", "Pretendard Variable", Pretendard,
    "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

/* ==========================================================================
   스크롤바 : 먹색 홈 + 반투명 글라스 알약 (전 페이지 공통)
   --------------------------------------------------------------------------
   썸 테두리를 트랙과 같은 색으로 둘러 알약이 홈 안에 떠 보이게 한다.
   (본문 textarea 등 내부 스크롤에도 적용)
   ========================================================================== */
html {
  /* 파이어폭스 */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) #0e0f10;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: #0e0f10;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border: 3px solid #0e0f10; /* 트랙과 같은 색 → 썸이 홈 안에 떠 보인다 */
  border-radius: 999px;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
  background-clip: padding-box;
}

::-webkit-scrollbar-corner {
  background: #0e0f10;
}

/* ── 메인 페이지 본문만 먹색으로 ────────────────────────────
   서브(게시판) 페이지는 <main id="content" class="sub"> 라서 제외된다 */
#content:not(.sub) {
  background: var(--ink);
  color: var(--ink-text);
}

/* 메인 섹션 머리말 : 크고 굵은 고딕 헤드라인
   (G마켓 산스 Bold 700) */
#content:not(.sub) .sec_head h2,
#content:not(.sub) .title h2 {
  font-family: var(--font-serif);
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

#content:not(.sub) .sec_head .desc {
  color: var(--ink-text-sub);
}

@media (max-width: 1024px) {
  #content:not(.sub) .sec_head h2,
  #content:not(.sub) .title h2 {
    font-size: 5.2rem;
  }
}

@media (max-width: 768px) {
  #content:not(.sub) .sec_head h2,
  #content:not(.sub) .title h2 {
    font-size: 4.2rem;
  }
}

/* ── 섹션 → 서브페이지로 넘어가는 링크 ──────────────────────
   멀티페이지 구성이라 메인의 각 섹션은 '요약'이고, 자세한 내용은
   서브페이지에 있습니다. 그 사이를 잇는 것이 이 링크입니다.
   <a href="…" class="sec_more">자세히 보기</a>
   글자 + 밑줄 + 화살표 한 겹으로만 (버튼 모양을 쓰지 않는다) */
.sec_more {
  display: inline-flex;
  align-items: center;
  gap: 1rem;

  margin-top: 3.2rem;
  padding-bottom: 0.6rem;

  border-bottom: 1px solid currentColor;

  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-color);
  transition: color 0.25s, gap 0.25s;
}

/* 화살표는 CSS 로 그린다 (아이콘 라이브러리에 기대지 않는다) */
.sec_more::after {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.sec_more:hover {
  gap: 1.6rem;
  color: var(--brand);
}

/* 먹색 섹션 위에서는 밝은 글자로 */
#content:not(.sub) .sec_more {
  color: var(--ink-text);
}

#content:not(.sub) .sec_more:hover {
  color: var(--brand);
}

/* 가운데 정렬 머리말(.sec_head.center) 안에서는 링크도 저절로 가운데에 놓인다
   — .sec_more 가 inline-flex 라 부모의 text-align:center 를 그대로 따른다.
   섹션 레이아웃을 건드리지 않으려고 flex 컨테이너로 만들지 않았다. */

@media (max-width: 768px) {
  .sec_more {
    margin-top: 2.4rem;
    font-size: 1.5rem;
  }
}

/* 섹션 교차 배경 : 먹색 섹션 사이에 한 단계 밝은 면을 끼워 리듬을 만든다.
   <section class="default bg2"> 로 쓴다 (.bg 는 layout.css 의 --secondary-color) */
#content:not(.sub) .default.bg2 {
  background: var(--ink-2);
}

/* 제목 끝의 주홍 마침점 — <i class="dot"></i>
   메인과 서브가 같이 쓴다. */
.dot {
  display: inline-block;
  width: 0.18em;
  height: 0.18em;
  margin-left: 0.14em;
  border-radius: 50%;
  background: var(--brand);
  vertical-align: 0.06em;
}


/* ==========================================================================
   상단 바
   ========================================================================== */
#top_bar {
  background: var(--white-color);
  color: var(--text-color-sub);
  border-top: 0;
  border-bottom: 1px solid var(--line-color);
}

/* ==========================================================================
   헤더 : 두 줄
   --------------------------------------------------------------------------
   위 줄(.header_top)  = 로고(좌) + 대표 전화(우, 주홍 원 아이콘 + 큰 숫자)
   아래 줄(.header_bottom) = 전체 메뉴 (왼쪽 정렬)
   메인(index)에서는 head.php 가 .overlay 를 붙여 히어로 위에 투명하게
   겹치고, 스크롤하면 custom.js 가 .scr 을 붙여 먹색 반투명 판이 됩니다.
   서브페이지에는 .overlay 가 없으므로 밝은 흐름형 헤더 그대로입니다.
   ========================================================================== */
#header {
  background: var(--white-color);
  color: var(--text-color);
  border-bottom: 1px solid var(--line-color);
}

#header .header_bottom,
#header .gnb_container,
#header .gnb {
  color: var(--text-color);
}

/* 로고 : logo.svg 원본 비율(180×56) 그대로 */
#header .hd_wrap h1 a {
  width: 180px;
  height: 56px;
}

/* ── 위 줄 : 로고(좌) + 대표 전화(우) ─────────────────────── */
/* 로고 줄과 메뉴 줄을 가르는 실선.
   메인(.overlay)에는 아래쪽에 흰 실선 규칙이 따로 있고,
   여기 규칙은 서브페이지(흰 헤더)용입니다. */
#header .header_top {
  border-bottom: 1px solid var(--line-color);
}

#header .header_top .hd_wrap {
  display: flex;
  align-items: center;
  height: 11rem;
}

#header .header_top .hd_tel {
  margin-left: auto;
}

/* 전화 앞 원형 아이콘 : 주칠 주홍 */
#header .hd_wrap .hd_tel .ico {
  display: flex;
  background: var(--brand);
}

/* ── 아래 줄 : 메뉴 (본문 열과 같은 폭으로 가운데 정렬) ────
   style.css 의 #header .gnb_container { margin-left:auto } 가
   .w_inner 의 margin:0 auto 를 깨뜨리므로 양쪽 auto 로 되돌린다 */
#header .header_bottom .gnb_container {
  display: flex;
  flex: 0 0 auto;
  margin: 0 auto;
}

#header .header_bottom .gnb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 0;
  margin-right: auto;
}

#header .gnb_container .gnb > ul {
  gap: 4.4rem;
}

#header .header_bottom .gnb > ul > li > a {
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 8rem;
  letter-spacing: -0.01em;
}

/* 현재 보고 있는 메뉴(현재 카테고리) : 주홍색으로 */
#header .gnb_container .gnb > ul > li > a.active,
#header .gnb_container .gnb > ul > li.on > a {
  color: var(--brand);
}

/* 메뉴 안의 대표 전화는 PC 에서 숨긴다 (위 줄에 이미 있다) */
#header .gnb .adm {
  display: none;
}

/* ==========================================================================
   드롭다운(2단) 메뉴
   --------------------------------------------------------------------------
   기본 뼈대(위치 · 여닫기)는 style.css 가 갖고 있고,
   여기서는 두 줄 헤더에 맞춘 위치 보정과 판 색을 정의한다.
   ========================================================================== */
#header .header_bottom .gnb > ul > li {
  position: relative;
}

/* 판 : 메뉴 글자 아래에 왼쪽 맞춤으로 떨군다 (가운데 정렬은 항목 폭이
   제각각이라 줄이 흔들려 보인다) */
#header .header_bottom .gnb > ul > li > ul {
  top: 100%;
  left: -1.6rem;

  padding: 0.8rem 0;

  background: var(--white-color);
  border: 1px solid var(--line-color);
  border-top: 2px solid var(--brand);
  border-radius: 0;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.08);

  transform: translate(0, 8px);
}

#header .header_bottom .gnb > ul > li:hover > ul,
#header .header_bottom .gnb > ul > li:focus-within > ul {
  transform: translate(0, 0);
}

#header .header_bottom .gnb > ul > li > ul li a {
  min-width: 21rem;
  padding: 0 3.2rem 0 2rem;

  font-size: 1.6rem;
  font-weight: 400;
  line-height: 4.8rem;
  color: var(--text-color-sub);

  transition: color 0.2s, background 0.2s;
}

#header .header_bottom .gnb > ul > li > ul li a:hover,
#header .header_bottom .gnb > ul > li > ul li a:focus-visible {
  background: transparent;
  color: var(--brand);
}

/* 항목 사이 실선은 없애고 여백으로만 끊는다 (각진 미니멀 톤) */
#header .header_bottom .gnb > ul > li > ul li ~ li a {
  border-top: 0;
}

/* 현재 보고 있는 하위 페이지 */
#header .header_bottom .gnb > ul > li > ul li.on > a {
  color: var(--brand);
  font-weight: 500;
}

/* ── 먹색(겹침·스크롤) 헤더 위의 드롭다운 판 ─────────────────── */
#header.overlay .header_bottom .gnb > ul > li > ul {
  background: var(--ink-panel);
  border-color: var(--ink-line);
  border-top-color: var(--brand);
  box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.45);
}

#header.overlay .header_bottom .gnb > ul > li > ul li a {
  color: var(--ink-text-sub);
}

#header.overlay .header_bottom .gnb > ul > li > ul li a:hover,
#header.overlay .header_bottom .gnb > ul > li > ul li a:focus-visible {
  color: var(--ink-text);
  background: rgba(255, 255, 255, 0.05);
}

#header.overlay .header_bottom .gnb > ul > li > ul li.on > a {
  color: var(--brand);
}

/* 1단 메뉴는 밑줄 없이 글자색만으로 알립니다.
   (올렸을 때는 드롭다운이 펼쳐지는 것으로 충분하고,
    현재 카테고리는 위쪽 .on 규칙이 주홍으로 표시합니다) */

/* ── 겹침 상태 (스크롤 전) ──────────────────────────────────── */
#top_bar.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  border-top-color: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.16);
  transition: transform 0.4s, opacity 0.3s;
}

#top_bar.overlay .con_wrap > * {
  border-right-color: rgba(255, 255, 255, 0.2);
}

#top_bar.overlay .con_wrap .top_desc {
  color: rgba(255, 255, 255, 0.6);
}

#top_bar.overlay .con_wrap .login .icon {
  stroke: var(--white-color);
}

/* 사진 위에서는 hover 여도 흰색을 유지해야 보인다 (기본 hover 색은 검정) */
#top_bar.overlay .con_wrap .login .login_btn:hover .icon {
  stroke: var(--white-color);
}

#header.overlay {
  position: fixed;
  /* 상단 바(3.2rem + 경계선) 아래에 붙는다 */
  top: 3.3rem;
  left: 0;
  right: 0;
  z-index: 999;

  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white-color);
  transition: top 0.4s, background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

/* 위 줄과 아래 줄 사이 얇은 실선 */
#header.overlay .header_top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

/* 어두운 원본 로고를 흰색으로 반전 */
#header.overlay .hd_wrap h1 a {
  filter: brightness(0) invert(1);
}

#header.overlay .gnb > ul > li > a,
#header.overlay .hd_tel a,
#header.overlay .adm a {
  color: var(--white-color);
}

/* 메인에는 '현재 카테고리' 라는 것이 없습니다.
   그런데 _access.page.php 가 회원 · FAQ 페이지용으로 잡아 두는 카테고리 번호가
   남아 한 메뉴(가맹 상담)만 주홍으로 켜지는 일이 있습니다.
   위의 겹침 헤더 규칙보다 .on 규칙의 우선순위가 높아서 생기는 일이라,
   여기서 한 단계 더 올려 모두 같은 색으로 둡니다.
   (.overlay 는 head.php 가 메인에만 붙이므로 서브페이지 표시는 그대로입니다) */
#header.overlay .gnb_container .gnb > ul > li > a,
#header.overlay .gnb_container .gnb > ul > li > a.active,
#header.overlay .gnb_container .gnb > ul > li.on > a {
  color: var(--white-color);
}

/* ── 스크롤 상태 : 흰 배경 + 검정 글자 ──────────────────────── */
/* 상단 바는 위로 접어 넣는다 */
#top_bar.overlay.scr_up {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* 다크 테마 : 스크롤하면 뒤가 비치는 먹색 유리판 (본문이 먹색이므로 흰 헤더는 튄다)
   ※ 판은 헤더 본체가 아니라 가상 요소(::before)가 그린다 —
     backdrop-filter 같은 filter 류를 헤더 본체에 걸면 fixed 자손(모바일
     메뉴 오버레이)의 기준이 헤더로 묶여 메뉴가 잘려 열린다.
     가상 요소는 자식이 없으므로 그 덫에 걸리지 않는다.
   진하기를 조절하려면 아래 background 의 마지막 숫자(투명도)만 고치세요.
     0 에 가까울수록 뒤가 많이 비치고, 1 에 가까울수록 먹색 판이 됩니다. */
#header.overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background: rgba(14, 15, 16, 0.38);
  -webkit-backdrop-filter: blur(1.6rem) saturate(140%);
  backdrop-filter: blur(1.6rem) saturate(140%);

  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

#header.overlay.scr::before {
  opacity: 1;
}

/* 흐림 효과를 못 쓰는 브라우저에서는 글자가 묻히지 않게 조금 더 진하게 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #header.overlay::before {
    background: rgba(14, 15, 16, 0.72);
  }
}

#header.overlay.scr {
  top: 0;
  background: transparent;
  border-bottom: 1px solid var(--ink-line);
  color: var(--ink-text);
}

#header.overlay.scr .header_top {
  border-bottom-color: var(--ink-line);
}

/* 로고는 계속 흰색(반전) 유지 */
#header.overlay.scr .hd_wrap h1 a {
  filter: brightness(0) invert(1);
}

#header.overlay.scr .gnb > ul > li > a,
#header.overlay.scr .hd_tel a,
#header.overlay.scr .adm a {
  color: var(--ink-text);
}

/* 활성 메뉴는 스크롤 뒤에도 주홍 유지 */
#header.overlay.scr .gnb > ul > li > a.active {
  color: var(--brand);
}

/* 스크롤 후에는 두 줄이 화면을 많이 차지하므로 살짝 눌러 준다 */
#header.overlay.scr .header_top .hd_wrap {
  height: 7.2rem;
}

#header.overlay.scr .header_bottom .gnb > ul > li > a {
  line-height: 5.6rem;
}

/* ── 모바일 ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* 상단 바는 반응형에서 통째로 숨기므로 헤더를 화면 맨 위로 올린다 */
  #header.overlay {
    top: 0;
  }

  /* 모바일은 위 줄(로고)만 남긴다 (메뉴는 오버레이 판으로) */
  #header .header_top .hd_wrap,
  #header.overlay .header_top .hd_wrap,
  #header.overlay.scr .header_top .hd_wrap {
    height: 8rem;
  }

  #header .header_top {
    border-bottom: 0 !important;
  }

  /* 모바일 메뉴판 항목 높이 고정 : 스크롤(.scr) 시 PC용 7.2rem 규칙이
     특이도로 이겨 메뉴 높이가 널뛰는 것을 막는다 */
  #header.overlay.scr .gnb > ul > li > a {
    line-height: 5.6rem;
  }

  #header .hd_wrap h1 a {
    width: 128px;
    height: 40px;
  }

  /* 메뉴판(흰색)이 열리면 로고가 그 위에 뜬다 — 반전을 되돌린다 */
  #header.overlay .hd_wrap h1.on a {
    filter: none;
  }

  /* ── 모바일 메뉴판 여닫기 ──────────────────────────────────
     데스크톱의 #header .header_bottom .gnb_container 규칙(특이도 1-2-0)이
     모바일 규칙을 이기지 않도록, 같은 특이도 이상으로 명시한다.
     w_inner 의 max-width·padding 도 오버레이에서는 해제한다 */
  #header .header_bottom .gnb_container,
  #header .gnb_container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;

    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;

    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.35s, visibility 0.35s;
  }

  #header .header_bottom .gnb_container.on,
  #header .gnb_container.on {
    left: 0;
    transform: translateX(0);
    visibility: visible;
  }

  /* 흰 메뉴판 : 세로 스택으로 (데스크톱 가로 정렬 규칙을 되돌린다) */
  #header .header_bottom .gnb {
    align-items: stretch;
    justify-content: flex-start;
    margin: 0;
  }

  /* 흰 메뉴판 안에서는 항상 검정 글자 */
  #header.overlay .gnb_container.on .gnb > ul > li > a {
    color: var(--text-color);
  }

  /* 대표 전화 : 헤더 줄에서는 감추고 메뉴판 안에서만 보여 준다 */
  #header .hd_wrap > .hd_tel {
    display: none;
  }

  #header .gnb .adm {
    display: flex;
  }

  #header .gnb .adm .hd_tel a {
    color: var(--text-color);
  }

  #header .gnb {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }

  #header .gnb_container .gnb > ul {
    gap: 0;
  }

  #header .gnb_container .gnb > ul > li > a {
    font-size: 2.1rem;
    line-height: 5.6rem;
    padding: 0;
  }

  #header .gnb_container .gnb > ul > li > a.active {
    box-shadow: none;
    font-weight: 700;
  }

  /* ── 모바일 드롭다운 : 아코디언 ────────────────────────────
     PC 의 떠 있는 판을 목록 안으로 접어 넣는다. 여닫기는 custom.js 가
     slideDown/slideUp 으로 처리하므로 여기서는 모양만 잡는다. */
  #header .header_bottom .gnb > ul > li > ul,
  #header.overlay .header_bottom .gnb > ul > li > ul {
    position: static;
    left: auto;
    top: auto;

    padding: 0.8rem 0;

    background: var(--lightgray-color);
    border: 0;
    border-bottom: 1px solid var(--line-color);
    box-shadow: none;

    transform: none;
    opacity: 1;
    visibility: visible;

    display: none; /* custom.js 가 연다 */
  }

  #header .header_bottom .gnb > ul > li:hover > ul,
  #header .header_bottom .gnb > ul > li:focus-within > ul {
    transform: none;
  }

  #header .header_bottom .gnb > ul > li > ul li a,
  #header.overlay .header_bottom .gnb > ul > li > ul li a {
    min-width: 0;
    padding: 0 0 0 3.2rem;

    font-size: 1.7rem;
    line-height: 4.4rem;
    color: var(--text-color-sub);
    background: transparent;
    border-bottom: 0;
  }

  /* 하위 항목이 있는 1단 메뉴에는 펼침 표시(+) 를 붙인다 */
  #header .header_bottom .gnb > ul > li.has_sub > a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.6rem;

    width: 1.1rem;
    height: 1.1rem;
    margin-top: -0.55rem;

    background: linear-gradient(var(--text-color-mute), var(--text-color-mute))
        no-repeat center / 100% 1px,
      linear-gradient(var(--text-color-mute), var(--text-color-mute)) no-repeat
        center / 1px 100%;
    transition: transform 0.25s;
  }

  /* 열리면 + 가 − 로 (세로 획만 접힌다) */
  #header .header_bottom .gnb > ul > li.has_sub.open > a::before {
    transform: rotate(90deg);
    background: linear-gradient(var(--brand), var(--brand)) no-repeat center /
      100% 1px;
  }

  /* ── 햄버거 버튼 : 판·테두리 없이 선 세 개만 ─────────────── */
  #header .mbtn {
    background: transparent;
    border: 0;
  }

  #header .mbtn::before,
  #header .mbtn::after,
  #header .mbtn span::before,
  #header .mbtn span::after {
    background: var(--text-color);
  }

  /* 히어로 사진 위에 겹칠 때는 흰 선 */
  #header.overlay .mbtn::before,
  #header.overlay .mbtn::after,
  #header.overlay .mbtn span::before,
  #header.overlay .mbtn span::after {
    background: var(--white-color);
  }

  /* 스크롤해도 먹색 헤더이므로 흰 선 유지. 메뉴판(흰색)이 열리면 검정 선 */
  #header.overlay.scr .mbtn::before,
  #header.overlay.scr .mbtn::after,
  #header.overlay.scr .mbtn span::before,
  #header.overlay.scr .mbtn span::after {
    background: var(--white-color);
  }

  #header.overlay .mbtn.on span::before,
  #header.overlay .mbtn.on span::after {
    background: var(--text-color);
  }
}

/* ==========================================================================
   푸터 : 두 덩이 (위 = 사이트맵 · SNS / 아래 = 회사 정보 · 상담 연락처)
   --------------------------------------------------------------------------
   두 덩이 모두 .con_wrap 이라 "왼쪽 내용 ↔ 오른쪽 내용" 으로 벌어집니다.
   글은 전부 왼쪽 정렬입니다.
   ========================================================================== */
#footer.footer {
  padding: 8rem 0 9.6rem;
  background: var(--footerbg-color);
  border-top: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.6rem;
  line-height: 2.4rem;
}

#footer.footer a {
  color: inherit;
}

#footer.footer a:hover {
  color: #ffffff;
}

/* 위·아래 두 덩이 공통 배치 */
#footer.footer .con_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;

  text-align: left;
}

/* --------------------------------------------------------------------------
   푸터 위 : 사이트맵 + SNS
   -------------------------------------------------------------------------- */
#footer.footer .ft_top {
  align-items: flex-start;

  margin-bottom: 5.6rem;
  padding-bottom: 5.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* 사이트맵 : 대분류 한 칸씩 가로로 (내용은 _access.navigation.php 의 $gnb_menu)
   여백·구분선은 위 .ft_top 이 맡으므로 style.css 의 기본값을 지웁니다. */
#footer.footer .lnk {
  margin-bottom: 0;
  padding: 0;
  border-bottom: 0;
}

#footer.footer .lnk > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem 6.4rem;
}

#footer.footer .lnk > ul > li > a {
  display: block;
  margin-bottom: 1.6rem;

  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: nowrap;
}

#footer.footer .lnk > ul ul a {
  display: block;
  line-height: 2.2;
  white-space: nowrap;
}

/* SNS (선택) : 사이트맵 오른쪽 끝 */
#footer.footer .ft_sns {
  display: flex;
  align-items: center;
  gap: 1.2rem;

  flex-shrink: 0;
}

#footer.footer .ft_sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;

  transition: background 0.3s, border-color 0.3s;
}

#footer.footer .ft_sns a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

#footer.footer .ft_sns .icon {
  width: 1.8rem;
  height: 1.8rem;
  stroke: currentColor;
  stroke-width: 1.6;
}

/* --------------------------------------------------------------------------
   푸터 아래 : 회사 정보(왼쪽) + 상담 연락처(오른쪽)
   -------------------------------------------------------------------------- */
#footer.footer .ft_bottom .left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 푸터 로고 : 먹색 푸터 위에서 흰색으로 반전 (헤더와 같은 180×56) */
#footer.footer .f_logo {
  display: block;
  margin-bottom: 3.2rem;
}

#footer.footer .f_logo img {
  display: block;
  width: 180px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* 약관 · 이용 안내 링크 한 줄 */
#footer.footer .customer_list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;

  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
}

/* 항목 사이 세로 구분선 — 다른 19종의 .ft_policy 와 같은 규격(0.5em) */
#footer.footer .customer_list a + a {
  position: relative;
  padding-left: 1.6rem;
}

#footer.footer .customer_list a + a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;

  width: 1px;
  height: 0.5em;

  transform: translateY(-50%);
  background: currentColor;
  opacity: 0.4;
}

#footer.footer .customer_list a {
  color: rgba(255, 255, 255, 0.85);
}

#footer.footer .customer_list a.em {
  font-weight: 700;
  color: #ffffff;
}

#footer.footer .add {
  line-height: 2.4rem;
}

/* 사업자 정보 : 세로 구분선으로 이어 붙인 한 줄 */
#footer.footer .info {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2.4rem;
  line-height: 2.4rem;
}

#footer.footer .info li ~ li::before {
  background: rgba(255, 255, 255, 0.3);
}

#footer.footer address {
  margin-top: 1.6rem;

  font-style: normal;
  line-height: 2.4rem;
  color: rgba(255, 255, 255, 0.4);
}

/* 오른쪽 상담 연락처 */
#footer.footer .customer {
  flex-shrink: 0;
  text-align: right;
}

#footer.footer .customer .btel strong {
  display: block;

  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
}

#footer.footer .customer .btel p {
  margin-top: 0.8rem;
}

/* --------------------------------------------------------------------------
   반응형
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  #footer.footer .lnk > ul {
    gap: 3.2rem 4rem;
  }
}

@media (max-width: 1024px) {
  #footer.footer .con_wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 3.2rem;
  }

  #footer.footer .customer {
    text-align: left;
  }
}

@media (max-width: 768px) {
  #footer.footer {
    padding: 5.6rem 0 6.4rem;
  }

  /* 모바일에서는 사이트맵을 접습니다. SNS 가 없으면 위 덩이째 숨깁니다. */
  #footer.footer .lnk {
    display: none;
  }

  #footer.footer .ft_top.no_sns {
    display: none;
  }

  #footer.footer .ft_top {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
  }

  #footer.footer .customer_list {
    flex-direction: column;
    gap: 0.8rem;
  }

  /* 세로로 세우면 항목 사이 세로 구분선이 줄 맨 앞에 남습니다.
     왼쪽 여백과 함께 끕니다. (아래 .info 와 같은 처리) */
  #footer.footer .customer_list a + a {
    padding-left: 0;
  }

  #footer.footer .customer_list a + a::before {
    display: none;
  }

  #footer.footer .info {
    flex-direction: column;
    gap: 0;
  }

  #footer.footer .info li {
    line-height: 2;
    white-space: normal;
  }

  #footer.footer .info li ~ li::before {
    display: none;
  }
}

/* 팝업 레이어 : 상자(.hd_pops_con)는 이미 흰 배경이므로 글자색만 되돌린다 */
#hd_pop {
  color: var(--text-color);
}

/* ==========================================================================
   서브페이지 (게시판 등)
   ========================================================================== */
main.sub .sub_content {
  background: var(--white-color);
  color: var(--text-color);
}

main.sub .page_title h3 {
  color: var(--text-color);
}

#hd_pop {
  width: auto;
}

#hd_pop p {
  opacity: 1;
}

#hd_pop .hd_pops_con {
  background: var(--white-color);
}

#hd_pop .hd_pops_con > * {
  opacity: 1;
}

/* 닫기 버튼은 오른쪽 위(박스 바깥쪽 아님) */
#hd_pop .hd_pops_footer {
  background: var(--primary-color);
}

#hd_pop .hd_pops_footer .hd_pops_close {
  background: var(--primary-color);
}

/* '오늘 하루 보지 않기' 버튼은 왼쪽에 고정 */
#hd_pop .hd_pops_footer .hd_pops_reject {
  background: var(--primary-color);
}

#hd_pop .hd_pops_footer button {
  padding: 1.2rem 2.4rem;
  font-size: 1.6rem;
  border: 0;
  color: var(--white-color);
}

#hd_pop .hd_pops {
  position: fixed;
  border-radius: 0;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

/* 768px 이하에서 팝업이 뷰포트 안에 깔끔히 맞게 동작하도록 */
@media (max-width: 768px) {
  /* 전체 컨테이너 높이 자동 처리 */
  #hd_pop {
    height: auto;
  }

  /* 팝업 박스: 화면에 고정(스크롤과 함께 떠있지 않음), 좌우 여백 16px, 상단 40px */
  #hd_pop .hd_pops {
    position: fixed;
    /* top: 40px !important; */
    left: 16px !important;
    right: 16px !important;
    box-sizing: border-box;
    width: auto;
    max-width: calc(100vw - 32px);
    /* 좌우 16px씩 보장 */
    margin: 0 auto;
    overflow: auto;
    /* 내용이 길면 내부에서 스크롤 */
    max-height: calc(100vh - 40px - 16px);
    /* 상단 40px + 약간의 여유 */
    background: #fff;
    z-index: 10000;
  }

  #hd_pop .hd_pops_con {
    width: 100% !important;
    height: auto !important;
    background: #fff;
  }

  /* 이미지가 뷰포트를 넘지 않도록: 폭은 부모에 맞추고, 높이는 자동 */
  #hd_pop .hd_pops img {
    width: 100% !important;
    /* 부모(.hd_pops)의 너비를 따름 */
    height: auto !important;
    /* 높이는 자동 유지 */
  }
}

/* 게시판 카테고리 공통 — 메인 룩북 탭과 동일한 미니멀 텍스트 + 언더라인
   (.sub_content 스코프라 스킨별 #bo_cate 규칙보다 우선 적용됨) */
.sub_content #bo_cate {
  margin: 0 0 4.8rem;
}

.sub_content #bo_cate ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4rem;
  zoom: 1;
  border-bottom: 1px solid var(--line-color);
}

.sub_content #bo_cate ul:after {
  display: none;
}

.sub_content #bo_cate li {
  display: block;
  padding: 0;
}

.sub_content #bo_cate a {
  display: block;
  line-height: 1;
  padding: 0 0.4rem 1.6rem 0.4rem;
  margin-bottom: -1px;
  border: none;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--muted-color);

  font-size: 2.1rem;
  font-weight: 400;
  transition: 0.25s;
}

.sub_content #bo_cate a:focus,
.sub_content #bo_cate a:hover,
.sub_content #bo_cate a:active {
  text-decoration: none;
  background: none;
  color: var(--text-color);
}

.sub_content #bo_cate #bo_cate_on {
  z-index: 2;
  background: none;
  color: var(--text-color);
  font-weight: 500;
  border: none;
  border-bottom: 1px solid var(--text-color);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

/* 태블릿부터 선제 적용 — 탭이 줄바꿈으로 흐트러지기 전에 가로 스크롤로 전환.
   스크롤 컨테이너는 패딩 박스 밖을 잘라내므로 -1px 겹침 대신
   인셋 헤어라인 + margin 0으로 활성 밑줄 잘림 방지 */
@media (max-width: 1024px) {
  .sub_content #bo_cate ul {
    gap: 2.4rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* 스크롤 기능은 유지, 스크롤바만 숨김 */
    border-bottom: none;
    box-shadow: inset 0 -1px 0 var(--line-color);
  }

  .sub_content #bo_cate ul::-webkit-scrollbar {
    display: none;
  }

  /* 탭이 눌려 줄어들지 않게 고정 */
  .sub_content #bo_cate li {
    flex: 0 0 auto;
  }

  .sub_content #bo_cate a {
    margin-bottom: 0;
  }
}

/* 폰 — 가로 스크롤 대신 세로 스택 리스트 */
@media (max-width: 768px) {
  .sub_content #bo_cate {
    margin-bottom: 3.2rem;
  }

  .sub_content #bo_cate ul {
    flex-direction: column;
    gap: 0;
    white-space: normal;
    overflow-x: visible;
    box-shadow: none;
    border-bottom: none; /* 항목별 라인으로 대체 */
  }

  .sub_content #bo_cate a {
    font-size: 1.8rem;
    padding: 1.4rem 0.4rem;
    margin-bottom: 0;
    border-bottom: 1px solid var(--line-color);
  }

  .sub_content #bo_cate #bo_cate_on {
    border-bottom: 1px solid var(--text-color);
  }
}

.sub_content .bo_cate_link {
  float: left;
  display: inline-block;
  margin-right: 10px;
  background: none;
  color: var(--point-color);
  font-weight: normal !important;
  height: auto;
  line-height: 10px;
  padding: 8px 16px;
  border-radius: 0;
  font-size: 0.95em;
}

/* 분류 — 배경 딱지 없이 글자만. 좌우 여백을 없애 제목과 같은 세로선에서
   시작하게 한다. */
.sub_content #bo_v_title .bo_v_cate {
  display: block;
  margin: 0 0 1rem;
  padding: 0;

  background: none;
  border: 0;
  border-radius: 0;

  color: var(--point-color);
  font-size: var(--fs-xs, 1.3rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.sub_content .bo_tit {
  display: block;
  color: #000;
  font-weight: 400;
}

.sub_content .bo_tit svg {
  width: 16px;
  height: 16px;

  margin-left: 16px;
}

.sub_content .bo_tit svg.feather-lock {
  margin-left: 0;
  stroke: var(--point-color);
}

.sub_content #bo_list .td_datetime {
  width: auto;
  text-align: center;
  width: 90px;
  white-space: nowrap;
}

.sub_content #bo_list .td_name {
  width: 90px;
  text-align: center;
  padding: 10px 0;

  white-space: nowrap;
}

.sub_content #bo_list td {
  height: 6.4rem;
  word-break: break-all;
}

.sub_content #bo_list .bo_notice td {
  border-bottom: 1px solid var(--point-color);
  background: var(--background-color);
}

.sub_content .bo_current {
  color: #e8180c;
  white-space: nowrap;
  font-size: 1.6rem;
}

.sub_content #bo_w .bo_w_flie .file_wr {
  position: relative;
  border: 1px solid #ccc;
  background: #fff;
  color: #000;
  vertical-align: middle;
  border-radius: 0;
  padding: 16px 5px;
  height: auto;
  margin: 0;
}

.sub_content #bo_v_title .bo_v_tit {
  display: block;
  font-size: 2.4rem;
  font-weight: 400;
  margin: 5px 0 0;
  word-break: break-all;
}

/* 제목 아래 라인 하나 */
.sub_content #bo_v_title {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-color);
}

.sub_content #bo_v_info .profile_info {
  margin: 4rem 0 1.6rem 0;
  display: inline-block;
}

.sub_content #bo_v_img {
  width: 100%;
  overflow: hidden;
  margin: 4rem 0 4rem 0;
  zoom: 1;
}

.sub_content #bo_v_con {
  margin: 4rem 0 4rem 0;
  width: 100%;
  line-height: 1.7em;
  min-height: 200px;
  word-break: break-all;
  overflow: hidden;
}

.sub_content #bo_v_file ul {
  margin: 0;
  list-style: none;
}

.sub_content #bo_v_link li {
  padding: 15px;
  position: relative;
  margin: 10px 0;
  border: 1px solid #dfdfdf;
  border-radius: 0;
  -webkit-box-shadow: 1px 1px 5px 0px hsl(232, 36%, 96%);
  -moz-box-shadow: 1px 1px 5px 0px hsl(232, 36%, 96%);
  box-shadow: 1px 1px 5px 0px hsl(232, 36%, 96%);
}

.sub_content #bo_v_link li i {
  float: left;
  color: #b2b2b2;
  font-size: 2.35em;
  margin-right: 40px;
}

.sub_content #bo_v_link a {
  float: none;
  display: block;
  text-decoration: none;
  word-wrap: break-word;
  color: #000;
}

.sub_content #bo_v_link a:focus,
.sub_content #bo_v_link li:hover a,
.sub_content #bo_v_link a:active {
  text-decoration: underline;
  color: #000;
}

.sub_content #bo_v_link .bo_v_link_cnt {
  color: #b2b2b2;
  font-size: 0.92em;
}

.sub_content #bo_v_link li:hover {
  border-color: var(--point-light);
  color: var(--point-light);
}

.sub_content #bo_v_link li:hover i {
  color: var(--point-color);
}

.sub_content #bo_v_link li:hover .bo_v_link_cnt {
  color: var(--point-light);
}

.sub_content #bo_v_file a {
  float: none;
  display: block;
  text-decoration: none;
  word-wrap: break-word;
  color: #000;
}

.sub_content .cmt_btn {
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  font-weight: bold;
  margin: 30px 0 0px;
  padding: 0 0 15px;
}

.sub_content .cmt_btn span.total {
  position: relative;
  display: inline-block;
  margin-right: 5px;
  font-size: 1.6rem;
  color: var(--primary-color);
}

.sub_content .cmt_btn span.cmt_more {
  float: right;
  display: inline-block;
  width: 15px;
  height: 10px;
  background: url(./img/btn_cmt.png) no-repeat right 2px;
  margin-top: 5px;
}

.sub_content .cmt_btn_op span.cmt_more {
  background-position: right -8px;
}

.sub_content .cmt_btn b {
  font-size: 1.2em;
  color: #000;
}

.sub_content .cmt_btn span.total:after {
  position: absolute;
  bottom: -17px;
  left: 0;
  display: inline-block;
  background: var(--primary-color);
  content: "";
  width: 100%;
  height: 2px;
}

.sub_content #bo_w .bo_w_flie .lb_icon {
  position: absolute;
  top: 17px;
  left: 0px;
  border-radius: 0;
  height: 38px;
  line-height: 38px;
  width: 40px;
  font-size: 1.2em;
  text-align: center;
  color: #b2b2b2;
}

.sub_content #bo_w .bo_w_link label {
  position: absolute;
  top: 5px;
  left: 1px;
  border-radius: 0;
  height: 38px;
  line-height: 38px;
  width: 40px;
  font-size: 1.2em;
  text-align: center;
  color: #b2b2b2;
}

.sub_content .bo_sch {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  text-align: left;
  max-width: 600px;
  width: 100%;
  max-height: 400px;
  margin-left: auto;
  margin-top: auto;
  transform: translate(-50%, -50%);
  overflow-y: auto;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border: 1px solid #dde7e9;
  background: #fff;
  border-radius: 0;
}

.sub_content .bo_sch form {
  padding: 6rem 4rem 1.6rem 4rem;
  display: block;
}

.sub_content .bo_sch select {
  border: 0;
  width: 100%;
  height: 40px;
  border: 1px solid #d0d3db;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.sub_content .bo_sch .sch_bar {
  display: inline-block;
  width: 100%;
  clear: both;
  margin-top: 15px;
  border: none;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.sub_content .bo_sch .sch_input {
  width: 100%;
  height: 38px;
  border: 0;
  padding: 0;
  background-color: transparent;
  float: left;

  border: 1px solid #d0d3db;
}

.sub_content .bo_sch .sch_btn {
  height: 38px;
  float: right;
  color: var(--primary-color);
  background: none;
  border: 0;
  width: 40px;
}

.sub_content .bo_sch .bo_sch_cls {
  position: absolute;
  right: 0;
  top: 0;
  color: #b5b8bb;
  border: 0;
  padding: 12px 15px;
  font-size: 16px;
  background: #fff;
}

.sub_content .bo_sch_bg {
  background: #000;
  background: rgba(0, 0, 0, 0.75);
  width: 100%;
  height: 100%;
}

.sub_content .more_opt svg {
  width: 14px;
  height: 14px;
}

/*FAQ */
.sub_content .faq-container {
  /* max-width: 600px; */
  margin: 0 auto;
}

.sub_content .faq {
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 0;
  margin: 20px 0;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
  background: #f9f9f9;
}

.sub_content .faq h3 {
  font-size: 2.3rem;
}

.sub_content .faq.active {
  background-color: #fff;
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.1),
    0 3px 6px rgba(0, 0, 0, 0.1);
}

.sub_content .faq-title {
  margin: 0 35px 0 0;
  cursor: pointer;
}

.sub_content .faq-text {
  display: none;
  margin: 30px 0 0;
  line-height: 1.5;
}

.sub_content .faq.active .faq-text {
  display: block;
}

.sub_content .faq-toggle {
  background-color: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 0;
  position: absolute;
  top: 50%;
  right: 30px;
  height: 30px;
  width: 30px;

  transform: translate(0, -50%);
}

.sub_content .faq-toggle:focus {
  outline: 0;
}

.sub_content .faq-toggle .close {
  display: none;
}

.sub_content .faq.active .faq-toggle .close {
  color: #fff;
  display: block;
}

.sub_content .faq.active .faq-toggle .down {
  display: none;
}

.sub_content .faq.active .faq-toggle {
  background-color: #9fa4a8;
}

.sub_content #bo_w .btn_submit {
  padding: 0 20px;
  font-size: 1.167em;
}

.sub_content #bo_w .btn_submit {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
  display: inline-flex;
  align-items: center;
  height: 4.8rem;
  border-radius: 0;
  padding: 0 2.4rem 0 8rem;
  overflow: hidden;
  color: var(--white-color);
  white-space: nowrap;
}

.sub_content #bo_w .btn_submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 4.8rem;
  border-radius: 0;
  background: var(--primary-color);
}

.sub_content #bo_w .btn_submit::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1) url(../lib/icon/edit-3.svg) no-repeat center
    center;
  filter: invert();
}

.sub_content #bo_w .btn_cancel {
  position: relative;
  z-index: 1;

  margin-top: 4rem;

  display: inline-flex;
  align-items: center;
  height: 4.8rem;
  border-radius: 0;
  padding: 0 2.4rem 0 8rem;
  overflow: hidden;

  color: var(--white-color);
  white-space: nowrap;
}

.sub_content #bo_w .btn_cancel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 4.8rem;
  border-radius: 0;
  background: var(--point-color);
}

.sub_content #bo_w .btn_cancel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1) url(../lib/icon/x.svg) no-repeat center center;

  filter: invert();
}

.sub_content #bo_w .frm_info {
  position: relative;
  line-height: 18px;
  color: var(--point-color);
  margin: 10px 0;
  display: inline-block;
  font-size: 1em;
}

.sub_content .chk_box input[type="checkbox"] + label {
  position: relative;
  /* padding-left: 24px; */
  color: #676e70;
}

.sub_content .btn_cke_sc {
  display: inline-block;
  padding: 0 10px;
  height: auto;
  border: 1px solid #ccc;
  background: #fafafa;
  color: #000;
  text-decoration: none;
  line-height: 1.9em;
  vertical-align: middle;
  cursor: pointer;
}

.sub_content #faq_sch {
  background: #f7f7f7;
  padding: 2.4rem;
  text-align: center;
  margin: 0 0 8rem 0;
}

.sub_content #faq_sch .btn_submit {
  position: relative;
  z-index: 1;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  height: 4.8rem;
  border-radius: 0;
  padding: 0 2.4rem 0 8rem;
  overflow: hidden;
  color: var(--white-color);
  background: transparent;
  white-space: nowrap;

  width: auto;

  font-weight: 400;
}

.sub_content #faq_sch .btn_submit .fa {
  display: none;
}

.sub_content #faq_sch .btn_submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 4.8rem;
  border-radius: 0;
  background: var(--point-color);
}

.sub_content #faq_sch .btn_submit::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1) url(../lib/icon/search.svg) no-repeat center
    center;
  filter: invert();
}

.sub_content #fregister p {
  position: relative;
  text-align: center;
  color: #fff;
  height: 50px;
  line-height: 50px;
  font-size: 1.1em;
  background: var(--point-color);
  margin: 0 0 10px;
  border-radius: 0;
  font-weight: 400;
}

.btn_submit:hover {
  background: var(--secondary-color);
}

.btn_submit {
  border: 0;
  background: var(--primary-color);
  color: var(--white-color);
  cursor: pointer;
  border-radius: 0;
}

#content #bo_w .btn_confirm {
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 4rem;
}

#content #bo_w .btn_confirm > * {
  margin-top: 0;
}

#content #bo_w .btn_confirm::after {
  display: none;
}

.bbs-view-image img {
  height: auto !important;
}

/* 손으로 누르는 자리 — 최소 크기
   ------------------------------------------------------------------
   좁은 화면에서는 layout.css 가 루트 글자를 8px 까지 줄입니다(clamp).
   그래서 rem 으로 준 높이가 20% 작아집니다. 입력칸 5.2rem 이 42px 로,
   체크박스가 13px 로 내려앉아 손가락으로 누르기 어렵습니다.
   테마마다 준 값이 달라 여기서 하한만 정합니다. */

#content input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
#content select {
  min-height: max(4.8rem, 44px);
}

#content textarea {
  min-height: max(12rem, 96px);
}

/* 체크박스와 라디오는 그대로 두면 13px 입니다. 조금 키웁니다.
   각 섹션 파일의 <style> 이 이 파일보다 뒤에 실려 같은 특이도로는 밀립니다.
   크기만큼은 지켜야 해서 우선권을 줍니다. */
#content input[type="checkbox"],
#content input[type="radio"] {
  width: max(2rem, 20px) !important;
  height: max(2rem, 20px) !important;
}

/* 붙어 있는 라벨까지 눌리도록 줄 높이를 줍니다 */
#content input[type="checkbox"] + label,
#content input[type="radio"] + label {
  display: inline-flex;
  align-items: center;
  min-height: max(4.4rem, 44px);
}

/* 약관 내용 보기 같은 글자만 있는 버튼도 누를 자리를 줍니다 */
#content .agree_more {
  min-height: max(4.4rem, 44px);
  padding: 0 0.4rem;
}

/* ==========================================================================
   제목 안의 강조 낱말 — 라벨 크기로 작아지지 않게
   --------------------------------------------------------------------------
   .title em 은 제목 위 작은 영문 라벨용 규칙이라 글자를 라벨 크기로 줄입니다.
   <h2>작은 차이가 <em>완성도</em>를 …</h2> 처럼 제목 안에서 한 낱말을 강조하는
   <em> 에도 그 규칙이 걸려 그 낱말만 작아졌습니다. 제목 안에서는 부모 글자를
   그대로 잇고 색만 포인트색으로 둡니다.
   ========================================================================== */
.title h2 em,
.title h3 em {
  display: inline;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: normal;
  letter-spacing: inherit;
  text-transform: none;
  color: var(--point-color);
}

/* ==========================================================================
   문의 게시판 글 보기 — 접수 정보 표
   --------------------------------------------------------------------------
   폼메일이 여분 필드(wr_1 ~ wr_10)에 저장한 항목을 본문 위에 표로 보여 줍니다.
   (skin/board/dd__basic/view.skin.php · 항목 이름은 글 본문에서 읽습니다)
   ========================================================================== */
.sub_content .bo_v_form {
  margin: 0 0 3.2rem;
}

.sub_content .bo_v_form h3 {
  margin: 0 0 1.2rem;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--headline-color);
}

.sub_content .bo_v_form .table {
  width: 100%;
  table-layout: fixed;
  border-top: 1px solid var(--line-strong, var(--line-color));
}

.sub_content .bo_v_form .table th,
.sub_content .bo_v_form .table td {
  padding: 1.2rem 1.6rem;
  border-bottom: 1px solid var(--line-color);
  font-size: 1.7rem;
  line-height: 1.6;
  text-align: left;
  vertical-align: top;
}

.sub_content .bo_v_form .table th {
  width: 14rem;
  background: var(--lightgray-color);
  font-weight: 600;
  color: var(--headline-color);
}

.sub_content .bo_v_form .table td a {
  color: var(--point-color);
}

@media (max-width: 768px) {
  .sub_content .bo_v_form .table th {
    width: 10rem;
  }
}

/* ==========================================================================
   좁은 화면 : 메뉴를 연 동안 헤더를 화면에 못 박는다
   --------------------------------------------------------------------------
   메뉴를 열면 뒤 배경이 움직이지 않도록 body 에 overflow:hidden 이 걸립니다.
   이때 sticky 헤더는 브라우저에 따라 붙어 있기를 그만두어
   스크롤을 내린 상태에서 메뉴를 열면 로고가 화면 위로 사라집니다.
   메뉴가 열려 있는 동안에는 fixed 로 바꿔 확실히 붙여 둡니다.
   (top 값은 테마마다 다르므로 여기서 정하지 않습니다)
   ========================================================================== */
@media (max-width: 1024px) {
  body.nav_open #header {
    position: fixed;
    left: 0;
    right: 0;
  }
}

/* ==========================================================================
   좁은 화면 서브 상단 사진 높이
   --------------------------------------------------------------------------
   rem 으로만 잡아 두면 화면이 길든 짧든 같은 높이라 어떤 기기에서는
   사진이 띠처럼 얇아 보입니다. 화면 높이(dvh)를 기준으로 잡습니다.
   · 바닥은 32dvh 입니다.
   · 넓은 화면에서 높은 테마일수록 여기서도 높게 잡았습니다.
     (이 테마는 넓은 화면에서 360px 이라 42dvh)
   · dvh 를 모르는 구형 브라우저를 위해 vh 로 한 번 더 적습니다.
     (뒤 줄을 못 읽으면 앞 줄이 그대로 쓰입니다)
   ========================================================================== */
@media (max-width: 1024px) {
  /* 이 테마는 modify.css 를 sub.css 보다 먼저 읽습니다.
     같은 특이도면 뒤에 오는 sub.css 가 이기므로 #content 로 한 단계 올립니다. */
  #content .sub_title {
    min-height: max(19rem, 42vh);
    min-height: max(19rem, 42dvh);
  }
}
