/* Foundation: fonts, design tokens, reset, document and content width. */

:root {
  --color-primary: #1b5dd7;
  --color-ink: #131416;
  --color-muted: #58616a;
  --color-white: #fff;
  --color-surface: #f3f4f6;
  --color-line: #cdd1d5;
  --color-line-soft: #e6e8ea;
  --color-navy: #021230;
  --color-inverse-muted: #e7ecf3;
  --color-focus: #4fa8ff;
  --overlay-hero: linear-gradient(90deg, rgb(0 0 0 / .86) 0%, rgb(0 0 0 / .78) 32%, rgb(0 0 0 / .5) 65%, transparent 100%);
  /* 그림자는 쓰지 않음(사용자 기준). 구분은 선(--color-line)으로 */
  --shadow-card: none;
  --shadow-panel: none;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-small: 8px;
  --radius-card: 16px;
  --radius-pill: 999px;
  --section-space: 120px;
  --section-space-small: 64px;
  --grid-gap: 24px;
  --header-height: 80px;
  --action-size: 48px;
  --action-size-large: 56px;
  --control-size: 44px;
  --quick-menu-size: 56px;
  --type-display: clamp(2rem, 3.9vw, 3.5rem);
  --type-section-title: clamp(2rem, 3.4vw, 3rem);
  --type-card-title: 1.25rem;
  --type-panel-title: 1.375rem;
  --type-body: 1rem;
  --type-small: .9375rem;
  --type-caption: .8125rem;
  --line-heading: 1.3;
  --line-body: 1.65;
  --motion-fast: .2s;
  --motion-standard: .3s;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

@media (max-width: 1599px) {
  :root {
    --header-height: 64px;
  }
}

@media (max-width: 1440px) {
  :root {
    --section-space: 96px;
    --section-space-small: 48px;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-space: 80px;
    --type-display: 2rem;
  }
}

@media (max-width: 767px) {
  :root {
    --quick-menu-size: 44px;
    --section-space: 64px;
    --section-space-small: 32px;
    --grid-gap: 16px;
    --type-section-title: 1.75rem;
    --type-display: clamp(1.75rem, 7.5vw, 2.15rem);
    --type-card-title: 1.125rem;
  }
}

/* One public content-width contract for the main, subpages and shared shell. */

:root {
  --container: 1440px;
  --page-gutter: clamp(20px, 4vw, 64px);
  --content-width: min(var(--container), calc(100% - 2 * var(--page-gutter)));
  --content-inset: max(var(--page-gutter), calc((100% - var(--container)) / 2));
}

:where(:is(.page-home,.page-company,.page-service)) img, :where(:is(.page-home,.page-company,.page-service)) fieldset, :where(:is(.page-home,.page-company,.page-service)) iframe {
  border: 0 none;
}

:where(:is(.page-home,.page-company,.page-service)) ul, :where(:is(.page-home,.page-company,.page-service)) ol, :where(:is(.page-home,.page-company,.page-service)) li {
  list-style: none;
}

:where(:is(.page-home,.page-company,.page-service)) em, :where(:is(.page-home,.page-company,.page-service)) address {
  font-style: normal;
}

:where(:is(.page-home,.page-company,.page-service)) img, :where(:is(.page-home,.page-company,.page-service)) input, :where(:is(.page-home,.page-company,.page-service)) select, :where(:is(.page-home,.page-company,.page-service)) textarea {
  vertical-align: middle;
}

:where(:is(.page-home,.page-company,.page-service)) a {
  color: #7d7d7d;
  text-decoration: none;
  cursor: pointer;
}

:where(:is(.page-home,.page-company,.page-service)) a:hover {
  color: #333;
  text-decoration: none;
}

:where(:is(.page-home,.page-company,.page-service)) button, :where(:is(.page-home,.page-company,.page-service)) label {
  cursor: pointer;
}

:where(:is(.page-home,.page-company,.page-service)) button * {
  position: relative;
}

:where(:is(.page-home,.page-company,.page-service)) textarea {
  overflow: auto;
}

:where(:is(.page-home,.page-company,.page-service)) option {
  padding-right: 6px;
}

:where(:is(.page-home,.page-company,.page-service)) .input_text, :where(:is(.page-home,.page-company,.page-service)) textarea {
  padding-right: 1px;
}

:where(:is(.page-home,.page-company,.page-service)) .blind, :where(:is(.page-home,.page-company,.page-service)) legend, :where(:is(.page-home,.page-company,.page-service)) caption {
  text-indent: -9999px;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

:where(:is(.page-home,.page-company,.page-service)) hr {
  display: none;
}

:where(:is(.page-home,.page-company,.page-service)) :root legend {
  margin-top: -1px;
  font-size: 0;
  line-height: 0;
}

:where(:is(.page-home,.page-company,.page-service)) img {
  max-width: 100%;
}

:where(:is(.page-home,.page-company,.page-service)) .font1 {
  font-family: var(--font-sans);
}

:where(.page-board) *, :where(.page-board) *::before, :where(.page-board) *::after {
  box-sizing: border-box;
}

:where(.page-board) html:where(:not(.site-document)) {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--space-5));
}

