/* ============================================================
   Layout
   ------------------------------------------------------------
   全ページ共通のチラム要素（header.php / footer.php に対応）。
   ============================================================ */

/* ---- Header / Navigation ---- */
.site-header {
  position: relative;
  z-index: 100;
  padding: 10px 160px;
  background: transparent;
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo-crop {
  position: relative;
  width: 179px;
  height: 47px;
  overflow: hidden;
  display: block;
}

.logo-crop img {
  position: absolute;
  left: 0;
  top: -66.31%;
  width: 100%;
  height: 253.9%;
  max-width: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 60px;
  flex: 1;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list a {
  color: var(--color-white);
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 19, 56, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 90;
}

.nav-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--color-navy);
  border-top: 1px solid #0f172a;
  padding: 24px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.footer-logo-crop {
  position: relative;
  width: 179px;
  height: 47px;
  overflow: hidden;
}

.footer-logo-crop img {
  position: absolute;
  left: 0;
  top: -66.31%;
  width: 100%;
  height: 253.9%;
  max-width: none;
}

.footer-copy {
  color: var(--color-white);
  font-size: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--color-white);
  font-size: 0.75rem;
}
