/* ===== 基本設定 ===== */
:root {
  --header-h: 100px;
  --primary-color: #ee7800;
  --primary-light: #ff9933;
  --primary-dark: #cc6600;
  --text-dark: #000;
  --text-light: #fff;
  --bg-light: #f9f9f9;
  --bg-footer: #8A8C8E;
  --shadow-light: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 10px rgba(0, 0, 0, 0.2);
  --shadow-strong: 0 4px 15px rgba(0, 0, 0, 0.3);
  --transition-base: 0.3s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  background-color: #fff;
  overflow-x: hidden;
}

body {
  padding-top: var(--header-h);
  background-color: var(--primary-color);
}

.visually-hidden{
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== ヘッダー ===== */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--text-dark);
  padding: 10px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  box-shadow: var(--shadow-light);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-left a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 15px;
  transition: transform var(--transition-base);
}

.header-left a:hover {
  transform: scale(1.05);
}

.logo img {
  height: 70px;
  width: 70px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.logo img:hover {
  transform: rotate(360deg);
}

.logo-text {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--primary-color);
  font-family: "Rounded Mplus 1c", "Noto Sans JP", sans-serif;
  white-space: nowrap;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  z-index: 1001;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all var(--transition-base);
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 4px;
  position: relative;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover::before {
  width: 80%;
}

nav a:hover {
  color: var(--primary-color);
  background-color: rgba(238, 120, 0, 0.1);
  transform: translateY(-2px);
}

nav a[aria-current="page"] {
  color: var(--primary-color);
  font-weight: 700;
  background-color: rgba(238, 120, 0, 0.1);
}

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

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

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

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

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  z-index: 900;
  backdrop-filter: blur(3px);
}

#overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ===== スマホ用メニュー表示 ===== */
@media (max-width: 900px) {
  /* ハンバーガーを表示 */
  .menu-toggle {
    display: flex;
  }

  /* ナビをデフォルトでは隠す（右からスライドイン） */
  #nav-menu {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: auto;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.97);
    padding: 20px;
    gap: 10px;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
    min-width: 220px;
  }

  /* .active が付いたときだけ表示 */
  #nav-menu.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
}


/* ===== ヒーローセクション ===== */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  background: none !important;
}

/* 斜め線を確実に削除 */
.hero::before,
.hero::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: brightness(70%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  padding: 40px;
  color: white;
  background: none !important;
}

/* hero-overlay の疑似要素も削除 */
.hero-overlay::before,
.hero-overlay::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

.hero-logo-left {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: start;
  max-width: 500px;
  width: 90%;
  height: auto;
  animation: fadeInUp 1s ease-out, float 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-logo-right {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  max-width: 600px;
  width: 85%;
  height: auto;
  animation: fadeInUp 1s ease-out 0.3s both;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ===== ポスターセクション ===== */
.poster-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
  color: var(--text-light);
  padding: 80px 5vw 60px; /* ← シンプルに修正 */
  position: relative;
  overflow: hidden;
  min-height: auto;
}

.poster-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.03) 10px, rgba(255, 255, 255, 0.03) 20px);
  animation: backgroundMove 20s linear infinite;
  z-index: 0;
}

@keyframes backgroundMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.poster-heading {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 1.8em;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  margin: 0;
  letter-spacing: 2px;
  z-index: 1;
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

.poster-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.poster-text {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.poster-title {
  font-size: 3.5em;
  line-height: 1.5;
  font-weight: 800;
  color: var(--text-light);
  text-align: center;
  margin: 0;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.poster-title .black-text {
  color: var(--text-dark);
}

.poster-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.poster-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
  transition: transform 0.5s ease;
}

.poster-image img:hover {
  transform: scale(1.05) rotate(-2deg);
}

/* View Moreボタン */
.view-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 700;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid var(--text-light);
  border-radius: 30px;
  transition: all 0.3s ease;
  z-index: 10;
  margin: 60px auto 0;
  position: relative;
}

.view-more-link::after {
  content: '→';
  font-size: 1.3em;
  transition: transform 0.3s ease;
}

.view-more-link:hover {
  background: var(--text-light);
  color: var(--primary-color);
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.4);
}

.view-more-link:hover::after {
  transform: translateX(5px);
}