:where(.page-board) body:where(:not(.site-page)) {
  margin: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font: 400 var(--type-body)/var(--line-body) var(--font-sans);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

:where(.page-board) body.is-nav-open {
  overflow: hidden;
}

:where(.page-board) h1, :where(.page-board) h2, :where(.page-board) h3, :where(.page-board) p, :where(.page-board) ul, :where(.page-board) ol, :where(.page-board) dl, :where(.page-board) dd {
  margin: 0;
  padding: 0;
}

:where(.page-board) li {
  list-style: none;
}

:where(.page-board) h1, :where(.page-board) h2, :where(.page-board) h3 {
  text-wrap: balance;
}

:where(.page-board) img, :where(.page-board) svg {
  display: block;
  max-width: 100%;
}

:where(.page-board) a {
  color: inherit;
  text-decoration: none;
}

:where(.page-board) button, :where(.page-board) input, :where(.page-board) select, :where(.page-board) textarea {
  font: inherit;
}

:where(.page-board) button {
  cursor: pointer;
}

:where(.page-board) [hidden] {
  display: none !important;
}

:where(.page-board) [data-include] {
  display: contents;
}

:where(.page-board) :focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: var(--space-1);
}

:where(.page-board) .skip-link {
  position: fixed;
  top: 0;
  left: var(--space-4);
  z-index: 3000;
  padding: var(--space-3) var(--space-4);
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-150%);
}

:where(.page-board) .skip-link:focus {
  transform: translateY(0);
}

html.site-document {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
}

body.site-page {
  --header-height: 110px;
  width: 100%;
  height: auto;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #555;
  font: 400 14px/normal var(--font-sans);
  word-break: keep-all;
  -webkit-text-size-adjust: 100%;
}

.site-page #wrap, .site-page #container, .site-page #contents {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.site-page #container {
  display: block;
}

.site-page .site-container {
  width: var(--content-width);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 0;
}

.site-page .site-container .site-container {
  width: 100%;
}

.site-page.page-board #contents {
  font: 400 var(--type-body)/var(--line-body) var(--font-sans);
}

/* Low specificity resets: components define their own visual roles. */

:where(.site-page,.site-page *) {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:where(.site-page :is(h1,h2,h3,h4,h5,h6,th,td,li,dt,dd,a,p,input,textarea,select,option,button)) {
  color: inherit;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
}

:where(.site-page.page-board #contents :is(h1,h2,h3,h4,h5,h6,th,td,li,dt,dd,a,p,input,textarea,select,option,button)) {
  font-size: inherit;
  font-weight: inherit;
}

/* 문단 안 링크(바닥 이메일 등)는 둘러싼 글과 같은 크기 */
:where(.site-page :is(p,small,span,dd,td,label) a) {
  font-size: inherit;
}

html.site-document {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

[data-include] {
  display: contents;
}

/* Families supply responsive defaults. --section-title-size overrides every
   variant from one shared scope; animated headings use a text child. */

.site-page .section-title, .site-page .section-title__text {
  font-size: max(18px, var(--section-title-size, var(--section-title-default-size)));
  font-weight: var(--section-title-weight, var(--section-title-default-weight));
  color: var(--section-title-color, var(--section-title-default-color));
  line-height: var(--section-title-leading, var(--section-title-default-leading));
}

.site-page .section-title--animated {
  font: inherit;
  color: inherit;
}

/* Shared text role. Page families provide defaults, global overrides win. */
.site-page .section-eyebrow {
  font-size: max(18px, var(--section-eyebrow-size, var(--section-eyebrow-default-size)));
  font-weight: var(--section-eyebrow-weight, var(--section-eyebrow-default-weight, 500));
  color: var(--section-eyebrow-color, var(--section-eyebrow-default-color));
  line-height: var(--section-eyebrow-leading, var(--section-eyebrow-default-leading, normal));
  letter-spacing: var(--section-eyebrow-tracking, var(--section-eyebrow-default-tracking, normal));
}

@media screen and (min-width:1400px) { .pcbr { display: block; } }
@media screen and (min-width:813px) and (max-width:1399px) { .pcbr { display: block; } }
@media screen and (max-width:812px) { .pcbr { display: none; } }


