
:root{
    --site_width:1440px;
    /* --color_primary2:#cecd9d; */
    --color_primary2:#fafded;
    --color_primary:#375F16;
    /* --color_primary:#82C3D5; */
    --color_secondary:#19470b15;
    --header_height:100px;
    --scroll_h:64px;
    --bg:#ffffff;
    --bg_soft:#CDC6BE;
    --line:#e8efe8;
    --txt:#0f172a;
    --muted:#64748b;
    --radius:16px;
    --shadow:0 8px 22px rgba(2,6,23,.06);
    --shadow2:0 10px 28px rgba(2,6,23,.08);
}
*,*::before,*::after{box-sizing:border-box;}html,body{margin:0;padding:0;}
body{font-family:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,system-ui,Roboto,"Helvetica Neue","Segoe UI","Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol",sans-serif;color:#111;line-height:1.5;word-break:keep-all;}a{color:inherit;text-decoration:none;}a:hover,a:focus,a:active{text-decoration:none;}a:focus-visible,button:focus-visible,input:focus-visible,
textarea:focus-visible,select:focus-visible{outline:2px solid var(--color_primary);outline-offset:2px;}ul,ol{margin:0;padding:0;list-style:none;}img{vertical-align:middle;border:0;max-width:100%;height:auto;}
button{background:none;border:0;cursor:pointer;font:inherit;color:inherit;}
table{border-collapse:collapse;border-spacing:0;}
input,textarea,select{font-family:inherit;}::placeholder{color:#abb4bd;opacity:1;}::-webkit-input-placeholder{color:#abb4bd;}:-ms-input-placeholder{color:#abb4bd;}i{font-style:normal;}


/* ── Sub Nav ── */
.sub-header { background: #fff; border-bottom: 1px solid #e9ecef; width: 100%; }
.sn-wrap { max-width: 1440px; margin: 0 auto; padding: 0 40px; height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
header { background: var(--color_primary2);}
/* hero-header (nav.php) */
.hero-header { max-width: 1440px; margin: 0 auto; padding: 0 40px; height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.hero-nav { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hero-nav li a { display: flex; align-items: center; padding: 8px 16px; font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -.01em; white-space: nowrap; text-decoration: none; }
.hero-nav li a:hover { color: #16a34a; }
.hero-nav li.active a { color: #16a34a; }
.hero-nav li a { color: #000; }
.hero-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.hero-logo img { height: 130px; width: auto; }
.hero-logo-text { font-size: 1.1rem; font-weight: 900; color: #1a3a0a; letter-spacing: -.04em; }
/* 로고 */
.sn-logo { flex-shrink: 0; }
.sn-logo a { display: inline-flex; align-items: center; gap: 10px; }
.sn-logo img { height: 100px; width: auto; }
.sn-logo-text { font-size: 1.1rem; font-weight: 900; color: #1a3a0a; letter-spacing: -.04em; line-height: 1; }

/* 우측 영역 */
.sn-right { display: flex; align-items: center; gap: 24px; }

/* 메뉴 링크 */
.sn-nav { display: flex; align-items: stretch; gap: 22px; list-style: none; margin: 0; padding: 0; }
.sn-nav li { position: relative; }
.sn-nav li a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 10px 16px 12px; font-size: 16px; font-weight: 500;
  color: #374151; letter-spacing: -.01em; border-radius: 8px; height: 100%;
  transition: color .18s, background .18s; white-space: nowrap; position: relative;
}
.sn-nav li a i {
  font-size: 17px; font-weight: 400; transition: transform .2s, color .18s;
}
.sn-nav li a:hover { color: #16a34a; }
.sn-nav li a:hover i { transform: translateY(-2px); color: #16a34a; }
.sn-nav li.active a { color: #16a34a; }
.sn-nav li.active a i { color: #16a34a; }

/* 구분선 */
.sn-divider { width: 1px; height: 20px; background: #e5e7eb; margin: 0 8px; flex-shrink: 0; }

/* 전체메뉴 버튼 */
.sn-all-btn {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 8px;
  border: 1px solid #d1d5db; background: none;
  color: #374151; cursor: pointer; transition: background .2s, border-color .2s, color .2s; flex-shrink: 0;
}
.sn-all-btn:hover { background: #f0fdf4; border-color: #86efac; color: #16a34a; }
.sn-hamburger { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.sn-hamburger span { display: block; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.sn-all-btn.is-open { background: #f0fdf4; border-color: #86efac; color: #16a34a; }
.sn-all-btn.is-open .sn-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sn-all-btn.is-open .sn-hamburger span:nth-child(2) { opacity: 0; }
.sn-all-btn.is-open .sn-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 전체메뉴 backdrop ── */
.fullmenu-backdrop {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.fullmenu-backdrop.is-open { opacity: 1; visibility: visible; }

/* ── 전체메뉴 사이드 패널 ── */
.fullmenu-overlay {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 80%; max-width: 520px; z-index: 999;
  background: linear-gradient(160deg, #0a2005 0%, #162c09 60%, #0a1f04 100%);
  display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .38s cubic-bezier(.4,0,.2,1);
  box-shadow: 8px 0 48px rgba(0,0,0,.4);
}
.fullmenu-overlay.is-open { transform: translateX(0); }

.fm-header { height: var(--header_height, 80px); display: flex; align-items: center; justify-content: space-between; padding: 0 48px; border-bottom: 1px solid rgba(255,255,255,.07); flex-shrink: 0; }
.fm-logo { display: flex; align-items: center; gap: 10px; }
.fm-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.fm-logo-text { font-size: 1.1rem; font-weight: 900; color: #fff; letter-spacing: -.04em; }
.fm-close {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem;
  cursor: pointer; background: none; transition: background .2s, border-color .2s;
}
.fm-close:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }

.fm-body { flex: 1; display: flex; align-items: flex-start; padding: 48px 0 0; overflow-y: auto; }

/* 영문 메뉴 리스트 */
.fm-list { list-style: none; margin: 0; padding: 0 40px; width: 100%; }
.fm-list li { border-bottom: 1px solid rgba(255,255,255,.08); }
.fm-list li:first-child { border-top: 1px solid rgba(255,255,255,.08); }
.fm-list li a { display: block; font-size: clamp(.9rem,2vw,1.05rem); font-weight: 700; color: rgba(255,255,255,.75); padding: 14px 0; letter-spacing: -.01em; transition: color .18s, padding-left .22s; }
.fm-list li a:hover { color: #86efac; padding-left: 14px; }
.fm-list li.active a { color: #86efac; }

.fm-footer { padding: 20px 48px; border-top: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.fm-footer-copy { font-size: .75rem; color: rgba(255,255,255,.3); }
.fm-footer-links { display: flex; gap: 20px; }
.fm-footer-links a { font-size: .75rem; color: rgba(255,255,255,.35); transition: color .18s; }
.fm-footer-links a:hover { color: rgba(255,255,255,.75); }

/* hero-header 햄버거 버튼 */
.hero-menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 8px;
  border: 1px solid #d1d5db; background: none;
  color: #374151; cursor: pointer; transition: background .2s, border-color .2s, color .2s; flex-shrink: 0;
}
.hero-menu-btn:hover { background: #f0fdf4; border-color: #86efac; color: #16a34a; }
.hero-menu-btn.is-open { background: #f0fdf4; border-color: #86efac; color: #16a34a; }

/* ── 반응형 ── */
@media (max-width: 1024px) { .sn-nav { display: none; } .sn-divider { display: none; } }
@media (max-width: 768px) { .sn-wrap { padding: 0 20px; } .sn-logo img { height: 62px; } .hero-logo img { height: 60px !important;} .hero-nav { display: none !important; } .hero-menu-btn { display: inline-flex; } }
@media (max-width: 640px) { .fm-header, .fm-footer { padding-left: 24px; padding-right: 24px; } .fm-list { padding: 0 24px; } }