/*
Theme Name: IGB 2026
Theme URI: https://igb.or.jp
Author: Azu (npc)
Author URI: https://n-pc.jp
Description: NPO Information Gap Buster リニューアルテーマ
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: igb2026
*/

/* ==========================================================================
   vw基準: 1440pxデザイン → 1px = 0.0694vw
   clamp(最小px, vw値, 最大px) でPC/SPの範囲を制限
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(14px, 1.042vw, 15px);
  line-height: 1.8;
  color: #333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

/* ==========================================================================
   カラー変数
   ========================================================================== */

:root {
  --color-primary: #5B8C3E;
  --color-primary-light: #7BAF5C;
  --color-primary-dark: #3D6B28;
  --color-accent: #F5A623;
  --color-accent-light: #FFD080;
  --color-bg-cream: #F5F6E8;
  --color-bg-light-green: #EFF5E6;
  --color-bg-white: #FFFFFF;
  --color-footer-bg: #755f44;
  --color-footer-text: #fff9ee;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-white: #FFFFFF;
  --color-border: #E0E0E0;
}



/*--------------------------------------------------------------
# ビューポイントごと表示非表示
-------------------------------------------------------------- */
.off1200,.off1170,.off1100,.off991,.off850,.off767,.off640,.off480,.off375,.off360,.off320 {
 display: block !important;
}
.on1200,.on1170,.on1100,.on991,.on850,.on767,.on640,.on480,.on375,.on360,.on320 {
 display: none !important;
}
@media (max-width: 1200px) { .off1200 {display: none !important;} .on1200 {display: block !important;}}
@media (max-width: 1170px) { .off1170 {display: none !important;} .on1170 {display: block !important;}}
@media (max-width: 1100px) { .off1100 {display: none !important;} .on1100 {display: block !important;}}
@media (max-width: 991px) { .off991 {display: none !important;} .on991 {display: block !important;}}
@media (max-width: 850px) { .off850 {display: none !important;} .on850 {display: block !important;}}
@media (max-width: 767px) { .off767 {display: none !important;} .on767 {display: block !important;}}
@media (max-width: 640px) { .off640 {display: none !important;} .on640 {display: block !important;}}
@media (max-width: 480px) { .off480 {display: none !important;} .on480 {display: block !important;}}
@media (max-width: 375px) { .off375 {display: none !important;} .on375 {display: block !important;}}
@media (max-width: 360px) { .off360 {display: none !important;} .on360 {display: block !important;}}
@media (max-width: 320px) { .off320 {display: none !important;} .on320 {display: block !important;}}

/* ==========================================================================
   共通レイアウト
   ========================================================================== */

.l-inner {
  max-width: 83.333vw; /* 1200/1440 */
  margin: 0 auto;
  padding: 0 clamp(16px, 1.389vw, 20px);
}

/* トップページ以外: コンテンツを1160px幅に統一（ヘッダーは維持） */
body:not(.home) .l-inner {
  max-width: 1160px;
}

.l-section {
  padding: clamp(40px, 5.556vw, 80px) 0;
}


/* ==========================================================================
   アクセシビリティ（スキップリンク / 視覚的非表示）
   ========================================================================== */

/* 視覚的に非表示だがスクリーンリーダーには読み上げられる */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* スキップリンク: フォーカス時のみ表示 */
.skip-link:focus,
.skip-link:focus-visible {
  background: #fff;
  color: #58813a;
  clip: auto !important;
  clip-path: none;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 8px;
  line-height: normal;
  padding: 12px 16px;
  text-decoration: none;
  top: 8px;
  width: auto;
  z-index: 100000;
  border: 2px solid #58813a;
  border-radius: 4px;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  transition: background 0.3s;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 97.222vw; /* 1400/1440 */
  margin: 0 auto;
  padding: 0 clamp(16px, 2.778vw, 40px);
  height: clamp(60px, 5.764vw, 83px);
}

.site-header__logo img {
  height: clamp(36px, 3.472vw, 50px);
  width: auto;
}

.global-nav {
  display: flex;
  align-items: center;
  margin-left: auto; /* PC: ロゴを左・ナビ以降を右寄せにする */
  margin-right: 15px;
}

/* 公式SNSラベル（SPパネル内でのみ表示） */
.header-socials__label {
  display: none;
}

.global-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.083vw, 30px);
}

.global-nav__link {
  font-size: clamp(14px, 1.111vw, 16px);
  font-weight: 700;
  color: #333333;
  position: relative;
  transition: color 0.3s;
}

.global-nav__link:hover {
  color: var(--color-primary);
}

.global-nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}

.global-nav__link:hover::after {
  width: 100%;
}

/* SNSアイコン群（PC: ナビ内横並び） */
.header-socials {
  display: flex;
  align-items: center;
  gap: clamp(10px, 0.833vw, 12px);
  margin-left: clamp(16px, 1.389vw, 20px);
}

.header-socials__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(26px, 1.944vw, 28px);
  height: clamp(26px, 1.944vw, 28px);
  padding: 6px;
  border-radius: 7px;
  color: #ffffff; /* v8デザイン: 白抜きアイコン */
  background: #6b6b6b; /* デフォルト（個別色で上書き） */
  transition: opacity 0.2s, transform 0.2s;
}

.header-socials__link--x { background: #000000; }
.header-socials__link--facebook { background: #1877F2; }
.header-socials__link--instagram {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
}
.header-socials__link--youtube { background: #FF0000; }
.header-socials__link--line { background: #06C755; }

.header-socials__link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.header-socials__link svg {
  width: 100%;
  height: 100%;
}

/* ヘッダーのカートアイコン（PC: 画像表示 / SP: 非表示） */
.header-cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(26px, 1.944vw, 28px);
  height: clamp(26px, 1.944vw, 28px);
  padding: 0;
  margin-right: clamp(12px, 1.111vw, 16px);
  background: transparent;
  border-radius: 7px;
  transition: opacity 0.2s, transform 0.2s;
}
.header-cart-link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.header-cart-link__icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* SPハンバーガーパネル専用要素はPCでは非表示 */
.global-nav__sp-head,
.global-nav__sp-donate,
.global-nav__sp-cart {
  display: none;
}

/* 寄付ボタン（黄色） */
.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(12px, 1.042vw, 15px) clamp(32px, 3.472vw, 50px);
  background: #FFDF51;
  color: #3e3a32;
  font-size: clamp(13px, 1.042vw, 15px);
  font-weight: 700;
  border-radius: 60px;
  transition: background 0.3s, transform 0.2s;
  margin-left: clamp(8px, 0.833vw, 12px);
}

.btn-donate svg {
  fill: #333;
}

.btn-donate__icon {
  width: clamp(18px, 1.389vw, 20px);
  height: auto;
  flex-shrink: 0;
}

.btn-donate:hover {
  background: #f5d23e;
  transform: translateY(-1px);
}

/* ハンバーガー（SP） */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  width: 30px;
  padding: 5px 0;
  background: none;
  border: none;
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ヘッダー分のオフセット */
.site-main {
  padding-top: clamp(60px, 5.764vw, 83px);

}

/* ==========================================================================
   下層ページ共通ヒーロー（アーカイブ・投稿・固定ページ）
   ========================================================================== */

/* はみ出し防止 */
.section-about,
.section-posts {
  overflow: hidden;
}


.hero-subpage {
  position: relative;
  padding: clamp(50px, 6vw, 80px) 0 clamp(80px, 8.333vw, 120px);
  background:
    radial-gradient(circle 180px at 10% 30%, rgba(184, 230, 191, 0.7) 0%, transparent 70%),
    radial-gradient(circle 180px at 90% 40%, rgba(184, 230, 191, 0.7) 0%, transparent 70%),
    radial-gradient(circle 200px at 50% 70%, rgba(184, 230, 191, 0.5) 0%, transparent 70%),
    #fff;
  overflow: hidden;
  text-align: center;
}

.hero-subpage__label {
  display: inline-block;
  font-size: clamp(14px, 1.389vw, 20px);
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  color: #3e3a32;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.hero-subpage__title {
  font-size: clamp(28px, 3.472vw, 50px);
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  color: #58813a;
  line-height: 1.3;
  margin: 0;
}

.hero-subpage__cityscape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(53px, 6vw, 85px);
  background-image: var(--bg-image);
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: auto 100%;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   下層ページレイアウト（1カラム / 2カラム）
   ========================================================================== */

.l-page {
  padding: clamp(60px, 6.944vw, 100px) 0 clamp(60px, 6.944vw, 100px);
  background: #fff;
}

.single .l-page {
  padding: clamp(30px, 5vw, 50px) 0 clamp(30px, 5vw, 50px);
}

.archive .l-page {
   padding: clamp(30px, 5vw, 50px) 0 clamp(30px, 5vw, 50px);
 }

/* 2カラムレイアウト */
.l-page--2col .l-page__layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: clamp(32px, 4.167vw, 60px);
  align-items: start;
}

.l-page--2col .l-page__main {
  min-width: 0; /* grid内で本文が突き抜けるのを防ぐ */
}

.l-page--2col .l-page__sidebar {
  width: 260px;
}

/* トップページ以外のサイドバー: padding-top削除 */
body:not(.home) .l-page--2col .l-page__sidebar {
  padding-top: 0;
  position: sticky;
  top: 110px;
}

/* 1カラムレイアウト */
.l-page--full .page-body {
  max-width: 1200px;
  margin: 0 auto;
}

.page-header,
.single-header {
  margin-bottom: clamp(24px, 2.222vw, 32px);
}

.single-date {
  display: block;
  font-size: clamp(12px, 0.972vw, 14px);
  font-family: "Oswald", sans-serif;
  color: #bfbfbf;
  letter-spacing: 1.6px;
  margin-bottom: 8px;
}

.single-header__cats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(12px, 1.111vw, 16px);
}

.single-header__cats-label {
  font-size: 14px;
  color: #3e3a32;
}

.single-cat {
  display: inline-block;
  font-size: clamp(11px, 0.833vw, 12px);
  font-weight: 700;
  color: #fff;
  background: #58813a;
  padding: 3px 12px;
  border-radius: 40px;
  text-decoration: none;
  transition: opacity 0.3s;
}
.single-cat:hover {
  opacity: 0.8;
  color: #fff;
}

.page-title,
.single-title {
  font-size: clamp(24px, 2.222vw, 32px);
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  color: #3e3a32;
  line-height: 1.4;
  margin-bottom: clamp(12px, 1.111vw, 16px);
  padding-left: 16px;
  border-left: 4px solid #58813a;
}

.single-thumb {
  text-align: center;
  margin-bottom: clamp(32px, 3.333vw, 48px);
}

.single-thumb img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* 本文: 2カラム時は全幅、1カラム時は最大800px */
.page-body,
.single-body {
  font-size: clamp(14px, 1.111vw, 16px);
  line-height: 1.8;
  color: #3e3a32;
}

/* 本文の先頭要素は上マージンを殺す（先頭画像の上に余白を作らない） */
.single-body > :first-child,
.page-body > :first-child {
  margin-top: 0;
}

/* 見出しタグの中身が画像だけの場合は見出しスタイルを無効化 */
.single-body h1:has(> img:only-child),
.single-body h2:has(> img:only-child),
.single-body h3:has(> img:only-child),
.single-body h4:has(> img:only-child),
.page-body h1:has(> img:only-child),
.page-body h2:has(> img:only-child),
.page-body h3:has(> img:only-child),
.page-body h4:has(> img:only-child) {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: 1;
}

.l-page--full .page-body,
.l-page--full .single-body {
  max-width: 1200px;
  margin: 0 auto;
}

.page-body h2,
.single-body h2 {
  font-size: clamp(18px, 1.667vw, 24px);
  font-weight: 700;
  color: #3e3a32;
  margin-top: clamp(32px, 3.333vw, 48px);
  margin-bottom: clamp(16px, 1.667vw, 24px);
  padding-bottom: 8px;
  border-bottom: 2px solid #3e3a32;
}

