/* ============================================
   広島市PTA協議会 — Premium Modern UI v2
   "Wow" redesign: gradients, color, motion
   ============================================ */

/* === DESIGN TOKENS: LIGHT — 案：やさしい親しみ（グリーン） === */
:root {
  /* Brand */
  --primary: #059669;
  --primary-hover: #047857;
  --primary-light: #ecfdf5;
  --primary-soft: rgba(5,150,105,0.06);
  --primary-glow: rgba(5,150,105,0.18);
  --green-mid: #10b981;
  --green-soft: #a7f3d0;
  --green-deep: #047857;
  --gradient-brand: linear-gradient(135deg, #10b981 0%, #047857 100%);
  --gradient-hero: linear-gradient(135deg, #059669 0%, #047857 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --gradient-rose: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(5,150,105,0.03) 0%, transparent 100%);
  --gradient-mesh: radial-gradient(at 20% 80%, rgba(5,150,105,0.06) 0%, transparent 50%),
                    radial-gradient(at 80% 20%, rgba(16,185,129,0.05) 0%, transparent 50%);

  /* Warm accent — small, friendly accents only (green stays primary) */
  --warm: #f59e0b;   --warm-hover: #d97706;   --warm-light: #fff7ed;
  --warm-ink: #b45309;  /* text-safe on white (>=4.5:1) */
  --warm-soft: rgba(245,158,11,0.10);  --warm-glow: rgba(245,158,11,0.22);

  /* Multi-color accents */
  --blue: #3b82f6;   --blue-light: #eff6ff;   --blue-soft: rgba(59,130,246,0.08);
  --amber: #f59e0b;  --amber-light: #fffbeb;  --amber-soft: rgba(245,158,11,0.10);
  --rose: #fb7185;   --rose-light: #fff1f2;   --rose-soft: rgba(251,113,133,0.08);
  --teal: #0d9488;   --teal-light: #ecfeff;   --teal-soft: rgba(13,148,136,0.06);
  --violet: #7c3aed; --violet-light: #f5f3ff; --violet-soft: rgba(124,58,237,0.06);

  /* Semantic — green-tinted ink over cream/mint grounds */
  --text: #1f3b30;            /* deep green ink */
  --text-secondary: #4b6358;
  --text-tertiary: #566a60;   /* WCAG AA (~5.2:1 on white) */
  --text-faint: #9db3a8;      /* decorative-only, non-text use */
  --bg: #ffffff;
  --bg-elevated: #ffffff;
  --bg-surface: #f4faf6;      /* mint off-white */
  --bg-subtle: #e6f4ec;
  --bg-cream: #fffdf7;
  --bg-mint: #ecfdf5;
  --border: #d7efe4;
  --border-strong: #b6dcca;
  --border-light: rgba(5,150,105,0.10);
  --border-hover: #a7f3d0;

  /* Green scale — brand green as a proper tonal ramp */
  --green-50:  #f0fdf9;
  --green-100: #dcfce9;
  --green-200: #bbf7d5;
  --green-300: #86efb8;
  --green-400: #34d399;
  --green-500: #059669;  /* = --primary */
  --green-600: #047857;  /* = --primary-hover */
  --green-700: #036049;
  --green-800: #064e3b;
  --green-900: #052e22;

  /* Ink-safe green for small text/labels/links (>=4.5:1 on white) */
  --primary-ink: #047857;

  /* Surfaces (subtle mint layering) & hairlines */
  --surface-1: #ffffff;
  --surface-2: #f7fcf9;
  --surface-3: #eef8f2;
  --hairline: rgba(5,120,87,0.12);
  --hairline-strong: rgba(5,120,87,0.20);

  /* Refined hero gradient (depth, not saturation) */
  --gradient-hero-2: linear-gradient(155deg, #047857 0%, #059669 46%, #0d8a72 100%);

  /* Glass — cream tinted */
  --glass-bg: rgba(255,253,247,0.86);
  --glass-border: rgba(215,239,228,0.6);

  /* Shadows — green-tinted, soft & airy (案：やさしい親しみ) */
  --shadow-xs: 0 1px 2px rgba(5,150,105,0.05);
  --shadow-sm: 0 4px 14px rgba(5,150,105,0.08);
  --shadow-md: 0 12px 30px rgba(5,150,105,0.12);
  --shadow-lg: 0 20px 50px rgba(5,150,105,0.16);
  --shadow-xl: 0 26px 64px rgba(5,150,105,0.18);
  --shadow-glow: 0 0 0 3px var(--primary-glow);
  --shadow-card-hover: 0 22px 50px rgba(5,150,105,0.18);
  --shadow-colored: 0 8px 20px rgba(5,150,105,0.22);

  /* Radii — rounder, pill-forward silhouette (案：やさしい親しみ) */
  --r-xs: 10px; --r-sm: 14px; --r: 16px; --r-lg: 22px; --r-xl: 28px; --r-2xl: 34px; --r-full: 9999px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-w: 1200px;
  --header-h: 56px;
  --bottom-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont,
          "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic",
          "Meiryo", sans-serif;
  --font-round: "Zen Maru Gothic", "Zen Kaku Gothic New", -apple-system, "Hiragino Sans",
          "Yu Gothic UI", "Meiryo", sans-serif;
  --font-numeric: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-cream);
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 1, "kern" 1, "liga" 1;
  font-kerning: normal;
  overflow-x: hidden;
  padding-bottom: calc(var(--bottom-h) + var(--safe-b));
  letter-spacing: 0.01em;
}

/* Rounded display font for headings (案：やさしい親しみ) */
h1, h2, h3, h4, .rounded { font-family: var(--font-round); }

/* Numeric elements — use Inter's tabular figures for clean alignment */
.news-date,
.stat-number,
.tel,
.tel-large,
.plan-card .price,
time {
  font-family: var(--font-numeric);
  font-feature-settings: "tnum" 1, "kern" 1;
}

/* Focus visibility — WCAG 2.4.7 AA */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero-parallax, .hero-deco { transform: none !important; opacity: 1 !important; }
  .event-banner-img img { transform: none !important; }
}

/* Screen reader only */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Skip link — visible on keyboard focus (WCAG 2.4.1) */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 300;
  background: var(--primary); color: #fff;
  padding: 10px 18px; border-radius: var(--r-sm);
  font-weight: 700; font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); outline: 3px solid #fff; outline-offset: 2px; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-ink); text-decoration: none; transition: color 0.2s var(--ease); }
