html, body {
  font-family: 'Noto Sans JP', sans-serif;
}

.header {
  width: 100%;
  height: 66px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: black;
  color: white;
  position: fixed;
  top: 0;
  z-index: 999;
}

.logo-area {
  display: flex;
  align-items: center;
  margin-left: 4%;
}

.companyLogo {
  width: 46px;
  height: 34px;
  margin-right: 10px;
}

.companyName {
  width: 123px;
  height: 28px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 1rem;
  margin-right: 4%;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  margin: 0;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* スマホサイズ時のスタイル */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    margin-right: 4%;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    padding: 0;
    margin: 0;
    display: none; /* これで完全に非表示に */
  }

  .nav-links.active {
    display: flex;
    transform: translateY(0);
  }

  /* ハンバーガー変形 */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(11px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -4px);
  }
}
