header { z-index: 999; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); background: #fff; width: 100%; position: sticky; top: 0; left: 0; } 
header, .header-top { width: 100%; border-bottom: 1px solid #ddd; } 
.header-top-inner { width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; padding: 0.5rem 0; } 

.header-notice { color: #878787; font-size: 15px; } 

.login.small { display: flex; align-items: center; } 
.login.small a { display: block; margin-right: 8px; font-size: 0.7rem; } 
.login.small a::after { content: '·'; margin-left: 8px; color: #878787; } 
.login.small a:last-child::after { content: none; } 

.header-inner { width: 1280px; margin: 0 auto; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; position: relative; overflow: visible; } 

.logo { width: 20%; } 
.logo a { display: block; } 
.logo a img { width: 100%; } 

.navi { width: 75%; text-align: center; position: relative; } 

.menu { display: flex; justify-content: space-between; align-items: center; } 

.menu > li { position: relative; width: calc(100%/4); box-sizing: border-box; overflow: visible; } 
.menu li a { display: block; } 
.menu li > .main-nevmenu { display: block; width: 100%; transition: color 0.3s; font-size: .9rem; overflow-wrap: anywhere; word-break: keep-all; font-family: 'Paperlogy-6SemiBold'; padding: 0.6rem 0; box-sizing: border-box; height: 50px; } 
.navi li:hover > .main-nevmenu { border-bottom: 3px solid #3293C9; } 

.sub {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 110;
  padding-top: 1rem;
  text-align: left;
  display: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease;
}
.sub.is-open {
  opacity: 1;
  transform: translateY(0);
  border-left: 1px solid #eee;
  padding-left: 1rem;
  box-sizing: border-box;
}

.sub.is-open:last-child{border-right: 1px solid #eee;}

.subsub { margin-bottom: 20px; } 
.subsub a { font-size: 0.8rem; font-family: 'Paperlogy-5Medium'; } 
.subsub li a { font-size: 0.7rem; margin-left: 8px; font-family: 'Paperlogy-3Light'; } 
.subsub-menu li:hover a { text-decoration: underline; } 

.bg {
  top: 94px;
  position: absolute;
  left: 0;
  right: 0;
  background-color: #fff;
  display: none; 
  height: 0; 
  opacity: 0; 
  z-index: 100;
  pointer-events: none; 
  box-shadow: 0 13px 10px rgb(0 0 0 / 3%);
  border-bottom: 2px solid #3293C9;
  border-top: 1px solid #ddd;
  transition: height .22s ease, opacity .16s ease;
}

.bg-inner { width: 1200px; margin: 0 auto; box-sizing: border-box;} 

.header-inner,.navi,.menu > li { overflow: visible; } 

/* 모바일용 헤더 */
.hamburger-title { height: 50px; align-items: center; justify-content: space-between; box-sizing: border-box; padding: 0.5rem; display: none; width: 100%; position: fixed; top: 0; left: 0; z-index: 1050; } 
.mobile-header { width: 100%; transition: background-color 0.3s ease;} 

/* 기본 배경 - 투명 */
.mobile-header.transparent,.hamburger-title.transparent { background-color: transparent; } 

/* 스크롤 또는 사이드메뉴 열림 - 흰 배경 */
.mobile-header.white-bg,
.hamburger-title.white-bg { background-color: #fff; transition: background-color 0.3s ease; } 

.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 24px; height: 18px; cursor: pointer; z-index: 1010; position: absolute; top: 1rem; right: 1rem; } 
.hamburger span { height: 3px; background: #2C3661; border-radius: 3px; transition: all 0.3s ease; } 
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } 
.hamburger.active span:nth-child(2) { opacity: 0; } 
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); } 

 /* 사이드바 */
.sidebar { position: fixed; top: 0; right: -100%; width: 100%; max-height: 100vh; background: #fff; transition: right 0.3s ease; z-index: 1005; overflow-y: auto; } 
.sidebar-inner { height: 100%; overflow-y: auto; padding-bottom: 2rem; margin-top: 2rem; } 
.sidebar.active { right: 0; } 

/* 오버레이 배경 */
.sidebar-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 1004; display: none; } 
.sidebar.active + .sidebar-overlay,
.sidebar-overlay.active { display: block; } 

.mobile-header-top { display: none; } 
.mobile-logo { height: 36px; } 
.mobile-login { display: flex; gap: 1rem; padding: 0.8rem; border-bottom: 1px solid #ddd; margin-top: 0.5rem; } 
.mobile-login a { font-size: 0.7rem; } 
.mobile-top-icons { display: flex; justify-content: space-around; margin-bottom: 1rem; box-sizing: border-box; padding: 0.8rem; background-color: #f5f5f5; height: auto; } 
.mobile-top-icons01 { font-size: 0.7rem; text-align: center; display: flex; align-items: center; justify-content: center; flex-direction: column; } 
.mobile-top-icons01-inn { background-color: #fff; box-sizing: border-box; border-radius: 15px; box-shadow: 0 0px 10px rgba(0, 0, 0, 0.08); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.3rem; } 
.mobile-top-icons> a { display: block; box-sizing: border-box; padding: 0.2rem; overflow: hidden; padding: 0.5rem; } 
.mobile-top-icons img { width: 60%; } 
.mobile-top-icons01:hover a { text-decoration: underline; } 

.mobile-menu { margin-top: 1rem; box-sizing: border-box; padding: 0 0.8rem; } 
.mobile-menu-item { margin-bottom: 1rem; } 
.menu-title { font-size: 1rem; color: #2C3661; cursor: pointer; display: flex; justify-content: space-between; font-family: 'Paperlogy-6SemiBold'; } 
.sub-menu { display: none; margin-top: 0.5rem; padding-left: 1rem; } 
.sub-menu li a { font-size: 0.8rem; display: block; color: #333; } 
.sub-menu li.sub-menu-sub { font-family: 'Paperlogy-5Medium'; font-size: 0.9rem; margin-bottom: 8px; } 

.sub-menu-sub-in { background-color: #f8f8f8; box-sizing: border-box; padding: 0.3rem 0.5rem; border-radius: 10px; margin-bottom: 8px; } 
.sub-menu-sub-in a { margin-bottom: 5px; } 
.sub-menu-sub-in a:last-child { margin-bottom: 0; } 

body.no-scroll { overflow: hidden; height: 100vh; } 

/* 초기 상태 */
.mobile-header.transparent { background-color: transparent; } 
 .mobile-header.white-bg { background-color: #fff; } 
 #pcLogo {
    height: auto;
    max-height: 36px;
  }
  
  #mobileLogo {
    height: 36px;
    max-width: 160px;
    transition: 0.3s ease;
    object-fit: contain;
  }
  .transparent {
    background-color: transparent;
  }
  
  .white-bg {
    background-color: #fff;
  }

/* 반응형 */
/* 태블릿 가로모드 */
@media only screen and (min-width: 1023px) and (max-width: 1400px) { header { display: none; } 
 .mobile-header,.hamburger-title { display: block; overflow: hidden; } 
 .hamburger { display: flex; } 
 }

/*태블릿 세로모드*/
@media only screen and (min-width: 767px) and (max-width: 1023px) { header { display: none; } 
 .mobile-header,.hamburger-title { display: block; overflow: hidden; } 
 .hamburger { display: flex; } 
 }

/* 모바일 */
@media only screen and (max-width: 767px) and (min-width: 300px) { header { display: none; } 
 .mobile-header,.hamburger-title { display: block; width: 100%; overflow: hidden; } 
 .hamburger { display: flex; } 

 .mobile-top-icons01-inn { width: 50px; height: 50px; } 
 .mobile-top-icons img { width: 50%; } 
 .mobile-top-icons01 { font-size: 0.6rem; } 
 .mobile-logo { height: 25px; } 
 .hamburger { top: 0.7rem; } 

  /* 메인 */
  .mobile-top { position: relative; background: linear-gradient(to bottom, #6CA5FF, #C0D9F9); padding: 5rem 1rem 3rem; box-sizing: border-box; width: 100%; overflow: hidden; min-height: 200px; z-index: 0; } 
  .mobile-tops { display: flex; align-items: end; justify-content: space-between; } 
 
  .mobile-top-content { width: 50%; } 
  .mobile-top-bg-icon { width: 50%; } 
  .mobile-top-bg-icon img { width: 100%; } 
 
  .mobile-top-text { font-size: 0.9rem; font-family: 'Paperlogy-3Light'; overflow-wrap: anywhere; word-break: keep-all; color: #2C3661; } 
  .mobile-top-text span b { font-family: 'Paperlogy-5Medium'; } 

  .mobile-header.transparent { background-color: transparent; } 
 .mobile-header.white-bg { background-color: #fff; margin-bottom: 3rem;} 
 }