a:active { opacity: 0.7; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* === UTILITIES === */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.mt-32 { margin-top: 28px; }
.mt-48 { margin-top: 40px; }
.mb-16 { margin-bottom: 14px; }
.mb-24 { margin-bottom: 20px; }

/* ============================================
   ANIMATIONS — Dramatic entrance
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}
/* No-JS fallback — ensure content is visible when the IntersectionObserver never runs */
html.no-js .fade-up { opacity: 1; transform: none; }

/* Parallax layer — driven by JS on desktop only, no CSS transition to stay smooth */
.hero-parallax { will-change: transform, opacity; }
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 60ms; }
.stagger > *:nth-child(3) { transition-delay: 120ms; }
.stagger > *:nth-child(4) { transition-delay: 180ms; }
.stagger > *:nth-child(5) { transition-delay: 240ms; }
.stagger > *:nth-child(6) { transition-delay: 300ms; }
.stagger > *:nth-child(7) { transition-delay: 360ms; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--primary-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

/* ============================================
   HEADER — Accent line + glass
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,253,247,0.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid #e6f4ec;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease);
}

/* Gradient accent line at very top */
.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  z-index: 101;
}

.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  text-decoration: none;
}
.site-logo img { height: 32px; width: auto; }
.site-logo-text { font-size: 0.58rem; color: var(--text-tertiary); line-height: 1.3; letter-spacing: 0.02em; }
.site-logo-text strong { display: block; font-family: var(--font-round); font-size: 0.98rem; color: var(--green-deep); font-weight: 700; letter-spacing: 0.01em; }

.header-actions { display: flex; align-items: center; gap: 2px; }

/* Hamburger */
.nav-toggle {
  width: 44px; height: 44px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: none; padding: 0;
  border-radius: var(--r-full);
  transition: background 0.2s var(--ease);
}
.nav-toggle:hover { background: var(--bg-subtle); }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px; transition: all 0.3s var(--ease); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Side nav */
.global-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--bg); padding: 24px 20px;
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  overflow-y: auto; z-index: 100;
}
.global-nav.open { transform: translateX(0); }
.global-nav ul { display: flex; flex-direction: column; gap: 2px; }
.global-nav a {
  display: flex; align-items: center; min-height: 52px; padding: 0 16px;
  font-size: 1rem; font-weight: 500; color: var(--text);
  border-radius: var(--r); transition: all 0.2s var(--ease);
}
.global-nav a:hover, .global-nav a.active { color: var(--primary); background: var(--primary-light); }

/* ============================================
   BOTTOM NAV
   ============================================ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  height: calc(var(--bottom-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-top: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: space-around;
}
.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; min-width: 64px; min-height: 48px; padding: 6px 12px;
  border-radius: var(--r); color: var(--text-tertiary);
  font-size: 0.6rem; font-weight: 500; text-align: center;
  transition: all 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item svg { width: 22px; height: 22px; transition: all 0.25s var(--ease-spring); }
.bottom-nav-item.active, .bottom-nav-item:active { color: var(--primary); }
.bottom-nav-item.active svg { transform: scale(1.1); }
.bottom-nav-item .nav-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--primary); opacity: 0; transition: opacity 0.25s; }
.bottom-nav-item.active .nav-dot { opacity: 1; }

/* ============================================
   HERO — Cinematic full-bleed
   ============================================ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 12vw, 96px) 0 clamp(72px, 14vw, 112px);
  background:
    radial-gradient(60% 80% at 12% 10%, rgba(167,243,208,0.55) 0%, transparent 60%),
    radial-gradient(50% 70% at 92% 20%, rgba(245,158,11,0.10) 0%, transparent 60%),
    linear-gradient(180deg, var(--primary-light) 0%, var(--bg-cream) 100%);
}
/* Soft floating blobs for a friendly, hand-made feel */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(150px 150px at 8% 22%,  var(--green-soft) 0%, transparent 70%),
    radial-gradient(90px 90px  at 88% 78%,  #fde68a 0%, transparent 70%),
    radial-gradient(60px 60px  at 76% 30%,  #fecdd3 0%, transparent 70%);
  opacity: 0.5; filter: blur(2px);
}
.hero .container { position: relative; z-index: 1; }

/* Layer 3 — geometric "connection" motif (decorative, parallax on desktop) */
.hero-deco {
  position: absolute; top: -48px; right: -64px;
  width: clamp(220px, 40vw, 360px); height: clamp(220px, 40vw, 360px);
  z-index: 0; pointer-events: none;
  will-change: transform;
  animation: heroFloat 22s ease-in-out infinite;
}
/* Gentle idle float — used until/unless JS parallax takes over (desktop) */
@keyframes heroFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(-8px, 10px, 0) rotate(3deg); }
}
.js-parallax .hero-deco { animation: none; }

.hero-content { color: var(--text); max-width: 640px; text-align: center; margin: 0 auto; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: #fff;
  border: 1.5px solid var(--green-soft);
  border-radius: var(--r-full);
  color: var(--green-deep);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245,158,11,0.6);
  animation: pulseDot 2.6s var(--ease-out) infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(245,158,11,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(245,158,11,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}

.hero-content h1 {
  font-family: var(--font-round);
  font-size: clamp(2rem, 8.2vw, 2.9rem); font-weight: 900; line-height: 1.28;
  margin-bottom: 14px; letter-spacing: 0.01em; color: var(--green-deep);
}

.hero-content p {
  font-size: clamp(0.95rem, 3.6vw, 1.15rem); color: var(--text-secondary); font-weight: 500;
  line-height: 1.8; margin-bottom: 26px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ============================================
   QUICK LINKS — Colorful icon grid
   ============================================ */
.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.quick-link {
  background: var(--bg-elevated);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 24px 16px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.quick-link:active { transform: scale(0.96); }

.quick-link-icon {
  width: 52px; height: 52px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease-spring);
}
.quick-link:active .quick-link-icon { transform: scale(0.9); }
.quick-link-icon svg { width: 24px; height: 24px; }

/* Uniform green-tint icons (案：やさしい親しみ) */
.quick-link-icon--green,
.quick-link-icon--blue,
.quick-link-icon--amber,
.quick-link-icon--rose,
.quick-link-icon--teal,
.quick-link-icon--violet { background: var(--primary-light); color: var(--green-deep); }
.quick-link-icon svg { stroke-width: 1.8; }

.quick-link-title {
  font-size: 0.9rem; font-weight: 600; color: var(--text);
  line-height: 1.4; letter-spacing: -0.01em;
}

/* ============================================
   SECTION HEADERS — With English subtitle
   ============================================ */
.section { padding: 64px 0; position: relative; }
.section--gray { background: var(--surface-3); }
.section--mesh { background: var(--bg-mint); background-image: var(--gradient-mesh); }
.section--cream { background: var(--bg-cream); }
.section--dark { background: var(--text); color: #fff; }

/* Rhythm comes from background + whitespace, not rules */

.section-header { text-align: center; margin-bottom: 32px; }

.section-label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-ink);
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 5.2vw, 2rem); font-weight: 700;
  color: var(--text); letter-spacing: -0.03em; line-height: 1.32;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 44px; height: 3px; border-radius: 2px;
  background: var(--gradient-brand);
  margin: 16px auto 0;
}