.page-body h3,
.single-body h3 {
  font-size: clamp(18px, 1.528vw, 22px);
  font-weight: 700;
  color: #3e3a32;
  margin-top: clamp(24px, 2.222vw, 32px);
  margin-bottom: clamp(12px, 1.111vw, 16px);
}

.page-body p,
.single-body p {
  margin-bottom: clamp(16px, 1.667vw, 24px);
}

.page-body a,
.single-body a {
  color: #58813a;
  text-decoration: underline;
}

.page-body img,
.single-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* iframe のレスポンシブ対応 */
.page-body iframe,
.single-body iframe {
  max-width: 100%;
}
/* YouTube埋め込みは16:9でフル幅 */
.page-body iframe[src*="youtube.com"],
.page-body iframe[src*="youtu.be"],
.single-body iframe[src*="youtube.com"],
.single-body iframe[src*="youtu.be"] {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

/* SPで横長テーブルは横スクロール可能にする */
@media (max-width: 768px) {
  .page-body table,
  .single-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    width: max-content;
  }
}

/* WordPress標準のalignクラス（画像の回り込み） */
.page-body .alignleft,
.single-body .alignleft {
  float: left;
  margin: 0 1.5em 1em 0;
  max-width: 50%;
}

.page-body .alignright,
.single-body .alignright {
  float: right;
  margin: 0 0 1em 1.5em;
  max-width: 50%;
}

.page-body .aligncenter,
.single-body .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  clear: both;
}

.page-body .alignnone,
.single-body .alignnone {
  display: block;
  margin: 0 0 1em;
}

/* 本文内の基本要素（旧テーマ互換） */
.page-body hr,
.single-body hr {
  background-color: #e7e7e7;
  border: 0;
  height: 1px;
  margin: 18px 0;
  clear: both;
}

.page-body ul,
.single-body ul {
  list-style: disc;
  padding-left: 1.5em;
  margin: 0 0 1em;
}

.page-body ol,
.single-body ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin: 0 0 1em;
}

.page-body li,
.single-body li {
  margin-bottom: 0.25em;
}

.page-body blockquote,
.single-body blockquote {
  margin: 1em 0;
  padding: 1em 1.25em;
  border-left: 4px solid #58813a;
  background: #f8f8f6;
  color: #555;
}

/* WP標準ギャラリー */
.gallery {
  display: grid;
  gap: 12px;
  margin: 1.5em 0;
}
.gallery-columns-1 { grid-template-columns: 1fr; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }

.gallery-item {
  margin: 0;
}
.gallery-icon {
  overflow: hidden;
  border-radius: 4px;
}
.gallery-icon img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
/* 縦長画像は枠も縦長（3:4）にして切り抜きを最小化 */
.gallery-icon.portrait img {
  aspect-ratio: 3 / 4;
}
/* 1列ギャラリーはグラフ等の切り抜き禁止画像を想定。元比率のまま最大幅で抑える */
.gallery-columns-1 .gallery-item {
  max-width: 500px;
  margin: 0 auto;
}
.gallery-columns-1 .gallery-icon img {
  aspect-ratio: revert-layer;
  height: auto;
  width: 100%;
}
.gallery-caption {
  font-size: 12px;
  color: #666;
  text-align: center;
  padding: 6px 4px;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .gallery-columns-4,
  .gallery-columns-5,
  .gallery-columns-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.page-body table,
.single-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

/* pp1: 2列均等・枠線あり・横スクロール対応 */
.table-wrap.pp1 {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-wrap.pp1 table {
  table-layout: fixed;
  min-width: 640px;
}
.table-wrap.pp1 th,
.table-wrap.pp1 td {
  width: 50%;
  border: 1px solid #d0d0d0;
  vertical-align: top;
}
.table-wrap.pp1 tr:first-child th {
  background: #58813a;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

/* pp2: 横スクロールテーブル */
.table-wrap.pp2 {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-wrap.pp2::after {
  content: "← スクロールできます →";
  display: block;
  text-align: center;
  font-size: 11px;
  color: #999;
  padding: 6px 0 0;
}
.table-wrap.pp2 table {
  min-width: 1460px;
}
.table-wrap.pp2 th,
.table-wrap.pp2 td {
  font-size: 13px;
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  vertical-align: top;
}
.table-wrap.pp2 th:nth-child(1),
.table-wrap.pp2 td:nth-child(1) { width: 180px; }
.table-wrap.pp2 th:nth-child(2),
.table-wrap.pp2 td:nth-child(2) { width: 150px; }
.table-wrap.pp2 th:nth-child(3),
.table-wrap.pp2 td:nth-child(3) { width: 120px; }
.table-wrap.pp2 th:nth-child(4),
.table-wrap.pp2 td:nth-child(4) { width: 270px; }
.table-wrap.pp2 th:nth-child(5),
.table-wrap.pp2 td:nth-child(5) { width: 460px; }
.table-wrap.pp2 th:nth-child(6),
.table-wrap.pp2 td:nth-child(6) { width: 280px; }

/* pp3: 汎用横スクロール（列幅指定なし・列数可変） */
.table-wrap.pp3 {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-wrap.pp3::after {
  content: "← スクロールできます →";
  display: block;
  text-align: center;
  font-size: 11px;
  color: #999;
  padding: 6px 0 0;
}
.table-wrap.pp3 table {
  width: max-content;
  max-width: none;
  min-width: 800px;
}
.table-wrap.pp3 th,
.table-wrap.pp3 td {
  font-size: 13px;
  padding: 10px 12px;
  vertical-align: top;
  white-space: normal;
  border: 1px solid #ccc
}

.page-body th,
.page-body td,
.single-body th,
.single-body td {
  border: none;
  border-bottom: 1px solid #e0e0e0;
  padding: 12px 16px;
  text-align: left;
  font-weight: 400;
  font-size: inherit;
}

/* thead見出し行 */
.page-body thead th,
.single-body thead th {
  background: #58813a;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border-bottom: 2px solid #58813a;
}

/* 2列テーブルの1列目（項目名）: theadには適用しない */
.page-body tbody tr th:first-child,
.page-body tbody tr td:first-child,
.single-body tbody tr th:first-child,
.single-body tbody tr td:first-child {
  color: #58813a;
  font-weight: 700;
  width: 180px;
  vertical-align: top;
}

/* 3列以上のテーブルは1列目のnowrapを解除 */
.page-body thead th,
.single-body thead th {
  white-space: normal;
  width: auto;
}

/* ==========================================================================
   SNSシェアボタン
   ========================================================================== */

.sns-share {
  margin-top: clamp(40px, 4.333vw, 80px);
  text-align: center;
}

/* 黒吹き出しラベル */
.sns-share__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #000;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  position: relative;
}
.sns-share__label::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #000;
}

.sns-share__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* 角丸四角ボタン */
.sns-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #58813a;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  padding: 0;
  position: relative;
}
.sns-share__btn svg {
  width: 22px;
  height: 22px;
}

.sns-share__btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.sns-share__btn--x { background: #000; }
.sns-share__btn--facebook { background: #1877F2; }
.sns-share__btn--instagram { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);}
.sns-share__btn--line { background: #06C755; }
.sns-share__btn--copy { background: #E0E0E0; }

.sns-share__btn--copy svg {
    stroke: #000;
}
/* コピー完了メッセージ */
.sns-share__copy-msg {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #58813a;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.sns-share__btn--copy.is-copied .sns-share__copy-msg {
  opacity: 1;
}

/* ==========================================================================
   投稿前後ナビ（← 前の記事 | 一覧へ | 次の記事 →）
   ========================================================================== */

.post-nav {
  margin-top: clamp(32px, 3.333vw, 48px);
}

.post-nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* 共通ボタンスタイル: 緑背景・角丸・白文字 */
.post-nav__link,
.post-nav__archive-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #58813a;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  transition: opacity 0.3s;
}

.post-nav__link:hover,
.post-nav__archive-btn:hover {
  opacity: 0.85;
}

/* 左右矢印ボタン */
.post-nav__link {
width: 36px;
  height: 36px;
  padding: 0;
}
.post-nav__link svg {
  stroke: #fff;
}

/* 「前の記事」「次の記事」テキストは非表示 */
.post-nav__label {
  display: none;
}

/* 中央「一覧へ戻る」ボタン */
.post-nav__archive-btn {
    height: 36px;
      padding: 0 clamp(10px, 1.5vw, 16px);
      font-size: clamp(13px, 1.042vw, 15px);
}

/* 前後リンクがない場合も幅を確保 */
.post-nav__item {
  display: flex;
  align-items: center;
}
.post-nav__item--prev,
.post-nav__item--next {
  min-width: 36px;
}
.post-nav__item--center {
  /* 中央配置は不要、flexで自動 */
}

/* ==========================================================================
   関連記事（フッター上）
   ========================================================================== */

.related-posts {
  padding: clamp(60px, 6.944vw, 100px) 0;
  background: #f5f6e8;
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.222vw, 32px);
}

/* ==========================================================================
   関連記事（コンテンツ内インライン版）
   ========================================================================== */

.related-posts-inline {
  margin-top: clamp(32px, 3.333vw, 48px);
}

.related-posts-inline__title {
  font-size: clamp(18px, 1.667vw, 24px);
  font-weight: 700;
  color: #3e3a32;
  padding-left: 16px;
  border-left: 4px solid #58813a;
  margin-bottom: clamp(16px, 1.667vw, 24px);
}

.related-posts-inline__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ==========================================================================
   アーカイブ・検索グリッド
   ========================================================================== */

.archive-description {
  margin-bottom: clamp(22px, 2vw, 30px);
  padding-left: 16px;
  border-left: 4px solid #58813a;
  font-size: clamp(16px, 2.042vw, 18px);
  line-height: 1.8;
  color: #3e3a32;
}
.archive-description p {
  margin: 0;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.667vw, 24px);
}

/* サイドバーあり2カラムレイアウトではメイン領域が狭くなるので、gapを詰めつつ3列を維持 */
.l-page--2col .archive-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.111vw, 16px);
}

.archive-empty,
.search-summary {
  font-size: clamp(14px, 1.111vw, 16px);
  color: #3e3a32;
  margin-bottom: clamp(24px, 2.222vw, 32px);
}

.search-summary strong {
  color: #58813a;
}

/* ==========================================================================
   ページネーション
   ========================================================================== */

.archive-pagination {
  margin-top: clamp(40px, 4.167vw, 60px);
}

.archive-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #3e3a32;
  border-radius: 4px;
  color: #3e3a32;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s;
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
  background: #58813a;
  color: #fff;
  border-color: #58813a;
}

.archive-pagination .page-numbers.dots {
  border: none;
}

.archive-pagination .prev.page-numbers,
.archive-pagination .next.page-numbers {
  padding: 0;
  width: 40px;
}

/* ==========================================================================
   検索フォーム（検索結果ページ等）
   ========================================================================== */

.search-form--page {
  display: flex;
  max-width: 500px;
  margin-top: 24px;
}

