/* =====================================================
   福知山市民救命・福祉の会 — メインスタイルシート
   カラー: 白(ベース) / カームブルー(メイン) / ソフトオレンジ(アクセント)
   モバイルファースト・温かみ・清潔感
   ===================================================== */

/* ── CSS変数 ───────────────────────────────────────── */
:root {
  /* カラーパレット */
  --primary:       #2563a8;   /* 落ち着いた青 */
  --primary-dark:  #1a4a8c;
  --primary-light: #e8f0fb;
  --primary-mid:   #5b8ed4;
  --accent:        #f07030;   /* ソフトオレンジ */
  --accent-light:  #fff3ec;
  --accent-dark:   #d05a20;
  --green:         #2e9e6e;
  --green-light:   #eafaf3;
  --gold:          #d4a017;
  --gold-light:    #fdf6e3;

  /* 文字色 */
  --text:          #1a2435;
  --text-sub:      #4a5568;
  --text-muted:    #718096;
  --text-on-dark:  #ffffff;

  /* 背景 */
  --bg:            #ffffff;
  --bg-soft:       #f7f9fc;
  --bg-alt:        #eef2f8;
  --bg-warm:       #fdf8f4;

  /* シャドウ */
  --shadow-sm:  0 2px  8px rgba(37,99,168,0.08);
  --shadow-md:  0 4px 20px rgba(37,99,168,0.12);
  --shadow-lg:  0 8px 40px rgba(37,99,168,0.16);
  --shadow-card:0 2px 12px rgba(0,0,0,0.07);

  /* 形状 */
  --radius:     16px;
  --radius-sm:  8px;
  --radius-lg:  24px;
  --radius-pill:999px;

  /* トランジション */
  --transition: 0.25s ease;
  --transition-slow: 0.45s ease;

  /* フォント */
  --font-base: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --font-display: 'Noto Serif JP', Georgia, serif;
}

/* ── リセット・ベース ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--primary-dark); }

ul, ol { list-style: none; }

/* ── レイアウト ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-warm {
  background: var(--bg-warm);
}

.section-primary {
  background: var(--primary);
  color: var(--text-on-dark);
}

/* ── セクションタイトル ──────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-sub);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-title-line {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ── ヘッダー・ナビ ──────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(37,99,168,0.1);
  box-shadow: 0 2px 12px rgba(37,99,168,0.08);
  transition: box-shadow var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
}

.header-logo-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.header-logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1;
}

/* デスクトップナビ */
.header-nav {
  display: none;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  text-decoration: none;
  background: transparent;
  transition: all var(--transition);
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.header-nav a i { font-size: 0.8rem; }

/* ナビゲーション クラスユーティリティ */
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  text-decoration: none;
  background: transparent;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-icon { font-size: 0.8rem; }
.nav-icon-sm { font-size: 0.8rem; width: 14px; }
.nav-chevron { font-size: 0.6rem; }
.nav-dropdown-wrap { position: relative; }
.nav-dropdown-toggle { cursor: pointer; }
.desk-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.08);
  min-width: 180px;
  padding: 8px;
  z-index: 1000;
  list-style: none;
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sub);
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  transition: all var(--transition);
}
.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  color: var(--primary);
  background: var(--primary-light);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 8px;
}

/* モバイルメニューボタン */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.mobile-menu-btn:hover { background: var(--bg-soft); }

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all var(--transition);
  display: block;
}

.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルドロワー */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  overflow-y: auto;
  z-index: 899;
  padding: 20px 20px 40px;
  border-top: 1px solid var(--bg-alt);
}

.mobile-nav.open { display: block; }

.mobile-nav-section {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 0 6px;
  border-top: 1px solid var(--bg-alt);
  margin-top: 8px;
}

.mobile-nav-section:first-child { border-top: none; margin-top: 0; }

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--bg-soft);
  transition: color var(--transition);
}

.mobile-nav a i { width: 18px; color: var(--primary); font-size: 0.9rem; }
.mobile-nav a:hover { color: var(--primary); }

.mobile-nav-cta {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── ヒーローセクション ──────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(160deg, #1a3f7c 0%, #2563a8 45%, #3a7bc8 100%);
  color: #fff;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70%;
  height: 160%;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.95);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #fff;
}

.hero-title em {
  font-style: normal;
  color: #fcd34d;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-purpose {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 36px;
}

.hero-purpose-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}

.hero-purpose-item i {
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── ボタン ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: 0.02em;
  white-space: nowrap;
  min-height: 48px;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-color: transparent;
}