.section-header p {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 0.95rem; line-height: 1.7;
}

/* ============================================
   EVENT BANNER — Strong notice band with top/bottom borders
   ============================================ */
.event-banner {
  background: var(--primary-light);
  padding: 48px 0; color: var(--text);
  position: relative;
  border-top: 1px solid rgba(5,150,105,0.18);
  border-bottom: 1px solid rgba(5,150,105,0.18);
}
.event-banner-inner {
  display: flex; flex-direction: column; gap: 24px;
  align-items: center; text-align: center;
  position: relative; z-index: 1;
}
.event-banner-img {
  width: 140px; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
/* Slow settle-zoom as the banner reveals */
.event-banner-img img { transform: scale(1.08); transition: transform 1.3s var(--ease-out); }
.event-banner.visible .event-banner-img img { transform: scale(1); }
.event-banner-label {
  display: inline-flex; align-items: center;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 3px 10px; border-radius: var(--r-sm);
  background: var(--green-50); color: var(--green-700);
  border: 1px solid var(--hairline);
  margin-bottom: 10px;
}
.event-banner-content h2 {
  font-size: 1.25rem; margin-bottom: 6px; line-height: 1.4;
  font-weight: 700; letter-spacing: -0.01em; color: var(--text);
}
.event-banner-content h3 { font-size: 1rem; font-weight: 500; margin-bottom: 18px; color: var(--primary); }
.event-meta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px; }
.event-meta-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; color: var(--text-secondary);
  background: #fff; padding: 7px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
}
.event-meta-item svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--primary); }

/* ============================================
   PICKUP — 1枚ずつの横スクロール（注目情報）
   ============================================ */
.pickup { padding: 44px 0 24px; }
.pickup-head { margin-bottom: 18px; }
.pickup-scroll {
  list-style: none; display: flex; gap: 20px; margin: 0 auto; max-width: var(--max-w);
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 6px 20px 18px; scrollbar-width: none;
}
.pickup-scroll::-webkit-scrollbar { display: none; }
.pickup-scroll:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; border-radius: var(--r); }
.pickup-card {
  flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always;
  background: var(--surface-1); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden;
  display: flex; flex-direction: column;
}
.pickup-media { position: relative; height: 170px; background: var(--primary-light); display: grid; place-items: center; overflow: hidden; }
.pickup-media img { width: 100%; height: 100%; object-fit: cover; }
.pickup-media > svg { width: 64px; height: 64px; }
.pickup-media--pta { background: linear-gradient(135deg, var(--green-mid), var(--green-deep)); color: #fff; }
.pickup-media--lib { background: linear-gradient(135deg, #22b8a6, var(--green-deep)); color: #fff; }
.pickup-tag { position: absolute; top: 14px; left: 14px; font-size: 0.74rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.pickup-tag--amber { background: var(--amber); color: #fff; }
.pickup-tag--light { background: #fff; color: var(--green-deep); }
.pickup-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pickup-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); line-height: 1.5; margin-bottom: 6px; }
.pickup-sub { font-size: 0.95rem; color: var(--green-deep); font-weight: 700; line-height: 1.6; margin-bottom: 12px; }
.pickup-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.9; margin-bottom: 16px; }
.pickup-meta { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.pickup-meta div { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-secondary); }
.pickup-meta svg { width: 15px; height: 15px; color: var(--green-mid); flex: none; }
.pickup-body .btn { margin-top: auto; align-self: flex-start; }

/* controls */
.pickup-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; }
.pickup-arrow {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--green-deep); border: 1.5px solid var(--green-soft);
  box-shadow: var(--shadow-sm); transition: all .2s var(--ease);
}
.pickup-arrow svg { width: 22px; height: 22px; }
.pickup-arrow:hover:not(:disabled) { background: var(--primary-light); transform: translateY(-2px); }
.pickup-arrow:disabled { opacity: .35; cursor: default; }
.pickup-dots { display: flex; align-items: center; gap: 8px; }
.pickup-dot { width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: var(--border-strong); transition: all .2s var(--ease); }
.pickup-dot.active { background: var(--primary); width: 24px; border-radius: 999px; }

@media (min-width: 768px) {
  .pickup { padding: 60px 0 28px; }
  .pickup-card { flex-direction: row; }
  .pickup-media { height: auto; width: 340px; min-height: 264px; flex: none; }
  .pickup-media > svg { width: 84px; height: 84px; }
  .pickup-body { padding: 34px 40px; justify-content: center; }
  .pickup-body h3 { font-size: 1.5rem; }
  .pickup-sub { font-size: 1.05rem; }
  .pickup-desc { max-width: 560px; }
}

/* ============================================
   NEWS FEED — Colored accent bars
   ============================================ */
.news-list { display: flex; flex-direction: column; gap: 0; }

/* Year group heading in news archive */
.news-year {
  font-family: var(--font-round);
  font-size: 1.05rem; font-weight: 700; color: var(--green-deep);
  margin: 36px 0 14px; padding-left: 12px;
  border-left: 4px solid var(--green-soft); border-radius: 2px;
}
.news-year:first-of-type { margin-top: 0; }
.news-count { text-align: center; color: var(--text-tertiary); font-size: 0.82rem; margin-bottom: 8px; }

/* お知らせ 検索・絞り込み */
.news-filter { max-width: 860px; margin: 0 auto 28px; }
.news-search-input {
  width: 100%; padding: 13px 18px; font-size: 1rem;
  font-family: var(--font); color: var(--text);
  border: 1.5px solid var(--border); border-radius: var(--r-full);
  background: #fff; box-shadow: var(--shadow-sm);
}
.news-search-input::placeholder { color: var(--text-tertiary); }
.news-search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.news-tagfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.news-chip {
  padding: 9px 18px; min-height: 44px; border-radius: var(--r-full);
  border: 1.5px solid var(--border); background: #fff; color: var(--text-secondary);
  font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all .2s var(--ease);
}
.news-chip:hover { border-color: var(--green-soft); color: var(--green-deep); }
.news-chip.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }
.news-noresult { text-align: center; color: var(--text-secondary); padding: 28px 0; font-weight: 500; }

