/* ============================================================
   個人ボランティア 幸希 — Global Stylesheet
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────── */
:root {
  /* Brand colours */
  --primary:        #1a6fc4;
  --primary-dark:   #1060c8;
  --accent:         #c0392b;
  --blue:           #1a6fc4;
  --red:            #c0392b;

  /* Neutral palette */
  --white:          #ffffff;
  --dark:           #222222;
  --dark-2:         #2e3342;
  --dark-3:         #3a4155;
  --gray:           #f5f5f5;
  --gray-2:         #f0f4f8;
  --gray-3:         #e2e8f0;
  --text:           #333333;
  --text-secondary: #64748b;

  /* Spacing / Radius */
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.14);

  /* Transitions */
  --dur-base:   0.28s;
  --dur-fast:   0.18s;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Extended palette */
  --green:        #16a34a;
  --green-light:  #dcfce7;
  --text-muted:   #94a3b8;
  --gray-1:       #d1d5db;
  --primary-glow: rgba(26,111,196,0.30);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
/* 最後の1文字だけ残る(orphan)を防ぐ */
p, h1, h2, h3, h4 { text-wrap: pretty; }

/* ── Container ──────────────────────────────────────────── */
.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.header.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 16px;
  width: min(1400px, 97%);
  margin-inline: auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  /* シーサーロゴを白く（透明ヘッダー時） */
  filter: brightness(0) invert(1);
  transition: filter var(--dur-base) var(--ease);
}
.header.scrolled .logo-img { filter: none; }

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.25;
}
.logo-main {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.01em;
  transition: color var(--dur-base) var(--ease);
  white-space: nowrap;
}
.logo-sub {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.80);
  transition: color var(--dur-base) var(--ease);
  white-space: nowrap;
}
.logo-sub::before,
.logo-sub::after { content: '〜'; }
.header.scrolled .logo-main { color: var(--text); }
.header.scrolled .logo-sub  { color: var(--text-secondary); }

.logo--light .logo-main { color: var(--white); }
.logo--light .logo-sub  { color: rgba(255,255,255,0.72); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-wrap: nowrap;
}
.nav-link {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.88);
  transition: color var(--dur-base) var(--ease),
              background var(--dur-base) var(--ease);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}
.header.scrolled .nav-link { color: var(--text); }
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--primary);
  background: rgba(26,111,196,0.08);
}

.nav-mobile-label { display: none; }
.nav-btn {
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--dur-base) var(--ease);
  background: rgba(255,255,255,0.18);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.36);
}
.nav-btn:hover {
  background: rgba(255,255,255,0.30);
}
.header.scrolled .nav-btn {
  background: var(--gray-2);
  color: var(--text);
  border-color: var(--gray-3);
}
.header.scrolled .nav-btn:hover {
  background: var(--gray-3);
}

.nav-btn--line {
  background: #06C755;
  color: var(--white);
  border-color: #06C755;
}
.nav-btn--line:hover { background: #05b34b; border-color: #05b34b; }
.header.scrolled .nav-btn--line {
  background: #06C755;
  color: var(--white);
  border-color: #06C755;
}

.nav-btn--instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
  border-color: transparent;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-btn--instagram:hover { opacity: 0.88; }
.header.scrolled .nav-btn--instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.header.scrolled .hamburger span { background: var(--text); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* メニューオープン時は×を常に白く */
.hamburger.active span { background: var(--white) !important; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--dur-base) var(--ease-spring);
  white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 15px; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26,111,196,0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(26,111,196,0.45);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border-color: rgba(255,255,255,0.40);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.24);
  transform: translateY(-2px);
}

/* LINEグリーンボタン（全ページ共通） */
.btn-line-cta {
  background: #06C755;
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(6,199,85,0.40);
}
.btn-line-cta:hover {
  background: #05b34b;
  box-shadow: 0 6px 20px rgba(6,199,85,0.55);
  transform: translateY(-2px);
}

/* CAMPFIREボタン（青） */
.btn-campfire {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26,111,196,0.35);
}
.btn-campfire:hover {
  background: #155fa8;
  box-shadow: 0 6px 20px rgba(26,111,196,0.50);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--gray-3);
}
.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
  border-color: transparent;
}
.btn-instagram:hover { opacity: 0.88; transform: translateY(-2px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Animated blobs */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  animation: blob-drift 12s ease-in-out infinite alternate;
}
.hero-blob--1 {
  width: 700px; height: 700px;
  top: -200px; left: -200px;
  animation-duration: 14s;
}
.hero-blob--2 {
  width: 500px; height: 500px;
  top: 30%; right: -100px;
  animation-duration: 18s;
  animation-delay: -4s;
}
.hero-blob--3 {
  width: 400px; height: 400px;
  bottom: -100px; left: 40%;
  animation-duration: 20s;
  animation-delay: -8s;
}
@keyframes blob-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.08); }
}