.search-form--page .search-field {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #3e3a32;
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

.search-form--page .search-submit {
  padding: 0 24px;
  background: #58813a;
  color: #fff;
  border: 1px solid #58813a;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-weight: 700;
}

/* 古い .single-nav（後方互換、使用しないが残す場合） */
.single-nav {
  display: flex;
  justify-content: space-between;
  gap: clamp(16px, 1.667vw, 24px);
  margin-top: clamp(48px, 5.556vw, 80px);
  padding-top: clamp(24px, 2.222vw, 32px);
  border-top: 1px solid #e0e0e0;
}

.single-nav__prev,
.single-nav__next {
  font-size: clamp(12px, 0.972vw, 14px);
  color: #3e3a32;
}

.single-nav__next {
  margin-left: auto;
  text-align: right;
}

/* ==========================================================================
   ヒーロー（3段マーキー + テキストオーバーレイ）
   ========================================================================== */

.hero-marquee {
  position: relative;
  padding: 18px 0 70px;
  overflow: hidden;
  background:
    /* 左上 */
    radial-gradient(ellipse 300px 300px at 5% 15%, rgba(180, 220, 160, 0.6) 0%, transparent 70%),
    /* 中央上 */
    radial-gradient(ellipse 250px 250px at 40% 5%, rgba(180, 220, 160, 0.5) 0%, transparent 70%),
    /* 右上 */
    radial-gradient(ellipse 280px 280px at 90% 10%, rgba(180, 220, 160, 0.55) 0%, transparent 70%),
    /* 左下 */
    radial-gradient(ellipse 260px 260px at 10% 80%, rgba(180, 220, 160, 0.55) 0%, transparent 70%),
    /* 右下 */
    radial-gradient(ellipse 320px 320px at 85% 75%, rgba(180, 220, 160, 0.6) 0%, transparent 70%),
    /* 中央下 */
    radial-gradient(ellipse 200px 200px at 55% 90%, rgba(180, 220, 160, 0.5) 0%, transparent 70%),
    #fff;
}

/* 中央オーバーレイ（マスコット + テキスト + ボタン） */
.hero-marquee__overlay {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-marquee__content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  width: 590px;
  aspect-ratio: 1;
  pointer-events: auto;
}

/* 1層目：輪郭がぼやけた円（少し緑がかった白） */
.hero-marquee__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(245, 249, 240, 0.9);
  box-shadow: 0 0 40px 20px rgba(245, 249, 240, 1);
  pointer-events: none;
  z-index: 0;
}

/* 2層目：パズル模様（円と同サイズ） */
.hero-marquee__content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: url('img/puzzle-deco.png') center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
  box-shadow: 0 0 40px 40px #fff;
}

/* コンテンツ内の要素をパズルの上に */
.hero-marquee__mascot,
.hero-marquee__catch,
.hero-marquee__desc-wrap,
.hero-marquee__btn {
  position: relative;
  z-index: 1;
}

.hero-marquee__mascot-placeholder {
  width: clamp(120px, 16.667vw, 240px);
  height: clamp(60px, 8.333vw, 120px);
  margin: 0 auto clamp(8px, 1.111vw, 16px);
}

.hero-marquee__mascot {
  width: 223px;
  height: auto;
  margin: 0 auto clamp(12px, 1vw, 20px);
}

.hero-marquee__mascot-placeholder {
  display: none;
}

.hero-marquee__catch {
  font-size: 52px;
  font-weight: 700;
  color: #58813a;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: clamp(12px, 1.389vw, 20px);
  font-family: "Noto Sans JP", sans-serif;
}

/* 「の」などを小さく表示 */
.hero-marquee__catch span {
  font-size: 0.7em;
}

.hero-marquee__desc-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(12px, 1.5vw, 20px);
}

.hero-marquee__desc {
  font-size: 15px;
  font-weight: 500;
  color: #3e3a32;
  line-height: 30px;
  letter-spacing: 1.35px;
  text-align: left;
  max-width: 86%;
}

.hero-marquee__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: clamp(12px, 1.042vw, 13px) clamp(13px, 0.389vw, 15px);
  border-radius: 40px;
  font-size: 16px;
  font-weight: 700;
  color: #3e3a32;
  background: #FFDF51;
  transition: all 0.3s;
      width: 100%;
      max-width: 283px;
        justify-content: center;

box-shadow: 0 4px #C5AC3F;
}

.hero-marquee__btn:hover {
  background: #f5d23e;
}


/* 緑の街並み（横リピート・円の前面に） */
.hero-marquee__cityscape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(40px, 11vw, 115px);
  z-index: 20;
  background-image: var(--bg-image);
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: auto 100%;
}

.hero-marquee__row {
  display: flex;
  gap: clamp(16px, 2.13vw, 31px);
  margin-bottom: 14px;
  overflow: hidden;
}

.hero-marquee__row:last-child {
  margin-bottom: 0;
}

.hero-marquee__track {
  display: flex;
  gap: 14px;
  will-change: transform;
}

/* 左方向（上段・下段） */
.hero-marquee__row--left .hero-marquee__track {
  animation: marquee-left 60s linear infinite;
}

/* 右方向（中段） */
.hero-marquee__row--right .hero-marquee__track {
  animation: marquee-right 50s linear infinite;
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* デフォルト: 横長の長方形（332×170 @1440px） */
.hero-marquee__item {
  flex-shrink: 0;
  width: 332px;
  height: 170px;
  border-radius: clamp(10px, 1.183vw, 17px);
  overflow: hidden;
}

.hero-marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 正方形（ACFで「正方形で表示」ONの場合） */
.hero-marquee__item--square {
  width: 170px;
  height: 170px;
}

.hero-marquee__item--placeholder {
  background: #ddd;
}

/* ==========================================================================
   セクション共通
   ========================================================================== */

.section-heading {
  text-align: center;
  margin-bottom: clamp(36px, 3.333vw, 48px);
}

.section-heading__label {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: clamp(16px, 1.389vw, 20px);
  font-weight: 400;
  color: #3e3a32;
  letter-spacing: 0.4px;
  margin-bottom: 0;
  line-height: 30px;
}

.section-heading__title {
  font-size: clamp(28px, 2.778vw, 40px);
  font-weight: 700;
  color: #3e3a32;
  line-height: 1.21;
}

/* 緑の見出し（活動報告など） */
.section-heading__title--green {
  font-size: clamp(28px, 2.778vw, 40px);
  color: #58813a;
  line-height: 48px;
}

/* ==========================================================================
   イントロセクション（ヒーロー下）
   ========================================================================== */

.section-intro {
  padding: clamp(40px, 5.556vw, 80px) 0;
  text-align: center;
}

.section-intro__catch {
  font-size: clamp(20px, 1.806vw, 26px);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: clamp(16px, 1.667vw, 24px);
  line-height: 1.6;
}

.section-intro__text {
  font-size: clamp(14px, 1.111vw, 16px);
  color: var(--color-text-light);
  max-width: 55.556vw; /* 800/1440 */
  margin: 0 auto;
  line-height: 2;
}

/* ==========================================================================
   投稿スライダー（自動スライド）
   ========================================================================== */

.section-posts {
  position: relative;
  padding: clamp(40px, 5.556vw, 80px) 0 clamp(60px, 13.889vw, 200px);
  background: #fff;
}

.posts-slider {
  position: relative;
}

.posts-slider__viewport {
  overflow: hidden;
  /* l-innerの制約を超えて全幅に */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-bottom: clamp(16px, 1.667vw, 24px);
}

.posts-slider__track {
  display: flex;
  gap: clamp(20px, 1.97vw, 28px);
  will-change: transform;
  animation: posts-loop linear infinite;
}

.posts-slider__track:hover {
  animation-play-state: paused;
}

@keyframes posts-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(var(--scroll-width, -50%)); }
}

/* 矢印ナビ（緑色、スライダーに重ねて配置） */
.posts-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: clamp(36px, 3.333vw, 48px);
  height: clamp(36px, 3.333vw, 48px);
  border-radius: 50%;
  border: 4px solid #58813A;
  background: #fff;
  color: #58813A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.posts-slider__arrow svg {
  stroke: #58813A;
      stroke-width: 3px;
        width: 33px;
        height: 33px;
}

.posts-slider__arrow:hover {
  background: #58813A;
  color: #fff;
}

.posts-slider__arrow:hover svg {
  stroke: #fff;
}

.posts-slider__arrow--prev {
  left: clamp(16px, 2.778vw, 40px);
}

.posts-slider__arrow--next {
  right: clamp(16px, 2.778vw, 40px);
}

/* もっと見るボタン */
.section-posts__more {
  text-align: center;
  margin-top: clamp(28px, 2.778vw, 40px);
  position: relative;
  z-index: 5;
}

/* 共通の「詳しく見る / もっと見る」ボタン */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: clamp(10px, 1.042vw, 15px) clamp(16px, 1.389vw, 20px);
  border: 2px solid #3e3a32;
  border-radius: 50px;
  font-size: clamp(14px, 1.111vw, 16px);
  font-weight: 700;
  color: #3e3a32;
  transition: all 0.3s;
      width: 220px;
        justify-content: center;
        position: relative;
}

.btn-more:hover {
  background: var(--color-text);
  color: #fff;
}

.btn-more svg {
  position: absolute;
  right: 10px;
  width: 23px;
  height: 23px;
  stroke-width: 2;
  transition: transform 0.3s;
}

.btn-more:hover svg {
  transform: translateX(4px);
  stroke: #fff;
}

/* 雲のような波型ボーダー */
.section-posts__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.section-posts__wave img {
  width: 100%;
  height: auto;
}

.post-card {
  width: 100%;
  min-width: 0;
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s;
}

/* フロントページの横スクロール（posts-slider）用カードだけ固定幅＋装飾を維持 */
.posts-slider__track .post-card {
  flex-shrink: 0;
  width: clamp(280px, 25.833vw, 372px);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.posts-slider__track .post-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.posts-slider__track .post-card__thumb {
  border-radius: 12px 12px 0 0;
}
.posts-slider__track .post-card__body {
  padding: clamp(10px, 0.9vw, 15px) clamp(12px, 1.111vw, 16px) clamp(16px, 0.927vw, 25px);
}

.post-card:hover {
  transform: translateY(-4px);
}

/* サムネイル: 372×251 → 約3:2 */
.post-card__thumb {
  aspect-ratio: 372 / 251;
  overflow: hidden;
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.post-card:hover .post-card__thumb img {
  transform: scale(1.05);
}

.post-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  background: #e8e8e8 url('img/igb-logo-symbol.png') center center / 40% auto no-repeat;
  opacity: 0.6;
}

.post-card__body {
  padding: clamp(10px, 0.429vw, 15px) 0 clamp(20px, 1.927vw, 25px);
}

.post-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
}

/* カテゴリバッジ: 緑背景、角丸40px */
.post-card__cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: #58813a;
  padding: 3px 10px;
  border-radius: 40px;
}

.post-card__title {
  font-size: 12px;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #3e3a32;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__date {
  font-size: 12px;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  color: #bfbfbf;
  letter-spacing: 1.6px;
  line-height: 1.8;
}



/* ==========================================================================
   活動紹介（カード型）
   ========================================================================== */

/* ==========================================================================
   About Us セクション
   ========================================================================== */

/* 背景: 上が#E2F4F9 → 下方向に白くグラデーション */
.section-about {
  position: relative;
  padding: clamp(60px, 6.944vw, 100px) 0 clamp(100px, 11.111vw, 160px);
  background: linear-gradient(to bottom, #E2F4F9 0%, #E2F4F9 40%, #ffffff 100%);
}

/* 見出し + 右上マスコット */
.about-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: clamp(32px, 3.333vw, 48px);
}

.about-header__text {
  flex: 1;
}

/* About Us英字ラベル: 20px/Oswald/lh:58px 左寄せ */
.about-header__text .section-heading__label {
  text-align: left;
  line-height: 58px;
}

/* About Us見出し: 45px/700/lh:45px Noto Sans JP #58813a 左寄せ */
.about-header__text .section-heading__title {
  text-align: left;
  font-size: clamp(28px, 3.125vw, 45px);
  line-height: 45px;
  font-family: "Noto Sans JP", sans-serif;
}

.about-header__sub {
  margin-top: 12px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.8;
  color: #333;
}

.about-header__mascot {
flex-shrink: 0;
  width: 280px;
  margin-right: calc(-50vw + 50%);
  position: absolute;
  right: 0;
  top: clamp(80px, 10vw, 140px);
  /* 12% → 雲の下端より確実に下に */
}

.about-header__mascot img {
  width: 100%;
  height: auto;
}

/* イラスト + キャッチコピー */
.about-visual {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.333vw, 48px);
  margin-bottom: clamp(40px, 4.167vw, 60px);
  max-width: 766px;
margin: auto;
}

.about-visual__illust {
  flex: 1;
  max-width: 45%;
}

.about-visual__illust img {
  width: 100%;
  height: auto;
  border-radius: clamp(8px, 0.833vw, 12px);
}

.about-visual__caption {
  font-size: clamp(11px, 0.833vw, 13px);
  color: var(--color-text-light);
  margin-top: 8px;
}

