/*
 * 경인자동화 — 스톤워크(s06) 기반
 * 샌드 + 스톤 그레이 + 차콜 + 테라코타 포인트 (템플릿 원색) / 부품 카탈로그풍 / PC 왼쪽 고정 사이드바(260px) / 모서리 0, 얇은 선, 넓은 자간 대문자
 */
:root {
  --gw-primary: #2b2a27;
  --gw-primary-ink: #f7f4ee;
  --gw-accent: #9c5a3c;
  --gw-ink: #2b2a27;
  --gw-muted: #6b665d;
  --gw-bg: #f7f4ee;
  --gw-surface: #ece6da;
  --gw-line: #d3ccbe;
  --gw-radius: 0px;
  --gw-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --gw-font-head: var(--gw-font);
  --gw-wrap: 1160px;
  --gw-gutter: clamp(20px, 4vw, 56px);

  --sw-sand: #ece6da;
  --sw-sand-2: #e2dacb;
  --sw-stone: #8b867d;
  --sw-stone-2: #b9b3a7;
  --sw-char: #2b2a27;
  --sw-char-2: #21201e;
  --sw-en: "Jost", "Pretendard Variable", Pretendard, sans-serif;
  --sw-side-w: 260px;
  --sw-top-h: 60px;
}

body { font-size: 16px; letter-spacing: -.01em; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; }
h1, h2, h3 { font-family: var(--gw-font-head); font-weight: 600; letter-spacing: -.025em; line-height: 1.3; }
h2 { font-size: clamp(26px, 2.6vw, 38px); }

/* ---------- 공통 조각 ---------- */
.sw-cap { font-family: var(--sw-en); font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gw-muted); }
.sw-code { font-family: var(--sw-en); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gw-muted); white-space: nowrap; }
.sw-lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.75; color: var(--gw-ink); }
.sw-body-text { margin-top: 16px; color: var(--gw-muted); line-height: 1.85; }
.sw-more { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-bottom: 2px; font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gw-ink); white-space: nowrap; }
.sw-more span { transition: transform .25s; }
.sw-more:hover { color: var(--gw-accent); border-color: var(--gw-accent); }
.sw-more:hover span { transform: translateX(4px); }

.gw-btn, .gw-submit { min-height: 50px; padding: 12px 26px; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.gw-btn--ghost { border-color: var(--gw-ink); }
.gw-btn--ghost:hover { background: var(--gw-primary); border-color: var(--gw-primary); color: var(--gw-primary-ink); }
.gw-filter a { border-radius: 0; min-height: 44px; align-items: center; }
.gw-list__no b { border-radius: 0; }
.gw-empty { border: 1px solid var(--gw-line); }

/* 구역 제목: 색인 줄 + 제목 */
.sw-sechead { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sw-sechead__idx { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid var(--gw-ink); font-family: var(--sw-en); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gw-muted); }
.sw-sechead__idx span:first-child { color: var(--gw-ink); }
.sw-sechead__idx span:first-child::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 14px; vertical-align: middle; background: currentColor; }
.sw-sechead__main { max-width: 720px; }
.sw-sechead__main p { margin-top: 14px; color: var(--gw-muted); }
.sw-sechead--light .sw-sechead__idx { border-color: rgba(236, 230, 218, .5); color: #a9a397; }
.sw-sechead--light .sw-sechead__idx span:first-child { color: #f7f4ee; }
.sw-sechead--light .sw-sechead__main p { color: #b9b3a7; }

/* ---------- 틀: 사이드바 + 본문 ---------- */
.sw-shell { display: block; }
.sw-body { min-width: 0; }

.sw-logo { display: grid; gap: 4px; text-decoration: none; }
.sw-logo img { max-height: 44px; width: auto; }
.sw-side__head .sw-logo { min-width: 0; }
.sw-side__head .sw-logo img { max-height: 64px; max-width: 100%; height: auto; }
.sw-logo__mark { display: grid; grid-template-columns: 14px 10px; grid-template-rows: 10px 14px; gap: 2px; width: 26px; margin-bottom: 14px; }
.sw-logo__mark i { display: block; background: var(--gw-primary); }
.sw-logo__mark i:nth-child(1) { grid-row: 1 / 3; background: var(--sw-stone); }
.sw-logo__mark i:nth-child(2) { background: var(--sw-stone-2); }
.sw-logo__text { font-family: var(--sw-en); font-size: 19px; font-weight: 500; letter-spacing: .32em; line-height: 1.2; }
.sw-logo__sub { font-size: 12px; color: var(--gw-muted); letter-spacing: 0; }
.sw-logo--top { display: flex; align-items: center; gap: 12px; }
.sw-logo--top .sw-logo__mark { margin: 0; }
.sw-logo--top .sw-logo__text { font-size: 16px; }

.sw-top { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; height: var(--sw-top-h); padding-left: var(--gw-gutter); background: var(--gw-bg); border-bottom: 1px solid var(--gw-line); }
.sw-burger { display: grid; place-content: center; gap: 6px; width: var(--sw-top-h); height: var(--sw-top-h); padding: 0; border: 0; border-left: 1px solid var(--gw-line); background: none; color: var(--gw-ink); cursor: pointer; }
.sw-burger span { display: block; width: 22px; height: 1px; background: currentColor; }
.sw-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(33, 32, 30, .45); }

.sw-side { position: fixed; top: 0; bottom: 0; left: 0; z-index: 80; display: flex; flex-direction: column; gap: 36px; width: min(320px, 88vw); padding: 24px 28px 28px; overflow-y: auto; background: var(--sw-sand); border-right: 1px solid var(--gw-line); transform: translateX(-102%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; }
.sw-nav-open .sw-side { transform: none; visibility: visible; transition: transform .3s ease; }
.sw-side__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sw-side__close { display: grid; place-items: center; width: 44px; height: 44px; margin: -8px -10px 0 0; padding: 0; border: 0; background: none; color: var(--gw-ink); cursor: pointer; }

.sw-nav .sw-cap, .sw-side__contact .sw-cap { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--gw-ink); }
.sw-nav li { border-bottom: 1px solid var(--gw-line); }
.sw-nav a { position: relative; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 4px; min-height: 52px; text-decoration: none; transition: padding .2s, background .2s; }
.sw-nav__no { font-family: var(--sw-en); font-size: 12px; letter-spacing: .1em; color: var(--sw-stone); }
.sw-nav a b { font-size: 16px; font-weight: 500; }
.sw-nav__en { font-family: var(--sw-en); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--sw-stone); }
.sw-nav a:hover b { color: var(--gw-accent); }
.sw-nav a[aria-current="page"] { margin-inline: -28px; padding-inline: 28px; background: var(--gw-primary); color: var(--gw-primary-ink); }
.sw-nav a[aria-current="page"] b { font-weight: 600; color: inherit; }
.sw-nav a[aria-current="page"] .sw-nav__no, .sw-nav a[aria-current="page"] .sw-nav__en { color: var(--sw-stone-2); }

.sw-side__contact { margin-top: auto; font-size: 13.5px; line-height: 1.6; color: var(--gw-muted); }
.sw-side__tel { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sw-en); font-size: 24px; font-weight: 400; letter-spacing: .04em; color: var(--gw-ink); text-decoration: none; }
.sw-side__links { display: flex; gap: 18px; margin-top: 12px; }
.sw-side__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--gw-ink); text-underline-offset: 4px; }
.sw-side__links a[aria-current="page"] { color: var(--gw-accent); }