/* Two-column grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: min(1160px, 92%);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Hero content (left) */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 900;
  line-height: 1.18;
  color: var(--white);
  letter-spacing: -0.02em;
}
.hero-highlight {
  position: relative;
  color: #ffd166;
}

.hero-desc {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.9;
}

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

/* Stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  flex-wrap: nowrap;
  width: fit-content;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  text-align: center;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child  { padding-right: 0; }
.hero-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 900;
  line-height: 1;
}
.hero-stat-unit {
  font-size: 16px;
  font-weight: 700;
}
.hero-stat-label {
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  flex-shrink: 0;
}

/* Hero visual (right) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
}
.hero-circle {
  position: relative;
  z-index: 2;
  border-radius: 50%;
}
.hero-circle-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid;
  animation: ring-spin 24s linear infinite;
}
.hero-circle-ring--1 {
  width: 380px; height: 380px;
}
.hero-circle-ring--2 {
  width: 480px; height: 480px;
  animation-direction: reverse;
  animation-duration: 36s;
}
@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Floating cards */
.hero-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.16);
  backdrop-filter: blur(8px);
  animation: float-card 4s ease-in-out infinite alternate;
}
.hero-card--1 { top: 10%; right: -20px; animation-delay: 0s; }
.hero-card--2 { bottom: 20%; left: -30px; animation-delay: 1.3s; }
.hero-card--3 { top: 60%; right: -10px; animation-delay: 2.6s; }
@keyframes float-card {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}
.hero-card-icon { font-size: 22px; }
.hero-card-text { display: flex; flex-direction: column; line-height: 1.3; }
.hero-card-text strong { font-size: 12px; font-weight: 800; color: var(--text); }
.hero-card-text span   { font-size: 11px; color: var(--text-secondary); }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.scroll-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.50);
  animation: scroll-line 1.6s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.001% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   PAGE HERO (sub-pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(145deg, #0a1e50 0%, #1060c8 55%, #1e88e5 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(255,200,80,0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(100,200,255,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,30 C360,60 720,0 1080,35 C1260,52 1380,22 1440,30 L1440,60 L0,60 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat bottom center / 100% auto;
}
.page-hero .container { position: relative; }
.page-hero .page-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}
.page-hero .page-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  margin-top: 12px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.40); }

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 56px;
}
.section-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: var(--text);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ============================================================
   MISSION
   ============================================================ */
.mission-section {
  background: var(--white);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.mission-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mission-desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-secondary);
}
.mission-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mission-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}
a.mission-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
a.mission-card:hover {
  transform: translateX(4px);
  background: rgba(26,111,196,0.05);
  box-shadow: var(--shadow-md);
}
.mission-card-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.mission-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.75;
}

/* ============================================================
   IMPACT
   ============================================================ */