/* ============================================
   SITEMAP（サイトマップ）— コンパクト / 高密度な索引
   ============================================ */
.sitemap-lead { max-width: 760px; margin: 0 auto 18px; text-align: center; color: var(--text-secondary); font-size: 0.86rem; line-height: 1.75; }
.sitemap-grid { columns: 1; column-gap: 34px; }
@media (min-width: 560px)  { .sitemap-grid { columns: 2; } }
@media (min-width: 1000px) { .sitemap-grid { columns: 3; } }
.sitemap-group { break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 16px; padding: 0; }
.sitemap-group > h2 {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.9rem; font-weight: 700; color: var(--green-deep); letter-spacing: 0.01em;
  padding-bottom: 4px; margin-bottom: 3px; border-bottom: 2px solid var(--green-soft);
}
.sitemap-group > h2 .ic { flex: none; width: 17px; height: 17px; color: var(--green-mid); }
.sitemap-group > h2 .ic svg { width: 17px; height: 17px; }
.sitemap-group .grp-desc { display: none; }         /* コンパクト化：説明文は省略 */
.sitemap-links { display: block; }
.sitemap-links a {
  display: flex; align-items: baseline; gap: 5px; padding: 5px 6px 5px 15px;
  color: var(--text); font-size: 0.84rem; line-height: 1.35; border-radius: 5px;
}
.sitemap-links a::before { content: '›'; margin-left: -11px; color: var(--green-deep); font-weight: 900; }
.sitemap-links a:hover { background: var(--primary-light); color: var(--green-deep); }
.sitemap-links a .ext { margin-left: auto; font-size: 0.64rem; color: var(--text-tertiary); font-weight: 700; }
.sitemap-links a .ext svg { display: none; }         /* コンパクト化：外部は文字表記のみ */
/* これからのコンテンツ（準備中）— 1行ずつ密に */
.sitemap-soon { list-style: none; }
.sitemap-soon li { padding: 4px 4px 4px 2px; font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }
.sitemap-soon .t { font-weight: 700; color: var(--text); }
.sitemap-soon .badge { font-size: 0.62rem; font-weight: 700; color: var(--warm-ink); background: var(--warm-light); border-radius: 999px; padding: 1px 7px; margin: 0 4px; white-space: nowrap; }
.sitemap-soon .d { color: var(--text-tertiary); }

/* ============================================
   MOTION / INTERACTION LAYER
   さりげないインタラクティブ演出（reduced-motion 尊重）
   ============================================ */

/* スクロール進捗バー */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--gradient-brand); z-index: 300; will-change: transform;
  pointer-events: none;
}

/* リップル（タップ/クリックの波紋） */
.btn, .sitemap-links a, .news-item { position: relative; overflow: hidden; }
.ripple {
  position: absolute; border-radius: 50%; transform: scale(0);
  background: currentColor; opacity: .18; pointer-events: none;
  animation: ripple .6s var(--ease-out);
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* ヒーローの光の玉をゆっくり漂わせる */
@keyframes blobFloat { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-14px,0); } }
.hero::before { animation: blobFloat 9s ease-in-out infinite; }
.page-hero::before { animation: blobFloat 11s ease-in-out infinite; }

/* クイックリンクのアイコンをホバーで弾ませる */
@keyframes iconPop { 0% { transform: scale(1); } 45% { transform: scale(1.16) rotate(-5deg); } 100% { transform: scale(1.08); } }
@media (hover:hover) {
  .quick-link:hover .quick-link-icon { animation: iconPop .5s var(--ease-spring); }
  .card:hover .card-arrow svg,
  .svc:hover .more { transform: translateX(2px); }
}

/* 追加のリビール（スケール）— .fade-up と併用 */
.fade-up.reveal-scale { transform: translateY(20px) scale(.96); }
.fade-up.reveal-scale.visible { transform: none; }

/* reduced-motion：装飾モーションは停止（進捗バーは情報として維持） */
@media (prefers-reduced-motion: reduce) {
  .hero::before, .page-hero::before { animation: none !important; }
  .ripple { display: none !important; }
}

.news-item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 16px;
  background: var(--bg-elevated);
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s var(--ease), padding-left 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.news-list {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(6,78,59,0.04), 0 12px 30px -18px rgba(6,78,59,0.14);
}
.news-item:first-child { border-top: none; }
.news-item:last-child { border-bottom: none; }
.news-item:active { background: var(--primary-soft); }
.news-item--event,
.news-item--report { border-left: none; }

.news-item-meta { display: flex; align-items: center; gap: 10px; }
.news-date { font-size: 0.82rem; color: var(--text-secondary); font-feature-settings: "tnum"; font-weight: 500; }