@media (min-width: 1080px) {
  .sw-shell { display: grid; grid-template-columns: var(--sw-side-w) minmax(0, 1fr); }
  .sw-top, .sw-scrim, .sw-side__close { display: none !important; }
  .sw-side { position: sticky; top: 0; z-index: 10; width: auto; height: 100vh; height: 100dvh; padding: 40px 28px 32px; transform: none; visibility: visible; transition: none; }
  :root { --sw-top-h: 0px; }
  [id] { scroll-margin-top: 72px; }
}

/* ---------- 첫 화면 ---------- */
.sw-hero__stage { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; min-height: clamp(520px, 44vw, 720px); background: #a69a86 url(../img/hero-bg.jpg) center 40% / cover no-repeat; background-blend-mode: multiply; overflow: hidden; }
.sw-hero__stage::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(240, 234, 224, .86) 0%, rgba(240, 234, 224, .46) 30%, rgba(240, 234, 224, 0) 52%, rgba(240, 234, 224, 0) 70%), linear-gradient(0deg, rgba(240, 234, 224, .12) 0%, rgba(240, 234, 224, 0) 25%); pointer-events: none; }
.sw-hero__img { position: relative; z-index: 1; display: block; width: min(50%, 1000px); height: auto; max-height: 88%; margin: 0 clamp(16px, 3vw, 48px) clamp(20px, 3vw, 44px) 0; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 18px 24px rgba(43, 42, 39, .12)); }
.sw-hero__copy { position: absolute; z-index: 2; left: var(--gw-gutter); top: 50%; width: min(40%, 540px); transform: translateY(-50%); }
.sw-hero h1 { margin-top: 20px; font-size: clamp(32px, 3.5vw, 54px); font-weight: 600; line-height: 1.22; letter-spacing: -.035em; }
.sw-hero__text { margin-top: 22px; max-width: 440px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.8; color: #1a1917; font-weight: 500; }
.sw-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.sw-hero__spec { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--gw-ink); background: var(--gw-bg); }
.sw-hero__spec div { padding: 18px var(--gw-gutter) 20px; border-left: 1px solid var(--gw-line); }
.sw-hero__spec div:first-child { border-left: 0; }
.sw-hero__spec div + div { padding-inline: clamp(16px, 2vw, 28px); }
.sw-hero__spec dt { font-family: var(--sw-en); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gw-muted); }
.sw-hero__spec dd { margin-top: 6px; font-size: 14.5px; font-weight: 500; line-height: 1.5; }

/* ---------- 자재: 견본 칩 ---------- */
.sw-chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--gw-line); border-left: 1px solid var(--gw-line); }
.sw-chips li { border-right: 1px solid var(--gw-line); border-bottom: 1px solid var(--gw-line); }
.sw-chipcard { display: grid; gap: 4px; height: 100%; padding: 14px 14px 18px; text-decoration: none; transition: background .2s; }
.sw-chipcard .sw-chip { margin-bottom: 12px; transition: transform .35s; }
.sw-chipcard strong { font-size: 16px; font-weight: 600; }
.sw-chipcard__en { font-family: var(--sw-en); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sw-stone); }
.sw-chipcard:hover, .sw-chipcard:focus-visible, .sw-chipcard.is-hl { background: var(--sw-sand); }
.sw-chipcard:hover .sw-chip { transform: scale(.96); }

/* 품목 카드 사진 (정사각) */
.sw-chip { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; background-color: #fff; box-shadow: inset 0 0 0 1px rgba(43, 42, 39, .1); }
.sw-chip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sw-chipcard:hover .sw-chip img { transform: scale(1.05); }
.sw-mat.is-target .sw-mat__chip .sw-chip { outline: 2px solid var(--gw-accent); outline-offset: 4px; }

/* 규격·마감 표 */
.sw-spec { margin-top: clamp(32px, 4vw, 48px); }
.sw-spec table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--gw-ink); font-size: 14.5px; }
.sw-spec thead th { padding: 13px 14px; border-bottom: 1px solid var(--gw-ink); font-family: var(--sw-en), var(--gw-font); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-align: left; text-transform: uppercase; color: var(--gw-muted); white-space: nowrap; }
.sw-spec tbody th, .sw-spec tbody td { padding: 16px 14px; border-bottom: 1px solid var(--gw-line); text-align: left; vertical-align: top; font-weight: 400; }
.sw-spec tbody th { font-weight: 600; white-space: nowrap; }
.sw-spec tbody th a { text-decoration: none; }
.sw-spec tbody th a:hover { color: var(--gw-accent); text-decoration: underline; text-underline-offset: 4px; }
.sw-spec tbody td:last-child { font-weight: 600; white-space: nowrap; }
.sw-spec tbody tr { transition: background .2s; }
.sw-spec tbody tr:hover, .sw-spec tbody tr.is-hl { background: var(--sw-sand); }
.sw-spec__note { margin-top: 14px; font-size: 13px; color: var(--gw-muted); }
.sw-spec--plain { margin-top: 0; }
.sw-spec--plain tbody td:last-child { font-weight: 400; }

