
@font-face {
  font-family: 'pre';
  font-style: normal;
  font-weight: 200;
  src: url('../font/Pretendard-Light.woff') format('woff'),
}

@font-face {
  font-family: 'pre';
  font-style: normal;
  font-weight: 300;
  src: url('../font/Pretendard-Regular.ttf') format('woff');
}

@font-face {
  font-family: 'pre';
  font-style: normal;
  font-weight: 400;
  src: url('../font/Pretendard-Medium.ttf') format('woff');
}

@font-face {
  font-family: 'pre';
  font-style: normal;
  font-weight: 600;
  src: url('../font/Pretendard-Bold.ttf') format('woff');
}

@font-face {
  font-family: 'pre';
  font-style: normal;
  font-weight: 800;
  src: url('../font/Pretendard-Black.ttf') format('woff');
}


:root{
  --green: #2e7d52;
  --green-light: #4caf7d;
  --green-pale: #e8f5ee;
  --blue: #1E2F5F;
  --blue-light: #5370c0;
  --blue-pale: #e8eff5;
  --dark: #1a1a2e;
  --gray: #6b7280;
  --light: #f9fafb;
  --white: #ffffff;
  --accent: #626dd3;
  --yellow: #f4a261;
  --yellow-light: #ffd166;
  --bg: #F0F5FA;
  --text-muted: #4a6553;
  --border: #d9e2fa;
  --shadow: 0 4px 24px rgba(45,106,79,0.10);
  --shadow-lg: 0 8px 40px rgba(45,106,79,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  --fc: #333333;
}

html{
  font-family: 'pre';
  font-weight: 400;
  background-color: white;
}




header{
  position: fixed; 
  top: 0; 
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 10px 6%;
  border-bottom: 1px solid #e5e7eb;
}
header.view{
  background: rgba(255,255,255,0.5);
}


header #logo h1{
  font-size: 0;
  background-image: url("../img/logo02.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 180px;

  width: 200px;
  height: 60px;

}


#menu { 
  display: flex; 
  gap: 30px; }

  
#menu  a {
  color: var(--gray);
  font-size: 1em; 
  font-weight: 500; 
  transition: color 0.2s;
  white-space: nowrap;
}
#menu  a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue); color: white;
  padding: 10px 24px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600;
  text-decoration: none; transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-light);}

/* 모바일 메뉴 토글 버튼 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }









/* ---반응형 디자인-- */

@media (max-width: 768px) {
  header{
    padding-left: 8px;
  }
  
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  #menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 90px 32px 32px;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
    transition: right 0.3s ease;
    z-index: 100;
  }
  #menu.open { right: 0; }
  #menu li { width: 100%; padding: 14px 0; border-bottom: 1px solid #eee; }
  #menu a { font-size: 1rem; }

  body.nav-open { overflow: hidden; }
}






@media (max-width: 480px) {
  header { padding: 10px 4%; }
  header #logo h1 { background-size: 140px; width: 150px; height: 46px; }
}

footer {
  background: var(--dark); 
  color: #9ca3af; 
  padding: 36px 6%; 
  text-align: center; 
}

footer p { 
  font-size: 0.82rem; 
  line-height: 1.8; }

.footer_inner{
  display: flex;
  align-items: center;
  gap: 30px;
}
.footer-logo { 
  margin-bottom: 12px;
}
.footer-logo a{ 
  width: 180px;
  height: 60px;
  font-size:0px;  
  cursor: pointer; }

.footer-logo a img{ 
 filter: brightness(15); }


.footer-links{
  margin-left: auto;
  
}
.footer-links a{
  margin-left: 10px;
  
}





