@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Thin.woff') format('woff');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Light.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

/* @font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
} */

/* @font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Medium.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-SemiBold.woff') format('woff');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Black.woff') format('woff');
    font-weight: 900;
    font-display: swap;
} */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  /* letter-spacing: -0.05em; */
}
.pre {
  font-family: "Pretendard", sans-serif;
}
body {
  position: relative;
  overflow-x: hidden;
  font-family: "Pretendard", sans-serif;
  margin: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  color: #333;
}
a {
  color: #333;
  text-decoration: none;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0px;
}
li {
  list-style: none;
}
img {
  vertical-align: middle;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
strong {
  margin: 0;
}
small {
  font-style: normal;
}
.main_center {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}
.sub_center {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}
.m_con {
  display: none;
}
.d-flex {
  display: flex;
}

header {
  padding: 0 7.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
  position: fixed;
  background-color: #fff;
  top: 0;
  left: 0;
  z-index: 200!important;
  transition: all 0.45s;
  width: 100%;
}
header a img {
  width: 177px;
  height: 42px;
}
header ul {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  /* width: 742px; */
}
header ul li {
  padding: 0;
  align-self: stretch;
}
header ul li a {
  color: #000;
  font-family: Pretendard;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.45px;
  padding: 0.625rem 1.25rem;
  white-space: nowrap;
}
header ul li a:hover {
  color: #557370;
}

header.scrolled {
  opacity: 0.25;
}
header.scrolled:hover {
  opacity: 1;
}

/* 오프 캔버스 메뉴 초기 상태 */
#offCanvasMenu {
  position: fixed;
  top: 0;
  right: -280px; /* 메뉴 너비만큼 오른쪽으로 숨기기 */
  width: 280px;
  height: 100vh;
  background: var(--Main, #3e5a50);
  z-index: 10500;
  transition: right 0.3s ease-in-out;
}

/* 메뉴가 열렸을 때의 상태 */
#offCanvasMenu.open {
  right: 0;
}

/* 오버레이 초기 상태 */
#offCanvasOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* 오버레이가 활성화된 상태 */
#offCanvasOverlay.open {
  opacity: 1;
  visibility: visible;
}

/* 메뉴 내용 및 버튼 스타일 */
.menu-inner {
  padding: 0;
  /* 원하는 메뉴 스타일 추가 */
}
.menu-inner > ul {
  padding-left: 0;
  margin-top: 100px;
  margin-bottom: 32px;
}
.menu-inner > ul li {
  width: 100%;
  padding: 16px 0;
  border-bottom: 1px solid #fff;
}

.menu-inner > ul li a {
  color: #fff;
  font-family: Pretendard;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 35.2px */
  letter-spacing: -1px;
  margin-left: 46px;
}
.menu-inner > div {
  margin-bottom: 32px;
}
.menu-inner > div ul {
  width: calc(100% - 92px);
  margin: 0 auto;
      display: flex
;
    flex-wrap: wrap;
    gap: 10px;
}
.menu-inner > div ul li {
  width: 88px;
    height: fit-content;
    aspect-ratio: 93 / 81;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    display: flex
;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.menu-inner > div ul li a {
  gap: 5px;
}
.menu-inner > div ul li img {
  width: 32px;
  aspect-ratio: 1/1;
  height: fit-content;
      filter: brightness(5);
          margin: 0 auto;
}
.menu-inner > div ul li p {
  color: #daf5e2;
  text-align: center;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%; /* 19.6px */
  letter-spacing: -0.35px;
}
.menu-inner div button {
  background-color: transparent;
  border: none;

  margin-left: 52px;
}
.menu-inner div button a {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.menu-inner div button a img {
  filter: brightness(5);
}
.menu-inner div button a p {
color: #FFF;
font-family: Pretendard;
font-size: 20px;
font-style: normal;
font-weight: 600;
line-height: 140%; /* 28px */
letter-spacing: -0.5px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: none;
  font-size: 2rem;
  cursor: pointer;

  opacity: 1;
}
@media screen and (min-width: 769px) and (max-width: 1440px) {
  section {
    max-width: 100vw;
  }
  .inner {
    width: 93.75%;
  }
  .d-lg-block {
    display: block;
  }
  .d-lg-none {
    display: none !important;
  }

  header {
    padding: 0 3.75rem;
  }
  header ul li {
    padding: 0.625rem;
  }
}

@media (max-width: 768px) {
  #webHeader {
    display: none;
  }
  #moHeader {
    display: flex;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    padding: 10px 15px;
  }
  #moHeader button {
    background-color: transparent;
    border: none;
  }
  #moHeader button img {
    padding: 10px 5px;
  }

  #moHeader img {
    filter: brightness(5);
  }

  #moHeader.scrolled {
    background-color: rgba(255,255,255,0.5); /* 배경색을 흰색으로 변경 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 그림자 효과 추가 (선택사항) */
    opacity: 1;
        backdrop-filter: blur(3px);
  }
  #moHeader.scrolled img {
    filter: none;
  }
  #moHeader.scrolled button img {
    filter: sepia(100%) saturate(200%) hue-rotate(120deg) brightness(50%)
      contrast(100%);
  }

  header a img {
    width: 138px;
    height: auto;
  }
}