/* ---------- 회사 소개(메인): 사진 + 수치 ---------- */
.sw-about { display: grid; grid-template-columns: clamp(300px, 32%, 460px) minmax(0, 1fr); background: var(--sw-sand); border-block: 1px solid var(--gw-line); }
.sw-about__fig { position: relative; min-height: 520px; }
.sw-about__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 88% 30%; }
.sw-about__fig figcaption, .sw-intro__fig figcaption { position: absolute; left: 0; bottom: 0; padding: 10px 16px; background: var(--gw-bg); font-size: 12.5px; color: var(--gw-muted); }
.sw-about__fig figcaption span, .sw-intro__fig figcaption span { margin-right: 10px; font-family: var(--sw-en); letter-spacing: .2em; text-transform: uppercase; color: var(--gw-ink); }
.sw-about__body { padding: clamp(40px, 5vw, 80px) clamp(24px, 5vw, 88px); max-width: 960px; }
.sw-about__body h2 { margin-top: 22px; }
.sw-about__body .sw-lead { margin-top: 18px; color: #4a4741; }
.sw-about__body .sw-more { margin-top: 28px; }
.sw-sechead__idx:not(.sw-sechead .sw-sechead__idx) { display: flex; }

.sw-stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 32px; border-top: 1px solid var(--gw-ink); }
.sw-stats div { padding: 16px 0 18px; border-bottom: 1px solid var(--gw-line); }
.sw-stats div:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--gw-line); }
.sw-stats div:nth-child(even) { padding-left: 20px; }
.sw-stats dt { font-size: 13px; color: var(--gw-muted); }
.sw-stats dd { margin-top: 2px; font-family: var(--sw-en); font-size: clamp(30px, 3vw, 40px); font-weight: 300; line-height: 1.2; letter-spacing: .01em; }
.sw-stats dd small { margin-left: 4px; font-family: var(--gw-font); font-size: 14px; font-weight: 500; color: var(--gw-muted); }

