/* ============================================
   Forum Samukawa - Style Sheet
   Modern, Minimal Design inspired by ds-k.site
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Light Mode - Royal Blue theme */
  --bg: #fafafa;
  --bg-alt: #f0f2f5;
  --text: #1a1a1a;
  --text-sub: #555555;
  --accent: #1a3a8a;
  --accent-light: #2850a8;
  --border: #dde1e8;
  --card-bg: #ffffff;
  --card-shadow: 0 4px 24px rgba(26, 58, 138, 0.08);
  --header-bg: rgba(250, 250, 252, 0.92);
  --hero-overlay: linear-gradient(135deg, rgba(26, 58, 138, 0.88), rgba(15, 30, 80, 0.82));
  --tag-bg: #e8edf5;
  --tag-text: #1a3a8a;
  --line-color: #1a1a1a;
}

[data-theme="dark"] {
  --bg: #0a0c12;
  --bg-alt: #12151e;
  --text: #e8eaf0;
  --text-sub: #8890a0;
  --accent: #4a7adf;
  --accent-light: #6a9aff;
  --border: #1e2235;
  --card-bg: #161a26;
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --header-bg: rgba(10, 12, 18, 0.92);
  --hero-overlay: linear-gradient(135deg, rgba(15, 30, 80, 0.92), rgba(8, 16, 45, 0.88));
  --tag-bg: #1a2240;
  --tag-text: #6a9aff;
  --line-color: #e8eaf0;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.logo-main {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-list a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-sub);
  position: relative;
  padding: 4px 0;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-list a:hover {
  color: var(--text);
}

.nav-list a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: 2px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
  color: var(--text);
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-icon-dark { display: none; }

[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: inline; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-list {
  list-style: none;
  text-align: center;
}

.mobile-menu-list li {
  margin: 24px 0;
}

.mobile-menu-list a {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
  transition: color 0.3s ease;
}

.mobile-menu-list a:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .hamburger { display: block; }
  .header-inner { padding: 0 20px; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><defs><linearGradient id="g" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" style="stop-color:%231a3a8a;stop-opacity:1"/><stop offset="100%25" style="stop-color:%230f1e50;stop-opacity:1"/></linearGradient></defs><rect fill="url(%23g)" width="1440" height="900"/><circle cx="200" cy="300" r="250" fill="rgba(255,255,255,0.03)"/><circle cx="1200" cy="600" r="350" fill="rgba(255,255,255,0.03)"/><circle cx="700" cy="150" r="180" fill="rgba(255,255,255,0.02)"/></svg>') center/cover no-repeat;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
}

/* Hero Logo Mark - matching the official logo design */
.hero-logo-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  padding: 10px 0;
}

.hero-lines span {
  display: block;
  width: 100%;
  height: 5px;
  background: #ffffff;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
}

.hero-title-en {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-align: center;
  color: #ffffff;
}

.hero-slogan {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(0.8rem, 1.8vw, 1.1rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-align: center;
  margin-top: 12px;
  opacity: 0.9;
}

.hero-citation {
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  text-align: center;
  margin-top: 6px;
  opacity: 0.55;
}

.hero-subtitle-ja {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  line-height: 1.8;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-subtitle-ja-sub {
  font-size: 0.85em;
  letter-spacing: 0.15em;
  opacity: 0.85;
}

.hero-scroll {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1s forwards;
}

.hero-scroll span {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #ffffff, transparent);
  animation: scrollLine 2s ease infinite;
}

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

@keyframes scrollLine {
  0% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.5); }
  100% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   SECTIONS (Common)
   ============================================ */
.section {
  padding: 120px 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.section-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-sub);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 60px;
}

.section-title-en {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-title-ja {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-sub);
  letter-spacing: 0.1em;
  margin-top: 8px;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.about-text:last-of-type {
  margin-bottom: 40px;
}

/* ============================================
   MEMBERS - 議員紹介
   ============================================ */
.members-intro {
  text-align: center;
  font-size: 1rem;
  line-height: 2;
  color: var(--text-sub);
  margin-bottom: 60px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.member-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26, 58, 138, 0.15);
}

.member-card--leader {
  border: 2px solid var(--accent);
  position: relative;
}

.member-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-alt);
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.member-card:hover .member-photo {
  transform: scale(1.05);
}

.member-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 50px;
}