.impact-section {
  position: relative;
  overflow: hidden;
}
.impact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.impact-item {
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.impact-num {
  display: flex;
  align-items: baseline;
  gap: 3px;
  justify-content: center;
}
.impact-num span:first-child {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.impact-unit {
  font-size: 22px;
  font-weight: 800;
  color: rgba(255,255,255,0.80);
}
.impact-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.impact-desc {
  font-size: 12px;
  line-height: 1.6;
}

/* ============================================================
   NEWS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.news-card-img {
  position: relative;
  overflow: hidden;
}
.news-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.news-date {
  font-size: 11px;
  color: rgba(255,255,255,0.80);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.news-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.news-body {
  padding: 16px;
  flex: 1;
}
.news-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.news-more {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   SUPPORT
   ============================================================ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ============================================================
   INSTAGRAM CTA
   ============================================================ */
.instagram-cta {
  background: linear-gradient(145deg, var(--dark) 0%, #2e3342 100%);
}
.instagram-cta-inner {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: var(--white);
}
.instagram-cta-inner h2 { font-weight: 900; }
.instagram-cta-inner p { font-size: 15px; color: rgba(255,255,255,0.72); line-height: 1.8; }

/* ============================================================
   LINE FLOAT
   ============================================================ */
.line-float {
  position: fixed;
  bottom: calc(78px + 20px); /* ティッカー高さ(78px) + 余白 */
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.line-float-btn {
  width: 56px; height: 56px;
  background: #06C755;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(6,199,85,0.5);
  transition: transform var(--dur-base) var(--ease-spring),
              box-shadow var(--dur-base) var(--ease);
}
.line-float-btn svg {
  width: 28px; height: 28px;
  fill: var(--white);
}
.line-float:hover .line-float-btn {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(6,199,85,0.60);
}
.line-float-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  background: rgba(0,0,0,0.55);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

/* ============================================================
   SPONSOR TICKER
   ============================================================ */
.sponsor-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  height: 48px;
  background: rgba(18,18,18,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ticker-label {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.38);
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.10);
  height: 100%;
  display: flex;
  align-items: center;
}
.ticker-scroll-area {
  flex: 1;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: ticker-scroll 50s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  padding: 0 20px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.78);
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--dur-base) var(--ease);
  display: flex;
  align-items: center;
}
.ticker-item:hover { color: var(--white); }
.ticker-item--logo {
  padding: 6px 20px;
}
/* ticker logo sizing — tier別は末尾 Phase 4 ブロックで定義 */
.ticker-sep {
  color: rgba(255,255,255,0.18);
  font-size: 18px;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(160deg, #0d1b2e 0%, #112240 50%, #1a2f52 100%);
  border-top: 3px solid var(--primary);
  color: rgba(255,255,255,0.78);
  padding-bottom: 100px; /* ticker(78px) + margin */
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 380px;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.90;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.footer-nav {
  display: flex;
  gap: 48px;
}
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-bottom: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-nav-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  transition: color var(--dur-base) var(--ease), padding-left var(--dur-fast) var(--ease);
}
.footer-nav-col a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  padding-top: 28px;
  font-size: 12px;
  color: rgba(255,255,255,0.50);
  text-align: center;
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  /* Header */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(16,32,64,0.97);
    backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform 0.38s var(--ease);
    gap: 16px;
    padding: 80px 24px 24px;
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav-link {
    font-size: 18px;
    color: var(--white);
    padding: 10px 20px;
  }
  /* スクロール後もモバイルメニュー内のリンクは白文字（.nav.open で優先度を上げる） */
  .header.scrolled .nav.open .nav-link { color: var(--white); }
  .header.scrolled .nav.open .nav-link:hover,
  .header.scrolled .nav.open .nav-link.active { color: var(--white); background: rgba(255,255,255,0.15); }
  .header.scrolled .nav.open .nav-btn { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.25); }
  .nav-btn { font-size: 15px; width: calc(100% - 48px); margin: 0 24px; text-align: center; justify-content: center; padding: 12px 20px; }
  .nav-btn--instagram { padding: 12px 20px; min-height: unset; display: flex; gap: 8px; align-items: center; }
  .nav-mobile-label { display: inline; }
  .hamburger { display: flex; position: relative; z-index: 1001; }
  .nav { z-index: 1000; }

  /* ③ iOS Safari の backdrop-filter + position:fixed バグ対策 */
  .header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255,255,255,0.98);
  }

  /* Logo — スマホ向けサイズ縮小 */
  .logo-img { width: 46px; height: 46px; }
  .logo-main { font-size: 17px; }
  /* ② サブテキストは非表示にせず小さく表示 */
  .logo-sub { font-size: 10px; }

  /* Hero */
  .hero { padding: 100px 0 60px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-actions { justify-content: center; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  /* 沖縄で活動中・関西で活動中バッジ & サブタイトルバッジ を中央揃え */
  .hero-badges-wrap { justify-content: center; }
  .hero-subtitle-wrap { text-align: center; }

  /* ヒーローアクションボタン：タブレット幅で均等横並び */
  .hero-actions { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .hero-actions .btn { flex: 1; min-width: 200px; text-align: center; }

  /* スケジュールイベントリスト */
  #event-add-list > div { flex-wrap: wrap; gap: 10px; }
  .hero-visual { height: 300px; }
  .hero-circle { width: 260px; height: 260px; }
  .hero-circle-ring--1 { width: 310px; height: 310px; }
  .hero-circle-ring--2 { width: 390px; height: 390px; }
  .hero-card--1 { right: 0; }
  .hero-card--2 { left: 0; }
  .hero-card--3 { right: 0; }

  /* Mission */
  .mission-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Impact */
  .impact-grid { grid-template-columns: repeat(2, 1fr); }

  /* News */
  .news-grid { grid-template-columns: 1fr; }

  /* Support */
  .support-grid { grid-template-columns: repeat(2, 1fr); }

  /* スポンサーページ: メリットカードを2カラムに */
  .merit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .merit-card {
    padding: 24px 18px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-nav { flex-wrap: wrap; gap: 32px; }
  .footer-bottom { font-size: 11px; padding-top: 20px; }
  /* フッターブランドエリア中央揃え */
  .footer-brand { align-items: center; text-align: center; max-width: 100%; }
  .footer-tagline { text-align: center; }
  .footer-brand address { text-align: center; }
  /* モバイルメニューのLINE・Instagramボタン色を復元 */
  .header.scrolled .nav.open .nav-btn--line { background: #06C755 !important; border-color: #06C755 !important; color: #fff !important; }
  .header.scrolled .nav.open .nav-btn--instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important; border-color: transparent !important; }
  /* モバイルメニューのお問い合わせボタン */
  .nav.open .nav-btn:not(.nav-btn--line):not(.nav-btn--instagram) { background: rgba(26,111,196,0.85); border-color: rgba(26,111,196,0.60); color: #fff; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero-grid { gap: 32px; }
  .hero-visual { height: 240px; }
  .hero-card { padding: 10px 14px; }
  .hero-card-icon { font-size: 18px; }

  .impact-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .impact-item { padding: 24px 14px; }

  .line-float { bottom: calc(78px + 14px); }

  /* Logo — さらに縮小 */
  .logo-img { width: 40px; height: 40px; }
  .logo-main { font-size: 15px; }
  .logo-sub { font-size: 9px; }

  /* Section spacing */
  .section-inner,
  .section-inner--narrow { padding: 44px 0; }
  .section-header { margin-bottom: 32px; }

  /* CTA box */
  .cta-box { padding: 28px 20px; }
  .cta-box h3 { font-size: 18px; }

  /* Buttons */
  .btn-lg { padding: 14px 24px; font-size: 14px; }

  /* Stats */
  .hero-stat { padding: 0 16px; }
  .hero-stats { padding: 16px 20px; }

  /* Page hero */
  .page-hero { padding: 110px 0 60px; }

  /* ④ フッターナビ 2列 */
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

  /* ⑤ 支援グリッド 2列 */
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid .support-card h3 { font-size: 15px; }
  .support-grid .support-card p  { font-size: 12px; line-height: 1.6; }

  /* ⑦ パートナータグ */
  .partner-tag { padding: 8px 12px; font-size: 12px; }

  /* ヒーローアクションボタン：スマホで縦並び全幅 */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-actions .btn { text-align: center; }

  /* LINEフロートボタン：スマホ縮小 */
  .line-float-btn { width: 48px; height: 48px; }
  .line-float-btn svg { width: 24px; height: 24px; }
  .line-float-label { font-size: 9px; }

  /* ティッカー著作権：スマホでは非表示 */
  .ticker-label::after { display: none; }

  /* スケジュールイベントリスト：スマホ縦並び */
  #event-add-list > div {
    flex-direction: column;
    align-items: flex-start !important;
  }
  #event-add-list a[href*="calendar.google"] {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* ============================================================
   SPONSOR TICKER — TIER-SPECIFIC SIZING (Phase 4)
   ============================================================ */
.sponsor-ticker {
  height: 64px;
}
.ticker-item--logo img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.80;
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
  background: transparent;
}
.ticker-item--logo.tier-platinum img { height: 82px; opacity: 0.95; }
.ticker-item--logo.tier-gold img     { height: 55px; opacity: 0.88; }
.ticker-item--logo.tier-silver img   { height: 38px; opacity: 0.75; }
.ticker-item--logo:hover img         { opacity: 1; transform: scale(1.05); }
/* ⑧ ロゴ縦中央揃え */
.ticker-item--logo { display: flex; align-items: center; }

/* ティッカー背景を白にしてカラーロゴを見やすく */
.sponsor-ticker {
  height: 78px;
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: 1px solid #e0e0e0;
}
.ticker-label {
  color: var(--primary) !important;
  border-right-color: var(--gray-3) !important;
}
/* ticker-labelはデフォルトのまま（著作権はフッターに配置） */
.ticker-sep { color: var(--gray-3) !important; }

@media (max-width: 768px) {
  .sponsor-ticker { height: 80px; }
  .ticker-item--logo img               { height: 40px; }
  .ticker-item--logo.tier-platinum img { height: 80px; }
  .ticker-item--logo.tier-gold img     { height: 65px; }
  .ticker-item--logo.tier-silver img   { height: 40px; }
}

/* ============================================================
   PAGE HERO — サブページ共通
   ============================================================ */
/* Note: .page-hero base defined above; h1/p overrides below */
.page-hero h1 {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
  position: relative;
}
.page-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.85;
  position: relative;
}

/* ============================================================
   UTILITY CLASSES — 全ページ共通
   ============================================================ */

/* Button sizes */
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* btn-outline: ボーダー付き白抜きボタン */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.50);
  color: var(--white);
  background: transparent;
  transition: all var(--dur-base) var(--ease-spring);
  text-decoration: none;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.80);
  transform: translateY(-2px);
}