.about-visual__catch {
  flex: 1;
}

/* キャッチ: 31px/700/lh:38px/letter-spacing:3.1px Noto Sans JP */
.about-visual__catch-text {
  font-size: clamp(22px, 2.153vw, 31px);
  font-weight: 700;
  color: #3e3a32;
  line-height: 38px;
  letter-spacing: 3.1px;
  margin-bottom: 0;
  font-family: "Noto Sans JP", sans-serif;
}

/* 「届かない声」装飾画像 */
.about-visual__catch-image {
  display: block;
  width: clamp(200px, 22.222vw, 300px);
  height: auto;
  margin: clamp(4px, 0.556vw, 8px) 0;
}

/* 画像未設定時のフォールバック（大きめテキスト） */
.about-visual__catch-text--large {
  font-size: clamp(32px, 3.472vw, 50px);
  font-weight: 900;
  letter-spacing: 0.05em;
}

/* キャッチ補足: 16px/400/lh:40px Noto Sans JP */
.about-visual__catch-sub {
  font-size: clamp(14px, 1.124vw, 16px);
  font-weight: 400;
  color: #3e3a32;
  line-height: 40px;
}

/* 吹き出しメッセージ */
.about-bubble {
  text-align: center;
    margin: clamp(32px, 7.333vw, 90px) auto clamp(32px, 5.333vw, 90px);
  position: relative;
  max-width: 766px;
}

/* グルグルアイコン: 枠線の上に被せて途切れさせる */
.guruguru {
  position: absolute;
  top: -40px;
  left: 17%;
  display: block;
}

p.guruguru:before {
    content: "";
    position: absolute;
    height: 3px;
    background: #e3f4f9;
    width: 50px;
    left: 4px;
    top: 32px;
    z-index: 1;
}
.about-bubble__icon {
  display: block;
  position: relative;
  z-index: 2;
width: 50px;
  height: auto;
  margin: 0 auto;
  /* アイコン周囲だけに背景色を持たせてボーダーを隠す */
  padding: 0;
  /* ボックスの枠線と重なるようマイナスマージン */
  margin-bottom: clamp(-24px, -1.667vw, -16px);
}

.about-bubble__box {
  margin: 0 auto;
  background: #58813A;
  color: #fff;
  padding: 25px 0 40px;
  /* スタジアム型（左右が完全な半円） */
  border-radius: 9999px;
  font-size: clamp(14px, 1.111vw, 16px);
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 30px;
  letter-spacing: 1.44px;
  position: relative;
  /* 枠線はボックスに重なる形（border） */
  border: 2px solid var(--color-primary, #5B8C3E);
}
.about-bubble__box::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    border: solid 3px #3e3a32;
    left: -10px;
    top: -10px;
    border-radius: 9999px;
}
/* 吹き出し内の強調テキスト（黄色アンダーライン） */
.about-bubble__box span {
  background-image: linear-gradient(transparent 80%, #FFD720 80%);
  background-repeat: no-repeat;
  background-size: 100% 110%;
  padding-bottom: 5px;
}

/* 写真 + 本文: innerの制約を超えて全幅に */
.about-content {
  position: relative;
  text-align: center;
  margin-bottom: clamp(32px, 3.333vw, 48px);
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 0 16px;
}

/* Figma: 280×180px、左端/右端に吸着 */
.about-content__mascot {
  position: absolute;
  flex-shrink: 0;
  width: 280px;
}

.about-content__mascot img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* 左マスコット: 左端吸着 */
.about-content__mascot--left {
  left: 0;
  top: -60%;
}

/* 右マスコット: 右端吸着、下寄り */
.about-content__mascot--right {
  right: 0;
    bottom: -50%;
}

/* 本文: 16px/500/lh:30px/letter-spacing:1.44px Noto Sans JP center */
.about-content__body {
  max-width: clamp(500px, 49.722vw, 716px);
  margin: 0 auto;
  font-size: clamp(14px, 1.111vw, 16px);
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 30px;
  letter-spacing: 1.44px;
  color: #3e3a32;
  text-align: center;
}

/* 注釈: 12px/400/lh:24px/letter-spacing:1.08px */
.about-content__note {
  font-size: clamp(10px, 0.833vw, 12px);
  font-weight: 400;
  color: #3e3a32;
  margin-top: clamp(24px, 2.222vw, 32px);
  line-height: 24px;
  letter-spacing: 1.08px;
}

/* 詳しく見るボタン */
.about-more {
  text-align: center;
  margin-bottom: clamp(24px, 2.222vw, 32px);
}

/* 街並みイラスト（リピート） */
.about-cityscape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(40px, 22vw, 115px);
  z-index: 2;
  background-image: var(--bg-image);
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: auto 100%;
}



/* ==========================================================================
   事業内容（Business）
   ========================================================================== */

/* 背景の緑模様: セクション全幅に適用（innerで切れないように） */
.section-business {
  position: relative;
  padding: clamp(40px, 5vw, 72px) 0 clamp(100px, 11.111vw, 160px);
  background: #fff;
  overflow: hidden;
}

.section-business::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 180px at 8% 30%, rgba(184, 230, 191, 0.7) 0%, transparent 70%),
    radial-gradient(circle 180px at 92% 25%, rgba(184, 230, 191, 0.7) 0%, transparent 70%),
    radial-gradient(circle 180px at 15% 60%, rgba(184, 230, 191, 0.6) 0%, transparent 70%),
    radial-gradient(circle 180px at 88% 70%, rgba(184, 230, 191, 0.6) 0%, transparent 70%),
    radial-gradient(circle 150px at 50% 45%, rgba(184, 230, 191, 0.4) 0%, transparent 70%);
}

.section-business > * {
  position: relative;
  z-index: 1;
}

.business-cards {
  padding: 0;
  border-radius: 0;
  background: none;
}

/* タイトル+説明文エリアは背景なし（白） */
.section-business .section-heading,
.section-business__desc {
  position: relative;
  z-index: 1;
}

.section-business__desc {
  font-size: clamp(14px, 1.111vw, 16px);
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 30px;
  letter-spacing: 1.44px;
  color: #000;
  text-align: center;
  margin-bottom: clamp(32px, 2.778vw, 40px);
}

/* セクションヘッダー: 見出し+説明文+右上マスコット */
.section-business__header {
  position: relative;
  margin-bottom: clamp(32px, 2.778vw, 40px);
}

.section-business__mascot {
  position: absolute;
  top: 70%;
  right: 0;
  width: clamp(240px, 27.222vw, 392px);
  height: auto;
  pointer-events: none;
}

/* 事業カード群: Figma座標(1440px基準)で絶対配置 */
.business-cards {
  position: relative;
  /* Figma: 総高さ約1408px (1440px基準) */
  height: clamp(900px, 97.778vw, 1408px);
  max-width: clamp(700px, 77.778vw, 1120px);
  margin: 0 auto;
}

/* 個別カード: 535×574px, 1440px基準 */
.business-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: clamp(340px, 37vw, 535px);
}

/* 01 つなぐ: 左上 */
.business-card--01 {
  left: 0;
  top: 0;
}

/* 02 伝える: 右、01より238px下 */
.business-card--02 {
  right: 0;
  top: clamp(120px, 16.528vw, 238px);
}

/* 03 変える: 左、01より641px下 */
.business-card--03 {
  left: 0;
  top: clamp(320px, 44.514vw, 641px);
}
@media (max-width: 1400px) {
/* 03 変える: 左、01より641px下 */
  .business-card--03 {
    top: 45%;
  }
}
@media (max-width: 1098px) {
  /* 03 変える: 左、01より641px下 */
  .business-card--03 {
    top: 49%;
  }
}
@media (max-width: 991px) {
  /* 03 変える: 左、01より641px下 */
  .section-business {
    padding-bottom: 14vw;
  }
}



/* カードヘッダー: 番号(丸)+タイトル+縦線+サブ */
.business-card__header {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.057vw, 15px);
  background:linear-gradient(
      to bottom,
      transparent calc(50% - 10px),
      #FFF calc(50% - 10px),
      #FFF calc(50% + 3px),
      transparent calc(50% + 3px)
    );
  padding: 10px clamp(16px, 1.389vw, 20px) 10px 0;
  border-radius: 10px;
  margin-bottom: -44px;
  position: relative;
  z-index: 1;
  width: fit-content;
  /* 左端ではなく少し右寄せで背景ラインを見せる */
  margin-left: clamp(24px, 3.472vw, 50px);
}

/* 番号バッジ: Figmaから書き出したSVG画像 */
.business-card__num {
  width: clamp(48px, 4.722vw, 68px);
  height: auto;
  flex-shrink: 0;
  display: block;
}

.business-card__title {
  font-size: clamp(24px, 2.373vw, 34px);
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  color: #3e3a32;
  line-height: 40px;
}

/* タイトルとサブの間の縦線 */
.business-card__divider {
  width: 1px;
  height: 40px;
  background: #3e3a32;
  flex-shrink: 0;
}

.business-card__sub {
  font-size: clamp(14px, 1.214vw, 17px);
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  color: #3e3a32;
  line-height: 40px;
}

/* カード本体 */
.business-card__body {
  background: #fff;
  padding: clamp(40px, 4.167vw, 60px) clamp(32px, 3.472vw, 50px) clamp(32px, 3.472vw, 50px);
  border-radius: 10px;
  border: 3px solid;
}

.business-card__text {
  font-size: clamp(14px, 1.107vw, 16px);
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 25px;
  letter-spacing: 1.44px;
  color: #3e3a32;
  margin-bottom: clamp(16px, 1.667vw, 24px);
}

/* 画像レイアウト: 1枚目大（全幅） + 2-3枚目横並び */
.business-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.389vw, 20px);
}

.business-card__images img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 205 / 130;
}

/* 1枚目だけ全幅 + 大きい */
.business-card__images img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 435 / 240;
}

.business-card__img-placeholder {
  aspect-ratio: 435 / 240;
  background: #e0e0e0;
  border-radius: 10px;
  grid-column: 1 / -1;
}

/* 事業イメージ図: 右下（Figma y=899px from 01 top） */
.business-diagram {
  position: absolute;
  right: 0;
  top: clamp(560px, 62.43vw, 899px);
  width: clamp(360px, 36.058vw, 519px);
  text-align: center;
}

.business-diagram img {
  width: 100%;
  height: auto;
}

/* 街並みイラスト */
.business-cityscape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
    height: clamp(40px, 22vw, 115px);
  background-image: var(--bg-image);
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: auto 100%;
}

/* ==========================================================================
   ビジョン（Our Vision）
   ========================================================================== */

/* 背景: vision_bg.svg（#A3CD51緑+円装飾） */
.section-vision {
  padding: clamp(60px, 6.944vw, 100px) 0;
  background-color: #A3CD51;  /* SVGと同色で幅超過部分を埋める */
  background-image: url('img/vision_bg.svg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

/* メイン画像（上部に大きく） */
.section-vision__main-image {
  margin-bottom: -13vw;
  text-align: center;
  position: relative;
  z-index: 1;
}

.section-vision__main-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 白い角丸カード（タイトル+サブ+ビジョン項目） */
.section-vision__card {
  background: #fff;
  border-radius: 20px;
  padding: clamp(36px, 3.472vw, 50px) clamp(28px, 2.778vw, 40px);
  position: relative;
  z-index: 2;
  margin: 0 4.5vw 0;
}

/* 「誰もが暮らしやすい〜」タイトル */
.section-vision__title {
  font-size: clamp(20px, 1.806vw, 26px);
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  color: #3e3a32;
  text-align: center;
  line-height: 30px;
  letter-spacing: 2.34px;
  margin-bottom: clamp(28px, 3.333vw, 48px);
}

/* spanで囲んだ部分にだけ黄色いアンダーライン */
.section-vision__title span {
  text-decoration: underline;
  text-decoration-color: #FFD720;
  text-underline-offset: 8px;
  text-decoration-thickness: 3px;
}

/* Figma: 3列横並びカード */
.vision-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 3.472vw, 50px) clamp(28px, 2.778vw, 40px);
}

