@charset "euc-kr";

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, li, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Tokens ---------- */
:root {
  --font-base: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
               'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;

  --color-text: #555;
  --color-title: #262626;
  --color-text-hover: #44AF5B;
  --color-body: #2b2b2b;
  --color-line: #c2c2c2;
  --color-white: #fff;

  --content-width: 78.75rem; /* 1260px : Áß¾Ó ÄÜÅÙÃ÷ ±âÁØ Æø */
  --side-padding: 0rem;      /* 1260px ÀÌ»ó¿¡¼­´Â ÁÂ¿ì ¿©¹é ¾øÀ½(°¡¿îµ¥ Á¤·Ä) */
  --radius: 0.75rem;         /* 12px */
  --ls-tight: -0.025em;      /* ½Ã¾ÈÀÇ -0.5px/20px, -1.05px/42px µî°ú µ¿ÀÏ ºñÀ² */
}

/* 1260px ÀÌ»ó: 16px °íÁ¤(ÄÜÅÙÃ÷ Ãà¼Ò ¾øÀ½)
   1260px ÀÌÇÏ: viewport ºñ·Ê·Î Ãà¼Ò (16 / 1260 = 1.26984vw) */
html { font-size: min(1.26984vw, 16px); }

body {
  font-family: var(--font-base);
  word-break: keep-all;       /* ÇÑ±Û ´Ü¾î Áß°£ ÁÙ¹Ù²Þ ¹æÁö */
  overflow-wrap: break-word;
  color: var(--color-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   Çì´õ
   ========================================================= */
.header {

  position: fixed;
  top:0;
  left:0;
  right:0;
  z-index: 10;
  background: var(--color-white);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 0.625rem;               /* 10px */
  max-width: var(--content-width);           /* 1260px */
  height: 6.25rem;             /* 100px */
  margin: 0 auto;
  padding: 1.125rem var(--side-padding); /* 18px */
}

.header__logo { flex: none; }
.header__logo img {
  height: 2rem;                /* 32px */
  object-fit: contain;
}

.header__util {
  display: flex;
  flex: 1 0 0;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 4.625rem;               /* 74px */
}

.gnb__list {
  display: flex;
  align-items: center;
  gap: 4.625rem;               /* 74px */
}

.gnb__list a {
  display: block;
  font-size: 1.25rem;          /* 20px */
  font-weight: 500;
  line-height: normal;
  letter-spacing: var(--ls-tight);
  color: var(--color-text);
  white-space: nowrap;
  transition: color .2s;
}
.gnb__list a:hover,
.gnb__list a:focus-visible { color: var(--color-text-hover); }

.btn-outline {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  height: 3.125rem;            /* 50px */
  padding: 0 0.75rem;          /* 12px */
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  font-size: 1.25rem;          /* 20px */
  font-weight: 500;
  line-height: normal;
  letter-spacing: var(--ls-tight);
  color: var(--color-text);
  white-space: nowrap;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--color-text-hover);
  color: var(--color-text-hover);
}

/* ¸ð¹ÙÀÏ ¸Þ´º ¹öÆ° (1023 ÀÌÇÏ¿¡¼­¸¸ ³ëÃâ) */
.nav-toggle__btn { display: none; }

/* =========================================================
   »ó´Ü ºñÁÖ¾ó
   ========================================================= */
.visual {
  position: relative;
  padding-top: 6.25rem;         /* Çì´õ ³ôÀÌ 100px */
  height: 100vh;            /* 980px = 1080 - Çì´õ 100 */
  overflow: hidden;
}

.visual__bg {
  position: absolute;
  inset: 0;
  /* image/hero-bg.jpg °¡ ¾øÀ» ¶§¸¦ ´ëºñÇÑ Æú¹é ¹è°æ */
  background-color: #6f8f43;
  background-image:
    url("../image/hero-bg.png"),
    linear-gradient(180deg, #6d86a8 0%, #c9b26a 42%, #6f8f43 62%, #3f5f28 100%);
  background-position: center 32%;
  background-size: cover;
  background-repeat: no-repeat;
}

/* ½Ã¾È: ÇÏ´Ü¡æ»ó´Ü ¹æÇâ µõ (Åõ¸í 42.2% ¡æ rgba(0,0,0,.38) 71.4%) */
.visual__dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0) 42.2%, rgba(0,0,0,.38) 71.4%);
}

.visual__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  max-width: var(--content-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

/* ----- Å¸ÀÌÆ² ----- */
.visual__title {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;                /* 12px */
  color: var(--color-white);
  font-weight: 400;
}

.visual__title-sub {
  font-size: 2.625rem;         /* 42px */
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--ls-tight);
}

