/* CSL Korea – draft B (시안 B), styled after the company brochure */
:root {
  --red: #d42019;
  --red-dark: #a8170f;
  --ink: #1b1c1e;
  --text: #33363a;
  --muted: #6b6f75;
  --line: #d9d9d6;
  --soft: #f6f5f3;
  --wrap: 1180px;
  --font: "Pretendard Variable", "Pretendard JP Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Hiragino Sans", "Noto Sans KR", "Noto Sans JP", "Malgun Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: #fff; word-break: keep-all; overflow-wrap: break-word; }
html[lang="ja"] body { word-break: normal; line-break: strict; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.3; }
p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.muted { color: var(--muted); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 36px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; color: var(--ink); }
.logo img { width: 36px; height: 36px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; padding: 6px 0; }
.nav a:hover { color: var(--red); }
.nav-toggle { display: none; }
.lang { display: flex; font-size: 13px; border: 1px solid var(--line); }
.lang a { text-decoration: none; color: var(--muted); padding: 3px 9px; }
.lang a + a { border-left: 1px solid var(--line); }
.lang a[aria-current] { background: var(--ink); color: #fff; }

/* Cover (brochure page 3) */
.cover { padding: 64px 0 72px; }
.cover-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: start; }
.cover-left { display: grid; grid-template-columns: 112px 1fr; gap: 0; min-height: 440px; }
.redbar { background: var(--red); color: #fff; padding: 22px 0 0; text-align: center; }
.redbar span { font-weight: 800; font-style: italic; font-size: 34px; letter-spacing: -.02em; }
.cover-text { background: var(--soft); padding: 44px 44px 40px; display: flex; flex-direction: column; border-top-right-radius: 40px; }
.tagline { color: var(--red); font-weight: 600; font-size: 15px; letter-spacing: .01em; margin-bottom: 18px; }
.cover h1 { font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.cover h1 em { font-style: normal; color: var(--red); font-size: 1.25em; font-weight: 800; }
.intro { margin-top: 22px; font-size: 16.5px; color: var(--text); max-width: 34em; }
.cta { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn, .btn-line { display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px; padding: 11px 22px; border: 1px solid var(--red); border-radius: 0; cursor: pointer; font-family: inherit; }
.btn { background: var(--red); color: #fff; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-line { color: var(--red); background: #fff; }
.btn-line:hover { background: var(--red); color: #fff; }

.contents { border-left: 1px solid var(--red); padding-left: 28px; padding-top: 6px; }
.contents h2 { color: var(--red); font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.contents ol { list-style: none; }
.contents .main { font-size: 18px; color: var(--ink); margin-top: 8px; }
.contents .main > a, .contents .main > span { display: block; border-bottom: 1px solid var(--ink); padding: 4px 0; text-decoration: none; }
.contents .main ol { margin: 6px 0 0 22px; }
.contents .main ol a { display: flex; justify-content: space-between; text-decoration: none; font-size: 15px; color: var(--text); border-bottom: 1px solid var(--line); padding: 5px 0; }
.contents .main ol a:hover { color: var(--red); border-color: var(--red); }
.pg { color: var(--muted); font-variant-numeric: tabular-nums; }

/* Section tab (brochure "Our service" label) */
.block { padding: 72px 0 24px; }
.tabline { display: flex; align-items: flex-end; gap: 14px; border-bottom: 2px solid var(--red); margin-bottom: 36px; }
.tab { background: var(--red); color: #fff; font-weight: 800; font-size: 24px; padding: 6px 22px 6px 16px; border-top-right-radius: 18px; display: inline-flex; gap: 12px; align-items: baseline; }
.tab-no { font-size: 15px; font-weight: 600; opacity: .85; }
.tab-sub { font-weight: 700; color: var(--ink); font-size: 18px; padding-bottom: 6px; }

/* Career */
.career-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.career { list-style: none; margin-top: 12px; }
.career li { position: relative; padding: 7px 0 7px 18px; border-bottom: 1px solid var(--line); }
.career li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 12px; max-width: 480px; }
.certs img { width: 100%; border: 1px solid var(--line); background: #fff; aspect-ratio: 136 / 196; object-fit: cover; }

/* Services */
.svc { padding: 40px 0 48px; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.svc-no { background: var(--red); color: #fff; font-weight: 700; font-size: 15px; width: 40px; height: 40px; display: grid; place-items: center; flex: none; font-variant-numeric: tabular-nums; }
.svc-en { color: var(--red); font-weight: 600; font-size: 14px; margin: 0 0 2px; }
.svc-head h3 { font-size: 25px; font-weight: 700; letter-spacing: -.015em; }
.svc-body { padding-left: 58px; }
.svc-text { max-width: 54em; }
.svc-map { margin: 28px 0 0; }
.grp-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grp-row.two { grid-template-columns: 1fr 1fr; margin-top: 32px; }
.grp h4 { font-size: 16px; color: var(--red); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.grp ul, ul.dots { list-style: none; }
.grp li, ul.dots li { position: relative; padding: 3px 0 3px 14px; }
.grp li::before, ul.dots li::before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; background: var(--red); border-radius: 50%; }
.minor { color: var(--red); font-size: 17px; margin: 22px 0 8px; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; }
.emark { margin: 6px 0 0; border: 1px solid var(--line); padding: 18px; }
.labs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.lab { margin: 0; }
.lab figcaption { font-size: 14px; color: var(--muted); display: flex; align-items: flex-end; gap: 10px; }
.lab-tab { background: var(--red); color: #fff; font-size: 15px; padding: 3px 18px 3px 10px; border-top-right-radius: 14px; }
.lab img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.table-wrap { overflow-x: auto; margin-top: 22px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
thead th { background: var(--red); color: #fff; font-weight: 600; text-align: left; padding: 8px 14px; }
thead th:last-child { border-top-right-radius: 14px; }
tbody th, tbody td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--ink); }
tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; width: 1%; }
table.lr tbody th { width: 16%; }
.kc .lead-kc p { font-size: 19px; color: var(--ink); line-height: 1.6; border-left: 6px solid #1d3f8f; padding-left: 18px; }
.tags { display: grid; gap: 22px; }
.redtag { display: inline-block; background: var(--red); color: #fff; font-size: 15px; font-weight: 700; padding: 2px 16px 2px 10px; border-top-right-radius: 12px; }
.tagitem p { margin-top: 6px; }
.programs { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-top: 26px; }
.programs li { padding: 16px 12px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 17px; }
.programs li:not(:nth-child(4n)) { border-right: 1px solid var(--line); }
.energy { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ebox { border: 1px solid var(--red); border-top-right-radius: 22px; padding: 0 22px 20px; }
.ebox h4 { margin-top: -1px; margin-left: -23px; }
.esub { font-weight: 700; color: var(--ink); margin: 14px 0 6px; }

/* Contact (brochure back cover) */
.contact { background: var(--red); color: #fff; padding: 72px 0; margin-top: 48px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact h2 { color: #fff; font-size: 30px; margin-bottom: 14px; }
.contact-info a { color: #fff; }
.co { margin-top: 26px; font-size: 15px; }
.addr { font-size: 15px; opacity: .95; border-left: 2px solid #fff; padding-left: 12px; }
.lines { display: grid; grid-template-columns: 70px 1fr; gap: 2px 10px; font-size: 15px; border-left: 2px solid #fff; padding-left: 12px; margin: 18px 0 0; }
.lines dt { opacity: .85; }
.lines dd { margin: 0; }
.contact-form { background: #fff; color: var(--text); padding: 30px; display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; color: var(--ink); }
.req { color: var(--red); font-weight: 500; font-size: 12px; }
input, textarea { font: inherit; font-weight: 400; font-size: 15px; padding: 10px 12px; border: 1px solid #bfc0bc; border-radius: 0; background: #fff; color: var(--ink); width: 100%; }
input:focus, textarea:focus { border-color: var(--red); outline: none; }
textarea { resize: vertical; }
.hp { position: absolute !important; left: -9999px !important; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: 14px; }
.form-status.is-ok { color: #19733a; }
.form-status.is-error { color: var(--red); }

.foot { padding: 22px 0; font-size: 13px; color: var(--muted); }
.foot-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot p { margin: 0; }

/* Responsive */
@media (max-width: 980px) {
  .cover-grid, .career-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grp-row, .grp-row.two, .energy { grid-template-columns: 1fr; }
  .programs { grid-template-columns: repeat(2, 1fr); }
  .programs li:not(:nth-child(4n)) { border-right: 0; }
  .programs li:nth-child(odd) { border-right: 1px solid var(--line); }
  .svc-body { padding-left: 0; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .top-inner { gap: 12px; }
  .nav { order: 3; margin-left: 0; }
  .lang { margin-left: auto; }
  .nav-toggle { display: block; background: none; border: 1px solid var(--line); font: inherit; font-size: 14px; padding: 4px 10px; }
  .nav ul { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav ul.open { display: flex; }
  .nav ul a { display: block; padding: 12px 20px; border-top: 1px solid var(--line); }
  .cover { padding: 32px 0 40px; }
  .cover-left { grid-template-columns: 16px 1fr; min-height: 0; }
  .redbar span { display: none; }
  .cover-text { padding: 28px 22px; }
  .cover h1 { font-size: 26px; }
  .labs, .row2 { grid-template-columns: 1fr 1fr; }
  .certs { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .tab { font-size: 20px; }
  .tab-sub { font-size: 15px; }
  .contact-form { padding: 20px; }
}