.btn-primary:hover { background: linear-gradient(135deg, #f58040, #c04010); color: #fff; }

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover { background: rgba(255,255,255,0.25); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.btn-outline-white:hover { background: rgba(255,255,255,0.15); color: #fff; }

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-color: transparent;
}

.btn-accent:hover { background: linear-gradient(135deg, #f58040, #c04010); color: #fff; }

.btn-green {
  background: linear-gradient(135deg, var(--green), #236e4c);
  color: #fff;
  border-color: transparent;
}

.btn-green:hover { background: linear-gradient(135deg, #26875d, #1a5a3c); color: #fff; }

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
  min-height: 36px;
}

.btn-block { width: 100%; }

/* ── 統計グリッド ────────────────────────────────────── */
.stats-section {
  padding: 40px 0 60px;
  background: var(--bg);
}

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

.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(37,99,168,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat-number span { font-size: 1rem; font-weight: 700; }

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 600;
}

/* ── カードグリッド ──────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2.5rem;
}

.card-img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--primary-light), var(--bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2.5rem;
}

.card-header {
  padding: 24px 24px 0;
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

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

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-text {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ── 活動カードスペシャル ────────────────────────────── */
.activity-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.activity-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.activity-card-icon.blue  { background: var(--primary-light); color: var(--primary); }
.activity-card-icon.green { background: var(--green-light); color: var(--green); }
.activity-card-icon.orange{ background: var(--accent-light); color: var(--accent); }
.activity-card-icon.gold  { background: var(--gold-light); color: var(--gold); }

.activity-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.activity-card-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.7;
  flex: 1;
}

/* ── ニュースリスト ──────────────────────────────────── */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--bg-alt);
  text-decoration: none;
  color: var(--text);
  transition: background var(--transition);
}

.news-item:first-child { border-top: 1px solid var(--bg-alt); }
.news-item:hover { background: var(--bg-soft); padding-left: 8px; border-radius: var(--radius-sm); }

.news-item-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 600;
  min-width: 80px;
  margin-top: 2px;
}

.news-item-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-info    { background: #e0f0ff; color: #1a6bb5; }
.badge-event   { background: #fff3e0; color: #d07010; }
.badge-urgent  { background: #ffe0e0; color: #c0261a; }
.badge-report  { background: #e8f5e9; color: #2e7d32; }
.badge-new     { background: #e8f5e9; color: #2e7d32; }
.badge-in-progress { background: #fff9c4; color: #f57f17; }
.badge-done    { background: #f5f5f5; color: #757575; }

.news-item-title {
  font-size: 0.925rem;
  font-weight: 700;
  line-height: 1.5;
  flex: 1;
}

/* ── 支援者・声のカード ──────────────────────────────── */
.voice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.voice-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
}

.voice-card::before {
  content: '\201C';
  position: absolute;
  top: 14px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
  line-height: 1;
}

.voice-card-text {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.85;
  padding-top: 16px;
  font-style: italic;
}

.voice-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bg-alt);
}

.voice-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.voice-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.voice-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* ── CTAセクション ───────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
}

.cta-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ── フォーム ────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.form-required {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: #e53e3e;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 5px;
  vertical-align: middle;
}

.form-optional {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-base);
  color: var(--text);
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,168,0.12);
}

.form-control::placeholder { color: #a0aec0; }

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.form-check-label {
  font-size: 0.9rem;
  color: var(--text-sub);
  cursor: pointer;
  line-height: 1.5;
}

.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.06);
}

/* ── フッター ────────────────────────────────────────── */
.site-footer {
  background: #12263f;
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.footer-brand-name {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.footer-brand-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

.footer-brand-desc {
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 300px;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}

.footer-links a:hover { color: #fff; }
.footer-links a i { font-size: 0.7rem; opacity: 0.6; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}

.footer-contact-item i {
  width: 16px;
  color: var(--primary-mid);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

.footer-sns {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.footer-sns a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-sns a:hover { background: var(--primary); color: #fff; }

/* ── パンくず ────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb span { color: var(--text-muted); }

/* ── ページヘッダー ──────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 52px 0 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.page-header-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.page-header-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  max-width: 500px;
  margin: 0 auto;
}

/* ── ハイライトボックス ──────────────────────────────── */
.highlight-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.highlight-box.accent {
  background: var(--accent-light);
  border-left-color: var(--accent);
}

.highlight-box.green {
  background: var(--green-light);
  border-left-color: var(--green);
}

/* ── アラート ────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.alert i { margin-top: 2px; flex-shrink: 0; }
.alert-info    { background: #e0f0ff; color: #1a5a9a; border: 1px solid #b3d7ff; }
.alert-success { background: var(--green-light); color: #1a5e38; border: 1px solid #a0ddb8; }
.alert-warning { background: #fff9e6; color: #8a5c00; border: 1px solid #fcd878; }
.alert-danger  { background: #ffeaea; color: #941a1a; border: 1px solid #ffb3b3; }

/* ── テーブル ────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--bg-alt);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.table th, .table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--bg-alt);
}

.table th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--text-sub);
  font-size: 0.8rem;
  white-space: nowrap;
}

.table tbody tr:hover { background: var(--bg-soft); }
.table tbody tr:last-child td { border-bottom: none; }

/* ── About ページ用 ──────────────────────────────────── */
.mission-block {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  margin-bottom: 32px;
}

.mission-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.mission-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

.rep-card {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(0,0,0,0.05);
}

.rep-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2rem;
  margin: 0 auto;
}

.rep-name {
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}

.rep-title {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.rep-message {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-sub);
  font-style: italic;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
}

/* ── FAQ ────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--bg-alt);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--text);
  user-select: none;
}

.faq-question::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  transform: rotate(-180deg);
}

.faq-question-q {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
}

.faq-answer {
  display: none;
  padding: 0 4px 18px;
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.faq-answer-a {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 0.8rem;
  font-weight: 900;
  margin-right: 8px;
  flex-shrink: 0;
}

.faq-item.open .faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* ── 寄付ページ用 ─────────────────────────────────────── */
.donate-amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.donate-amount-btn {
  padding: 14px 8px;
  border: 2px solid var(--bg-alt);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-sub);
  text-align: center;
  transition: all var(--transition);
}

.donate-amount-btn:hover, .donate-amount-btn.selected {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.donate-example-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.donate-example-amount {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--accent);
  white-space: nowrap;
  min-width: 72px;
  text-align: center;
}

.donate-example-desc {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.5;
}

/* ── カレンダー ──────────────────────────────────────── */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--bg-alt);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cal-head {
  background: var(--primary);
  color: #fff;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 10px 4px;
}

.cal-cell {
  border-top: 1px solid var(--bg-alt);
  border-right: 1px solid var(--bg-alt);
  min-height: 56px;
  padding: 6px;
  position: relative;
  background: #fff;
}

.cal-cell:nth-child(7n) { border-right: none; }
.cal-cell.other-month { background: var(--bg-soft); }
.cal-cell.today { background: var(--primary-light); }

.cal-day {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.cal-today-dot {
  display: inline-flex;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.cal-event-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 4px;
}

/* ── ギャラリーグリッド ──────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2rem;
}

/* ── スクロールトップ ─────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 800;
  border: none;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ── アニメーション ──────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-in   { animation: fadeIn   0.6s ease both; }
.fade-in-d1{ animation: fadeInUp 0.7s 0.1s ease both; }
.fade-in-d2{ animation: fadeInUp 0.7s 0.2s ease both; }
.fade-in-d3{ animation: fadeInUp 0.7s 0.35s ease both; }
.fade-in-d4{ animation: fadeInUp 0.7s 0.5s ease both; }

.observe {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.observe.visible {
  opacity: 1;
  transform: translateY(0);
}
/* JS未読込・低速端末・no-scriptのフォールバック：0.8秒後に強制表示 */
@media (prefers-reduced-motion: reduce) {
  .observe {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* JSが有効でないブラウザ向けのフォールバック */
html:not(.js-observe-ready) .observe {
  animation: observeFallback 0s 1.5s forwards;
}
@keyframes observeFallback {
  to { opacity: 1; transform: translateY(0); }
}

/* ── ユーティリティ ──────────────────────────────────── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-small  { font-size: 0.82rem; }
.text-muted  { color: var(--text-muted); }
.text-primary{ color: var(--primary); }
.text-accent { color: var(--accent); }
.text-green  { color: var(--green); }
.fw-bold     { font-weight: 700; }
.fw-black    { font-weight: 900; }
.d-none      { display: none !important; }
.d-flex      { display: flex; }
.d-grid      { display: grid; }
.align-center{ align-items: center; }
.justify-between{ justify-content: space-between; }
.gap-8       { gap: 8px; }
.gap-12      { gap: 12px; }
.gap-16      { gap: 16px; }
.mt-8        { margin-top: 8px; }
.mt-16       { margin-top: 16px; }
.mt-24       { margin-top: 24px; }
.mt-32       { margin-top: 32px; }
.mb-8        { margin-bottom: 8px; }
.mb-16       { margin-bottom: 16px; }
.mb-24       { margin-bottom: 24px; }
.mb-32       { margin-bottom: 32px; }
.px-16       { padding-left: 16px; padding-right: 16px; }
.py-8        { padding-top: 8px; padding-bottom: 8px; }
.pt-0        { padding-top: 0; }

/* 緊急連絡ボタン */
.emergency-btn {
  position: fixed;
  bottom: 76px;
  right: 20px;
  background: #e53e3e;
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all var(--transition);
}
.emergency-btn:hover { background: #c53030; color: #fff; transform: scale(1.04); }

/* ── タブレット (640px+) ────────────────────────────── */
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid  { grid-template-columns: repeat(2, 1fr); }
  .voice-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .donate-amount-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── デスクトップ (960px+) ─────────────────────────── */
@media (min-width: 960px) {
  .header-nav  { display: block; }
  .header-cta  { display: flex; }
  .mobile-menu-btn { display: none; }

  .hero { padding: 100px 0 80px; }
  .hero-inner { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; }
  .hero-btns { flex-wrap: nowrap; }

  .card-grid  { grid-template-columns: repeat(3, 1fr); }
  .voice-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }

  .rep-card { flex-direction: row; }
  .rep-avatar { margin: 0; }
}

/* ── 大画面 (1200px+) ──────────────────────────────── */
@media (min-width: 1200px) {
  .container { padding: 0 32px; }
  .section { padding: 88px 0; }
}

/* ── プリント ────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .scroll-top, .emergency-btn { display: none; }
  .section { padding: 24px 0; }
}

/* ── stat-number 各バリアント ─────────────── */
.stat-number-tbd {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
/* 随時募集中 */
.stat-recruit {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.04em;
}
/* 2026スタート */
.stat-launch {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* ── 共通インラインスタイル代替クラス ────────────── */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8   { margin-top: 8px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mb-8   { margin-bottom: 8px; }
.mb-16  { margin-bottom: 16px; }
.mb-24  { margin-bottom: 24px; }
.text-xs  { font-size: 0.75rem; }
.text-sm  { font-size: 0.875rem; }
.text-lg  { font-size: 1.125rem; }
.text-xl  { font-size: 1.25rem; }
.font-bold   { font-weight: 700; }
.font-black  { font-weight: 900; }
.rounded-full{ border-radius: 50%; }
.rounded-lg  { border-radius: var(--radius-lg); }
.w-full  { width: 100%; }
.max-w-sm { max-width: 480px; }
.max-w-md { max-width: 640px; }
.max-w-lg { max-width: 760px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── LINEバナーホバー ────────────────────────── */
.line-banner a:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}

/* ── ニュースエントリ（カテゴリフィルター用） ── */
.news-entry { transition: opacity 0.2s; }

/* ── FAQ セクション ──────────────────────────── */
.faq-item .faq-q:hover { background: var(--bg-soft) !important; }

/* ── シェアボタン ──────────────────────────── */
.share-btns a:hover { opacity: 0.85; }

/* ── テーブル レスポンシブ ─────────────────── */
@media (max-width: 640px) {
  table { font-size: 0.8rem; }
  table th, table td { padding: 8px 10px; }
}

/* ============================================================
   追加コンポーネント: ヒーロー刷新・ターゲットグリッド・活動カード
   ============================================================ */

/* ── 新ヒーローレイアウト ──────────────────────── */
.hero-kyumei {
  background: linear-gradient(135deg, #1a3a6b 0%, #2563a8 45%, #1e5fa8 100%);
  padding: 72px 0 64px;
  overflow: hidden;
  position: relative;
}
.hero-kyumei::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-layout-centered {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero-text-col-center .hero-purpose {
  justify-content: center;
}
.hero-text-col-center .hero-btns {
  justify-content: center;
}
.hero-lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.85;
  margin-bottom: 20px;
}
.hero-lead strong {
  color: #fcd34d;
  font-weight: 800;
}
.hero-contact-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
}
.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-pill);
  padding: 13px 28px;
  font-weight: 700;
  transition: all var(--transition);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
}

/* ── ヒーロー写真プレースホルダー ──────────────── */
.hero-visual-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-photo-main {
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-photo-placeholder {
  background: linear-gradient(135deg, rgba(37,99,168,0.3), rgba(240,112,48,0.2));
  border: 2px dashed rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.hero-photo-placeholder i {
  font-size: 3rem;
  color: rgba(255,255,255,0.6);
}
.hero-photo-placeholder span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 700;
}
.hero-photo-placeholder small {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.hero-photo-sub-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-photo-placeholder-sm {
  background: linear-gradient(135deg, rgba(37,99,168,0.2), rgba(37,99,168,0.1));
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  padding: 24px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-photo-placeholder-sm i { font-size: 1.5rem; color: rgba(255,255,255,0.5); }
.hero-photo-placeholder-sm span { font-size: 0.75rem; color: rgba(255,255,255,0.6); font-weight: 700; }

/* ── ターゲットグリッド ─────────────────────────── */
.target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.target-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(37,99,168,0.08);
  transition: all var(--transition);
  text-align: center;
}
.target-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.target-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 12px;
}
.target-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.target-desc {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ── 活動カード V2（横レイアウト） ─────────────── */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.activity-card-link {
  text-decoration: none;
  display: block;
}
.activity-card-v2 {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
a.activity-card-link .activity-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.activity-card-v2-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 20px 20px 0;
  flex-shrink: 0;
  border: 3px solid transparent;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.8);
  transition: transform 0.2s, box-shadow 0.2s;
}
a.activity-card-link:hover .activity-card-v2-icon {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.9);
}
.activity-card-v2.blue .activity-card-v2-icon { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.activity-card-v2.green .activity-card-v2-icon { background: var(--green-light); color: var(--green); border-color: var(--green); }
.activity-card-v2.gold .activity-card-v2-icon { background: var(--gold-light); color: var(--gold); border-color: var(--gold); }
.activity-card-v2.orange .activity-card-v2-icon { background: var(--accent-light); color: var(--accent); border-color: var(--accent); }
.activity-card-v2-body {
  padding: 16px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.activity-card-v2-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.activity-card-v2-desc {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.65;
  flex: 1;
}
.activity-card-v2-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  margin-top: 12px;
}

/* ── ボランティアページ ─────────────────────────── */
.volunteer-who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.volunteer-who-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid rgba(37,99,168,0.08);
}
.volunteer-who-card > i {
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.volunteer-who-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.volunteer-who-card p {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.55;
  margin: 0;
}

.volunteer-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.volunteer-role-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  gap: 0;
  flex-direction: column;
}
.volunteer-role-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 20px 20px 0;
}
.volunteer-role-body { padding: 12px 20px 20px; }
.volunteer-role-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 8px;
}
.volunteer-role-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.volunteer-role-desc {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 10px;
}
.volunteer-role-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.volunteer-role-meta i { margin-right: 4px; color: var(--primary); }

/* ── ステップUI ─────────────────────────────────── */
.join-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.join-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.06);
}
.join-step-arrow {
  text-align: center;
  color: var(--text-muted);
  padding: 8px 0;
  font-size: 1.2rem;
}
.join-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.join-step-content h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.join-step-content p {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ── 寄付ページ ─────────────────────────────────── */
.donate-appeal {
  background: linear-gradient(135deg, var(--primary-light), var(--bg-soft));
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  border-left: 4px solid var(--primary);
}
.donate-appeal-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin: 0 auto 16px;
}
.donate-appeal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.donate-appeal-text {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.85;
}
.donate-usage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.donate-usage-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(37,99,168,0.08);
  text-align: center;
}
.donate-usage-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto 12px;
}
.donate-usage-card h3 {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.donate-usage-card p {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.55;
}
.donate-usage-example {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  background: var(--primary-light);
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  display: inline-block;
}
.donate-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.donate-type-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.donate-type-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.donate-type-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.donate-type-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}
.donate-type-desc {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
}
.donate-type-method {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 8px;
}
.donate-type-method-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.donate-type-method-desc {
  font-size: 0.78rem;
  color: var(--text-sub);
}
.donate-type-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}
.donate-type-list li {
  font-size: 0.82rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── お問い合わせフォーム改善 ──────────────────── */
.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.contact-method-line {
  background: linear-gradient(135deg, #06C755, #00a040);
  color: #fff;
}
.contact-method-line:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(6,199,85,0.35); }
.contact-method-email {
  background: #fff;
  border-color: rgba(37,99,168,0.2);
}
.contact-method-email:hover { border-color: var(--primary); background: var(--primary-light); }
.contact-method-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-method-line .contact-method-icon {
  background: rgba(255,255,255,0.2);
}
.contact-method-body { flex: 1; }
.contact-method-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: inherit;
  margin-bottom: 4px;
}
.contact-method-line .contact-method-title,
.contact-method-line .contact-method-desc { color: #fff; }
.contact-method-email .contact-method-title { color: var(--text); }
.contact-method-email .contact-method-desc { color: var(--text-sub); }
.contact-method-desc {
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.9;
}
.contact-method-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.contact-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}
.contact-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--bg-alt);
}
.contact-divider span {
  position: relative;
  background: #fff;
  padding: 0 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 6px;
  font-weight: 400;
}

/* ── komugiサイト用追加スタイル ────────────────── */
.komugi-about-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.komugi-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.komugi-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-sub,#4a5568);
}
.komugi-info-item i {
  color: #c8860a;
  flex-shrink: 0;
  margin-top: 3px;
}
.komugi-about-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.komugi-stat-card {
  background: #fff;
  border-radius: var(--radius,16px);
  padding: 20px;
  box-shadow: var(--shadow-card);
  text-align: center;
  border: 1px solid rgba(200,134,10,0.12);
}
.komugi-stat-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg,#c8860a,#a05c07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  margin: 0 auto 8px;
}