.member-info {
  padding: 28px 24px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.member-name {
  margin-bottom: 16px;
}

.member-name-kanji {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
}

.member-name-kana {
  display: block;
  font-size: 0.8rem;
  color: var(--text-sub);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.member-details {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.member-details li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
  padding: 6px 0;
  border-bottom: 1px dotted var(--border);
}

.member-label {
  font-weight: 600;
  color: var(--accent);
  min-width: 42px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.member-value {
  color: var(--text-sub);
}

.member-message {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-sub);
  padding-top: 16px;
  position: relative;
}

.member-message::before {
  content: '"';
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 4px;
  left: -4px;
  font-family: Georgia, serif;
}

.member-links {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.member-link {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: opacity 0.3s ease;
}

.member-link:hover {
  opacity: 0.7;
}

/* Members Responsive */
@media (max-width: 1024px) {
  .members-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .members-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 480px;
    margin: 0 auto;
  }
  .member-card {
    flex-direction: row;
  }
  .member-photo-wrap {
    width: 160px;
    min-width: 160px;
    aspect-ratio: auto;
  }
  .member-info {
    padding: 20px;
  }
  .member-name-kanji {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .member-card {
    flex-direction: column;
  }
  .member-photo-wrap {
    width: 100%;
    min-width: auto;
    aspect-ratio: 1 / 1;
  }
  .members-grid {
    max-width: 100%;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline {
  border: 2px solid var(--text);
  background: transparent;
  color: var(--text);
}

.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ============================================
   POLICY (Services)
   ============================================ */
.policy {
  background: var(--bg-alt);
}

.policy-intro {
  max-width: 700px;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 48px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.policy-grid-3col {
  grid-template-columns: repeat(3, 1fr);
}

.policy-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: var(--card-shadow);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.policy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transition: height 0.3s ease;
}

.policy-card-urban::before {
  background: #2e7d32;
}

.policy-card-education::before {
  background: #1565c0;
}

.policy-card-fiscal::before {
  background: #c62828;
}

.policy-card:hover::before {
  height: 6px;
}

.policy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.policy-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.policy-card-icon {
  font-size: 2rem;
}

.policy-card-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.policy-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.policy-card-subtitle {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-bottom: 20px;
  line-height: 1.5;
}

.policy-card-text {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.9;
}

.policy-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex: 1;
}

.policy-card-list li {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.6;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.policy-card-list li:last-child {
  border-bottom: none;
}

.policy-card-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.policy-card-urban .policy-card-list li::before {
  color: #2e7d32;
}

.policy-card-education .policy-card-list li::before {
  color: #1565c0;
}

.policy-card-fiscal .policy-card-list li::before {
  color: #c62828;
}

.policy-card-data {
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  margin-top: auto;
}

.policy-data-value {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 4px;
}

.policy-card-urban .policy-data-value {
  color: #2e7d32;
}

.policy-card-education .policy-data-value {
  color: #1565c0;
}

.policy-card-fiscal .policy-data-value {
  color: #c62828;
}

.policy-data-label {
  font-size: 0.75rem;
  color: var(--text-sub);
  line-height: 1.4;
}

.policy-data-source {
  display: block;
  font-size: 0.65rem;
  color: var(--text-sub);
  opacity: 0.7;
  margin-top: 4px;
  font-style: italic;
}

.policy-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.policy-cta-btn {
  font-size: 0.9rem;
  padding: 12px 24px;
  transition: all 0.3s ease;
}
.policy-cta-urban:hover {
  border-color: #2e7d32;
  color: #2e7d32;
  background: rgba(46, 125, 50, 0.06);
}
.policy-cta-education:hover {
  border-color: #1565c0;
  color: #1565c0;
  background: rgba(21, 101, 192, 0.06);
}
.policy-cta-fiscal:hover {
  border-color: #c62828;
  color: #c62828;
  background: rgba(198, 40, 40, 0.06);
}

/* Initiatives マニフェスト3リンク */
.initiative-manifest-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.initiative-btn-sm {
  font-size: 0.8rem;
  padding: 8px 14px;
}

@media (max-width: 1024px) {
  .policy-grid-3col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .policy-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   INITIATIVES - 取り組み紹介
   ============================================ */
.initiatives-intro {
  max-width: 700px;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 48px;
  font-size: 0.95rem;
}

.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.initiative-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}

.initiative-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 58, 138, 0.12);
}

/* マニフェストカードは横幅全体 */
.initiative-card-manifest {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  min-height: 280px;
}

/* YouTubeサムネイル */
.initiative-thumbnail {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 75%;
  background: #000;
  overflow: hidden;
}

.initiative-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.initiative-thumbnail:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

.initiative-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.initiative-thumbnail:hover .initiative-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* カード本文 */
.initiative-body {
  padding: 28px;
}

.initiative-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.initiative-tag-ai {
  background: #e3f2fd;
  color: #1565c0;
}

.initiative-tag-video {
  background: #fce4ec;
  color: #c62828;
}

.initiative-tag-doc {
  background: #e8f5e9;
  color: #2e7d32;
}

[data-theme="dark"] .initiative-tag-ai {
  background: rgba(21, 101, 192, 0.2);
  color: #64b5f6;
}

[data-theme="dark"] .initiative-tag-video {
  background: rgba(198, 40, 40, 0.2);
  color: #ef5350;
}

[data-theme="dark"] .initiative-tag-doc {
  background: rgba(46, 125, 50, 0.2);
  color: #66bb6a;
}

.initiative-tag-report {
  background: #e3f2fd;
  color: #1565c0;
}

.initiative-tag-forum {
  background: #fff3e0;
  color: #e65100;
}

.initiative-tag-meeting {
  background: #f3e5f5;
  color: #7b1fa2;
}

[data-theme="dark"] .initiative-tag-report {
  background: rgba(21, 101, 192, 0.2);
  color: #64b5f6;
}

[data-theme="dark"] .initiative-tag-forum {
  background: rgba(230, 81, 0, 0.2);
  color: #ffb74d;
}

[data-theme="dark"] .initiative-tag-meeting {
  background: rgba(123, 31, 162, 0.2);
  color: #ce93d8;
}

/* Initiative placeholder visuals (SVG illustrations) */
.initiative-placeholder-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.initiative-placeholder-visual svg {
  width: 100%;
  height: 100%;
  max-width: 280px;
}

.initiative-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 12px;
}

.initiative-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 16px;
}

.initiative-btn {
  margin-top: 8px;
}

/* サイトプレビュー カード */
.initiative-thumbnail:has(.initiative-site-preview) {
  padding-top: 0;
  background: none;
}

.initiative-site-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
  gap: 8px;
  position: relative;
}

