/* ==========================================================================
   올웹 비즈니스 템플릿 19 — 시안 19(공간담 아키텍츠, 건축설계 · 인테리어 사무소)의 reset.css · common.css · main.css · sub.css 를 그대로 이은 것입니다.
   원본 CSS 는 고치지 않았습니다(글꼴 경로 ../fonts/ 도 이 폴더 구성과 같습니다). 그누보드 연결 · 올웹 로고 · 고정 배경 띠 · 넓힌 폭(상담 · 제안 폼 · 계정 찾기) ·
   퀵메뉴 · 팝업은 맨 아래 「연결부」에 덧붙였습니다.
   ========================================================================== */

/* ---------- 원본 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 {
  --ink: #1c1a18;                 /* 제목 · 강조 글자 · 푸터 바탕 */
  --text: #4a4540;                /* 본문 글자 */
  --mute: #6e665e;                /* 보조 글자 (흰 바탕 5.6:1) */
  --warm: #8a8178;                /* 웜그레이 : 선 · 큰 숫자 · 장식 */
  --line: #e4e0db;                /* 얇은 선 */
  --tint: #f4f2ef;                /* 아주 옅은 웜그레이 면 */
  --font: 'Pretendard', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --ease: cubic-bezier(.3, .7, .2, 1);
  --hd-h: 76px;                   /* 헤더 높이 */
  --gnb-gap: 56px;                /* 1차 메뉴 글자 사이 간격 (common.js 가 2차 메뉴 길이에 맞춰 다시 정합니다) */
  --side: 48px;                   /* 화면 좌우 여백 */
}

