@charset "utf-8";

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* background: rgba(10, 22, 40, 0.95); */
  background: var(--color-black);
  /* backdrop-filter: blur(10px); */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  /* スマホでのスクロール最適化 */
  will-change: transform;
  touch-action: pan-y;
}

header.visible {
  transform: translateY(0);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo svg {
  fill: var(--color-yellow);
  width: 240px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a.btn{
  color: var(--color-black);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
/* Responsive */
@media (max-width: 968px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }
}
@media (max-width: 640px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }
}

.logo_img {
    /*width: 240px;	   本番用ロゴではこちら */
    width: 330px;	/* ベータ版用ロゴはこちら */
    content: url("../images/title-omf.png");
}

/* スマホ（幅 600px 以下）の場合 */
@media (width <= 768px) {
    .logo_img {
        width: 220px;
        content: url("../images/title-omf_mini.png");
    }
}