.initiative-preview-report {
  background: linear-gradient(135deg, #4a9bd9 0%, #2878c0 100%);
}

.initiative-preview-forum {
  background: linear-gradient(135deg, #6db3f2 0%, #3a8fd4 100%);
}

.initiative-preview-chinjo {
  background: linear-gradient(135deg, #2e7d32 0%, #388e3c 50%, #1b5e20 100%);
}

.initiative-preview-hirota {
  background: linear-gradient(135deg, #c13584 0%, #e1306c 50%, #f77737 100%);
}

.initiative-preview-mayahara {
  background: linear-gradient(135deg, #4a6741 0%, #6b8e5a 50%, #3d5a34 100%);
}

.initiative-preview-meeting {
  background: linear-gradient(135deg, #1a3a8a 0%, #2850a8 50%, #1a3a8a 100%);
}

.initiative-preview-digital {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #2563eb 100%);
}

/* 議員写真カード */
.initiative-member-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.4s ease;
}

.initiative-card:hover .initiative-member-img {
  transform: scale(1.05);
}

.initiative-member-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.initiative-member-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
}

.initiative-member-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1em;
}

.preview-icon-meeting {
  font-size: 2.5rem;
  line-height: 1;
}

.preview-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.preview-title {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.preview-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.03em;
}

.initiative-meeting-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* マニフェスト ビジュアル */
.initiative-manifest-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.initiative-manifest-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 29px,
      rgba(26, 58, 138, 0.04) 29px,
      rgba(26, 58, 138, 0.04) 30px
    );
  pointer-events: none;
}

.manifest-icon {
  width: 120px;
  height: 150px;
  margin-bottom: 16px;
}

.manifest-svg {
  width: 100%;
  height: 100%;
}

.manifest-svg .draw-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.initiative-manifest-visual.animated .manifest-svg .draw-path {
  animation: drawLine 1.8s ease-out forwards;
}

.initiative-manifest-visual.animated .manifest-svg .draw-path:nth-child(1) { animation-delay: 0s; }
.initiative-manifest-visual.animated .manifest-svg .draw-path:nth-child(2) { animation-delay: 0.15s; }
.initiative-manifest-visual.animated .manifest-svg .draw-path:nth-child(3) { animation-delay: 0.3s; }
.initiative-manifest-visual.animated .manifest-svg .draw-path:nth-child(4) { animation-delay: 0.4s; }
.initiative-manifest-visual.animated .manifest-svg .draw-path:nth-child(5) { animation-delay: 0.5s; }
.initiative-manifest-visual.animated .manifest-svg .draw-path:nth-child(6) { animation-delay: 0.6s; }
.initiative-manifest-visual.animated .manifest-svg .draw-path:nth-child(7) { animation-delay: 0.7s; }
.initiative-manifest-visual.animated .manifest-svg .draw-path:nth-child(8) { animation-delay: 0.8s; }
.initiative-manifest-visual.animated .manifest-svg .draw-path:nth-child(9) { animation-delay: 0.9s; }
.initiative-manifest-visual.animated .manifest-svg .draw-path:nth-child(10) { animation-delay: 1.0s; }

.manifest-pages {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  text-align: center;
}

.manifest-pages span {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-sub);
  margin-top: 4px;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .initiatives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .initiatives-grid {
    grid-template-columns: 1fr;
  }
  .initiative-card-manifest {
    grid-template-columns: 1fr;
  }
  .initiative-manifest-visual {
    padding: 32px;
    min-height: 200px;
  }
  .initiative-title {
    font-size: 1.05rem;
  }
}

/* ============================================
   VOICE AI - AI柳田と話そう
   ============================================ */
.voiceai {
  background: var(--bg-alt);
  overflow: hidden;
}

.vai-intro {
  max-width: 700px;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 48px;
  font-size: 0.95rem;
}

/* AIフォーラム 準備中 */
.vai-coming-soon {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.vai-coming-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.vai-coming-icon {
  width: 180px;
  height: 180px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0.6;
}

.vai-coming-icon svg {
  width: 100%;
  height: 100%;
}

.vai-coming-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 28px;
  border-radius: 50px;
  letter-spacing: 0.15em;
}

a.vai-coming-link {
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

a.vai-coming-link:hover {
  background: var(--accent-hover, #1a4fd8);
  transform: scale(1.05);
}

.vai-coming-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.vai-coming-desc {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 28px;
}

.vai-coming-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.vai-coming-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

.vai-coming-feature span:first-child {
  font-size: 1.2rem;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.vai-coming-notice {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
}

.vai-coming-notice-text {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.9;
}

@media (max-width: 768px) {
  .vai-coming-soon {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .vai-coming-icon {
    width: 140px;
    height: 140px;
  }
  .vai-coming-notice {
    text-align: left;
  }
}

.vai-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

/* AIアバター部分 */
.vai-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 20px;
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  text-align: center;
}

.vai-avatar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.vai-avatar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  opacity: 0.15;
  transition: all 0.4s ease;
}

.vai-avatar.listening .vai-avatar-ring {
  opacity: 0.4;
  animation: vaiPulse 1.5s ease infinite;
}

.vai-avatar.speaking .vai-avatar-ring {
  opacity: 0.5;
  border-color: #2e7d32;
  animation: vaiPulse 0.8s ease infinite;
}

@keyframes vaiPulse {
  0%, 100% { transform: translate(-50%, -55%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -55%) scale(1.12); opacity: 0.5; }
}

.vai-avatar-inner {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--border);
  transition: border-color 0.4s;
  overflow: hidden;
}

.vai-avatar.listening .vai-avatar-inner {
  border-color: var(--accent);
}

.vai-avatar.speaking .vai-avatar-inner {
  border-color: #2e7d32;
}

.vai-avatar-svg {
  width: 110px;
  height: 110px;
}

.vai-mouth {
  transition: d 0.15s;
}

.vai-avatar.speaking .vai-mouth {
  animation: vaiTalk 0.3s ease infinite alternate;
}

@keyframes vaiTalk {
  0% { d: path("M50 58 Q60 62 70 58"); }
  100% { d: path("M50 58 Q60 68 70 58"); }
}

.vai-avatar-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* 音声波形 */
.vai-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 40px;
  opacity: 0;
  transition: opacity 0.3s;
}

