* { box-sizing: border-box; margin: 0 auto; padding: 0; word-break: keep-all; text-align: center;}
    @font-face {
    font-family: 'SUIT-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
body {font-family: 'SUIT-Regular', sans-serif;}
a {color: #333; font-weight: 400; text-decoration: none;}

#main-header {
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
background: white;
height: 80px; /* ⭐ 반드시 지정 */
}
    header {
      border-bottom: 1px solid #f5f5f5;
      box-shadow: 0 0 6px rgba(190, 190, 190, 0.6);
    }

    .header-wrap {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem;
    }
    /* 아이콘 크기 조절 */
    .menu-icon {
      display: flex;
      gap: 1rem;
      cursor: pointer;
      z-index: 1001;
      font-size: 26px;
    }

    .ri-close-line {
      display: none;
    }

    .menu-open .ri-menu-line { display: none; }
    .menu-open .ri-close-line { display: inline-block; }

    nav {
      position: fixed;
      top: 0;
      right: -100%;
      width: 70%;
      height: 100vh;
      background: #fff;
      border-left: 1px solid #f5f5f5;
      transition: right 0.3s ease;
      z-index: 1000;
      padding: 2rem;
    }

    nav.active {
      right: 0;
    }

    .gnb {
      list-style: none;
    }

    .gnb > li {
      margin-bottom: 1rem;
      cursor: pointer;
    }
    .menu-title {
      /* font-weight: bold; */
      text-decoration: none;
      display: block;
      padding: 0.5rem 0;
    }
    .menu-title:hover {color: 333;}

    .sub {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: #ddd;
    }
    .sub li {list-style: none;}
    .sub li a:hover {color: #369; text-decoration: underline;}
    .sub-inner { padding: 10px 0; border-radius: 10px;}


  /* 데스크탑 스타일 */
  @media (min-width: 800px) {
    /* img */
    .header-wrap {
    display: flex;
    justify-content: center;  /* 수평 가운데 정렬 */
    align-items: center;       /* 수직 가운데 정렬 (선택 사항) */
  }

  .header-wrap img {
    margin: 0 auto;
    width: 60px;
    height: 60px;
  }

      nav {
        position: static !important;
        right: auto !important;
        width: auto;
        height: auto;
        background: none;
        padding: 0;
        display: block !important;
        transition: none;
      }

      .menu-icon {
        display: none !important;
      }

      .gnb {
        display: flex !important;
        gap: 2rem;
        align-items: center;
        justify-content: center;   /* 수평 가운데 정렬 */
        align-items: center;       /* 세로 정렬 (선택 사항) */
        gap: 2rem;                 /* 메뉴 간 간격 */
        list-style: none;
        padding: 0;
        margin: 0 auto;
        position: relative; /*기준점 역할할*/
      }

      .gnb > li {
        position: relative;
      }

      .sub {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 50%; /* gnb > li의 가운데를 기준 */
        transform: translateX(-50%); /* 가운데 정렬 */
        background: #fff;
        box-shadow: 0 2px 8px rgba(194, 194, 194, 0.5);
        max-height: none !important;
        width: 200px;
        min-width: 200px;
        padding: 10px;
        border-radius: 10px;
      }
       .sub li {
    margin-bottom: 0.75rem; /* 또는 12px, 필요에 따라 조절 */
  }

  /* 마지막 li 아래 간격 제거 (선택사항) */
  .sub li:last-child {
    margin-bottom: 0;
  }

      .gnb > li:hover .sub {
        display: block !important;
      }
    }
    @media screen and (min-width: 1400px) {
      .gnb {font-size: 18px;}
    }

    /* header css */
    @media screen and (min-width: 800px) {
      #main-header {height: 170px;}
    }
    @media screen and (min-width: 900px) {
      #main-header {height: 150px;}
    }