/* ===== 修正済み: ロゴテキスト - 中央揃え ===== */
.logo-text {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--primary-color);
  font-family: "Rounded Mplus 1c", "Noto Sans JP", sans-serif;
  white-space: nowrap;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center; /* 中央揃え */
  line-height: 1.3;
}

/* ロゴテキストの各行を中央揃え */
.logo-text span {
  display: block;
  text-align: center;
}

/* ===== レスポンシブ対応の修正 ===== */
@media (max-width: 900px) {
  .poster-section {
    padding: 60px 20px 140px;
  }

  .poster-container {
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
  }

  .view-more-link {
    margin: 40px auto 0;
    font-size: 1.1em;
    padding: 10px 25px;
  }

  .logo-text {
    font-size: 1.1em;
  }
}

@media (max-width: 600px) {
  .poster-section {
    padding: 50px 15px 120px;
  }

  .view-more-link {
    margin: 30px auto 0;
    font-size: 1em;
    padding: 10px 20px;
  }

  .logo-text {
    font-size: 1em;
  }
}


/* ===== メッセージセクション ===== */
.message-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  text-align: center;
  padding: 80px 20px;
  line-height: 2.8;
  font-size: clamp(1.2em, 3vw, 2em);
  font-weight: 800;
}

.message-section p {
  max-width: 1000px;
  margin: 0 auto;
}


/* ===== フッター ===== */
footer {
  background: var(--bg-footer);
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
  background-size: 200% 100%;
  animation: gradientMove 3s linear infinite;
}

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

.footer-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
}

/* 左上ギリギリ：お問い合わせ・党員専用ページ（横並び） */
.footer-contact {
  position: absolute;
  left: 5px;
  top: 5px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-contact a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all var(--transition-base);
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-block;
  white-space: nowrap;
}

.footer-contact a:hover {
  color: var(--primary-light);
  background-color: rgba(238, 120, 0, 0.1);
  transform: translateY(-2px);
}

/* 中央：ロゴ */
.footer-content > a {
  display: inline-block;
  line-height: 0;
  transition: transform 0.3s ease;
}

.footer-content > a:hover {
  transform: scale(1.05);
}

.footer-logo {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* 右下ギリギリ：コピーライト表記 */
.foot {
  position: absolute;
  right: 5px;
  bottom: 5px;
  color: var(--text-light);
  font-size: 0.85em;
  font-weight: 600;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.foot:hover {
  opacity: 1;
}

.foot small {
  display: block;
  white-space: nowrap;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  footer {
    min-height: 250px;
  }

  .footer-contact {
    left: 5px;
    top: 5px;
    gap: 12px;
  }

  .footer-contact a {
    font-size: 1em;
  }

  .foot {
    right: 5px;
    bottom: 5px;
    font-size: 0.8em;
  }

  .footer-logo {
    width: 250px;
  }
}

@media (max-width: 600px) {
  footer {
    min-height: 220px;
    padding: 30px 10px;
  }

  .footer-contact {
    left: 5px;
    top: 5px;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact a {
    font-size: 0.95em;
    padding: 6px 10px;
  }

  .foot {
    right: 5px;
    bottom: 5px;
    font-size: 0.75em;
  }

  .footer-logo {
    width: 200px;
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.footer-instagram:hover {
  transform: scale(1.2) rotate(10deg);
}

/* ===== 私たちについてページ（改善版） ===== */
.aboutus {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
  color: var(--text-dark);
  padding: 80px 5vw 100px;
  text-align: left;
  line-height: 2;
  font-size: 1.1em;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
}

.aboutus::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.03) 10px, rgba(255, 255, 255, 0.03) 20px);
  animation: backgroundMove 20s linear infinite;
  z-index: 0;
}

.aboutus h1 {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 900;
  margin-bottom: 50px;
  color: var(--text-light);
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
  z-index: 1;
  letter-spacing: 2px;
}

.aboutus-section {
  margin-bottom: 50px;
  background: none;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border: none;
  transition: none;
  position: relative;
  z-index: 1;
}

.aboutus-section:hover {
  background: none;
  transform: none;
}

.aboutus-question {
  font-size: clamp(1.5em, 3.5vw, 2em);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 25px;
  text-decoration: none;
  border-left: 6px solid var(--text-light);
  padding-left: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
}

.aboutus p {
  margin-bottom: 20px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 2.2;
  font-weight: 600;
  padding-left: 30px;
  position: relative;
  font-size: 1.15em;
  color: var(--text-dark);
}

.aboutus p::before {
  content: '';
  position: absolute;
  left: 0;
  color: var(--text-dark);
  font-size: 0.9em;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .aboutus {
    padding: 60px 4vw 80px;
    font-size: 1.05em;
  }

  .aboutus h1 {
    margin-bottom: 40px;
  }

  .aboutus-section {
    margin-bottom: 40px;
  }

  .aboutus-question {
    padding-left: 15px;
    border-left-width: 5px;
  }

  .aboutus p {
    padding-left: 25px;
    font-size: 1.1em;
  }
}

@media (max-width: 600px) {
  .aboutus {
    padding: 50px 20px 70px;
    font-size: 1em;
  }

  .aboutus h1 {
    margin-bottom: 35px;
  }

  .aboutus-section {
    margin-bottom: 35px;
  }

  .aboutus-question {
    padding-left: 12px;
    border-left-width: 4px;
    margin-bottom: 20px;
  }

  .aboutus p {
    padding-left: 20px;
    font-size: 1.05em;
    line-height: 2;
  }
}

/* ===== 共通ページスタイル ===== */
.page-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
  min-height: calc(100vh - var(--header-h));
  padding: 60px 20px 100px;
  position: relative;
  overflow: hidden;
}

.page-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: clamp(2.5em, 6vw, 4em);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 15px;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
  font-size: clamp(1.1em, 2.5vw, 1.5em);
  color: var(--text-dark);
  font-weight: 600;
}