/* komugi CTA */
.komugi-cta {
  background: linear-gradient(135deg, #4a3000 0%, #7a5200 100%) !important;
}

/* komugi step (horizontal) */
.join-steps-h {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.join-step-h {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}
.join-step-h-num {
  width: 36px;
  height: 36px;
  background: #c8860a;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.join-step-h-icon {
  font-size: 1.5rem;
  color: #c8860a;
  margin-bottom: 8px;
}
.join-step-h-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text,#1a1a1a);
  margin-bottom: 6px;
}
.join-step-h-desc {
  font-size: 0.8rem;
  color: var(--text-sub,#4a5568);
  line-height: 1.55;
}
.join-step-h-arrow {
  font-size: 1.2rem;
  color: var(--text-muted,#718096);
  padding-top: 40px;
  flex-shrink: 0;
}

/* komugi partner card */
.partner-card {
  background: #fff;
  border-radius: var(--radius,16px);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(37,99,168,0.1);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.partner-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg,#1a3a6b,#2563a8);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
}
.partner-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text,#1a1a1a);
  margin-bottom: 8px;
}
.partner-card-desc {
  font-size: 0.875rem;
  color: var(--text-sub,#4a5568);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* komugi activities grid */
.komugi-activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.komugi-activity-card {
  background: #fff;
  border-radius: var(--radius,16px);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.06);
}
.komugi-activity-header {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.komugi-activity-icon {
  font-size: 2.5rem;
}
.komugi-activity-body {
  padding: 20px 24px 24px;
}
.komugi-activity-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.komugi-activity-desc {
  font-size: 0.875rem;
  color: var(--text-sub,#4a5568);
  line-height: 1.75;
  margin-bottom: 14px;
}
.komugi-activity-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.komugi-activity-details li {
  font-size: 0.82rem;
  color: var(--text-sub,#4a5568);
  display: flex;
  align-items: center;
  gap: 6px;
}
.komugi-freq {
  font-size: 0.8rem;
  color: var(--text-muted,#718096);
}
.komugi-activity-freq {
  font-size: 0.8rem;
  color: var(--text-muted,#718096);
  background: var(--bg-soft,#f7f9fc);
  padding: 6px 12px;
  border-radius: var(--radius-pill,9999px);
  display: inline-block;
}

/* two-col-sm */
.two-col-sm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* ── モバイル対応 ─────────────────────────────── */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-visual-col { display: none; }
  .hero-purpose { justify-content: center; }
  .hero-btns { justify-content: center; }
  .target-grid { grid-template-columns: repeat(2, 1fr); }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .volunteer-who-grid { grid-template-columns: repeat(2, 1fr); }
  .volunteer-roles-grid { grid-template-columns: repeat(2, 1fr); }
  .donate-usage-grid { grid-template-columns: repeat(2, 1fr); }
  .donate-type-grid { grid-template-columns: 1fr; }
  .contact-methods { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .komugi-about-layout { grid-template-columns: 1fr; }
  .komugi-activities-grid { grid-template-columns: 1fr; }
  .join-steps-h { flex-direction: column; }
  .join-step-h-arrow { transform: rotate(90deg); padding: 0 0 0 10px; }
  .two-col-sm { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .target-grid { grid-template-columns: repeat(2, 1fr); }
  .activities-grid { grid-template-columns: 1fr; }
  .volunteer-who-grid { grid-template-columns: 1fr; }
  .volunteer-roles-grid { grid-template-columns: 1fr; }
  .donate-usage-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-title { font-size: 1.8rem !important; }
}

/* ===== フローティングLINEボタン ===== */
.floating-line-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 999;
}
.floating-line-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6,199,85,0.5) !important;
}
.floating-line-btn .line-btn-text {
  display: inline;
}
@media (max-width: 480px) {
  .floating-line-btn {
    bottom: 72px;
    right: 16px;
    padding: 10px 14px !important;
  }
  .floating-line-btn .line-btn-text {
    display: none;
  }
}

/* ===== レポートページ ===== */
.report-filter-btn:hover {
  background: var(--primary-light) !important;
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}

/* ===== SNSフォロー（newsページ） ===== */
.sns-follow-card:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ===== AEDマップ 現在地ボタン ===== */
@media (max-width: 600px) {
  .aed-map-header {
    flex-direction: column;
    align-items: flex-start !important;
  }
}

/* ============================================================
   #4 ヒーローテキストコントラスト改善
   ============================================================ */
.hero-kyumei .hero-lead {
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.hero-kyumei .hero-purpose-item {
  color: rgba(255,255,255,0.95);
}
.hero-kyumei .hero-title {
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ============================================================
   #7 タイトルモバイル改行調整
   ============================================================ */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  .hero-kyumei .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-visual-col {
    display: none;
  }
}

/* ============================================================
   #17 2サイト間デザインシステム統一
   ============================================================ */
/* komugiサイト用 - より統一感のあるデザイン */
.komugi-nav .header-nav a {
  font-size: 0.82rem;
}
@media (min-width: 960px) {
  .komugi-nav {
    display: block;
  }
}

/* ============================================================
   #19 LINEフローティングボタン 遅延表示
   ============================================================ */
#floating-line-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.3s ease;
  transform: translateY(20px);
}
#floating-line-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#floating-line-btn:hover {
  background: #05a849 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(6,199,85,0.5) !important;
}

/* ============================================================
   #24 右下ボタン重なり解消
   スクロールトップボタンは左下に配置済み（layout.ts修正済み）
   LINEボタンは右下 bottom:24px
   重なり確認用調整
   ============================================================ */
.scroll-top {
  left: 20px !important;
  right: auto !important;
}

/* ============================================================
   #26 全体デザイン刷新 - フォントウェイト・インタラクション強化
   ============================================================ */
.btn {
  letter-spacing: 0.03em;
}
.btn:focus-visible {
  outline: 3px solid rgba(37,99,168,0.5);
  outline-offset: 2px;
}

/* ヒーローオーバーレイ強化でコントラスト改善 */
.hero-kyumei::after {
  background: rgba(0,0,0,0.08);
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-kyumei .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   komugi ヒーロー CTA ボタン改善
   ============================================================ */
.komugi-hero .btn {
  min-height: 52px;
}

/* ============================================================
   #1 komugiモバイルヘッダー崩壊修正
   ============================================================ */
@media (max-width: 960px) {
  .header-inner {
    gap: 8px;
  }
  .header-logo-name {
    font-size: 0.85rem;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .header-logo-sub {
    display: none;
  }
}
@media (max-width: 400px) {
  .header-logo-name {
    font-size: 0.78rem;
    max-width: 110px;
  }
}

/* ============================================================
   activity-card-v2 icon color variants (classベース)
   ============================================================ */
.activity-card-v2-icon.blue  { background: var(--primary-light); color: var(--primary); }
.activity-card-v2-icon.green { background: var(--green-light); color: var(--green); }
.activity-card-v2-icon.gold  { background: var(--gold-light); color: var(--gold); }
.activity-card-v2-icon.orange{ background: var(--accent-light); color: var(--accent); }

/* ============================================================
   portal top redesign helper classes (#13, #14)
   ============================================================ */
.portal-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.portal-feature-item {
  background: #f8faff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(37,99,168,0.08);
  text-align: center;
}
.portal-feature-item i {
  font-size: 1.8rem;
  color: #2563a8;
  margin-bottom: 10px;
  display: block;
}
.portal-feature-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a2435;
  margin-bottom: 4px;
}
.portal-feature-item p {
  font-size: 0.78rem;
  color: #718096;
  line-height: 1.5;
}

/* ============================================================
   chatbot widget
   ============================================================ */
#chatbot-btn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark, #1a4a8c));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 4px 16px rgba(37,99,168,0.4);
  cursor: pointer;
  z-index: 800;
  border: none;
  transition: all 0.25s;
  opacity: 0;
  pointer-events: none;
}
#chatbot-btn.show {
  opacity: 1;
  pointer-events: auto;
}
#chatbot-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,99,168,0.5);
}
#chatbot-window {
  position: fixed;
  bottom: 152px;
  right: 20px;
  width: min(360px, calc(100vw - 40px));
  max-height: 480px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  z-index: 850;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(37,99,168,0.12);
}
#chatbot-window.open {
  display: flex;
}
.chatbot-header {
  background: linear-gradient(135deg, var(--primary, #2563a8), #1a4a8c);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chatbot-header-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.chatbot-header-title {
  flex: 1;
}
.chatbot-header-title strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
}
.chatbot-header-title small {
  font-size: 0.72rem;
  opacity: 0.8;
}
.chatbot-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
}
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-msg {
  max-width: 85%;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.875rem;
  line-height: 1.6;
}
.chat-msg.bot {
  background: var(--primary-light, #e8f0fb);
  color: var(--text, #1a2435);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-msg.user {
  background: var(--primary, #2563a8);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chatbot-quick-btns {
  padding: 8px 16px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.chatbot-qbtn {
  background: var(--primary-light, #e8f0fb);
  color: var(--primary, #2563a8);
  border: 1px solid rgba(37,99,168,0.15);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.chatbot-qbtn:hover {
  background: var(--primary, #2563a8);
  color: #fff;
}

/* ============================================================
   UI微調整パッチ - アクセシビリティ・コントラスト・モバイル改善
   ============================================================ */

/* フォーカス表示強化（アクセシビリティ） */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #f07030;
  outline-offset: 3px;
  border-radius: 4px;
}

/* プレースホルダーのコントラスト改善 */
input::placeholder,
textarea::placeholder,
select::placeholder {
  color: #7a8a9a;
  opacity: 1;
}

/* フォームコントロールのフォーカス改善 */
.form-control:focus {
  outline: none;
  border-color: var(--primary, #1a3a6b);
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.15);
}

/* テキストコントラスト改善 - text-subを少し濃く */
:root {
  --text-sub-improved: #3d4a5a;
}

/* スキップリンクのフォーカス改善 */
.skip-link:focus {
  top: 0 !important;
  left: 0 !important;
  z-index: 10000;
}

/* モバイルヘッダー - komugiヘッダーのナビオーバーフロー対策 */
@media (max-width: 768px) {
  .site-header .header-inner {
    overflow: hidden;
    max-width: 100%;
  }
  .header-logo {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }
  .header-cta {
    flex-shrink: 0;
    display: flex;
    gap: 6px;
  }
  .header-cta .btn-sm {
    padding: 7px 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }
}

/* ボタン ホバー改善 */
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

/* アラートのアクセシビリティ改善 */
.alert {
  border-left-width: 4px;
}

/* テーブルのアクセシビリティ */
table th {
  font-weight: 700;
}

/* バッジのコントラスト改善 */
.badge,
[class*="status-badge"] {
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* カードのフォーカス改善 */
.card:focus-within {
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.15);
}

/* リンクの下線で視認性改善（本文内） */
p > a:not(.btn),
li > a:not(.btn):not([class]) {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* フッターリンクは下線なし（見た目優先） */
.footer-links a,
.footer-links li a {
  text-decoration: none;
}

/* 入力フィールドのラベルコントラスト */
label {
  font-weight: 600;
  color: #2d3748;
}

/* 必須マーク */
.required, .req {
  color: #e53e3e;
  font-size: 0.75em;
  margin-left: 3px;
  font-weight: 700;
}

/* ===== チャットボット強化版（入力エリア・アニメーション） ===== */
.chatbot-input-area {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}
#chatbot-input {
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  color: #1e293b;
  background: #f8fafc;
  transition: border-color 0.2s;
}
#chatbot-input:focus {
  border-color: var(--primary);
  background: #fff;
}
#chatbot-send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: background 0.2s;
}
#chatbot-send:hover { background: var(--primary-dark); }
#chatbot-btn {
  position: relative;
}

/* ===== ヒーロー活動カード（改善版） ===== */
.hero-activity-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.hero-activity-visual {
  padding: 32px 28px 24px;
}
.hero-activity-bg {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-activity-icon-wrap {
  flex-shrink: 0;
}
.hero-activity-text-block {
  flex: 1;
}
.hero-activity-label {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  margin: 0 0 4px;
}
.hero-activity-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.hero-activity-info {
  padding: 0 28px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-activity-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.85);
}
.hero-activity-info-icon {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  flex-shrink: 0;
}
.hero-instagram-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.83rem;
  transition: background 0.2s;
}
.hero-instagram-link:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.hero-instagram-link i:first-child {
  font-size: 1.1rem;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-instagram-link em {
  font-style: normal;
  color: rgba(255,255,255,0.6);
  margin-left: 2px;
}
/* サブカード */
.hero-sub-card {
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
}
.hero-sub-card-welfare { background: rgba(240,112,48,0.2); border-color: rgba(240,112,48,0.3); }
.hero-sub-card-team { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.25); }
.hero-sub-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.hero-sub-card-welfare .hero-sub-card-icon { background: rgba(240,112,48,0.3); }
.hero-sub-card-team .hero-sub-card-icon { background: rgba(34,197,94,0.3); color: #4ade80; }
.hero-sub-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
}
.hero-sub-card-desc {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

/* ── prefers-reduced-motion: アニメーション全停止 ──────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .op-pulse,
  .op-ecg,
  .op-title,
  .op-sub {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }
}
