/* =========================================================
   みらいの種（架空NPO）— style.css
   配色: 生成り/白 ＋ アクセント=プラム #6E4A7E
   ========================================================= */
:root {
  --bg: #FBF8F3;          /* 明るい生成り */
  --bg-warm: #F4EEE4;     /* やや濃い生成り */
  --surface: #FFFFFF;
  --ink: #2B2530;         /* 黒に近いすみれ寄り */
  --ink-soft: #5C5560;
  --muted: #8A8390;
  --line: #E7DFD3;
  --accent: #6E4A7E;      /* プラム/すみれ */
  --accent-deep: #553A62;
  --accent-soft: #EFE6F2; /* 淡いプラム */
  --accent-ink: #FFFFFF;
  --leaf: #7C8B5E;        /* 補助の落ち着いた草色（自然系アクセント・控えめ） */
  --header-h: 76px;
  --wrap: 1180px;
  --radius: 18px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --serif: "Noto Serif JP", serif;
  --gothic: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --sans: "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
figure, figcaption, blockquote, dl, dt, dd, fieldset, legend, menu { margin: 0; }
fieldset { padding: 0; border: 0; min-inline-size: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.85;
  -webkit-font-smoothing: antialiased; letter-spacing: .01em;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--gothic); font-weight: 700; line-height: 1.4; margin: 0; letter-spacing: .01em; word-break: auto-phrase; text-wrap: pretty; }