.news-tag {
  display: inline-flex; align-items: center;
  font-size: 0.7rem; font-weight: 600;
  padding: 3px 10px; border-radius: var(--r-sm);
  background: var(--green-50); color: var(--green-700);
  letter-spacing: 0.02em;
  border: 1px solid var(--hairline);
}
.news-tag--event { background: var(--amber-light); color: #b45309; border-color: rgba(180,83,9,0.25); }
.news-tag--report { background: var(--bg-subtle); color: var(--text-secondary); border-color: var(--border-hover); }

.news-title {
  font-size: 0.98rem; font-weight: 500; color: var(--text);
  line-height: 1.6; letter-spacing: -0.01em; padding-right: 24px;
  transition: color 0.25s var(--ease);
}

/* ============================================
   NEWS DETAIL
   ============================================ */
.news-detail { max-width: 720px; margin: 0 auto; }
.news-detail-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.news-detail-header .news-date { font-size: 0.8rem; margin-bottom: 12px; display: block; }
.news-detail-header h1,
.news-detail-header h2 { font-size: 1.4rem; font-weight: 700; line-height: 1.5; letter-spacing: -0.02em; margin: 0; }
.news-detail-body { font-size: 1rem; line-height: 1.95; color: var(--text-secondary); }
.news-detail-body p { margin-bottom: 1.5em; }
.news-detail-body h2 { font-size: 1.15rem; font-weight: 700; margin: 1.8em 0 0.8em; color: var(--text); line-height: 1.5; }
.news-detail-body img { border-radius: var(--r); margin: 24px 0; }

/* 記事内の写真ギャラリー（角丸は本文画像と統一：var(--r)=16px） */
.news-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 32px 0; }
.news-gallery img { width: 100%; border-radius: var(--r); margin: 0; }
.news-detail-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* Attachment links inside news / pages */
.pdf-links { display: flex; flex-direction: column; gap: 8px; margin: 24px 0; }
.pdf-link {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--bg-elevated); color: var(--text); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; min-height: 48px;
  transition: all 0.2s var(--ease);
}
.pdf-link:hover { border-color: var(--primary); background: var(--primary-light); }
.pdf-link .pdf-icon {
  flex: none; display: inline-grid; place-items: center;
  width: 40px; height: 28px; border-radius: 6px;
  background: #e11d48; color: #fff; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em;
}
.pdf-link .pdf-icon.word { background: #2563eb; }
.pdf-link .pdf-icon.excel { background: #059669; }

/* ============================================
   STATS BAR — Bold numbers
   ============================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--primary) 100%);
  border-radius: var(--r-xl);
  padding: 36px 24px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}
.stats-bar::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 120% at 90% 0, rgba(255,255,255,0.12), transparent);
}

.stat-item {
  background: transparent;
  padding: 8px 16px;
  text-align: center;
  border: none;
  border-radius: 0;
  box-shadow: none;
  position: relative; z-index: 1;
}
.stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,0.22); }

.stat-number {
  font-family: var(--font-round);
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.95);
  margin-top: 4px;
  font-weight: 500;
}

/* ============================================
   CARDS — Gradient top line, rich hover
   ============================================ */
.card-grid { display: flex; flex-direction: column; gap: 12px; }

.card {
  background: var(--surface-1);
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  box-shadow: 0 1px 2px rgba(6,78,59,0.04), 0 10px 28px -14px rgba(6,78,59,0.16);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
/* Brand top-line that draws in on hover (activated at 1024px+) */
.card::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:active { background: var(--bg-subtle); }

.card-body { padding: 28px 24px; }
.card-body h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--text); letter-spacing: -0.015em; }
.card-body p { font-size: 1rem; color: var(--text-secondary); line-height: 1.85; }

.card-arrow {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--primary-ink); margin-top: 16px;
  transition: gap 0.3s var(--ease);
}
.card-arrow svg { width: 16px; height: 16px; }

/* ============================================
   GREETING — Pull-quote style
   ============================================ */
.greeting { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }

.greeting-photo-wrap {
  position: relative;
  width: 130px; height: 130px;
}
.greeting-photo-wrap::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: var(--gradient-brand);
  opacity: 0.2;
}
.greeting-photo {
  width: 130px; height: 130px;
  border-radius: 50%; overflow: hidden;
  border: 3px solid var(--bg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.greeting-content h3 {
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 16px; color: var(--primary);
  letter-spacing: -0.02em;
}
.greeting-content p {
  font-size: 1rem; color: var(--text-secondary);
  line-height: 1.9; text-align: left; letter-spacing: 0.005em;
}

.greeting-quote {
  font-size: clamp(1.2rem, 4.5vw, 1.5rem); font-weight: 700; color: var(--green-800);
  line-height: 1.7; text-align: center;
  padding: 8px 12px 8px 8px;
  position: relative;
  margin: 8px 0 28px;
  letter-spacing: -0.02em;
}
.greeting-quote::before {
  content: '\201C';
  display: block;
  font-size: 3.4rem; line-height: 0.8; color: var(--primary);
  opacity: 0.28; margin-bottom: 4px;
  font-family: Georgia, 'Times New Roman', serif;
}

/* ============================================
   CTA SECTION — Deep primary panel
   ============================================ */
.cta-section {
  padding: 64px 0;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 12px;
  color: #fff;
  position: relative;
}
.cta-section p {
  font-size: 0.95rem; color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  position: relative;
}
.cta-section .tel-large {
  font-size: 2.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: #fff;
  position: relative;
}
.cta-section .tel-large a { color: #fff; }
.cta-section .tel-large svg { width: 28px; height: 28px; }
.cta-section .cta-sub { font-size: 0.85rem; color: rgba(255,255,255,0.8); position: relative; }

/* ============================================
   PAGE HERO (Subpages)
   ============================================ */
.page-hero {
  padding: 56px 0 48px; text-align: center; color: var(--text);
  position: relative; overflow: hidden;
  border-bottom: 1px solid #e6f4ec;
  background:
    radial-gradient(60% 90% at 15% 0%, rgba(167,243,208,0.5) 0%, transparent 60%),
    radial-gradient(50% 80% at 92% 20%, rgba(245,158,11,0.09) 0%, transparent 60%),
    linear-gradient(180deg, var(--primary-light) 0%, var(--bg-cream) 100%);
}
.page-hero::before {
  content: '';
  position: absolute; top: 20%; left: 6%;
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--green-soft); opacity: 0.4; filter: blur(2px);
  pointer-events: none;
}
.page-hero h1 { font-family: var(--font-round); font-size: 1.7rem; font-weight: 900; letter-spacing: 0.01em; color: var(--green-deep); position: relative; }
.page-hero .breadcrumb { margin-top: 12px; font-size: 0.8rem; color: var(--text-tertiary); position: relative; }
.page-hero .breadcrumb a { color: var(--green-deep); }
.page-hero .breadcrumb a:hover { text-decoration: underline; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-section {
  margin-bottom: 40px;
  padding: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.about-section h2 {
  font-size: 1.3rem; font-weight: 700;
  padding: 0 0 0 14px;
  margin-bottom: 24px;
  color: var(--text);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  position: relative;
}
.about-section h2::before {
  content: '';
  position: absolute; left: 0; top: 0.15em; bottom: 0.15em;
  width: 4px; border-radius: 2px;
  background: var(--gradient-brand);
}
.about-section h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }

.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { display: block; width: 100%; padding: 8px 0; text-align: left; font-size: 0.95rem; }
.info-table th { font-weight: 500; color: var(--text-secondary); font-size: 0.85rem; padding-bottom: 4px; }
.info-table td { color: var(--text); padding-bottom: 16px; border-bottom: 1px solid var(--border); line-height: 1.7; }
.info-table a { color: var(--primary); }

/* ============================================
   ACCORDION
   ============================================ */
.accordion-item {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  margin-bottom: 8px; overflow: hidden;
  background: var(--bg-elevated);
  transition: border-color 0.25s var(--ease);
}
.accordion-item.open { border-color: var(--border-hover); }
.accordion-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: transparent; cursor: pointer;
  font-weight: 500; font-size: 0.9rem;
  border: none; width: 100%; text-align: left;
  color: var(--text); min-height: 48px;
  transition: all 0.25s var(--ease);
}
.accordion-icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); color: var(--text-tertiary); flex-shrink: 0; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); color: var(--primary); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.accordion-body-inner { padding: 0 20px 20px; }

