@charset "utf-8";

/* =========================
   Base
   ========================= */
   :root {
    --color-bg: #ffffff;
    --color-text: #333333;
    --color-muted: #666666;

    --color-yellow: #ffe082;
    --color-orange: #ffb347;
    --color-orange-deep: #ff8f00;
    --color-green: #4caf50;
    --color-green-deep: #2e7d32;

    --color-neutral: #f5f5f5;
    --color-footer: #1b3b2b;

    --fs-sm: 0.875rem;
    --fs-md: 1rem;
    --fs-lg: 1.25rem;

    --header-height: 64px;
    --content-max-width: 1120px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
  }

/* フォントサイズユーティリティ（必要なら利用） */
.text-sm { font-size: var(--fs-sm); }
.text-md { font-size: var(--fs-md); }
.text-lg { font-size: var(--fs-lg); }

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

/* =========================
   Layout / Section
   ========================= */
   .section {
    padding: 56px 16px;
  }

  .section--full {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 56px;
  }

  .section--white {
    background-color: #ffffff;
  }

  .section--neutral {
    background-color: var(--color-neutral);
  }

/* =========================
   背景画像セクション（共通ベース）
   ========================= */
   .section--bg-image {
    position: relative;
    color: #ffffff;
    overflow: hidden;
  }

  .section--bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    /* 共通設定のみ（画像とグラデーションは各セクションで指定） */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    mix-blend-mode: normal;
    z-index: -1;
  }

  .section--bg-image > .section__inner {
    position: relative;
    z-index: 1;
  }

/* =========================
   セクション別 背景画像・トーン
   ========================= */

/* 単位PTA活性化事業：ややグリーン寄り（木々イメージ） */
#activation.section--bg-image::before {
  background-image: linear-gradient(135deg, rgb(0 0 0), rgba(0, 0, 0, 0.55)), url(../images/step.webp);
}

/* 新着情報：イエロー〜オレンジ寄り（太陽イメージ） */
#news.section--bg-image::before {
  background-image: linear-gradient(135deg, rgb(0 0 0 / 74%), rgb(0 0 0 / 46%)), url(../images/team.webp);
}

.section__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.section__inner--split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section__inner--reverse {
  flex-direction: column-reverse;
}

.section__head {
  position: relative;
  margin-bottom: 32px;
}

.section__head--center {
  text-align: center;
}

/* セクションタイトル装飾 */
.section__title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-lg);
  font-weight: 700;
  margin: 0 0 8px;
}

/* 左側の小さなライン＋ハイライト */
.section__title::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange-deep));
  box-shadow: 0 0 0 4px rgba(255, 224, 130, 0.5);
  flex-shrink: 0;
}

/* 中央寄せタイトルの下線アクセント */
.section__head--center .section__title {
  padding-bottom: 10px;
}

.section--bg-image .section__title {
  color: #ffffff;
}

.section__lead {
  margin: 0;
  font-size: var(--fs-md);
  color: var(--color-muted);
}

.section--bg-image .section__lead {
  color: #fdf7e3;
}

.section__content {
  font-size: var(--fs-md);
}

.section__content p {
  margin: 0 0 12px;
}

.section__visual {
  flex: 1 1 0;
}

.section__visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.section__actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section__actions--center {
  justify-content: center;
}

/* =========================
   Header / Nav
   ========================= */
   .site-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    height: var(--header-height);
    z-index: 50;
    display: flex;
    align-items: center;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    color: #ffffff;
  }

  .site-header::before {
    /* 初期は透明（ヒーロー上で重ねる） */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), transparent);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.25s ease, background-color 0.25s ease;
  }

  .site-header.is-scrolled {
    color: var(--color-text);
    background-color: #ffffffc9;
    backdrop-filter: blur(14px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .site-header.is-scrolled::before {
    opacity: 0;
  }

  /* backdrop-filter があると fixed のドロワーがヘッダー内に閉じ込められるため、開いている間は外す */
  .site-header.is-open {
    backdrop-filter: none;
  }

  /* ドロワー表示中もハンバーガー（×）を押せるよう、ドロワーより前面に出す */
  .site-header.is-open .site-header__inner {
    z-index: 41;
  }

  .site-header.is-open .site-header__logo {
    visibility: hidden;
  }

  .site-header.is-open .site-header__toggle {
    color: var(--color-text);
  }

  .site-header__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--content-max-width);
    margin: 0 auto;
    width: 100%;
    padding: 0 16px;
  }

  .site-header__logo a {
    display: flex;
    align-items: center;
    height: var(--header-height);
  }

  .site-header__logo-img {
    display: block;
    height: 34px;
    width: auto;
  }

  /* ヒーロー上（透過ヘッダー）では白文字版、スクロール後は黒文字版 */
  .site-header__logo-img--dark {
    display: none;
  }

  .site-header.is-scrolled .site-header__logo-img--white {
    display: none;
  }

  .site-header.is-scrolled .site-header__logo-img--dark {
    display: block;
  }

  @media (min-width: 768px) {
    .site-header__logo-img {
      height: 40px;
    }
  }