::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link { position: absolute; left: 8px; top: -52px; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 2000; transition: top .2s; }
.skip-link:focus { top: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(48px, 6.5vw, 96px) 0; }
.center { text-align: center; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; font-family: var(--gothic);
  font-weight: 700; font-size: .94rem; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-line { border-color: var(--accent); color: var(--accent); background: #fff; }
.btn-line:hover { background: var(--accent-soft); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- ヘッダー ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h); display: flex; align-items: center; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(251,248,243,.92); backdrop-filter: blur(10px); border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(43,37,48,.05); }
.header-inner { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; position: relative; z-index: 1000; } /* 開いたメニュー（z-index:999）より上に出して、閉じるボタンを押せるようにする */
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--gothic); font-weight: 900; font-size: 1.18rem; }
.brand__mark { color: var(--accent); font-size: 1.05rem; }
.global-nav { margin-left: auto; }
.nav-list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-link { font-family: var(--gothic); font-weight: 500; font-size: .92rem; color: var(--ink-soft); position: relative; padding: 4px 0; transition: color .2s; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--accent); transition: width .25s var(--ease); }
.nav-link:hover, .nav-link.is-active { color: var(--accent); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.header-cta { flex: none; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform .3s, opacity .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルメニュー */
.mobile-menu { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; background: var(--bg); z-index: 999; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; display: flex; align-items: center; justify-content: center; }
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.mobile-menu li { margin: 18px 0; }
.mobile-menu a { font-family: var(--gothic); font-weight: 700; font-size: 1.5rem; display: inline-flex; flex-direction: column; gap: 2px; }
.mobile-menu a em { font-style: normal; font-size: .7rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.mobile-menu a.is-active span { color: var(--accent); }
.mobile-menu__cta { margin-top: 30px !important; }

/* ---------- reveal フェイルセーフ ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal-all .reveal { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .btn:hover { transform: none; }
}

/* ---------- セクション見出し ---------- */
.eyebrow { display: inline-block; font-family: var(--gothic); font-weight: 700; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: "✿ "; }
.sec-head { margin-bottom: clamp(34px, 5vw, 60px); }
.sec-head .h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.sec-head .h2 em { font-style: normal; color: var(--accent); }
.sec-head .lead { color: var(--ink-soft); max-width: 640px; margin: 16px auto 0; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- ヒーロー（インパクト数値＋コラージュ主導） ---------- */
.hero {
  padding-top: calc(var(--header-h) + clamp(34px, 5.5vw, 70px));
  padding-bottom: clamp(48px, 7vw, 96px);
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 88% 0%, var(--accent-soft) 0%, transparent 46%),
    linear-gradient(180deg, #FCFAF6 0%, var(--bg) 100%);
}
.hero__blob { position: absolute; left: -7%; bottom: -16%; width: 40vw; height: 40vw; max-width: 460px; max-height: 460px; background: radial-gradient(circle, rgba(124,139,94,.18), transparent 70%); z-index: 0; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(30px, 4.5vw, 64px); align-items: center; }

.hero__eyebrow { display: inline-block; font-family: var(--gothic); font-weight: 700; font-size: .8rem; letter-spacing: .12em; color: var(--accent); background: var(--surface); border: 1px solid var(--line); padding: 7px 16px; border-radius: 999px; box-shadow: 0 8px 22px -16px rgba(85,58,98,.5); }
.hero__title { font-size: clamp(2.05rem, 5vw, 3.85rem); line-height: 1.28; margin: 18px 0 18px; letter-spacing: .004em; }
.hero__title .hl { color: var(--accent); position: relative; white-space: nowrap; }
.hero__title .hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .34em; background: var(--accent-soft); border-radius: 4px; z-index: -1; }
.hero__lead { font-size: clamp(1rem, 1.4vw, 1.1rem); color: var(--ink-soft); max-width: 520px; margin: 0; }

.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 38px); margin: 26px 0 4px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-num { font-family: var(--gothic); font-weight: 900; font-size: clamp(1.6rem, 3.4vw, 2.35rem); line-height: 1; color: var(--accent); letter-spacing: -.01em; }
.hero__stat-suf { font-size: .46em; margin-left: 3px; font-weight: 700; }
.hero__stat-label { margin-top: 7px; font-size: .78rem; color: var(--ink-soft); font-family: var(--gothic); font-weight: 500; }

.hero__actions { display: flex; gap: 13px; margin-top: 26px; flex-wrap: wrap; }
.hero__cta { box-shadow: 0 16px 34px -14px rgba(110,74,126,.7); }
.hero__note { margin: 14px 0 0; font-size: .74rem; color: var(--muted); }

/* コラージュ：2×2 モザイク。左上を縦長の主役に。 */
.hero__collage { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 14px; aspect-ratio: 1 / 1.04; }
.hero__tile { margin: 0; min-height: 0; overflow: hidden; border-radius: 16px; box-shadow: 0 24px 48px -30px rgba(85,58,98,.55); background: var(--bg-warm); }
.hero__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.hero__tile:hover img { transform: scale(1.05); }
.hero__tile--lead { grid-column: 1; grid-row: 1 / span 2; border-radius: 20px; }
.hero__tile--lead { box-shadow: 0 30px 60px -30px rgba(85,58,98,.6); }
.hero__collage .hero__badge { position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 11px 20px; box-shadow: 0 18px 44px -18px rgba(43,37,48,.4); z-index: 2; width: max-content; max-width: calc(100% - 24px); }
.hero__collage .hero__badge strong { font-family: var(--gothic); color: var(--accent); font-size: 1.55rem; line-height: 1; white-space: nowrap; }
.hero__collage .hero__badge span { font-size: .76rem; color: var(--ink-soft); line-height: 1.45; }

/* ---------- 課題（issues） ---------- */
.issues { background: var(--bg-warm); }
.issue-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.issue-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.issue-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -24px rgba(85,58,98,.4); }
.issue-card__no { font-family: var(--gothic); font-weight: 700; font-size: .78rem; letter-spacing: .1em; color: var(--accent); }
.issue-card h3 { font-size: 1.12rem; margin: 10px 0 10px; }
.issue-card p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- 活動グリッド ---------- */
.act-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
.act-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.act-card:hover { transform: translateY(-5px); box-shadow: 0 26px 52px -28px rgba(85,58,98,.45); }
.act-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.act-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.act-card:hover .act-card__media img { transform: scale(1.05); }
.act-card__cat { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--accent); font-family: var(--gothic); font-weight: 700; font-size: .74rem; padding: 6px 12px; border-radius: 999px; }
.act-card__body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.act-card__icon { font-size: 1.4rem; color: var(--accent); }
.act-card h3 { font-size: 1.25rem; margin: 6px 0 8px; }
.act-card__lead { color: var(--accent-deep); font-weight: 500; font-size: .95rem; margin: 0 0 10px; }
.act-card p { color: var(--ink-soft); font-size: .9rem; margin: 0 0 16px; }
.act-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.act-card__area { font-size: .8rem; color: var(--muted); }
.act-link { font-family: var(--gothic); font-weight: 700; font-size: .88rem; color: var(--accent); }
.act-link .arrow { display: inline-block; transition: transform .25s var(--ease); }
.act-link:hover .arrow { transform: translateX(4px); }