/* ===== メンバーページ ===== */
.member-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ===== メンバープロフィールページ（member1.html等） ===== */
.member-profile-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
  min-height: calc(100vh - var(--header-h));
  padding: 60px 20px 100px;
  position: relative;
  overflow: hidden;
}

.member-profile-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.member-profile-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 35px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

.member-profile-card:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.member-section-title {
  font-size: clamp(1.8em, 4vw, 2.5em);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid rgba(0, 0, 0, 0.2);
}

.member-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.member-detail-text {
  font-size: clamp(1.05em, 2vw, 1.25em);
  color: var(--text-dark);
  font-weight: 600;
  line-height: 2;
  padding-left: 15px;
  border-left: 3px solid rgba(0, 0, 0, 0.2);
  margin: 0;
}

.member-greeting-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 35px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

.member-greeting-card:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* メンバーリンク（カード全体をクリック可能に） */
.member-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 35px;
  transition: transform 0.3s ease;
}

.member-link:hover {
  transform: translateY(-5px);
}

/* メンバーカード共通スタイル */
.member-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
  transition: all 0.4s ease;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.member-link:hover .member-card {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  transform: scale(1.02);
}

/* 党首カード（特別スタイル） */
.leader-card {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 165, 0, 0.25));
  border: 3px solid rgba(255, 215, 0, 0.7);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
  margin-bottom: 50px;
  min-height: 180px;
}

.member-link:hover .leader-card {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(255, 165, 0, 0.35));
  box-shadow: 0 20px 50px rgba(255, 215, 0, 0.5);
}

/* バッジ */
.member-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-light);
  font-weight: 900;
  border-radius: 25px;
  font-size: 0.9em;
  box-shadow: 0 6px 15px rgba(238, 120, 0, 0.5);
  letter-spacing: 1px;
}

.leader-badge {
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: var(--text-dark);
  font-size: 1.1em;
  padding: 10px 25px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.1); }
}

/* メンバー情報 */
.member-info {
  text-align: center;
  width: 100%;
}

.member-name {
  font-size: clamp(1.8em, 4vw, 2.5em);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: 1px;
}

.leader-card .member-name {
  font-size: clamp(2.2em, 5vw, 3em);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

/* メンバーグリッド */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 20px;
}

/* ===== ニュースページ ===== */
.news-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.news-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 35px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  gap: 35px;
  transition: all 0.4s ease;
  position: relative;
}