/* PC Nav */
.site-nav--desktop {
  display: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__item a {
  font-size: var(--fs-sm);
  font-weight: 500;
  position: relative;
  padding-block: 4px;
}

.site-nav__item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-orange-deep));
  transition: width 0.2s ease;
}

.site-nav__item a:hover::after {
  width: 100%;
}

/* Hamburger */
.site-header__toggle {
  position: relative;
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.site-header__toggle-line {
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease, translate 0.2s ease;
}

.site-header.is-open .site-header__toggle-line:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
}

.site-header.is-open .site-header__toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .site-header__toggle-line:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px);
}

/* Drawer Nav */
.drawer-nav {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 40;
  display: none;
}

.drawer-nav.is-open {
  display: block;
}

.drawer-nav__inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-green));
  color: #ffffff;
  padding-top: var(--header-height);
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
}

.drawer-nav__logo {
  margin-bottom: 24px;
}

.drawer-nav__logo img {
  display: block;
  height: 36px;
  width: auto;
}

.drawer-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-nav__item + .drawer-nav__item {
  margin-top: 16px;
}

.drawer-nav__item a {
  font-size: var(--fs-lg);
  font-weight: 600;
}

/* =========================
   Hero（全画面背景画像）
   ========================= */
   .hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    color: #ffffff;
    overflow: hidden;
    opacity: 0;                       /* 追加 */
    animation: hero-fade-in 0.9s
    ease-out 0.1s forwards;         /* 追加 */
  }
  @keyframes hero-fade-in {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

/* 背景画像＋グラデーションオーバーレイ */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
  linear-gradient(135deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25)),
  url("../images/dummy.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
}

.hero__content {
  max-width: 40rem;
}

.hero__tagline-en {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 8px;
}

.hero__title {
  margin: 0 0 12px;
  font-size: 1.4rem;
  font-weight: 700;
}

/* 見出しを文節単位で折り返す（文節の途中で改行しない） */
.hero__phrase {
  display: inline-block;
}

.hero__lead {
  margin: 0;
  font-size: var(--fs-md);
}

.hero__actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================
   Buttons
   ========================= */
   .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: var(--fs-sm);
    font-weight: 600;
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }

  .btn--primary {
    background: linear-gradient(135deg, var(--color-yellow), var(--color-orange-deep));
    color: #3b2a00;
  }

  .btn--primary:hover {
    transform: translateY(-1px);
    text-decoration: none;
  }

  .btn--secondary {
    background-color: #ffffff;
    color: var(--color-green-deep);
    border-color: rgba(255, 255, 255, 0.6);
  }

  .btn--secondary:hover {
    background-color: #fdfdfd;
    text-decoration: none;
  }

  .btn--ghost {
    background-color: transparent;
    color: inherit;
    border-color: currentColor;
  }

  .btn--ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
  }

  .btn--small {
    padding: 6px 12px;
    font-size: var(--fs-sm);
  }

/* =========================
   Cards / Grids
   ========================= */
   .card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .section--neutral .card {
    background-color: #ffffff;
  }

  .card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
  }

  .card__thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .card__body {
    padding: 16px 18px 18px;
  }

  .card__meta {
    margin: 0 0 6px;
    font-size: var(--fs-sm);
    color: var(--color-muted);
  }

  .card__title {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 700;
  }

  .card__text {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--color-muted);
  }

  .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  }