/* Figma: borderなし、画像+テキスト */
.vision-item {
  padding: 0;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 0.833vw, 12px);
}

/* 項目内イメージ画像 */
.vision-item__image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.vision-item__image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 250 / 151;
  object-fit: cover;
  border-radius: 10px;
}

.vision-item__text {
  font-size: clamp(13px, 1.042vw, 15px);
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 24px;
  color: #3e3a32;
}

/* ==========================================================================
   プロジェクト一覧（Project）
   ========================================================================== */

/* 背景: project_bg.svg（#FFF9EEクリーム+装飾） */
.section-projects {
  padding: clamp(40px, 5.556vw, 80px) 0;
  background-color: #FFF9EE;  /* SVGと同色で幅超過部分を埋める */
  background-image: url('img/project_bg.svg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.section-projects__desc {
  font-size: clamp(14px, 1.111vw, 16px);
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 30px;
  letter-spacing: 1.44px;
  color: #3e3a32;
  text-align: center;
  margin-bottom: clamp(32px, 3.333vw, 48px);
}

/* Figma: 3列×2段グリッド */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.222vw, 32px);
}

.project-card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card__img {
  aspect-ratio: 330 / 206;
  overflow: hidden;
  background: #c3c4c7;
  border-radius: 10px;
}

.project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__img--placeholder {
  background: #c3c4c7;
}

/* カード本体: flex-growで高さを揃え、ボタンを下に固定 */
.project-card__body {
  padding: clamp(12px, 1.389vw, 20px) 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card__body .btn-more {
  margin-top: auto;
  align-self: flex-end;
}

/* Figma: タイトル 26px/700/lh:30px */
.project-card__title {
  font-size: clamp(20px, 1.806vw, 26px);
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 30px;
  color: #3e3a32;
  margin-bottom: clamp(8px, 0.694vw, 10px);
}

/* Figma: 説明文 14px/500/lh:25px */
.project-card__text {
  font-size: clamp(14px, 0.972vw, 14px);
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 25px;
  color: #3e3a32;
  margin-bottom: clamp(12px, 1.111vw, 16px);
}

/* 小さめの詳しく見るボタン */
.btn-more--sm {
  font-size: clamp(14px, 1.042vw, 15px);
  font-weight: bold;
  padding: clamp(13px, 0.694vw, 10px) clamp(12px, 1.042vw, 15px);
}

/* ==========================================================================
   メンバー紹介（Members）
   ========================================================================== */

.section-members {
  padding: clamp(40px, 5.556vw, 80px) 0;
  background: #fff;
}


/* 2カラムレイアウト（メイン + サイドバー: 260px固定） */
.members-layout {
  display: flex;
}


.members-main {
  padding-right: 80px;
  width: calc(100% - 260px)
}

.section-heading--left {
  text-align: left;
}

.section-members__desc {
  font-size: clamp(14px, 1.111vw, 16px);
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 27px;
  color: #3e3a32;
  text-align: left;
  margin-bottom: clamp(32px, 2.778vw, 40px);
}

/* 主要メンバー: 縦に3人（左に丸写真+右に名前・紹介文） */
.members-featured {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.778vw, 40px);
  margin-bottom: clamp(32px, 2.778vw, 40px);
}

/* その他メンバー: 横一列に丸写真 + 右にボタン */
.members-compact-row {
  display: flex;
  align-items: center;
  gap: clamp(32px, 4.635vw, 67px);
  margin-bottom: clamp(24px, 2.222vw, 32px);
}

/* Figma: 各メンバー間のgap = 66.75px */
.members-compact {
  display: flex;
  gap: clamp(32px, 4.635vw, 67px);
}

/* サイドバー: 右端、余白なし、260px固定、縦に長くなっても配置OK */
.members-sidebar {
  width: 260px;
  padding: 0;
  align-self: start;
  position: sticky;
  top: 110px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* stickyでスクロール追従 */
  position: sticky;
  top: 80px;
}

/* サイドバーウィジェット共通 */
.sidebar-widget {
  background: transparent;
  width: 260px;
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input {
  padding: 4px 4px;
}
.wp-block-search__button svg {
  fill: #58813A;
  transform: scaleX(-1);
}

/* 虫眼鏡アイコンを太く（stroke追加） */
.wp-block-search__button svg path {
  stroke: #58813A;
  stroke-width: 1;
  paint-order: stroke fill;
}

button.wp-block-search__button.has-icon.wp-element-button {
    background: #fff;
      border: none;
      width: 38px;
      font-size: 25px;
      position: relative;
      margin-left: 0;
}
button.wp-block-search__button.has-icon.wp-element-button::before {
  content: "";
  position: absolute;
  display: block;
  width: 1px;
  height: 27px;
  background: #58813A;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.sidebar-widget figure {
    display: flex;
}
.sidebar-widget figure a {
  width: 100%;
}
.sidebar-widget__title {
  font-size: 14px;
  font-weight: 700;
  color: #3e3a32;
  margin-bottom: 8px;
}

/* Figma: 検索ボックス 260×38 border 1px #333 */
.sidebar-widget .search-form {
  display: flex;
  align-items: center;
  width: 260px;
  height: 38px;
  border: 1px solid #333;
  overflow: hidden;
  background: #fff;
}

.sidebar-widget .search-field {
  flex: 1;
  padding: 0 12px;
  border: none;
  font-size: 14px;
  background: transparent;
  height: 100%;
}

.sidebar-widget .search-field:focus-visible {
  outline: 2px solid #58813a;
  outline-offset: -2px;
}

.sidebar-widget .search-submit {
  padding: 0 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #58813a;
  height: 100%;
  display: flex;
  align-items: center;
  border-left: 1px solid #58813a;
}

/* Figma: バナー 260×100 border 1px #d2d2d2 角丸なし */
.sidebar-widget.widget_media_image,
.sidebar-widget.widget_image {
  width: 260px;
}

.sidebar-widget.widget_media_image img,
.sidebar-widget.widget_image img {
  display: block;
  width: 260px;
  height: auto;
  border-radius: 0;
  border: 1px solid #d2d2d2;
  transition: opacity 0.3s;
}

.sidebar-widget.widget_media_image a:hover img,
.sidebar-widget.widget_image a:hover img {
  opacity: 0.85;
}

/* カスタムHTML/テキストウィジェット */
.sidebar-widget.widget_custom_html,
.sidebar-widget.widget_text {
  font-size: 14px;
  line-height: 1.8;
  width: 260px;
}

.sidebar-widget.widget_custom_html img,
.sidebar-widget.widget_text img {
  max-width: 260px;
  height: auto;
  border-radius: 0;
  display: block;
}

/* 大カード: 左に丸写真 + 右にテキスト Figma:116×116 gap:24 */
.member-card--featured {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 1.667vw, 24px);
}

.member-card--featured .member-card__photo {
  flex-shrink: 0;
  width: clamp(80px, 8.056vw, 116px);
  height: clamp(80px, 8.056vw, 116px);
  border-radius: 50%;
  overflow: hidden;
  background: #e0e0e0;
}

.member-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-card__photo--placeholder {
  background: #e0e0e0;
}

/* 名前とタグ群を横並び */
.member-card__name-row {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.694vw, 10px);
  margin-bottom: clamp(8px, 0.694vw, 10px);
  flex-wrap: wrap;
}

/* Figma: 名前 20px/700 */
.member-card__name {
  font-size: clamp(16px, 1.389vw, 20px);
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  color: #3e3a32;
  margin-bottom: 0;
}

/* タグ群 */
.member-card__tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

/* 個別タグ（丸ピル） */
.member-card__tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 10px;
  font-size: clamp(10px, 0.833vw, 12px);
  font-weight: 700;
  color: #fff;
  border-radius: 40px;
  line-height: 1;
  white-space: nowrap;
}

/* Figma: 説明文 15px/400/lh:25px */
.member-card__text {
  font-size: clamp(13px, 1.042vw, 15px);
  font-weight: 400;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 25px;
  color: #3e3a32;
}

/* 小カード: 丸写真+名前 */
.member-card--compact {
  text-align: center;
}

/* Figma: 71×72px, gap:5px 名前との間 */
.member-card--compact .member-card__photo {
  width: clamp(56px, 4.931vw, 71px);
  height: clamp(56px, 4.931vw, 71px);
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 5px;
  background: #e0e0e0;
}

/* Figma: 小カード名前 14px/700 */
.member-card--compact .member-card__name {
  font-size: clamp(12px, 0.972vw, 14px);
}

.members-more {
  text-align: center;
  margin-bottom: clamp(16px, 1.389vw, 20px);
}

.members-recruit {
  text-align: left;
  font-size: clamp(14px, 1.111vw, 16px);
  font-weight: 700;
  color: #3e3a32;
  line-height: 25px;
}

.members-recruit a {
  color: #58813a;
  text-decoration: underline;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

/* FAQ（メンバーセクション内のメインカラム） */
.section-faq {
  margin-top: clamp(48px, 5.556vw, 80px);
}

.faq-list {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.667vw, 24px);
}

/* FAQ見出しも左寄せ */
.section-faq .section-heading {
  text-align: left;
}

/* アコーディオン（details/summary） */
.faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: clamp(16px, 1.667vw, 24px);
}

.faq-item__question {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.111vw, 16px);
  cursor: pointer;
  list-style: none; /* デフォルトの▶を消す */
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

/* 開閉トグル: chevron（くの字矢印） 閉=下 開=上 */
.faq-item__toggle {
  margin-left: auto;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3e3a32;
  transition: transform 0.3s ease;
}

/* 開いた状態: 180度回転して上向き */
.faq-item[open] .faq-item__toggle {
  transform: rotate(180deg);
}

/* ふわっと開閉アニメーション + Q&A余白 */
.faq-item__answer {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1.111vw, 16px);
  margin-top: clamp(20px, 1.667vw, 24px);
  animation: faqFadeIn 0.3s ease;
}

/* 回答本文（HTMLタグ有効） */
.faq-item__answer-body {
  flex: 1;
  font-size: clamp(14px, 1.111vw, 16px);
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 25px;
  color: #3e3a32;
}

.faq-item__answer-body a {
  color: #58813a;
  text-decoration: underline;
}

.faq-item__answer-body a:hover {
  opacity: 0.8;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Figma: Q 25px/600/#ec789b */
.faq-item__icon {
  flex-shrink: 0;
  font-size: clamp(20px, 1.736vw, 25px);
  font-weight: 600;
  line-height: 20px;
}

.faq-item__icon--q {
  color: #ec789b;
}

.faq-item__icon--a {
  color: #33a1dc;
}

/* Figma: 質問文 16px/700/lh:25px */
.faq-item__question p {
  font-size: clamp(14px, 1.111vw, 16px);
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 25px;
  color: #3e3a32;
}

/* Figma: 回答文 16px/500/lh:25px */
.faq-item__answer p {
  font-size: clamp(14px, 1.111vw, 16px);
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 25px;
  color: #3e3a32;
}

/* ==========================================================================
   グリーンセクション（団体紹介等）
   ========================================================================== */

.section-green {
  padding: clamp(40px, 5.556vw, 80px) 0;
  background: var(--color-primary);
  color: #fff;
}

.section-green .section-heading__label {
  color: var(--color-accent-light);
}

.section-green .section-heading__title {
  color: #fff;
}

/* ==========================================================================
   CTA セクション
   ========================================================================== */

/* CTA背景: Figma #8bb33c, padding:60px 32px, gap:100px */
.section-cta {
  padding: clamp(40px, 4.167vw, 60px) clamp(20px, 2.222vw, 32px);
  background: #8bb33c;
  color: #fff;
}

/* 白い見出しバリエーション */
.section-heading__label--white {
  color: #fff;
}

.section-heading__title--white {
  color: #fff;
  font-size: clamp(28px, 2.778vw, 40px);
  line-height: 48px;
}

/* Figma: 2カラム540px×2, gap:32px */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 2.222vw, 32px);
  max-width: clamp(800px, 77.222vw, 1112px);
  margin: clamp(80px, 8.333vw, 120px) auto 0;
}

