/* ==========================================================================
   올웹 비즈니스 템플릿 14 — 시안 14(다솜에듀, 교육 · 출판)의 reset.css · common.css · main.css · sub.css 를 그대로 이은 것입니다.
   시안 14 는 게시판 · 폼 · 회원가입을 처음부터 본문 폭으로 그려 원본 CSS 는 고치지 않았습니다. 그누보드 연결 · 올웹 로고 · 퀵메뉴 · 맨 위로 · 팝업은 맨 아래 「연결부」에 덧붙였습니다.
   ========================================================================== */

/* ---------- 원본 assets/css/reset.css ---------- */
/* reset.css — 최소 리셋입니다. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body,h1,h2,h3,h4,h5,h6,p,figure,blockquote,dl,dd,ul,ol{margin:0;padding:0}
ul,ol{list-style:none}
img,svg,video,iframe{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{background:none;border:0;padding:0;cursor:pointer}
table{border-collapse:collapse;width:100%}
address{font-style:normal}

/* ---------- 원본 assets/css/common.css ---------- */
/* common.css — 모든 페이지가 함께 쓰는 부분입니다. 색 · 글꼴 토큰, 공통 라벨 · 제목 · 버튼, 헤더, 메가메뉴, 드로어, 푸터, TOP 버튼을 담습니다.
   색은 흰 바탕 · 버건디(포인트 · 짧은 강조) · 연베이지 면 · 짙은 회색 글자만 씁니다. 바꾸려면 :root 값을 고치시면 됩니다. */

