@charset "utf-8";

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  color: #fff;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled,
.site-header.is-active,
.site-header.searching {
  background: rgba(255,255,255,.97);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 176rem;
  margin: 0 auto;
  height: 9.6rem;
  padding: 0 5.6rem;
}
.logo a { display: flex; align-items: center; gap: 1.2rem; }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  background: var(--point);
  color: #fff;
  font-weight: 900;
  font-size: 2rem;
}
.logo-text { font-weight: 900; font-size: 2.1rem; letter-spacing: -.05em; }
.gnb-list { display: flex; align-items: stretch; gap: 5rem; }
.gnb-item { position: relative; }
.gnb-link {
  display: flex;
  align-items: center;
  height: 9.6rem;
  font-size: 1.8rem;
  font-weight: 800;
}
.sub-menu {
  position: absolute;
  top: 8.4rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  width: 18rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background: #fff;
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: var(--shadow);
  transition: .2s ease;
}
.gnb-item:hover .sub-menu,
.gnb-item:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.sub-menu a {
  display: block;
  padding: .9rem 1rem;
  border-radius: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.sub-menu a:hover,
.sub-menu a:focus { background: var(--soft); color: var(--point); }
.header-util { display: flex; align-items: center; gap: 1.8rem; }
.lang { display: flex; align-items: center; gap: 1rem; font-size: 1.3rem; font-weight: 800; }
.lang a { opacity: .55; }
.lang .active { opacity: 1; }
.search-btn,
.menu-btn {
  width: 4.8rem;
  height: 4.8rem;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  position: relative;
}
.is-scrolled .search-btn,
.is-scrolled .menu-btn,
.searching .search-btn,
.searching .menu-btn,
.is-active .search-btn,
.is-active .menu-btn { border-color: #ddd; }
.search-btn::before {
  content: "";
  position: absolute;
  width: 1.7rem;
  height: 1.7rem;
  border: .22rem solid currentColor;
  border-radius: 50%;
  left: 1.35rem;
  top: 1.25rem;
}
.search-btn::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: .22rem;
  background: currentColor;
  transform: rotate(45deg);
  left: 2.75rem;
  top: 2.9rem;
}
.menu-btn { display: none; flex-direction: column; justify-content: center; align-items: center; gap: .5rem; }
.menu-btn span { width: 2.1rem; height: .2rem; background: currentColor; transition: .2s; }
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: rgba(8,32,74,.86);
}
.search-panel.is-open { display: flex; }
.search-inner {
  width: min(72rem, 100%);
  padding: 4.2rem;
  border-radius: 3rem;
  background: #fff;
  color: var(--ink);
}
.search-inner label { display: block; margin-bottom: 1.4rem; font-weight: 800; font-size: 2.4rem; }
.search-inner input { width: 100%; height: 6rem; padding: 0 2rem; border: 1px solid #ddd; border-radius: 1.4rem; }
.search-close { margin-top: 1.8rem; min-height: 4.4rem; padding: 0 2rem; border-radius: 999px; background: var(--point); color: #fff; font-weight: 800; }
.mobile-panel { display: none; }
.site-footer { padding: 5.6rem 7.2rem; background: #111827; color: #d7dce8; }
.footer-inner { max-width: 160rem; margin: 0 auto; display: flex; gap: 5rem; align-items: flex-start; }
.footer-logo { display: flex; gap: 1.2rem; align-items: center; min-width: 26rem; color: #fff; }
.footer-logo strong { font-size: 2rem; }
.footer-info p { margin-bottom: .6rem; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; margin: 2rem 0; color: #fff; font-weight: 700; }
.copy { color: #939aaa; font-size: 1.3rem; }

@media (max-width: 1439px) {
  .header-inner { height: 8.8rem; padding: 0 4rem; }
  .gnb-list { gap: 3.4rem; }
  .gnb-link { height: 8.8rem; font-size: 1.7rem; }
  .sub-menu { top: 7.8rem; }
}
@media (max-width: 1279px) {
  .gnb { display: none; }
  .menu-btn { display: flex; }
  .header-inner { height: 7.8rem; padding: 0 3rem; }
  .logo-text { font-size: 1.9rem; }
  .mobile-panel {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1200;
    display: block;
    width: min(42rem, 88vw);
    padding: 2.6rem;
    background: #fff;
    color: var(--ink);
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
  }
  .mobile-panel.is-open { transform: translateX(0); box-shadow: -20px 0 50px rgba(0,0,0,.18); }
  .mobile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.4rem; }
  .mobile-head strong { font-size: 2.2rem; }
  .mobile-close { min-height: 4.4rem; padding: 0 1.6rem; border-radius: 999px; background: var(--soft); font-weight: 800; }
  .mobile-depth {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 5.8rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.9rem;
    font-weight: 900;
  }
  .mobile-depth::after { content: "+"; color: var(--point); font-size: 2.4rem; }
  .mobile-depth.is-open::after { content: "−"; }
  .mobile-sub { display: none; padding: 1rem 0 1.6rem; background: var(--soft); border-radius: 1.4rem; margin: 1rem 0; }
  .mobile-sub.is-open { display: block; }
  .mobile-sub a { display: block; padding: 1.1rem 1.6rem; font-weight: 700; }
}
@media (max-width: 767px) {
  .header-inner { height: 7rem; padding: 0 1.8rem; }
  .logo-mark { width: 4rem; height: 4rem; font-size: 1.7rem; }
  .logo-text { font-size: 1.65rem; }
  .lang { display: none; }
  .search-btn, .menu-btn { width: 4.2rem; height: 4.2rem; }
  .search-inner { padding: 2.6rem; }
  .site-footer { padding: 4.6rem 2rem; }
  .footer-inner { flex-direction: column; gap: 2.8rem; }
  .footer-logo { min-width: auto; }
  .footer-links { gap: 1.2rem 1.8rem; }
}
@media (max-width: 320px) {
  .header-inner { padding: 0 1.4rem; }
  .logo-text { font-size: 1.52rem; }
  .header-util { gap: .8rem; }
}