.vai-waveform.active {
  opacity: 1;
}

.vai-waveform span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transition: height 0.1s;
}

.vai-waveform.active span {
  animation: vaiWave 0.6s ease infinite;
}

.vai-waveform.active span:nth-child(1) { animation-delay: 0s; }
.vai-waveform.active span:nth-child(2) { animation-delay: 0.08s; }
.vai-waveform.active span:nth-child(3) { animation-delay: 0.16s; }
.vai-waveform.active span:nth-child(4) { animation-delay: 0.24s; }
.vai-waveform.active span:nth-child(5) { animation-delay: 0.32s; }
.vai-waveform.active span:nth-child(6) { animation-delay: 0.4s; }
.vai-waveform.active span:nth-child(7) { animation-delay: 0.48s; }
.vai-waveform.active span:nth-child(8) { animation-delay: 0.56s; }
.vai-waveform.active span:nth-child(9) { animation-delay: 0.64s; }
.vai-waveform.active span:nth-child(10) { animation-delay: 0.72s; }

@keyframes vaiWave {
  0%, 100% { height: 6px; }
  50% { height: 32px; }
}

.vai-waveform.speaking span {
  background: #2e7d32;
}

[data-theme="dark"] .vai-waveform.speaking span {
  background: #66bb6a;
}

.vai-status {
  font-size: 0.85rem;
  color: var(--text-sub);
  font-weight: 500;
  min-height: 24px;
}

.vai-status.listening {
  color: var(--accent);
  font-weight: 700;
}

.vai-status.speaking {
  color: #2e7d32;
  font-weight: 700;
}

[data-theme="dark"] .vai-status.speaking {
  color: #66bb6a;
}

/* チャットパネル */
.vai-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vai-chat {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  min-height: 300px;
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* メッセージ */
.vai-msg {
  display: flex;
  gap: 10px;
  animation: fadeInUp 0.4s ease;
}

.vai-msg-user {
  flex-direction: row-reverse;
}

.vai-msg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.vai-msg-ai .vai-msg-avatar {
  background: var(--accent);
  color: #fff;
}

.vai-msg-user .vai-msg-avatar {
  background: var(--tag-bg);
  color: var(--tag-text);
}

.vai-msg-bubble {
  max-width: 80%;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.vai-msg-ai .vai-msg-bubble {
  background: var(--bg-alt);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.vai-msg-user .vai-msg-bubble {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* マイクボタン */
.vai-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.vai-mic-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px;
  border-radius: 16px;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vai-mic-btn:hover {
  background: var(--accent);
  color: #fff;
}

.vai-mic-btn.listening {
  background: var(--accent);
  color: #fff;
  animation: vaiMicPulse 1.2s ease infinite;
}

@keyframes vaiMicPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26, 58, 138, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(26, 58, 138, 0); }
}

.vai-mic-label {
  font-size: 0.9rem;
}

/* サンプル質問 */
.vai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.vai-suggest-label {
  font-size: 0.75rem;
  color: var(--text-sub);
  font-weight: 600;
}

.vai-suggest-btn {
  padding: 6px 14px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--card-bg);
  color: var(--text-sub);
  font-size: 0.75rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vai-suggest-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(26, 58, 138, 0.04);
}

.vai-note {
  font-size: 0.7rem;
  color: var(--text-sub);
  opacity: 0.7;
  line-height: 1.7;
  text-align: center;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .vai-container {
    grid-template-columns: 1fr;
  }
  .vai-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .vai-chat {
    min-height: 220px;
    max-height: 300px;
  }
  .vai-avatar-inner {
    width: 110px;
    height: 110px;
  }
  .vai-avatar-ring {
    width: 130px;
    height: 130px;
  }
  .vai-avatar-svg {
    width: 90px;
    height: 90px;
  }
}

/* ============================================
   WORKS
   ============================================ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  cursor: pointer;
  transition: transform 0.4s ease;
}

.work-card:hover {
  transform: translateY(-4px);
}

.work-card-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 4/3;
}

.work-card-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.work-card:hover .work-card-screenshot {
  transform: scale(1.05);
}

.work-card-visual {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.4s ease;
  position: relative;
}

.work-visual-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}

.work-visual-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.work-card:hover .work-card-visual {
  transform: scale(1.03);
}

/* 各カードのグラデーション */
.work-visual-hp {
  background: linear-gradient(135deg, #1a3a8a 0%, #2d5cc7 50%, #4a7adf 100%);
}

.work-visual-chinjo {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #43a047 100%);
}

.work-visual-forum {
  background: linear-gradient(135deg, #0277bd 0%, #0288d1 50%, #039be5 100%);
}

.work-visual-kondan {
  background: linear-gradient(135deg, #1a3a8a 0%, #3949ab 50%, #5c6bc0 100%);
}

.work-visual-sns {
  background: linear-gradient(135deg, #ad1457 0%, #c62828 30%, #e65100 70%, #f9a825 100%);
}

.work-visual-youtube {
  background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 50%, #f44336 100%);
}

.work-card-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-top: 4px;
}

.work-card-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.work-card-category {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--tag-text);
  background: var(--tag-bg);
  padding: 4px 12px;
  border-radius: 20px;
}

.work-card-year {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--text-sub);
}

.work-card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   STRENGTHS
   ============================================ */
.strengths {
  background: var(--bg-alt);
}

.strengths-list {
  max-width: 800px;
}

.strength-item {
  display: flex;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.strength-item:first-child {
  padding-top: 0;
}

.strength-item:hover {
  padding-left: 16px;
}

.strength-num {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  width: 40px;
}

.strength-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.strength-content p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.9;
}

@media (max-width: 480px) {
  .strength-item {
    flex-direction: column;
    gap: 8px;
  }
}

/* ============================================
   NUMBERS
   ============================================ */
.numbers {
  padding: 80px 0;
  background: var(--accent);
  color: #ffffff;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.number-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.number-value {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
}

.number-unit {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 4px;
}

.number-label {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 8px;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* ============================================
   WORKFLOW
   ============================================ */
.workflow {
  padding: 120px 0;
}

.workflow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.workflow-step {
  text-align: center;
  flex: 1;
}

.workflow-step-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.workflow-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.workflow-step p {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.workflow-arrow {
  font-size: 1.2rem;
  color: var(--text-sub);
  margin-top: 16px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .workflow-steps {
    flex-direction: column;
    align-items: stretch;
  }
  .workflow-arrow {
    text-align: center;
    transform: rotate(90deg);
    margin: 8px 0;
  }
}

/* ============================================
   POLIS - 住民参加型合意形成
   ============================================ */
.polis {
  background: var(--bg-alt);
}

.polis-intro {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 2;
  max-width: 700px;
  margin-bottom: 48px;
}

.polis-link {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
}

.polis-link:hover {
  opacity: 0.7;
}

/* Topic Cards */
.polis-topics {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.polis-topic-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.polis-topic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 58, 138, 0.12);
}

.polis-topic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.polis-topic-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--accent);
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.polis-topic-count {
  font-size: 0.8rem;
  color: var(--text-sub);
}

.polis-topic-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Vote Buttons */
.polis-vote-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.polis-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--text);
  font-family: inherit;
}