/* section-inner */
.section-inner {
  width: min(1100px, 92%);
  margin-inline: auto;
  padding: 88px 0;
}
.section-inner--narrow {
  width: min(800px, 92%);
  margin-inline: auto;
  padding: 88px 0;
}
@media (max-width: 768px) {
  .section-inner,
  .section-inner--narrow { padding: 64px 0; }
}

/* cta-box */
.cta-box {
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}
.cta-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.cta-box p  { font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.cta-box--blue {
  background: linear-gradient(135deg, rgba(26,111,196,0.08) 0%, rgba(26,111,196,0.02) 100%);
  border: 1.5px solid rgba(26,111,196,0.20);
}
.cta-box--blue h3 { color: var(--primary); }
.cta-box--blue p  { color: var(--text-secondary); }
.cta-box--green {
  background: linear-gradient(135deg, var(--green-light) 0%, rgba(255,255,255,0.60) 100%);
  border: 1.5px solid rgba(22,163,74,0.25);
}
.cta-box--green h3 { color: var(--green); }
.cta-box--green p  { color: var(--text-secondary); }
.cta-box--dark {
  background: linear-gradient(135deg, #0a1e50 0%, #1060c8 55%, #1e88e5 100%);
  border: none;
}
.cta-box--dark h3 { color: var(--white); }
.cta-box--dark p  { color: rgba(255,255,255,0.80); }

/* info-table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 14px;
}
.info-table th,
.info-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-3);
  vertical-align: top;
}
.info-table th {
  width: 140px;
  font-weight: 700;
  color: var(--text);
  background: var(--gray-2);
  border-radius: 0;
  white-space: nowrap;
}
.info-table td { color: var(--text-secondary); }
@media (max-width: 600px) {
  .info-table th,
  .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: none; padding-bottom: 6px; }
}

/* ============================================================
   PREMIUM GLOBAL ENHANCEMENTS
   ============================================================ */

/* ── Dot grid pattern overlay ── */
.section-dot-bg {
  position: relative;
}
.section-dot-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(26,111,196,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.section-dot-bg > * { position: relative; z-index: 1; }

/* ── Glass card ── */
.glass-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.80);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.60);
  border-radius: var(--radius-lg);
}

/* ── Gradient text ── */
.text-gradient-blue {
  background: linear-gradient(135deg, #1060c8 0%, #1e88e5 50%, #3eb8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-gold {
  background: linear-gradient(135deg, #b8860b 0%, #d4a017 50%, #f5c842 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Premium CTA box ── */
.cta-box--premium {
  background: linear-gradient(135deg, #0a1e50 0%, #1060c8 55%, #1e88e5 100%);
  border: none;
  position: relative;
  overflow: hidden;
}
.cta-box--premium::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,200,80,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-box--premium h3 { color: var(--white); position: relative; }
.cta-box--premium p  { color: rgba(255,255,255,0.80); position: relative; }

/* ── Shimmer animation ── */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
.btn-shimmer {
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

/* ── Focus ring for accessibility ── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* ── Enhanced link-float ── */
.line-float {
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s var(--ease);
}
.line-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 20px 48px rgba(6,199,85,0.50);
}

/* ── Section divider wave (reusable) ── */
.wave-divider {
  line-height: 0;
  overflow: hidden;
  margin-top: -1px;
}
.wave-divider svg { display: block; width: 100%; }

/* ── stat chip ── */
.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(26,111,196,0.08);
  border: 1px solid rgba(26,111,196,0.18);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
}