/* =========================
   News List
   ========================= */
   .news-list {
    list-style: none;
    margin: 0;
    padding: 20px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(6px);
    background-color: rgb(255 255 255 / 12%);
    box-shadow: var(--shadow-soft);
    box-sizing: border-box;
  }

  .news-list__item + .news-list__item {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .news-list__item a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: var(--fs-sm);
    text-decoration: none;
    color: #ffffff;
  }

  .news-list__date {
    color: #ffffff;
    min-width: 5.5rem;
  }

  .news-list__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    background-color: rgb(192 147 0);
    font-size: 0.75rem;
  }

  .news-list__title {
    flex: 1 1 auto;
  }

/* =========================
   About Links (組織図 / 沿革)
   ========================= */
   .link-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 24px;
  }

  .link-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background-color: #ffffff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .link-card a {
    display: block;
    color: inherit;
    text-decoration: none;
  }

  .link-card__bg {
    position: relative;
    height: 160px;
    overflow: hidden;
  }

  .link-card__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%);
  }

  .link-card__bg--green::after,
  .link-card__bg--orange::after {
    content: "";
    position: absolute;
    inset: 0;
    mix-blend-mode: multiply;
  }
/*
  .link-card__bg--green::after {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.75), rgba(56, 142, 60, 0.85));
  }

  .link-card__bg--orange::after {
    background: linear-gradient(135deg, rgba(255, 183, 77, 0.85), rgba(255, 143, 0, 0.9));
  }
*/
  .link-card__body {
    padding: 16px 18px 20px;
  }

  .link-card__title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
  }

  .link-card__text {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--color-muted);
  }

  .link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  }

/* =========================
   Sponsors
   ========================= */
   .sponsor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    justify-items: center;
  }

  .sponsor-grid__item img {
    max-width: 160px;
    border-radius: var(--radius-md);
    background-color: #ffffff;
    padding: 8px;
    box-shadow: var(--shadow-soft);
  }

/* 非表示用 */
.is-hidden {
  display: none !important;
}

/* =========================
   Footer
   ========================= */
   .site-footer {
    background-color:#333333;
    color: #e0f2f1;
    padding: 40px 16px 20px;
  }

  .site-footer__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
  }

  .footer-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 24px;
  }

  .footer-column__title {
    margin: 0 0 8px;
    font-size: var(--fs-md);
    font-weight: 700;
  }

  .footer-links,
  .footer-news {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .footer-links li + li,
  .footer-news li + li {
    margin-top: 6px;
  }

  .footer-links a,
  .footer-news a {
    font-size: var(--fs-sm);
    color: #e0f2f1;
  }

  .footer-links a:hover,
  .footer-news a:hover {
    text-decoration: underline;
  }

  .footer-address {
    font-style: normal;
    font-size: var(--fs-sm);
  }

  .footer-address p {
    margin: 0 0 6px;
    line-height: 1.7;
  }

  .footer-address__name {
    font-weight: 700;
  }

  .footer-address__note {
    font-size: 0.75rem;
    opacity: 0.8;
  }

  .footer-address__tel a {
    color: inherit;
    text-decoration: none;
  }

  .footer-address__tel a:hover {
    text-decoration: underline;
  }

  .footer-address__logo img {
    display: block;
    height: 36px;
    width: auto;
    margin-bottom: 10px;
  }

  .footer-contact-link {
    margin-top: 10px;
  }

  .site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 12px;
    text-align: center;
  }

  .site-footer__copy {
    font-size: 0.75rem;
  }

/* =========================
   Scroll Reveal
   ========================= */

/* 初期状態：下から少しズレて非表示 */
.reveal-section {
  opacity: 0;
  transform: translateY(32px);
  transition:
  opacity 0.6s ease-out,
  transform 0.6s ease-out;
}

/* 表示状態 */
.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* セクションごとに少しだけ違うタイミング（任意） */
.reveal-section.is-visible .card,
.reveal-section.is-visible .link-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* =========================
   Utilities
   ========================= */
   body.is-drawer-open {
    overflow: hidden;
  }