/* ---------- 가공 공정: 가로 스텝 (차콜 면) ---------- */
.sw-dark { background: var(--sw-char); color: #ece6da; }
.sw-dark h2 { color: #f7f4ee; }
.sw-steps { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: none; }
.sw-steps li { position: relative; padding: 30px 22px 0 0; border-top: 1px solid rgba(236, 230, 218, .4); }
.sw-steps li::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; background: #ece6da; }
.sw-steps li::after { content: ""; position: absolute; right: 12px; top: -4px; width: 7px; height: 7px; border-top: 1px solid rgba(236, 230, 218, .7); border-right: 1px solid rgba(236, 230, 218, .7); transform: rotate(45deg); }
.sw-steps li:last-child::after { display: none; }
.sw-steps__no { display: block; font-family: var(--sw-en); font-size: 44px; font-weight: 300; line-height: 1; color: #b9b3a7; }
.sw-steps b { display: block; margin-top: 18px; font-size: 18px; font-weight: 600; color: #f7f4ee; }
.sw-steps p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: #b9b3a7; }
.sw-steps__meta { display: inline-block; margin-top: 16px; padding: 5px 10px; border: 1px solid rgba(236, 230, 218, .35); font-size: 12px; color: #d9d2c4; }

/* ---------- 납품사례(메인) ---------- */
.sw-proj__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.sw-proj__thumb { display: block; overflow: hidden; background: var(--sw-sand); }
.sw-proj__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.sw-proj__grid a { text-decoration: none; }
.sw-proj__grid a:hover img { transform: scale(1.04); }
.sw-proj__grid a:hover strong { color: var(--gw-accent); }
.sw-proj__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--sw-en), var(--gw-font); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gw-muted); }
.sw-proj__meta > * + *::before { content: "/"; margin-right: 14px; color: var(--sw-stone-2); }
.sw-proj__text { display: block; font-size: 14.5px; color: var(--gw-muted); line-height: 1.7; }
.sw-proj__lead { display: grid; gap: 10px; }
.sw-proj__lead .sw-proj__thumb { aspect-ratio: 16 / 10; margin-bottom: 10px; }
.sw-proj__lead strong { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; line-height: 1.4; }
.sw-proj__list { border-top: 1px solid var(--gw-ink); }
.sw-proj__list li { border-bottom: 1px solid var(--gw-line); }
.sw-proj__list a { display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: center; padding: 18px 0; }
.sw-proj__list .sw-proj__thumb { aspect-ratio: 1; }
.sw-proj__info { display: grid; gap: 6px; min-width: 0; }
.sw-proj__info strong { font-size: 16.5px; font-weight: 600; line-height: 1.45; }

/* ---------- FAQ + 공지 ---------- */
.sw-info { background: var(--sw-sand); border-top: 1px solid var(--gw-line); }
.sw-info__in { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.sw-info h2 { margin: 22px 0 26px; font-size: clamp(24px, 2.2vw, 30px); }
.sw-info .sw-sechead__idx { grid-column: auto; }
.sw-faq { border-top: 1px solid var(--gw-line); }
.sw-faq details { border-bottom: 1px solid var(--gw-line); }
.sw-faq summary { position: relative; display: flex; align-items: baseline; gap: 16px; min-height: 60px; padding: 18px 44px 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
.sw-faq summary::-webkit-details-marker { display: none; }
.sw-faq summary span { flex: none; width: 28px; font-family: var(--sw-en); font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--sw-stone); }
.sw-faq summary::after, .sw-faq summary::before { content: ""; position: absolute; right: 8px; top: 29px; width: 15px; height: 1px; background: var(--gw-ink); transition: transform .25s; }
.sw-faq summary::before { transform: rotate(90deg); }
.sw-faq details[open] summary::before { transform: rotate(0); }
.sw-faq details p { padding: 0 44px 22px 44px; font-size: 15px; color: var(--gw-muted); line-height: 1.8; }
.sw-news { border-top: 1px solid var(--gw-line); margin-bottom: 22px; }
.sw-news li { border-bottom: 1px solid var(--gw-line); }
.sw-news a { display: grid; gap: 2px; padding: 15px 0; text-decoration: none; }
.sw-news time { font-family: var(--sw-en); font-size: 12px; letter-spacing: .12em; color: var(--sw-stone); }
.sw-news span { font-weight: 500; line-height: 1.5; }
.sw-news em { margin-right: 8px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--gw-accent); }
.sw-news a:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 견본 요청 ---------- */
.sw-cta { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 34%, 460px); align-items: center; background: var(--sw-sand-2); border-top: 1px solid var(--gw-ink); }
.sw-cta__body { padding: clamp(44px, 5vw, 80px) var(--gw-gutter); }
.sw-cta__body h2 { margin-top: 18px; font-size: clamp(28px, 3vw, 42px); }
.sw-cta__body > p:not(.sw-cap) { margin-top: 16px; max-width: 460px; color: #4a4741; line-height: 1.8; }
.sw-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.sw-cta__tel { display: inline-flex; align-items: baseline; gap: 10px; min-height: 44px; font-family: var(--sw-en); font-size: 24px; letter-spacing: .04em; text-decoration: none; }
.sw-cta__tel span { font-family: var(--gw-font); font-size: 13px; color: var(--gw-muted); letter-spacing: 0; }
.sw-cta__fig { position: relative; margin: 0; padding: clamp(24px, 3vw, 44px) var(--gw-gutter) clamp(24px, 3vw, 44px) 0; }
.sw-cta__fig img { display: block; width: 100%; height: auto; aspect-ratio: 900 / 792; object-fit: cover; box-shadow: 0 14px 34px rgba(43, 42, 39, .16); }

/* ---------- 푸터 ---------- */
.sw-footer { background: var(--sw-char-2); color: #b9b3a7; font-size: 14px; }
.sw-footer a { text-decoration: none; }
.sw-footer a:hover { color: #f7f4ee; text-decoration: underline; text-underline-offset: 4px; }
.sw-footer__top { display: grid; grid-template-columns: 1.3fr 1.2fr .9fr; gap: 40px; padding-block: clamp(44px, 5vw, 68px); }
.sw-footer__name { font-family: var(--sw-en); font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; letter-spacing: .34em; color: #f7f4ee; }
.sw-footer__intro { margin-top: 12px; }
.sw-footer__info div { display: grid; grid-template-columns: 60px 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid rgba(236, 230, 218, .14); }
.sw-footer__info div:first-child { border-top: 1px solid rgba(236, 230, 218, .14); }
.sw-footer__info dt { font-family: var(--sw-en); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; line-height: 2; color: #8b867d; }
.sw-footer__info dd { color: #d9d2c4; }
.sw-footer__nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.sw-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; color: #d9d2c4; }
.sw-footer__bottom { display: grid; gap: 10px; padding-block: 26px 34px; border-top: 1px solid rgba(236, 230, 218, .22); font-size: 13px; }
.sw-footer__biz { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.sw-footer__policy { display: flex; flex-wrap: wrap; gap: 0 20px; }
.sw-footer__policy a { display: inline-flex; align-items: center; min-height: 44px; color: #d9d2c4; }
.sw-footer__policy b { color: #f7f4ee; }
.sw-footer__copy { font-family: var(--sw-en), var(--gw-font); font-size: 12px; letter-spacing: .08em; color: #8b867d; }

/* ---------- 서브 화면 상단 ---------- */
.sw-pagehead { padding-block: clamp(36px, 5vw, 64px) clamp(32px, 4vw, 52px); background: var(--sw-sand); border-bottom: 1px solid var(--gw-ink); }
.sw-pagehead__path { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--sw-en), var(--gw-font); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gw-muted); }
.sw-pagehead__path a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.sw-pagehead__path a:hover { color: var(--gw-ink); }
.sw-pagehead__row { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 20px 48px; align-items: end; margin-top: clamp(20px, 4vw, 56px); }
.sw-pagehead h1 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; }
.sw-pagehead__desc { padding-left: 20px; border-left: 1px solid var(--gw-ink); color: #4a4741; line-height: 1.75; }

/* ---------- 회사소개 ---------- */
.sw-intro__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sw-intro h2 { margin: 22px 0 20px; }
.sw-intro__fig { position: relative; }
.sw-intro__fig img { width: 100%; height: auto; aspect-ratio: 709 / 473; object-fit: cover; }
.sw-sign { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--gw-line); font-size: 14px; color: var(--gw-muted); }
.sw-sign b { margin-left: 8px; font-size: 18px; color: var(--gw-ink); letter-spacing: .2em; }
.sw-statband { background: var(--sw-sand); border-block: 1px solid var(--gw-line); }
.sw-stats--row { grid-template-columns: repeat(4, 1fr); margin-top: 0; border-top: 0; }
.sw-stats--row div, .sw-stats--row div:nth-child(odd), .sw-stats--row div:nth-child(even) { padding: 28px 20px 30px 24px; border-bottom: 0; border-right: 0; border-left: 1px solid var(--gw-line); }
.sw-stats--row div:first-child { padding-left: 0; border-left: 0; }
.sw-values { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--gw-line); }
.sw-values li { padding: 8px 28px 12px; border-right: 1px solid var(--gw-line); }
.sw-values__no { font-family: var(--sw-en); font-size: 40px; font-weight: 300; color: var(--sw-stone-2); line-height: 1; }
.sw-values h3 { margin-top: 36px; font-size: 20px; }
.sw-values p { margin-top: 10px; color: var(--gw-muted); font-size: 15px; line-height: 1.75; }
.sw-equip { background: var(--sw-sand); border-block: 1px solid var(--gw-line); }
.sw-equip__in { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sw-equip h2 { margin: 22px 0 14px; }
.sw-equip .sw-lead { color: var(--gw-muted); font-size: 16px; }
.sw-mottos { margin: 26px 0 4px; padding: 18px 0 18px 22px; border-left: 2px solid var(--gw-accent); list-style: none; }
.sw-mottos li { font-size: clamp(16px, 1.3vw, 18px); font-weight: 600; line-height: 1.75; color: var(--gw-ink); word-break: keep-all; }
.sw-equip__fig { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 28px; }
.sw-equip__fig img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.sw-history { border-top: 1px solid var(--gw-line); }
.sw-history li { display: grid; grid-template-columns: clamp(90px, 16vw, 200px) 1fr; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--gw-line); }
.sw-history b { font-family: var(--sw-en); font-size: 26px; font-weight: 300; letter-spacing: .04em; }
.sw-history span { color: #4a4741; }
.sw-strip { border-top: 1px solid var(--gw-ink); background: var(--sw-sand-2); }
.sw-strip__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-block: clamp(32px, 4vw, 48px); }
.sw-strip p { font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.02em; }
.sw-strip__in div { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 자재 안내 ---------- */
.sw-jump { position: sticky; top: var(--sw-top-h); z-index: 20; background: var(--gw-bg); border-bottom: 1px solid var(--gw-line); }
.sw-jump ul { display: flex; gap: 4px 26px; overflow-x: auto; scrollbar-width: none; }
.sw-jump ul::-webkit-scrollbar { display: none; }
.sw-jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.sw-jump a:hover { color: var(--gw-accent); }
.sw-jump .sw-chip { width: 28px; flex: none; }
.sw-catalog { padding-bottom: clamp(32px, 5vw, 64px); }
.sw-mat { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: clamp(24px, 3vw, 48px); align-items: start; padding-block: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--gw-line); scroll-margin-top: calc(var(--sw-top-h) + 60px); }
.sw-mat__chip .sw-chip { aspect-ratio: 4 / 5; }
.sw-mat__chip p { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; font-family: var(--sw-en); font-size: 11.5px; letter-spacing: .14em; color: var(--sw-stone); }
.sw-mat__body h2 { margin: 8px 0 14px; font-size: clamp(24px, 2.2vw, 32px); }
.sw-mat__body .sw-lead { font-size: 16.5px; }
.sw-mat__body .sw-body-text { margin-top: 10px; font-size: 15px; }
.sw-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.sw-tags li { padding: 5px 11px; border: 1px solid var(--gw-line); font-size: 13px; color: #4a4741; background: var(--gw-bg); }
.sw-mat__spec { border-top: 1px solid var(--gw-ink); font-size: 14px; }
.sw-mat__spec div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--gw-line); }
.sw-mat__spec dt { color: var(--gw-muted); }
.sw-mat__spec dd b { font-family: var(--sw-en), var(--gw-font); font-size: 18px; font-weight: 500; }
.sw-tablesec { background: var(--sw-sand); border-block: 1px solid var(--gw-line); }
.sw-tablesec .sw-spec { margin-top: 0; }
.sw-tablesec .sw-spec tbody tr:hover { background: var(--sw-sand-2); }
.sw-brands { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gw-line); border-left: 1px solid var(--gw-line); }
.sw-brands li { padding: 22px 24px 26px; border-right: 1px solid var(--gw-line); border-bottom: 1px solid var(--gw-line); }
.sw-brands h3 { font-size: 15px; font-weight: 600; color: var(--gw-muted); }
.sw-brands p { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sw-brands span { padding: 7px 12px; border: 1px solid var(--gw-ink); background: var(--gw-bg); font-size: 15px; font-weight: 600; }
/* ---------- 오시는 길 ---------- */
.sw-loc { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.sw-loc iframe { display: block; width: 100%; height: clamp(320px, 38vw, 480px); border: 1px solid var(--gw-line); filter: grayscale(.55) sepia(.12); }
.sw-loc__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sw-loc h2 { margin: 22px 0 22px; font-size: clamp(24px, 2.2vw, 30px); }
.sw-deflist { border-top: 1px solid var(--gw-ink); }
.sw-deflist div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--gw-line); }
.sw-deflist dt { font-size: 14px; font-weight: 600; }
.sw-deflist dd { font-size: 15px; color: #4a4741; line-height: 1.7; overflow-wrap: anywhere; }
.sw-deflist a { text-underline-offset: 4px; }
.sw-deflist--tight div { padding: 11px 0; }
.sw-visit { background: var(--sw-sand); border-top: 1px solid var(--gw-line); }
.sw-visit__in { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.sw-visit figure img { display: block; width: 100%; height: auto; }
.sw-visit h2 { margin: 22px 0 20px; font-size: clamp(24px, 2.2vw, 30px); }
.sw-notes { counter-reset: n; border-top: 1px solid var(--gw-line); }
.sw-notes li { counter-increment: n; position: relative; padding: 13px 0 13px 40px; border-bottom: 1px solid var(--gw-line); font-size: 15px; color: #4a4741; line-height: 1.7; }
.sw-notes li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 15px; font-family: var(--sw-en); font-size: 12px; letter-spacing: .1em; color: var(--sw-stone); }
.sw-visit .sw-more { margin-top: 22px; }

/* ---------- 견적 문의 ---------- */
.sw-contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sw-contact h2 { margin: 22px 0 28px; font-size: clamp(24px, 2.2vw, 30px); }
.sw-contact__side { display: grid; gap: 28px; padding: 28px; background: var(--sw-sand); border: 1px solid var(--gw-line); }
.sw-contact__tel a { display: inline-flex; align-items: center; min-height: 48px; font-family: var(--sw-en); font-size: 32px; font-weight: 400; letter-spacing: .04em; text-decoration: none; }
.sw-contact__tel p:not(.sw-cap) { font-size: 13.5px; color: var(--gw-muted); }
.sw-contact__check h3 { margin-bottom: 12px; font-size: 16px; }
.sw-contact__side .sw-more { justify-self: start; }
.gw-input { background: #ffffff; border-color: var(--sw-stone-2); }
.gw-choice__item span { background: #ffffff; border-color: var(--sw-stone-2); }
.gw-label { letter-spacing: 0; }

/* ---------- 게시판: 납품사례 색인 ---------- */
.sw-boardbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.sw-boardbar .gw-filter { margin: 0; }
.sw-boardbar__count { font-family: var(--sw-en); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gw-muted); }
.sw-boardbar__count b { margin-left: 6px; font-size: 16px; font-weight: 500; color: var(--gw-ink); letter-spacing: .04em; }
.sw-index { border-top: 1px solid var(--gw-ink); }
.sw-index li { border-bottom: 1px solid var(--gw-line); }
.sw-index a { display: grid; grid-template-columns: 48px 200px minmax(0, 1fr) 120px 28px; gap: clamp(16px, 2.4vw, 32px); align-items: center; padding: 20px 0; text-decoration: none; transition: background .2s; }
.sw-index a:hover { background: var(--sw-sand); }
.sw-index__no { font-family: var(--sw-en); font-size: 22px; font-weight: 300; color: var(--sw-stone); text-align: center; }
.sw-index__thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sw-sand); }
.sw-index__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.sw-index a:hover .sw-index__thumb img { transform: scale(1.05); }
.sw-index__body { display: grid; gap: 8px; }
.sw-index__body strong { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; line-height: 1.45; }
.sw-index__body span { font-size: 14.5px; color: var(--gw-muted); line-height: 1.7; }
.sw-index__meta { display: grid; gap: 4px; font-size: 13px; color: var(--gw-muted); }
.sw-index__meta em { justify-self: start; padding: 3px 10px; border: 1px solid var(--gw-ink); font-style: normal; font-weight: 600; color: var(--gw-ink); }
.sw-index__meta time { font-family: var(--sw-en); letter-spacing: .1em; }
.sw-index__arrow { font-size: 18px; transition: transform .25s; }
.sw-index a:hover .sw-index__arrow { transform: translateX(4px); }

/* 납품사례 상세 */
.sw-case { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 7vw, 96px); }
.sw-case__head { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px 56px; align-items: end; margin-top: clamp(16px, 3vw, 36px); padding-bottom: 28px; border-bottom: 1px solid var(--gw-ink); }
.sw-case__head h1 { font-size: clamp(26px, 3.2vw, 42px); letter-spacing: -.035em; }
.sw-case__head dl { border-top: 1px solid var(--gw-line); font-size: 14px; }
.sw-case__head dl div { display: grid; grid-template-columns: 70px 1fr; padding: 8px 0; border-bottom: 1px solid var(--gw-line); }
.sw-case__head dt { color: var(--gw-muted); }
.sw-case__fig { margin-top: 32px; }
.sw-case__fig img { width: 100%; max-height: 620px; object-fit: cover; }
.sw-case__body { max-width: 820px; margin-top: 40px; }
.sw-case__sum { padding-left: 20px; border-left: 2px solid var(--gw-accent); margin-bottom: 32px; }
.sw-case__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.gw-prose table { border-top: 1px solid var(--gw-ink); }
.gw-prose th, .gw-prose td { border-width: 0 0 1px; padding: 12px 14px; }
.gw-prose th { width: 110px; background: var(--sw-sand); font-weight: 600; }
.gw-prose h2 { padding-top: 1.2em; border-top: 1px solid var(--gw-line); font-size: 20px; }
.gw-prose blockquote { border-left-width: 2px; }
.gw-prose ul { list-style: square; }
.gw-prose ol { list-style: decimal; }
.gw-prose li + li { margin-top: .35em; }
.gw-prose li::marker { color: var(--sw-stone); }
.gw-post__head { border-bottom-width: 1px; }
.gw-list { border-top-width: 1px; }
.gw-list a { min-height: 60px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1320px) {
  .sw-chips { grid-template-columns: repeat(3, 1fr); }
  .sw-mat { grid-template-columns: 180px minmax(0, 1fr); }
  .sw-mat__spec { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 28px; }
  .sw-brands { grid-template-columns: repeat(2, 1fr); }
  .sw-clients__list { grid-template-columns: repeat(3, 1fr); }
  .sw-steps { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .sw-steps li:nth-child(3)::after { display: none; }
}
@media (max-width: 1320px) and (min-width: 1080px), (max-width: 900px) {
  .sw-spec thead { display: none; }
  .sw-spec table, .sw-spec tbody { display: block; }
  .sw-spec tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 20px; padding: 18px 0; border-bottom: 1px solid var(--gw-line); }
  .sw-spec tbody th, .sw-spec tbody td, .sw-spec tbody td:last-child { display: block; min-width: 0; padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere; font-size: 14.5px; }
  .sw-spec tbody [data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12px; font-weight: 500; color: var(--gw-muted); letter-spacing: 0; }
  .sw-spec tbody th { font-size: 17px; }
  .sw-spec:not(.sw-spec--plain) tbody td:first-child { grid-column: 1 / -1; }
  .sw-spec:not(.sw-spec--plain) tbody td:first-child::before { display: none; }
  .sw-spec--plain tbody th { grid-column: 1 / -1; }
  .sw-spec--plain tbody th::before { display: none; }
}
@media (max-width: 1320px) and (min-width: 1080px) {
  .sw-spec:not(.sw-spec--plain) tbody tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .sw-about, .sw-cta, .sw-proj__grid, .sw-info__in, .sw-intro__in, .sw-equip__in, .sw-loc, .sw-visit__in, .sw-contact { grid-template-columns: 1fr; }
  .sw-about__fig { min-height: 0; aspect-ratio: 4 / 5; max-height: 560px; }
  .sw-about__body { max-width: none; }
  .sw-cta__fig { max-width: 420px; padding: 0 var(--gw-gutter) 40px; }
  .sw-intro__fig img { aspect-ratio: 709 / 473; }
  .sw-footer__top { grid-template-columns: 1fr 1fr; }
  .sw-footer__brand { grid-column: 1 / -1; }
  .sw-pagehead__row { grid-template-columns: 1fr; }
  .sw-case__head { grid-template-columns: 1fr; }
  .sw-index a { grid-template-columns: 160px minmax(0, 1fr) 24px; }
  .sw-index__no { display: none; }
  .sw-index__meta { grid-column: 2; grid-row: 2; display: flex; align-items: center; gap: 12px; }
  .sw-index__body { grid-column: 2; }
  .sw-index__thumb { grid-row: 1 / 3; }
  .sw-index__arrow { grid-column: 3; grid-row: 1 / 3; }
}
@media (max-width: 760px) {
  .sw-hero__stage { display: flex; flex-direction: column; }
  .sw-hero__stage { min-height: 0; align-items: stretch; background-position: 70% 50%; }
  .sw-hero__stage::after { background: linear-gradient(180deg, rgba(240, 234, 224, .84) 0%, rgba(240, 234, 224, .45) 55%, rgba(240, 234, 224, .05) 100%); }
  .sw-hero__copy { position: relative; order: -1; left: auto; top: auto; width: auto; padding: 36px var(--gw-gutter) 24px; transform: none; }
  .sw-hero__img { width: auto; max-width: 100%; max-height: none; margin: 0 var(--gw-gutter) 24px; }
  .sw-hero__text { max-width: none; }
  .sw-hero__actions .gw-btn { flex: 1 1 150px; }
  .sw-hero__spec { grid-template-columns: 1fr 1fr; }
  .sw-hero__spec div, .sw-hero__spec div + div { padding: 14px var(--gw-gutter) 16px; border-left: 0; border-top: 1px solid var(--gw-line); }
  .sw-hero__spec div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--gw-line); }
  .sw-hero__spec div:nth-child(-n+2) { border-top: 0; }
  .sw-sechead { grid-template-columns: 1fr; }
  .sw-sechead .sw-more { justify-self: start; }
  .sw-chips { grid-template-columns: repeat(2, 1fr); }
  .sw-steps { grid-template-columns: 1fr; row-gap: 0; }
  .sw-steps li { display: grid; grid-template-columns: 64px 1fr; column-gap: 8px; padding: 24px 0 26px; }
  .sw-steps li::after { display: none; }
  .sw-steps__no { grid-row: 1 / 4; font-size: 36px; }
  .sw-steps b { margin-top: 0; }
  .sw-steps__meta { justify-self: start; margin-top: 12px; }
  .sw-proj__list a { grid-template-columns: 96px 1fr; gap: 16px; }
  .sw-faq summary { gap: 8px; }
  .sw-faq details p { padding-left: 36px; padding-right: 8px; }
  .sw-stats--row { grid-template-columns: 1fr 1fr; }
  .sw-stats--row div, .sw-stats--row div:nth-child(odd), .sw-stats--row div:nth-child(even) { padding: 20px 12px 22px 16px; }
  .sw-stats--row div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .sw-stats--row div:nth-child(n+3) { border-top: 1px solid var(--gw-line); }
  .sw-values { grid-template-columns: 1fr; border-left: 0; border-top: 1px solid var(--gw-line); }
  .sw-values li { display: grid; grid-template-columns: 64px 1fr; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--gw-line); }
  .sw-values__no { grid-row: 1 / 3; font-size: 32px; }
  .sw-values h3 { margin-top: 0; }
  .sw-mat { grid-template-columns: 1fr; }
  .sw-mat__chip { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: end; }
  .sw-mat__chip p { flex-direction: column; margin: 0; }
  .sw-mat__spec { grid-template-columns: 1fr; }
  .sw-brands { grid-template-columns: 1fr; }
  .sw-clients__list { grid-template-columns: repeat(2, 1fr); }
  .sw-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .sw-footer__name { letter-spacing: .26em; }
  .sw-index a { grid-template-columns: 104px minmax(0, 1fr); gap: 6px 16px; align-items: start; padding: 18px 0; }
  .sw-index__arrow { display: none; }
  .sw-index__body span { display: none; }
  .sw-index__thumb { aspect-ratio: 1; }
  .sw-contact__side { padding: 22px 20px; }
  .sw-strip__in div, .sw-strip__in .gw-btn { width: 100%; }
  .sw-case__actions .gw-btn, .sw-loc__actions .gw-btn { flex: 1 1 160px; }
  .sw-cta__fig { max-width: none; }
  .gw-prose table { font-size: 14px; }
  .gw-prose th { width: 76px; }
}
@media (max-width: 400px) {
  .sw-logo--top .sw-logo__text { letter-spacing: .24em; }
  .sw-spec tbody tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sw-deflist div { grid-template-columns: 78px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-side { transition: none; }
}
@media (max-width: 760px) {
  /* 좁은 화면에서는 석종별 규격이 바로 위에 이미 있으므로 비교표 구역은 접는다 */
  .page-services .sw-tablesec { display: none; }
  .sw-gallery { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 경인자동화 추가 구성 ---------- */
.sw-side__mobile { display: flex; align-items: baseline; gap: 8px; min-height: 32px; font-family: var(--sw-en); font-size: 17px; letter-spacing: .04em; color: var(--gw-ink); text-decoration: none; }
.sw-side__mobile span { font-size: 11px; letter-spacing: .2em; color: var(--sw-stone); }
.sw-nav a[aria-current="page"] .sw-nav__no { color: var(--gw-accent); }
.sw-hero h1, .sw-sechead h2, .sw-cta h2 { word-break: keep-all; }

/* 익일 납품 지역 */
.sw-areas { display: grid; grid-template-columns: auto 1fr; gap: 6px 32px; align-items: center; margin-top: clamp(40px, 5vw, 64px); padding-top: 26px; border-top: 1px solid rgba(236, 230, 218, .3); }
.sw-areas .sw-cap { color: #a9a397; }
.sw-areas__lead { grid-row: 2; font-size: 17px; font-weight: 600; color: #f7f4ee; }
.sw-areas ul { grid-column: 2; grid-row: 1 / 3; display: flex; flex-wrap: wrap; gap: 8px; }
.sw-areas li { padding: 6px 12px; border: 1px solid rgba(236, 230, 218, .35); font-size: 14px; color: #d9d2c4; }

/* 주요 납품처 */
.sw-clients__list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--gw-ink); border-left: 1px solid var(--gw-line); }
.sw-clients__list li { display: flex; align-items: center; min-height: 76px; padding: 14px 20px; border-right: 1px solid var(--gw-line); border-bottom: 1px solid var(--gw-line); font-size: 15.5px; font-weight: 600; letter-spacing: -.02em; }
.sw-clients__list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-right: 12px; background: var(--gw-accent); }

/* 블로그 바로가기: 취급품목 그리드 마지막 줄의 남은 칸(투명) 오른쪽 아래에 작게 붙임 */
.sw-chips li.sw-chips__blog { grid-column: span var(--span5, 1); display: flex; justify-content: flex-end; align-items: flex-end; padding: 14px 0 0 14px; border-right: 0; border-bottom: 0; background: var(--gw-bg); }
.sw-blogcard { display: grid; gap: 4px; width: min(100%, max(50%, 260px)); padding: 16px 20px; border: 1px solid var(--gw-ink); background: var(--gw-primary); color: var(--gw-primary-ink); text-decoration: none; transition: background .2s, color .2s; }
.sw-blogcard .sw-cap { font-size: 10.5px; color: #b9b3a7; transition: color .2s; }
.sw-blogcard b { font-size: 15px; word-break: keep-all; }
.sw-blogcard > span:last-child { font-size: 13px; color: #b9b3a7; line-height: 1.6; word-break: keep-all; transition: color .2s; }
.sw-blogcard i { font-style: normal; color: var(--gw-accent); }
/* 기본은 어두운 배경, 마우스 오버 시 밝은 배경으로 반전 */
.sw-blogcard:hover, .sw-blogcard:focus-visible { background: transparent; color: var(--gw-ink); }
.sw-blogcard:hover > span:last-child, .sw-blogcard:hover .sw-cap, .sw-blogcard:focus-visible > span:last-child, .sw-blogcard:focus-visible .sw-cap { color: var(--gw-muted); }
@media (max-width: 1320px) { .sw-chips li.sw-chips__blog { grid-column: span var(--span3, 1); } }
@media (max-width: 760px) {
  .sw-chips li.sw-chips__blog { grid-column: span var(--span2, 1); padding-left: 10px; }
  .sw-blogcard { width: 100%; padding: 14px 16px; }
}

/* 취급품목 상세: 사진 줄 + 견적 링크 */
.sw-gallery { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.sw-gallery li { aspect-ratio: 1; overflow: hidden; background: #fff; border: 1px solid var(--gw-line); }
.sw-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sw-gallery li:hover img { transform: scale(1.06); }
.sw-mat__quote { font-weight: 600; color: var(--gw-accent); text-decoration: none; }
.sw-mat__quote:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 회사소개: 맺음말 · 사업장 */
.sw-closing { margin-top: 22px; font-size: 17px; font-weight: 600; line-height: 1.7; }
.sw-offices { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gw-ink); }
.sw-offices li { padding: 24px 28px 28px 0; border-bottom: 1px solid var(--gw-line); }
.sw-offices li + li { padding-left: 28px; border-left: 1px solid var(--gw-line); }
.sw-offices h3 { margin: 10px 0 12px; font-size: 20px; }
.sw-offices p:not(.sw-cap) { color: #4a4741; line-height: 1.7; }
.sw-offices__tel { margin-top: 8px; font-size: 14px; }
.sw-branch { margin-top: 22px; }
@media (max-width: 980px) {
  .sw-offices { grid-template-columns: 1fr; }
  .sw-offices li, .sw-offices li + li { padding: 20px 0; border-left: 0; }
  .sw-areas { grid-template-columns: 1fr; }
  .sw-areas ul { grid-column: 1; grid-row: auto; margin-top: 10px; }
  .sw-areas__lead { grid-row: auto; }
}
@media (max-width: 1320px) {
  .sw-clients__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  /* 기본 정의가 위쪽 반응형 블록보다 뒤에 있어 여기서 다시 지정한다 */
  .sw-clients__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sw-clients__list li { min-height: 60px; padding: 12px 14px; font-size: 14.5px; }
}

/* 규격 표 열 너비 (메이커·사양 열이 좁아지지 않게) */
@media (min-width: 1321px) {
  .sw-spec:not(.sw-spec--plain) thead th:nth-child(3) { width: 22%; }
  .sw-spec:not(.sw-spec--plain) thead th:nth-child(4), .sw-spec:not(.sw-spec--plain) thead th:nth-child(5) { width: 16%; }
  .sw-spec:not(.sw-spec--plain) tbody td:last-child { white-space: normal; font-weight: 500; }
}

/* ---------- 2차 수정(26-12-01) ---------- */
/* 제품 사진: 비율이 달라도 자르지 않고 여백을 흰색으로 채워 제품 전체를 보이게 */
.sw-chip, .sw-gallery li, .sw-proj__thumb, .sw-index__thumb { background: #fff; }
.sw-chip img, .sw-gallery img, .sw-proj__thumb img, .sw-index__thumb img { object-fit: contain; padding: 6%; box-sizing: border-box; }
/* 제품 사진(작은 정사각 썸네일): 가로로 긴 사진도 세로로 늘려 칸을 꽉 채움 */
.sw-chip img, .sw-gallery img { object-fit: fill; padding: 3%; }
.sw-proj__thumb, .sw-index__thumb { box-shadow: inset 0 0 0 1px var(--gw-line); }
.sw-case__fig { display: flex; justify-content: center; background: #fff; border: 1px solid var(--gw-line); }
.sw-case__fig img { width: auto; max-width: 100%; height: auto; max-height: 620px; object-fit: contain; }

/* 주요 납품처: 로고 + 이름 */
.sw-clients__list li.sw-client { flex-direction: column; justify-content: center; gap: 12px; min-height: 150px; padding: 22px 16px; text-align: center; background: #fff; }
.sw-clients__list li.sw-client::before { content: none; }
.sw-client__logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; }
.sw-client__logo img { max-width: 78%; max-height: 56px; object-fit: contain; }
.sw-client--text .sw-client__name { font-size: 17px; font-weight: 700; }
.sw-client__name { font-size: 14.5px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; word-break: keep-all; }
.sw-projclients { padding-bottom: 0; }
.sw-projcases { padding-top: clamp(40px, 5vw, 64px); }
@media (max-width: 760px) {
  .sw-clients__list li.sw-client { min-height: 120px; padding: 16px 10px; }
  .sw-client__logo { height: 44px; }
  .sw-client__logo img { max-height: 44px; }
  .sw-client--text .sw-client__name { font-size: 15px; }
  .sw-client__name { font-size: 13.5px; }
}

/* 취급품목: 사진 크게 보기 (main.js 가 <dialog class="sw-lb"> 를 만든다) */
.sw-zoom { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.sw-zoom:focus-visible { outline: 2px solid var(--gw-accent); outline-offset: 2px; }
.sw-lb-open { overflow: hidden; }
.sw-lb { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #f7f4ee; }
.sw-lb::backdrop { background: rgba(20, 19, 17, .88); }
.sw-lb[open] { display: grid; place-items: center; animation: sw-lb-in .2s ease-out; }
.sw-lb__fig { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 100%; margin: 0; padding: 64px clamp(16px, 8vw, 96px) 24px; box-sizing: border-box; }
.sw-lb__img { display: block; max-width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; background: #fff; padding: clamp(8px, 2vw, 20px); box-sizing: border-box; }
.sw-lb__cap { font-size: 14px; letter-spacing: .02em; color: #d9d3c7; text-align: center; white-space: pre-wrap; }
.sw-lb__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(247, 244, 238, .12); color: #f7f4ee; font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s; }
.sw-lb__btn:hover { background: rgba(247, 244, 238, .25); }
.sw-lb__btn:focus-visible { outline: 2px solid #f7f4ee; outline-offset: 2px; }
.sw-lb__btn[hidden] { display: none; }
.sw-lb__close { top: 12px; right: 12px; }
.sw-lb__prev { left: clamp(8px, 2vw, 24px); top: 50%; transform: translateY(-50%); }
.sw-lb__next { right: clamp(8px, 2vw, 24px); top: 50%; transform: translateY(-50%); }
@keyframes sw-lb-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
  .sw-lb__fig { padding: 60px 12px 20px; }
  .sw-lb__prev, .sw-lb__next { top: auto; bottom: 12px; transform: none; width: 44px; height: 44px; }
  .sw-lb__img { max-height: calc(100dvh - 160px); }
}
@media (prefers-reduced-motion: reduce) { .sw-lb[open] { animation: none; } }
