@charset "utf-8";

@font-face {
  font-family: "Pretendard";
  src: url("assets/fonts/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   기본
   ============================================================ */
:root {
  --navy: #243254;
  --ink: #333;
  --body: #555;
  --deep: #28324e;
  --line: #d1d3d5;
  --panel: #f2f2f2;
  --brand: #2f7d68;
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: var(--body);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
input, textarea { font: inherit; }

.emblem-def { position: absolute; width: 0; height: 0; overflow: hidden; }
.emblem-mark { color: var(--brand); }
.emblem-mark--footer { color: #8fbfae; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.row > * { padding: 0 15px; }
/* container 와 row 를 한 요소에 함께 쓰면 row 의 음수 마진이 container 의 가운데 정렬을
   덮어써 본문이 왼쪽으로 쏠린다. 이 경우 바깥 여백은 container 가, 좌우 15px 간격은
   자식의 padding 이 맡는다. */
.container.row { margin-left: auto; margin-right: auto; padding: 0; }
.col-4, .col-6,
.col-loc-text, .col-loc-map,
.col-inq-text, .col-inq-form { width: 100%; }

/* ============================================================
   헤더
   ============================================================ */
.site-header {
  position: relative;
  z-index: 30;
  background: var(--navy);
}
.site-header .container {
  display: flex;
  align-items: center;
  height: var(--header-h);
}
.brand { flex: none; }
.brand__logo { width: 150px; height: 31px; }
.brand__ko { font: 700 11px "Pretendard", sans-serif; fill: #fff; letter-spacing: -.02em; }
.brand__en { font: 400 5.4px "Pretendard", sans-serif; fill: #b9c3d6; letter-spacing: .18em; }
.brand__mark { font: 800 17px "Pretendard", sans-serif; fill: #6fb49c; }

.gnb { display: none; }

.burger {
  margin-left: auto;
  width: 26px; height: var(--header-h);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.burger span {
  display: block; width: 26px; height: 2px; background: #fff;
  transition: transform .25s, opacity .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav { background: #1c2842; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  display: block;
  padding: 15px 30px;
  color: #fff;
  font-size: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

/* ============================================================
   히어로
   ============================================================ */
.hero {
  position: relative;
  height: 609px;
  overflow: hidden;
}
.hero__bg, .hero__veil { position: absolute; inset: 0; }
.hero__bg {
  background: #c9ccd0 url("assets/hero-building.jpg") center / cover no-repeat;
}
.hero__veil { background: rgba(168, 168, 168, .518); }
.hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero__logo { width: 232px; height: 153px; }
.hero__logo-ko { font: 800 30px "Pretendard", sans-serif; fill: #3a3a3a; text-anchor: middle; }
.hero__logo-mark { fill: var(--brand); }
.hero__logo-en { font: 400 11px "Pretendard", sans-serif; fill: #6a6a6a; letter-spacing: .34em; text-anchor: middle; }
.hero__rule {
  display: block;
  width: 56px; height: 1px;
  margin: 18px 0 20px;
  background: #b39a72;
}
.hero__caption {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
  text-align: center;
}

/* ============================================================
   인사말
   ============================================================ */
.greeting { padding: 50px 0; background: #fff; }
.greeting__logo {
  display: flex; align-items: center; justify-content: center;
  padding: 44px 0;
  margin-bottom: 26px;
}
.greeting__logo svg { width: 100%; height: auto; }
.greeting__logo-ko { font: 800 30px "Pretendard", sans-serif; fill: #3a3a3a; }
.greeting__logo-mark { fill: var(--brand); }
.greeting__logo-en { font: 400 10px "Pretendard", sans-serif; fill: #6a6a6a; letter-spacing: .3em; }
.greeting__text { margin-top: 0; }
.greeting__hi { font-size: 18px; line-height: 27px; color: #000; }
.greeting__body { margin-top: 21px; font-size: 14px; line-height: 21px; }

/* ============================================================
   구분 바
   ============================================================ */
/* 원본은 구분 바마다 위 여백이 다르다(구성원 50 / 주요서비스 60 / 오시는길·고객지원 42) */
.bar { padding: 25px 0 5px; background: var(--panel); }
.bar--lead { padding-top: 29px; }
.bar--white { padding-top: 34px; background: #fff; }
.bar--plain { background: #fff; }
.bar .row { align-items: flex-start; flex-direction: column; gap: 8px; }
.bar__title {
  flex: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 23px;
  color: var(--ink);
}
.bar__more {
  flex: none;
  align-self: flex-end;
  padding: 8px 38px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  font-size: 13px;
  line-height: 13px;
  color: #000;
}
.bar__more:hover { background: #f7f7f7; }

/* ============================================================
   구성원
   ============================================================ */
.member { padding: 21px 0 25px; background: var(--panel); }
.member > .row > * { margin-bottom: 40px; }
.member > .row > *:last-child { margin-bottom: 0; }
.member__photo img {
  width: 241px; height: auto;
  margin: 0 auto 24px;
  object-fit: cover;
}
.member__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 35px;
  color: #000;
}
.member__name span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  line-height: 15px;
  color: var(--body);
}
.member__career { margin-top: 22px; }
.member__career li, .member__record li { font-size: 13px; line-height: 19.5px; }
.member__career-head, .member__record-head {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 19.5px;
  color: #000;
}
.member__record { margin-top: 24px; }
.member__record ul { margin-top: 6px; }
.member__record li { padding-left: 12px; text-indent: -12px; }
.member__record li::before { content: "· "; }

/* ============================================================
   주요서비스
   ============================================================ */
.services { padding: 0 0 35px; background: #fff; }
.tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #e2e2e4;
}
.tabs li { flex: 1 1 25%; }
.tab {
  width: 100%;
  padding: 6px 2px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #a1a1a6;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.tab.is-on { color: #111; border-bottom-color: #111; }
.tab-body { padding: 40px 0 40px; }
.tab-panel[hidden] { display: none; }
.tab-lead + .tab-lead { margin-top: 25px; }
.tab-lead {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
}
.tab-list { margin-top: 22px; }
.tab-list li {
  position: relative;
  margin-bottom: 6.5px;
  padding-left: 14px;
  font-size: 14px;
  line-height: 21px;
}
.tab-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #888;
}

/* ============================================================
   오시는길
   ============================================================ */
.location { padding: 10px 0; background: var(--panel); }
.loc-block { margin-bottom: 40px; text-align: center; }
.loc-block h3 {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  color: #000;
}
.loc-block p {
  font-size: 17px;
  line-height: 28px;
  color: var(--deep);
}
.loc-note { font-size: 15px; }
.loc-btns { display: flex; justify-content: center; gap: 9px; margin-bottom: 24px; }
.loc-btn {
  display: flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 18px;
  border-radius: 2px;
  font-size: 15px;
  color: #fff;
}
.loc-btn--daum { background: #4789e7; }
.loc-btn--naver { background: #41a85f; }
.loc-btn:hover { filter: brightness(.94); }

.map {
  position: relative;
  height: 300px;
  background: #f8f9fa;
  border: 1px solid #e0e2e4;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__pin {
  position: absolute;
  left: 8px; bottom: 8px;
  width: 240px;
  padding: 8px 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
.map__pin-title { font-size: 13px; line-height: 16px; color: #2d2d2d; }
.map__pin-sub { font-size: 11px; line-height: 14px; color: #8d8d8d; }

/* ============================================================
   문의하기
   ============================================================ */
.inquiry { padding: 15px 0; }
.col-inq-text h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
  color: #000;
}
.col-inq-text p { margin-top: 4px; font-size: 13px; line-height: 20px; }
.col-inq-text { margin-bottom: 84px; }
.col-inq-form { margin-top: 0; }
.inq-row { display: flex; flex-wrap: wrap; gap: 10px; }
.inq-row input { flex: 1 1 100%; }
.col-inq-form input, .col-inq-form textarea {
  width: 100%;
  height: 34px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
  background: #fff;
  font-size: 12px;
  color: var(--body);
}
.col-inq-form textarea { display: block; height: 200px; margin-top: 20px; resize: vertical; }
.col-inq-form input:focus, .col-inq-form textarea:focus { outline: 2px solid var(--navy); outline-offset: -2px; }
.inq-agree {
  display: flex; align-items: center; gap: 4px;
  padding: 19px 0;
  font-size: 13px;
  line-height: 15px;
  color: #ccc;
}
.inq-agree input { width: 13px; height: 13px; margin: 0; }
.inq-agree label { display: flex; align-items: center; gap: 6px; }
.inq-terms { text-decoration: underline; }
.inq-send { display: flex; justify-content: flex-end; }
.inq-btn {
  width: 151px; height: 44px;
  background: #1f1f1f;
  color: #fff;
  font-size: 12px;
}
.inq-btn:hover { background: #000; }

/* ============================================================
   연락 정보 카드
   ============================================================ */
.contact-cards { padding: 0; }
.ccard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  height: 213px;
  text-align: center;
}
.ccard__icon { flex: none; width: 80px; height: 80px; }
.ccard__icon svg {
  width: 100%; height: 100%;
  fill: none; stroke: #6e6e6e; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.ccard__title {
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 17px;
  color: #202020;
}
.ccard__desc p { font-size: 13px; line-height: 20px; color: #6e6e6e; }
.ccard__desc a { text-decoration: underline; }

/* ============================================================
   푸터
   ============================================================ */
.site-footer {
  padding: 70px 0;
  background: #292929;
  color: #9a9a9a;
  font-size: 13px;
  line-height: 20px;
}
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; min-height: 69px; padding-top: 15px; }
.site-footer__logo svg { width: 200px; height: 41px; }
.site-footer__logo-ko { font: 700 15px "Pretendard", sans-serif; fill: #e6e6e6; }
.site-footer__logo-mark { fill: #8fbfae; }
.site-footer__logo-en { font: 400 7px "Pretendard", sans-serif; fill: #9a9a9a; letter-spacing: .28em; }
.site-footer__copy { flex: 1; color: #d1d5d9; }
.site-footer__sns svg { width: 28px; height: 20px; fill: #9a9a9a; }
.site-footer__info { margin-top: 70px; }
.site-footer__name { margin-bottom: 5px; color: #d1d5d9; }

/* ============================================================
   맨 위로
   ============================================================ */
.go-top {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 40;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(36, 50, 84, .85);
  border-radius: 3px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.go-top.is-on { opacity: 1; visibility: visible; }
.go-top svg {
  width: 22px; height: 22px;
  fill: none; stroke: #fff; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ============================================================
   768px 이상
   ============================================================ */
@media (min-width: 768px) {
  .container { max-width: 750px; }
  .col-4 { width: 33.3333%; }
  .col-6 { width: 50%; }

  .hero { height: 739.5px; }
  .hero__logo { width: 280px; height: 185px; }
  .hero__caption { font-size: 17px; }

  .greeting { padding: 70px 0; }
  .greeting__logo { padding: 0; margin-bottom: 0; }
  .greeting__logo svg { width: 320px; }
  .col-inq-text { margin-bottom: 0; }
  .map { height: 460px; }
  .site-footer__top { padding-top: 0; }
  .site-footer__info { margin-top: 20px; }

  .member__photo img { margin-bottom: 0; }
  .member > .row > * { margin-bottom: 0; }
  .member__record { margin-top: 0; }

  .tab { padding: 22px 15px; font-size: 16px; }
  .tab-body { padding: 26px 0 30px; }

  .loc-block { text-align: right; }
  .loc-btns { justify-content: flex-end; }
  .map { height: 460px; }

  .col-inq-text { width: 33.3333%; }
  .col-inq-form { width: 66.6667%; }
  .inq-row input { flex: 1 1 0; }

  .contact-cards { padding: 20px 0 40px; }
  .ccard {
    flex-direction: row;
    align-items: flex-start;
    height: auto;
    text-align: left;
  }
  .bar .row { flex-direction: row; align-items: center; gap: 0; }
  .bar__title { flex: 1; font-size: 22px; line-height: 33px; }
  .bar__more { align-self: auto; }
  .member { padding: 0 0 40px; }
  .member > .row > * { margin-bottom: 0; }
  .services { padding: 0 0 40px; }
  .location { padding: 20px 0 40px; }
  .inquiry { padding: 30px 0 40px; }
  .site-footer { padding: 40px 0; }

  .site-footer__info { margin-top: 20px; }
}

/* ============================================================
   992px 이상 — 데스크톱 내비게이션
   ============================================================ */
@media (min-width: 992px) {
  :root { --header-h: 80px; }

  .container { max-width: 970px; }

  .site-header .container { padding: 10px 15px; }
  .brand__logo { width: 174px; height: 36px; }
  .burger, .mobile-nav { display: none; }

  .gnb {
    display: block;
    margin-left: auto;
    padding-right: 50px;
  }
  .gnb ul { display: flex; }
  .gnb a {
    display: block;
    padding: 0 25px;
    font-size: 20px;
    line-height: 60px;
    color: #fff;
  }
  .gnb a:hover { color: #a9bbdd; }

  .hero { height: 870px; }
  .hero__logo { width: 317px; height: 209px; }
  .hero__rule { margin: 24px 0 26px; }
  .hero__caption { font-size: 18px; line-height: 27px; }

  .greeting { padding: 100px 0; }
  .greeting__logo svg { width: 482px; height: 99px; }
  .greeting__hi { font-size: 18px; }
  .greeting__body { margin-top: 21px; }

  .bar { padding: 42px 0 10px; }
  .bar--lead { padding-top: 50px; }
  .bar--white { padding-top: 60px; }
  .bar__more { padding: 8px 38px; }

  .member { padding: 42px 0 50px; }
  .member__career { margin-top: 22px; }

  .services { padding: 0 0 70px; }
  .tab { padding: 22px 15px; font-size: 18px; line-height: 27px; }
  .tab-body { padding: 30px 0 39px; }
  .tab-lead { font-size: 17px; line-height: 25px; }
  .tab-list { margin-top: 48px; }

  .location { padding: 20px 0; }
  .col-loc-text { width: 41.6667%; }
  .col-loc-map { width: 58.3333%; }
  .loc-block { margin-bottom: 30px; }
  .loc-block h3 { margin-bottom: 0; }
  .loc-block p { font-size: 19px; }
  .loc-note { font-size: 16px; }
  .loc-btns { margin-bottom: 0; }
  .loc-btn { font-size: 16px; }
  .map { height: 650px; }

  .inquiry { padding: 30px 0; }
  .col-inq-text h3 { margin-bottom: 24px; }
  .inq-row { gap: 30px; }
  .col-inq-form textarea { height: 200px; }
  .inq-agree { padding: 19px 0 19px 34px; }
  .inq-send { margin-top: 20px; }

  .contact-cards { padding: 50px 0; }
  .ccard__desc { padding-top: 0; }

  .site-footer { padding: 70px 0; }
  .site-footer__top { flex-wrap: nowrap; gap: 0; }
  .site-footer__logo { width: 315px; }
  .site-footer__logo svg { width: 223px; height: 46px; }
  .site-footer__copy { padding-left: 0; }
  .go-top { right: 30px; bottom: 30px; }
}

/* ============================================================
   1200px 이상
   ============================================================ */
@media (min-width: 1200px) {
  .container { max-width: 1170px; }
}

@media (prefers-reduced-motion: reduce) {
  .go-top, .tab, .burger span { transition: none; }
}