/* =========================
   Media Queries
   ========================= */
   @media (min-width: 768px) {
    .section {
      padding: 72px 24px;
    }
    .hero {
      padding: 0px 24px;
    }

    .section__inner--split {
      flex-direction: row;
      align-items: center;
    }

    .section__inner--reverse {
      flex-direction: row-reverse;
    }

    .section__content {
      flex: 1 1 0;
      gap: 10px 0;
      display: grid;
    }

    .section__visual {
      flex: 1 1 0;
    }

    .hero__inner {
      flex-direction: row;
      align-items: center;
    }

    .hero__title {
      font-size: 1.8rem;
    }

    .hero__lead {
      font-size: 1.05rem;
    }

    .card-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .link-cards {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sponsor-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-columns {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }

  @media (min-width: 960px) {
    .site-nav--desktop {
      display: block;
    }

    .site-header__toggle {
      display: none;
    }

    .drawer-nav {
      display: none !important;
    }
  }

/* =========================
   Sub Pages（下層ページ共通）
   ========================= */

/* ヘッダー：下層ページは常に白背景＋黒ロゴ（<body class="page-sub">） */
.page-sub .site-header {
  color: var(--color-text);
  background-color: #ffffffc9;
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.page-sub .site-header::before {
  opacity: 0;
}

.page-sub .site-header.is-open {
  backdrop-filter: none;
}

.page-sub .site-header__logo-img--white {
  display: none;
}

.page-sub .site-header__logo-img--dark {
  display: block;
}

/* 現在地のナビ */
.site-nav__item a[aria-current="page"]::after {
  width: 100%;
}

.drawer-nav__item a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Page Hero（ページタイトル帯） */
.page-hero {
  position: relative;
  margin-top: var(--header-height);
  padding: 48px 16px;
  color: #ffffff;
  overflow: hidden;
  /* 写真が無い場合のベタ色 */
  background: linear-gradient(135deg, var(--color-green-deep), var(--color-green));
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* TODO: 写真差し替え（各ページ用の写真が支給されたら差し替える） */
.page-hero--greeting::before {
  background-image: linear-gradient(135deg, rgb(0 0 0 / 60%), rgb(0 0 0 / 30%)), url(../images/sky.webp);
}

.page-hero--history::before {
  background-image: linear-gradient(135deg, rgb(0 0 0 / 60%), rgb(0 0 0 / 30%)), url(../images/hist.webp);
}

.page-hero--donation::before {
  background-image: linear-gradient(135deg, rgb(0 0 0 / 60%), rgb(0 0 0 / 30%)), url(../images/kids.webp);
}

.page-hero--contact::before {
  background-image: linear-gradient(135deg, rgb(0 0 0 / 60%), rgb(0 0 0 / 30%)), url(../images/school.webp);
}

/* TODO: 写真差し替え */
.page-hero--organization::before {
  background-image: linear-gradient(135deg, rgb(0 0 0 / 60%), rgb(0 0 0 / 30%)), url(../images/org.webp);
}

.page-hero--activation::before {
  background-image: linear-gradient(135deg, rgb(0 0 0 / 60%), rgb(0 0 0 / 30%)), url(../images/step.webp);
}

.page-hero--reports::before {
  background-image: linear-gradient(135deg, rgb(0 0 0 / 60%), rgb(0 0 0 / 30%)), url(../images/team.webp);
}

.page-hero--news::before {
  background-image: linear-gradient(135deg, rgb(0 0 0 / 60%), rgb(0 0 0 / 30%)), url(../images/c_02.webp);
}

.page-hero--article::before {
  background-image: linear-gradient(135deg, rgb(0 0 0 / 65%), rgb(0 0 0 / 45%)), url(../images/sky.webp);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.page-hero__en {
  margin: 0 0 4px;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.page-hero__title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

/* パンくず */
.breadcrumb {
  padding: 12px 16px;
  background-color: var(--color-neutral);
  font-size: 0.8125rem;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  color: var(--color-muted);
}

.breadcrumb__list li + li::before {
  content: "›";
  margin-right: 4px;
}

.breadcrumb__list a {
  color: var(--color-green-deep);
}

.breadcrumb__list a:hover {
  text-decoration: underline;
}

/* 本文幅を狭めたセクション */
.section__inner--narrow {
  max-width: 860px;
}

.section__head--sub {
  margin-top: 48px;
}

.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn.is-disabled:hover {
  transform: none;
}

/* 囲みボックス */
.note-box {
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background-color: var(--color-neutral);
  text-align: center;
}

.note-box__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-green-deep);
}

.note-box p {
  margin: 0 0 8px;
}

.note-box p:last-child {
  margin-bottom: 0;
}

/* =========================
   ご挨拶（greeting.html）
   ========================= */
.message {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.message__photo {
  flex-shrink: 0;
  width: 200px;
}

.message__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.message__title {
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
}

.message__body p {
  margin: 0 0 1em;
  text-indent: 1em;
}

.message__sign {
  margin-top: 24px;
  text-align: right;
}

.message__sign-org {
  display: block;
  font-size: var(--fs-sm);
  color: var(--color-muted);
}

.message__sign-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}

.policy-list {
  margin: 0;
  padding-left: 1.25em;
}

.policy-list li + li {
  margin-top: 8px;
}

/* =========================
   沿革（history.html）
   ========================= */
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 7px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-yellow), var(--color-green));
}

.timeline__item {
  position: relative;
  padding: 0 0 28px 36px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid var(--color-green);
}

.timeline__item--current::before {
  background-color: var(--color-orange-deep);
  border-color: var(--color-orange-deep);
}

.timeline__year {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-green-deep);
}

