body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
}
html, body {
  overflow-x: hidden;
}

/* ========== Header ========== */
.site-header {
  background: linear-gradient(-45deg, #004098, #2b6fc4, #004098, #2b6fc4);
  background-size: 400% 400%;
  animation: gradientMove 10s ease infinite;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
}
.site-header a {
  text-decoration: none;
  color: inherit;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  height: 60px;
}

.logo-area {
  display: flex;
  align-items: center;
}

.party-logo {
  height: 50px;
  margin-right: 0.8rem;
}

.site-title {
  font-size: clamp(1rem, 1.8vw, 1.6rem);
  font-weight: bold;
  color: white;
  margin-left: 0.5rem;
  display: inline-block;
}

@media (max-width: 1000px) {
  .site-title {
    display: none;
  }
}

/* ========== Nav ========== */
.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* ========== Hamburger ========== */
#hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}
#hamburger span {
  background: white;
  height: 3px;
  border-radius: 2px;
  transition: 0.4s;
}
#hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#hamburger.active span:nth-child(2) {
  opacity: 0;
}
#hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Responsive Nav ========== */
@media (max-width: 768px) {
  #hamburger {
    display: flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #004098;
    width: 200px;
    flex-direction: column;
    padding: 1rem;
  }
  .main-nav.active {
    display: flex;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  .party-logo {
    height: 45px;
  }
  .site-title {
    font-size: 1rem;
  }
}

/* ========== 女性候補者ページ ========== */
.hero-image-container {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.explanation {
  margin-top: 100px;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  font-size: 1.2rem;
  line-height: 2;
  color: #333;
  text-align: center;
}
.explanation h2 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: #004098;
}
.women-page {
  padding-top: 80px; /* ヘッダーの高さ + 余白 */
}

.cta-button-container {
  text-align: center;
  margin-bottom: 3rem;
}
.cta-button {
  display: inline-block;
  background-color: #004089;
  color: #fff;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}
.cta-button:hover {
  background-color: #0055aa;
}
.note {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #666;
}

/* ========== Footer ========== */
.site-footer {
  background: #004098;
  color: white;
  text-align: center;
  padding: 1.5rem;
}
.site-footer a {
  color: white;
  text-decoration: none;
}
.site-footer p {
  margin: 0.5rem 0;
}