@font-face { font-family: 'Pretendard'; font-weight: 400; font-display: swap; src: url('../fonts/Pretendard-Regular.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 500; font-display: swap; src: url('../fonts/Pretendard-Medium.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 600; font-display: swap; src: url('../fonts/Pretendard-SemiBold.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 700; font-display: swap; src: url('../fonts/Pretendard-Bold.subset.woff2') format('woff2'); }

:root {
  --wine: #7a1f2b;          /* 버건디 : 라벨 막대 · 메뉴 표시 · 버튼 · 강조 */
  --ink: #2a2624;           /* 제목 · 짙은 회색 글자 */
  --text: #4d4845;          /* 본문 */
  --mute: #6f6964;          /* 보조 글자(흰 바탕 5.4:1 · 베이지 4.9:1) */
  --line: #e4ddd3;          /* 얇은 선(따뜻한 회색) */
  --beige: #f5efe6;         /* 연베이지 면 */
  --dark: #2a2624;          /* 푸터 */
  --font: 'Pretendard', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --ease: cubic-bezier(.3, .65, .25, 1);
  --hd-h: 76px;
  --gnb-gap: 60px;          /* 1차 메뉴 글자 사이 간격(모두 같음). 메가메뉴 열 폭은 common.js 가 1차 메뉴 칸 폭으로 맞춥니다 */
  --side: 48px;
}

html { scroll-behavior: auto; }
body { background: #fff; color: var(--text); font: 400 17px/1.75 var(--font); letter-spacing: -.015em; word-break: keep-all; -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
.m-br { display: none; }
@media (max-width: 768px) { .m-br { display: inline; } }
.wrap { width: calc(100% - var(--side) * 2); max-width: 1320px; margin: 0 auto; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 400; background: #fff; color: var(--ink); padding: 8px 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 공통 : 섹션 여백 · 라벨(버건디 작은 사각) · 제목 · 글 링크 · 버튼 ---------- */
.sec { padding: 140px 0; }
.label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; line-height: 1; letter-spacing: .04em; color: var(--wine); }
.label::before { content: ''; width: 6px; height: 6px; background: var(--wine); }
.title { margin-top: 18px; font-size: 40px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--ink); }
.title--sm { margin-top: 0; font-size: 28px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.head-row__side { display: flex; align-items: center; gap: 28px; }
.textlink { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.textlink .ico { width: 15px; height: 15px; stroke-width: 2; transition: transform .35s var(--ease); }
.textlink:hover { color: var(--wine); }
.textlink:hover .ico { transform: translateX(4px); }
.btn-solid { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 26px; background: var(--wine); font-size: 15.5px; font-weight: 600; color: #fff; transition: background-color .3s; }
.btn-solid .ico { width: 16px; height: 16px; stroke-width: 2; }
.btn-solid:hover { background: #5f1620; }
.arrows { display: flex; gap: 8px; }
.sqbtn { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #d8cfc3; border-radius: 50%; background: #fff; color: var(--ink); transition: background-color .25s, color .25s, border-color .25s; }
.sqbtn .ico { width: 17px; height: 17px; stroke-width: 1.8; }
.sqbtn:hover { background: var(--wine); border-color: var(--wine); color: #fff; }
.sqbtn.is-end { color: #c3bab0; pointer-events: none; }

/* ---------- 로고 : 펼친 책 모양 심볼 + 국문 · 영문 ---------- */
.logo a, a.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--wine); }
.logo__mark { width: 24px; height: 20px; flex: none; }
.logo__ko { font-size: 21px; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.logo__en { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; line-height: 1; color: var(--mute); }

/* ---------- 헤더 : 맨 위에서는 투명(비주얼의 연베이지가 비침), 스크롤하거나 메가메뉴가 열리면 흰 바탕 ---------- */
.hd { position: fixed; left: 0; right: 0; top: 0; z-index: 100; color: var(--ink); transition: background-color .35s, box-shadow .35s; }
.hd.is-solid, .hd.is-open { background: #fff; box-shadow: 0 1px 0 var(--line); }
.hd__in { position: relative; z-index: 2; display: flex; align-items: center; height: var(--hd-h); width: calc(100% - var(--side) * 2); max-width: 1320px; margin: 0 auto; }
.gnb { position: relative; height: 100%; margin-left: 56px; }
.gnb__list { display: flex; height: 100%; }
.gnb__list > li { padding: 0 calc(var(--gnb-gap) / 2); }
.gnb__link { position: relative; display: flex; align-items: center; height: 100%; font-size: 17px; font-weight: 600; white-space: nowrap; }
/* hover 표시는 글자 아래 버건디 선 하나뿐입니다 */
.gnb__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 20px; height: 2px; background: var(--wine); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.gnb__list > li:hover .gnb__link::after, .gnb__list > li.is-on .gnb__link::after, .gnb__link:focus-visible::after { transform: scaleX(1); }
.gnb__link:focus-visible { outline-offset: -10px; }
.util { display: flex; align-items: center; gap: 20px; margin-left: auto; font-size: 14.5px; color: var(--mute); }
.util a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.util__shop { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 14px; border: 1px solid var(--wine); font-weight: 600; color: var(--wine); }
.util__shop .ico { width: 14px; height: 14px; }
.util .util__shop:hover { background: var(--wine); color: #fff; text-decoration: none; }
.burger { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; margin-right: -10px; }
.burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; }
.burger i:nth-child(1) { top: 15px; } .burger i:nth-child(2) { top: 21px; } .burger i:nth-child(3) { top: 27px; }

/* 메가메뉴 : 흰 패널(.mega-bg)은 scaleY, 2차 메뉴(.mega)는 clip-path 로 같은 높이 · 같은 시간 · 같은 곡선으로 함께 펼쳐지고 접힙니다.
   2차 열에는 배경색이 없습니다. 패널 높이(--mega-h) = 가장 긴 2차 목록 + 위아래 26px, 열 폭(--mega-cols) = 1차 메뉴 칸 폭이며 common.js 가 잽니다. */
.mega-bg { position: absolute; left: 0; right: 0; top: 100%; height: var(--mega-h, 220px); background: #fff; box-shadow: inset 0 -1px 0 var(--line), inset 0 1px 0 var(--line); transform: scaleY(0); transform-origin: 50% 0; transition: transform .45s var(--ease); pointer-events: none; }
.mega { position: absolute; left: 0; top: 100%; display: grid; grid-template-columns: var(--mega-cols, repeat(5, 130px)); height: var(--mega-h, 220px); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease), visibility 0s linear .45s; }
.hd.is-open .mega-bg { transform: scaleY(1); pointer-events: auto; }
.hd.is-open .mega { visibility: visible; clip-path: inset(0 0 0 0); transition-delay: 0s; }
.mega__col { padding: 26px 0 0 calc(var(--gnb-gap) / 2); }
.mega__col a { display: inline-block; padding: 5px 0; font-size: 15px; color: var(--mute); white-space: nowrap; transition: color .2s; }
.mega__col a:hover, .mega__col a:focus-visible { color: var(--wine); text-decoration: underline; text-underline-offset: 5px; }

/* ---------- 드로어 (1024px 이하) : 오른쪽 흰 패널. 1차 줄 전체가 버튼, 2차 영역은 배경색 없음 ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s linear .5s; }
.drawer.is-open { visibility: visible; transition-delay: 0s; }
.drawer__dim { position: absolute; inset: 0; background: rgba(42, 38, 36, .5); opacity: 0; transition: opacity .45s; }
.drawer.is-open .drawer__dim { opacity: 1; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; width: min(400px, 100%); background: #fff; color: var(--ink); overflow-y: auto; transform: translateX(100%); transition: transform .5s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 20px; flex: none; border-bottom: 1px solid var(--line); }
.drawer__close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; }
.drawer__close .ico { width: 24px; height: 24px; }
.drawer__list { padding: 4px 20px; }
.drawer__list > li { border-bottom: 1px solid var(--line); }
.drawer__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 19px 0; text-align: left; font: 700 19px/1.3 var(--font); letter-spacing: -.03em; }
.drawer__toggle .ico { width: 18px; height: 18px; color: var(--mute); transition: transform .4s var(--ease); }
.drawer__toggle[aria-expanded="true"] { color: var(--wine); }
.drawer__toggle[aria-expanded="true"] .ico { transform: rotate(45deg); color: var(--wine); }
.drawer__sub { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.drawer__sub a { display: block; padding: 7px 0 7px 14px; font-size: 16.5px; color: var(--text); }
.drawer__sub li:last-child a { margin-bottom: 16px; }
.drawer__sub a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.drawer__foot { margin-top: auto; padding: 24px 20px; }
.drawer__util { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; font-size: 15px; color: var(--mute); }
.drawer__tel { display: grid; padding: 18px 20px; border: 1px solid var(--wine); color: var(--wine); line-height: 1.3; }
.drawer__tel small { font-size: 14px; color: var(--mute); }
.drawer__tel strong { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }

/* ---------- 푸터 : 짙은 회갈색. 왼쪽 로고 · 주소, 가운데 메뉴 · 정책, 오른쪽 계열사 바로가기 ---------- */
.ft { background: var(--dark); color: #b3aba4; font-size: 14.5px; line-height: 1.75; }
.ft__in { display: flex; gap: 60px; padding: 72px 0 80px; }
.logo--foot { color: #e7d9c6; }
.logo--foot .logo__ko { color: #fff; }
.logo--foot .logo__en { color: #b3aba4; }
.ft address { margin-top: 26px; }
.ft address span { display: inline-block; margin-right: 14px; }
.ft__copy { margin-top: 14px; font-size: 13.5px; letter-spacing: .02em; }
.ft__nav { margin-left: auto; display: grid; gap: 22px; align-content: start; }
.ft__nav ul { display: flex; flex-wrap: wrap; gap: 6px 30px; }
.ft__nav ul:first-child { font-size: 15.5px; font-weight: 600; color: #fff; }
.ft__policy b { font-weight: 600; color: #fff; }
.ft__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.family { position: relative; align-self: flex-start; }
.family__btn { display: flex; align-items: center; justify-content: space-between; width: 190px; height: 46px; padding: 0 14px 0 18px; border: 1px solid rgba(255, 255, 255, .3); font-size: 14.5px; color: #fff; }
.family__btn .ico { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.family__btn[aria-expanded="true"] .ico { transform: rotate(45deg); }
.family__list { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); padding: 8px 0; border: 1px solid rgba(255, 255, 255, .2); background: #34302d; }
.family__list a { display: block; padding: 6px 18px; color: #d6cec6; }
.family__list a:hover, .family__list a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- TOP 버튼 : 오른쪽 아래 버건디 원. 맨 위에서는 숨깁니다 ---------- */
.totop { position: fixed; right: 24px; bottom: 28px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--wine); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .45s var(--ease), visibility 0s linear .45s, background-color .25s; }
.totop.is-show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.totop .ico { width: 18px; height: 18px; stroke-width: 1.8; }
.totop:hover { background: var(--ink); }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  :root { --gnb-gap: 48px; --side: 36px; }
  .gnb { margin-left: 36px; }
  .util { gap: 14px; }
}
@media (max-width: 1180px) {
  :root { --gnb-gap: 40px; }
  .gnb { margin-left: 24px; }
  .gnb__link { font-size: 16px; }
  .logo__en { display: none; }
  .util > a:not(.util__shop) { display: none; }
}
@media (max-width: 1024px) {
  :root { --side: 32px; --hd-h: 64px; }
  .gnb, .util, .mega-bg { display: none; }
  .burger { display: block; }
  .logo__en { display: inline; }
  .sec { padding: 110px 0; }
  .ft__in { flex-wrap: wrap; gap: 36px; }
  .ft__nav { margin-left: 0; order: 3; width: 100%; }
}
@media (max-width: 768px) {
  :root { --side: 20px; --hd-h: 60px; }
  .sec { padding: 88px 0; }
  .title { margin-top: 14px; font-size: 28px; }
  .title--sm { margin-top: 0; font-size: 23px; }
  .head-row { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
  .head-row__side { width: 100%; justify-content: space-between; }
  .logo__ko { font-size: 19px; }
  .btn-solid { height: 48px; padding: 0 20px; font-size: 15px; }
  .ft__in { padding: 56px 0 64px; }
  .totop { right: 16px; bottom: 18px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 원본 assets/css/main.css ---------- */
/* main.css — 메인 페이지 전용입니다. 섹션 순서와 바탕 : 비주얼(연베이지 + 사진) → 교육 서비스(흰) → 이번 달 도서(흰, 위 선)
   → 교육연구소(연베이지 면) → 소식 · 자료(흰) → 채용 · 제휴(흰, 안쪽 두 칸) → 연락처(연베이지) → 푸터(짙은 회갈색). 사진 · 색 면 섹션끼리 붙지 않습니다. */

/* ===== 메인 비주얼 : 높이 50vh. 왼쪽 글 · 오른쪽 사진(사진만 바뀝니다) ===== */
.hero { position: relative; height: 70vh; height: 70svh; min-height: 400px; background: var(--beige); overflow: hidden; }
.hero__photo { position: absolute; top: var(--hd-h); right: 0; bottom: 0; width: 54%; background: #e9e0d3; z-index: 0; }
/* 나가는 장은 들어오는 장이 다 덮을 때까지 그대로 보이게 둡니다(두 장이 함께 옅어지며 화면이 어두워지는 순간을 없앱니다) */
.hero__item { position: absolute; inset: 0; opacity: 0; transition: opacity 0s linear var(--hspeed, 1100ms); }
.hero__item.is-active { z-index: 1; opacity: 1; transition: opacity var(--hspeed, 1100ms) ease; }
.hero__item img { width: 100%; height: 100%; object-fit: cover; }
.hero__in { position: relative; display: flex; flex-direction: column; justify-content: center; height: 100%; padding-top: var(--hd-h); }
.hero__caps { position: relative; width: 40%; }
.hero__cap { position: absolute; left: 0; top: 0; width: 100%; visibility: hidden; }
.hero__cap.is-active { position: relative; visibility: visible; }
.hero__cap > * { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hero__cap.is-active > * { opacity: 1; transform: none; }
.hero__cap.is-active > :nth-child(2) { transition-delay: .1s; }
.hero__cap.is-active > :nth-child(3) { transition-delay: .2s; }
.hero__eyebrow { font-size: 15px; font-weight: 600; color: var(--wine); }
.hero__title { margin-top: 14px; font-size: 44px; font-weight: 700; line-height: 1.32; letter-spacing: -.045em; color: var(--ink); }
.hero__desc { margin-top: 14px; font-size: 17px; color: var(--text); }
.hero__ctrl { display: flex; align-items: center; gap: 6px; width: 40%; margin-top: 34px; }
.hero__count { margin-right: 10px; font-size: 14.5px; font-weight: 600; letter-spacing: .04em; color: var(--mute); font-variant-numeric: tabular-nums; }
.hero__count b { color: var(--ink); }
/* 진행선 : 자동 넘김 시간 동안 버건디 선이 찹니다 */
.hero__bar { position: relative; flex: 1; max-width: 160px; height: 2px; margin-right: 12px; background: #ddd2c3; overflow: hidden; }
.hero__bar i { position: absolute; inset: 0; background: var(--wine); transform: scaleX(0); transform-origin: 0 50%; }
.hero.is-run .hero__bar i { animation: hero-bar var(--hdelay, 6000ms) linear both; }
@keyframes hero-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #d3c8ba; border-radius: 50%; color: var(--ink); transition: background-color .25s, color .25s, border-color .25s; }
.hero__btn:hover { background: var(--wine); border-color: var(--wine); color: #fff; }
.hero__btn .ico { width: 16px; height: 16px; stroke-width: 1.8; }
.hero__pause .ico { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.hero__pause .ico--play, .hero.is-paused .hero__pause .ico--pause { display: none; }
.hero.is-paused .hero__pause .ico--play { display: block; }

/* ===== 교육 서비스 : 왼쪽 제목 고정 폭, 오른쪽 4줄 목록 ===== */
.svc__in { display: grid; grid-template-columns: 360px 1fr; gap: 80px; align-items: start; }
.svc__lead { margin: 18px 0 30px; }
.svc__list { border-top: 2px solid var(--ink); }
.svc__list a { display: grid; grid-template-columns: 56px 1fr 180px 28px; align-items: center; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.svc__num { align-self: start; padding-top: 4px; font-size: 15px; font-weight: 700; color: var(--wine); font-variant-numeric: tabular-nums; }
.svc__body { display: grid; gap: 6px; }
.svc__tit { font-size: 24px; font-weight: 700; letter-spacing: -.04em; color: var(--ink); transition: color .25s; }
.svc__txt { font-size: 16px; color: var(--text); }
.svc__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--beige); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .6s var(--ease); }
.svc__go { width: 22px; height: 22px; color: var(--mute); transition: transform .35s var(--ease), color .25s; }
.svc__list a:hover .svc__tit, .svc__list a:hover .svc__go { color: var(--wine); }
.svc__list a:hover .svc__go { transform: translateX(4px); }
.svc__list a:hover img { transform: scale(1.05); }

/* ===== 이번 달 도서 : 세로형 사진 카드 캐러셀 (4 → 3 → 1.6장) ===== */
.books { padding-top: 0; }
.books .wrap { padding-top: 110px; border-top: 1px solid var(--line); }
.track { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.book { flex: 0 0 calc((100% - 96px) / 4); scroll-snap-align: start; }
.book a { display: block; }
.book__img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--beige); }
.book__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.book a:hover img { transform: scale(1.04); }
.book__tag { position: absolute; left: 0; top: 0; padding: 4px 12px; background: var(--wine); font-size: 13px; font-weight: 600; color: #fff; }
.book__cat { display: block; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--wine); }
.book__tit { display: block; margin-top: 4px; font-size: 19px; font-weight: 700; line-height: 1.45; letter-spacing: -.035em; color: var(--ink); }
.book a:hover .book__tit { text-decoration: underline; text-underline-offset: 5px; }
.book__meta { display: block; margin-top: 6px; font-size: 14.5px; color: var(--mute); }

/* ===== 교육연구소 : 연베이지 색 면, 왼쪽 소개 · 오른쪽 숫자 2×2 ===== */
.lab { background: var(--beige); }
.lab__in { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: center; }
.lab__txt { margin: 18px 0 34px; max-width: 440px; }
.lab__nums { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #d9cfc1; }
.lab__nums > div { padding: 34px 0 34px 32px; border-bottom: 1px solid #d9cfc1; }
.lab__nums > div:nth-child(odd) { padding-left: 0; padding-right: 32px; border-right: 1px solid #d9cfc1; }
.lab__nums dt { font-size: 15.5px; font-weight: 600; color: var(--text); }
.lab__nums dd { margin-top: 10px; font-size: 18px; font-weight: 600; color: var(--ink); }
.lab__nums b { margin-right: 4px; font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--wine); font-variant-numeric: tabular-nums; }
.lab__nums p { margin-top: 10px; font-size: 14.5px; color: var(--mute); }

/* ===== 소식 · 자료 : 탭 최신글 + 상담 상자 ===== */
.board__in { display: grid; grid-template-columns: 1fr 340px; gap: 64px; }
.board__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.tabs { display: flex; gap: 22px; }
.tabs button { position: relative; padding: 8px 0; font-size: 16px; font-weight: 600; color: var(--mute); transition: color .25s; }
.tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--wine); transform: scaleX(0); transition: transform .3s var(--ease); }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.tabs button:hover { color: var(--ink); }
.board__list li { display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.board__list a { display: block; flex: 1; min-width: 0; padding: 18px 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 16.5px; color: var(--ink); }
.board__list a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.board__badge { display: inline-block; margin-right: 10px; vertical-align: 1px; padding: 1px 8px; background: var(--wine); font-size: 12.5px; font-weight: 600; color: #fff; }
.board__badge--line { background: none; border: 1px solid var(--wine); color: var(--wine); }
.board__file { display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -2px; color: var(--wine); }
.board__date { flex: none; font-size: 14.5px; color: var(--mute); }
.board__panel .textlink { margin-top: 26px; }
.board__side { align-self: start; padding: 36px 34px; border: 1px solid var(--line); border-top: 3px solid var(--wine); }
.board__side-en { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.board__side-tit { display: block; margin-top: 6px; font-size: 21px; font-weight: 700; letter-spacing: -.035em; color: var(--ink); }
.board__tel { display: block; margin-top: 18px; font-size: 32px; font-weight: 700; letter-spacing: -.02em; color: var(--wine); }
.board__side-txt { margin: 10px 0 24px; font-size: 15px; color: var(--text); }

/* ===== 채용 · 제휴 : 흰 바탕 안의 두 칸(버건디 / 연베이지) ===== */
.join { padding-top: 0; }
.join__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.join__item { display: grid; align-content: start; min-height: 300px; padding: 52px 48px; transition: background-color .3s; }
.join__item--recruit { background: var(--wine); color: #fff; }
.join__item--recruit:hover { background: #681a24; }
.join__item--partner { background: var(--beige); color: var(--ink); }
.join__item--partner:hover { background: #efe6da; }
.join__en { font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.join__tit { margin-top: 14px; font-size: 30px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; }
.join__txt { margin-top: 12px; font-size: 16px; opacity: .85; }
.join__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; font-size: 15.5px; font-weight: 600; }
.join__more .ico { width: 16px; height: 16px; stroke-width: 2; transition: transform .35s var(--ease); }
.join__item:hover .join__more .ico { transform: translateX(4px); }

/* ===== 연락처 : 연베이지 바탕, 왼쪽 지도 · 오른쪽 정보 ===== */
.contact { background: var(--beige); }
.contact__in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: center; }
.contact__map { min-height: 420px; background: #e9e0d3; }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.contact__list { margin: 30px 0 30px; border-top: 1px solid #d9cfc1; }
.contact__list div { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid #d9cfc1; }
.contact__list dt { flex: none; width: 80px; font-size: 15px; font-weight: 600; color: var(--mute); }
.contact__list dd { font-size: 16.5px; color: var(--ink); }
.contact__list a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }

/* ===== 반응형 ===== */
@media (max-width: 1280px) {
  .hero__title { font-size: 38px; }
  .svc__in { grid-template-columns: 300px 1fr; gap: 56px; }
  .svc__list a { grid-template-columns: 44px 1fr 150px 24px; gap: 22px; }
}
@media (max-width: 1024px) {
  .hero__photo { width: 50%; }
  .hero__caps, .hero__ctrl { width: 46%; }
  .hero__title { font-size: 32px; }
  .hero__desc { font-size: 16px; }
  .svc__in { grid-template-columns: 1fr; gap: 40px; }
  .book { flex-basis: calc((100% - 64px) / 3); }
  .books .wrap { padding-top: 96px; }
  .lab__in { grid-template-columns: 1fr; gap: 48px; }
  .board__in { grid-template-columns: 1fr; gap: 40px; }
  .join__item { padding: 40px 32px; min-height: 260px; }
  .join__tit { font-size: 25px; }
  .contact__in { grid-template-columns: 1fr; gap: 40px; }
  .contact__info { order: -1; }
}
@media (max-width: 768px) {
  .hero { min-height: 400px; }
  .hero__photo { top: var(--hd-h); left: 0; width: 100%; bottom: auto; height: 38%; }
  .hero__in { justify-content: flex-end; padding: 0 0 26px; }
  .hero__caps, .hero__ctrl { width: 100%; }
  .hero__eyebrow { font-size: 14px; }
  .hero__title { margin-top: 6px; font-size: 25px; }
  .hero__desc { margin-top: 6px; font-size: 15px; line-height: 1.55; }
  .hero__ctrl { margin-top: 16px; }
  .hero__btn { width: 36px; height: 36px; }
  .svc__list a { grid-template-columns: 34px 1fr 22px; gap: 14px; padding: 22px 0; }
  .svc__img { display: none; }
  .svc__tit { font-size: 20px; }
  .svc__txt { font-size: 15px; }
  .book { flex-basis: 62%; }
  .track { gap: 18px; }
  .book__tit { font-size: 17px; }
  .books .wrap { padding-top: 80px; }
  .lab__nums > div { padding: 24px 0 24px 18px; }
  .lab__nums > div:nth-child(odd) { padding-right: 18px; }
  .lab__nums b { font-size: 36px; }
  .lab__nums dd { font-size: 15px; }
  .tabs { gap: 16px; }
  .board__top { flex-wrap: wrap; }
  .board__list li { flex-direction: column; align-items: flex-start; gap: 0; padding: 14px 0; }
  .board__list a { width: 100%; padding: 0; }
  .board__date { margin-top: 4px; font-size: 13.5px; }
  .board__side { padding: 28px 24px; }
  .board__tel { font-size: 27px; }
  .join__grid { grid-template-columns: 1fr; gap: 14px; }
  .join__item { min-height: 0; padding: 34px 24px; }
  .join__tit { font-size: 22px; }
  .contact__list div { flex-direction: column; gap: 2px; }
  .contact__list dd { font-size: 16px; }
  .contact__map, .contact__map iframe { min-height: 300px; }
}

/* ---------- Contact 지도 : 카카오맵 좌표 주소(2026-11-06). 왼쪽 검색 창(약 420px)을 상자 밖으로 밀어 가리고,
   휴대폰에서도 460px 높이를 둡니다(낮으면 카카오가 검색 창을 위에 띄워 지도를 가립니다) ---------- */
.contact__map { position: relative; min-height: 501px; overflow: hidden; }
.contact__map iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; min-height: 0; }
@media (max-width: 768px) { .contact__map, .contact__map iframe { min-height: 0; } .contact__map { min-height: 460px; } }

/* ---------- 원본 assets/css/sub.css ---------- */
/* sub.css — 서브페이지 전용입니다(common.css 다음에 불러옵니다). 메인 화면에는 쓰이지 않습니다.
   섹션 순서와 바탕(인사말) : 서브 비주얼(연베이지 면 + 본문 폭 사진 띠) → 2차 메뉴 탭(흰) → CEO 메시지(흰)
   → 네 가지 원칙(연베이지 면) → 걸어온 길(흰) → 푸터(짙은 회갈색). 사진 · 색 면 섹션끼리 바로 붙지 않습니다. */

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 헤더 : 지금 보고 있는 1차 메뉴에 메인 hover 와 같은 버건디 선 하나를 둡니다(메가메뉴가 열리면 hover 표시만 남습니다) */
.hd:not(.is-open) .gnb__list > li.is-current .gnb__link::after { transform: scaleX(1); }

/* ===== 서브 비주얼 : 연베이지 면에 위치 · 제목, 아래 사진 띠(200px)는 아래쪽 절반이 흰 바탕(::after)에 걸칩니다.
   전체 높이 약 420px 로 메인 비주얼(50vh, 최소 400px)보다 낮습니다 ===== */
.pvis { --photo-h: 200px; position: relative; background: var(--beige); }
.pvis::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--photo-h) / 2); background: #fff; }
.pvis .wrap { position: relative; z-index: 1; padding-top: calc(var(--hd-h) + 22px); }
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--mute); }
.crumb li { display: flex; align-items: center; }
.crumb li + li::before { content: ''; width: 5px; height: 5px; margin: 0 12px 0 10px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.crumb a { display: flex; align-items: center; }
.crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.crumb .ico { width: 16px; height: 16px; }
.crumb li[aria-current] { font-weight: 600; color: var(--ink); }
.pvis__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; height: 100px; padding-bottom: 26px; }
.pvis__title { font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -.05em; color: var(--ink); }
.pvis__desc { max-width: 520px; font-size: 16.5px; text-align: right; color: var(--text); }
.pvis__photo { height: var(--photo-h); overflow: hidden; background: #e9e0d3; }
.pvis__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.pvis__head > *, .pvis__photo { animation: pvis-up .8s var(--ease) both; }
.pvis__photo { animation-delay: .12s; }
@keyframes pvis-up { from { opacity: 0; transform: translateY(14px); } }

/* ===== 2차 메뉴 탭 : 위아래 얇은 선 사이 글자 탭, 현재 페이지는 버건디 글자 + 밑줄 ===== */
.snb { padding-top: 44px; }
.snb__list { display: flex; border-bottom: 1px solid var(--line); }
.snb__list a { position: relative; display: flex; align-items: center; height: 60px; margin-right: 44px; font-size: 17px; font-weight: 500; white-space: nowrap; color: var(--mute); transition: color .25s; }
.snb__list a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--wine); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.snb__list a:hover { color: var(--ink); }
.snb__list a[aria-current] { font-weight: 700; color: var(--wine); }
.snb__list a:hover::after, .snb__list a[aria-current]::after { transform: scaleX(1); }

/* ===== CEO 메시지 : 왼쪽 고정 폭 제목(메인 교육 서비스와 같은 360px), 오른쪽 편지 ===== */
.greet { padding-top: 110px; }
.greet__in { display: grid; grid-template-columns: 360px 1fr; gap: 80px; align-items: start; }
.greet__lead { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); font-size: 25px; font-weight: 600; line-height: 1.6; letter-spacing: -.035em; color: var(--wine); }
.greet__letter p { font-size: 17px; line-height: 1.9; }
.greet__letter p + p { margin-top: 20px; }
.greet__letter .greet__lead + p { margin-top: 0; font-weight: 600; color: var(--ink); }
.greet__letter .sign { display: flex; align-items: baseline; justify-content: flex-end; gap: 14px; margin-top: 48px; }
.sign span { font-size: 15px; color: var(--mute); }
.sign strong { font-size: 26px; font-weight: 700; letter-spacing: .02em; color: var(--ink); }

/* ===== 네 가지 원칙 : 연베이지 색 면, 왼쪽 소개 · 오른쪽 2×2 (메인 연구소 숫자 칸과 같은 선) ===== */
.rule { background: var(--beige); }
.rule__in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.rule__txt { margin-top: 18px; }
.rule__list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #d9cfc1; }
.rule__list li { display: grid; align-content: start; padding: 34px 0 36px 32px; border-bottom: 1px solid #d9cfc1; }
.rule__list li:nth-child(odd) { padding-left: 0; padding-right: 32px; border-right: 1px solid #d9cfc1; }
.rule__num { font-size: 14px; font-weight: 700; color: var(--wine); font-variant-numeric: tabular-nums; }
.rule__tit { margin-top: 8px; font-size: 23px; font-weight: 700; letter-spacing: -.04em; color: var(--ink); }
.rule__list p { margin-top: 10px; font-size: 16px; color: var(--text); }

/* ===== 걸어온 길 : 가로 선 위 연도 5개(작은 사각 표시) ===== */
.road__list { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--ink); }
.road__list li { position: relative; display: grid; align-content: start; gap: 8px; padding: 34px 28px 0 0; }
.road__list li::before { content: ''; position: absolute; left: 0; top: -6px; width: 10px; height: 10px; background: var(--wine); }
.road__list b { font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.road__list span { font-size: 15.5px; color: var(--text); }

/* ===== 반응형 ===== */
@media (max-width: 1280px) {
  .rule__in { grid-template-columns: 1fr 1.4fr; gap: 56px; }
}
@media (max-width: 1024px) {
  .pvis { --photo-h: 180px; }
  .pvis__head { height: 92px; }
  .pvis__title { font-size: 40px; }
  .snb__list { overflow-x: auto; scrollbar-width: none; }
  .snb__list::-webkit-scrollbar { display: none; }
  .greet { padding-top: 88px; }
  .greet__in, .rule__in { grid-template-columns: 1fr; gap: 40px; }
  .road__list { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); }
  .road__list li { grid-template-columns: 76px 1fr; align-items: baseline; padding: 0 0 26px 26px; }
  .road__list li:last-child { padding-bottom: 0; }
  .road__list li::before { left: -6px; top: 9px; }
  .road__list b { font-size: 22px; }
}
@media (max-width: 768px) {
  .pvis { --photo-h: 150px; }
  .pvis .wrap { padding-top: calc(var(--hd-h) + 16px); }
  .crumb ol { font-size: 13.5px; }
  .pvis__head { display: block; height: auto; padding: 22px 0 22px; }
  .pvis__title { font-size: 32px; }
  .pvis__desc { margin-top: 10px; font-size: 15px; text-align: left; }
  .snb { padding-top: 28px; }
  .snb__list a { height: 52px; margin-right: 28px; font-size: 15.5px; }
  .greet { padding-top: 64px; }
  .greet__lead { padding-bottom: 24px; margin-bottom: 24px; font-size: 20px; }
  .greet__letter p { font-size: 16.5px; line-height: 1.85; }
  .greet__letter .sign { margin-top: 36px; }
  .sign strong { font-size: 22px; }
  .rule__list { grid-template-columns: 1fr; }
  .rule__list li, .rule__list li:nth-child(odd) { padding: 26px 0; border-right: 0; }
  .rule__tit { font-size: 20px; }
  .road__list li { grid-template-columns: 1fr; gap: 4px; }
}


/* =====================================================================
   서브페이지 추가 (2026-11-06) — 위의 인사말 규칙은 그대로 두고, 새로 만든 서브가 함께 쓰는 모양을 덧붙였습니다.
   게시판 · 글쓰기 · 회원가입 · 정보 입력 화면은 모두 본문 폭(.wrap, 최대 1320px) 그대로 씁니다. 좁게 두는 것은 로그인 상자뿐입니다.
   ===================================================================== */

/* 2차 탭 밑줄은 늘 1개 : 다른 탭에 마우스를 올리면 그 탭에만 선이 생기고 현재 탭 선은 거둡니다 */
@media (hover: hover) {
  .snb__list:has(a:hover) a[aria-current]:not(:hover)::after { transform: scaleX(0); }
}

/* ---------- 공통 : 탭 아래 첫 섹션 · 색 면 · 섹션 머리 · 글 ---------- */
.sec--first { padding-top: 100px; }
.sec--beige { background: var(--beige); }
.sec-head { margin-bottom: 48px; }
.sec-head__txt { margin-top: 16px; color: var(--text); }
.lead { font-size: 23px; font-weight: 600; line-height: 1.6; letter-spacing: -.035em; color: var(--ink); }
.prose p { font-size: 17px; line-height: 1.9; }
.prose p + p { margin-top: 18px; }
.prose .lead + p { margin-top: 24px; }
.split { display: grid; grid-template-columns: 360px 1fr; gap: 80px; align-items: start; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border: 1px solid #cfc4b6; background: #fff; font-size: 15.5px; font-weight: 600; color: var(--ink); transition: border-color .25s, color .25s; }
.btn-ghost .ico { width: 16px; height: 16px; stroke-width: 2; }
.btn-ghost:hover { border-color: var(--wine); color: var(--wine); }
button.btn-solid { border: 0; cursor: pointer; }

/* ---------- 사진 + 글 (페이지당 한 번) ---------- */
.fig { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.fig__img { aspect-ratio: 4 / 3; overflow: hidden; background: #e9e0d3; }
.fig__img img { width: 100%; height: 100%; object-fit: cover; }
.fig__body .title { margin-bottom: 24px; }

/* ---------- 숫자 칸 : 위 굵은 선, 칸 사이 얇은 선 ---------- */
.stat { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.stat--3 { grid-template-columns: repeat(3, 1fr); }
.stat > div { padding: 26px 22px 28px 0; border-bottom: 1px solid var(--line); }
.stat > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dt { font-size: 15px; font-weight: 600; color: var(--mute); }
.stat dd { margin-top: 8px; font-size: 17px; color: var(--ink); }
.stat b { margin-right: 3px; font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--wine); font-variant-numeric: tabular-nums; }
.stat p { margin-top: 4px; font-size: 14.5px; color: var(--mute); }
.fig__body .stat { margin-top: 36px; }
.fig__body .stat b { font-size: 32px; }

/* ---------- 진행 단계 : 가로 선 위 버건디 짧은 선 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps li { position: relative; padding: 30px 28px 0 0; border-top: 2px solid var(--line); }
.steps li::before { content: ''; position: absolute; left: 0; top: -2px; width: 48px; height: 2px; background: var(--wine); }
.steps b { display: block; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--wine); }
.steps strong { display: block; margin-top: 8px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.steps p { margin-top: 8px; font-size: 16px; }

/* ---------- 표 (페이지당 하나) : 좁은 화면에서는 표 상자만 가로로 밉니다 ---------- */
.tbl-wrap { overflow-x: auto; }
.tbl { min-width: 680px; border-top: 2px solid var(--ink); font-size: 16px; }
.tbl th, .tbl td { padding: 17px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl thead th { font-size: 15px; font-weight: 600; color: var(--mute); background: #faf7f2; }
.tbl tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.tbl td { color: var(--text); }
.tbl-note { margin-top: 14px; font-size: 14.5px; color: var(--mute); }

/* ---------- 번호 목록 3칸 (가치 · 인재상) ---------- */
.vals { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d9cfc1; border-bottom: 1px solid #d9cfc1; }
.vals li { padding: 34px 32px 36px; }
.vals li:first-child { padding-left: 0; }
.vals li + li { border-left: 1px solid #d9cfc1; }
.vals .rule__tit { display: block; }

/* ---------- 비전 문장 ---------- */
.vision, .prose .vision { font-size: 34px; font-weight: 700; line-height: 1.5; letter-spacing: -.045em; color: var(--ink); }
.vision em { font-style: normal; color: var(--wine); }

/* ---------- 연혁 : 왼쪽 시기, 오른쪽 해마다 한 일 ---------- */
.hist { border-top: 2px solid var(--ink); }
.hist__era { display: grid; grid-template-columns: 300px 1fr; gap: 60px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.hist__era h4 { font-size: 34px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--wine); font-variant-numeric: tabular-nums; }
.hist__era h4 small { display: block; margin-top: 12px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.hist__list li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 7px 0; }
.hist__list b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- 조직도 ---------- */
.org { display: grid; justify-items: center; }
.org__ceo { padding: 18px 48px; background: var(--wine); font-size: 19px; font-weight: 700; color: #fff; }
.org__line { width: 1px; height: 36px; background: #cfc4b6; }
.org__staff { display: flex; gap: 24px; }
.org__staff span { padding: 12px 26px; border: 1px solid var(--wine); background: #fff; font-size: 16px; font-weight: 600; color: var(--wine); }
.org__divs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; padding-top: 36px; }
.org__divs::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 0; height: 1px; background: #cfc4b6; }
.org__div { position: relative; padding: 0 12px; }
.org__div::before { content: ''; position: absolute; left: 50%; top: -36px; width: 1px; height: 36px; background: #cfc4b6; }
.org__div h4 { padding: 16px; background: var(--ink); text-align: center; font-size: 17px; font-weight: 700; color: #fff; }
.org__div ul { padding: 14px 18px 16px; border: 1px solid var(--line); border-top: 0; }
.org__div li { padding: 5px 0; text-align: center; font-size: 15.5px; color: var(--text); }

/* ---------- 오시는 길 : 카카오맵 좌표 주소. 왼쪽 검색 창(약 420px)은 상자 밖으로 밀어 가립니다 ---------- */
.map { position: relative; height: 560px; overflow: hidden; background: #e9e0d3; }
.map iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; border: 0; }
.loc { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 56px; }
.loc h4 { font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.info { margin: 20px 0 30px; border-top: 1px solid #d9cfc1; }
.info div { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid #d9cfc1; }
.info dt { flex: none; width: 84px; font-size: 15px; font-weight: 600; color: var(--mute); }
.info dd { font-size: 16.5px; color: var(--ink); }
.info a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.route { margin-top: 20px; border-top: 1px solid #d9cfc1; }
.route li { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid #d9cfc1; }
.route b { font-weight: 700; color: var(--wine); }
.route span { font-size: 16px; }

/* ---------- 사진 카드 (서비스 과정 · 도서 갤러리) : 제목 아래 내용 두 줄 말줄임 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 32px; }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 28px; }
.card a { display: block; }
.card__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #e9e0d3; }
.gal .card__img { aspect-ratio: 4 / 5; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card a:hover .card__img img { transform: scale(1.04); }
.card__tag { position: absolute; left: 0; top: 0; padding: 6px 12px; background: var(--wine); font-size: 13px; font-weight: 600; line-height: 1.3; color: #fff; }
.card__cat { display: block; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--wine); }
.card__tit { display: block; margin-top: 6px; font-size: 20px; font-weight: 700; line-height: 1.45; letter-spacing: -.035em; color: var(--ink); }
.card a:hover .card__tit { text-decoration: underline; text-underline-offset: 5px; }
.card__txt { display: -webkit-box; margin-top: 8px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15.5px; line-height: 1.7; color: var(--text); }
.card__meta { display: block; margin-top: 10px; font-size: 14px; color: var(--mute); }

/* ---------- 분야별 도서 목록 ---------- */
.catlist { border-top: 2px solid var(--ink); }
.catlist > li { display: grid; grid-template-columns: 280px 1fr auto; gap: 48px; align-items: start; padding: 36px 0; border-bottom: 1px solid var(--line); }
.catlist h4 { font-size: 24px; font-weight: 700; letter-spacing: -.035em; color: var(--ink); }
.catlist h4 span { display: block; margin-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--wine); }
.catlist p { font-size: 16px; }
.catlist__books { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 14px; font-size: 15.5px; color: var(--ink); }
.catlist__books a { border-bottom: 1px solid #cfc4b6; }
.catlist__books a:hover { color: var(--wine); border-color: var(--wine); }

/* ---------- 도서 보기 ---------- */
.bv { display: grid; grid-template-columns: 440px 1fr; gap: 72px; align-items: start; padding-top: 40px; border-top: 2px solid var(--ink); }
.bv__img { aspect-ratio: 4 / 5; overflow: hidden; background: #e9e0d3; }
.bv__img img { width: 100%; height: 100%; object-fit: cover; }
.bv__cat { font-size: 14.5px; font-weight: 600; color: var(--wine); }
.bv__title { margin-top: 10px; font-size: 36px; font-weight: 700; line-height: 1.35; letter-spacing: -.045em; color: var(--ink); }
.bv__sub { margin-top: 10px; font-size: 18px; color: var(--text); }
.bv .info { margin: 28px 0 0; }
.bv__price { margin-top: 24px; font-size: 16px; color: var(--mute); }
.bv__price b { margin-right: 4px; font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.bv__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.bv-sec { display: grid; grid-template-columns: 200px 1fr; gap: 48px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.bv-sec h4 { font-size: 20px; font-weight: 700; color: var(--ink); }
.bv-sec p + p { margin-top: 14px; }
.toc li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.toc b { display: inline-block; width: 84px; white-space: nowrap; font-weight: 700; color: var(--wine); }

/* ---------- 게시판 목록 (그누보드 list.skin.php 자리) ---------- */
.cate { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cate a { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border: 1px solid #d8cfc3; font-size: 15px; color: var(--text); transition: border-color .25s, color .25s; }
.cate a:hover { border-color: var(--wine); color: var(--wine); }
.cate a[aria-current] { border-color: var(--ink); background: var(--ink); color: #fff; }
.bbs-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.bbs-top__total { font-size: 15.5px; color: var(--mute); }
.bbs-top__total b { font-weight: 700; color: var(--wine); }
.search { display: flex; height: 48px; border: 1px solid #cfc4b6; background: #fff; }
.search select { padding: 0 12px; border: 0; border-right: 1px solid var(--line); background: #fff; font-size: 15px; }
.search input { width: 260px; padding: 0 14px; border: 0; font-size: 15.5px; }
.search button { display: grid; place-items: center; width: 48px; color: var(--ink); }
.search button:hover { color: var(--wine); }
.bbs { table-layout: fixed; border-top: 2px solid var(--ink); font-size: 15px; }
.bbs th { height: 56px; border-bottom: 1px solid #cfc4b6; font-size: 15px; font-weight: 600; color: var(--mute); }
.bbs td { height: 66px; padding: 0 12px; border-bottom: 1px solid var(--line); text-align: center; color: var(--mute); font-variant-numeric: tabular-nums; }
.bbs .c-num { width: 90px; } .bbs .c-cat { width: 130px; } .bbs .c-name { width: 120px; } .bbs .c-date { width: 120px; } .bbs .c-hit { width: 90px; } .bbs .c-state { width: 110px; }
.bbs tr.is-notice td { background: #faf7f2; }
.bbs td.bbs__subj { text-align: left; color: var(--ink); }
.bbs__subj a { display: inline-block; max-width: calc(100% - 64px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; font-size: 16.5px; }
.bbs__subj a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.bbs__subj .ico { display: inline-block; width: 16px; height: 16px; margin-left: 8px; vertical-align: middle; color: var(--mute); }
.bbs__subj .bbs__re { margin-right: 6px; color: var(--wine); font-weight: 600; }
.bbs__badge { display: inline-block; padding: 3px 9px; background: var(--wine); font-size: 13px; font-weight: 600; line-height: 1.4; color: #fff; }
.bbs__badge--line { border: 1px solid var(--wine); background: #fff; color: var(--wine); padding: 2px 8px; }
.bbs__badge--gray { background: #eee8df; color: var(--text); }
.bbs-btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.paging { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.paging a, .paging strong { display: grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid transparent; font-size: 15.5px; color: var(--mute); }
.paging strong { background: var(--wine); font-weight: 600; color: #fff; }
.paging a:hover { border-color: #cfc4b6; color: var(--ink); }
.paging .ico { width: 16px; height: 16px; }

/* ---------- 게시판 보기 (view.skin.php 자리) ---------- */
.view__head { padding: 34px 0 26px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.view__cat { font-size: 14.5px; font-weight: 600; color: var(--wine); }
.view__title { margin-top: 8px; font-size: 30px; font-weight: 700; line-height: 1.45; letter-spacing: -.04em; color: var(--ink); }
.view__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; font-size: 15px; color: var(--mute); }
.view__file { display: grid; gap: 6px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: #faf7f2; }
.view__file a { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-size: 15.5px; color: var(--ink); }
.view__file a .ico { width: 17px; height: 17px; color: var(--wine); }
.view__file a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.view__file small { color: var(--mute); }
.view__body { padding: 44px 0 56px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.9; }
.view__body p + p { margin-top: 16px; }
.view__body h4 { margin: 34px 0 10px; font-size: 20px; font-weight: 700; color: var(--ink); }
.view__body ul { margin-top: 10px; }
.view__body li { position: relative; padding-left: 16px; }
.view__body li::before { content: ''; position: absolute; left: 0; top: .82em; width: 5px; height: 5px; background: var(--wine); }
.answer { padding: 34px 36px 36px; border-bottom: 1px solid var(--line); background: var(--beige); }
.answer__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.answer__head strong { font-size: 18px; font-weight: 700; color: var(--ink); }
.answer__head time { font-size: 15px; color: var(--mute); }
.answer p { margin-top: 14px; font-size: 16.5px; line-height: 1.85; }
.pn li { display: grid; grid-template-columns: 110px 1fr 120px; align-items: center; gap: 16px; height: 62px; border-bottom: 1px solid var(--line); font-size: 16px; }
.pn b { font-weight: 600; color: var(--mute); }
.pn a, .pn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.pn span { color: var(--mute); }
.pn a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.pn time { text-align: right; font-size: 15px; color: var(--mute); }

/* ---------- 입력 폼 (글쓰기 · 회원가입 · 문의) : 본문 폭 그대로 ---------- */
.form__note { margin-bottom: 14px; font-size: 15px; color: var(--mute); }
.form__note em, .field__label em, .agree__tit em { margin-left: 3px; font-style: normal; color: var(--wine); }
.form__note em { margin: 0 2px 0 0; }
.form__rows { border-top: 2px solid var(--ink); }
.field { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--line); }
.field__label { display: flex; align-items: center; padding: 18px 24px; background: #faf7f2; font-size: 16px; font-weight: 600; color: var(--ink); }
.field > div { min-width: 0; padding: 12px 24px; }
.inp { width: 100%; height: 50px; padding: 0 16px; border: 1px solid #cfc4b6; border-radius: 0; background: #fff; font-size: 16px; color: var(--ink); }
textarea.inp { height: auto; padding: 14px 16px; line-height: 1.7; resize: vertical; }
.inp:focus { border-color: var(--wine); }
.inp--half { max-width: 440px; }
.inp-row { display: flex; gap: 8px; max-width: 560px; }
.inp-row .btn-ghost { flex: none; height: 50px; }
.field__help { margin-top: 6px; font-size: 14.5px; color: var(--mute); }
.checks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; min-height: 50px; }
.check { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; color: var(--ink); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--wine); }
.file { padding: 12px 0; font-size: 15px; }
.agree { margin-top: 40px; }
.agree__tit { margin-bottom: 12px; font-size: 17px; font-weight: 700; color: var(--ink); }
.agree__box { height: 132px; margin-bottom: 14px; padding: 18px 22px; overflow-y: auto; border: 1px solid var(--line); background: #faf7f2; font-size: 15px; line-height: 1.8; }
.agree__box p + p { margin-top: 6px; }
.agree__box a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.form__btns { display: flex; justify-content: center; gap: 10px; margin-top: 48px; }
.form__btns .btn-solid, .form__btns .btn-ghost { justify-content: center; min-width: 160px; }
.form__h { margin: 72px 0 16px; }
.form__h:first-child { margin-top: 0; }

/* ---------- 로그인 : 작은 입력 상자만 가운데에 좁게 둡니다 ---------- */
.login { max-width: 460px; margin: 0 auto; padding-top: 40px; border-top: 2px solid var(--ink); }
.login__tit { font-size: 26px; font-weight: 700; letter-spacing: -.04em; color: var(--ink); }
.login__txt { margin-top: 8px; font-size: 15.5px; color: var(--mute); }
.login__fields { display: grid; gap: 10px; margin-top: 28px; }
.login__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 15px; }
.login__opt > a { color: var(--mute); }
.login__opt > a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.login .btn-solid, .login .btn-ghost { justify-content: center; width: 100%; margin-top: 24px; }
.login .btn-ghost { margin-top: 10px; }
.login__join { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--mute); }

/* ---------- 가입 완료 ---------- */
.done { padding: 72px 24px 76px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); text-align: center; }
.done__mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; background: var(--wine); color: #fff; }
.done__mark .ico { width: 30px; height: 30px; stroke-width: 2; }
.done__tit { margin-top: 26px; font-size: 30px; font-weight: 700; letter-spacing: -.04em; color: var(--ink); }
.done p { margin-top: 12px; color: var(--text); }
.done .info { max-width: 560px; margin: 32px auto 0; text-align: left; }
.done .form__btns { margin-top: 40px; }

/* ---------- 아이디 · 비밀번호 찾기 : 두 칸 모두 본문 폭을 나눠 씁니다 ---------- */
.find { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.find__tit { font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.find__txt { margin: 6px 0 20px; font-size: 15.5px; color: var(--mute); }
.find .field { grid-template-columns: 140px 1fr; }
.find .form__btns { justify-content: flex-start; margin-top: 24px; }

/* ---------- 자주 묻는 질문 (details · summary, 스크립트 없음) ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 40px 120px 1fr 24px; align-items: center; gap: 12px; padding: 24px 4px; list-style: none; cursor: pointer; font-size: 17.5px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--wine); }
.faq__q, .faq__a b { font-size: 20px; font-weight: 700; color: var(--wine); }
.faq__cat { font-size: 14.5px; font-weight: 500; color: var(--mute); }
.faq summary .ico { transition: transform .35s var(--ease); color: var(--mute); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 24px 28px 28px 4px; background: #faf7f2; }
.faq__a b { color: var(--ink); }
.faq__a p { font-size: 16.5px; line-height: 1.85; }
.faq__a p + p { margin-top: 8px; }
.faq-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding: 30px 36px; background: var(--beige); }
.faq-more strong { font-size: 20px; font-weight: 700; color: var(--ink); }
.faq-more p { margin-top: 4px; font-size: 15.5px; }

/* ---------- 안내 띠 (문의 · 신청 바로가기) ---------- */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 40px 44px; border-left: 4px solid var(--wine); background: var(--beige); }
.band strong { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.035em; color: var(--ink); }
.band p { margin-top: 6px; font-size: 16px; }
.band__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 교육 포럼 : 다음 포럼 상자 ---------- */
.forum { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; padding: 48px 52px; background: var(--beige); }
.forum__no { font-size: 14.5px; font-weight: 700; color: var(--wine); }
.forum__tit { margin-top: 10px; font-size: 32px; font-weight: 700; line-height: 1.4; letter-spacing: -.045em; color: var(--ink); }
.forum__txt { margin-top: 16px; }
.forum .info { margin: 0; }
.forum .btn-solid { margin-top: 26px; }

/* ---------- 약관 · 정책 본문 ---------- */
.doc { border-top: 2px solid var(--ink); padding-top: 36px; }
.doc__date { display: inline-block; padding: 8px 16px; background: #faf7f2; font-size: 15px; color: var(--text); }
.doc h4 { margin: 44px 0 12px; font-size: 20px; font-weight: 700; color: var(--ink); }
.doc p, .doc li { font-size: 16.5px; line-height: 1.9; }
.doc p + p { margin-top: 10px; }
.doc ol { margin-top: 8px; padding-left: 22px; list-style: decimal; }
.doc ol li + li { margin-top: 4px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  .split { grid-template-columns: 300px 1fr; gap: 56px; }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .bv { grid-template-columns: 380px 1fr; gap: 56px; }
  .catlist > li { grid-template-columns: 240px 1fr; }
  .catlist > li > .textlink { grid-column: 2; justify-self: start; }
}
@media (max-width: 1024px) {
  .sec--first { padding-top: 80px; }
  .split, .fig, .loc, .forum { grid-template-columns: 1fr; gap: 40px; }
  .stat { grid-template-columns: repeat(2, 1fr); }
  .stat > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat--3 { grid-template-columns: repeat(3, 1fr); }
  .stat--3 > div:nth-child(odd) { padding-left: 24px; border-left: 1px solid var(--line); }
  .stat--3 > div:first-child { padding-left: 0; border-left: 0; }
  .steps, .steps--5 { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .vals { grid-template-columns: 1fr; }
  .vals li, .vals li:first-child { padding: 28px 0; }
  .vals li + li { border-left: 0; border-top: 1px solid #d9cfc1; }
  .hist__era { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; }
  .org__divs { grid-template-columns: repeat(2, 1fr); row-gap: 24px; padding-top: 24px; border-top: 1px solid #cfc4b6; }
  .org__divs::before, .org__div::before { display: none; }
  .map { height: 480px; }
  .bv { grid-template-columns: 1fr; gap: 36px; }
  .bv__img { max-width: 480px; }
  .catlist > li { grid-template-columns: 1fr; gap: 16px; }
  .catlist > li > .textlink { grid-column: auto; }
  .find { grid-template-columns: 1fr; gap: 56px; }
  .forum { padding: 40px 36px; }
}
@media (max-width: 768px) {
  .sec--first { padding-top: 64px; }
  .sec-head { margin-bottom: 32px; }
  .lead { font-size: 19px; }
  .prose p { font-size: 16.5px; line-height: 1.85; }
  .vision, .prose .vision { font-size: 24px; }
  .stat b { font-size: 30px; }
  .stat--3 { grid-template-columns: 1fr; }
  .stat--3 > div, .stat--3 > div:nth-child(odd) { padding: 20px 0; border-left: 0; }
  .steps, .steps--5 { grid-template-columns: 1fr; row-gap: 28px; }
  .steps li { padding-right: 0; }
  .cards { grid-template-columns: 1fr; gap: 36px; }
  .gal { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .card__tit { font-size: 17px; }
  .card__txt { font-size: 14.5px; }
  .hist__era h4 { font-size: 28px; }
  .hist__list li { grid-template-columns: 56px 1fr; gap: 12px; }
  .org__staff { flex-direction: column; gap: 8px; align-items: stretch; }
  .org__staff span { text-align: center; }
  .org__divs { grid-template-columns: 1fr; }
  .org__div { padding: 0; }
  .map { height: 480px; }
  .info div { flex-direction: column; gap: 2px; }
  .route li { grid-template-columns: 1fr; gap: 2px; }
  .bv__title { font-size: 27px; }
  .bv-sec { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .catlist h4 { font-size: 21px; }
  .bbs-top { flex-direction: column; align-items: stretch; }
  .search input { width: auto; flex: 1; min-width: 0; }
  .bbs .hide-m { display: none; }
  .bbs .c-date { width: 92px; }
  .bbs td { height: auto; padding: 16px 0 16px 4px; font-size: 14px; }
  .bbs td.bbs__subj { min-width: 0; padding-left: 0; }
  .bbs__subj a { max-width: calc(100% - 30px); font-size: 15.5px; }
  .view__title { font-size: 23px; }
  .view__body { padding: 32px 0 40px; font-size: 16.5px; }
  .answer { padding: 26px 22px 28px; }
  .pn li { grid-template-columns: 70px 1fr; height: auto; padding: 14px 0; }
  .pn time { display: none; }
  .field, .find .field { grid-template-columns: 1fr; }
  .field__label { padding: 16px 0 4px; background: none; }
  .field > div { padding: 6px 0 16px; }
  .inp-row .btn-ghost { padding: 0 16px; }
  .form__btns .btn-solid, .form__btns .btn-ghost { flex: 1; min-width: 0; }
  .done { padding: 56px 8px 60px; }
  .done__tit { font-size: 24px; }
  .faq summary { grid-template-columns: 28px 1fr 20px; gap: 8px; padding: 20px 0; font-size: 16px; }
  .faq__cat { display: none; }
  .faq__a { grid-template-columns: 28px 1fr; gap: 8px; padding: 20px 16px 22px 0; }
  .faq-more, .band { padding: 28px 22px; }
  .band strong { font-size: 20px; }
  .forum { padding: 32px 22px; }
  .forum__tit { font-size: 24px; }
}

/* ---------- 간격 보조 ---------- */
.stat--gap, .band--gap { margin-top: 72px; }
.vals p { margin-top: 10px; font-size: 16px; }
.bv + .bv-sec { margin-top: 56px; border-top: 1px solid var(--line); }
.tbl-note .ico { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; }
@media (max-width: 768px) { .stat--gap, .band--gap { margin-top: 48px; } }

/* ==========================================================================
   연결부 — 시안 14 에 없던 것만 둡니다(그누보드 화면 · 올웹 로고 · 지도 · 퀵메뉴 · 맨 위로 · 팝업).
   ========================================================================== */

[hidden] { display: none !important; }

/* 그누보드 css/default.css 의 #hd(검은 바탕 · 최소 폭 1200px)를 되돌립니다. 시안 14 의 머리글 아이디가 같은 이름입니다(지침 3-6) */
#hd.hd { min-width: 0; background: transparent; }
#hd.hd.is-solid, #hd.hd.is-open { background: #fff; }

/* ---------- 로고 : 올웹 로고입니다(지침 3-1). 원 색은 템플릿 색과 상관없이 CI 색 그대로 둡니다 ---------- */
.logo, a.logo { --accent: #12c29a; }
.logo a, a.logo { color: var(--ink); }
a.logo--foot { color: #fff; }   /* 짙은 푸터 위 로고 글자 : a.logo 보다 앞서야 해서 a 를 붙입니다 */
.logo-svg { display: block; height: 30px; width: auto; }
.logo-img { display: block; height: 30px; width: auto; max-width: 220px; object-fit: contain; }
.drawer__head .logo-svg { height: 26px; }
/* 콘솔에서 밝은 바탕용 · 어두운 바탕용 로고를 둘 다 올리면 머리글에는 밝은 바탕용을 냅니다(맨 위도 연베이지 바탕입니다) */
.hd .logo-img--dark { display: none; }
@media (max-width: 768px) {
  .logo-svg, .logo-img { height: 26px; }
}

/* ---------- 지도 : 키가 없으면 카카오맵 좌표 주소를 화면에 들어온 뒤에 넣고(스크롤 튐 없음), 키가 있으면 allweb_tpl_map_html 이 그립니다 ---------- */
.contact__map .biz-map, .map .biz-map { position: absolute; inset: 0; overflow: hidden; }
.biz-map iframe { position: absolute; left: -420px; top: 0; width: calc(100% + 420px); max-width: none; height: 100%; min-height: 0; border: 0; }
.biz-map > .loc-map-go { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.loc-map-go { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; background: var(--wine); font-size: 15.5px; font-weight: 600; color: #fff; white-space: nowrap; transition: background-color .3s; }
.loc-map-go:hover { background: #5f1620; }
.loc-map-foot { display: none; }   /* 키가 있을 때 지도 아래 링크 — 원본은 「큰 지도 보기」 단추가 같은 일을 합니다 */

/* ---------- 그누보드 화면(전체검색 · 새글 · 기본 스킨)을 템플릿 폭 안에 넣습니다 ---------- */
.allweb-gnu { width: calc(100% - var(--side) * 2); max-width: 1320px; margin: 0 auto; padding: 110px 0; }
.allweb-gnu .btn_submit, .allweb-gnu .btn_b01, .allweb-gnu .btn_b02 { border-radius: 0; background: var(--wine); color: #fff; }
/* 자동등록방지 : 리셋의 img{display:block} 때문에 그림 · 입력칸 · 단추가 두 줄이 됩니다(지침 3-2) */
#captcha #captcha_img { display: inline-block; vertical-align: middle; }
#captcha #captcha_key { height: 50px; padding: 0 12px; vertical-align: middle; border: 1px solid #d8cfc3; }
#captcha button { vertical-align: middle; }
#captcha #captcha_info { display: block; margin-top: 6px; font-size: 14.5px; color: var(--mute); }

/* ---------- 메인 비주얼 : 원본에는 단추가 없습니다. 콘솔에서 단추를 넣으셨을 때만 설명 아래에 나옵니다 ---------- */
.hero__btn-link { margin-top: 28px; }

/* ---------- 게시판 · 회원 화면 중 시안에 없는 그누보드 부품 ---------- */
.bbs td.bbs__empty { padding: 60px 0; text-align: center; color: var(--mute); }
@media (max-width: 768px) { .bbs td.bbs__empty { display: block; padding: 40px 0; } }
.bbs__cmt { margin-left: 6px; font-size: 14px; color: var(--wine); }
.gal__empty { padding: 60px 0; text-align: center; color: var(--mute); }
.view__body img { max-width: 100%; height: auto; }
.view__body iframe { max-width: 100%; }
.view__body > p > img { display: block; width: 100%; height: auto; }   /* 정화기가 figure 를 지운 예시 글 사진입니다 */
.answer + .answer { margin-top: 16px; }
.answer__head a { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
/* 댓글 : 시안 14 에는 댓글 화면이 없어 답변 상자와 같은 말씨(짙은 회색 위 선 · 옅은 선 · 직각)로 그렸습니다 */
.cmt { margin-top: 48px; border-top: 2px solid var(--ink); }
.cmt__tit { padding: 18px 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.cmt__tit b { color: var(--wine); }
.cmt__list li { padding: 18px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.8; }
.cmt__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 6px; font-size: 14.5px; color: var(--mute); }
.cmt__meta strong { color: var(--ink); }
.cmt__meta a { text-decoration: underline; text-underline-offset: 3px; }
.cmt__form { display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.cmt__form .inp-row { max-width: none; flex-wrap: wrap; }
.cmt__form .inp-row .inp { flex: 1 1 200px; }
.cmt__form textarea.inp { min-height: 120px; }
.cmt__form .btn-solid { justify-self: end; }
.bbs-btns .btn-ghost, .bbs-btns .btn-solid { cursor: pointer; }
.faq__a .faq__edit { margin-top: 8px; font-size: 14px; }
.faq__a .faq__edit a { text-decoration: underline; text-underline-offset: 3px; }
/* 회원 : 그누보드가 더하는 칸(본인확인 · 주소 · 회원아이콘 · 정보 수신)의 모양입니다 */
.form .field > div:not([class]) { display: grid; gap: 8px; min-width: 0; }
.form .inp[readonly], .login .inp[readonly] { background: var(--beige); }
.mb-cert { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-cert__ok { color: var(--wine); font-weight: 600; }
.mb-addr { display: grid; gap: 8px; }
.mb-addr__zip { display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.mb-addr__zip .inp { flex: 1 1 160px; }
.mb-addr__zip .btn-ghost { height: 50px; }
.mb-file-now { display: flex; align-items: center; gap: 12px; }
.mb-file-now img { max-width: 120px; }
.mb-consent { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.mb-consent + .mb-consent, .mb-consent__sub + .mb-consent { margin-top: 10px; }
.mb-consent__more { font-size: 14.5px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.mb-consent__sub { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 10px 0 0 30px; padding-top: 0; }
.login .mb-cert, .find__captcha { margin-top: 28px; }
.find__captcha { text-align: center; }

/* ---------- 아이디 · 비밀번호 찾기 : 원본은 본문 폭을 두 칸으로 나눴지만, 두 칸을 각각 본문 폭으로 위아래로 쌓습니다(대표 지시 2026-11-07) ---------- */
.find { grid-template-columns: 1fr; }

/* ---------- 채용공고 : 모집 분야 표(.tbl) 의 공고 이름을 누르면 뜨는 상세 창(dialog)입니다. 창 안은 원본 글 보기 모양입니다 ---------- */
.tbl th a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .25s; }
.tbl th a:hover, .tbl th a:focus-visible { text-decoration-color: var(--wine); }
.job-dialog { width: min(820px, calc(100% - 40px)); max-height: calc(100% - 80px); padding: 40px 44px 34px; border: 0; border-top: 2px solid var(--ink); background: #fff; color: var(--text); overflow-y: auto; }
.job-dialog::backdrop { background: rgba(42, 38, 36, .6); }
.job-dialog .view__body { padding: 32px 0 8px; }
@media (max-width: 768px) {
  .job-dialog { padding: 28px 22px 24px; }
}

/* ---------- 퀵메뉴 : 오른쪽 가운데에 흰 동그라미 단추를 띄워 쌓습니다(배치 3). 올리거나 키보드로 가면
   동그라미 왼쪽으로 버건디 이름 띠가 미끄러져 나옵니다(효과 1 — 띠는 동그라미 뒤에서 왼쪽으로 열리고, 동그라미가 버건디로 찹니다).
   이름은 늘 <span> 에 있어 화면 낭독기가 읽습니다. 「맨 위로」 는 퀵메뉴와 따로 오른쪽 아래에 있는 둥근 사각 버건디 단추입니다.
   동그라미 지름(--qd) + 오른쪽 띄움(--qr)은 본문 좌우 여백(--side 48 · 36px)보다 작아 본문 글자를 가리지 않습니다.
   1024px 이하는 휴대폰처럼 아이콘만 44px 동그라미로 「맨 위로」 바로 위에 쌓습니다. ---------- */
:root { --qd: 40px; --qr: 6px; }
@media (max-width: 1280px) { :root { --qd: 30px; --qr: 3px; } }
.tpl-quick { position: fixed; right: var(--qr); top: 50%; z-index: 95; opacity: 0; visibility: hidden; transform: translate(10px, -50%); transition: opacity .3s, transform .35s var(--ease), visibility 0s linear .35s; }
.tpl-quick.is-show { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
.tpl-quick ul { display: flex; flex-direction: column; gap: 8px; }
.tpl-quick li { position: relative; z-index: 0; }   /* 이름 띠(z-index -1)가 동그라미 뒤로 깔리게 칸마다 쌓임 맥락을 둡니다 */
.tpl-quick a { position: relative; display: grid; place-items: center; width: var(--qd); height: var(--qd); border: 1px solid #d8cfc3; border-radius: 50%; background: #fff; color: var(--wine); box-shadow: 0 6px 16px rgba(42, 38, 36, .12); transition: background-color .3s, border-color .3s, color .3s; }
.tpl-quick a .ico { width: 18px; height: 18px; stroke-width: 1.7; }
.tpl-quick__img { width: 18px; height: 18px; object-fit: contain; }
@media (max-width: 1280px) {
  .tpl-quick a .ico, .tpl-quick__img { width: 15px; height: 15px; }
}
/* 이름 띠 : 동그라미 가운데 뒤에서 시작해 왼쪽으로 열립니다. 닫혀 있을 때는 오른쪽 끝만 남게 잘라 둡니다 */
.tpl-quick a span { position: absolute; right: calc(var(--qd) / 2); top: 50%; z-index: -1; display: flex; align-items: center; height: 34px; margin-top: -17px; padding: 0 calc(var(--qd) / 2 + 12px) 0 16px; background: var(--wine); font-size: 14.5px; font-weight: 600; line-height: 1; letter-spacing: -.02em; color: #fff; white-space: nowrap; pointer-events: none; clip-path: inset(0 0 0 100%); transition: clip-path .32s var(--ease); }
.tpl-quick a:focus-visible { border-color: var(--wine); background: var(--wine); color: #fff; outline: 2px solid var(--ink); outline-offset: 2px; }
.tpl-quick a:focus-visible span { clip-path: inset(0); }
@media (hover: hover) {
  .tpl-quick a:hover { border-color: var(--wine); background: var(--wine); color: #fff; }
  .tpl-quick a:hover span { clip-path: inset(0); }
}
/* 터치 화면 : 띠 없이 누르면 바로 이동합니다(눌렀다 돌아왔을 때 남은 :hover 로 띠가 붙어 있지 않게 합니다) */
@media (hover: none) {
  .tpl-quick a:hover span { clip-path: inset(0 0 0 100%); }
}
/* 낮은 화면 : 8개가 위아래로 넘치지 않게 간격을 줄입니다 */
@media (max-height: 640px) {
  .tpl-quick ul { gap: 4px; }
}
/* 태블릿 · 휴대폰 : 아이콘만 44px 동그라미로 「맨 위로」 바로 위(오른쪽 아래)에 둡니다 */
@media (max-width: 1024px) {
  :root { --qd: 44px; --qr: 16px; }
  .tpl-quick { top: auto; bottom: 82px; transform: translateY(10px); }
  .tpl-quick.is-show { transform: none; }
  .tpl-quick ul { gap: 8px; }
  .tpl-quick a .ico, .tpl-quick__img { width: 19px; height: 19px; }
}
@media (max-width: 1024px) and (max-height: 760px) {
  .tpl-quick ul { gap: 4px; }
  .tpl-quick a { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-quick, .tpl-quick * { transition: none !important; }
}
/* 맨 위로 : 원본의 버건디 원을 둥근 사각(원본의 작은 둥근 모서리 6px)으로 바꾸어 퀵메뉴 동그라미와 구별합니다. 퀵메뉴와 따로 오른쪽 아래에 있습니다 */
.totop { right: 24px; bottom: 28px; width: 44px; height: 44px; border-radius: 6px; background: var(--wine); box-shadow: 0 8px 18px rgba(122, 31, 43, .25); }
.totop:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 1024px) {
  .totop { right: 16px; bottom: 26px; }
}

/* ---------- 메인 팝업(콘솔 「팝업」) : 흰 직각 판 · 짙은 회색 2px 윗선(원본 로그인 상자 말씨) · 제목 앞 버건디 작은 사각(원본 라벨) · 버건디 면 단추 · 연베이지 아래 띠 ---------- */
.tpl-pop__item { border-top: 2px solid var(--ink); background: #fff; box-shadow: 0 24px 56px rgba(42, 38, 36, .4); }
.tpl-pop__body { padding: 30px 32px 32px; }
.tpl-pop__title { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; font-size: 21px; font-weight: 700; line-height: 1.45; letter-spacing: -.04em; color: var(--ink); }
.tpl-pop__title::before { content: ''; flex: none; width: 7px; height: 7px; margin-bottom: 3px; background: var(--wine); }
.tpl-pop__text { margin: 0; font-size: 16px; line-height: 1.75; color: var(--text); }
.tpl-pop__more { display: inline-flex; align-items: center; height: 48px; margin-top: 24px; padding: 0 24px; background: var(--wine); font-size: 15px; font-weight: 600; color: #fff; transition: background-color .25s; }
.tpl-pop__more:hover, .tpl-pop__more:focus-visible { background: #5f1620; }
.tpl-pop__foot { border-top: 1px solid var(--line); background: var(--beige); }
.tpl-pop__foot button { min-height: 50px; padding: 0 12px; border: 0; background: transparent; font-size: 14.5px; color: var(--mute); transition: background-color .25s, color .25s; }
.tpl-pop__foot button + button { border-left: 1px solid var(--line); font-weight: 600; color: var(--wine); }
.tpl-pop__foot button:hover, .tpl-pop__foot button:focus-visible { background: var(--wine); color: #fff; }
@media (max-width: 768px) {
  .tpl-pop__body { padding: 24px 22px 26px; }
  .tpl-pop__title { font-size: 19px; }
}