.visual__title-main {
  font-size: 3.25rem;          /* 52px */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
}

/* ----- Ã¤¿ë Á¤º¸ Ä«µå ----- */
.recruit-card {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;                /* 28px */
  width: 38.75rem;             /* 620px */
  margin-top: 6.875rem;        /* 110px ¡æ Ä«µå »ó´Ü = ½Ã¾È 596px */
  padding: 1.875rem 2.5rem;    /* 30px 40px */
  border-radius: var(--radius);
  background: rgba(255,255,255,.9);
}

.recruit-card__head {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;               /* 6px */
}

.recruit-card__year {
  font-size: 1.5rem;           /* 24px */
  font-weight: 400;
  line-height: normal;
  letter-spacing: var(--ls-tight);
  color: var(--color-body);
}

.recruit-card__name {
  font-size: 1.75rem;          /* 28px */
  font-weight: 700;
  line-height: normal;
  letter-spacing: var(--ls-tight);
  color: var(--color-title);
}

.recruit-card__period {
  font-size: 1.5rem;           /* 24px */
  font-weight: 400;
  line-height: normal;
  letter-spacing: var(--ls-tight);
  color: var(--color-body);
  white-space: nowrap;
}
.recruit-card:hover{
  background: rgba(68, 175, 91, 0.9);
}
.recruit-card:hover .recruit-card__year{color: var(--color-white);}
.recruit-card:hover .recruit-card__name{color: var(--color-white);}
.recruit-card:hover .recruit-card__period{color: var(--color-white);}
  

/* =========================================================
   ÅÂºí¸´ / ¸ð¹ÙÀÏ (1023px ÀÌÇÏ)
   - rem ºñ·Ê Ãà¼Ò¸¦ ²ô°í px ±â¹Ý ·¹ÀÌ¾Æ¿ôÀ¸·Î ÀüÈ¯
   ========================================================= */
@media (max-width: 1023px) {
  html { font-size: 16px; }

  :root { --side-padding: 32px; }

  /* --- Çì´õ --- */
  .header__inner {
    position: relative;
    height: 72px;
    padding: 0 var(--side-padding);
    gap: 0;
  }
  .header__logo img { height: 26px; }

  .nav-toggle__btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    margin-left: auto;
    cursor: pointer;
  }
  .nav-toggle__btn span {
    display: block;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: transform .25s, opacity .2s;
  }
  .nav-toggle:checked + .nav-toggle__btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle__btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-toggle__btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .header__util {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--side-padding);
    border-top: 1px solid #eee;
    background: var(--color-white);
    box-shadow: 0 12px 20px rgba(0,0,0,.08);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height .3s ease, padding .3s ease, visibility .3s;
  }
  .nav-toggle:checked ~ .header__util {
    max-height: 400px;
    padding: 8px var(--side-padding) 20px;
    visibility: visible;
  }

  .gnb__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnb__list a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
  }

  .btn-outline {
    height: 46px;
    margin-top: 16px;
    font-size: 15px;
  }

  /* --- ºñÁÖ¾ó --- */
  .visual { min-height: 600px;  padding-top: 72px;}
  .visual__inner {
    display: flex;
    justify-content: flex-start;
    padding: 120px var(--side-padding) 64px;
  }
  .visual__dim {
    background: linear-gradient(to top, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 100%);
  }

  .visual__title { gap: 10px; }
  .visual__title-sub { font-size: 22px; }
  .visual__title-main { font-size: 30px; line-height: 1.3; }

  .recruit-card {
    width: 100%;
    max-width: 480px;
    margin-top: 56px;
    gap: 18px;
    padding: 24px 28px;
  }
  .recruit-card__year { font-size: 16px; }
  .recruit-card__name { font-size: 20px; }
  .recruit-card__period { font-size: 16px; white-space: normal; }
}

/* ---------- ¸ð¹ÙÀÏ (639px ÀÌÇÏ) ---------- */
@media (max-width: 639px) {
  :root { --side-padding: 20px; }

  .visual { min-height: 480px;}
  .visual__inner { padding: 80px var(--side-padding) 48px; }

  .visual__title-sub { font-size: 18px; }
  .visual__title-main { font-size: 24px; }

  .recruit-card { margin-top: 40px; padding: 20px 22px; gap: 16px; }
  .recruit-card__year { font-size: 15px; }
  .recruit-card__name { font-size: 19px; }
  .recruit-card__period { font-size: 15px; }
}

/* ---------- Á¢±Ù¼º ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