.news-card:hover {
  transform: translateX(15px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: -10px 15px 40px rgba(0, 0, 0, 0.25);
}

.news-date {
  flex-shrink: 0;
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
  border-radius: 16px;
  min-width: 110px;
}

.news-year {
  display: block;
  font-size: 1em;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 8px;
}

.news-day {
  display: block;
  font-size: 2.2em;
  font-weight: 900;
  color: var(--text-light);
}

.news-content {
  flex: 1;
}

.news-title {
  font-size: clamp(1.4em, 3vw, 2em);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 20px;
}

.news-text {
  font-size: clamp(1.05em, 2vw, 1.25em);
  color: var(--text-dark);
  line-height: 1.9;
  margin: 0;
  font-weight: 600;
}

.news-badge {
  position: absolute;
  top: -12px;
  right: 25px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #ff4444, #ff6666);
  color: white;
  font-weight: 800;
  border-radius: 25px;
  font-size: 0.9em;
  box-shadow: 0 6px 15px rgba(255, 68, 68, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

/* ===== 党首ページ（leader.html用） ===== */
.leader-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
  min-height: calc(100vh - var(--header-h));
  padding: 60px 20px 100px;
  position: relative;
  overflow: hidden;
}

.leader-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* 党首カードのラッパー（横幅制限） */
.leader-card-wrapper {
  max-width: 600px;
  margin: 0 auto 50px;
}

/* プロフィールカード */
.leader-profile-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 35px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

.leader-profile-card:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.leader-image-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.leader-photo {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 16px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.leader-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.leader-info {
  text-align: left;
}

.leader-section-title {
  font-size: clamp(1.8em, 4vw, 2.5em);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid rgba(0, 0, 0, 0.2);
}

.leader-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.leader-detail-item {
  font-size: clamp(1.05em, 2vw, 1.3em);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.8;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border-left: 4px solid var(--primary-dark);
  transition: all 0.3s ease;
}

.leader-detail-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.detail-label {
  color: var(--text-dark);
  font-weight: 800;
}

.detail-value {
  color: var(--text-dark);
  font-weight: 600;
}

/* あいさつカード */
.leader-greeting-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 35px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

.leader-greeting-card:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.greeting-content {
  text-align: left;
}

.greeting-text {
  font-size: clamp(1.05em, 2vw, 1.25em);
  color: var(--text-dark);
  line-height: 2;
  margin-bottom: 20px;
  font-weight: 600;
  padding-left: 15px;
  border-left: 3px solid rgba(0, 0, 0, 0.2);
}

.greeting-text:last-child {
  margin-bottom: 0;
}

/* ビジョンカード */
.leader-vision-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 35px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

.leader-vision-card:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.vision-content {
  text-align: left;
}

.vision-text {
  font-size: clamp(1.05em, 2vw, 1.25em);
  color: var(--text-dark);
  line-height: 2;
  font-weight: 600;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 2px solid rgba(0, 0, 0, 0.1);
}

/* ===== 政策ページ ===== */
.policy-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.policy-intro {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 50px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  text-align: center;
}

.policy-intro p {
  font-size: clamp(1.2em, 2.5vw, 1.5em);
  color: var(--text-dark);
  font-weight: 800;
  margin: 0;
}

.policy-placeholder {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  border: 3px dashed rgba(255, 255, 255, 0.5);
}

.placeholder-icon {
  font-size: 6em;
  margin-bottom: 25px;
  animation: float 3s ease-in-out infinite;
}

/* ===== 活動ページ ===== */
.active-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.active-intro {
  text-align: center;
  margin-bottom: 60px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  border-radius: 30px;
  padding: 60px 50px;
  border: 3px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.active-heading {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 900;
  color: var(--text-light);
  margin-bottom: 30px;
  text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
}

.active-description {
  font-size: clamp(1.3em, 3vw, 1.8em);
  color: var(--text-dark);
  font-weight: 800;
  line-height: 2;
}

.active-placeholder {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 215, 0, 0.2));
  backdrop-filter: blur(20px);
  border-radius: 40px;
  padding: 100px 60px;
  text-align: center;
  border: 5px dashed rgba(255, 215, 0, 0.8);
  margin-bottom: 70px;
  box-shadow: 0 30px 80px rgba(255, 215, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.active-placeholder::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.3), transparent 60%);
  animation: rotate 6s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.active-placeholder .placeholder-icon {
  font-size: 8em;
  margin-bottom: 40px;
  animation: float 3s ease-in-out infinite, pulse 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

.active-placeholder h2 {
  font-size: clamp(2em, 5vw, 3em);
  color: var(--text-dark);
  font-weight: 900;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.active-placeholder p {
  font-size: clamp(1.2em, 3vw, 1.6em);
  color: var(--text-dark);
  font-weight: 800;
  line-height: 2.3;
  position: relative;
  z-index: 1;
}

.active-coming-soon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 165, 0, 0.2));
  backdrop-filter: blur(20px);
  border-radius: 40px;
  padding: 70px 50px;
  border: 3px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 25px 70px rgba(238, 120, 0, 0.3);
}

.active-coming-soon h3 {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 900;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 60px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.coming-soon-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px);
  border-radius: 30px;
  padding: 50px 40px;
  text-align: center;
  border: 3px solid rgba(255, 255, 255, 0.6);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.coming-soon-card:hover {
  transform: translateY(-20px) scale(1.08);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 35px 70px rgba(238, 120, 0, 0.4);
  border-color: rgba(255, 215, 0, 0.9);
}

.coming-icon {
  font-size: 5em;
  margin-bottom: 30px;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
}

.coming-soon-card:hover .coming-icon {
  animation: float 3s ease-in-out infinite, pulse 1s ease-in-out infinite;
  transform: scale(1.3) rotate(15deg);
}

.coming-soon-card h4 {
  font-size: 1.8em;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.coming-soon-card p {
  font-size: 1.2em;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 2;
  margin: 0;
}

/* ===== 候補者公募ページ ===== */
.recruit-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.recruit-intro {
  text-align: center;
  margin-bottom: 60px;
}

.recruit-heading {
  font-size: clamp(2.2em, 4vw, 2.8em);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 25px;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}

.recruit-description {
  font-size: clamp(1.15em, 2.5vw, 1.4em);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 2;
}

.recruit-requirements {
  display: grid;
  gap: 28px;
  margin-bottom: 60px;
}

.requirement-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px 35px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 30px;
  transition: all 0.4s ease;
  position: relative;
}

.requirement-card:hover {
  transform: translateX(15px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: -10px 15px 40px rgba(0, 0, 0, 0.25);
}

.requirement-card.essential {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 165, 0, 0.2));
  border: 3px solid rgba(255, 215, 0, 0.7);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.requirement-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 900;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.requirement-text {
  flex: 1;
  font-size: clamp(1.1em, 2.5vw, 1.3em);
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.7;
  margin: 0;
}

.essential-badge {
  position: absolute;
  top: -14px;
  right: 25px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: var(--text-dark);
  font-weight: 900;
  border-radius: 25px;
  font-size: 0.9em;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

.recruit-cta {
  text-align: center;
  padding: 50px 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cta-text {
  font-size: clamp(1.3em, 3vw, 1.7em);
  color: var(--text-dark);
  font-weight: 900;
  margin: 0;
}

/* ===== お問い合わせフォームページ ===== */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.form-intro {
  text-align: center;
  margin-bottom: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  animation: fadeInDown 0.8s ease-out;
}

.form-intro-text {
  font-size: clamp(1.1em, 2.5vw, 1.3em);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 2;
  margin: 0;
}

.contact-form {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  border-radius: 30px;
  padding: 50px 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: slideUp 1s ease-out;
}

.form-group {
  margin-bottom: 30px;
  animation: slideInRight 0.8s ease-out backwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-label {
  display: block;
  font-size: 1.2em;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.required {
  color: #ff4444;
  font-weight: 900;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 18px 20px;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 3px solid rgba(238, 120, 0, 0.3);
  border-radius: 15px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 4px rgba(238, 120, 0, 0.2);
  transform: translateY(-2px);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(0, 0, 0, 0.4);
  font-weight: 500;
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.8;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ee7800' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
  padding-right: 50px;
}

.form-notice {
  background: rgba(255, 215, 0, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 25px 30px;
  margin: 40px 0 30px;
  border: 2px solid rgba(255, 215, 0, 0.5);
  animation: fadeIn 1s ease-out 0.6s both;
}

.form-notice p {
  font-size: 1em;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.8;
  margin: 8px 0;
}

.form-notice strong {
  font-size: 1.1em;
  color: var(--text-dark);
}

.form-actions {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  animation: fadeInUp 1s ease-out 0.7s both;
}

.form-submit,
.form-reset {
  flex: 1;
  padding: 20px 40px;
  font-size: 1.3em;
  font-weight: 900;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.form-submit {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-light);
  box-shadow: 0 10px 30px rgba(238, 120, 0, 0.4);
}

.form-submit:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(238, 120, 0, 0.6);
}

.form-submit:active {
  transform: translateY(-2px) scale(1.02);
}

.form-reset {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-dark);
  border: 3px solid var(--primary-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.form-reset:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-success {
  display: none;
  text-align: center;
  background: linear-gradient(135deg, rgba(50, 205, 50, 0.3), rgba(34, 139, 34, 0.2));
  backdrop-filter: blur(15px);
  border-radius: 30px;
  padding: 80px 50px;
  border: 4px solid rgba(50, 205, 50, 0.6);
  box-shadow: 0 20px 60px rgba(50, 205, 50, 0.3);
  animation: scaleIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-icon {
  font-size: 6em;
  margin-bottom: 30px;
  animation: bounce 1s ease-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.form-success h3 {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 25px;
}

.form-success p {
  font-size: clamp(1.2em, 2.5vw, 1.5em);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 2;
  margin: 0;
}

/* ===== レスポンシブデザイン ===== */
@media (max-width: 900px) {
  :root {
    --header-h: 70px;
  }

  header {
    padding: 10px 15px;
  }

  .logo img {
    height: 50px;
    width: 50px;
  }

  .logo-text {
    font-size: 1.1em;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: var(--header-h);
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: calc(100vh - var(--header-h));
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
    gap: 20px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-base);
    z-index: 950;
    overflow-y: auto;
  }

  nav.active {
    right: 0;
  }

  nav a {
    font-size: 1.2em;
    width: 100%;
    padding: 12px 16px;
  }

  .hero {
    height: 70vh;
  }

  .hero-overlay {
    padding: 20px;
  }

  .hero-logo-left {
    max-width: 350px;
    width: 80%;
  }

  .hero-logo-right {
    max-width: 450px;
    width: 75%;
  }

  .poster-section {
    padding: 60px 20px 40px;
  }

  .poster-container {
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
  }
  
  .view-more-link {
    margin: 40px auto 0; /* ← 追加 */
    font-size: 1.1em;
    padding: 10px 25px;
  }
  
  .member-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    flex-direction: column;
    gap: 25px;
    padding: 30px;
  }

  .news-date {
    width: 100%;
  }

  /* 党首ページのレスポンシブ */
  .leader-profile-card,
  .leader-greeting-card,
  .leader-vision-card {
    padding: 30px 25px;
  }

  .requirement-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 25px 20px;
  }

  .coming-soon-grid {
    grid-template-columns: 1fr;
  }

  .active-intro {
    padding: 40px 30px;
  }

  .active-placeholder {
    padding: 60px 30px;
  }

  .active-coming-soon {
    padding: 50px 30px;
  }

  .contact-form {
    padding: 40px 30px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-submit,
  .form-reset {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 60vh;
  }

  .hero-overlay {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 15px;
    gap: 20px;
  }

  .hero-logo-left {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    max-width: 280px;
    width: 85%;
  }

  .hero-logo-right {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    align-self: start;
    max-width: 350px;
    width: 80%;
  }

  .poster-section {
    padding: 50px 15px 30px; /* ← 追加 */
  }

  .view-more-link {
    margin: 30px auto 0; /* ← 追加 */
    font-size: 1em;
    padding: 10px 20px;
  }

  .member-card {
    padding: 30px 20px;
    margin-bottom: 35px;
  }

  .news-card {
    padding: 25px;
  }

  /* 党首ページのスマホ対応 */
  .leader-profile-card,
  .leader-greeting-card,
  .leader-vision-card {
    padding: 25px 20px;
  }

  .active-intro {
    padding: 30px 20px;
  }

  .active-placeholder {
    padding: 50px 25px;
  }

  .active-coming-soon {
    padding: 40px 20px;
  }

  .coming-soon-card {
    padding: 40px 25px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .form-intro {
    padding: 30px 20px;
  }

  .form-notice {
    padding: 20px 15px;
  }

  .form-submit,
  .form-reset {
    padding: 18px 30px;
    font-size: 1.1em;
  }

  .form-success {
    padding: 60px 30px;
  }
}

/* ===== 汎用読み物スタイル ===== */
.prose {
  color: var(--text-dark);
  line-height: 1.8;
  letter-spacing: 0.02em;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.prose p { 
  margin: 0 0 1.2em; 
}

.prose p.lead {
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  letter-spacing: 0.015em;
}

.prose h1 {
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  text-shadow: 2px 2px 6px rgba(0,0,0,.35);
}

.prose h2 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.9em;
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
}

.prose ul, .prose ol { 
  padding-left: 1.1em; 
  margin: 0 0 1.1em; 
}

.prose li { 
  margin: 0.35em 0; 
}

.prose blockquote {
  margin: 1.2em 0;
  padding: .75em 1em;
  border-left: 4px solid var(--primary-light);
  background: rgba(255,255,255,.10);
  border-radius: 12px;
}

.reading-width { 
  max-width: 70ch; 
}

.profile-photo {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.profile-photo:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== スクロールアニメーション（右からフェードイン） ===== */

/* ===== 右からスライドインアニメーション ===== */
.slide-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.visible,
.slide-in-right.slide-in-active {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-item {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible,
.slide-in-item.slide-in-active {
  opacity: 1;
  transform: translateX(0);
}


/* カード全体のアニメーション */
.scroll-fade-in {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateX(0);
}

/* カード内のアイテムのアニメーション（さらに右から） */
.scroll-fade-in-item {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-fade-in-item.visible {
  opacity: 1;
  transform: translateX(0);
}

/* レスポンシブ対応：モバイルでは少し控えめなアニメーション */
@media (max-width: 768px) {
  .scroll-fade-in {
    transform: translateX(30px);
  }
  
  .scroll-fade-in-item {
    transform: translateX(40px);
  }
}

/* アニメーション無効化の設定（ユーザーが動きを減らす設定をしている場合） */
@media (prefers-reduced-motion: reduce) {
  .scroll-fade-in,
  .scroll-fade-in-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}



/* ポスターページヒーローセクション */
.poster-page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
  color: var(--text-light);
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.poster-page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.03) 10px, rgba(255, 255, 255, 0.03) 20px);
  animation: backgroundMove 20s linear infinite;
}

.poster-page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.poster-page-title {
  font-size: clamp(2.5em, 6vw, 4em);
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 3px;
  animation: fadeInUp 0.8s ease-out;
}

.poster-page-subtitle {
  font-size: clamp(1.1em, 2.5vw, 1.5em);
  font-weight: 600;
  color: var(--text-dark);
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ポスターギャラリー */
.poster-gallery {
  background-color: var(--bg-light);
  padding: 80px 5vw;
  min-height: 70vh;
}

.poster-gallery-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}

/* ポスターアイテム */
.poster-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: all 0.4s ease;
  cursor: pointer;
  width: auto;
  max-width: 480px;
  display: inline-block;
}

.poster-item:hover {
  --card-offset: -10px; /* ここでオフセットだけ変える */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.poster-image-wrapper {
  width: auto;
  max-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0;
  padding: 0;
}

.poster-gallery-image {
  max-width: 100%;
  max-height: 600px;
  border-radius: 15px;
  height: auto;
  width: auto;
  display: block;
  transition: transform 0.5s ease;
  object-fit: contain;
}

.poster-item:hover .poster-gallery-image {
  transform: scale(1.03);
}

/* ポスター情報（テキストがある場合） */
.poster-info {
  padding: 25px 30px;
  background: white;
  text-align: center;
}

.poster-item-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* View Moreボタン（index.htmlに追加用） */
.view-more-link {
  position: absolute;
  bottom: 30px;
  right: 30px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 700;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid var(--text-light);
  border-radius: 30px;
  transition: all 0.3s ease;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.view-more-link::after {
  content: '→';
  font-size: 1.3em;
  transition: transform 0.3s ease;
}

.view-more-link:hover {
  background: var(--text-light);
  color: var(--primary-color);
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.4);
}

.view-more-link:hover::after {
  transform: translateX(5px);
}

.poster-gallery {
  background: none !important;
}

html, body {
  min-height: 100%;
}


@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* .poster-item.scroll-appear {
  opacity: 0;
  transform: translateY(40px);
  animation: slideUpFade 0.8s ease-out forwards;
} */

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .poster-gallery-container {
    gap: 40px;
    max-width: 700px;
  }

  .poster-image-wrapper {
    padding: 20px;
    max-height: 500px;
  }

  .poster-gallery-image {
    max-height: 500px;
  }

  .poster-info {
    padding: 20px 25px;
  }

  .view-more-link {
    bottom: 20px;
    right: 20px;
    font-size: 1.1em;
    padding: 10px 25px;
  }

  .poster-page-hero {
    padding: 80px 20px 60px;
  }
}

@media (max-width: 600px) {
  .poster-gallery-container {
    gap: 30px;
  }

  .poster-image-wrapper {
    padding: 15px;
    max-height: 400px;
  }

  .poster-gallery-image {
    max-height: 400px;
  }

  .poster-info {
    padding: 18px 20px;
  }

  .poster-item-title {
    font-size: 1.3em;
  }

  .view-more-link {
    position: static;
    margin-top: 20px;
    display: inline-flex;
    font-size: 1em;
    padding: 10px 20px;
  }

  .poster-page-hero {
    padding: 60px 20px 50px;
  }
}



/* ===== ドロップダウンメニュー用スタイル ===== */

/* ドロップダウンコンテナ */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

/* ドロップダウントグル（クリック/ホバー対象） */
.nav-dropdown-toggle {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  transition: all var(--transition-base);
  position: relative;
}

.nav-dropdown-toggle::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-dropdown:hover .nav-dropdown-toggle::before {
  width: 80%;
}

.nav-dropdown:hover .nav-dropdown-toggle {
  color: var(--primary-color);
  background-color: rgba(238, 120, 0, 0.1);
  transform: translateY(-2px);
}

/* ドロップダウンメニュー（サブメニュー） */
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  min-width: 180px;
  padding: 8px 0;
  z-index: 1100;
  margin-top: 0;
}

/* ホバー時にメニュー表示 */
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

/* ドロップダウン全体にパディングを追加して隙間をカバー */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
  display: block;
}

/* ドロップダウンメニュー内のリンク */
.nav-dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.2s ease;
  border-radius: 0;
}

.nav-dropdown-menu a::before {
  display: none;
}

.nav-dropdown-menu a:hover {
  background-color: rgba(238, 120, 0, 0.15);
  color: var(--primary-color);
  transform: translateX(5px);
}

.nav-dropdown-menu a[aria-current="page"] {
  color: var(--primary-color);
  background-color: rgba(238, 120, 0, 0.1);
  font-weight: 700;
}

/* ===== 広報ページ専用スタイル ===== */

.pr-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
  min-height: calc(100vh - var(--header-h));
  padding: 60px 20px 100px;
  position: relative;
  overflow: hidden;
}

.pr-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pr-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  gap: 40px;
  transition: all 0.4s ease;
  position: relative;
  align-items: center;
}

.pr-card:hover {
  transform: translateX(15px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: -10px 15px 40px rgba(0, 0, 0, 0.25);
}

.pr-image-wrapper {
  flex-shrink: 0;
  width: 350px;
  max-width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
}

.pr-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

.pr-card:hover .pr-image {
  transform: scale(1.05);
}

.pr-content {
  flex: 1;
}

.pr-title {
  font-size: clamp(1.8em, 4vw, 2.5em);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 20px;
}

.pr-text {
  font-size: clamp(1.05em, 2vw, 1.25em);
  color: var(--text-dark);
  line-height: 2;
  margin: 0;
  font-weight: 600;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  /* モバイル版でドロップダウンをタップ対応に */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    padding: 12px 16px;
    font-size: 1.2em;
  }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    background-color: rgba(238, 120, 0, 0.05);
    border-radius: 0;
    margin-top: 0;
    padding: 0;
  }

  .nav-dropdown-menu a {
    padding: 12px 16px 12px 32px;
    font-size: 1.1em;
  }

  /* タップでトグル */
  .nav-dropdown-toggle::after {
    content: none;
  }

  .nav-dropdown.active .nav-dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .nav-dropdown.active .nav-dropdown-menu {
    display: block;
  }

  .pr-card {
    flex-direction: column;
    gap: 30px;
    padding: 30px;
  }

  .pr-image-wrapper {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .pr-card {
    padding: 25px;
  }

  .pr-image-wrapper {
    padding: 15px;
  }
}

  .poster-gallery .poster-item {
    opacity: 1;
    transform: scale(1);
  }