.timeline__era {
  margin-left: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-muted);
}

.timeline__text {
  margin: 4px 0 0;
}

/* =========================
   ご寄付について（donation.html）
   ========================= */
.catch {
  margin-bottom: 40px;
  text-align: center;
}

.catch__main {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-green-deep);
}

.catch__sub {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  background-color: #ffffff;
}

.data-table th,
.data-table td {
  padding: 10px 8px;
  border: 1px solid #dddddd;
  text-align: center;
}

.data-table thead th {
  background-color: var(--color-green-deep);
  color: #ffffff;
}

.data-table tbody th {
  width: 5em;
  background-color: var(--color-neutral);
}

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps__item {
  position: relative;
  padding: 20px;
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  box-shadow: var(--shadow-soft);
  counter-increment: step;
}

.steps__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.steps__title::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-orange-deep));
  color: #3b2a00;
  font-size: var(--fs-md);
  flex-shrink: 0;
}

.steps__text {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--color-muted);
}

.usage-list {
  margin: 0;
}

.usage-list__row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 12px 0;
  border-bottom: 1px dashed #cccccc;
}

.usage-list__amount {
  min-width: 7em;
  font-weight: 700;
  color: var(--color-orange-deep);
}

.usage-list__text {
  margin: 0;
}

.benefit-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.benefit-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--color-green);
  border-bottom: 3px solid var(--color-green);
  transform: translateY(-70%) rotate(-45deg);
}

/* =========================
   お問い合わせ（contact.html）
   ========================= */
.info-list {
  margin: 0;
  border-top: 1px solid #dddddd;
}

.info-list__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid #dddddd;
}

.info-list__row dt {
  font-weight: 700;
  color: var(--color-green-deep);
}

.info-list__row dd {
  margin: 0;
}

.info-list__row a {
  color: var(--color-green-deep);
  text-decoration: underline;
}

.map-embed {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.contact-form__row {
  margin-bottom: 20px;
}

.contact-form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-weight: 700;
}

.contact-form__required {
  padding: 1px 8px;
  border-radius: 999px;
  background-color: var(--color-orange-deep);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cccccc;
  border-radius: var(--radius-md);
  font: inherit;
  background-color: #ffffff;
}

.contact-form__textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: 2px solid var(--color-green);
  outline-offset: 1px;
}

.contact-form__agree {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 8px;
}

.contact-form__actions {
  margin-top: 16px;
  text-align: center;
}

.contact-form__note {
  margin: 12px 0 0;
  font-size: var(--fs-sm);
  color: var(--color-muted);
  text-align: center;
}

/* =========================
   組織図（organization.html）
   ========================= */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.org-chart__box {
  position: relative;
  width: 100%;
  max-width: 320px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  border: 2px solid var(--color-green);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

/* 上下をつなぐ線 */
.org-chart > .org-chart__box + .org-chart__row::before,
.org-chart > .org-chart__row + .org-chart__box::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 50%;
  width: 2px;
  height: 32px;
  background-color: var(--color-green);
}

