/* JK RETECH — 2차 디자인 (홈부터 적용) */
@font-face { font-family: "Pretendard JK"; font-weight: 400; font-display: swap; src: url("../fonts/Pretendard-Regular.woff") format("woff"); }
@font-face { font-family: "Pretendard JK"; font-weight: 500; font-display: swap; src: url("../fonts/Pretendard-Medium.woff") format("woff"); }
@font-face { font-family: "Pretendard JK"; font-weight: 600; font-display: swap; src: url("../fonts/Pretendard-SemiBold.woff") format("woff"); }
@font-face { font-family: "Pretendard JK"; font-weight: 700; font-display: swap; src: url("../fonts/Pretendard-Bold.woff") format("woff"); }
:root {
  --navy: #0b2347;
  --navy-2: #163a68;
  --cyan: #0b84b8;
  --cyan-text: #0a6c97;
  --ink: #0b2347;
  --text: #2b3747;
  --steel: #5d6a79;
  --rule: #d5dbe1;
  --paper: #ffffff;
  --mist: #f1f4f6;
  --font: "Pretendard JK", "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --wrap: 1240px;
  --g: 20px;
  --hh: 64px;
}
@media (min-width: 768px) { :root { --g: 40px; --hh: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.75;
  color: var(--text); background: var(--paper);
  word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; font-synthesis: none; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -0.025em; line-height: 1.3; }
p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.sr-only { 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: 100; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { max-width: calc(var(--wrap) + var(--g) * 2); margin: 0 auto; padding: 0 var(--g); }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--hh); gap: 24px; }
.brand img { height: 30px; width: auto; }
@media (min-width: 768px) { .brand img { height: 36px; } }
.gnb { display: flex; align-items: center; gap: 36px; }
.gnb ul { display: flex; gap: 30px; }
.gnb ul a { text-decoration: none; font-size: 15.5px; font-weight: 500; color: var(--text); padding: 8px 0; }
.gnb ul a:hover, .gnb ul a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--navy); }
.lang { display: flex; gap: 12px; font-size: 13px; color: var(--steel); }
.lang a { text-decoration: none; color: var(--ink); font-weight: 700; }
.lang [aria-disabled="true"] { color: #a9b3bf; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--navy); transition: transform .2s; }
.nav-toggle .bars { top: 21px; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; left: 0; }
.nav-toggle .bars::before { top: -7px; } .nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 959px) {
  .nav-toggle { display: block; }
  .gnb { position: fixed; inset: var(--hh) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px var(--g) 32px; visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s; }
  .gnb.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
  .gnb ul { flex-direction: column; gap: 0; }
  .gnb ul a { display: block; padding: 18px 0; font-size: 19px; border-bottom: 1px solid var(--rule); box-shadow: none !important; }
  .lang { padding-top: 24px; font-size: 15px; }
  body.nav-open { overflow: hidden; }
}

/* 버튼 */
.btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; border: 1px solid var(--navy); transition: background-color .2s, color .2s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-quiet { color: var(--navy); border-color: transparent; padding: 0 8px; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--rule); }
.btn-quiet:hover { text-decoration-color: var(--navy); }

/* 첫 화면 — 필터 사진 위 확대경 */
.hero { padding: 48px 0 64px; }
.hero-grid { display: grid; gap: 48px; }
.hero h1 { font-size: clamp(40px, 6vw, 84px); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
.hero-lead { margin-top: 28px; font-size: clamp(17px, 1.6vw, 19px); color: var(--steel); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 44px; }
.specimen { position: relative; }
.specimen > img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.loupe {
  position: absolute; left: -7%; bottom: -9%; width: 46%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  border: 6px solid #fff; box-shadow: 0 0 0 1px var(--rule), 0 24px 48px -24px rgba(11,35,71,.45);
}
.loupe img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.loupe-target { position: absolute; left: 14%; top: 34%; width: 15%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(11,35,71,.25); }
.specimen-note { margin-top: 14px; font-size: 13.5px; color: var(--steel); line-height: 1.6; }
@media (min-width: 960px) {
  .hero { padding: 88px 0 120px; }
  .hero-grid { grid-template-columns: 7fr 6fr; gap: 64px; align-items: end; }
  .hero-copy { padding-bottom: 64px; }
}


/* 공통 섹션 */
.block { padding: 80px 0; }
@media (min-width: 768px) { .block { padding: 128px 0; } }
.block-mist { background: var(--mist); }
.h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }
.intro { margin-top: 20px; font-size: 17px; color: var(--steel); max-width: 34em; }