.polis-btn:hover {
  transform: translateY(-1px);
}

.polis-btn-icon {
  font-size: 1.2rem;
}

.polis-btn-agree:hover,
.polis-btn-agree.voted {
  border-color: #2e7d32;
  background: #e8f5e9;
  color: #2e7d32;
}

.polis-btn-pass:hover,
.polis-btn-pass.voted {
  border-color: #f57f17;
  background: #fff8e1;
  color: #f57f17;
}

.polis-btn-disagree:hover,
.polis-btn-disagree.voted {
  border-color: #c62828;
  background: #ffebee;
  color: #c62828;
}

[data-theme="dark"] .polis-btn-agree:hover,
[data-theme="dark"] .polis-btn-agree.voted {
  border-color: #66bb6a;
  background: rgba(46, 125, 50, 0.15);
  color: #66bb6a;
}

[data-theme="dark"] .polis-btn-pass:hover,
[data-theme="dark"] .polis-btn-pass.voted {
  border-color: #ffa726;
  background: rgba(245, 127, 23, 0.15);
  color: #ffa726;
}

[data-theme="dark"] .polis-btn-disagree:hover,
[data-theme="dark"] .polis-btn-disagree.voted {
  border-color: #ef5350;
  background: rgba(198, 40, 40, 0.15);
  color: #ef5350;
}

.polis-btn.voted {
  pointer-events: none;
}

.polis-btn.dimmed {
  opacity: 0.35;
  pointer-events: none;
}

/* Result Bar */
.polis-result {
  display: none;
}

.polis-result.show {
  display: block;
  animation: fadeInUp 0.4s ease;
}

.polis-bar {
  display: flex;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 8px;
}

.polis-bar-agree {
  background: #4caf50;
  transition: width 0.8s ease;
}

.polis-bar-pass {
  background: #ff9800;
  transition: width 0.8s ease;
}

.polis-bar-disagree {
  background: #f44336;
  transition: width 0.8s ease;
}

.polis-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-sub);
}

.polis-label-agree strong { color: #4caf50; }
.polis-label-pass strong { color: #ff9800; }
.polis-label-disagree strong { color: #f44336; }

/* Submit new idea */
.polis-submit {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  margin-bottom: 40px;
}

.polis-submit-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.polis-submit-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.polis-textarea {
  width: 100%;
  min-height: 100px;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  line-height: 1.7;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.polis-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.polis-textarea::placeholder {
  color: var(--text-sub);
  opacity: 0.6;
}

.polis-submit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.polis-char-count {
  font-size: 0.8rem;
  color: var(--text-sub);
}

.polis-submit-btn {
  padding: 10px 28px;
  font-size: 0.85rem;
}

.polis-cta {
  text-align: center;
}

.polis-cta-text {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* Submitted state */
.polis-submitted {
  text-align: center;
  padding: 24px;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .polis-vote-buttons {
    gap: 8px;
  }
  .polis-btn {
    padding: 12px 12px;
    font-size: 0.85rem;
  }
  .polis-btn-icon {
    font-size: 1rem;
  }
  .polis-topic-card {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .polis-vote-buttons {
    flex-direction: column;
  }
}

/* Your Voice - アプリ紹介 */
.yv-app-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.yv-app-preview {
  position: sticky;
  top: 120px;
}

.yv-app-link {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yv-app-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26, 58, 138, 0.2);
}

.yv-preview-large {
  aspect-ratio: 4 / 3;
  padding: 32px 24px;
  gap: 12px;
}

.yv-preview-btn {
  display: inline-block;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  transition: background 0.3s ease;
}

.yv-app-link:hover .yv-preview-btn {
  background: rgba(255, 255, 255, 0.4);
}

.yv-app-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.yv-app-desc {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 32px;
}

.yv-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.yv-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.yv-feature-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 10px;
}

.yv-feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.yv-feature-text {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.yv-app-cta {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .yv-app-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .yv-app-preview {
    position: static;
  }
  .yv-preview-large {
    aspect-ratio: 16 / 9;
  }
}

/* ============================================
   GIKAI - 議案解説
   ============================================ */
.gikai-intro {
  max-width: 700px;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 40px;
  font-size: 0.95rem;
}

/* カテゴリフィルター */
.gikai-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.gikai-filter {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--card-bg);
  color: var(--text-sub);
  font-size: 0.85rem;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gikai-filter:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.gikai-filter.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* 議案カード一覧 */
.gikai-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.gikai-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.4s ease;
  cursor: pointer;
  border: 1px solid var(--border);
}

.gikai-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 58, 138, 0.12);
}

.gikai-card.hidden {
  display: none;
}

.gikai-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.gikai-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: var(--bg-alt);
  transition: transform 0.4s ease;
}

.gikai-card:hover .gikai-card-placeholder {
  transform: scale(1.05);
}

/* 手描きイラストSVG */
.gikai-card-illust {
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.gikai-card-illust::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 29px,
      rgba(26, 58, 138, 0.04) 29px,
      rgba(26, 58, 138, 0.04) 30px
    );
  pointer-events: none;
}

