@charset "utf-8";
/* CSS Document */

:root{
  --header-container: 1320px;
  --header-line-bg: #f0f0f0;
  --header-bg: rgba(255,255,255,.96);
  --header-text: #111111;
  --header-muted: #666666;
  --header-border: #e5e7eb;
  --header-accent: #1f6fff;
  --header-shadow: 0 12px 32px rgba(17,24,39,.08);

  --topline-height: 36px;
  --topnav-height: 82px;
}

*{
  box-sizing: border-box;
}

/* ===== top line ===== */
.topLine{
  height:34px;
  background:#f3f4f6;
  border-bottom:1px solid #e5e7eb;
}

.topLine__inner{
  max-width:1320px;
  margin:0 auto;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  font-size:13px;
}

.topLine__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 10px;

  background:#b2b2b2;
  color:#fff;

  border-radius:6px;
  font-size:12px;
  font-weight:600;

  text-decoration:none;
  transition:.2s;
}

.topLine__btn:hover{
  background:#0f56d8;
}

/* ===== main nav ===== */
.topNav{
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: var(--topnav-height);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
}

.topNav.is-scrolled{
  box-shadow: var(--header-shadow);
}

.topNav__wrap{
  width: min(var(--header-container), calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand{
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand__logoLink{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__img{
  display: block;
  height: 34px;
  width: auto;
  object-fit: contain;
}

/* ===== desktop menu ===== */
.topNav__nav{
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.topNav__menu{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.topNav__menu li{
  margin: 0;
  padding: 0;
}

.topNav__menu a{
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  color: var(--header-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s ease;
}

.topNav__menu a:hover{
  color: var(--header-accent);
}

.topNav__menu a.is-active{
  color: var(--header-accent);
  font-weight: 700;
}

.topNav__menu a.is-active::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--header-accent);
  border-radius: 999px;
}

/* ===== hamburger ===== */
.navHamb{
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}

.navHamb .bar,
.navHamb .bar::before,
.navHamb .bar::after{
  display: block;
  width: 24px;
  height: 2px;
  background: var(--header-text);
  border-radius: 999px;
  margin: 0 auto;
  transition: .25s ease;
  content: "";
}

.navHamb .bar{
  position: relative;
}

.navHamb .bar::before{
  position: absolute;
  left: 0;
  top: -7px;
}

.navHamb .bar::after{
  position: absolute;
  left: 0;
  top: 7px;
}

/* ===== drawer ===== */
.drawer{
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
}

.drawer.is-open{
  visibility: visible;
  pointer-events: auto;
}

.drawer__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.42);
  opacity: 0;
  transition: opacity .25s ease;
}

.drawer.is-open .drawer__backdrop{
  opacity: 1;
}

.drawer__panel{
  position: absolute;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform .28s ease;
  box-shadow: -10px 0 40px rgba(17,24,39,.14);
  display: flex;
  flex-direction: column;
}

.drawer.is-open .drawer__panel{
  transform: translateX(0);
}

.drawer__top{
  height: 76px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--header-border);
}

.drawer__title{
  font-size: 18px;
  font-weight: 800;
  color: var(--header-text);
}

.drawer__close{
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--header-text);
}

.drawer__menu{
  list-style: none;
  margin: 0;
  padding: 12px 18px 24px;
  overflow-y: auto;
}

.drawer__menu li{
  border-bottom: 1px solid #f0f0f0;
}

.drawer__menu a{
  display: flex;
  align-items: center;
  min-height: 56px;
  color: var(--header-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color .2s ease;
}

.drawer__menu a:hover,
.drawer__menu a.is-active{
  color: var(--header-accent);
  font-weight: 700;
}

/* ===== responsive ===== */
@media (max-width: 1024px){
  .topLine__inner,
  .topNav__wrap{
    width: calc(100% - 36px);
  }

  .topNav__menu{
    gap: 20px;
  }

  .topNav__menu a{
    font-size: 15px;
  }
}

@media (max-width: 860px){
  .topNav__nav{
    display: none;
  }

  .navHamb{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topNav{
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 640px){
  :root{
    --topline-height: 44px;
    --topnav-height: 72px;
  }

  .topLine__inner,
  .topNav__wrap{
    width: calc(100% - 24px);
  }

  .topLine__link{
    font-size: 14px;
  }

  .brand__img{
    height: 28px;
  }

  .drawer__top{
    height: 68px;
  }
}


#topNav{
	position: relative;
	z-index: 1000;
	transition: background-color .25s ease, backdrop-filter .25s ease, box-shadow .25s ease;
}

#topNav.is-fixed{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: rgba(255,255,255,0.7); /* 30% 투명 */
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 6px 20px rgba(0,0,0,.08);
}