@charset "utf-8";
/* ============================================================
   SUB LAYOUT — 서브페이지 공용 레이아웃 (서브비주얼 + 2차 메뉴)
   ------------------------------------------------------------
   서브 상단 = 서브비주얼 한 덩어리 (sub_header_tab.php 가 그린다).
     ① .sub3-visual         풀블리드 배경 사진 + 어두운 베일
     ② .sub3-visual__title  페이지명 — 헤더 바로 아래(위쪽)
     ③ .sub3-tabs           2차 메뉴 가로 띠 — 가운데 정렬, 활성 표시가 마우스를 따라 미끄러진다
     ※ 로케이션(breadcrumb)은 화면에 그리지 않는다
   그 아래 본문은 .sub3-body 로 감싼다.
   ------------------------------------------------------------
   ※ 이 파일을 읽는 페이지는 $PAGE_CSS = array('sub_layout.css', 'sub.css') 로 쓴다
     (CEO 인사말 · 사이트맵). 흰 상단을 쓰는 페이지는 대신 sub_top.css 를 읽는다.
   ※ 레이아웃은 container > row > col (부트스트랩 4.6.1).
   ※ 반응형은 각 블록 바로 아래. 쓰는 단계는 1199 / 991 / 767 / 500 네 개뿐.
   ============================================================ */

/* ── 헤더 : 흰 바탕 + 검은 글자 ────────────────────────────────
   공용 헤더는 어두운 비주얼 위에 얹히는 전제(투명 배경 + 흰 글자 + 반전 로고)라,
   비주얼이 없는 이 계열에서는 그대로 두면 글자·로고가 보이지 않는다.
   sub_layout.css 는 이 계열 페이지에서만 불러오므로 여기서 뒤집는다.
   position:fixed 는 그대로 둔다 — 스크롤해도 흰 헤더가 화면에 붙어 있다. */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e9edf2;
  --header-line: #e9edf2;
}
/* 스크롤 60px 을 넘으면 script.js 가 .scrolled 를 붙인다.
   높이가 줄어드는 것만 끄고 배경은 계속 흰색으로 유지한다. */