[data-theme="dark"] .gikai-card-illust::before {
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 29px,
      rgba(74, 122, 223, 0.06) 29px,
      rgba(74, 122, 223, 0.06) 30px
    );
}

.draw-svg {
  width: 100%;
  height: 100%;
  max-width: 380px;
}

/* SVGパス描画アニメーション */
.draw-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: none;
}

.gikai-card-illust.animated .draw-path {
  animation: drawLine 1.8s ease-out forwards;
}

.gikai-card-illust.animated .draw-path:nth-child(1) { animation-delay: 0s; }
.gikai-card-illust.animated .draw-path:nth-child(2) { animation-delay: 0.15s; }
.gikai-card-illust.animated .draw-path:nth-child(3) { animation-delay: 0.3s; }
.gikai-card-illust.animated .draw-path:nth-child(4) { animation-delay: 0.45s; }
.gikai-card-illust.animated .draw-path:nth-child(5) { animation-delay: 0.6s; }
.gikai-card-illust.animated .draw-path:nth-child(6) { animation-delay: 0.7s; }
.gikai-card-illust.animated .draw-path:nth-child(7) { animation-delay: 0.8s; }
.gikai-card-illust.animated .draw-path:nth-child(8) { animation-delay: 0.9s; }
.gikai-card-illust.animated .draw-path:nth-child(9) { animation-delay: 1.0s; }
.gikai-card-illust.animated .draw-path:nth-child(10) { animation-delay: 1.1s; }
.gikai-card-illust.animated .draw-path:nth-child(11) { animation-delay: 1.2s; }
.gikai-card-illust.animated .draw-path:nth-child(12) { animation-delay: 1.3s; }
.gikai-card-illust.animated .draw-path:nth-child(13) { animation-delay: 1.4s; }
.gikai-card-illust.animated .draw-path:nth-child(14) { animation-delay: 1.5s; }
.gikai-card-illust.animated .draw-path:nth-child(15) { animation-delay: 1.6s; }
.gikai-card-illust.animated .draw-path:nth-child(16) { animation-delay: 1.7s; }
.gikai-card-illust.animated .draw-path:nth-child(17) { animation-delay: 1.8s; }
.gikai-card-illust.animated .draw-path:nth-child(18) { animation-delay: 1.9s; }
.gikai-card-illust.animated .draw-path:nth-child(19) { animation-delay: 2.0s; }
.gikai-card-illust.animated .draw-path:nth-child(20) { animation-delay: 2.1s; }

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* ダークモードのSVGカラー調整 */
[data-theme="dark"] .draw-path[stroke="#1a3a8a"] {
  stroke: #6a9aff;
}
[data-theme="dark"] .draw-path[stroke="#795548"] {
  stroke: #a1887f;
}
[data-theme="dark"] .draw-path[stroke="#2e7d32"] {
  stroke: #66bb6a;
}
[data-theme="dark"] .draw-path[stroke="#388e3c"] {
  stroke: #81c784;
}
[data-theme="dark"] .draw-path[stroke="#e65100"] {
  stroke: #ffa726;
}
[data-theme="dark"] .draw-path[stroke="#c62828"] {
  stroke: #ef5350;
}

.gikai-card-body {
  padding: 24px;
}

.gikai-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.gikai-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.gikai-status-passed {
  background: #e8f5e9;
  color: #2e7d32;
}

.gikai-status-review {
  background: #fff3e0;
  color: #e65100;
}

.gikai-status-rejected {
  background: #fce4ec;
  color: #c62828;
}

[data-theme="dark"] .gikai-status-passed {
  background: rgba(46, 125, 50, 0.2);
  color: #66bb6a;
}

[data-theme="dark"] .gikai-status-review {
  background: rgba(230, 81, 0, 0.2);
  color: #ffa726;
}

[data-theme="dark"] .gikai-status-rejected {
  background: rgba(198, 40, 40, 0.2);
  color: #ef5350;
}

.gikai-date {
  font-size: 0.8rem;
  color: var(--text-sub);
}

.gikai-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 12px;
}

.gikai-card-summary {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 16px;
}

.gikai-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gikai-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  background: var(--tag-bg);
  color: var(--tag-text);
}

.gikai-tag-result {
  background: #e8f5e9;
  color: #2e7d32;
}

.gikai-tag-progress {
  background: #fff3e0;
  color: #e65100;
}

[data-theme="dark"] .gikai-tag-result {
  background: rgba(46, 125, 50, 0.2);
  color: #66bb6a;
}

[data-theme="dark"] .gikai-tag-progress {
  background: rgba(230, 81, 0, 0.2);
  color: #ffa726;
}

/* 議案詳細モーダル */
.gikai-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}

.gikai-modal-overlay.active {
  display: flex;
}

.gikai-modal {
  background: var(--card-bg);
  border-radius: 20px;
  max-width: 760px;
  width: 100%;
  position: relative;
  padding: 48px 40px;
  animation: modalIn 0.3s ease;
  margin: auto;
}

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