.org-chart__row {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.org-chart__box--top {
  background-color: var(--color-green-deep);
  border-color: var(--color-green-deep);
  color: #ffffff;
}

.org-chart__box--main {
  background-color: var(--color-green);
  color: #ffffff;
}

.org-chart__box--side {
  border-color: var(--color-orange);
}

.org-chart__name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.org-chart__text {
  margin: 4px 0 0;
  font-size: var(--fs-sm);
}

.org-chart__box--top .org-chart__text,
.org-chart__box--main .org-chart__text {
  color: #ffffff;
}

/* 役員名簿 */
.member-table td {
  text-align: left;
}

.data-table.member-table tbody th {
  width: 7em;
}

.member-table__names {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5em, 1fr));
  gap: 6px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* =========================
   活動報告（reports.html / activation.html）
   ========================= */
.report-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #dddddd;
}

.report-list__item {
  padding: 18px 0;
  border-bottom: 1px solid #dddddd;
}

.report-list__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: var(--fs-sm);
}

.report-list__date {
  color: var(--color-muted);
}

.report-list__label {
  padding: 2px 10px;
  border-radius: 999px;
  background-color: var(--color-green);
  color: #ffffff;
  font-size: 0.75rem;
}

/* 仮記事の「サンプル」表示（実記事に差し替えたら削除） */
.report-list__label--sample {
  background-color: var(--color-orange-deep);
}

.news-sample-note {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-left: 4px solid var(--color-orange-deep);
  background-color: #fff8e1;
  font-size: var(--fs-sm);
}

.report-list__title {
  margin: 0;
  font-weight: 700;
}

.report-list__text {
  margin: 4px 0 0;
  font-size: var(--fs-sm);
  color: var(--color-muted);
}

.table-caption {
  margin: 32px 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-green-deep);
}

.data-table.schedule-table tbody th {
  width: 55%;
  text-align: left;
  font-weight: 500;
}

/* =========================
   アーカイブ一覧（reports.html / activation-reports.html）
   ========================= */
[hidden] {
  display: none !important;
}

.archive-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  background-color: var(--color-neutral);
}

.archive-search__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.archive-search__label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-green-deep);
}

.archive-search__input,
.archive-search__select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cccccc;
  border-radius: var(--radius-md);
  font: inherit;
  background-color: #ffffff;
}

.archive-search__input:focus,
.archive-search__select:focus {
  outline: 2px solid var(--color-green);
  outline-offset: 1px;
}

.archive-count {
  margin: 0 0 16px;
  font-size: var(--fs-sm);
  color: var(--color-muted);
}

.archive-empty {
  margin: 24px 0 0;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background-color: var(--color-neutral);
  text-align: center;
  color: var(--color-muted);
}

/* =========================
   記事ページ（report-*.html / activation-report-*.html）
   ========================= */
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: var(--fs-sm);
}

.article__date {
  color: var(--color-muted);
}

.article__figure {
  margin: 0 0 24px;
}

.article__figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.article__lead {
  font-size: 1.05rem;
  font-weight: 700;
}

.article p {
  margin: 0 0 1em;
}

.article__subtitle {
  margin: 36px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-neutral);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-green-deep);
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 32px;
}

.article-gallery__item {
  margin: 0;
}

.article-gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #dddddd;
  font-size: var(--fs-sm);
}

.article-nav__link {
  color: var(--color-green-deep);
  font-weight: 600;
}

.article-nav__link--index {
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-orange-deep));
  color: #3b2a00;
}

.article-nav__link--prev::before {
  content: "‹ ";
}

.article-nav__link--next::after {
  content: " ›";
}

.article-nav__link:not(.is-disabled):hover {
  text-decoration: underline;
}

.article-nav__link.is-disabled {
  color: #bbbbbb;
  cursor: default;
}

/* 助成となる活動例（activation.html） */
.support-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: support;
}

.support-list__item {
  padding: 20px;
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  box-shadow: var(--shadow-soft);
  counter-increment: support;
}

.support-list__title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-green-deep);
}

.support-list__title::before {
  content: counter(support);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-orange-deep));
  color: #3b2a00;
  font-size: var(--fs-sm);
  flex-shrink: 0;
}

.support-list__text {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--color-muted);
}

/* カードの実施校 */
.card__school {
  margin: 0 0 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-green-deep);
}

/* 記事本文中の箇条書き */
.article-list {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.article-list li + li {
  margin-top: 8px;
}

/* =========================
   プライバシーポリシー（privacy.html）
   ========================= */
.policy-doc p {
  margin: 0 0 12px;
}

.policy-doc__title {
  margin: 36px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-neutral);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-green-deep);
}

