:root {
  --header-height: 64px;
  --accent-blue: #38bdf8;
}

body {
  padding-top: var(--header-height);
}

/* =========================
   z-index
========================= */
.site-header {
  z-index: 1003;
}

.menu-backdrop {
  z-index: 1001;
}

.mobile-menu {
  z-index: 1004;
}




/* =========================
   HEADER
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #fff;
}

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

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

.header-right {
  margin-left: auto;
  gap: 32px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  display: block;
  height: 30px;
}




/* =========================
   PC NAV
========================= */

.nav-links {
  display: none;
}

.nav-links a {
  color: #2c3e50;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-blue);
}

.header-sns {
  display: none;
  align-items: center;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.header-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.header-sns img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  filter: brightness(0) invert(0.25);
  transition: opacity 0.2s ease;
}

.header-sns a:hover img {
  opacity: 1;
}

/* =========================
   MENU BUTTON
========================= */

.menu-toggle {
  position: relative;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 16px;
}

.menu-toggle span:nth-child(2) {
  top: 23px;
}

.menu-toggle span:nth-child(3) {
  top: 30px;
}

/* =========================
   MOBILE MENU
========================= */

.menu-backdrop {
  position: fixed;
	inset:0;
  /* background: rgba(0, 0, 0, 0.7); */
  background: rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(4px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu {
  position: fixed;
  top: calc(var(--header-height) + 8px);
  left: 8px;
  right: 8px;

  max-height: calc(100dvh - var(--header-height) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;

  border-radius: 12px;
  padding: 12px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
  
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	background: rgba(38, 72, 126, 0.9);
	/* background: rgba(40, 80, 120, 0.9); */
}

/* .site-header.menu-open .menu-backdrop { */
body.menu-open .menu-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-header.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
	padding: 14px 0;
  color: #fff;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-menu-footer {
  margin-top: 12px;
  padding-top: 12px;
  /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
}

.mobile-sns {
  display: flex;
  gap: 18px;
}

.mobile-sns img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}



/* =========================
   Tablet
========================= */
/* @media (min-width: 768px) { } */



/* =========================
   PC
========================= */
@media (min-width: 1024px) {
  :root {
    --header-height: 72px;
  }

  body {
    padding-top: 0;
  }

  .site-header {
    position: static;
    height: 72px;
  }

  .logo img {
    height: 35px;
  }

  .nav-links {
    display: flex;
    gap: 30px;
  }

  .header-sns {
    display: flex;
  }

  .menu-toggle,
  .menu-backdrop,
  .mobile-menu {
    display: none;
  }
}