.gikai-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-sub);
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
}

.gikai-modal-close:hover {
  color: var(--text);
}

/* モーダル内コンテンツ */
.gikai-detail-emoji {
  font-size: 3rem;
  margin-bottom: 16px;
}

.gikai-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.gikai-detail-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 16px;
}

.gikai-detail-summary {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

/* 審議ステータスバー */
.gikai-progress {
  margin-bottom: 36px;
}

.gikai-progress-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.gikai-progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 10px;
}

.gikai-progress-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--border);
  transform: translateY(-50%);
  z-index: 0;
}

.gikai-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.gikai-progress-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--border);
  border: 3px solid var(--card-bg);
  box-shadow: 0 0 0 2px var(--border);
  transition: all 0.3s;
}

.gikai-progress-dot.completed {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.gikai-progress-dot.current {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 0 0 6px rgba(26, 58, 138, 0.2);
}

.gikai-progress-label {
  font-size: 0.75rem;
  color: var(--text-sub);
  text-align: center;
  white-space: nowrap;
}

/* ポイント解説 */
.gikai-points {
  margin-bottom: 36px;
}

.gikai-points-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.gikai-point-item {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.gikai-point-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.gikai-point-item p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* 意見が分かれるところ */
.gikai-opinions {
  margin-bottom: 36px;
}

.gikai-opinions-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.gikai-opinion-box {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.gikai-opinion-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.gikai-opinion-box h4.pro {
  color: #2e7d32;
}

.gikai-opinion-box h4.con {
  color: #e65100;
}

.gikai-opinion-box p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* 影響を受ける人 */
.gikai-impact {
  margin-bottom: 20px;
}

.gikai-impact-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.gikai-impact-list {
  list-style: none;
  padding: 0;
}

.gikai-impact-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.gikai-impact-list li strong {
  color: var(--text);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .gikai-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .gikai-modal {
    padding: 32px 24px;
    margin: 20px auto;
  }
  .gikai-detail-title {
    font-size: 1.2rem;
  }
  .gikai-progress-bar {
    padding: 0;
  }
  .gikai-progress-label {
    font-size: 0.65rem;
  }
  .gikai-filters {
    gap: 8px;
  }
  .gikai-filter {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .gikai-card-image {
    height: 150px;
  }
  .gikai-card-body {
    padding: 20px 16px;
  }
}

/* ============================================
   CITY REPORT - まちの通報
   ============================================ */
.cityreport {
  background: var(--bg-alt);
}

.cr-intro {
  max-width: 700px;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 48px;
  font-size: 0.95rem;
}

/* 通報統計 */
.cr-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
}

.cr-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
  border-radius: 14px;
  padding: 20px 28px;
  box-shadow: var(--card-shadow);
  flex: 1;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.cr-stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 58, 138, 0.1);
}

.cr-stat-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.cr-stat-icon svg {
  width: 100%;
  height: 100%;
}

.cr-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.cr-stat-label {
  font-size: 0.8rem;
  color: var(--text-sub);
  font-weight: 500;
}

/* メインレイアウト */
.cr-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}

/* 地図エリア */
.cr-map-area {
  position: relative;
}

.cr-map {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}

.cr-map-bg {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.cr-map-svg {
  width: 100%;
  height: 100%;
}

.cr-map-svg text {
  fill: var(--text-sub);
}

[data-theme="dark"] .cr-map-svg text[fill="var(--accent)"] {
  fill: var(--accent);
}

/* ピン */
.cr-pin {
  position: absolute;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.cr-pin:hover {
  transform: translate(-50%, -100%) scale(1.3);
  z-index: 20;
}

.cr-pin::after {
  content: attr(title);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.cr-pin:hover::after {
  opacity: 1;
}

/* マップ凡例 */
.cr-map-legend {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}

.cr-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-sub);
}

.cr-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.cr-dot-new { background: #1a3a8a; }
.cr-dot-progress { background: #e65100; }
.cr-dot-resolved { background: #2e7d32; }

[data-theme="dark"] .cr-dot-new { background: #4a7adf; }
[data-theme="dark"] .cr-dot-progress { background: #ffa726; }
[data-theme="dark"] .cr-dot-resolved { background: #66bb6a; }

/* 通報フォーム */
.cr-form-area {
  position: relative;
}

.cr-form-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}

.cr-form-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.cr-form-group {
  margin-bottom: 24px;
}

.cr-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

/* カテゴリグリッド */
.cr-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cr-category-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--text-sub);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
}

.cr-category-btn svg {
  width: 32px;
  height: 32px;
}

.cr-category-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(26, 58, 138, 0.04);
}

.cr-category-btn.active {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

[data-theme="dark"] .cr-category-btn:hover {
  background: rgba(74, 122, 223, 0.08);
}

[data-theme="dark"] .cr-category-btn.active {
  background: var(--accent);
  color: #fff;
}

/* 写真アップロード */
.cr-photo-dropzone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-sub);
}

.cr-photo-dropzone:hover {
  border-color: var(--accent);
  background: rgba(26, 58, 138, 0.03);
}

.cr-photo-dropzone.dragover {
  border-color: var(--accent);
  background: rgba(26, 58, 138, 0.06);
}

.cr-photo-dropzone p {
  font-size: 0.85rem;
  margin-top: 10px;
  line-height: 1.6;
}

.cr-photo-dropzone p span {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

.cr-photo-preview {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.cr-photo-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border);
}

.cr-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cr-photo-thumb-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* 入力フィールド */
.cr-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.cr-input:focus {
  outline: none;
  border-color: var(--accent);
}

.cr-input::placeholder {
  color: var(--text-sub);
  opacity: 0.6;
}

.cr-textarea {
  width: 100%;
  min-height: 100px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  line-height: 1.7;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.cr-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.cr-textarea::placeholder {
  color: var(--text-sub);
  opacity: 0.6;
}

.cr-char-count {
  display: block;
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-top: 6px;
}

.cr-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
  margin-top: 8px;
}

/* 送信完了 */
.cr-form-success {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 48px 32px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

.cr-success-icon {
  margin-bottom: 20px;
}

.cr-success-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.cr-success-text {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 28px;
}

.cr-reset-btn {
  display: inline-flex;
}

/* 通報一覧 */
.cr-reports {
  margin-top: 16px;
}

.cr-reports-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}

.cr-report-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.cr-report-filter {
  padding: 6px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--card-bg);
  color: var(--text-sub);
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cr-report-filter:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cr-report-filter.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.cr-report-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 通報カード */
.cr-report-card {
  background: var(--card-bg);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}

.cr-report-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(26, 58, 138, 0.1);
}

.cr-report-card.hidden {
  display: none;
}

.cr-report-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: var(--bg-alt);
}

