.site-wrap { min-width: 320px; }

.topbar {
  background: #071124;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar-inner,
.mainbar-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-inner {
  min-height: 44px;
  gap: 20px;
}
.topbar-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.875rem;
}
.club-strip {
  background: var(--color-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.club-strip-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.club-strip-inner::-webkit-scrollbar { display: none; }
.club-chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}
.mainbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(13, 22, 48, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mainbar-inner {
  min-height: 86px;
  gap: 24px;
}
.logo a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-2));
  font-size: 1.4rem;
  font-weight: 800;
}
.logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.gnb { flex: 1; }
.gnb-depth1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.gnb-depth1 > li { position: relative; }
.gnb-depth1 > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 86px;
  padding: 0 18px;
  color: #fff;
  font-weight: 700;
}
.submenu-panel {
  position: absolute;
  left: 50%;
  top: calc(100% - 8px);
  transform: translateX(-50%);
  min-width: 180px;
  padding-top: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}
.has-submenu.is-open .submenu-panel,
.has-submenu:hover .submenu-panel,
.has-submenu:focus-within .submenu-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.gnb-depth2 {
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.gnb-depth2 a {
  display: block;
  padding: 9px 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.icon-search,
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
}
.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.icon-search {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: none;
}
.icon-search::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: right center;
}
.header-search {
  background: #0a152e;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
}
.search-form input {
  flex: 1;
  height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.search-form input::placeholder { color: rgba(255,255,255,0.55); }
.search-form button {
  flex: 0 0 auto;
  min-width: 100px;
  height: 54px;
  border: 0;
  border-radius: 14px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
}
.mobile-menu,
.menu-backdrop { display: none; }

.site-footer {
  color: #d7dceb;
  background: #0a132a;
}
.footer-inner {
  padding: 44px 0;
  align-items: flex-start;
  gap: 32px;
}
.footer-brand { flex: 0 1 340px; }
.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}
.footer-brand p + p { margin-top: 6px; }
.footer-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-nav-group,
.family-links,
.sns-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}
.family-site span {
  display: inline-block;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 700;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  font-size: 0.9rem;
}

@media (max-width: 1279px) {
  .gnb-depth1 > li > a { padding: 0 12px; font-size: 0.95rem; }
  .mainbar-inner { min-height: 78px; }
}

@media (max-width: 1024px) {
  .gnb { display: none; }
  .mainbar-inner { min-height: 74px; }
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 120;
    width: min(88vw, 380px);
    height: 100dvh;
    background: #fff;
    color: var(--color-text);
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -18px 0 40px rgba(0,0,0,0.18);
  }
  .mobile-menu.is-open { transform: translateX(0); }
  .menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(0,0,0,0.55);
  }
  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 18px;
    border-bottom: 1px solid var(--color-line);
  }
  .mobile-menu-head strong { font-size: 1rem; }
  .mobile-menu-close {
    width: 42px;
    height: 42px;
    border: 0;
    background: #eff3f9;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
  }
  .mobile-menu-body {
    height: calc(100dvh - 84px);
    overflow-y: auto;
    padding: 10px 18px 30px;
  }
  .mobile-depth1 > li { border-bottom: 1px solid #edf1f6; }
  .mobile-accordion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 800;
    text-align: left;
  }
  .mobile-accordion::after {
    content: '+';
    font-size: 1.35rem;
    color: var(--color-primary);
  }
  .mobile-depth1 > li.is-open .mobile-accordion::after { content: '−'; }
  .mobile-depth2 {
    display: none;
    padding: 0 0 14px;
  }
  .mobile-depth2 a {
    display: block;
    padding: 10px 0;
    color: var(--color-muted);
    min-height: 44px;
  }
}

@media (max-width: 767px) {
  .topbar { display: none; }
  .club-strip-inner { padding: 10px 0; }
  .mainbar-inner { gap: 14px; }
  .logo-text { font-size: 0.92rem; }
  .logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1.2rem;
  }
  .header-actions { gap: 6px; }
  .icon-btn {
    width: 44px;
    height: 44px;
  }
  .search-form {
    flex-direction: column;
    align-items: stretch;
  }
  .search-form button { width: 100%; min-width: 0; }
  .footer-inner {
    flex-direction: column;
    padding: 36px 0;
  }
}

@media (max-width: 320px) {
  .club-chip { padding: 7px 12px; font-size: 0.82rem; }
  .logo-text { font-size: 0.86rem; }
}