/* ============================================
   DOWNLOADS
   ============================================ */
.download-grid { display: flex; flex-direction: column; gap: 8px; }
.download-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--bg-elevated); min-height: 48px;
  transition: all 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.download-item:active { background: var(--primary-light); border-color: var(--primary); }
.download-icon { width: 36px; height: 36px; flex-shrink: 0; }
.download-info { flex: 1; }
.download-info .name { font-size: 0.85rem; font-weight: 500; color: var(--text); }
.download-info .type { font-size: 0.7rem; color: var(--text-tertiary); margin-top: 2px; }
.download-item.is-disabled { cursor: default; background: var(--surface-2); border-style: dashed; border-color: var(--border-strong); }
.download-item.is-disabled:active { background: var(--surface-2); border-color: var(--border-strong); }
.download-item.is-disabled .download-icon { filter: grayscale(1) opacity(0.7); }
.download-item.is-disabled .download-info .name { color: var(--text-secondary); }
.download-badge { flex-shrink: 0; margin-left: auto; padding: 3px 10px; border-radius: 999px; font-size: 0.68rem; font-weight: 700; background: #fef3c7; color: #92600a; border: 1px solid #f0d488; white-space: nowrap; }

/* ============================================
   SCHEDULE
   ============================================ */
.schedule-year-nav {
  display: flex; gap: 8px; margin-bottom: 24px;
  overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px;
}
.schedule-year-btn {
  padding: 8px 22px; border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.82rem; font-weight: 500; cursor: pointer;
  background: var(--bg-elevated); color: var(--text);
  white-space: nowrap; min-height: 44px;
  transition: all 0.25s var(--ease);
}
.schedule-year-btn.active {
  border-color: var(--primary); background: var(--primary); color: #fff;
  box-shadow: var(--shadow-colored);
}

/* -- Mobile: card layout -- */
.schedule-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.schedule-table thead { display: none; }
.schedule-table tbody { display: flex; flex-direction: column; gap: 12px; }
.schedule-table tr {
  display: block; background: var(--bg-elevated);
  border: 1.5px solid var(--border); border-radius: var(--r-xl);
  padding: 0; overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.schedule-table tr:active { border-color: var(--primary); }
.schedule-table td { display: block; padding: 0; border: none; }
.schedule-table td.schedule-month {
  background: var(--primary); color: #fff;
  padding: 10px 16px; font-weight: 700; font-size: 0.95rem;
  white-space: nowrap;
}
.schedule-table td[data-label="行事内容"] {
  padding: 14px 16px 8px;
  font-size: 0.88rem; line-height: 1.8;
}
.schedule-table td[data-label="備考"]:not(:empty) {
  padding: 0 16px 14px;
  font-size: 0.8rem; color: var(--text-tertiary); line-height: 1.7;
}
.schedule-table td[data-label="備考"]:not(:empty)::before {
  content: "備考：";
  font-weight: 500; font-size: 0.75rem;
}
/* Hide empty 備考 cells on mobile */
.schedule-table td[data-label="備考"]:empty { display: none; }

/* -- Desktop: restore table layout -- */
@media (min-width: 640px) {
  .schedule-table thead { display: table-header-group; }
  .schedule-table tbody { display: table-row-group; }
  .schedule-table tr { display: table-row; background: none; border: none; border-radius: 0; padding: 0; }
  .schedule-table td { display: table-cell; border-bottom: 1px solid var(--border); }
  .schedule-table th {
    background: var(--primary); color: #fff; padding: 12px 16px;
    text-align: left; font-size: 0.78rem; font-weight: 500;
  }
  .schedule-table th:first-child { border-radius: var(--r-sm) 0 0 0; }
  .schedule-table th:last-child { border-radius: 0 var(--r-sm) 0 0; }
  .schedule-table td { padding: 14px 16px; }
  .schedule-table tr:last-child td { border-bottom: none; }
  .schedule-table tr:hover td { background: var(--primary-light); }
  .schedule-table td.schedule-month {
    background: none; color: var(--primary);
    font-weight: 700; font-size: 0.85rem; white-space: nowrap;
    width: 80px;
  }
  .schedule-table td[data-label="行事内容"] { padding: 14px 16px; font-size: 0.85rem; line-height: 1.7; }
  .schedule-table td[data-label="備考"] { padding: 14px 16px; font-size: 0.82rem; color: var(--text-tertiary); width: 180px; }
  .schedule-table td[data-label="備考"]:not(:empty)::before { content: none; }
  .schedule-table td[data-label="備考"]:empty { display: table-cell; }
}

/* ============================================
   HIGHLIGHT / CONTACT BOXES
   ============================================ */
.highlight-box {
  background: var(--primary-light); border-left: 3px solid var(--primary);
  padding: 20px; border-radius: 0 var(--r) var(--r) 0; margin: 20px 0;
}
.highlight-box p { font-size: 0.85rem; line-height: 1.8; color: var(--text); }

.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 24px 0; }
.plan-card {
  text-align: center; padding: 24px 12px;
  border: 1.5px solid var(--border); border-radius: var(--r-xl);
  background: var(--bg-elevated); transition: all 0.25s var(--ease);
}
.plan-card:active { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.plan-card .price {
  font-size: 1.7rem; font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.plan-card .unit { font-size: 0.82rem; color: var(--text-secondary); margin-top: 4px; }

.contact-box {
  background: var(--bg-subtle); border-radius: var(--r-xl);
  padding: 28px 20px; text-align: center; margin: 20px 0;
  border: 1px solid var(--border-light);
}
.contact-box h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.contact-box .tel {
  font-size: 1.5rem; font-weight: 700; color: var(--primary);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  letter-spacing: -0.02em;
}
.contact-box .tel svg { width: 22px; height: 22px; }
.contact-box .note { font-size: 0.72rem; color: var(--text-tertiary); margin-top: 8px; }

/* ============================================
   BUTTONS — Quiet, confident
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: var(--r-full);
  font-size: 0.95rem; font-weight: 700;
  transition: all 0.22s var(--ease);
  cursor: pointer; border: none; min-height: 48px;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: 0.005em;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; transition: transform 0.22s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--gradient-brand); color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:active { color: #fff; transform: translateY(1px) scale(0.99); }
.btn-outline { background: #fff; color: var(--green-deep); border: 1.5px solid var(--green-soft); box-shadow: var(--shadow-sm); }
.btn-outline:active { background: var(--primary-light); }
.btn.is-disabled { background: var(--bg-subtle); color: var(--text-tertiary); border-color: var(--border-hover); cursor: default; pointer-events: none; box-shadow: none; }

/* Soft white pill — for light grounds */
.btn-white {
  background: #fff; color: var(--green-deep);
  border: 1.5px solid var(--green-soft);
  box-shadow: var(--shadow-sm);
}
.btn-white:active { background: var(--primary-light); }

/* Secondary ghost — white pill on light hero */
.btn-ghost {
  background: #fff; color: var(--green-deep);
  border: 1.5px solid var(--green-soft);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:active { background: var(--primary-light); }

/* ============================================
   ORGANIZATION / RELATED
   ============================================ */
.org-chart { text-align: center; margin: 24px 0; }
.org-chart img { max-width: 100%; margin: 0 auto; border-radius: var(--r); box-shadow: var(--shadow-sm); }

.org-list { display: flex; flex-direction: column; gap: 8px; }
.org-list a {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border: 1px solid var(--border);
  border-radius: var(--r-lg); font-size: 0.85rem; font-weight: 500;
  color: var(--text); min-height: 48px; transition: all 0.2s var(--ease);
}
.org-list a:active { background: var(--primary-light); border-color: var(--primary); }
.org-list a svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-tertiary); }

.privacy-content h3 { font-size: 0.95rem; font-weight: 500; margin: 24px 0 10px; color: var(--text); }
.privacy-content p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.8; }

.guarantee-images { text-align: center; margin: 20px 0; }
.guarantee-images img { max-width: 100%; margin: 0 auto; border-radius: var(--r); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #0f2b21;
  border-top: 4px solid var(--green-mid);
  color: #cfe6db;
  padding: 52px 0 24px;
}
.site-footer .footer-logo span { color: #fff; font-family: var(--font-round); }
.site-footer .footer-address { color: #a9cabd; }
.site-footer .footer-address a { color: #fff; font-weight: 700; }
.site-footer .footer-nav h4 { color: #7fb8a2; }
.site-footer .footer-nav a { color: #cfe6db; }
.site-footer .footer-nav a:hover,
.site-footer .footer-nav a:active { color: #fff; }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #7fb8a2;
}
.footer-inner { display: flex; flex-direction: column; gap: 28px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo img { height: 28px; }
.footer-logo span { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.footer-address { font-size: 0.8rem; line-height: 1.9; }
.footer-address a { color: var(--primary); }
.footer-partners { display: flex; gap: 12px; margin-top: 16px; }
.footer-partners a { display: block; border-radius: var(--r-sm); overflow: hidden; transition: opacity 0.2s; }
.footer-partners a:active { opacity: 0.7; }
.footer-partners img { height: 40px; width: auto; }

.footer-nav h4 {
  color: var(--text-tertiary); font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 0.82rem; color: var(--text-secondary); }
.footer-nav a:active { color: var(--primary); }

.footer-bottom {
  padding: 20px 0 0; margin-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center; font-size: 0.7rem; color: var(--text-tertiary);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: calc(var(--bottom-h) + var(--safe-b) + 12px);
  right: 16px;
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  background: var(--bg-elevated); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.3s var(--ease); z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:active { transform: scale(0.9); }
.back-to-top svg { width: 20px; height: 20px; }

/* Prose */
.prose h3 { font-size: 1rem; font-weight: 700; margin: 24px 0 10px; color: var(--text); }
.prose p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.9; margin-bottom: 14px; }
.prose ul { margin: 12px 0 12px 20px; }
.prose ul li { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.8; list-style: disc; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.login-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; padding: 6px 16px;
  border-radius: var(--r-full); border: 1px solid var(--border);
  color: var(--text-tertiary); transition: all 0.2s var(--ease);
}
.login-link:active { border-color: var(--primary); color: var(--primary); }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet 640px+ */
@media (min-width: 640px) {
  .container { padding: 0 32px; }


  .quick-links { grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: -44px; }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .card-grid { flex-direction: row; flex-wrap: wrap; }
  .card-grid .card { flex: 1; min-width: 260px; }

  .news-item { flex-direction: row; align-items: center; gap: 12px; }
  .news-item-meta { flex-shrink: 0; }

  .plan-grid { grid-template-columns: repeat(3, 1fr); }
  .download-grid { display: grid; grid-template-columns: repeat(2, 1fr); }

  .stats-bar { border-radius: var(--r-2xl); }
  .stat-number { font-size: 2rem; }
  .stat-item { padding: 32px 20px; }

  .greeting { flex-direction: row; text-align: left; gap: 40px; }
  .greeting-photo-wrap { flex-shrink: 0; }
  .greeting-photo { width: 150px; height: 150px; }
  .greeting-photo-wrap { width: 150px; height: 150px; }
  .greeting-content p { text-align: left; }
  .greeting-quote { text-align: left; }

  .event-banner-inner { flex-direction: row; text-align: left; }
  .event-meta { justify-content: flex-start; }

  .footer-inner { flex-direction: row; flex-wrap: wrap; gap: 36px; }
  .footer-inner > * { flex: 1; min-width: 200px; }

  .cta-section { padding: 64px 0; }
  .cta-section h2 { font-size: 1.5rem; }
  .cta-section .tel-large { font-size: 2.2rem; }
}

/* Desktop 1024px+ */
@media (min-width: 1024px) {
  :root { --header-h: 64px; }

  .bottom-nav { display: none; }
  body { padding-bottom: 0; }
  .nav-toggle { display: none; }

  .global-nav {
    position: fixed; top: 0; left: auto; right: 40px; bottom: auto;
    height: var(--header-h); width: auto;
    transform: none; background: none; padding: 0; overflow: visible;
    display: flex; align-items: center;
    z-index: 101;
  }
  .global-nav ul { flex-direction: row; align-items: center; gap: 2px; }
  .global-nav a { padding: 8px 14px; font-size: 0.82rem; min-height: auto; border-radius: var(--r-sm); }
  .global-nav a:hover { color: var(--primary); background: var(--primary-soft); }
  .global-nav a.active { color: var(--primary); background: var(--primary-light); font-weight: 500; }

  .container { padding: 0 40px; }


  .quick-links { gap: 16px; margin-top: -56px; padding: 0; }
  .quick-link { padding: 28px 20px; gap: 14px; border-radius: var(--r-2xl); }
  .quick-link:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); border-color: var(--border-hover); }
  .quick-link:hover .quick-link-icon { transform: scale(1.1); }
  .quick-link-icon { width: 56px; height: 56px; border-radius: 18px; }
  .quick-link-icon svg { width: 26px; height: 26px; }
  .quick-link-title { font-size: 0.88rem; }

  .section { padding: 88px 0; }
  .section-header { margin-bottom: 52px; }
  .section-header h2::after { width: 48px; }

  .card { border-radius: var(--r-2xl); }
  .card:hover { transform: translateY(-6px); box-shadow: 0 2px 6px rgba(6,78,59,0.05), 0 22px 48px -20px rgba(6,78,59,0.28); border-color: var(--hairline-strong); }
  .card:hover::before { transform: scaleX(1); }
  .card:hover .card-arrow { gap: 8px; }
  .card-body { padding: 28px 24px; }

  .news-list { max-width: 860px; margin-left: auto; margin-right: auto; }
  .news-item { padding: 20px 24px; padding-left: 28px; }
  .news-item:hover { background: var(--green-50); padding-left: 12px; }
  .news-item:hover .news-title { color: var(--green-700); }

  .hero-content { max-width: 740px; }
  .hero-content h1 { font-size: 3.4rem; }

  .greeting { gap: 56px; }
  .greeting-photo { width: 180px; height: 180px; }
  .greeting-photo-wrap { width: 180px; height: 180px; }

  .stat-number { font-size: 2.5rem; }

  .org-list { display: grid; grid-template-columns: repeat(2, 1fr); }
  .org-list a:hover { border-color: var(--primary); color: var(--primary); }

  .download-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .download-item:hover { border-color: var(--primary); }

  .plan-grid { grid-template-columns: repeat(5, 1fr); }
  .plan-card:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); }

  .page-hero { padding: 56px 0; }
  .page-hero h1 { font-size: 1.8rem; }
  .news-detail-header h1,
  .news-detail-header h2 { font-size: 1.7rem; }

  .btn-primary:hover { box-shadow: 0 6px 24px rgba(5,150,105,0.3); transform: translateY(-2px); }
  .btn-outline:hover { background: var(--primary-soft); }

  .back-to-top { bottom: 32px; right: 32px; }
  .accordion-header:hover { background: var(--bg-subtle); }
  .footer-inner { flex-wrap: nowrap; }

  .event-banner { padding: 56px 0; }
  .cta-section { padding: 80px 0; }
}

/* Ultra-wide 1280px+ */
@media (min-width: 1280px) {
  .org-list { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================
   案：やさしい親しみ — 仕上げレイヤー
   緑を主役に、ミント／クリーム基調。丸みと
   小さなアンバー差し色でやわらかい親しみを。
   ============================================ */

/* Section label — soft green-tint pill (friendly eyebrow) */
.section-label {
  background: var(--primary-light);
  padding: 5px 16px; border-radius: var(--r-full);
  color: var(--green-deep);            /* AA: #047857 on #ecfdf5 = 5.2:1（旧 green-mid は 2.4:1 で不合格） */
  text-transform: none; letter-spacing: 0.16em;
}

/* Section heading underline — subtle rounded green bar (base ::after) */
.section-header h2 { position: relative; display: inline-block; }
.section-header h2::after {
  content: '';
  display: block; width: 46px; height: 4px; border-radius: 999px;
  background: var(--gradient-brand);
  margin: 16px auto 0;
}

/* Soft wave divider — <div class="wave-divider"></div> between sections */
.wave-divider {
  height: 26px; margin: 0; border: 0; line-height: 0;
  background: no-repeat center/100% 100%
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='26' viewBox='0 0 1200 26' preserveAspectRatio='none'%3E%3Cpath d='M0 14C120 4 240 4 360 12s240 14 360 8 240-14 360-10c40 1.3 80 4 120 6v6H0z' fill='%23fffdf7'/%3E%3C/svg%3E");
}

/* Event banner — friendly amber "開催報告" tag + green accent edge */
.event-banner-inner { border-left: 4px solid var(--green-soft); }
.event-banner-label {
  background: var(--amber); color: #fff;
  border-color: transparent;
  border-radius: var(--r-full);
  padding: 5px 15px; font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge .dot { animation: none; }
}