.cr-report-img-placeholder {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  font-size: 2.5rem;
}

.cr-report-body {
  padding: 18px;
}

.cr-report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cr-report-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cr-status-new {
  background: rgba(26, 58, 138, 0.1);
  color: #1a3a8a;
}

.cr-status-progress {
  background: #fff3e0;
  color: #e65100;
}

.cr-status-resolved {
  background: #e8f5e9;
  color: #2e7d32;
}

[data-theme="dark"] .cr-status-new {
  background: rgba(74, 122, 223, 0.15);
  color: #6a9aff;
}

[data-theme="dark"] .cr-status-progress {
  background: rgba(230, 81, 0, 0.15);
  color: #ffa726;
}

[data-theme="dark"] .cr-status-resolved {
  background: rgba(46, 125, 50, 0.15);
  color: #66bb6a;
}

.cr-report-date {
  font-size: 0.7rem;
  color: var(--text-sub);
}

.cr-report-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 8px;
}

.cr-report-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-sub);
}

.cr-report-location svg {
  flex-shrink: 0;
}

.cr-report-cat {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.65rem;
  background: var(--tag-bg);
  color: var(--tag-text);
  margin-top: 8px;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .cr-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cr-stats {
    flex-direction: column;
    gap: 12px;
  }
  .cr-stat-item {
    padding: 16px 20px;
  }
  .cr-category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .cr-report-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .cr-form-card {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .cr-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cr-report-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   NEWS
   ============================================ */
.news-list {
  max-width: 800px;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.news-item:hover {
  padding-left: 12px;
}

.news-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--text-sub);
  flex-shrink: 0;
  width: 100px;
}

.news-tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--tag-text);
  background: var(--tag-bg);
  padding: 4px 12px;
  border-radius: 20px;
  flex-shrink: 0;
}

.news-title {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .news-item {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .news-title {
    width: 100%;
  }
}

/* ============================================
   VOICES (Testimonials)
   ============================================ */
.voices {
  background: var(--bg-alt);
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.voice-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease;
}

.voice-card:hover {
  transform: translateY(-4px);
}

.voice-text {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.voice-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.voice-name {
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .voices-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  text-align: center;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact-text {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 40px;
}

.contact-email {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text-sub);
  letter-spacing: 0.02em;
}

/* --- Contact Form (Google Forms embed) --- */
.contact-privacy-notice {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.contact-privacy-notice a {
  color: var(--accent);
  text-decoration: underline;
}

.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.contact-google-form {
  width: 100%;
  height: 600px;
  border: none;
}

/* ============================================
   PRIVACY POLICY
   ============================================ */
.terms-content {
  max-width: 800px;
  margin: 0 auto;
}

.terms-intro {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 28px;
  text-align: center;
}

.terms-accordion {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.terms-accordion:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.terms-accordion summary {
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: background 0.2s ease;
}

.terms-accordion summary:hover {
  background: var(--bg-alt);
}

.terms-accordion summary::-webkit-details-marker {
  display: none;
}

.terms-accordion summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-sub);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.terms-accordion[open] summary::after {
  content: '−';
}

.terms-accordion[open] summary {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.terms-accordion-body {
  padding: 20px 24px;
  animation: termsSlideDown 0.3s ease;
}

@keyframes termsSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.terms-accordion-body p {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 8px;
}

.terms-accordion-body ol {
  margin: 8px 0 0 20px;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 2;
}

.terms-accordion-body strong {
  color: var(--primary);
}

.terms-privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.terms-privacy-card {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 20px;
}

.terms-privacy-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.terms-privacy-card p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.terms-contact {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-radius: 12px;
  text-align: center;
}

.terms-contact p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.terms-contact a {
  color: var(--primary);
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-alt);
  padding: 80px 0 40px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
}

[data-theme="dark"] .footer-logo-img {
  filter: brightness(1.5) saturate(0.5);
}

[data-theme="dark"] .logo-img {
  filter: brightness(1.5) saturate(0.5);
}

.footer-address {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.footer-nav {
  display: flex;
  gap: 60px;
  justify-content: flex-end;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-nav-col a {
  font-size: 0.85rem;
  color: var(--text-sub);
  transition: color 0.3s ease;
}

.footer-nav-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-sub);
}

.footer-privacy {
  font-size: 0.75rem;
  color: var(--text-sub);
}

.footer-privacy:hover {
  color: var(--accent);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-nav {
    justify-content: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   RESPONSIVE (Section padding)
   ============================================ */
@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
  .section-title {
    margin-bottom: 40px;
  }
  .section-title-en {
    font-size: 2rem;
  }
  .hero-scroll {
    margin-top: 32px;
  }
  .hero-lines {
    max-width: 300px;
  }
}
