/* ===== HEADER ===== */
.c-pageTitle {
  display: none;
}

html {
  font-size: 18px;
}

/* ===== NAV ===== */
.plugbot-header {
  --plugbot-navy: var(--navy, #0f2240);
  --plugbot-navy-2: var(--navy-2, #1b3a6f);
  --plugbot-blue: var(--blue, #2a6dd9);
  --plugbot-gray-700: var(--gray-700, #374151);
  --plugbot-gray-300: var(--gray-300, #d1d5db);
  --plugbot-line: var(--line, #dde3ea);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2500;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--plugbot-line);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.admin-bar .plugbot-header {
  top: 32px;
}

.plugbot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--plugbot-navy);
  letter-spacing: 0;
  text-decoration: none;
}

.plugbot-brand-mark {
  width: 30px;
  height: 30px;
  /*   border-radius: 2px;
  background:linear-gradient(135deg,var(--plugbot-navy-2),var(--plugbot-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem; */
}

.plugbot-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.plugbot-nav-links a {
  color: var(--plugbot-gray-700);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.plugbot-nav-links a:hover {
  color: var(--plugbot-navy);
}

.plugbot-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plugbot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.plugbot-btn-primary {
  background: var(--plugbot-navy);
  color: #fff;
}
.plugbot-btn-primary:hover {
  background: var(--plugbot-navy-2);
  color: #fff;
}
.plugbot-btn-outline {
  background: transparent;
  color: var(--plugbot-gray-700);
  border-color: var(--plugbot-gray-300);
}
.plugbot-btn-outline:hover {
  border-color: var(--plugbot-navy);
  color: var(--plugbot-navy);
}

@media screen and (max-width: 782px) {
  .admin-bar .plugbot-header {
    top: 46px;
  }
}

.hamburger {
  display: none;
}

.plugbot-nav-right-responsive {
  display: none;
}

@media (max-width: 1260px) {
  .plugbot-header {
    height: 60px;
    padding: 0 20px;
  }

  .plugbot-nav-links {
    display: none;
  }

  .plugbot-nav-right {
    display: none;
    gap: 8px;
  }

  .plugbot-btn {
    min-width: 0;
    padding: 9px 14px;
    font-size: 0.78rem;
  }

  .plugbot-btn-outline {
    display: none;
  }

  /* nav の中で brand の右に配置される */
  .plugbot-header {
    display: flex;
    align-items: center;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: auto;
    z-index: 2000;
  }

  .hamburger span {
    width: 24px;
    height: 2px;
    background: #333;
  }

  .hamburger-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1500;
    display: none;
  }

  .hamburger-overlay.is-active {
    display: block;
  }

  .plugbot-nav-links {
    display: none;
  }

  .plugbot-nav-links.is-open {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    padding: 20px;
    position: fixed;
    top: 60px;
    right: 0px;
    border: 1px solid #ddd;
    z-index: 1750;
    max-height: 70vh;
    overflow-y: auto;
  }

  .plugbot-nav-right-responsive {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .plugbot-header {
    padding: 0 14px;
  }
  .plugbot-brand {
    font-size: 1.05rem;
  }
  .plugbot-btn {
    padding: 8px 10px;
    font-size: 0.74rem;
  }
}