/* ---------- 活動詳細セクション（activities.php） ---------- */
.act-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(40px, 6vw, 70px) 0; border-bottom: 1px solid var(--line); }
.act-detail:nth-child(even) .act-detail__media { order: 2; }
.act-detail__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.act-detail__cat { font-family: var(--gothic); font-weight: 700; font-size: .78rem; letter-spacing: .1em; color: var(--accent); }
.act-detail h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 8px 0 6px; }
.act-detail__lead { color: var(--accent-deep); font-weight: 500; margin: 0 0 18px; }
.act-detail__block { margin-bottom: 16px; }
.act-detail__block h4 { font-family: var(--gothic); font-size: .9rem; color: var(--accent); margin: 0 0 4px; }
.act-detail__block p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.act-detail__points { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.act-detail__points li { position: relative; padding-left: 26px; font-size: .92rem; }
.act-detail__points li::before { content: "✿"; position: absolute; left: 0; color: var(--accent); font-size: .82rem; top: 3px; }
.act-detail__area { display: inline-block; margin-top: 16px; font-size: .82rem; color: var(--muted); background: var(--bg-warm); padding: 6px 14px; border-radius: 999px; }

/* ---------- インパクト数字 ---------- */
.stats { background: var(--accent); color: #fff; }
.stats .eyebrow { color: #fff; opacity: .85; }
.stats .h2 { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; margin-top: 36px; }
.stat { text-align: center; }
.stat__value { font-family: var(--gothic); font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; }
.stat__value .suffix { font-size: .42em; margin-left: 4px; font-weight: 700; }
.stat__label { margin-top: 10px; font-size: .86rem; opacity: .9; line-height: 1.55; }

/* ---------- ストーリー / レポート ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 30px); }
.story-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.story-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -28px rgba(85,58,98,.4); }
.story-card__media { aspect-ratio: 3 / 2; overflow: hidden; }
.story-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.story-card:hover .story-card__media img { transform: scale(1.05); }
.story-card__body { padding: 22px 22px 26px; }
.story-card__meta { display: flex; gap: 10px; align-items: center; font-size: .76rem; margin-bottom: 10px; }
.story-card__tag { background: var(--accent-soft); color: var(--accent-deep); font-family: var(--gothic); font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.story-card__date { color: var(--muted); font-family: var(--gothic); }
.story-card h3 { font-size: 1.08rem; margin: 0 0 10px; line-height: 1.5; }
.story-card p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

/* ---------- 寄付の案内（トップ） ---------- */
.donate-cta { background: var(--bg-warm); }
.donate-cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.donate-cta__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.donate-cta h2 { font-size: clamp(1.35rem, 3vw, 2.2rem); margin-bottom: 16px; } /* 2行目「まちの「ひとりじゃない」を。」が1行に収まる大きさに（「を。」だけが3行目に落ちていた） */
.donate-cta p { color: var(--ink-soft); margin: 0 0 24px; }

/* ---------- ページヒーロー（下層） ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 78px)); padding-bottom: clamp(28px, 4vw, 48px); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .78rem; color: var(--muted); font-family: var(--gothic); margin-bottom: 18px; }
.breadcrumb a { transition: color .3s; }
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero .lead { margin-top: 16px; color: var(--ink-soft); max-width: 640px; }

/* ---------- 寄付ティア（donate.php） ---------- */
.freq-switch { display: inline-flex; background: var(--bg-warm); border: 1px solid var(--line); border-radius: 999px; padding: 5px; gap: 4px; margin: 0 auto 38px; }
.freq-switch button { border: 0; background: transparent; font-family: var(--gothic); font-weight: 700; font-size: .92rem; color: var(--ink-soft); padding: 10px 24px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.freq-switch button.is-active { background: var(--accent); color: #fff; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tier { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 32px 26px; display: flex; flex-direction: column; position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tier:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -26px rgba(85,58,98,.4); }
.tier.is-featured { border-color: var(--accent); box-shadow: 0 24px 50px -26px rgba(110,74,126,.5); }
.tier__ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-family: var(--gothic); font-weight: 700; font-size: .74rem; padding: 5px 16px; border-radius: 999px; white-space: nowrap; }
.tier__title { font-family: var(--gothic); font-weight: 700; font-size: 1rem; color: var(--accent-deep); }
.tier__amount { font-family: var(--gothic); font-weight: 900; font-size: 2.3rem; margin: 8px 0 2px; }
.tier__amount .yen { font-size: .5em; margin-right: 2px; }
.tier__unit { font-size: .82rem; color: var(--muted); }
.tier__impact { margin: 20px 0 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); flex: 1; }
.tier__impact strong { color: var(--ink); font-weight: 700; }
.tier__btn { width: 100%; justify-content: center; }

.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.use-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.use-card__ratio { font-family: var(--gothic); font-weight: 900; font-size: 2.2rem; color: var(--accent); line-height: 1; }
.use-card__bar { height: 7px; background: var(--accent-soft); border-radius: 999px; margin: 14px 0 18px; overflow: hidden; }
.use-card__bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.use-card h3 { font-size: 1.05rem; margin: 0 0 8px; }
.use-card p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

.donate-note { background: var(--accent-soft); border-radius: var(--radius); padding: 24px 28px; color: var(--accent-deep); font-size: .9rem; margin-top: 40px; line-height: 1.8; }
.donate-note strong { display: block; font-family: var(--gothic); margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: transparent; border: 0; padding: 22px 44px 22px 0; font-family: var(--gothic); font-weight: 700; font-size: 1.02rem; color: var(--ink); cursor: pointer; position: relative; line-height: 1.5; }
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent); font-weight: 400; transition: transform .3s; }
.faq-item.is-open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a__inner { padding: 0 44px 24px 0; color: var(--ink-soft); font-size: .94rem; }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-intro__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.about-intro h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 18px; }
.about-mission { font-family: var(--serif); font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 2; color: var(--ink); }
.about-mission em { font-style: normal; color: var(--accent); }
.about-intro p { color: var(--ink-soft); }