.site-header.scrolled { height: var(--header-h); background: #fff; box-shadow: 0 6px 24px rgba(10, 31, 56, .06); }
.site-header .logo-img,
.site-header.scrolled .logo-img { filter: none; }        /* 반전 해제 = 원본 색상 로고 */
.site-header .gnb-link,
.site-header.scrolled .gnb-link,
.site-header .sitemap-btn,
.site-header.scrolled .sitemap-btn { color: #1a2330; }
.site-header .gnb-link:hover,
.site-header.scrolled .gnb-link:hover,
.site-header .sitemap-btn:hover,
.site-header.scrolled .sitemap-btn:hover { color: #146ab5; }


/* ── 서브비주얼 ────────────────────────────────────────────────
   sub_header_tab.php 가 그리는 풀블리드 배경 사진 한 덩어리.
   배경 사진은 마크업의 --sv3-bg 로 들어온다(섹션별 자동 분기).
   위쪽에 페이지명, 아래쪽 가로 띠에 2차 메뉴가 얹힌다.
   헤더가 fixed 라 자리를 차지하지 않으므로 그 높이만큼 위를 비워 둔다.
   높이를 바꾸려면 .sub3-visual 의 height 한 값만 만지면 된다. */
.sub3-visual {
  position: relative;
  height: 420px;
  display: flex; align-items: flex-start;
  overflow: hidden;
  color: #fff;
  background: #0a1f38;                 /* 사진 로드 전 배경 */
}
.sub3-visual__bg {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0;
  background-image: var(--sv3-bg);
  background-position: center; background-size: cover;
  transform: scale(1.04);
}
/* 위아래가 진해져 헤더 글자와 2차 메뉴가 모두 읽힌다 — 농도는 이 세 값만 고치면 된다 */
/* 사진 위 베일 — 2단계 그라데이션으로 약하게만 덮는다 (위 옅게 → 아래 조금 진하게).
   sub_top.css 의 .sub-visual__dim 과 같은 값으로 맞춰 둔다. */
.sub3-visual__dim {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10, 31, 56, .12) 0%, rgba(10, 31, 56, .34) 100%);
}
/* 페이지명 — 고정 헤더 높이만큼 내려서 시작한다 */
.sub3-visual__inner {
  position: relative; 
  z-index: 2;
  width: 100%;     
  padding-top: 13rem;
  text-align: center;
}
.sub3-visual__title {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    color: #fff;
    word-break: keep-all;
}

/* ── 2차 메뉴 ──────────────────────────────────────────────────
   비주얼 **아래쪽에서 띄운** 알약형 바. 가운데 정렬이고,
   활성 표시가 마우스를 따라 미끄러진다.
   바닥에서 얼마나 띄울지는 .sub3-tabs 의 bottom 한 값으로 조절한다.
   위치·폭 계산은 sub_header_tab.php 의 스크립트가 하고, 여기서는 모양과 속도만 정한다. */
.sub3-tabs {
  position: absolute; right: 0; bottom: 46px; left: 0; z-index: 3;
}
/* 바를 화면 가운데에 두되 폭은 항목 수만큼만 차지하게 한다 */
.sub3-tabs .container { display: flex; justify-content: center; }
.sub3-tabs__inner {
  position: relative; display: inline-flex;
  border-radius: 999px;
  background: rgba(10, 31, 56, .54);
  overflow: hidden;
}
.sub3-tabs__list {
  position: relative; z-index: 1;
  display: flex; justify-content: center; flex-wrap: nowrap;
  margin: 0; padding: 0; list-style: none;
}
/* 항목 — 링크를 걸지 않으므로 손가락 커서를 쓰지 않는다 (sub_header_tab.php 참고) */
.sub3-tab {
  display: flex; align-items: center; height: 58px; padding: 0 34px;
  font-size: 1rem; font-weight: 600; color: rgba(255, 255, 255, .78); white-space: nowrap;
  cursor: default;
  transition: color .3s ease;
}
.sub3-tab:hover,
.sub3-tab.is-active { color: #fff; }

/* 마우스를 따라다니는 활성 표시 — 위치는 transform, 폭은 width 로 움직인다.
   흰 글자가 그대로 읽히도록 꽉 찬 흰색이 아니라 반투명 알약으로 둔다. */
.sub3-tabs__ind {
  position: absolute; top: 0; left: 0; bottom: 0; z-index: 0;
  width: 0; opacity: 0;
  border-radius: 999px;
  background: #0b70a8;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1),
              width .45s cubic-bezier(.22, .61, .36, 1),
              opacity .3s ease;
  pointer-events: none;
}
/* 모션 최소화 설정에서는 미끄러지지 않고 바로 이동한다 */
@media (prefers-reduced-motion: reduce) {
  .sub3-tabs__ind { transition: none; }
}

/* 서브비주얼 — 반응형 */
@media (max-width: 1199px) {
  .sub3-visual { height: 380px; }
  .sub3-visual__inner { padding-top: 11rem;}
  .sub3-visual__title { font-size: 1.8rem }
  .sub3-tabs { bottom: 40px; }
  .sub3-tab { height: 54px; padding: 0 28px; }
}
@media (max-width: 991px) {
  /* 991px 이하는 공용 헤더 높이가 70px 로 줄어든다 (--header-h 가 알아서 따라간다) */
  .sub3-visual { height: 320px; }
  .sub3-visual__inner { padding-top: 9rem; }
  .sub3-tabs { bottom: 32px; }
  .sub3-tab { height: 50px; padding: 0 22px; font-size: .95rem; }
}
@media (max-width: 767px) {
  .sub3-visual { height: 260px; }
  .sub3-visual__inner { padding-top: 9rem}
  .sub3-visual__title { font-size: 1.8rem; }
  .sub3-tabs { bottom: 24px; }
  /* 항목이 화면보다 길어지면 알약을 화면 폭에 맞추고 안에서 가로 스크롤한다 */
  .sub3-tabs__inner { max-width: 100%; }
  .sub3-tabs__list { overflow-x: auto; }
  .sub3-tab { height: 46px; padding: 0 18px; font-size: .9rem; }
}
@media (max-width: 500px) {
  .sub3-visual__title { font-size: 1.55rem; }
  .sub3-tabs { bottom: 18px; }
  .sub3-tab { height: 42px; padding: 0 14px; font-size: .85rem; }
}

/* ── 서브 본문 컨테이너 ─────────────────────────────────────── */
.sub3-body { padding: 0 0 7rem; background: #fff; }

@media (max-width: 991px) { .sub3-body { padding-bottom: 5rem; } }
@media (max-width: 767px) { .sub3-body { padding-bottom: 3.5rem; } }
