@import url(main.css);
@import url(sub.css);
@font-face {
  font-family: 'Pretendard';
  src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

:root {
  --primary-100: #E9F7ED;
  --primary-200: #C9ECCF;
  --primary-300: #A4DEB1;
  --primary-400: #7CCF8E;
  --primary-500: #46B853; /*기준색*/
  --primary-600: #3EA04A;
  --primary-700: #34853E;
  --primary-800: #2B6B33;
  --primary-900: #224F27;
  
    --sub_color: #feae36;
    --point_color: #F18B25;
    --font_color: #222;
    --hover_color: #21AD4C;
    --icon_hover_color: #21AD4C;

}




		

html { font-size: 62.5%;
  font-family: 'Pretendard', sans-serif;
  scroll-behavior: smooth;
    word-break: keep-all;        /* 핵심: CJK 글자 단위 줄바꿈 금지 */
  color: var(--font_color);
}
body {
  overflow-x: hidden;
  overflow-wrap: break-word;   /* 너무 긴 단어/URL은 끝에서 안전하게 줄바꿈 */
  word-wrap: break-word;       /* 구형 브라우저 보강 */
  hyphens: auto;               /* 영어는 하이픈 분리 허용(한글엔 영향 거의 없음) */
}  


/* Header 헤더 */
header {
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    z-index: 999;
    background-color: transparent;
    transition: all 0.3s ease;
}

.header_container {
    display: flex;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
}

.menu_mo {
    display: none;
}

.menu_web .depth_1 {
    font-size: 2rem;
    font-weight: 500;
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.menu_web .depth_1 > li a{
    padding: 32px 70px;
    color: white;
}
.menu_web .depth_1 > li a:hover{
    color: var(--hover_color)
}

.menu_web .depth_1 > li{
    position: relative;
    width: 100%;
    text-align: center;
}

header.scrolled {
  background-color: white;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.08);
}

header.scrolled .menu_web .depth_1 > li a {
  color: var(--font_color);
}
header.scrolled .menu_web .depth_1 > li a:hover {
  color: var(--hover_color);
}


.menu_web .depth_1 .depth_2 {
    display: none;
    font-size: 1.6rem;
    font-weight: 500;
}

.menu_web .depth_1 li:hover .depth_2 {
    display: block;
}
.menu_web .depth_1 li .depth_2:hover {
    display: block;
}

.menu_web .depth_1 .depth_2 {
    position: absolute;
    top: calc(100% + 32px);
    left: 0;
    background-color: white;
    z-index: 10;
    width: 100%;
}
.menu_web .depth_1 .depth_2 li a{
    display: block;
    padding: 20px;
    text-align: center;
    color: var(--font_color);
}
.menu_web .depth_1 .depth_2 li a:hover{
    color: var(--hover_color);
}





header.active{background-color: #fff; transition: all 0.4s;}

/* 햄버거 버튼 기본 스타일 */
.btn_ham {
    position: relative;
    width: 30px;
    height: 23px;
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 99;
  }
  .btn_ham span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    border-radius: 4px;
    transition: all 0.4s;
  }
  .btn_ham span:nth-child(1) { top: 0; }
  .btn_ham span:nth-child(2) { top: 11px; }
  .btn_ham span:nth-child(3) { bottom: 0; }
  
  /* 햄버거 → X 변신 */
  .btn_ham.active_1 span:nth-child(1) {
    transform: translateY(11px) rotate(-45deg);
  }
  .btn_ham.active_1 span:nth-child(2) {
    opacity: 0;
  }
  .btn_ham.active_1 span:nth-child(3) {
    transform: translateY(-11px) rotate(45deg);
  }
  

  .depth_1_mo_btn {
    width: 100%;
    font-size: 1.5em;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center; /* ← 수직 정렬 */
    gap: 10px;
    background: none;
    border: none;
    color: #000;
    padding: 10px 0;
    white-space: nowrap; /* 줄바꿈 방지 */
  }
  
  .depth_1_mo_btn img {
    width: 16px;
    height: auto;
    display: inline-block;
  }
    
  @media (max-width: 1320px) {
    .header_container {
      padding: 0 5%;
  }
    .menu_web .depth_1 > li a{
      padding: 32px 54px;
      color: white;
  }
  }
  @media (max-width: 1199px) {
    html, body {
      max-width: 100%;
      overflow-x: hidden;
    }
    /* 헤더 스타일 */
    .header {
      background-color: #fff;
      position: fixed;
    }
  
    .header_container {
      width: 80%;
      padding: 0;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  
    /* PC 메뉴 숨김 */
    .menu_web {
      display: none;
    }
  
    /* 로고 교체 */
    /* .logo {
      display: none !important;
    }
   */
    .logo2 {
      width: 200px;
      display: block;
    }
  
    /* 햄버거 버튼 보이기 */
    .btn_ham {
      display: block;
    }
  
    /* 모바일 메뉴 */
    .menu_mo {
      display: block;
      position: absolute;
      top: 100%;
      left: 100%;
      width: 100%;
      height: 100vh;
      background-color: #fff;
      transition: all 0.8s;
      z-index: 90;
      padding: 20px;
      box-sizing: border-box;
    }
  
    .menu_mo.active {
      left: 0;
    }
  
    /* 메뉴 리스트 */
    .depth_1_mo {
      width: 80%;
      margin: 20px auto 0;
      list-style: none;
    }
    
  
    .depth_1_mo li {
      margin-bottom: 20px;
      cursor: pointer;
    }
  
    .depth_1_mo_btn {
      width: 100%;
      font-size: 2em;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: none;
      border: none;
      color: #000;
    }
    .depth_1_mo_btn .border {
        width: 80%;
        height: 1px;
        background-color: #d4d4d4;
        padding: 0 20px;
    }

    .depth_1_mo_btn img {
      width: 15px;
      transition: all 0.5s;
    }
  
    .depth_1_mo li.open .depth_1_mo_btn img {
      transform: rotate(-180deg);
    }
  
    .depth_2_mo {
        margin: 0;
        padding: 0 0 0 30px; /* 왼쪽 들여쓰기만 */
        overflow: hidden; /* 애니메이션 부드럽게 */
        display: none;
    }
  
    .depth_2_mo li {
      color: #777;
      line-height: 1.5;
      font-size: 1.6rem;
      margin-top: 10px;
    }
  
    .depth_2_mo li:hover {
      color: var(--primary-700);
    }
  }
  

section:last-of-type {
  margin-bottom: 6rem;
}

/* 푸터 footer */
footer {
  width: 100%;
  height: auto;
  padding: 50px 0 50px;
  background-color: #222;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5;
  color: #dadada;
}
footer section {
  width: 80%;
  margin: 0 auto !important;
}
footer section .wrap{
  display: flex;
  width: 100%;
}
footer section .wrap .fs01{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
footer section .txt .footer_content{
  display: flex;
  gap: 2rem;
  text-align: left;
  flex-wrap: wrap;
  padding: 0 2rem;
}
footer .footer_bottom {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 2rem;
}
footer .sns_logo {
  display: flex;
  gap: 2rem;
}

@media (max-width:1000px) {
  footer section .wrap .fs01 {
    flex-direction: column;
    gap: 2rem;
  }
} 