@charset "UTF-8";
@font-face {
  font-family: 'Pretendard Variable';
  src: url('fonts/PretendardVariable.woff2') format('woff2');
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}
.site-header,
.mobile-menu-panel {
  font-family: 'Pretendard Variable', 'Malgun Gothic', Arial, sans-serif;
}
/* 1920px: centered 1296px header, 312px side margins, 80px height. */
.site-header {
  height: 80px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .header-inner {
  width: min(1296px, calc(100% - 48px));
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 56px;
  min-width: 0;
}
.site-header .brand {
  font-size: 30px;
  flex-shrink: 0;
}
.site-header .brand img {
  width: 180px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}
.site-header .desktop-nav {
  display: flex;
  align-items: center;
  gap: 58px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.site-header .header-actions {
  flex: 0 0 auto;
  gap: 20px;
  justify-content: flex-end;
}
.site-header .language-switch {
  flex-shrink: 0;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 24px;
  font-size: 12px;
  line-height: 1.5;
  background: #f3f3f3;
}
.language-switch span {
  color: #d2d2d2;
  font-size: 10px;
}
.site-header .menu-toggle {
  margin: 0;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 32px;
  height: 44px;
  flex-shrink: 0;
}
.site-header .menu-toggle span {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: #252525;
}
.mobile-menu-overlay[hidden] {
  display: none !important;
}
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  isolation: isolate;
}
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(480px, 100%);
  height: 100%;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  padding: 30px 42px 28px;
  box-shadow: -16px 0 40px #0002;
  opacity: 0;
  transform: translateX(100%);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}
.mobile-menu-overlay.is-open .mobile-menu-backdrop {
  opacity: 1;
}
.mobile-menu-overlay.is-open .mobile-menu-panel {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-shrink: 0;
}
.mobile-menu-logo img {
  width: 153px;
  max-height: 38px;
  height: auto;
}
.mobile-menu-close {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f5f5f5;
  flex-shrink: 0;
  transition: background 0.2s;
}
.mobile-menu-close:hover {
  background: #ffe9e9;
}
.mobile-menu-close span {
  position: absolute;
  left: 10px;
  top: 19px;
  width: 20px;
  height: 2px;
  background: #222;
  border-radius: 2px;
  transform: rotate(45deg);
}
.mobile-menu-close span:last-child {
  transform: rotate(-45deg);
}
.mobile-menu-title {
  padding: 44px 0 24px;
}
.mobile-menu-title > span {
  display: block;
  color: var(--red);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 7px;
}
.mobile-menu-title strong {
  display: block;
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: -1px;
}
.mobile-menu-title p {
  margin: 8px 0 0;
  font-size: 13px;
  color: #999;
}
.mobile-menu-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu-links li {
  border-top: 1px solid #eee;
  padding: 18px 0;
}
.mobile-menu-links li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  transition: color 0.2s;
}
.mobile-menu-links li > a:hover,
.menu-sublinks a:hover {
  color: var(--red);
}
.menu-arrow {
  font-size: 23px;
  color: var(--red);
  font-weight: 400;
  transition: transform 0.2s;
}
.mobile-menu-links li > a:hover .menu-arrow {
  transform: translate(3px, -3px);
}
.menu-sublinks {
  display: flex;
  gap: 8px 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.menu-sublinks a {
  font-size: 12px;
  color: #888;
  line-height: 1.8;
}
.mobile-menu-bottom {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid #eee;
}
.mobile-admin-shortcut {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff0f0;
  color: var(--red);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}
.mobile-menu-language {
  width: fit-content;
  padding: 0;
  background: none;
  gap: 12px;
  font-size: 13px;
}
.mobile-menu-bottom > p {
  margin: 18px 0 0;
  color: #bbb;
  font-size: 10px;
}
body.menu-open {
  overflow: hidden;
}
@media (max-width: 1200px) {
  .header-left {
    gap: 32px;
  }
  .site-header .desktop-nav {
    gap: 32px;
    font-size: 14px;
  }
  .site-header .brand img {
    width: 160px;
  }
  .site-header .header-actions {
    gap: 14px;
  }
  .site-header .admin-shortcut {
    font-size: 11px;
    padding: 5px 8px;
  }
}
@media (max-width: 1000px) {
  .site-header .desktop-nav {
    display: none;
  }
  .header-left {
    gap: 28px;
  }
  .site-header .header-inner {
    gap: 16px;
  }
  .site-header .brand img {
    width: 160px;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 72px;
  }
  .site-header .header-inner {
    width: calc(100% - 36px);
  }
  .site-header .brand img {
    width: 144px;
  }
  .site-header .brand {
    font-size: 25px;
  }
  .header-left {
    gap: 22px;
  }
  .site-header .language-switch {
    padding: 4px 9px;
    font-size: 11px;
    margin: 0;
  }
  .site-header .menu-toggle {
    width: 27px;
    gap: 6px;
  }
  .site-header .menu-toggle span {
    width: 27px;
    height: 2px;
  }
  .mobile-menu-panel {
    padding: 25px 28px max(28px, env(safe-area-inset-bottom));
  }
  .mobile-menu-title {
    padding-top: 35px;
  }
  .mobile-menu-title strong {
    font-size: 29px;
  }
}
@media (max-width: 360px) {
  .header-left {
    gap: 14px;
  }
  .site-header .brand img {
    width: 125px;
  }
  .mobile-menu-panel {
    padding-left: 22px;
    padding-right: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-panel,
  .mobile-menu-backdrop {
    transition: none;
  }
}
@media print {
  .mobile-menu-overlay {
    display: none !important;
  }
}