.timeline { max-width: 760px; margin: 0 auto; }
.timeline__row { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.timeline__year { font-family: var(--gothic); font-weight: 900; color: var(--accent); font-size: 1.1rem; }
.timeline__text { color: var(--ink-soft); font-size: .94rem; margin: 0; }

.member-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.member { text-align: center; }
.member__media { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.member__media img { width: 100%; height: 100%; object-fit: cover; }
.member__name { font-family: var(--gothic); font-weight: 700; font-size: 1.05rem; line-height: 1.4; }
.member__role { color: var(--accent); font-size: .82rem; font-family: var(--gothic); font-weight: 700; margin: 2px 0 8px; }
.member__bio { font-size: .85rem; line-height: 1.7; color: var(--ink-soft); margin: 0; text-align: left; }

.trans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trans-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.trans-card__no { color: var(--accent); font-family: var(--gothic); font-weight: 900; font-size: 1.3rem; }
.trans-card h3 { font-size: 1.1rem; margin: 10px 0 10px; }
.trans-card p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- 参加バンド（footer上） ---------- */
.join-band { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; padding: clamp(56px, 9vw, 110px) 0; text-align: center; }
.join-band__eyebrow { font-family: var(--gothic); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; opacity: .85; }
.join-band__title { font-size: clamp(1.7rem, 4vw, 2.8rem); margin: 16px 0 18px; }
.join-band__lead { opacity: .92; max-width: 560px; margin: 0 auto 32px; }
.join-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.join-band .btn-accent { background: #fff; border-color: #fff; color: var(--accent-deep); }
.join-band .btn-accent:hover { background: var(--bg); border-color: var(--bg); }
.join-band .btn-line { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.join-band .btn-line:hover { background: rgba(255,255,255,.14); }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: #C9C2CF; padding: clamp(48px, 7vw, 80px) 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { font-family: var(--gothic); font-weight: 900; font-size: 1.25rem; color: #fff; display: block; }
.footer-tag { color: #fff; opacity: .85; margin: 12px 0 6px; font-size: .92rem; }
.footer-meta { font-size: .78rem; color: var(--muted); margin: 0; }
.footer-h { display: block; font-family: var(--gothic); font-weight: 700; font-size: .82rem; color: #fff; margin-bottom: 14px; letter-spacing: .05em; }
.footer-col a { display: block; font-size: .86rem; padding: 5px 0; color: #C9C2CF; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.sample-note { font-size: .78rem; color: #b3a9bc; margin: 0 0 8px; }
.copyright { font-size: .78rem; color: var(--muted); margin: 0; }

/* ---------- フォーム ---------- */
.form-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.alert { background: var(--accent-soft); border: 1px solid var(--accent); color: var(--accent-deep); padding: 14px 18px; border-radius: 12px; margin-bottom: 24px; font-size: .9rem; }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; font-family: var(--gothic); font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.form-field .req { color: var(--accent); margin-left: 5px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--surface); font-family: var(--sans); font-size: .96rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: #C0392B; }
.field-error { color: #C0392B; font-size: .82rem; margin: 7px 0 0; }
.form-note { font-size: .82rem; color: var(--muted); line-height: 1.8; margin-top: 6px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-aside { background: var(--bg-warm); border-radius: var(--radius); padding: 32px 30px; }
.form-aside__big { font-family: var(--gothic); font-weight: 900; font-size: 1.4rem; line-height: 1.5; margin: 0 0 20px; }
.form-aside dl { margin: 0; }
.form-aside dt { font-family: var(--gothic); font-weight: 700; font-size: .78rem; color: var(--accent); margin-top: 16px; }
.form-aside dt:first-child { margin-top: 0; }
.form-aside dd { margin: 4px 0 0; font-size: .92rem; }

/* ---------- thanks ---------- */
.thanks { max-width: 620px; margin: 0 auto; text-align: center; }
.thanks__icon { font-size: 2.6rem; color: var(--accent); }
.thanks h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 14px 0 16px; }
.thanks h1 em { font-style: normal; color: var(--accent); }
.thanks p { color: var(--ink-soft); }

/* ---------- to-top / toast ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; border: 0; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s, background .25s; z-index: 800; box-shadow: 0 10px 26px -10px rgba(85,58,98,.6); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-deep); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 13px 24px; border-radius: 999px; font-size: .9rem; opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; z-index: 1500; box-shadow: 0 14px 34px -14px rgba(0,0,0,.5); }
.toast.is-show { opacity: 1; visibility: visible; transform: translateX(-50%); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__collage { max-width: 520px; margin: 0 auto; }
  .issue-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .story-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  /* 3列のままのタブレット幅で「このプランで支える」が2行に割れないよう、カードの余白を詰める */
  .tier { padding: 30px 18px; }
  .tier .btn { padding-inline: 16px; white-space: nowrap; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .global-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .act-grid { grid-template-columns: 1fr; }
  .act-detail, .act-detail:nth-child(even) .act-detail__media { grid-template-columns: 1fr; order: 0; }
  .act-detail__media { order: -1 !important; }
  .tier-grid, .use-grid, .trans-grid { grid-template-columns: 1fr; }
  .about-intro, .donate-cta__inner { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .hero__collage { gap: 10px; }
  .hero__cta { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .issue-grid, .stats-grid, .member-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ヒーローの4枚コラージュ：左右交互に配置（4枚目が3段目に押し出されて上段が潰れていた問題の修正） */
.hero__tile--b { grid-column: 2; grid-row: 1; }
.hero__tile--c { grid-column: 1; grid-row: 3; }
.hero__tile--d { grid-column: 2; grid-row: 2 / span 2; }