body { background: #fff; color: var(--text); font: 400 17px/1.7 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: 1520px; margin: 0 auto; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 400; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

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

/* ---------- 공통 : 섹션 여백 · 라벨(번호 + 영문) · 제목 · 글 링크 · 버튼 ---------- */
.sec { padding: 160px 0; }
.label { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.label b { font-weight: 600; color: var(--ink); letter-spacing: .04em; }
.label b::after { content: ''; display: inline-block; width: 28px; height: 1px; margin-left: 14px; vertical-align: middle; background: var(--warm); }
.label--light, .label--light b { color: rgba(255, 255, 255, .85); }
.head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 64px; }
.head__tit { margin-top: 24px; font-size: 42px; font-weight: 600; line-height: 1.35; letter-spacing: -.045em; color: var(--ink); }
.head__txt { margin-top: 18px; font-size: 17px; color: var(--text); }
.head__ctrl { display: flex; align-items: center; gap: 8px; }
.head__ctrl .textlink { margin-right: 16px; }
.textlink { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.textlink .ico { width: 15px; height: 15px; stroke-width: 1.8; transition: transform .35s var(--ease); }
.textlink:hover .ico { transform: translateX(4px); }
.btn-line { display: inline-flex; align-items: center; gap: 14px; margin-top: 40px; height: 52px; padding: 0 26px; border: 1px solid rgba(255, 255, 255, .7); font-size: 15px; font-weight: 600; color: #fff; transition: background-color .3s, color .3s; }
.btn-line:hover { background: #fff; color: var(--ink); }
.btn-line .ico, .btn-fill .ico { width: 16px; height: 16px; stroke-width: 1.8; }
.btn-fill { display: inline-flex; align-items: center; gap: 14px; height: 54px; padding: 0 28px; background: #fff; font-size: 15.5px; font-weight: 600; color: var(--ink); transition: background-color .3s; }
.btn-fill:hover { background: var(--tint); }
.sqbtn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: border-color .25s, color .25s; }
.sqbtn .ico { width: 17px; height: 17px; }
.sqbtn:hover { border-color: var(--ink); }
.sqbtn.is-end { color: #c3bdb6; }
.sqbtn.is-end:hover { border-color: var(--line); }

/* ---------- 로고 : 문 모양 선 심볼 + 영문 · 국문 ---------- */
.logo a, a.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo__mark { width: 22px; height: 22px; flex: none; }
.logo__en { font-size: 18px; font-weight: 700; letter-spacing: .14em; line-height: 1; }
.logo__ko { padding-left: 10px; border-left: 1px solid var(--line); font-size: 13px; font-weight: 500; letter-spacing: -.01em; 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-scrolled, .hd.is-mega-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); }
.hd .logo { flex: 1 1 0; }
.gnb { height: 100%; }
.gnb__list { display: flex; height: 100%; }
/* 1차 메뉴 : 같은 폭 칸이 아니라 글자 양옆에 같은 여백(--gnb-gap / 2)을 두어 글자 사이 간격이 모두 같습니다 */
.gnb__item { position: relative; height: 100%; padding: 0 calc(var(--gnb-gap) / 2); }
.gnb__link { position: relative; display: flex; align-items: center; height: 100%; font-size: 17px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
/* hover 표시는 글자 아래 짧은 선 하나만 씁니다 */
.gnb__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 22px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.gnb__item:hover .gnb__link::after, .gnb__link:focus-visible::after, .gnb__link[aria-current]::after { transform: scaleX(1); }
.util { display: flex; flex: 1 1 0; justify-content: flex-end; align-items: center; gap: 26px; font-size: 14px; }
.util p { display: flex; align-items: center; }
.util__member { gap: 16px; color: var(--mute); }
.util a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.burger { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; margin-right: -10px; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; }
.burger i:nth-child(1) { top: 17px; } .burger i:nth-child(2) { top: 25px; }

/* 메가메뉴 : 흰 패널(.mega__bg)은 scaleY, 각 2차 열은 같은 높이 · 같은 시간 · 같은 곡선의 clip-path 로 함께 드러납니다.
   두 값이 프레임마다 같은 높이를 가리키므로 패널 밖에 글자 · 선이 보이지 않습니다. 2차 열에는 배경색이 없습니다.
   패널 높이(--mega-h) = 가장 긴 2차 목록 + 위아래 28px 이며 common.js 가 잽니다. 열 폭은 1차 메뉴 칸(li) 폭과 같습니다. */
.mega__bg { position: absolute; left: 0; right: 0; top: 100%; height: var(--mega-h, 240px); 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; }
.gnb__sub { position: absolute; left: 0; top: 100%; z-index: 2; width: 100%; height: var(--mega-h, 240px); padding: 28px 0; text-align: center; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease), visibility 0s linear .45s; }
.gnb__item + .gnb__item .gnb__sub { border-left: 1px solid var(--line); }
.gnb__sub a { display: inline-block; padding: 5px 0; font-size: 15px; color: var(--mute); white-space: nowrap; transition: color .2s; }
.gnb__sub a:hover, .gnb__sub a:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.gnb__sub a[aria-current] { color: var(--ink); font-weight: 600; }
.is-mega-open .mega__bg { transform: scaleY(1); pointer-events: auto; }
.is-mega-open .gnb__sub { visibility: visible; clip-path: inset(0 0 0 0); transition-delay: 0s; }

/* ---------- 드로어 (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(28, 26, 24, .45); opacity: 0; transition: opacity .45s; }
.drawer.is-open .drawer__dim { opacity: 1; }
.drawer__panel { position: absolute; left: 0; top: 0; bottom: 0; display: flex; flex-direction: column; width: min(420px, 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: 8px 20px; }
.drawer__item { border-bottom: 1px solid var(--line); }
.drawer__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20px 0; text-align: left; font: 600 20px/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"] .ico { transform: rotate(45deg); color: var(--ink); }
.drawer__sub { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.drawer__sub a { display: block; padding: 7px 0 7px 14px; border-left: 1px solid var(--line); font-size: 16.5px; color: var(--mute); }
.drawer__sub li:last-child a { margin-bottom: 18px; }
.drawer__sub a:hover { color: var(--ink); }
.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; background: var(--tint); line-height: 1.3; }
.drawer__tel small { font-size: 14px; color: var(--mute); }
.drawer__tel strong { font-size: 24px; font-weight: 700; }

/* ---------- 푸터 : 먹색 바탕, 위 로고 · 메일 + 메뉴 열, 아래 관계사 · 정책 · 주소 ---------- */
.ft { background: var(--ink); color: #a39a90; font-size: 14.5px; line-height: 1.7; padding: 80px 0 56px; }
.ft__top { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid #3a3632; }
.ft__brand { display: grid; gap: 28px; align-content: start; }
a.logo--foot { color: #fff; }
.logo--foot .logo__ko { border-color: #4a4540; color: #a39a90; }
.ft__mail { font-size: 30px; font-weight: 500; letter-spacing: -.02em; color: #fff; }
.ft__mail:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.ft__nav { display: flex; gap: 64px; }
.ft__nav ul { display: grid; gap: 10px; align-content: start; min-width: 104px; }
.ft__nav ul:first-child { font-weight: 600; color: #fff; }
.ft__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ft__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 40px; }
.ft__info { order: -1; }
.ft__policy { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 14px; color: #d4cec7; }
.ft__policy b { font-weight: 600; color: #fff; }
.ft__policy a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft address span { display: inline-block; margin-right: 14px; }
.ft__copy { margin-top: 6px; letter-spacing: .04em; font-size: 13px; }
.family { position: relative; }
.family__btn { display: flex; align-items: center; justify-content: space-between; width: 200px; height: 44px; padding: 0 16px; border: 1px solid #4a4540; font-size: 14px; 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; right: 0; bottom: calc(100% + 6px); width: 200px; padding: 8px 0; border: 1px solid #4a4540; background: #24211f; }
.family__list a { display: block; padding: 6px 16px; color: #d4cec7; }
.family__list a:hover, .family__list a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- TOP 버튼 ---------- */
.totop { position: fixed; right: 28px; bottom: 32px; z-index: 90; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .45s var(--ease), visibility 0s linear .45s, border-color .25s; }
.totop.is-show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.totop .ico { width: 17px; height: 17px; }
.totop:hover { border-color: var(--ink); }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  :root { --side: 36px; }
  .logo__ko { display: none; }
}
@media (max-width: 1024px) {
  :root { --side: 28px; --hd-h: 64px; }
  .gnb, .util, .mega__bg { display: none; }
  .burger { display: block; }
  .hd { background: #fff; box-shadow: 0 1px 0 var(--line); }
  .sec { padding: 120px 0; }
  .ft__top { flex-direction: column; }
  .ft__bottom { flex-direction: column; align-items: flex-start; }
  .ft__info { order: 0; }
}
@media (max-width: 768px) {
  :root { --side: 20px; --hd-h: 60px; }
  body { font-size: 16px; }
  .sec { padding: 96px 0; }
  .head--split { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .head__tit { margin-top: 18px; font-size: 29px; }
  .head__txt { font-size: 16px; }
  .head__ctrl { width: 100%; }
  .head__ctrl .textlink { margin-right: auto; }
  .ft { padding: 64px 0 48px; }
  .ft__mail { font-size: 22px; }
  .ft__nav { flex-wrap: wrap; gap: 28px 40px; }
  .totop { right: 16px; bottom: 16px; 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 — 메인 페이지 전용입니다. 비주얼, 프로젝트 그리드, 설계 철학, 서비스, 스튜디오 띠, 수상 연표, 저널, 상담 · 최신글, 연락처를 담습니다. */

/* ---------- 메인 비주얼 : 본문 폭 안의 큰 사진(55vh) + 아래 캡션 줄 ---------- */
.visual { padding-top: calc(var(--hd-h) + 40px); }
.visual__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.visual__title { font-size: 60px; font-weight: 700; line-height: 1.2; letter-spacing: -.055em; color: var(--ink); }
.visual__lead { max-width: 420px; font-size: 16.5px; line-height: 1.65; color: var(--text); }
.visual__media { position: relative; height: 74vh; height: 74svh; min-height: 360px; overflow: hidden; background: var(--tint); }
.visual__item { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0s linear var(--vspeed, 1.2s), visibility 0s linear var(--vspeed, 1.2s); }
.visual__item.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity var(--vspeed, 1.2s) var(--ease), visibility 0s; }
.visual__item img { width: 100%; height: 100%; object-fit: cover; }
.visual__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; padding: 20px 0 0; }
.visual__nums { display: flex; gap: 6px; }
.visual__nums button { position: relative; width: 56px; padding: 6px 0 12px; text-align: left; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: #b3aba2; transition: color .3s; }
.visual__nums button i { position: absolute; left: 0; right: 10px; bottom: 0; height: 1px; background: var(--line); overflow: hidden; }
.visual__nums button i::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.visual__nums button.is-active { color: var(--ink); }
.visual__nums button.is-active i::after { transform: scaleX(1); }
.visual.is-run .visual__nums button.is-active i::after { animation: vprog var(--vdelay, 6s) linear both; }
@keyframes vprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.visual__caps { position: relative; min-height: 26px; }
.visual__cap { position: absolute; left: 0; top: 50%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; font-size: 15px; color: var(--mute); opacity: 0; visibility: hidden; transform: translateY(-50%); transition: opacity .5s, visibility 0s linear .5s; }
.visual__cap.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.visual__cap strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.visual__cap span + span::before { content: ''; display: inline-block; width: 1px; height: 10px; margin-right: 18px; background: var(--line); }
.visual__ctrl { display: flex; align-items: center; gap: 8px; }
.visual__pause { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); }
.visual__pause .ico { width: 16px; height: 16px; }
.visual__pause .ico--play, .visual.is-paused .visual__pause .ico--pause { display: none; }
.visual.is-paused .visual__pause .ico--play { display: block; }

/* ---------- 프로젝트 : 12칸 그리드에 크기가 다른 칸을 비대칭으로 배치 ---------- */
.projects__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; row-gap: 96px; align-items: start; }
.pj a { display: block; }
.pj__img { overflow: hidden; background: var(--tint); }
.pj__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pj a:hover .pj__img img { transform: scale(1.03); }
.pj__meta { display: flex; gap: 14px; margin-top: 20px; font-size: 13.5px; color: var(--mute); }
.pj__meta span + span::before { content: ''; display: inline-block; width: 1px; height: 10px; margin-right: 14px; background: var(--line); }
.pj__tit { margin-top: 6px; font-size: 21px; font-weight: 600; letter-spacing: -.035em; color: var(--ink); }
.pj a:hover .pj__tit { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.pj--1 { grid-column: 1 / 8; } .pj--1 .pj__img { aspect-ratio: 16 / 10; }
.pj--2 { grid-column: 9 / 13; margin-top: 160px; } .pj--2 .pj__img { aspect-ratio: 3 / 4; }
.pj--3 { grid-column: 2 / 6; } .pj--3 .pj__img { aspect-ratio: 4 / 5; }
.pj--4 { grid-column: 7 / 13; margin-top: 120px; } .pj--4 .pj__img { aspect-ratio: 3 / 2; }
.pj--5 { grid-column: 1 / 7; } .pj--5 .pj__img { aspect-ratio: 3 / 2; }
.pj--6 { grid-column: 8 / 12; margin-top: 80px; } .pj--6 .pj__img { aspect-ratio: 1 / 1; }

/* ---------- 설계 철학 : 옅은 웜그레이 면, 왼쪽 라벨 · 오른쪽 글, 아래 큰 숫자 4개 ---------- */
.philosophy { background: var(--tint); }
.philosophy__in { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.philosophy__in > .label { margin-top: 14px; }
.philosophy__tit { font-size: 46px; font-weight: 600; line-height: 1.35; letter-spacing: -.05em; color: var(--ink); }
.philosophy__txt p { max-width: 640px; margin: 28px 0 36px; font-size: 18px; line-height: 1.75; }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 120px; border-top: 1px solid var(--ink); }
.figures > div { padding: 28px 24px 0 0; }
.figures > div + div { padding-left: 24px; border-left: 1px solid #d9d4ce; }
.figures dt { font-size: 14.5px; color: var(--mute); }
.figures dd { margin-top: 18px; font-size: 18px; font-weight: 500; color: var(--ink); }
.figures b { margin-right: 4px; font-size: 84px; font-weight: 500; line-height: 1; letter-spacing: -.05em; }

/* ---------- 서비스 : 왼쪽 제목(고정), 오른쪽 텍스트 목록 4줄 ---------- */
.services__in { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.services__head { position: sticky; top: calc(var(--hd-h) + 40px); }
.services__list { border-top: 1px solid var(--ink); }
.services__list li { border-bottom: 1px solid var(--line); }
.services__list a { display: grid; grid-template-columns: 56px 200px 1fr 24px; align-items: start; gap: 24px; padding: 36px 0; transition: padding-left .45s var(--ease); }
.services__list a:hover { padding-left: 12px; }
.services__num { padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--warm); }
.services__name strong { display: block; font-size: 26px; font-weight: 600; line-height: 1.3; letter-spacing: -.04em; color: var(--ink); }
.services__name em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.services__desc { padding-top: 4px; font-size: 16px; color: var(--text); }
.services__list .ico { margin-top: 8px; width: 20px; height: 20px; color: var(--warm); transition: color .3s, transform .35s var(--ease); }
.services__list a:hover .ico { color: var(--ink); transform: translate(3px, -3px); }

/* ---------- 스튜디오 띠 : 가장자리까지 찬 사진(고정 배경) ---------- */
.band { position: relative; display: flex; align-items: center; min-height: 560px; overflow: hidden; color: #fff; }
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(28, 26, 24, .52); }
.band__in { position: relative; z-index: 2; padding: 120px 0; }
.band__tit { margin-top: 24px; font-size: 48px; font-weight: 600; line-height: 1.3; letter-spacing: -.05em; }

/* ---------- 수상 연표 : 왼쪽 큰 연도 + 오른쪽 수상 목록 ---------- */
.awards__list { border-top: 1px solid var(--ink); }
.awards__list > li { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.awards__year { font-size: 40px; font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--warm); }
.awards__list > li:first-child .awards__year { color: var(--ink); }
.awards__list ul { display: grid; gap: 14px; }
.awards__list ul li { display: flex; justify-content: space-between; gap: 24px; }
.awards__list strong { font-size: 18px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.awards__list span { font-size: 15px; color: var(--mute); text-align: right; }

/* ---------- 저널 : 옅은 웜그레이 면, 가로 스크롤 스냅 카드 (3장 → 2장 → 1.2장) ---------- */
.journal { background: var(--tint); }
.journal__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 3); gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.journal__track::-webkit-scrollbar { display: none; }
.journal__track > li { scroll-snap-align: start; }
.journal__track a { display: block; }
.journal__track figure { aspect-ratio: 4 / 3; overflow: hidden; background: #e9e5e0; }
.journal__track img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.journal__track a:hover img { transform: scale(1.03); }
.journal__cat { margin-top: 22px; font-size: 13.5px; font-weight: 500; color: var(--mute); }
.journal__tit { margin-top: 8px; font-size: 20px; font-weight: 600; line-height: 1.45; letter-spacing: -.035em; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.journal__track a:hover .journal__tit { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.journal__track time { display: block; margin-top: 14px; font-size: 14px; color: var(--mute); letter-spacing: .02em; }

/* ---------- 상담 + 최신글 탭 + 바로가기 ---------- */
.consult__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; }
.consult__grid > * { min-width: 0; }
.consult__box { padding: 56px; background: var(--ink); color: #fff; }
.consult__tit { margin-top: 24px; font-size: 38px; font-weight: 600; line-height: 1.35; letter-spacing: -.045em; }
.consult__steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid #45403b; font-size: 16px; color: #d4cec7; }
.consult__steps b { margin-right: 10px; font-size: 13px; font-weight: 600; color: #a39a90; }
.consult__act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 44px; }
.consult__tel { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.consult__tel .ico { width: 18px; height: 18px; color: #a39a90; }
.news { padding: 48px 0 0; }
.news__tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); }
.news__tabs button { position: relative; padding: 0 0 16px; font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: #b3aba2; transition: color .25s; }
.news__tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .35s var(--ease); }
.news__tabs button[aria-selected="true"] { color: var(--ink); }
.news__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.news__tabs button:hover { color: var(--ink); }
.news__panel { padding-top: 12px; }
.latest__list { margin-bottom: 28px; }
.latest__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-bottom: 1px solid var(--line); }
.latest__list a { flex: 1; min-width: 0; padding: 18px 0; font-size: 17px; color: var(--ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.latest__list a:hover { text-decoration: underline; text-underline-offset: 5px; }
.latest__date { flex: none; font-size: 14px; color: var(--mute); }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--ink); }
.quick li + li { border-left: 1px solid var(--line); }
.quick a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 28px 28px 28px 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.quick li + li a { padding-left: 28px; }
.quick .ico { width: 22px; height: 22px; color: var(--warm); transition: color .25s; }
.quick a:hover .ico { color: var(--ink); }
.quick a:hover span { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- 연락처 : 옅은 웜그레이 면 + 지도 ---------- */
.contact { background: var(--tint); }
.contact__in { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: stretch; }
.contact__list { margin-top: 48px; border-top: 1px solid var(--ink); }
.contact__list div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid #ddd8d2; }
.contact__list dt { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--mute); padding-top: 3px; }
.contact__list dd { font-size: 16.5px; color: var(--ink); }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__map { min-height: 480px; background: #e9e5e0; }
.contact__map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; filter: grayscale(1) contrast(.95); }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  .visual__title { font-size: 52px; }
  .services__list a { grid-template-columns: 48px 170px 1fr 24px; }
}
@media (max-width: 1024px) {
  .visual { padding-top: calc(var(--hd-h) + 32px); }
  .visual__title { font-size: 44px; }
  .visual__bar { grid-template-columns: 1fr auto; row-gap: 14px; }
  .visual__caps { grid-column: 1 / -1; grid-row: 2; }
  .visual__cap { position: absolute; }
  .projects__grid { column-gap: 24px; row-gap: 72px; }
  .pj--2 { margin-top: 96px; } .pj--4 { margin-top: 72px; } .pj--6 { margin-top: 48px; }
  .philosophy__in { grid-template-columns: 1fr; gap: 28px; }
  .philosophy__tit { font-size: 38px; }
  .figures { grid-template-columns: repeat(2, 1fr); margin-top: 72px; }
  .figures > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .figures > div:nth-child(n+3) { margin-top: 36px; }
  .figures b { font-size: 68px; }
  .services__in { grid-template-columns: 1fr; gap: 48px; }
  .services__head { position: static; }
  .journal__track { grid-auto-columns: calc((100% - 24px) / 2); gap: 24px; }
  .consult__grid { grid-template-columns: 1fr; }
  .contact__in { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .visual__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
  .visual__title { font-size: 34px; }
  .visual__lead { font-size: 15.5px; }
  .visual__media { height: 74vh; height: 74svh; min-height: 300px; }
  .visual__bar { column-gap: 12px; }
  .visual__nums { gap: 2px; }
  .visual__nums button { width: 42px; }
  .visual__caps { min-height: 48px; }
  .visual__cap { font-size: 14px; gap: 2px 14px; }
  .visual__cap strong { width: 100%; font-size: 15.5px; }
  .visual__cap span + span::before { margin-right: 14px; }
  .visual__ctrl .sqbtn { width: 40px; height: 40px; }
  .projects__grid { grid-template-columns: 1fr; row-gap: 56px; }
  .pj--1, .pj--2, .pj--3, .pj--4, .pj--5, .pj--6 { grid-column: auto; margin-top: 0; }
  .pj--2, .pj--6 { width: 78%; margin-left: auto; }
  .pj--3 { width: 78%; }
  .pj__tit { font-size: 19px; }
  .philosophy__tit { font-size: 29px; }
  .philosophy__txt p { font-size: 16px; margin: 20px 0 28px; }
  .figures { margin-top: 56px; }
  .figures > div + div { padding-left: 16px; }
  .figures > div:nth-child(3) { padding-left: 0; }
  .figures b { font-size: 52px; }
  .figures dd { font-size: 16px; }
  .services__list a { grid-template-columns: 36px 1fr 20px; gap: 6px 14px; padding: 28px 0; }
  .services__name strong { font-size: 22px; }
  .services__desc { grid-column: 2 / 3; font-size: 15px; }
  .services__list .ico { grid-column: 3; grid-row: 1; }
  .band { min-height: 440px; }
  .band__in { padding: 88px 0; }
  .band__tit { font-size: 30px; }
  .awards__list > li { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .awards__year { font-size: 32px; }
  .awards__list ul li { flex-direction: column; gap: 2px; }
  .awards__list strong { font-size: 17px; }
  .awards__list span { text-align: left; }
  .journal__track { grid-auto-columns: 84%; gap: 16px; }
  .journal__tit { font-size: 18px; }
  .consult__box { padding: 40px 24px; }
  .consult__tit { font-size: 29px; }
  .consult__steps { grid-template-columns: 1fr; }
  .news { padding-top: 24px; }
  .news__tabs button { font-size: 20px; }
  .latest__list a { font-size: 16px; padding: 16px 0; }
  .latest__date { font-size: 13px; }
  .quick { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .quick li:nth-child(3) { border-left: 0; }
  .quick li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .quick a, .quick li + li a { padding: 22px 16px 22px 0; font-size: 15.5px; }
  .quick li:nth-child(even) a { padding-left: 16px; }
  .contact__list div { grid-template-columns: 80px 1fr; }
  .contact__list dd { font-size: 15.5px; }
  .contact__map, .contact__map iframe { min-height: 340px; }
}

/* ---------- 연락처 지도 : 카카오맵 좌표 방식으로 바꿈 (2026-11-06 추가) ----------
   흑백 filter 를 끄고, 카카오 화면 왼쪽 검색 창은 상자 overflow:hidden + iframe 을 왼쪽으로 420px 밀어 가립니다. */
.contact__map { position: relative; overflow: hidden; }
.contact__map iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; min-height: 0; filter: none; }
@media (max-width: 1024px) { .contact__map { min-height: 460px; } }

/* ---------- 원본 assets/css/sub.css ---------- */
/* sub.css — 서브페이지 전용입니다. 서브 비주얼(현재 위치 · 제목 · 낮은 사진 띠), 2차 메뉴 탭, 인사말 본문을 담습니다.
   헤더 · 메가메뉴 · 드로어 · 푸터는 메인과 같은 common.css 를 그대로 씁니다. */

/* ---------- 헤더 현재 메뉴 : 메가메뉴가 닫혀 있을 때만 현재 1차 메뉴 아래 선을 보여, 열렸을 때는 hover 한 메뉴의 선 하나만 남습니다 ---------- */
.hd.is-mega-open .gnb__item:not(:hover) > .gnb__link[aria-current]:not(:focus-visible)::after { transform: scaleX(0); }
.drawer__sub a[aria-current] { color: var(--ink); font-weight: 600; border-left-color: var(--ink); }

/* ---------- 서브 비주얼 : 현재 위치 → 큰 제목 + 설명 → 본문 폭 안의 낮은 사진 띠(메인 55vh 보다 낮은 32vh) ---------- */
.sv { padding-top: calc(var(--hd-h) + 28px); }
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; font-size: 13.5px; color: var(--mute); }
.crumb li + li::before { content: '/'; margin: 0 10px; color: #c3bdb6; }
.crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.crumb [aria-current] { color: var(--ink); font-weight: 600; }
.sv__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin: 48px 0 32px; }
.sv__title { margin-top: 20px; font-size: 56px; font-weight: 700; line-height: 1.15; letter-spacing: -.055em; color: var(--ink); }
.sv__lead { max-width: 420px; font-size: 16.5px; line-height: 1.65; color: var(--text); }
.sv__media { height: 32vh; height: 32svh; min-height: 220px; overflow: hidden; background: var(--tint); }
.sv__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* ---------- 2차 메뉴 탭 : 사진 띠 바로 아래 글자 탭 줄. 현재 탭은 글자 아래 먹색 선 하나 ---------- */
.snav__list { display: flex; gap: 44px; border-bottom: 1px solid var(--line); }
.snav__list a { position: relative; display: block; padding: 22px 0 20px; font-size: 16.5px; font-weight: 500; color: var(--mute); white-space: nowrap; transition: color .25s; }
.snav__list a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.snav__list a:hover { color: var(--ink); }
.snav__list a[aria-current] { color: var(--ink); font-weight: 600; }
.snav__list a[aria-current]::after { transform: scaleX(1); }

/* ---------- 대표 인사 : 왼쪽 라벨 + 세로 사진, 오른쪽 인사 글 + 서명 ---------- */
.greet__in { display: grid; grid-template-columns: 4fr 7fr; gap: 96px; align-items: start; }
.greet__img { margin-top: 40px; aspect-ratio: 3 / 4; overflow: hidden; background: var(--tint); }
.greet__img img { width: 100%; height: 100%; object-fit: cover; }
.greet__tit { font-size: 40px; font-weight: 600; line-height: 1.4; letter-spacing: -.05em; color: var(--ink); }
.greet__txt { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--ink); }
.greet__txt p { max-width: 760px; font-size: 17.5px; line-height: 1.9; }
.greet__txt p + p { margin-top: 22px; }
.sign { display: flex; align-items: baseline; gap: 20px; margin-top: 56px; }
.sign span { font-size: 15px; color: var(--mute); }
.sign strong { font-size: 26px; font-weight: 600; letter-spacing: .24em; color: var(--ink); }

/* ---------- 경영 약속 : 옅은 웜그레이 면, 2 × 2 번호 목록 ---------- */
.promise { background: var(--tint); }
.promise__head { margin-bottom: 64px; }
.promise__list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.promise__list li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 40px 48px 44px 0; }
.promise__list li:nth-child(even) { padding: 40px 0 44px 48px; border-left: 1px solid #d9d4ce; }
.promise__list li:nth-child(n+3) { border-top: 1px solid #d9d4ce; }
.promise__num { grid-row: span 2; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--warm); }
.promise__list strong { font-size: 24px; font-weight: 600; line-height: 1.4; letter-spacing: -.04em; color: var(--ink); }
.promise__list p { margin-top: 12px; font-size: 16px; color: var(--text); }

/* ---------- 대표 약력 : 왼쪽 이름 · 직함, 오른쪽 연도별 목록 ---------- */
.profile__in { display: grid; grid-template-columns: 4fr 7fr; gap: 96px; align-items: start; }
.profile__name { margin-top: 28px; font-size: 40px; font-weight: 600; line-height: 1.3; letter-spacing: .06em; color: var(--ink); }
.profile__name small { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--mute); }
.profile__role { margin-top: 14px; font-size: 15.5px; color: var(--text); }
.career { border-top: 1px solid var(--ink); }
.career li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.career__year { font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--warm); }
.career li:first-child .career__year { color: var(--ink); }
.career p { font-size: 17px; color: var(--ink); }
.career em { margin-left: 12px; font-style: normal; font-size: 15px; color: var(--mute); }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .sv__title { font-size: 46px; }
  .greet__in, .profile__in { grid-template-columns: 1fr; gap: 48px; }
  .greet__img { aspect-ratio: 16 / 9; }
  .greet__tit { font-size: 34px; }
}
@media (max-width: 768px) {
  .sv { padding-top: calc(var(--hd-h) + 20px); }
  .sv__head { flex-direction: column; align-items: flex-start; gap: 14px; margin: 32px 0 24px; }
  .sv__title { margin-top: 16px; font-size: 34px; }
  .sv__lead { font-size: 15.5px; }
  .sv__media { height: 26vh; height: 26svh; min-height: 180px; }
  /* 탭이 화면보다 길면 가로로 밀어 봅니다(스크롤바는 숨김) */
  .snav__list { gap: 28px; overflow-x: auto; scrollbar-width: none; }
  .snav__list::-webkit-scrollbar { display: none; }
  .snav__list a { padding: 18px 0 16px; font-size: 15.5px; }
  .greet__img { margin-top: 28px; aspect-ratio: 4 / 3; }
  .greet__tit { font-size: 26px; }
  .greet__txt { margin-top: 32px; padding-top: 28px; }
  .greet__txt p { font-size: 16px; line-height: 1.85; }
  .sign { flex-direction: column; gap: 6px; margin-top: 40px; }
  .sign strong { font-size: 22px; }
  .promise__head { margin-bottom: 40px; }
  .promise__list { grid-template-columns: 1fr; }
  .promise__list li, .promise__list li:nth-child(even) { grid-template-columns: 40px 1fr; padding: 28px 0 30px; border-left: 0; }
  .promise__list li + li { border-top: 1px solid #d9d4ce; }
  .promise__list strong { font-size: 20px; }
  .promise__list p { font-size: 15px; }
  .profile__name { font-size: 32px; }
  .career li { grid-template-columns: 64px 1fr; gap: 14px; padding: 18px 0; }
  .career__year { font-size: 17px; }
  .career p { font-size: 15.5px; }
  .career em { display: block; margin: 2px 0 0; font-size: 14px; }
}

/* ==========================================================================
   서브페이지 추가 (2026-11-06) — 아래는 새 서브 화면이 함께 쓰는 부품입니다. 위의 기존 규칙은 고치지 않았습니다.
   게시판 · 입력 화면은 모두 서브 본문과 같은 .wrap 폭이고, 좁게 두는 것은 로그인 상자(.mbox)뿐입니다.
   ========================================================================== */

/* ---------- 공통 : 섹션 머리 · 글 · 버튼 ---------- */
.sec--tint { background: var(--tint); }
.sec--top { padding-top: 112px; }
.shead { margin-bottom: 56px; }
.shead .head__txt { max-width: 720px; }
.prose p { max-width: 820px; font-size: 17.5px; line-height: 1.9; }
.prose p + p { margin-top: 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border: 1px solid var(--ink); background: var(--ink); font-size: 15.5px; font-weight: 600; color: #fff; white-space: nowrap; transition: background-color .25s, color .25s; }
.btn:hover { background: #fff; color: var(--ink); }
.btn--line { background: #fff; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn .ico { width: 16px; height: 16px; stroke-width: 1.8; }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 48px; }
.btns--end { justify-content: flex-end; }
.btns--split { justify-content: space-between; }
.btns--split > span { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 게시판 목록 : 분류 · 건수 · 검색 · 표 · 쪽 번호 (그누보드 list.skin.php) ---------- */
.cats { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-bottom: 40px; }
.cats a { padding-bottom: 6px; border-bottom: 1px solid transparent; font-size: 16.5px; font-weight: 500; color: var(--mute); white-space: nowrap; }
.cats a:hover { color: var(--ink); }
.cats a[aria-current] { border-color: var(--ink); font-weight: 600; color: var(--ink); }
.bbs-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.bbs-total { font-size: 15px; color: var(--mute); }
.bbs-total b { font-weight: 600; color: var(--ink); }
.bbs-search { display: flex; height: 46px; border: 1px solid #d6d0c9; background: #fff; }
.bbs-search select { width: 116px; padding: 0 12px; border: 0; border-right: 1px solid #d6d0c9; background: #fff; font-size: 15px; }
.bbs-search input { width: 240px; min-width: 0; padding: 0 14px; border: 0; font-size: 15px; }
.bbs-search button { display: grid; place-items: center; width: 46px; flex: none; color: var(--ink); }
.bbs-search .ico { width: 18px; height: 18px; }
.bbs table { table-layout: fixed; border-top: 1px solid var(--ink); }
.bbs th { padding: 18px 10px; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink); }
.bbs td { padding: 20px 10px; border-bottom: 1px solid var(--line); font-size: 15px; text-align: center; color: var(--mute); }
.bbs th.c-subj, .bbs td.subj { text-align: left; }
.bbs .subj a { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; font-size: 16.5px; color: var(--ink); }
.bbs .subj a > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bbs .subj a:hover > span { text-decoration: underline; text-underline-offset: 5px; }
.bbs .subj .ico { width: 16px; height: 16px; color: var(--warm); }
.bbs tr.is-notice td { background: var(--tint); }
.c-proj { width: 30%; } .c-no { width: 90px; } .c-cat { width: 130px; } .c-who { width: 120px; } .c-date { width: 130px; } .c-hit { width: 90px; } .c-st { width: 120px; }
.tag { display: inline-block; padding: 3px 9px; border: 1px solid var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--ink); white-space: nowrap; }
.tag--fill { background: var(--ink); color: #fff; }
.tag--mute { border-color: #c3bdb6; color: var(--mute); }
.paging { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 56px; }
.paging a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border: 1px solid transparent; font-size: 15px; color: var(--mute); }
.paging a:hover { color: var(--ink); }
.paging a[aria-current] { border-color: var(--ink); font-weight: 600; color: var(--ink); }
.paging .ico { width: 16px; height: 16px; }

/* ---------- 게시판 보기 : 머리 · 본문 · 첨부 · 답변 · 이전/다음 (view.skin.php) ---------- */
.bview__head { padding: 36px 0 28px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.bview__cat { font-size: 14px; font-weight: 500; color: var(--mute); }
.bview__tit { margin-top: 12px; font-size: 32px; font-weight: 600; line-height: 1.4; letter-spacing: -.04em; color: var(--ink); }
.bview__meta { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 18px; font-size: 14.5px; color: var(--mute); }
.bview__body { padding: 56px 0 64px; }
.bview__body > p, .bview__body li { max-width: 860px; font-size: 17px; line-height: 1.9; }
.bview__body > p + p { margin-top: 20px; }
.bview__body h4 { margin: 44px 0 14px; font-size: 21px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.bview__body ul { display: grid; gap: 6px; }
.bview__body ul li { position: relative; padding-left: 16px; }
.bview__body ul li::before { content: ''; position: absolute; left: 0; top: .85em; width: 6px; height: 1px; background: var(--ink); }
.bview__fig { max-width: 1080px; margin: 44px 0; background: var(--tint); }
.bview__fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bview__fig figcaption { padding: 12px 0 0; background: #fff; font-size: 14px; color: var(--mute); }
.bview__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1080px; margin: 44px 0; }
.bview__pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tint); }
.files { display: grid; gap: 8px; padding: 22px 28px; background: var(--tint); }
.files p { font-size: 14px; font-weight: 600; color: var(--ink); }
.files a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); }
.files a small { font-size: 13.5px; color: var(--mute); }
.files a:hover { text-decoration: underline; text-underline-offset: 4px; }
.files .ico { width: 16px; height: 16px; color: var(--warm); }
.answer { margin-top: 8px; padding: 40px 44px; border-top: 2px solid var(--ink); background: var(--tint); }
.answer__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 18px; }
.answer__head strong { font-size: 19px; font-weight: 600; color: var(--ink); }
.answer__head span { font-size: 14px; color: var(--mute); }
.answer p { max-width: 860px; font-size: 16.5px; line-height: 1.9; }
.answer p + p { margin-top: 14px; }
.pn { margin-top: 56px; border-top: 1px solid var(--ink); }
.pn li { display: grid; grid-template-columns: 100px 1fr auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pn b { font-size: 14px; font-weight: 600; color: var(--mute); }
.pn a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 16px; color: var(--ink); }
.pn a:hover { text-decoration: underline; text-underline-offset: 5px; }
.pn time, .pn span { font-size: 14px; color: var(--mute); }

/* ---------- 입력 폼 : 글쓰기 · 상담 신청 · 회원가입 (write.skin.php · register_form.skin.php) ---------- */
.bform { border-top: 1px solid var(--ink); }
.bform__row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.bform__row--top { align-items: start; }
.bform__row--top > .bform__lab { padding-top: 13px; }
.bform__lab { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.bform__lab i { margin-left: 4px; font-style: normal; color: var(--ink); }
.inp { width: 100%; height: 50px; padding: 0 16px; border: 1px solid #d6d0c9; border-radius: 0; background: #fff; font-size: 16px; color: var(--ink); }
.inp::placeholder { color: #8f877e; }
textarea.inp { height: auto; min-height: 280px; padding: 14px 16px; line-height: 1.75; resize: vertical; }
select.inp { padding-right: 12px; }
input[type="file"].inp { padding: 12px 16px; font-size: 15px; }
.inp--s { max-width: 320px; }
.inp--m { max-width: 520px; }
.fline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fline .inp { flex: 1 1 200px; }
.fline .btn { height: 50px; padding: 0 22px; }
.hint { margin-top: 8px; font-size: 14px; color: var(--mute); }
.chk { display: inline-flex; align-items: center; gap: 9px; font-size: 15.5px; color: var(--text); cursor: pointer; }
.chk input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); flex: none; }
.chks { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: block; padding: 12px 18px; border: 1px solid #d6d0c9; font-size: 15px; color: var(--text); white-space: nowrap; transition: border-color .2s, background-color .2s, color .2s; }
.choice label:hover span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.agree { margin-top: 48px; }
.agree__item + .agree__item { margin-top: 32px; }
.agree__tit { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; font-size: 17px; font-weight: 600; color: var(--ink); }
.agree__tit a { font-size: 14px; font-weight: 500; color: var(--mute); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.agree__box { height: 168px; overflow-y: auto; padding: 20px 24px; border: 1px solid var(--line); background: var(--tint); font-size: 14.5px; line-height: 1.85; color: var(--text); }
.agree__box p + p { margin-top: 10px; }
.agree .chk { margin-top: 14px; }
.agree__all { display: flex; padding: 22px 24px; border: 1px solid var(--ink); }
.agree__all .chk { margin: 0; font-weight: 600; color: var(--ink); }

/* 상담 · 제안 폼 : 본문 폭 안에서 폼 + 오른쪽 안내(360px) 두 칸 */
.cform { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.cside { position: sticky; top: calc(var(--hd-h) + 32px); padding: 40px 36px; background: var(--ink); color: #d4cec7; }
.cside .label { color: #a39a90; }
.cside .label b { color: #fff; }
.cside h3 { margin-top: 22px; font-size: 26px; font-weight: 600; line-height: 1.4; letter-spacing: -.04em; color: #fff; }
.cside ol { margin-top: 28px; padding-top: 24px; border-top: 1px solid #45403b; display: grid; gap: 14px; font-size: 15.5px; }
.cside ol b { margin-right: 12px; font-size: 13px; font-weight: 600; color: #a39a90; }
.cside__tel { display: block; margin-top: 32px; font-size: 26px; font-weight: 600; color: #fff; }
.cside__tel small { display: block; margin-bottom: 4px; font-size: 13.5px; font-weight: 500; color: #a39a90; }
.cside p { margin-top: 10px; font-size: 14.5px; line-height: 1.7; }

/* ---------- 자주 묻는 질문 : details · summary, 스크립트 없음 (그누보드 faq.php) ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 64px 1fr 24px; gap: 16px; align-items: center; padding: 26px 0; list-style: none; cursor: pointer; font-size: 18.5px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary b { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--warm); }
.faq summary .ico { color: var(--warm); transition: transform .35s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); color: var(--ink); }
.faq summary:hover span { text-decoration: underline; text-underline-offset: 5px; }
.faq__a { padding: 0 48px 32px 80px; }
.faq__a p { max-width: 900px; font-size: 16.5px; line-height: 1.85; }
.faq__a p + p { margin-top: 10px; }

/* ---------- 갤러리형 게시판 : 저널 사진 카드 3칸 (gallery 스킨) ---------- */
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 32px; }
.gal a { display: block; }
.gal figure { aspect-ratio: 4 / 3; overflow: hidden; background: #e9e5e0; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gal a:hover img { transform: scale(1.03); }
.gal__cat { margin-top: 22px; font-size: 13.5px; font-weight: 500; color: var(--mute); }
.gal__tit { margin-top: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 20px; font-weight: 600; letter-spacing: -.035em; color: var(--ink); }
.gal a:hover .gal__tit { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.gal__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); }
.gal time { display: block; margin-top: 12px; font-size: 14px; color: var(--mute); }

/* ---------- 프로젝트 목록 : 두 칸 엇갈림 사진 카드 ---------- */
.wgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; row-gap: 96px; align-items: start; }
.wgrid > li:nth-child(even) { margin-top: 140px; }
.wcard a { display: block; }
.wcard figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.wgrid > li:nth-child(4n+1) figure, .wgrid > li:nth-child(4n+4) figure { aspect-ratio: 4 / 5; }
.wcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.wcard a:hover img { transform: scale(1.03); }
.wcard__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; font-size: 13.5px; color: var(--mute); }
.wcard__meta span + span::before { content: ''; display: inline-block; width: 1px; height: 10px; margin-right: 14px; background: var(--line); }
.wcard__tit { margin-top: 6px; font-size: 24px; font-weight: 600; letter-spacing: -.04em; color: var(--ink); }
.wcard a:hover .wcard__tit { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.wcard__txt { margin-top: 8px; font-size: 15.5px; color: var(--text); }

/* ---------- 프로젝트 보기 : 개요 4칸 · 큰 사진 · 설계 노트 · 사진 두 장 ---------- */
.winfo { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.winfo div { padding: 24px 24px 26px 0; }
.winfo div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.winfo dt { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--mute); }
.winfo dd { margin-top: 8px; font-size: 18px; font-weight: 500; color: var(--ink); }
.whero { margin-top: 56px; aspect-ratio: 16 / 8; overflow: hidden; background: var(--tint); }
.whero img { width: 100%; height: 100%; object-fit: cover; }
.wnote { display: grid; grid-template-columns: 4fr 7fr; gap: 96px; align-items: start; }
.wnote__tit { margin-top: 24px; font-size: 34px; font-weight: 600; line-height: 1.4; letter-spacing: -.045em; color: var(--ink); }
.wnote .prose { padding-top: 36px; border-top: 1px solid var(--ink); }
.wpair { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: end; }
.wpair img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tint); }
.wpair figure:last-child img { aspect-ratio: 4 / 5; }
.wpair figcaption { margin-top: 12px; font-size: 14px; color: var(--mute); }

/* ---------- 연도 목록 : 연혁 · 수상작 (왼쪽 연도 · 오른쪽 내용 줄) ---------- */
.years { border-top: 1px solid var(--ink); }
.years > li { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.years__y { font-size: 40px; font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--warm); }
.years > li:first-child .years__y { color: var(--ink); }
.years ul { display: grid; gap: 14px; }
.years ul li { display: flex; justify-content: space-between; gap: 24px; font-size: 17px; color: var(--ink); }
.years ul li span { flex: none; font-size: 15px; color: var(--mute); text-align: right; }
.hist { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.hist + .hist { margin-top: 96px; }
.hist__side { position: sticky; top: calc(var(--hd-h) + 32px); }
.hist__range { margin-top: 20px; font-size: 52px; font-weight: 500; line-height: 1; letter-spacing: -.05em; color: var(--ink); }
.hist__side p:last-child { margin-top: 16px; font-size: 16px; color: var(--text); }

/* 수상작 대표 카드 3장 */
.award3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.award3 a { display: block; }
.award3 figure { aspect-ratio: 4 / 5; overflow: hidden; background: #e9e5e0; }
.award3 img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.award3 a:hover img { transform: scale(1.03); }
.award3 p { margin-top: 20px; font-size: 14px; color: var(--mute); }
.award3 h3 { margin-top: 6px; font-size: 21px; font-weight: 600; letter-spacing: -.035em; color: var(--ink); }
.award3 a:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* ---------- 설계 철학 : 큰 문장 · 원칙 줄 · 진행 단계 ---------- */
.state { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.state__txt { font-size: 40px; font-weight: 600; line-height: 1.45; letter-spacing: -.05em; color: var(--ink); }
.state .prose { margin-top: 48px; }
.state__txt em { font-style: normal; color: var(--warm); }
.rules { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.rules__img { position: sticky; top: calc(var(--hd-h) + 32px); aspect-ratio: 4 / 5; overflow: hidden; background: #e9e5e0; }
.rules__img img { width: 100%; height: 100%; object-fit: cover; }
.rules ol { border-top: 1px solid var(--ink); }
.rules li { display: grid; grid-template-columns: 56px 1fr; gap: 8px 16px; padding: 36px 0 40px; border-bottom: 1px solid #d9d4ce; }
.rules li > span { grid-row: span 2; padding-top: 7px; font-size: 14px; font-weight: 600; color: var(--warm); }
.rules strong { font-size: 26px; font-weight: 600; line-height: 1.4; letter-spacing: -.04em; color: var(--ink); }
.rules p { font-size: 16.5px; color: var(--text); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.steps--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { padding: 28px 24px 0 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps b { display: block; font-size: 14px; font-weight: 600; color: var(--warm); }
.steps strong { display: block; margin-top: 18px; font-size: 21px; font-weight: 600; letter-spacing: -.035em; color: var(--ink); }
.steps p { margin-top: 10px; font-size: 15.5px; line-height: 1.7; color: var(--text); }
.steps small { display: block; margin-top: 14px; font-size: 13.5px; color: var(--mute); }

/* ---------- 조직 · 팀 : 조직도 · 파트너 건축가 목록 ---------- */
.org { display: grid; justify-items: center; }
.org__top { padding: 20px 40px; border: 1px solid var(--ink); background: var(--ink); text-align: center; font-size: 18px; font-weight: 600; color: #fff; }
.org__top small { display: block; font-size: 13px; font-weight: 500; color: #a39a90; }
.org__mid { position: relative; margin-top: 40px; padding: 16px 32px; border: 1px solid var(--ink); background: #fff; font-size: 16px; font-weight: 600; color: var(--ink); }
.org__mid::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 40px; background: var(--ink); }
.org__mid::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 40px; background: var(--ink); }
.org__row { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; width: 100%; margin-top: 80px; padding-top: 0; }
.org__row::before { content: ''; position: absolute; left: 10%; right: 10%; top: -40px; height: 1px; background: var(--ink); }
.org__row > li { position: relative; padding: 24px 20px 26px; border-top: 2px solid var(--ink); background: var(--tint); }
.org__row > li::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 40px; background: var(--ink); }
.org__row strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.org__row span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--mute); }
.org__row ul { margin-top: 16px; padding-top: 14px; border-top: 1px solid #ddd8d2; display: grid; gap: 4px; font-size: 15px; color: var(--text); }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.people li { padding: 32px 32px 36px 0; border-bottom: 1px solid var(--line); }
.people li:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.people small { font-size: 13.5px; color: var(--mute); }
.people strong { display: block; margin-top: 6px; font-size: 24px; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.people p { margin-top: 14px; font-size: 15.5px; line-height: 1.7; color: var(--text); }

/* ---------- 오시는 길 : 카카오맵(좌표 방식) · 연락처 · 교통 ---------- */
.kmap { position: relative; height: 560px; overflow: hidden; background: #e9e5e0; }
.kmap iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; border: 0; }
.loc { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; margin-top: 56px; align-items: start; }
.loc__tit { margin-top: 20px; font-size: 30px; font-weight: 600; line-height: 1.4; letter-spacing: -.04em; color: var(--ink); }
.loc .textlink { margin-top: 24px; }
.dlist { border-top: 1px solid var(--ink); }
.dlist div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dlist dt { padding-top: 2px; font-size: 14px; font-weight: 600; color: var(--mute); }
.dlist dd { font-size: 16.5px; color: var(--ink); }
.dlist a:hover { text-decoration: underline; text-underline-offset: 4px; }
.route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.route li { padding: 28px 28px 32px 0; }
.route li + li { padding-left: 28px; border-left: 1px solid #d9d4ce; }
.route strong { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; color: var(--ink); }
.route .ico { width: 20px; height: 20px; color: var(--warm); }
.route p { margin-top: 12px; font-size: 15.5px; line-height: 1.75; color: var(--text); }

/* ---------- 서비스 : 개요(사진 + 글 + 요약 목록) · 상담 안내 상자 ---------- */
.svc { display: grid; grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
.svc__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--tint); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc__tit { margin-top: 24px; font-size: 38px; font-weight: 600; line-height: 1.4; letter-spacing: -.045em; color: var(--ink); }
.svc .prose { margin-top: 36px; }
.svc .dlist { margin-top: 48px; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 56px 64px; background: var(--ink); color: #d4cec7; }
.cta h3 { margin-top: 18px; font-size: 32px; font-weight: 600; line-height: 1.4; letter-spacing: -.04em; color: #fff; }
.cta p { margin-top: 10px; font-size: 16px; }
.cta__act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; flex: none; }
.cta__tel { font-size: 22px; font-weight: 600; color: #fff; }

/* ---------- 채용 ---------- */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.perks li { padding: 28px 24px 32px 0; }
.perks li + li { padding-left: 24px; border-left: 1px solid #d9d4ce; }
.perks strong { display: block; font-size: 19px; font-weight: 600; color: var(--ink); }
.perks p { margin-top: 10px; font-size: 15.5px; line-height: 1.7; color: var(--text); }

/* ---------- 회원 : 로그인 상자(480px) · 가입 완료 · 계정 찾기 (login · register_result · password_lost) ---------- */
.mbox { max-width: 480px; margin: 0 auto; }
.mbox__tit { font-size: 30px; font-weight: 600; letter-spacing: -.04em; color: var(--ink); text-align: center; }
.mbox__txt { margin-top: 10px; font-size: 15.5px; color: var(--mute); text-align: center; }
.mbox form { display: grid; gap: 10px; margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--ink); }
.mbox .btn { width: 100%; margin-top: 10px; }
.mbox__opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }
.mbox__links { display: flex; justify-content: center; gap: 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--mute); }
.mbox__links a:hover, .mbox__opt a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.mbox__opt a { font-size: 14.5px; color: var(--mute); }
.done { padding: 72px 40px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); text-align: center; }
.done__ico { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; border: 1px solid var(--ink); }
.done__ico .ico { width: 28px; height: 28px; }
.done h3 { margin-top: 28px; font-size: 32px; font-weight: 600; letter-spacing: -.04em; color: var(--ink); }
.done > p { margin-top: 12px; font-size: 16.5px; color: var(--text); }
.done .dlist { max-width: 560px; margin: 40px auto 0; text-align: left; }
.find { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.find section { padding-top: 36px; border-top: 1px solid var(--ink); }
.find h3 { font-size: 24px; font-weight: 600; letter-spacing: -.04em; color: var(--ink); }
.find h3 + p { margin-top: 8px; font-size: 15.5px; color: var(--mute); }
.find form { display: grid; gap: 10px; margin-top: 28px; }
.find .btn { margin-top: 10px; }

/* ---------- 약관 · 방침 문서 ---------- */
.doc { border-top: 1px solid var(--ink); padding-top: 40px; }
.doc__date { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 20px 24px; background: var(--tint); font-size: 15px; color: var(--text); }
.doc__date b { font-weight: 600; color: var(--ink); }
.doc h3 { margin-top: 48px; font-size: 21px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.doc p, .doc li { max-width: 960px; font-size: 16.5px; line-height: 1.9; }
.doc h3 + p, .doc h3 + ol { margin-top: 12px; }
.doc p + p, .doc p + ol, .doc ol + p { margin-top: 10px; }
.doc ol { display: grid; gap: 4px; padding-left: 22px; list-style: decimal; }
.doc table { max-width: 960px; margin-top: 14px; border-top: 1px solid var(--ink); }
.doc th, .doc td { padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: 15px; text-align: left; vertical-align: top; }
.doc th { width: 28%; font-weight: 600; color: var(--ink); background: var(--tint); }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  .org__row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .org__row > li { padding: 20px 14px 22px; }
  .cform { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
}
@media (max-width: 1024px) {
  .sec--top { padding-top: 88px; }
  .wgrid { column-gap: 28px; row-gap: 72px; }
  .wgrid > li:nth-child(even) { margin-top: 96px; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
  .award3 { gap: 20px; }
  .wnote, .state, .rules, .svc, .hist, .loc { grid-template-columns: 1fr; gap: 40px; }
  .hist__side, .rules__img { position: static; }
  .rules__img, .svc__img { aspect-ratio: 16 / 9; }
  .hist + .hist { margin-top: 72px; }
  .state__txt { font-size: 32px; }
  .steps, .steps--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--4 li:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .steps--4 li:nth-child(4) { padding-left: 24px; border-left: 1px solid var(--line); }
  .steps li:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .steps li { padding-bottom: 32px; }
  .steps li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .org__row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; margin-top: 40px; }
  .org__row::before, .org__row > li::before, .org__mid::after { display: none; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .people li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks li:nth-child(3) { padding-left: 0; border-left: 0; }
  .perks li:nth-child(n+3) { border-top: 1px solid #d9d4ce; }
  .cform { grid-template-columns: 1fr; }
  .cside { position: static; }
  .cta { flex-direction: column; align-items: flex-start; padding: 48px 40px; }
  .whero { aspect-ratio: 16 / 9; }
}
@media (max-width: 768px) {
  .sec--top { padding-top: 64px; }
  .shead { margin-bottom: 36px; }
  .prose p { font-size: 16px; line-height: 1.85; }
  .btn { height: 50px; padding: 0 22px; font-size: 15px; }
  .cats { gap: 8px 22px; margin-bottom: 28px; }
  .cats a { font-size: 15.5px; }
  .bbs-top { flex-direction: column; align-items: stretch; }
  .bbs-search select { width: 96px; }
  .bbs-search input { flex: 1; width: auto; }
  /* 휴대폰 목록 : 표 대신 줄마다 제목 위 · 정보 아래 */
  .bbs table, .bbs tbody { display: block; }
  .bbs thead { display: none; }
  .bbs tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .bbs td { padding: 0; border: 0; font-size: 13.5px; text-align: left; }
  .bbs td.subj { order: -1; flex: 1 1 100%; }
  .bbs .subj a { font-size: 16px; }
  .bbs td.no { display: none; }
  .bbs tr.is-notice { padding: 16px 14px; background: var(--tint); }
  .bbs tr.is-notice td { background: none; }
  .bbs tr.is-notice td.no { display: block; order: -2; flex: 1 1 100%; }
  .bbs td.st { order: -2; }
  .paging { margin-top: 40px; }
  .paging a { min-width: 36px; height: 36px; font-size: 14.5px; }
  .bview__tit { font-size: 24px; }
  .bview__body { padding: 40px 0 48px; }
  .bview__body > p, .bview__body li { font-size: 16px; }
  .bview__pair { grid-template-columns: 1fr; gap: 16px; }
  .answer { padding: 28px 22px; }
  .pn li { grid-template-columns: 64px 1fr; gap: 12px; }
  .pn time, .pn span { display: none; }
  .bform__row { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; }
  .bform__row--top > .bform__lab { padding-top: 0; }
  .inp--s, .inp--m { max-width: none; }
  .choice span { padding: 10px 14px; font-size: 14.5px; }
  .agree__box { padding: 16px 18px; }
  .agree__all { padding: 18px; }
  .cside { padding: 32px 24px; }
  .cside h3 { font-size: 22px; }
  .faq summary { grid-template-columns: 44px 1fr 20px; gap: 10px; padding: 22px 0; font-size: 16.5px; }
  .faq__a { padding: 0 0 26px 54px; }
  .faq__a p { font-size: 15.5px; }
  .gal { grid-template-columns: 1fr; gap: 44px; }
  .gal__tit { font-size: 18px; }
  .wgrid { grid-template-columns: 1fr; row-gap: 56px; }
  .wgrid > li:nth-child(even) { margin-top: 0; }
  .wpair figure:last-child img { aspect-ratio: 4 / 3; }
  .wgrid > li figure, .wgrid > li:nth-child(4n+1) figure, .wgrid > li:nth-child(4n+4) figure { aspect-ratio: 4 / 3; }
  .wcard__tit { font-size: 21px; }
  .winfo { grid-template-columns: 1fr 1fr; }
  .winfo div, .winfo div + div { padding: 18px 16px 20px 0; border-left: 0; }
  .winfo div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .winfo div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .winfo dd { font-size: 16px; }
  .whero { margin-top: 36px; aspect-ratio: 4 / 3; }
  .wnote__tit { font-size: 26px; }
  .wpair { grid-template-columns: 1fr; gap: 24px; }
  .years > li { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
  .years__y { font-size: 30px; }
  .years ul li { flex-direction: column; gap: 2px; font-size: 16px; }
  .years ul li span { text-align: left; font-size: 14px; }
  .hist__range { font-size: 38px; }
  .award3 { grid-template-columns: 1fr; gap: 40px; }
  .award3 figure { aspect-ratio: 4 / 3; }
  .state__txt { font-size: 25px; }
  .rules { gap: 32px; }
  .rules li { grid-template-columns: 40px 1fr; padding: 28px 0 30px; }
  .rules strong { font-size: 21px; }
  .rules p { font-size: 15.5px; }
  .steps, .steps--6, .steps--4 { grid-template-columns: 1fr; }
  .steps--4 li:nth-child(4) { padding-left: 0; border-left: 0; }
  .steps li, .steps li + li { padding: 24px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .steps strong { margin-top: 10px; font-size: 19px; }
  .org__top { padding: 16px 28px; }
  .org__row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .people { grid-template-columns: 1fr; }
  .people li, .people li:nth-child(even), .people li:not(:nth-child(3n+1)) { padding: 26px 0 28px; border-left: 0; }
  .people strong { font-size: 21px; }
  .kmap { height: 460px; }
  .loc__tit { font-size: 24px; }
  .dlist div { grid-template-columns: 88px 1fr; }
  .dlist dd { font-size: 15.5px; }
  .route { grid-template-columns: 1fr; }
  .route li, .route li + li { padding: 24px 0; border-left: 0; }
  .route li + li { border-top: 1px solid #d9d4ce; }
  .svc__tit { font-size: 27px; }
  .cta { padding: 36px 24px; gap: 28px; }
  .cta h3 { font-size: 24px; }
  .perks { grid-template-columns: 1fr; }
  .perks li, .perks li + li { padding: 24px 0; border-left: 0; }
  .perks li + li { border-top: 1px solid #d9d4ce; }
  .mbox__tit { font-size: 26px; }
  .done { padding: 48px 8px; }
  .done h3 { font-size: 25px; }
  .find { grid-template-columns: 1fr; gap: 48px; }
  .doc p, .doc li { font-size: 15.5px; }
  .doc th { width: 34%; }
}
.bbs td.subj > span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 16.5px; color: var(--ink); }

/* ==========================================================================
   연결부 — 시안 19 에 없던 것만 둡니다(그누보드 화면 · 올웹 로고 · 지도 · 고정 배경 · 넓힌 폭 · 퀵메뉴 · 맨 위로 · 팝업 · 채용 창).
   ========================================================================== */

/* 그누보드 연결 부품(숨은 칸 · 여닫는 단추 이름)이 쓰는 화면 낭독기 전용 글자입니다. 시안의 .sr 과 같습니다 */
.tpl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* 그누보드 css/default.css:262 의 a.btn(높이 35px · 테두리 없음 · 1.4em)이 시안의 .btn 보다 우선합니다. 링크로 된 단추를 시안 값으로 되돌립니다 */
a.btn { height: 52px; line-height: normal; padding: 0 28px; border: 1px solid var(--ink); font-size: 15.5px; font-weight: 600; }
.fline a.btn { height: 50px; padding: 0 22px; }
@media (max-width: 768px) {
  a.btn { height: 50px; padding: 0 22px; font-size: 15px; }
}

/* ---------- 로고 : 올웹 로고입니다(지침 3-1). 원 색은 시안의 무채색과 상관없이 CI 색 그대로 둡니다 ---------- */
.logo { --accent: #12c29a; }
.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, .drawer__head .logo-img { height: 26px; }
/* 머리글은 맨 위에서도 흰 화면 위에 놓이므로 밝은 바탕용 로고만 씁니다. 어두운 바탕용(콘솔에서 올린 둘째 그림)은 푸터에서만 씁니다 */
.hd .logo-img--dark { display: none; }
@media (max-width: 768px) {
  .logo-svg, .logo-img { height: 26px; }
}

/* ---------- 지도 : 카카오맵(allweb_tpl_map_html)이 #allweb-map 에 그립니다. 키가 없으면 iframe 을(왼쪽 검색 창은 원본처럼 상자 밖으로 가립니다), 휴대폰은 단추만 냅니다 ---------- */
.contact__map .biz-map, .kmap .biz-map { position: absolute; inset: 0; overflow: hidden; }
.biz-map iframe.biz-map__frame { position: absolute; left: -420px; top: 0; width: calc(100% + 420px); max-width: none; height: 100%; min-height: 0; border: 0; filter: none; }
.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 26px; border: 1px solid var(--ink); background: var(--ink); font-size: 15.5px; font-weight: 600; color: #fff; white-space: nowrap; transition: background-color .25s, color .25s; }
.loc-map-go:hover { background: #fff; color: var(--ink); }
.loc-map-foot { display: none; }   /* 키가 있을 때 지도 아래 링크 — 원본의 「카카오맵 큰 지도 보기」 글 링크가 같은 일을 합니다 */

/* ---------- 고정 배경 : 가로 100% 사진 띠(스튜디오 띠)는 스크롤해도 사진은 멈춰 있고 내용만 움직입니다. PC 에서만 켭니다(지침 3-4, biz001 과 같은 방식) ---------- */
.band__bg { background-position: 50% 50%; background-size: cover; background-repeat: no-repeat; }
@media (min-width: 1025px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .band__bg { background-attachment: fixed; }
}

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

/* ---------- 넓힌 폭 : 게시판 · 회원가입 · 문의서는 다른 본문과 같은 가로 100% 입니다(대표 지시 2026-11-06 · 11-07) ---------- */
/* 상담 · 제안 폼 : 원본은 폼 옆(360px)에 안내 상자를 붙였습니다. 폼은 본문 폭 그대로 두고, 안내는 폼 위 가로 띠로 옮깁니다 */
.cform { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.cside { position: static; order: -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; align-items: start; padding: 44px 48px; }
.cside > .label { grid-column: 1; grid-row: 1; }
.cside > h3 { grid-column: 1; grid-row: 2; }
.cside > .cside__tel { grid-column: 1; grid-row: 3; }
.cside > ol { grid-column: 2; grid-row: 1 / span 3; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; padding: 0 0 0 40px; border-top: 0; border-left: 1px solid #45403b; }
.cside > p { grid-column: 1 / -1; grid-row: 4; margin-top: 18px; }
@media (max-width: 768px) {
  .cside { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; }
  .cside > .label, .cside > h3, .cside > .cside__tel, .cside > ol, .cside > p { grid-column: 1; grid-row: auto; }
  .cside > ol { grid-template-columns: minmax(0, 1fr); margin-top: 28px; padding: 24px 0 0; border-top: 1px solid #45403b; border-left: 0; }
}
/* 계정 찾기 : 원본은 아이디 찾기 · 비밀번호 찾기를 두 칸(반씩)으로 나눴습니다. 입력 화면은 본문 폭 그대로라 두 칸을 위아래로 쌓습니다 */
.find { grid-template-columns: minmax(0, 1fr); gap: 56px; }

/* ---------- 게시판 · 회원 화면 중 시안에 없는 그누보드 부품 ---------- */
.bbs td.bbs__empty { padding: 64px 10px; text-align: center; color: var(--mute); }
.bbs .subj a.is-reply > span::before { content: '\2514\00a0'; color: var(--warm); }   /* 답변 글 줄 앞 「└」 */
.bview__body img { max-width: 100%; height: auto; }
.bview__body iframe { max-width: 100%; }
.bview__body > p > img { display: block; width: 100%; max-width: 1080px; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tint); }   /* 정화기가 figure 를 지운 예시 글 사진입니다(원본 .bview__fig) */
.bview__body > p:has(> img) { margin: 44px 0; max-width: 1080px; }
.files ul { display: grid; gap: 8px; }
.answer + .answer { margin-top: 16px; }
.answer__del { margin-left: auto; font-size: 14px; color: var(--mute); text-decoration: underline; text-underline-offset: 4px; }
.cmt { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.cmt__tit { font-size: 19px; font-weight: 600; color: var(--ink); }
.cmt__tit b { font-weight: 600; color: var(--warm); }
.cmt__list { margin-top: 14px; border-top: 1px solid var(--line); }
.cmt__list li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.cmt__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 6px; font-size: 14px; color: var(--mute); }
.cmt__meta strong { font-weight: 600; color: var(--ink); }
.cmt__meta a { text-decoration: underline; text-underline-offset: 3px; }
.cmt__form { display: grid; gap: 10px; margin-top: 20px; }
.cmt__form .btn { justify-self: end; }
.cmt__form textarea.inp { min-height: 120px; }
.bform #captcha { margin: 0; }
.bform .frm_info { display: block; margin-top: 8px; font-size: 14px; color: var(--mute); }
.bform .inp[readonly] { background: var(--tint); }
.bform #reg_mb_img, .bform #reg_mb_icon { max-width: 120px; margin-top: 10px; }
.bform__row > div { min-width: 0; }
.mbox__cert { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.bform .mbox__cert { justify-content: flex-start; margin-top: 0; }
.mbox__note { margin-top: 28px; font-size: 15px; color: var(--mute); text-align: center; }
/* 회원 정보 입력 : 그누보드 칸(주소 · 수신 동의 · 첨부 그림)을 원본 줄 모양 안에 놓습니다 */
.mb-addr { display: grid; gap: 8px; }
.mb-addr__zip { display: flex; gap: 8px; max-width: 520px; }
.mb-addr__zip .btn { flex: none; height: 50px; padding: 0 22px; }
.mb-textarea { min-height: 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: 12px; }
.mb-consent__more { font-size: 14px; color: var(--mute); text-decoration: underline; text-underline-offset: 4px; }
.mb-consent__sub { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 10px; padding-left: 27px; }
.mb-file-now { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.mb-file-now img { max-width: 120px; }
.find__captcha { margin-top: 32px; text-align: center; }

/* ---------- 채용 공고 상세 : 공고명을 누르면 뜨는 창(dialog)입니다. 창 안은 시안의 글 보기 모양입니다 ---------- */
.bbs .subj a[data-job-open] > span { text-decoration: underline; text-decoration-color: var(--warm); text-underline-offset: 5px; }
.cs-job-dialog { width: min(760px, calc(100% - 40px)); max-height: calc(100% - 80px); padding: 8px 40px 32px; border: 0; background: #fff; color: var(--text); overflow-y: auto; }
.cs-job-dialog::backdrop { background: rgba(28, 26, 24, .55); }
.cs-job-dialog .bview__head { border-top: 0; }
.cs-job-dialog .bview__body { padding: 32px 0 8px; }
.cs-job-dialog .btns { margin-top: 24px; }
@media (max-width: 768px) {
  .cs-job-dialog { padding: 4px 20px 24px; }
}

/* ---------- 퀵메뉴 : 오른쪽 아래 떠 있는 먹색 동그라미 단추 하나(배치 4). 누르면 흰 직각 판이 위로 펼쳐지고 단추가 × 가 됩니다(처음에는 닫힘).
   판의 줄에 올리거나 키보드로 가면 이름 아래 먹색 밑줄이 왼쪽부터, 줄 왼쪽 변에 옆줄이 위부터 그어집니다(효과 5 — 시안의 글 링크 밑줄 말씨).
   「맨 위로」 는 여닫는 단추 바로 아래의 흰 동그라미(그림자)입니다. 맨 위에서는 숨고 내려가면 나타납니다(js/main.js 의 is-show). ---------- */
:root { --tpl-qs: 52px; }
@media (max-width: 768px) { :root { --tpl-qs: 44px; } }
.tpl-quick { position: fixed; right: 28px; bottom: 32px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .35s var(--ease), visibility 0s linear .35s; }
.tpl-quick.is-show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tpl-quick ul { order: -1; min-width: 196px; max-width: calc(100vw - 56px); margin-bottom: 4px; border: 1px solid var(--line); border-top: 2px solid var(--ink); background: #fff; box-shadow: 0 18px 40px rgba(28, 26, 24, .12); visibility: hidden; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .35s var(--ease), visibility 0s linear .35s; }
.tpl-quick.is-open ul { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.tpl-quick li + li { border-top: 1px solid var(--line); }
.tpl-quick a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px 15px 20px; color: var(--ink); }
.tpl-quick a span { position: relative; overflow: hidden; font-size: 15px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; text-overflow: ellipsis; }
.tpl-quick a .ico, .tpl-quick__img { width: 18px; height: 18px; color: var(--warm); stroke-width: 1.7; transition: color .3s; }
.tpl-quick__img { object-fit: contain; }
.tpl-quick a::after { content: ''; position: absolute; left: 20px; bottom: 11px; width: calc(100% - 76px); height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.tpl-quick a::before { content: ''; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--ink); transform: scaleY(0); transform-origin: 50% 0; transition: transform .3s var(--ease); }
.tpl-quick a:hover::after, .tpl-quick a:focus-visible::after { transform: scaleX(1); }
.tpl-quick a:hover::before, .tpl-quick a:focus-visible::before { transform: scaleY(1); }
.tpl-quick a:hover .ico, .tpl-quick a:focus-visible .ico { color: var(--ink); }
.tpl-quick a:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
/* 여닫는 단추 : 먹색 동그라미. 열리면 + 가 돌며 × 로 바뀝니다 */
.tpl-quick__toggle { display: grid; place-items: center; width: var(--tpl-qs); height: var(--tpl-qs); border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(28, 26, 24, .24); transition: background-color .3s; }
.tpl-quick__toggle .ico { grid-area: 1 / 1; width: 22px; height: 22px; stroke-width: 1.8; transition: opacity .3s, transform .35s var(--ease); }
.tpl-quick__close { opacity: 0; transform: rotate(-90deg); }
.tpl-quick.is-open .tpl-quick__open { opacity: 0; transform: rotate(90deg); }
.tpl-quick.is-open .tpl-quick__close { opacity: 1; transform: none; }
.tpl-quick__toggle:hover, .tpl-quick__toggle:focus-visible { background: #3a3632; }
.tpl-quick__toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* 맨 위로 : 흰 동그라미(그림자). 여닫는 단추 바로 아래이고, 퀵메뉴를 꺼도 이 단추만 혼자 남습니다 */
.tpl-quick .tpl-totop { position: static; display: grid; place-items: center; width: var(--tpl-qs); height: var(--tpl-qs); border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(28, 26, 24, .16), 0 0 0 1px rgba(28, 26, 24, .06); transition: box-shadow .3s, transform .3s var(--ease); }
.tpl-quick .tpl-totop .ico { width: 18px; height: 18px; }
.tpl-quick .tpl-totop:hover, .tpl-quick .tpl-totop:focus-visible { box-shadow: 0 10px 24px rgba(28, 26, 24, .24), 0 0 0 1px var(--ink); }
.tpl-quick .tpl-totop:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* 터치 화면은 올릴 수 없습니다. 펼친 판은 이름이 늘 보이고 한 번 누르면 바로 이동합니다 */
@media (hover: none) {
  .tpl-quick a:hover::after { transform: scaleX(0); }
  .tpl-quick a:hover::before { transform: scaleY(0); }
}
@media (max-width: 768px) {
  .tpl-quick { right: 16px; bottom: 16px; gap: 8px; }
  .tpl-quick ul { max-width: calc(100vw - 32px); }
  .tpl-quick a { padding: 13px 16px 13px 18px; }
  .tpl-quick a span { font-size: 14.5px; }
  .tpl-quick a::after { left: 18px; bottom: 10px; width: calc(100% - 70px); }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-quick, .tpl-quick * { transition: none !important; }
}

/* ---------- 팝업 : 흰 직각 판 · 윗변 먹색 1px 선 · 제목 앞 웜그레이 짧은 선(시안의 번호 라벨 선) · 먹색 선 단추(올리면 먹색 면) · 옅은 웜그레이 아래 띠 ---------- */
.tpl-pop__item { background: #fff; border-top: 1px solid var(--ink); box-shadow: 0 30px 70px rgba(28, 26, 24, .34); }
.tpl-pop__body { padding: 40px 36px 32px; }
.tpl-pop__title { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; font-size: 23px; font-weight: 600; line-height: 1.4; letter-spacing: -.045em; color: var(--ink); }
.tpl-pop__title::before { content: ''; flex: none; width: 24px; height: 1px; background: var(--warm); transform: translateY(-.32em); }
.tpl-pop__text { margin: 0; font-size: 16px; line-height: 1.75; color: var(--text); }
.tpl-pop__more { display: inline-flex; align-items: center; gap: 10px; height: 48px; margin-top: 24px; padding: 0 22px; border: 1px solid var(--ink); background: #fff; font-size: 15px; font-weight: 600; color: var(--ink); transition: background-color .25s, color .25s; }
.tpl-pop__more:hover, .tpl-pop__more:focus-visible { background: var(--ink); color: #fff; }
.tpl-pop__foot { border-top: 1px solid var(--line); background: var(--tint); }
.tpl-pop__foot button { min-height: 50px; padding: 0 12px; border: 0; background: transparent; font-size: 14px; color: var(--mute); transition: color .25s; }
.tpl-pop__foot button + button { border-left: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.tpl-pop__foot button:hover, .tpl-pop__foot button:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
