@charset "utf-8";

.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:86px;
  z-index:50;
  background:rgba(245,244,238,.94);
  border-bottom:1px solid rgba(0,0,0,.08);
  backdrop-filter:blur(16px);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:100%;
  padding:0 54px;
}

.logo a{
  display:flex;
  flex-direction:column;
  line-height:.92;
  font-size:24px;
  font-weight:950;
  letter-spacing:-.06em;
}

.gnb>ul{
  display:flex;
  align-items:center;
  gap:42px;
}

.gnb>ul>li{
  position:relative;
}

.gnb>ul>li>a{
  display:flex;
  align-items:center;
  height:86px;
  font-size:17px;
  font-weight:850;
}

.depth{
  position:absolute;
  left:50%;
  top:78px;
  transform:translate(-50%,10px);
  width:166px;
  padding:15px;
  border-radius:24px;
  background:#fff;
  box-shadow:0 18px 46px rgba(0,0,0,.13);
  opacity:0;
  visibility:hidden;
  transition:.25s ease;
}

.gnb>ul>li:hover .depth,
.gnb>ul>li:focus-within .depth{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0);
}

.depth a{
  display:block;
  padding:10px 8px;
  border-radius:10px;
  font-size:15px;
}

.depth a:hover{
  background:#f3f3f3;
  font-weight:800;
}

.header-util{
  display:flex;
  align-items:center;
  gap:14px;
}

.search-btn{
  min-width:92px;
  height:44px;
  padding:0 18px;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-size:14px;
  font-weight:900;
}

.hamburger{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  width:46px;
  height:46px;
  padding:0 11px;
  border:2px solid #111;
  border-radius:50%;
}

.hamburger span{
  width:100%;
  height:2px;
  background:#111;
}

.all-menu{
  position:fixed;
  inset:0;
  z-index:80;
  background:rgba(0,0,0,.5);
  opacity:0;
  visibility:hidden;
  transition:.25s ease;
}

.all-menu.is-open{
  opacity:1;
  visibility:visible;
}

.all-menu-panel{
  width:min(520px,100%);
  height:100%;
  margin-left:auto;
  padding:34px;
  background:#f5f4ee;
  transform:translateX(100%);
  transition:.35s ease;
  overflow-y:auto;
}

.all-menu.is-open .all-menu-panel{
  transform:translateX(0);
}

.all-menu-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:30px;
}

.all-menu-head strong{
  font-size:26px;
  font-weight:950;
  letter-spacing:-.05em;
}

.all-menu-close,
.search-close{
  min-width:66px;
  height:40px;
  padding:0 14px;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-weight:850;
}

.mobile-nav>li{
  border-bottom:1px solid rgba(0,0,0,.12);
}

.mobile-nav button{
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
  min-height:62px;
  font-size:22px;
  font-weight:950;
  letter-spacing:-.04em;
}

.mobile-nav button::after{
  content:"+";
  font-size:28px;
}

.mobile-nav li.is-active button::after{
  content:"−";
}

.mobile-nav li>div{
  display:none;
  padding:0 0 20px;
}

.mobile-nav li.is-active>div{
  display:grid;
  gap:12px;
}

.mobile-nav a{
  display:block;
  padding:8px 0;
  color:#333;
}

.search-layer{
  position:fixed;
  inset:0;
  z-index:90;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding:120px 20px;
  background:rgba(0,0,0,.55);
  opacity:0;
  visibility:hidden;
  transition:.25s ease;
}

.search-layer.is-open{
  opacity:1;
  visibility:visible;
}

.search-box{
  width:min(720px,100%);
  padding:36px;
  border-radius:32px;
  background:#fff;
  box-shadow:0 24px 70px rgba(0,0,0,.22);
}

.search-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:24px;
}

.search-top strong{
  font-size:30px;
  font-weight:950;
}

.search-form{
  display:flex;
  gap:10px;
}

.search-form input{
  flex:1;
  min-width:0;
  height:58px;
  padding:0 20px;
  border:2px solid #111;
  border-radius:18px;
  outline:none;
}

.search-form button{
  width:96px;
  height:58px;
  border-radius:18px;
  background:#111;
  color:#fff;
  font-weight:900;
}

.keyword-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}

.keyword-list a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  background:#f1f1f1;
  font-weight:750;
}

.footer{
  padding:76px 54px;
  background:#171717;
  color:#fff;
}

.footer-inner{
  max-width:1480px;
  margin:0 auto;
}

.footer-brand{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:38px;
}

.footer-brand strong{
  font-size:44px;
  font-weight:950;
  letter-spacing:-.06em;
}

.footer-brand p{
  color:rgba(255,255,255,.7);
}

.footer-menu{
  display:flex;
  flex-wrap:wrap;
  gap:16px 34px;
  padding:26px 0;
  border-top:1px solid rgba(255,255,255,.15);
  border-bottom:1px solid rgba(255,255,255,.15);
  margin-bottom:24px;
}

.footer-menu a{
  font-weight:800;
}

.footer-info{
  color:rgba(255,255,255,.58);
}

.footer-info small{
  display:block;
  margin-top:12px;
  color:rgba(255,255,255,.38);
}

@media (max-width:1439px){
  .header-inner{padding:0 38px;}
  .gnb>ul{gap:30px;}
  .gnb>ul>li>a{font-size:16px;}
}

@media (max-width:1279px){
  .header{height:74px;}
  .header-inner{padding:0 28px;}
  .gnb{display:none;}
  .logo a{font-size:22px;}
}

@media (max-width:767px){
  .header{height:66px;}
  .header-inner{padding:0 18px;}
  .logo a{font-size:18px;}
  .search-btn{min-width:74px;height:40px;padding:0 12px;font-size:12px;}
  .hamburger{width:40px;height:40px;padding:0 9px;}
  .all-menu-panel{padding:24px 18px;}
  .search-layer{padding:88px 14px 20px;}
  .search-box{padding:24px 18px;border-radius:24px;}
  .search-form{flex-direction:column;}
  .search-form button{width:100%;}
  .footer{padding:54px 20px;}
  .footer-brand{display:block;}
  .footer-brand strong{font-size:34px;}
  .footer-brand p{margin-top:10px;}
}

@media (max-width:320px){
  .header-inner{padding:0 14px;}
  .logo a{font-size:16px;}
  .search-btn{min-width:66px;padding:0 9px;}
}
