/* ===============================
   FONT – Noto Sans KR Only
   =============================== */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap");

/* ===============================
   GLOBAL RESET
   =============================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* default base */
html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  height: 100%;
  overflow-x: hidden;

  /* 🔥 기본 폰트 한 번만 선언 (Noto Sans 고정) */
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #212529;
  background: #fff;
}

ul,
ol,
li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* ===============================
   SECTION HEADINGS
   =============================== */
.section-title {
  font-size: 30px;
}

/* anchor offset (for fixed header spacing) */
:target {
  scroll-margin-top: 92px;
}

/* ===============================
   LAYOUT CONTAINER
   =============================== */
.inner {
  width: 1300px;
  margin: 0 auto;
}

/* ===============================
   HEADER
   =============================== */

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10000;
  background-color: #fff;
  transition: 0.5s;
}

.header_bottom .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

header.bg {
  background-color: #fff;
  box-shadow: 0 3px 5px #eee;
}

header:hover {
  background-color: #fff;
}

/* ===============================
   NAVIGATION
   =============================== */

nav {
  margin-right: 50px;
}

.main_menu {
  display: flex;
  margin-left: 95px;
  position: relative;
  left: 8.5%;
}

.main_menu > li {
  height: 90px;
  position: relative;
}

.main_menu > li::after {
  content: "";
  width: 0;
  height: 2px;
  background-color: #348413;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s;
}

.main_menu > li > a {
  display: block;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  height: 90px;
  line-height: 90px;
  width: 170px;
}

.sub_menu {
  position: absolute;
  width: 100%;
  height: 258px;
  display: none;
  z-index: 999;
}

.sub_menu a {
  display: block;
  text-align: center;
  font-size: 15px;
  padding: 9px 0;
  color: #333;
}

/* sub menu background */
.sub_bg {
  position: absolute;
  height: 258px;
  width: 100%;
  top: 100%;
  left: 0;
  background-color: rgba(255, 255, 255, 1);
  border-top: 1px solid #eee;
  box-shadow: 0 2px 5px #eee;
  z-index: 99;
  display: none;
}

/* hover */
.main_menu > li:hover::after {
  width: 100%;
}

.main_menu > li:hover > a + .sub_menu {
  background-color: #e9f1e9;
  height: 258px;
}

.sub_menu a:hover {
  font-weight: 600;
  background-color: #03a94d;
  color: #fff;
}
.ham{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  cursor:pointer;
  display:none;
  top: 0;
  right: 0;
  z-index: 11;
}
.ham:before{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  margin:-7px 0 0 -10px;
  width:20px;
  height:14px;
  border-top:2px solid #000;
  border-bottom:2px solid #000;
}
.ham:after{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  margin:-1px 0 0 -10px;

  width:20px;
  height:1px;
  border-top:2px solid #000;
}
.ham.active:before{
  border-bottom:0;
  height:1px;
  transform: rotate(45deg);
  margin: -2px 0 0 -8px;
}
.ham.active:after{
  transform: rotate(-45deg);
  margin: -2px 0 0 -8px;
}
/* ===============================
   FOOTER
   =============================== */

.site-footer {
  width: 100%;
  height: 150px;
  background: var(--green-3);
  border-top: 1px solid #e6eee6;
  color: #222;
}

.site-footer .container {
  width: 1300px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 !important;
  box-sizing: border-box;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px 0;
}

.footer-brand {
  margin-bottom: 6px;
}

.footer-logo {
  display: block;
  height: 28px;
  width: auto;
}

.footer-info {
  text-align: left;
}

.p-foot {
  margin-top: 5px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: #212529;
}