/* Figma: 540×469, 白背景, padding:50 30 40 30, radius:20, 影あり */
.cta-card {
  text-align: center;
  padding: clamp(36px, 3.472vw, 50px) clamp(20px, 2.083vw, 30px) clamp(28px, 2.778vw, 40px);
  border-radius: clamp(14px, 1.389vw, 20px);
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.667vw, 24px);
}

/* カード上部のマスコット半円（178×178白い円が半分はみ出る） */
.cta-card__mascot-wrap {
  position: absolute;
  /* 半分だけカードの上に出す (178/2 = 89) */
  top: calc(-1 * clamp(60px, 6.181vw, 89px));
  left: 50%;
  transform: translateX(-50%);
  width: clamp(120px, 12.361vw, 178px);
  height: clamp(120px, 12.361vw, 178px);
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
  /* 影なし */
}

.cta-card__icon {
  width: clamp(60px, 5.556vw, 80px);
  height: clamp(60px, 5.556vw, 80px);
  margin: 0 auto clamp(12px, 1.389vw, 20px);
}

.cta-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Figma: セクション見出し 40px/700/#58813a, 英字20px/Roboto Condensed */
.cta-card__title {
  font-size: clamp(28px, 2.778vw, 40px);
  font-weight: 700;
  color: #58813a;
  margin-bottom: clamp(16px, 1.667vw, 24px);
}

/* Figma: 説明文 15px/400/lh:25px/letter-spacing:1.35px */
.cta-card__text {
  font-size: clamp(13px, 1.042vw, 15px);
  font-weight: 400;
  color: #3e3a32;
  margin-bottom: 0;
  line-height: 25px;
  letter-spacing: 1.35px;
}

.cta-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(10px, 0.972vw, 14px) clamp(24px, 2.778vw, 40px);
  border-radius: 50px;
  font-size: clamp(13px, 1.042vw, 15px);
  font-weight: 700;
  transition: all 0.3s;
}

.cta-card__btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.cta-card__btn--primary:hover {
  background: var(--color-primary-dark);
}

/* CTAカード英字ラベル */
.cta-card__label {
  display: block;
  font-size: clamp(16px, 1.389vw, 20px);
  font-weight: 400;
  color: #3e3a32;
  line-height: 23px;
  margin-bottom: 0;
}

/* 講演・ワークショップ用: Roboto Condensed */
.cta-card__label--roboto {
    font-family: "Oswald", sans-serif;
}

/* 活動を支援用: Oswald */
.cta-card__label--oswald {
  font-family: "Oswald", sans-serif;
}

/* ラベルとタイトルの間: Figma gap 23px */
.cta-card__heading {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
margin-top: 20px;
      z-index: 1;
}

/* タイトル */
.cta-card__title {
  margin-bottom: 0;
}

/* 複数ボタン: 寄付・会員は横並び、イベントは全幅 */
.cta-card__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 1.111vw, 16px);
  justify-content: center;
  margin-top: auto;
}

/* CTAボタン共通 */
.cta-card__main-btn,
.cta-card__btn-square,
.cta-card__btn-full {
  position: relative;
  display: flex;
  align-items: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: #3e3a32;
  border-radius: 10px;
  transition: all 0.3s;
  text-decoration: none;
}

/* 矢印（白い円+chevron、ボタン右端に絶対配置） */
.cta-btn__arrow {
  position: absolute;
  right: clamp(14px, 1.389vw, 20px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(20px, 2.708vw, 29px);
  height: clamp(20px, 2.708vw, 29px);
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: transparent;
}

/* 矢印のSVG: 親(黄色ボタン)の背景色と同じに */
.cta-card__main-btn .cta-btn__arrow,
.cta-card__btn-square .cta-btn__arrow {
  color: #ffdf51;
}

.cta-card__main-btn .cta-btn__arrow svg,
.cta-card__btn-square .cta-btn__arrow svg {
  stroke: #ffdf51;
      width: 25px;
        height: 25px;
}

/* イベントボタンの矢印は暗色 */
.cta-card__btn-full .cta-btn__arrow {
  color: #3e3a32;
}

.cta-card__btn-full .cta-btn__arrow svg {
  stroke: #3e3a32;
  width: 25px;
    height: 25px;
}

/* ボタン内のアイコン画像 */
.cta-btn__icon {
  flex-shrink: 0;
  width: clamp(32px, 3.472vw, 50px);
  height: auto;
  color: #3e3a32;
}

.cta-btn__text {

  text-align: center;
}

/* 左カード: 大きなCTAボタン 480×128 */
.cta-card__main-btn {
  width: 100%;
  min-height: clamp(80px, 8.889vw, 128px);
  padding: clamp(16px, 1.736vw, 25px) clamp(56px, 4.861vw, 70px) clamp(16px, 1.736vw, 25px) clamp(24px, 2.083vw, 30px);
  background: #ffdf51;
  font-size: clamp(14px, 1.111vw, 16px);
  gap: clamp(14px, 1.389vw, 20px);
  margin-top: auto;
  justify-content: end;
  border: none;
}

.cta-card__main-btn:hover {
  background: #f5d23e;
}

/* 左カードボタンのアイコンは大きめ */
.cta-card__main-btn .cta-btn__icon {
  width: clamp(40px, 4.236vw, 61px);
  height: auto;
}

.cta-card__main-btn .cta-btn__text {
  text-align: left;
}

.cta-card__note {
  margin-top: clamp(-15px, -1.667vw, -24px);
  font-size: clamp(11px, 0.903vw, 12px);
  color: #3e3a32;
  text-align: center;
  line-height: 1.6;
}

/* 右カード: 寄付・会員ボタン 232×102 */
.cta-card__btn-square {
  flex: 1;
  min-height: clamp(72px, 7.083vw, 102px);
  padding: clamp(16px, 1.667vw, 24px) clamp(50px, 4.514vw, 65px) clamp(16px, 1.667vw, 24px) clamp(16px, 1.667vw, 24px);
  background: #ffdf51;
  font-size: clamp(14px, 1.111vw, 16px);
  flex-direction: row;
  justify-content: end;
  gap: clamp(8px, 0.833vw, 12px);
  border: none;
}

.cta-card__btn-square:hover {
  background: #f5d23e;
}

.cta-card__btn-square .cta-btn__icon {
    width: clamp(30px, 3vw, 42px);
  height: auto;
}

.cta-card__btn-square .cta-btn__text {
  text-align: left;
}

/* 右カード: イベント参加ボタン 480×50, border 2px */
.cta-card__btn-full {
  width: 100%;
  min-height: clamp(44px, 3.472vw, 50px);
  padding: clamp(10px, 1.042vw, 15px) clamp(50px, 4.514vw, 65px) clamp(10px, 1.042vw, 15px) clamp(24px, 2.083vw, 30px);
  background: #fff;
  font-size: clamp(14px, 1.111vw, 16px);
  justify-content: center;
  border: 2px solid #3e3a32;
}

.cta-card__btn-full:hover {
  background: #f5f5f5;
}

.cta-card__btn-full .cta-btn__text {
  /* text-align: center; */
}

/* マスコット画像（白い円の中に配置） Figma: 92×66 (card1) / 106×80 (card2) */
.cta-card__mascot {
  width: clamp(72px, 7.361vw, 106px);
  height: auto;
  position: relative;
  z-index: 2;
  top: -60px;
}

/* 左カードのマスコットだけ少し右にはみ出す */
.cta-card:first-child .cta-card__mascot {
  right: -10px;
}

/* お問い合わせ誘導: Figma gap 32, padding-bottom 32 */
.cta-contact {
  text-align: center;
  margin-top: clamp(80px, 6.944vw, 100px);
  padding-bottom: 32px;
}

.cta-contact__text {
  font-size: clamp(14px, 1.111vw, 16px);
  font-weight: 600;
  color: #fff;
  line-height: 32px;
  letter-spacing: 1.6px;
  margin-bottom: 32px;
  font-family: "Montserrat", sans-serif;
}

/* お問い合わせボタン: 透過背景、白枠、メールアイコン付き */
.cta-contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 0.833vw, 12px);
  min-width: clamp(280px, 24.444vw, 352px);
  height: clamp(48px, 3.889vw, 56px);
  padding: 0 clamp(32px, 3.333vw, 48px);
  background: transparent;
  color: #fff;
  font-size: clamp(14px, 1.111vw, 16px);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 1.6px;
  border-radius: 720px;
  border: 1px solid #fff;
  transition: all 0.3s;
}

.cta-contact__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cta-contact__btn svg {
  flex-shrink: 0;
}

.cta-card__btn--accent {
  background: var(--color-accent);
  color: #fff;
}

.cta-card__btn--accent:hover {
  background: #e09520;
}

/* ==========================================================================
   サポーター企業／団体会員のみなさまセクション（フッター直前、緑背景）
   ========================================================================== */

.section-corporate,
.section-supporter {
  background: var(--color-footer-bg);
  padding: clamp(40px, 4.167vw, 60px) 0 0;
}

/* サポーター企業が直前にある場合、団体会員の上余白は少し詰める（2セクション連続時の調整） */
.section-supporter + .section-corporate {
  padding-top: clamp(24px, 2.5vw, 36px);
}

.section-corporate__heading,
.section-supporter__heading {
  color: #fff;
  font-size: clamp(18px, 1.528vw, 22px);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.08em;
  margin: 0 0 5px;
}

.corporate-list,
.supporter-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(16px, 2.083vw, 30px);
  max-width: 900px;
}

.corporate-list__item,
.supporter-list__item {
  background: #fff;
    width: 250px;
      height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1.042vw, 15px);
  box-sizing: border-box;
}

.corporate-list__item img,
.supporter-list__item img {
  max-width: 60%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* テキスト表示の団体会員／サポーター企業 */
.corporate-list__text,
.supporter-list__text {
  display: block;
  text-align: center;
  color: #333;
  font-size: clamp(14px, 1.111vw, 16px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  word-break: break-word;
}

.corporate-list__link,
.supporter-list__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s;
}

.corporate-list__link:hover,
.supporter-list__link:hover {
  opacity: 0.8;
}

/* ==========================================================================
   フッター
   ========================================================================== */

.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: clamp(40px, 4.167vw, 60px) 0 clamp(20px, 2.083vw, 30px);
}

/* Figma: 5カラムnav, 均等幅, gap:32px, padding:10px */
.footer-top {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(24px, 2.222vw, 32px);
  margin-bottom: clamp(24px, 2.222vw, 32px);
  padding: 10px;
}

/* カテゴリタイトル: Figma 15px/700/Noto Sans JP/#fff9ee/lh:18 */
.footer-nav__title {
  font-size: 15px;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: 16px;
  color: #fff9ee;
  line-height: 18px;
}

.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav__list li {
  list-style: none;
}

/* Figma: メニューリンク 14px/400/Noto Sans JP/#fff9ee/lh:16.8 */
.footer-nav__link,
.footer-nav__list a {
  position: relative;
  display: block;
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #fff9ee;
  text-decoration: none;
  line-height: 16.8px;
  padding: 8px 0 8px 18px;
  transition: color 0.3s;
}

/* 頭の「-」マーカー */
.footer-nav__link::before,
.footer-nav__list a::before {
    content: "";
      position: absolute;
      left: 8px;
      top: 50%;
      transform: translateY(-50%);
      background: #fff9ee;
      height: 1px;
      width: 4px;
}

/* hover時に下線 */
.footer-nav__link:hover,
.footer-nav__list a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 区切り線（1本だけ） */
.footer-divider {
  border: none;
  border-top: 1px solid #fff;
  margin: clamp(16px, 1.667vw, 24px) 0;
}

/* 団体情報 + 右側サイド（検索+SNS） */
.footer-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(24px, 2.222vw, 32px);
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  margin-bottom: clamp(24px, 2.222vw, 32px);
}

.footer-info__org {
  flex: 1;
}

.footer-info__name {
  font-size: 18px;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  color: #fff9ee;
  line-height: 21.6px;
      margin-bottom: 5px;
}