/* 세정 대상 */
.types-head { display: grid; gap: 20px; margin-bottom: 56px; }
@media (min-width: 960px) { .types-head { grid-template-columns: 1fr 1fr; align-items: end; } .types-head .intro { margin: 0; justify-self: end; } }
.types { display: grid; gap: 40px 24px; }
.types img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mist); }
.types h3 { margin-top: 18px; font-size: 19px; }
.types p { margin-top: 4px; font-size: 15px; color: var(--steel); }
@media (min-width: 640px) { .types { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .types { grid-template-columns: 5fr 3fr 3fr; grid-template-rows: auto auto; }
  .types .t-main { grid-row: 1 / 3; }
  .types .t-main img { aspect-ratio: 4 / 4.6; }
  .types .t-wide { grid-column: 1 / 4; }
  .types .t-wide img { aspect-ratio: 21 / 8; object-position: 50% 50%; }
}

/* 원칙 */
.principles { display: grid; gap: 48px; }
.principles .h2 { max-width: 13em; }
.principle-list > div { padding: 28px 0; border-top: 1px solid var(--rule); }
.principle-list > div:last-child { border-bottom: 1px solid var(--rule); }
.principle-list h3 { font-size: 20px; }
.principle-list p { margin-top: 8px; color: var(--steel); max-width: 36em; }
@media (min-width: 960px) {
  .principles { grid-template-columns: 5fr 6fr; gap: 96px; }
  .principles .h2 { position: sticky; top: calc(var(--hh) + 48px); align-self: start; }
  .principle-list > div { display: grid; grid-template-columns: 250px 1fr; gap: 32px; padding: 36px 0; }
  .principle-list p { margin: 0; }
}

/* 산업 현장 띠 */
.field { position: relative; color: #fff; }
.field img { width: 100%; height: clamp(320px, 46vw, 620px); object-fit: cover; }
.field-text { position: absolute; left: 0; right: 0; bottom: clamp(28px, 5vw, 64px); z-index: 1; }
.field-text p { font-size: clamp(20px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.45; max-width: 22em; }

/* 메뉴 안내 */
.guide { display: grid; gap: 0; border-top: 1px solid var(--navy); margin-top: 56px; }
.guide a { display: block; padding: 32px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.guide h3 { font-size: 21px; }
.guide p { margin-top: 6px; color: var(--steel); font-size: 15.5px; }
.guide a:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (min-width: 768px) {
  .guide { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .guide a { padding: 28px 28px 8px 0; border-bottom: 0; border-top: 1px solid var(--navy); }
  .guide a + a { padding-left: 28px; border-left: 1px solid var(--rule); }
}

/* 사업장 + 연락 */
.reach { display: grid; gap: 64px; }
.places { display: grid; gap: 40px; margin-top: 48px; }
.place-name { font-size: clamp(40px, 5vw, 60px); font-weight: 700; letter-spacing: -0.025em; line-height: 1; color: var(--ink); }
.place-role { margin-top: 14px; font-weight: 600; color: var(--ink); }
.place-addr { color: var(--steel); font-size: 15.5px; }
@media (min-width: 640px) { .places { grid-template-columns: 1fr 1fr; } }
.contact-box { background: var(--navy); color: #c9d4e2; padding: clamp(32px, 4vw, 56px); }
.contact-box h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); }
.contact-box > p { margin-top: 14px; max-width: 26em; }
.contact-lines { margin: 36px 0 0; }
.contact-lines div { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.16); }
.contact-lines dt { font-size: 14px; }
.contact-lines dd { margin: 2px 0 0; }
.contact-lines a { color: #fff; text-decoration: none; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.02em; }
.contact-lines .mail a { font-size: clamp(17px, 1.6vw, 20px); }
.contact-lines a:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (min-width: 960px) { .reach { grid-template-columns: 6fr 5fr; gap: 96px; align-items: start; } }

/* 푸터 */
.site-footer { border-top: 1px solid var(--rule); padding: 56px 0 40px; font-size: 14.5px; color: var(--steel); }
.footer-top { display: grid; gap: 32px; }
.footer-brand img { height: 28px; width: auto; }
.footer-info { margin: 0; display: grid; gap: 6px; }
.footer-info div { display: flex; gap: 16px; }
.footer-info dt { min-width: 76px; color: var(--ink); font-weight: 600; }
.footer-info dd { margin: 0; }
.footer-info a { text-decoration: none; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--ink); }
.footer-bottom { margin-top: 48px; font-size: 13px; }
@media (min-width: 960px) { .footer-top { grid-template-columns: 1fr 2fr auto; gap: 64px; } .footer-nav ul { flex-direction: column; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ===== 하위 페이지 ===== */
.page-head { padding: 56px 0 48px; }
.page-head h1 { font-size: clamp(34px, 5.2vw, 64px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; max-width: 14em; }
.page-head .lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 19px); color: var(--steel); max-width: 34em; }
@media (min-width: 960px) {
  .page-head { padding: 104px 0 80px; }
  .page-head .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
  .page-head .lead { margin: 0 0 6px; }
}
.band img { width: 100%; height: clamp(240px, 36vw, 520px); object-fit: cover; }

.two-col { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .two-col { grid-template-columns: 5fr 7fr; gap: 96px; }
  .two-col > .side { position: sticky; top: calc(var(--hh) + 48px); align-self: start; }
}

.sec-head { margin-bottom: 48px; }
.sec-head .intro { margin-top: 16px; }
@media (min-width: 768px) { .sec-head { margin-bottom: 64px; } }

.rowlist > div { padding: 28px 0; border-top: 1px solid var(--rule); }
.rowlist > div:last-child { border-bottom: 1px solid var(--rule); }
.rowlist h3 { font-size: 20px; }
.rowlist p { margin-top: 8px; color: var(--steel); max-width: 36em; }
@media (min-width: 960px) {
  .rowlist.wide > div { display: grid; grid-template-columns: 320px 1fr; gap: 40px; padding: 36px 0; }
  .rowlist.wide p { margin: 0; }
}

.type-grid { display: grid; gap: 40px 24px; }
.type-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mist); }
.type-grid h3 { margin-top: 18px; font-size: 19px; }
.type-grid p { margin-top: 4px; font-size: 15px; color: var(--steel); }
@media (min-width: 640px) { .type-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .type-grid { grid-template-columns: repeat(3, 1fr); } }

.modes { display: grid; gap: 0; }
.modes > div { padding: 28px 0; border-top: 1px solid var(--navy); }
.modes h3 { font-size: 21px; }
.modes p { margin-top: 10px; color: var(--steel); }
@media (min-width: 900px) { .modes { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

.flow { counter-reset: s; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.flow li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; padding: 22px 0; border-top: 1px solid var(--rule); }
.flow li::before { content: counter(s); font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1.1; grid-row: 1 / 3; }
.flow h3 { font-size: 18px; }
.flow p { color: var(--steel); font-size: 15.5px; }
.flow .when { display: block; font-size: 14px; color: var(--cyan-text); font-weight: 600; margin-bottom: 2px; }
@media (min-width: 960px) {
  .flow { grid-template-columns: repeat(var(--n, 6), 1fr); gap: 24px; }
  .flow li { display: block; padding: 24px 0 0; border-top: 2px solid var(--navy); }
  .flow li::before { display: block; font-size: 40px; margin-bottom: 18px; }
  .flow h3 { margin-bottom: 6px; }
}
.note { margin-top: 32px; font-size: 14.5px; color: var(--steel); }

.checks li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--rule); }
.checks li:first-child { border-top: 1px solid var(--rule); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 13px; height: 7px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
.after-list { margin-top: 32px; }

.letter { font-size: 17px; line-height: 1.95; max-width: 38em; }
.letter p + p { margin-top: 1.2em; }
.letter .sign { margin-top: 40px; color: var(--ink); font-weight: 600; }
.side img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 32px; }

.facts { width: 100%; border-collapse: collapse; font-size: 16px; }
.facts th, .facts td { text-align: left; padding: 18px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 1px solid var(--rule); }
.facts th { width: 34%; font-weight: 600; color: var(--ink); padding-right: 16px; }
.facts a { text-decoration: none; }
@media (min-width: 768px) { .facts th { width: 200px; } }

.compare { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; max-width: 900px; }
.compare img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cases { display: grid; gap: 64px; max-width: 900px; }
.case h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.case > p { margin: 0 0 20px; }
.case .compare { row-gap: 32px; }
.compare figcaption { margin-top: 12px; font-weight: 600; color: var(--ink); font-size: 15px; }

.big-contact { display: grid; gap: 0; }
.big-contact > div { padding: 32px 0; border-top: 1px solid var(--navy); }
.big-contact dt { font-size: 15px; color: var(--steel); }
.big-contact dd { margin: 6px 0 0; }
.big-contact a { font-size: clamp(30px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.025em; color: var(--ink); text-decoration: none; line-height: 1.2; word-break: break-all; }
.big-contact .mail a { font-size: clamp(22px, 3vw, 38px); }
.big-contact a:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.big-contact p { margin-top: 10px; color: var(--steel); }
@media (min-width: 960px) { .big-contact { grid-template-columns: 1fr 1fr; gap: 48px; } }

.closing { background: var(--navy); color: #c9d4e2; padding: 64px 0; }
.closing .wrap { display: grid; gap: 32px; }
.closing h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.closing p { margin-top: 12px; max-width: 30em; }
.closing dl { margin: 0; display: grid; gap: 18px; }
.closing dt { font-size: 14px; }
.closing dd { margin: 0; }
.closing dd a { color: #fff; text-decoration: none; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.closing .mail a { font-size: clamp(17px, 1.6vw, 20px); }
.closing dd a:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (min-width: 960px) { .closing { padding: 88px 0; } .closing .wrap { grid-template-columns: 7fr 5fr; align-items: end; } }

/* 언어별 */
html:lang(ja) body { font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", var(--font); word-break: normal; line-break: strict; }
html:lang(en) body { word-break: normal; }
html:lang(en) .gnb ul, html:lang(ja) .gnb ul { gap: 24px; }
html:lang(ja) .hero h1 { font-size: clamp(34px, 4.8vw, 66px); letter-spacing: -0.02em; }
html:lang(ja) .page-head h1, html:lang(ja) .h2 { letter-spacing: -0.02em; }
html:lang(ja) .principles .h2 { font-size: clamp(24px, 2.8vw, 36px); }

/* 홈 주요 지표 (2026-12-03) */
.figures-band { padding: 0 0 72px; }
.figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; border-top: 1px solid var(--navy); padding-top: 28px; }
.fig-num { font-size: clamp(36px, 4.4vw, 52px); font-weight: 700; letter-spacing: -0.025em; line-height: 1; color: var(--ink); }
.fig-num .unit { font-size: .42em; font-weight: 600; margin-left: 3px; letter-spacing: 0; }
.fig-label { margin-top: 12px; color: var(--steel); font-size: 15.5px; }
@media (min-width: 768px) {
  .figures { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .figures > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
}
/* 품질 · 기밀 유지 */
.checks-after { margin-top: 28px; }