.policy-doc__list {
  margin: 0 0 12px;
  padding-left: 1.5em;
}

.policy-doc__list li + li {
  margin-top: 4px;
}

.policy-doc__contact {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background-color: var(--color-neutral);
}

.policy-doc__contact a,
.contact-form__agree a {
  color: var(--color-green-deep);
  text-decoration: underline;
}

.policy-doc__date {
  margin-top: 36px;
  text-align: right;
  color: var(--color-muted);
}

/* フッター：プライバシーポリシーへのリンク */
.site-footer__policy {
  margin: 0 0 6px;
  font-size: 0.75rem;
}

.site-footer__policy a {
  color: #e0f2f1;
}

.site-footer__policy a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 72px 24px;
  }

  .page-hero__en {
    font-size: 3rem;
  }

  .page-hero__title {
    font-size: 1.6rem;
  }

  .breadcrumb {
    padding-inline: 24px;
  }

  .data-table th,
  .data-table td {
    padding: 12px 14px;
  }

  .data-table tbody th {
    width: 8em;
  }

  .data-table.member-table tbody th {
    width: 10em;
  }

  .message {
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 48px;
  }

  .catch__main {
    font-size: 1.75rem;
  }

  .catch__sub {
    font-size: 1.35rem;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .benefit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-search {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: end;
  }

  .article-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .info-list__row {
    flex-direction: row;
  }

  .info-list__row dt {
    flex: 0 0 8em;
  }

  /* 理事会を中央に置き、監事は右側に添える */
  .org-chart__box--side {
    position: absolute;
    top: 50%;
    left: calc(50% + 160px + 40px);
    transform: translateY(-50%);
  }

  /* 理事会と監事の横つなぎ */
  .org-chart__box--main::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -42px;
    width: 40px;
    height: 2px;
    background-color: var(--color-orange);
  }

  .org-chart__box--side {
    width: 200px;
  }
}

/* =========================
   WordPress 用の追加（静的HTMLには無い部分）
   ========================= */

/* 投稿本文（ブロックエディターの出力）を記事ページの見た目に合わせる */
.article__body > * + * {
  margin-top: 1em;
}

.article__body p {
  margin: 0 0 1em;
}

.article__body h2,
.article__body h3 {
  margin: 36px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-neutral);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-green-deep);
}

.article__body ul,
.article__body ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.article__body li + li {
  margin-top: 8px;
}

.article__body img {
  border-radius: var(--radius-md);
}

.article__body figure {
  margin: 0 0 1em;
}

.article__body figcaption {
  margin-top: 6px;
  font-size: var(--fs-sm);
  color: var(--color-muted);
}

/* ギャラリーブロック（2列／PCは3列）。コアの CSS に頼らず静的版の .article-gallery と揃える */
.article__body .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 32px;
}

/* コアのギャラリー CSS は :not(#individual-image) や :nth-last-child() で ID 相当の詳細度を持ち、
   各画像に 50% / 33% の幅を付けてくる。グリッドの1マスに収めるため幅だけ !important で上書きする */
.article__body .wp-block-gallery figure {
  width: 100% !important;
  margin: 0 !important;
}

.article__body .wp-block-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 表ブロック（開催概要など）は静的版の .info-list に近い見た目にする */
.article__body .wp-block-table {
  margin: 0 0 1em;
}

.article__body .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #dddddd;
}

.article__body .wp-block-table th,
.article__body .wp-block-table td {
  padding: 12px 8px;
  border: 0;
  border-bottom: 1px solid #dddddd;
  text-align: left;
  vertical-align: top;
}

.article__body .wp-block-table tr > :first-child {
  width: 8em;
  font-weight: 700;
  color: var(--color-green-deep);
}

/* Contact Form 7 */
.contact-form .wpcf7-form-control-wrap {
  display: block;
}

.contact-form .wpcf7-list-item {
  margin: 0;
}

.contact-form .wpcf7-not-valid-tip {
  margin-top: 4px;
  font-size: var(--fs-sm);
  color: #c62828;
}

.contact-form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
}

.contact-form .wpcf7-spinner {
  display: block;
  margin: 8px auto 0;
}

@media (min-width: 768px) {
  .article__body .wp-block-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