.footer-info__name-en {
  font-size: 14px;
  font-weight: 400;
  color: #c1c1c1;
  line-height: 16.8px;
  margin-bottom: clamp(8px, 0.694vw, 10px);
}

.footer-info__address,
.footer-info__email {
  font-size: 14px;
  font-weight: 400;
  color: #fff9ee;
  line-height: 16.8px;
  margin: 8px 0;
}

.footer-info__email {
  display: flex;
  align-items: center;
  gap: 8px;
}
p.footer-info__email svg {
  width: 24px;
  height: 18px;
}

/* 右側: 検索+SNS */
.footer-info__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(16px, 1.667vw, 24px);
  flex-shrink: 0;
}

/* フッター内検索 */
.footer-search {
  display: flex;
  align-items: center;
  width: clamp(200px, 21vw, 300px);
  height: 36px;
  background: transparent;
  border: 1px solid #fff9ee;
  overflow: hidden;
}

.footer-search__input {
  flex: 1;
  height: 100%;
  padding: 0 10px;
  background: transparent;
  border: none;
  color: #fff9ee;
  font-size: 14px;
}

.footer-search__input:focus-visible {
  outline: 2px solid #fff9ee;
  outline-offset: -2px;
}

.footer-search__input::placeholder {
  color: rgba(255, 249, 238, 0.5);
}

.footer-search__submit {
  width: 36px;
  height: 100%;
  font-size: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

.footer-search__submit::before {
  content: "";
  position: absolute;
  display: block;
  width: 1px;
  height: 27px;
  background: #fff;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.footer-search__submit svg {
  transform: scaleX(-1);
      height: 1.25em;
        width: 1.25em;
}

.footer-search__submit svg path {
  stroke: #fff9ee;
  stroke-width: 1;
  paint-order: stroke fill;
}

/* Facebookリンク */
.footer-sns {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff9ee;
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  text-decoration: none;
  transition: opacity 0.3s;
}
.footer-sns svg {
  width: 30px;
  height: 30px;
}
.footer-sns:hover {
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* コピーライト: 12px/300/lh:33px/#fff9ee, センター */
.footer-bottom {
  border-top: none;
  padding-top: 0;
  text-align: center;
}

.footer-bottom__copy {
  font-size: 13px;
  font-weight: 300;
  color: #fff9ee;
  line-height: 33px;
  text-align: center;
}



.wp-embedded-content,
.wp-block-embed__wrapper iframe {
  max-width: 100% !important;
  width: 100% !important;
}

.embedly-card {
  max-width: 100% !important;
}



/* レスポンシブ */
@media (max-width: 1300px) {
  .section-about {
    padding-top: 20%;
  }

  .about-content {
    position: initial;
  }

  .about-content__mascot--left {
    top: -5%;
  }

  .about-more {
    margin-bottom: 8vw;
  }

  .about-content__mascot--right {
    bottom: 7%;
  }

}



/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 1200px) {
.members-compact-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.members-compact {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}
.members-compact .member-card--compact .member-card__photo {
    width: 64px;
    height: 64px;
}
.btn-more {
  margin: 0 auto;
}




}
/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .members-main {
    padding-right: 40px;
  }


  .footer-top {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   ヘッダー SP/タブレット（1000px以下でハンバーガーに切替）
   ========================================================================== */
@media (max-width: 1060px) {
  .site-header__inner {
    max-width: 100%;
    height: 60px;
    padding: 0 16px;
    position: relative;
    gap: 8px;
  }

  /* SP: PC用のカートアイコンリンクは非表示（SPはパネル内に表示） */
  .header-cart-link {
    display: none;
  }

  .site-header__logo img {
    height: 36px;
  }

  .site-header {
    position: fixed;
  }

  .hamburger {
    display: flex;
    z-index: 1010;
    position: relative;
    flex: 0 0 auto;
    order: 3;
  }

  /* SP: 寄付ボタンをハンバーガーの左側に常時表示 */
  .btn-donate--header {
    flex: 0 0 auto;
    margin-left: auto;
            margin-right: 10px;
    padding: 8px 16px;
    font-size: 12px;
    gap: 6px;
    order: 2;
  }
  .btn-donate--header .btn-donate__icon {
    width: 16px;
  }

  /* ハンバーガーパネル: 画面全体（ヘッダー下〜画面下端）を覆う */
  .global-nav {
    display: none;
    position: fixed;
    top: 60px; /* ヘッダー高さ */
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #ffffff;
    padding: 0;
    margin-left: 0;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .global-nav.is-open {
    display: flex;
    animation: igb-nav-slide-down 0.3s ease-out;
  }

  /* SPパネル上部: マスコットのみ表示（ロゴは常時ヘッダーにあるので非表示） */
  .global-nav__sp-head {
    display: flex;
    justify-content: center;
    align-items: center;
padding: 30px 23px 16px;
  }
  .global-nav__sp-logo {
    display: none;
  }
  .global-nav__sp-mascot {
    display: block;
    width: clamp(200px, 60vw, 280px);
            max-width: 160px;
    height: auto;
  }
  .global-nav__sp-donate {
    display: none !important;
  }

  /* メニュー項目: 左寄せ・ブロック表示 */
  .global-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0 24px;
    margin: 0;
    list-style: none;
  }
  .global-nav__list li {
    display: block;
    border-bottom: 1px solid rgba(88, 129, 58, 0.2);
    padding: 0;
    text-align: left;
    max-width: 306px;
width: 100%;
  }
  .global-nav__list li a {
    padding: 0 10px;
    display: block;
    line-height: 1;
  }
  .global-nav__link {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text, #3e3a32);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 4px;
    text-align: left;
  }
  /* CSSで矢印（chevron）を右端に描画 */
  .global-nav__link::after {
    content: "";
    display: inline-block;
    position: static;
    width: 8px;
    height: 8px;
    border-top: 2px solid #6b6b6b;
    border-right: 2px solid #6b6b6b;
    background: none;
    transform: rotate(45deg);
    margin-left: 12px;
    flex-shrink: 0;
  }
  .global-nav__link:hover::after {
    width: 8px;
    border-color: var(--color-primary, #58813A);
  }

  /* SNSアイコン行: 「公式SNS」ラベル + アイコン群（左寄せ） */
  .header-socials {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    margin: 0 auto;
    padding: 20px 15px 28px;
    max-width: 306px;
    width: 100%;
  }
  .header-socials__label {
    display: inline-block;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333;
            margin-right: 30px;
  }
  .header-socials__link {
    width: 32px;
    height: 32px;
    padding: 7px;
  }

  /* SP: カート行（SNSクラスタの下に独立表示） Figma準拠: 縦積み中央寄せ */
  .global-nav__sp-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 306px;
    width: 100%;
    margin: 0 auto 20px;
    padding: 32px 10px;
    border-top: 1px solid rgba(88, 129, 58, 0.2);
    color: var(--color-text, #3e3a32);
    font-family: "Noto Sans JP", sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
  }
  .global-nav__sp-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .global-nav__sp-cart-icon svg,
  .global-nav__sp-cart-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  .global-nav__sp-cart-text {
    display: block;
    text-align: center;
  }

  @keyframes igb-nav-slide-down {
    from { transform: translateY(-8px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }

  .site-main {
    padding-top: 60px;
  }



  /* 2カラムレイアウト（メイン + サイドバー: 260px固定） */
  .members-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 0;
  }

  /* メンバー */
  .members-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .members-main {
    width: 100%;
    padding-right: 0;
  }
  .members-sidebar {
    width: 100%;
  }
  .members-sidebar .sidebar {
    position: static;
    padding-top: 0;
    align-items: center;
  }
  .sidebar-widget {
    width: 100%;
    /*max-width: 340px;*/
  }
  .sidebar-widget.widget_media_image,
  .sidebar-widget.widget_image,
  .sidebar-widget.widget_media_image img,
  .sidebar-widget.widget_image img {
    width: 100%;
    /*max-width: 340px;*/
  }
  .sidebar-widget .search-form {
    width: 100%;
    /*max-width: 340px;*/
  }


  /* CTA */
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .cta-grid {
    gap: 100px;
  }


.cta-card__mascot {
    width: clamp(77px, 8vw, 106px);
  top: -40px;
}

}



/* レスポンシブ */
@media (max-width: 991px) {
  .section-about {
    padding-top: 35%;
  }

  .about-content__mascot--left {
    top: -2%;
  }

  .about-header__mascot {
    top: 7%;
  }

  .about-content__mascot--right {
    display: none;
  }

}




@media (max-width: 880px) {
/* ---- 事業内容（Business） ---- */
/* 絶対配置 → 縦積みフレックス */
.section-business {
  padding: 60px 0 180px;
}

.section-business__header {
  padding: 0;
}

.section-business__mascot {
  max-width: 160px;
  display: block;
  top: -20px;
  right: -20px;
}

.section-business__desc {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 24px;
  padding: 0;
  text-align: left;
}

.business-cards {
  position: static;
  height: auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 390px;
}

.business-card {
  position: static;
  width: 100%;
  left: auto;
  right: auto;
  top: auto;
}

.business-card__header {
  margin-bottom: -40px;
  margin-left: 16px;
  padding: 8px 16px 8px 0;
  gap: 10px;
}

.business-card__num {
  width: 62px !important;
  height: 62px !important;
}

.business-card__title {
  font-size: clamp(24px, 7vw, 34px);
  line-height: 32px;
}

.business-card__divider {
  height: 28px;
}

.business-card__sub {
  font-size: 13px;
  line-height: 32px;
}

.business-card__body {
  padding: 50px 20px 20px;
}

.business-card__text {
  font-size: 14px;
  line-height: 1.9;
}

.business-diagram {
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.business-diagram img {
  width: 100%;
}
}

@media (max-width: 850px) {
  /* about us */

.about-bubble__box {

  font-size: 15px;
  line-height: 1.8;
  border-radius: 40px;
  padding: 25px 20px 40px;
    text-align: left;
}
.about-bubble__box::after {
    border-radius: 40px;
}


  /* ---- About Us ---- */
        .section-about {
          padding-top: 52vw;
        }
  .about-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0 20px;
  }

  .about-header__text .section-heading__title {
    font-size: 26px;
    line-height: 1.4;
  }
  .about-header__sub {
    font-size: 14px;
  }

  /* ビジュアル＋キャッチを縦積みに */
  .about-visual {
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
    margin: 10vw 0 25vw;
  }
  .about-visual__illust,
  .about-visual__illust img {
    max-width: 100%;
    width: 100%;
  }
  .about-visual__illust {
    order: 02;
    max-width: 80%;
  }
  .about-visual__catch {
        align-items: end;
          display: flex;
          flex-wrap: wrap;
  }
  .about-visual__catch-text,
  .about-visual__catch-text--large {
    font-size: 22px;
    line-height: 1.5;
  }
    .about-visual__catch-text{
      display: inline-block;
    }


  .about-visual__catch-sub {
    font-size: 14px;
  }
  .about-visual__catch-image {
    width: 100%;
    max-width: 60%;
    display: inline-block;
  }

  /* 本文ブロック。左右写真は非表示（SPでは本文のみ） */
  .about-content {
    padding: 0 20px;
  }

  .about-content__mascot--right {
    display: none;
  }
  .about-content__body {
    font-size: 14px;
    line-height: 1.9;
            text-align: left;
  }
  .about-content__note {
    font-size: 11px;
  }
  .about-more {
    text-align: center;
    margin-top: 24px;
  }

}


@media (max-width: 767px) {
  /* SPではvwではなく固定値に切り替え */
  .l-inner {
    max-width: 100%;
    padding: 0 16px;
  }

  .section-intro__text {
    max-width: 100%;
  }

  .hero-marquee__catch {
    font-size: 24px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  /* 下層ページ: 2カラム → 1カラムにスタック */
  .l-page--2col .l-page__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .l-page--2col .l-page__sidebar,
  .l-page--2col .members-sidebar {
    width: 100%;
  }

  .archive-grid,
  .l-page--2col .archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .related-posts__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .related-posts-inline__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .post-nav__link {
    width: 42px;
    height: 42px;
  }
  .post-nav__archive-btn {
    height: 42px;
    font-size: 13px;
  }



  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}




/* ==========================================================================
   SPレスポンシブ（Figma sp_390px_v2 準拠）2026-04-13
   ========================================================================== */
@media (max-width: 767px) {

  /* ---- 記事詳細 ---- */
  .single-header__cats-label {
    width: 100%;
  }

  /* ---- テーブル横スクロール（SP時のみの追加調整があればここに） ---- */

  /* ---- 2列テーブル（thead無し・table-wrap外）→ 縦積み ---- */
  .page-body > table:not(:has(thead)),
  .single-body > table:not(:has(thead)),
  .page-body article > table:not(:has(thead)),
  .single-body article > table:not(:has(thead)) {
    display: block;
  }
  .page-body > table:not(:has(thead)) tbody,
  .single-body > table:not(:has(thead)) tbody,
  .page-body article > table:not(:has(thead)) tbody,
  .single-body article > table:not(:has(thead)) tbody {
    display: block;
  }
  .page-body > table:not(:has(thead)) tr,
  .single-body > table:not(:has(thead)) tr,
  .page-body article > table:not(:has(thead)) tr,
  .single-body article > table:not(:has(thead)) tr {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
  }
  .page-body > table:not(:has(thead)) th,
  .page-body > table:not(:has(thead)) td,
  .single-body > table:not(:has(thead)) th,
  .single-body > table:not(:has(thead)) td,
  .page-body article > table:not(:has(thead)) th,
  .page-body article > table:not(:has(thead)) td,
  .single-body article > table:not(:has(thead)) th,
  .single-body article > table:not(:has(thead)) td {
    display: block;
    width: 100%;
    border: none;
    padding: 2px 0;
    padding-left: 15px;
  }
  .page-body > table:not(:has(thead)) tr th:first-child,
  .page-body > table:not(:has(thead)) tr td:first-child,
  .single-body > table:not(:has(thead)) tr th:first-child,
  .single-body > table:not(:has(thead)) tr td:first-child,
  .page-body article > table:not(:has(thead)) tr th:first-child,
  .page-body article > table:not(:has(thead)) tr td:first-child,
  .single-body article > table:not(:has(thead)) tr th:first-child,
  .single-body article > table:not(:has(thead)) tr td:first-child {
    width: 100%;
    white-space: normal;
    font-size: 15px;
    margin-bottom: 0;
    padding-left: 0;
  }

  /* ---- 多列テーブル（thead有り）→ 横スクロール ---- */
  .page-body table:has(thead),
  .single-body table:has(thead) {
    display: block;
    min-width: 600px;
  }
  .page-body table:has(thead) th,
  .page-body table:has(thead) td,
  .single-body table:has(thead) th,
  .single-body table:has(thead) td {
    font-size: 12px;
    padding: 8px 10px;
  }

  /* ---- 共通 ---- */
  .l-inner {
    padding: 0 20px;
  }
  .section-heading__title {
    font-size: 30px;
    line-height: 1.3;
  }
  .section-heading__label {
    font-size: 17px;
  }

  /* ---- Hero（ヒーロー）---- */
  /* SP: 中央オーバーレイを静的配置にしてパズル背景を被せる、マーキーは2段（中央段を非表示） */
  .hero-marquee {
    padding: 0 0 16px;
    position: relative;
            margin-top: -5vh;
  }
  /* オーバーレイに z-index を付与してマーキー上に重ねる */
  .hero-marquee__overlay {
    position: relative;
    top: auto;
    left: auto;
    z-index: 3;
    transform: none;
    display: block;
    pointer-events: auto;
  }
  .hero-marquee__content {
    position: relative;
    width: 100%;
        padding: 5vh 0 0;
    min-height: auto;
  }
  /* SP用パズル: ::beforeは不使用 */
  .hero-marquee__content::before {
    content: none;
  }
  /* SP用パズル背景: ぼかし込み画像に差し替え */
  .hero-marquee__content::after {
    display: block;
    width: 100%;
    height: 100%;
    top: 5vh;
    left: 50%;
    transform: translateX(-50%);
    background: url('img/puzzle-deco_SP.png') center / cover no-repeat;
    z-index: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .hero-marquee__mascot {
    width: 40vw;
    margin: 3vh auto 1vh;
  }
  .hero-marquee__catch {
    font-size: 8.5vw;
    line-height: 1.4;
    text-align: center;
  }
  .hero-marquee__desc-wrap {
    padding: 0;
            margin-bottom: 0;
  }
  .hero-marquee__desc {
    font-size: 3.3vw;
    line-height: 1.8;
    text-align: left;
  }
  .hero-marquee__btn {
    margin: 2.5vh auto 0;
    width: auto;
    font-size: 4vw;
    padding: 4vw 11vw;
    max-width: 100%;
  }
  /* マーキー: 1段目と3段目のみ表示、中央段(2段目)は非表示、1.5枚見えるサイズに */
  .hero-marquee__row {
    height: 180px;
    position: relative;
    z-index: 1;
  }
  .hero-marquee__row:nth-child(3) {
    display: none;
  }
  .hero-marquee__row:nth-child(4) {
    margin-bottom: 5vw;
  }
  .hero-marquee__item {
    width: 260px;
    height: 170px;
  }
  .hero-marquee__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
    /* 正方形（ACFで「正方形で表示」ONの場合） */
    .hero-marquee__item--square {
      width: 170px;
      height: 170px;
    }
  .hero-marquee__cityscape {
    height: 20vw;
    z-index: 2;
  }

  /* ---- 活動報告（Activity Report / posts-slider） ---- */
  /* SP: センターモードスライダー（両端peek、scroll-snap） */
  .posts-slider {
    padding: 0;
    position: relative;
  }
  .posts-slider__viewport {
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 0 16px;
  }
  .posts-slider__viewport::-webkit-scrollbar {
    display: none;
  }
  .posts-slider__track {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px;
    animation: none !important;
    transform: none !important;
    padding: 0 8vw;
    width: max-content;
  }
  .posts-slider__track .post-card {
    flex: 0 0 84vw !important;
    width: 84vw !important;
    max-width: 340px !important;
    scroll-snap-align: center;
  }
  /* 矢印は表示（SPでも左右に） */
  .posts-slider__arrow {
    display: flex !important;
    width: 40px;
    height: 40px;
    z-index: 5;
  }
  .posts-slider__arrow--prev {
    left: -10px;
  }
  .posts-slider__arrow--next {
    right: -10px;
  }

    /* ---- about us ---- */
    .about-header {
      flex-direction: column;
    }

    .about-header__mascot {
        width: 46vw;
          top: 24vw;
    }

    .about-visual {
      flex-direction: column;
    }

    .about-content__mascot--left {
      width: 46vw;
      top: 0;
    }



  /* ---- Vision ---- */
  .section-vision {
    padding: 0 0 60px;
    background-repeat: repeat;
          background-size: auto;
  }
  .section-vision__main-image {
            margin-bottom: -20vw;
        padding: 0;
          width: 100vw;
          margin-left: -20px;
  }
  .section-vision__card {
    margin: 0;
    padding: 36px 20px 28px;
  }
  .section-vision__title {
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 1px;
margin: 0 4vw 24px;
            text-align: left;
  }
  .vision-items {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .vision-item__text {
    font-size: 14px;
    line-height: 1.8;
  }

  /* ---- プロジェクト ---- */
  .section-projects {
    padding: 60px 0;
        background-repeat: repeat;
          background-size: auto;
  }
  /* projects-grid は既存SP CSSで 1fr */
  .project-card {
    width: 100%;
  }

    .section-projects__desc{
          font-size: clamp(15px, 1.111vw, 16px);
              text-align: left;
    }


  /* ---- メンバー ---- */
  .section-members {
    padding: 60px 0 40px;
  }

    .section-members .section-heading--left {
      text-align: center;
    }

  .section-members__desc {
    font-size: 14px;
    line-height: 1.8;
  }
  .members-featured {
    gap: 24px;
  }
  .member-card--featured {
    gap: 16px;
  }
  .member-card--featured .member-card__photo {
    width: 80px;
    height: 80px;
  }
  .member-card__name {
    font-size: 16px;
  }
  .member-card__text {
    font-size: 13px;
    line-height: 1.7;
  }
  /* 小カード+詳細ボタン行を縦積みに */

  .members-compact {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .members-compact .member-card--compact .member-card__photo {
    width: 64px;
    height: 64px;
  }

    .members-recruit a {
      display: block;
    }


  /* ---- FAQ（メインカラム内配置） ---- */
  .section-faq {
    margin-top: 40px;
  }
  .faq-item__question p {
    font-size: 14px;
  }
  .faq-item__answer-body {
    font-size: 13px;
  }
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input {
  font-size: 16px;
  padding: 10px;
  width: calc(100% - 38px);
}


  /* ---- CTA ---- */
  .section-cta {
    padding: 60px 0 40px;
  }

  .cta-card {
    padding: 32px 20px 24px;
  }
  .cta-card__title {
    font-size: 22px;
  }
  .cta-card__text {
    font-size: 14px;
            text-align: left;
  }
  .cta-card__main-btn,
  .cta-card__btn-square,
  .cta-card__btn-full {
    font-size: 14px;
        flex: auto;
          width: 100%;
          justify-content: center;
          padding:clamp(16px, 1.667vw, 24px) clamp(50px, 4.514vw, 65px) clamp(16px, 1.667vw, 24px);
  }
  .cta-card__buttons {
    gap: 12px;
  }

    .cta-card__main-btn .cta-btn__icon,
   .cta-card__btn-square .cta-btn__icon {
      display: none;
    }

  /* ---- サポーター企業／団体会員 ---- */
  .section-corporate,
  .section-supporter {
    padding: 40px 0 0;
  }
  .section-supporter + .section-corporate {
    padding-top: 24px;
  }
  .section-corporate__heading,
  .section-supporter__heading {
    font-size: 15px;
    text-align: left;
  }
  .corporate-list,
  .supporter-list {
    flex-direction: column;
    gap: 24px;
  }
  .corporate-list__item,
  .supporter-list__item {
    width: 100%;
    height: auto;
    aspect-ratio: 4.5;
  }
  .corporate-list__text,
  .supporter-list__text {
    font-size: 14px;
  }

  /* ---- フッター ---- */
  .site-footer {
    padding: 40px 0 40px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-nav__title {
    font-size: 16px;
    margin-bottom: 5px;
  }
  .footer-nav__list a {
    font-size: 14px;
  }
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-info__name {
    font-size: 14px;
  }
  .footer-info__side {
    align-items: flex-start;
    width: 100%;
  }
  .footer-search {
        width: 90%;
          margin: auto;
        height: auto;
  }
    .footer-search__input {
      font-size: 16px;
        padding: 10px;
    }

        .single-body.entry-content figure {
          width: 100% !important;
        }
}



@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

    #cookie-law-info-again {
          left: 0;
            right: 0 !important;
    }


}
@media (max-width: 375px) {
  .post-card__cat {
    padding: 3px 3px;
    line-height: 1.2;
  }


}



/* ==========================================================================
   パーツ
   ========================================================================== */
/*はみ出し画像*/
     .page-body .alignnone,
     .single-body .alignnone {
       max-width: 100%;
     }
     @media (max-width: 767px) {
       .sidebar,
       .sidebar-widget,
       .sidebar-widget > *,
      .sidebar-widget>*::before,
      .sidebar-widget>*::after {
         max-width: 100%;
         width: 100%;
       }
     }
   /*hr削除*/
.single-body.entry-content hr {
  display: none;
}

/*ギャラリーじゃない画像横並び*/
a.fancybox.image {
  display: inline-block;
}
a.fancybox.image img {
  margin: 10px;
  max-width: 100%;
}
/* リンクURLがはみ出さない様に*/
article.clearfix a {
  word-wrap: break-word;
}
.woocommerce img, .woocommerce-page img {
    height: clamp(36px, 3.472vw, 50px);
    width: auto;
}
