/* ==========================================================================
   とこネット モック（WEB版）
   13〜16章の改善提案を反映
   - CTA は lime-700（コントラスト 5.4:1／13章 2.2）
   - 入力欄 16px（14章 2.1）
   - タップ領域 44px（14章 2.5）
   ========================================================================== */

/* ===== 実フォント（toko-net/frontend/public/assets/fonts から） =====
   ⚠️ .ttf のまま。Regular+Bold+Mochiy で約9MB。
   14章 4.2 の通り、本番では .woff2 化＋サブセット化が必要。   */
@font-face {
  font-family: 'Mochiy Pop P One';
  src: url('../assets/fonts/MochiyPopPOne-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Zen Kaku Gothic New';
  src: url('../assets/fonts/ZenKakuGothicNew-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Zen Kaku Gothic New';
  src: url('../assets/fonts/ZenKakuGothicNew-Bold.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}
/* Material Symbols Rounded（絵文字の置き換え） */
@font-face {
  font-family: 'Material Symbols Rounded';
  src: url('../assets/fonts/material-symbols-rounded.ttf') format('truetype');
  font-weight: 400; font-display: block;
}
.icon {
  font-family: 'Material Symbols Rounded';
  font-weight: normal; font-style: normal;
  font-size: 20px; line-height: 1;
  display: inline-block; vertical-align: middle;
  letter-spacing: normal; text-transform: none; white-space: nowrap;
  direction: ltr; -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased; user-select: none; flex: none;
}
.icon-sm { font-size: 18px; }
.icon-lg { font-size: 24px; }
.icon-xl { font-size: 32px; }

:root {
  /* ブランド（13章 11.1：役割で名前を付ける） */
  /* ★ ブランド：イベント用スライドの紺（ロゴ・見出し 8.6:1） */
  --brand: #2f4f74;
  --brand-light: #1a609c;    /* 6.4:1 */

  /* ★ CTA：green-700。lime-700（黄緑）はくすんで見えるため変更
     白文字とのコントラスト 5.02:1（WCAG AA 合格） */
  --action: #15803d;         /* green-700 */
  --action-hover: #166534;   /* green-800 7.13:1 */
  --action-bg: #dcfce7;      /* green-100 */
  --action-fg: #14532d;      /* green-900 */
  --action-ring: rgba(21,128,61,.28);

  /* とこネット紹介（イベント用スライドの配色） */
  --navy: #2f4f74;           /* スライドの文字色 8.6:1 */
  --navy-2: #1a609c;         /* スライドのアクセント 6.4:1 */
  --navy-soft: #e7f0fa;      /* スライドの面色 */
  --sky: linear-gradient(180deg, #bcd5f0 0%, #dde9f7 50%, #f1e4d6 100%);

  --danger: #dc2626;
  --danger-bg: #fee2e2;

  --bg: #f5f7fa;
  --panel: #ffffff;
  --line: rgba(0, 0, 0, 0.10);
  --line-strong: rgba(0, 0, 0, 0.18);
  --text: #1f2937;           /* gray-800 */
  --muted: #4b5563;          /* gray-600 7.56:1 */
  --subtle: #6b7280;         /* gray-500 4.83:1 */
  --card-shadow: 0 1px 3px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.05);
  --shadow: 0 24px 60px rgba(49, 78, 112, 0.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(132,204,22,.10), transparent 26%),
    linear-gradient(135deg, #f8fbff 0%, #f2f6f0 45%, #eef1f5 100%);
  min-height: 100vh;
}

/* ========== レイアウト ========== */
.app-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  min-height: 100vh;
  align-items: start;
}

.flow-panel {
  position: sticky;
  top: 28px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 700;
}
.flow-panel h1 { margin: 0 0 8px; font-size: 24px; color: var(--brand); }
.lead { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }

.view-toggle { display: flex; flex-direction: column; gap: 8px; }
.view-toggle-label { font-size: 11px; font-weight: 700; color: var(--subtle); letter-spacing: .08em; }
.view-toggle-btns { display: flex; gap: 6px; }
.view-toggle-btn {
  flex: 1; text-align: center; text-decoration: none;
  padding: 9px 10px; border-radius: 9px; font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--line-strong); background: #fff; color: var(--muted);
  cursor: pointer; font-family: inherit;
}
.view-toggle-btn.is-active { background: var(--action); border-color: var(--action); color: #fff; }

.flow-nav { display: flex; flex-direction: column; gap: 5px; }
.flow-link {
  text-align: left; padding: 10px 12px; border-radius: 9px;
  border: 1px solid transparent; background: transparent;
  font-family: inherit; font-size: 13.5px; color: var(--muted);
  cursor: pointer; min-height: 40px;
}
.flow-link:hover { background: rgba(0,0,0,.04); }
.flow-link.is-active {
  background: var(--action-bg); border-color: var(--action);
  color: var(--action-fg); font-weight: 700;
}

.route-notes { border-top: 1px solid var(--line); padding-top: 16px; }
.route-notes h2 { margin: 0 0 8px; font-size: 12px; color: var(--subtle); letter-spacing: .06em; }
.route-notes ul { margin: 0; padding-left: 18px; }
.route-notes li { font-size: 12px; line-height: 1.75; color: var(--muted); }
.route-notes b { color: var(--text); }
.route-notes--data li { color: var(--subtle); }

.stage { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.stage-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.stage-header h2 { margin: 0; font-size: 26px; color: var(--brand); }
.status-pill {
  padding: 7px 14px; border-radius: 999px; font-size: 12px;
  background: #fff; border: 1px solid var(--line); color: var(--muted);
}

/* ブラウザ枠 */
.browser-frame {
  border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; background: #eef1f5; border-bottom: 1px solid var(--line);
}
.dot { width: 11px; height: 11px; border-radius: 50%; background: #cbd2da; }
.url-bar {
  flex: 1; margin-left: 10px; padding: 5px 12px; border-radius: 7px;
  background: #fff; font-size: 12px; color: var(--subtle); border: 1px solid var(--line);
}
.viewport { max-height: calc(100vh - 200px); overflow-y: auto; }

/* ========== サイト本体 ========== */
.site { font-size: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 26px; background: #fff; border-bottom: 1px solid var(--line);
}
/* ロゴ：正式名称を小さく、愛称を大きく（ナビ項目を増やしても1行に収める） */
.brand {
  display: flex; flex-direction: column; flex: none;
  font-weight: 700; color: var(--brand); font-size: 21px; line-height: 1.25;
  text-decoration: none; cursor: pointer;
}
.brand small { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a:not(.btn) {
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px;
  white-space: nowrap; cursor: pointer; padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover { color: var(--brand); }
.site-nav a[aria-current="page"] { color: var(--brand); font-weight: 700; border-bottom-color: var(--brand-light); }
/* ★ 言語切替：プルダウンではなく JP/EN のトグル
   選択肢が2つしかないので、開かずに1タップで切り替わる方が速い */
.lang-switch {
  display: inline-flex; border: 1px solid var(--line-strong);
  border-radius: 9px; overflow: hidden; background: #fff; flex: none;
}
.lang-btn {
  min-width: 44px; min-height: 40px; padding: 0 12px;   /* タップ領域 */
  border: none; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 700;
  color: var(--subtle); letter-spacing: .04em;
  transition: background .15s, color .15s;
}
.lang-btn + .lang-btn { border-left: 1px solid var(--line-strong); }
.lang-btn:hover { background: #f4f6f8; color: var(--text); }
.lang-btn.is-active { background: var(--action); color: #fff; }
.lang-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--action-ring); }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; font-weight: 700; text-decoration: none; cursor: pointer;
  font-family: inherit; border: 1px solid transparent;
  min-height: 44px; padding: 0 18px; font-size: 15px;   /* ★44px（14章 2.5） */
  transition: background-color .15s, border-color .15s, box-shadow .15s, transform .06s;
}
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--action-ring); }
.btn:active { transform: translateY(1px); }

.btn-primary,
a.btn-primary,
.site-nav a.btn-primary {
  background: var(--action); color: #fff;
  box-shadow: 0 1px 2px rgba(21,128,61,.25), 0 2px 8px rgba(21,128,61,.16);
}
.btn-primary:hover, a.btn-primary:hover { background: var(--action-hover); color: #fff; }

/* 副次ボタン：白地＋アクション色の輪郭（同格に見せない） */
.btn-outline {
  background: #fff; border-color: #cfd6dd; color: var(--text);
}
.btn-outline:hover { background: #f6f8f9; border-color: #b9c3cc; }

/* 補助的な操作（枠なし） */
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: rgba(0,0,0,.05); }

/* 紺のボタン（とこネット紹介まわり） */
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #233d5c; color: #fff; }

.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 17px; border-radius: 12px; }

/* ══ Hero：何ができるサイトかを最初に伝える ══ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hero {
  position: relative; padding: 44px 26px 40px;
  background: linear-gradient(135deg, #fefce8 0%, #f0fdf4 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 1100px; margin: 0 auto; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0,1fr) 380px;
  gap: 32px; align-items: center;
}
/* 元サイトの多色見出し。白の縁取りで背景から浮かせる */
.hero-title {
  margin: 0 0 14px; font-size: 40px; line-height: 1.4; font-weight: 800;
  font-family: 'Mochiy Pop P One', 'Zen Kaku Gothic New', sans-serif;
  text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff;
}
.hero-title .c1 { color: #eab308; }  /* 黄 */
.hero-title .c2 { color: #b45309; }  /* 茶 */
.hero-title .c3 { color: #ef4444; }  /* 赤 */
.hero-title .c4 { color: #84cc16; }  /* 黄緑 */
.hero-sub { margin: 0 0 22px; font-size: 17px; line-height: 1.9; color: #3f3f46; }
.hero-art { width: 100%; height: auto; }

/* トップの検索窓（その場で探し始められる） */
.hero-search {
  position: relative; display: flex; gap: 8px; align-items: center;
  background: #fff; border: 2px solid var(--action); border-radius: 12px;
  padding: 6px 6px 6px 44px; box-shadow: 0 2px 10px rgba(21,128,61,.10);
  max-width: 520px;
}
.hero-search-ico {
  position: absolute; left: 13px; color: var(--action); font-size: 22px;
}
.hero-search input {
  flex: 1; border: none; outline: none; font-family: inherit;
  font-size: 16px; min-height: 44px; background: transparent; min-width: 0;
}
.hero-search .btn { flex: none; }

.hero-quick { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero-quick-label { font-size: 13.5px; color: var(--subtle); margin-right: 2px; }
.quick-chip {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 38px; padding: 0 14px; border-radius: 999px;
  background: #fff; border: 1px solid #cfd6dd; color: var(--text);
  font-family: inherit; font-size: 14px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.quick-chip:hover { border-color: var(--action); background: var(--action-bg); color: var(--action-fg); }

/* セクション見出し（左寄せ＋操作） */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; max-width: 1100px; margin: 0 auto 20px; flex-wrap: wrap;
}
.section-title-l { margin: 0; font-size: 26px; color: var(--brand); }
.section-sub { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
/* トップの学習会は4列（定義は .card-grid の後に置く） */

/* はじめての人へ（不安に先回り） */
.faq-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 1100px; margin: 0 auto;
}
.faq {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 20px; box-shadow: var(--card-shadow);
}
.faq h3 { margin: 10px 0 7px; font-size: 16px; }
.faq p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--muted); }
.faq .i-green { color: #15803d; } .faq .i-blue { color: #1d4ed8; }
.faq .i-amber { color: #b45309; } .faq .i-purple { color: #7e22ce; }


/* セクション */
.section { padding: 52px 26px; }
.section-alt { background: #f8fafb; }
.section-title { margin: 0 0 14px; text-align: center; font-size: 28px; color: var(--brand); }
.section-lead { max-width: 780px; margin: 0 auto 34px; text-align: center; color: var(--muted); line-height: 1.9; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1000px; margin: 0 auto; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 22px; box-shadow: var(--card-shadow); }
.feature h3 { margin: 12px 0 7px; font-size: 17px; }
.feature p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; }
.i-amber { background: #fef3c7; } .i-lime { background: #ecfccb; } .i-green { background: #dcfce7; }
.i-pink { background: #fce7f3; } .i-blue { background: #dbeafe; } .i-purple { background: #f3e8ff; }

/* ページ */
.page { padding: 26px 26px 60px; max-width: 1180px; margin: 0 auto; }
.page--narrow { max-width: 780px; }
.crumbs { display: flex; gap: 9px; align-items: center; font-size: 14px; color: var(--subtle); margin-bottom: 18px; }
.crumbs a { color: var(--subtle); text-decoration: none; }
.crumbs b { color: var(--text); }
.page-title { margin: 0 0 10px; font-size: 32px; color: var(--brand); }
.page-lead { margin: 0 0 20px; color: var(--muted); font-size: 17px; }

/* 検索レイアウト */
.search-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 26px; align-items: start; }

/* ★ サイドバーは本体と独立してスクロールする
   sticky で追従させ、自身の高さを超えたら内部だけスクロール */
.filter-panel {
  position: sticky;
  top: 74px;                                   /* ヘッダー(64px)＋余白 */
  max-height: calc(100vh - 74px - 20px);       /* 画面内に収める */
  overflow-y: auto;                            /* ← 独立スクロール */
  overscroll-behavior: contain;                /* 端で本体に伝播させない */
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  padding: 20px; box-shadow: var(--card-shadow);
  scrollbar-width: thin;
  scrollbar-color: #c9d1d9 transparent;
}
/* スクロールバーを控えめに（WebKit） */
.filter-panel::-webkit-scrollbar { width: 8px; }
.filter-panel::-webkit-scrollbar-track { background: transparent; }
.filter-panel::-webkit-scrollbar-thumb { background: #d3dae1; border-radius: 999px; }
.filter-panel::-webkit-scrollbar-thumb:hover { background: #b9c3cc; }

/* 検索欄はスクロールしても上に留める */
.filter-sticky-head {
  position: sticky; top: -20px;                /* padding ぶん相殺 */
  background: #fff; z-index: 2;
  margin: -20px -20px 0; padding: 20px 20px 12px;
  border-bottom: 1px solid var(--line);
}
.filter-search { margin-bottom: 20px; }
.filter-label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.search-input {
  width: 100%; padding: 12px 14px; border-radius: 9px;
  border: 1px solid var(--line-strong);
  font-size: 16px;              /* ★ 16px（14章 2.1 iOSズーム防止） */
  font-family: inherit; min-height: 44px;
}
.search-input:focus { outline: 2px solid var(--action); outline-offset: 1px; border-color: var(--action); }
.filter-hint { margin: 6px 0 0; font-size: 12.5px; color: var(--subtle); }

.filter-group { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.filter-group h3 { margin: 0 0 10px; font-size: 14px; }
/* ★ チェックボックス＝複数選択（15章 3.1）＋44px（14章 2.5） */
.check-row {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 8px; border-radius: 7px; cursor: pointer;
}
.check-row:hover { background: #f7f8fa; }
.check-row input { width: 19px; height: 19px; accent-color: var(--action); cursor: pointer; }
.check-row .label { font-size: 15px; color: var(--text); flex: 1; }
.check-row .cnt { font-size: 13px; color: var(--subtle); }        /* ★ 件数（15章 3.2） */
.check-row.is-zero { opacity: .45; }
.check-row.is-zero input { cursor: not-allowed; }

.filter-reset { width: 100%; margin-top: 16px; }

/* 結果 */
.results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.results-count { font-size: 17px; }
.results-count b { font-size: 22px; color: var(--brand); }
.sort-select { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sort-select select {
  padding: 9px 11px; border-radius: 8px; border: 1px solid var(--line-strong);
  font-family: inherit; font-size: 15px; min-height: 44px; background: #fff;
}

/* ★ 適用中チップ（15章 3.3） */
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 36px; padding: 0 13px; border-radius: 999px;
  background: var(--action-bg); color: var(--action-fg);
  border: 1px solid #bef264; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit;
}
.chip:hover { background: #d9f99d; }
.chip-clear { background: transparent; border: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-family: inherit; font-size: 14px; }

/* ══ 学習会カード（16章 4.2 の順序） ══ */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
/* ★ トップの学習会は4列（空白を作らない） */
.card-grid.card-grid--3 { grid-template-columns: repeat(4, 1fr); max-width: 1100px; margin: 0 auto; gap: 16px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  box-shadow: var(--card-shadow); overflow: hidden;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.10), 0 12px 32px rgba(0,0,0,.06); }
.card.is-paused { opacity: .72; }

/* サムネイル（お知らせと同じく、あるものだけ表示） */
.card-thumb {
  width: 100%; height: 152px; object-fit: cover; display: block;
  border-bottom: 1px solid var(--line); background: #f2f4f6;
}
.card-grid--3 .card-thumb { height: 128px; }

/* 拡大表示：サムネイルを全部見せる（1枚大＋残りを小さく並べる） */
.card-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--line); }
.card-gallery img { width: 100%; height: 104px; object-fit: cover; display: block; background: #f2f4f6; }
.card-gallery img.is-main { grid-column: 1 / -1; height: 230px; }
.card.is-single { max-width: 560px; }

.card-head { padding: 17px 18px 0; }
.card-title { margin: 0 0 3px; font-size: 19px; font-weight: 700; line-height: 1.4; }
.card-title .paused-tag { color: var(--danger); font-size: 14px; margin-left: 6px; }
/* ★ 会場をサブタイトルに（16章 4.2：同名の学習会を区別） */
.card-place { margin: 0; font-size: 14.5px; color: var(--subtle); }
.card-org { display: inline-block; margin-top: 9px; padding: 4px 10px; border-radius: 999px;
  background: #fef3c7; color: #92400e; font-size: 12.5px; font-weight: 600; }

/* ★ 最重要バッジ列（16章 4.3）※「無料」は入れない */
.card-badges { display: flex; flex-wrap: wrap; gap: 7px; padding: 13px 18px 0; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.badge-target { background: #f3e8ff; color: #6b21a8; }
.badge-ask    { background: #f3f4f6; color: #374151; }   /* お知らせ「その他」 */
.badge-jp     { background: #dbeafe; color: #1e3a8a; }
.badge-meal   { background: #ffedd5; color: #9a3412; }
.badge-event  { background: #dbeafe; color: #1e40af; }
.badge-info   { background: #dcfce7; color: #14532d; }
.badge-important { background: var(--danger-bg); color: #991b1b; }

/* ★ 開催情報（頻度を統合＝16章 1.2 の解決） */
.card-facts { padding: 14px 18px 0; display: flex; flex-direction: column; gap: 9px; }
.fact { display: flex; gap: 10px; font-size: 15px; line-height: 1.6; }
.fact-ico { flex: none; font-size: 19px; color: var(--subtle); margin-top: 1px; }
.fact-main { font-weight: 600; }
.fact-note { color: var(--action-fg); background: var(--action-bg); padding: 1px 8px; border-radius: 5px; font-size: 13.5px; font-weight: 700; margin-left: 6px; }
.fact-sub { display: block; color: var(--subtle); font-size: 14px; margin-top: 2px; }
.fact-warn { color: #92400e; }

/* メッセージ（3行省略＝16章 4.2） */
.card-msg { padding: 14px 18px 0; }
.card-msg h4 { margin: 0 0 5px; font-size: 12.5px; color: var(--subtle); font-weight: 700; }
.card-msg p {
  margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-msg .more { background: none; border: none; padding: 4px 0 0; color: var(--action); font-size: 14px; text-decoration: underline; cursor: pointer; font-family: inherit; }

/* ★ 連絡ボタン（16章 4.2：大きく・並列） */
.card-actions { margin-top: auto; padding: 16px 18px 18px; display: flex; gap: 9px; flex-wrap: wrap; }
.card-actions .btn { flex: 1; min-width: 130px; }
.card-links {
  display: flex; gap: 14px; padding: 0 18px 16px;
  align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.card-links .site-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; color: var(--action); text-decoration: none; font-weight: 600;
  min-height: 40px;
}
.card-links .site-link:hover { text-decoration: underline; }

/* SNS リンク（16章 1.5：SNS用の列がない問題への対応） */
.sns-row { display: inline-flex; gap: 6px; align-items: center; }
.sns-link {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 9px;     /* タップ領域 40px */
  color: var(--subtle); background: transparent;
  transition: color .15s, background .15s;
}
.sns-link:hover { background: #f2f4f6; }
.sns-link.sns-instagram:hover { color: #C13584; }
.sns-link.sns-facebook:hover  { color: #1877F2; }
.sns-link.sns-x:hover         { color: #000; }
.sns-link.sns-line:hover      { color: #06C755; }

/* 状態表示（15章 2.1：エラーと0件を区別） */
.state-box { text-align: center; padding: 56px 24px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.state-ico { font-size: 44px; margin-bottom: 14px; }
.state-box h3 { margin: 0 0 9px; font-size: 20px; }
.state-box p { margin: 0 0 20px; color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.state-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.state-error { border-color: #fecaca; background: #fffbfb; }
.state-help { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--subtle); }

/* 読み込み中（前の結果を残す＝15章 2.3） */
.is-loading { opacity: .5; transition: opacity .2s; }

/* お知らせ */
.news-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.news-list--full { max-width: none; }
.news-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; box-shadow: var(--card-shadow); cursor: pointer;
}
.news-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.news-meta { display: flex; align-items: center; gap: 11px; margin-bottom: 8px; flex-wrap: wrap; }
.news-item h3 { margin: 0 0 6px; font-size: 17.5px; line-height: 1.5; }
.news-item p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.muted { color: var(--subtle); font-size: 13.5px; }
.jp-only { background: #f3f4f6; color: #4b5563; padding: 3px 9px; border-radius: 5px; font-size: 12px; font-weight: 600; }

.cat-tabs { display: flex; gap: 9px; margin-bottom: 20px; flex-wrap: wrap; }
.cat-tab {
  min-height: 44px; padding: 0 17px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #fff;
  font-family: inherit; font-size: 15px; color: var(--muted); cursor: pointer;
}
.cat-tab.is-active { background: var(--action); border-color: var(--action); color: #fff; font-weight: 700; }

/* 記事 */
.article { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 30px; box-shadow: var(--card-shadow); }
.article-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.article-title { margin: 0 0 16px; font-size: 27px; line-height: 1.5; color: var(--brand); }
.jp-only-note { background: #f3f4f6; border-radius: 8px; padding: 11px 15px; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.article-body { font-size: 16px; line-height: 1.95; color: var(--text); }
.article-body h2 { font-size: 20px; margin: 28px 0 10px; color: var(--brand); }
.article-body ul { padding-left: 22px; }
.article-body li { margin: 6px 0; }
/* 記事内の画像（実データの添付画像） */
.article-figure { margin: 26px 0 0; }
.article-figure img { width: 100%; height: auto; border-radius: 10px; display: block; border: 1px solid var(--line); }
.article-figure figcaption { margin-top: 8px; font-size: 13.5px; color: var(--subtle); text-align: center; }

/* お知らせ一覧のサムネイル */
.news-item--thumb { display: grid; grid-template-columns: 132px minmax(0,1fr); gap: 16px; align-items: start; }
.news-thumb { width: 132px; height: 88px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

.attach-box { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.attach { display: flex; gap: 12px; align-items: center; padding: 13px 16px; background: #f8fafb; border-radius: 9px; border: 1px solid var(--line); }
.attach b { display: block; font-size: 15px; }

/* フッター */
.site-footer { background: #22384f; color: #e5e7eb; padding: 44px 26px 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1000px; margin: 0 auto; }
.footer-grid h3 { margin: 0 0 12px; font-size: 15.5px; }
.footer-brand { color: #bcd5f0; font-size: 19px !important; }
.footer-grid p { margin: 0; font-size: 14px; line-height: 1.9; color: #d1d5db; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { font-size: 14px; line-height: 2.1; color: #d1d5db; }
.footer-new { color: #bcd5f0 !important; font-weight: 600; }
/* 実アクセスマップ（access_toshima.png） */
.footer-map { width: 100%; max-width: 260px; height: auto; margin-top: 12px; border-radius: 8px; background: #fff; }

/* ══════════ 支援者向けページ（18章） ══════════ */
.nav-group-label {
  margin: 14px 0 4px; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; color: var(--subtle);
}
.page--doc { max-width: 900px; }
.sup-hero { margin-bottom: 28px; }

.sup-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.sup-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; box-shadow: var(--card-shadow); text-decoration: none; color: inherit;
  transition: box-shadow .15s, transform .1s, border-color .15s;
}
.sup-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.10); transform: translateY(-2px); border-color: #cfd6dd; }
.sup-card h2 { margin: 0; font-size: 18px; color: var(--brand); }
.sup-card p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--muted); }
.sup-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.sup-link {
  margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 5px;
  color: var(--action); font-weight: 700; font-size: 14.5px;
}
.sup-card .badge { align-self: flex-start; }

/* 手順 */
.steps { display: flex; flex-direction: column; gap: 4px; margin-bottom: 26px; }
.step {
  display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--action-bg); color: var(--action-fg);
  display: grid; place-items: center; font-weight: 700; font-size: 16px;
}
.step h2 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0 0 10px; font-size: 15px; line-height: 1.85; color: var(--muted); }
.step .btn { margin-top: 2px; }

/* ドキュメント節 */
.doc-sec { margin-bottom: 32px; }
.doc-sec > h2 {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 12px; font-size: 20px; color: var(--brand);
  padding-bottom: 9px; border-bottom: 2px solid var(--action-bg);
}
.doc-sec p { font-size: 15px; line-height: 1.9; color: var(--text); margin: 0 0 12px; }

.doc-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14.5px; }
.doc-table th, .doc-table td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; line-height: 1.75; }
.doc-table th { background: #f7f9fa; width: 30%; font-weight: 700; }

/* 免責 */
.disclaimer {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fffbeb; border: 1px solid #fcd34d; border-left: 4px solid #d97706;
  border-radius: 10px; padding: 18px 20px; margin-bottom: 28px;
}
.disclaimer b { display: block; margin-bottom: 6px; color: #92400e; font-size: 15.5px; }
.disclaimer p { margin: 0 0 6px; font-size: 14.5px; line-height: 1.85; color: #78350f; }
.disclaimer .icon { color: #d97706; }

.alert-row {
  display: flex; gap: 12px; align-items: center;
  background: var(--danger-bg); border-radius: 9px; padding: 13px 16px; margin-bottom: 14px;
}
.alert-row .icon { color: #b91c1c; }
.alert-row b { font-size: 15.5px; color: #991b1b; }

.tip {
  display: flex; gap: 9px; align-items: flex-start;
  background: #f0f9ff; border-radius: 8px; padding: 11px 14px;
  font-size: 14px; line-height: 1.8; color: #075985; margin-top: 10px;
}
.tip .icon { color: #0284c7; margin-top: 2px; }
.tip-warn { background: #fffbeb; color: #78350f; }
.tip-warn .icon { color: #d97706; }

.link-list { display: flex; flex-direction: column; gap: 10px; }
.link-card {
  display: flex; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; text-decoration: none; color: inherit; box-shadow: var(--card-shadow);
  transition: border-color .15s, box-shadow .15s;
}
.link-card:hover { border-color: var(--action); box-shadow: 0 4px 12px rgba(21,128,61,.12); }
.link-card b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.link-card .icon { color: var(--action); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.8;
}
.check-list li:last-child { border-bottom: none; }
.check-list .icon { color: var(--action); margin-top: 3px; }

/* 加入メリット */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px; box-shadow: var(--card-shadow);
}
.benefit b { display: block; margin: 10px 0 6px; font-size: 15.5px; }
.benefit p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }
.benefit .i-green { color: #15803d; } .benefit .i-blue { color: #1d4ed8; }
.benefit .i-amber { color: #b45309; } .benefit .i-purple { color: #7e22ce; }
.benefit .i-pink { color: #be185d; }

/* 加入フロー */
.flow-steps { display: flex; align-items: stretch; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.fstep {
  flex: 1; min-width: 150px; background: #fff; border: 1px solid var(--line);
  border-radius: 11px; padding: 16px; box-shadow: var(--card-shadow);
}
.fstep-n {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--action); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 9px;
}
.fstep b { display: block; font-size: 15px; margin-bottom: 5px; }
.fstep p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.fstep-arrow { display: grid; place-items: center; color: var(--subtle); }

/* 通知ボックス */
.notice-box {
  display: flex; gap: 15px; align-items: flex-start;
  background: var(--action-bg); border-radius: 12px; padding: 20px 22px; margin-top: 26px;
}
.notice-box .icon { color: var(--action-fg); }
.notice-box b { display: block; margin-bottom: 5px; font-size: 16px; color: var(--action-fg); }
.notice-box p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.8; color: #1f3d24; }
.notice-box p:last-child { margin-bottom: 0; }

.cta-box {
  display: flex; gap: 20px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1px solid #bbf7d0; border-radius: 14px; padding: 24px 26px; margin-top: 28px;
}
.cta-box b { display: block; font-size: 18px; color: var(--action-fg); margin-bottom: 5px; }
.cta-box p { margin: 0; font-size: 14.5px; color: var(--muted); }

@media (max-width: 1200px) {
  .sup-cards, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1200px) {
  .card-grid { grid-template-columns: 1fr; }
  .card-grid.card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══ 地図（ベースマップ＋エリアピン） ══ */
.map-box {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--card-shadow); margin-bottom: 20px; overflow: hidden;
}
.map-box summary {
  display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 0 20px; cursor: pointer; list-style: none;
}
.map-box summary::-webkit-details-marker { display: none; }
.map-box summary::after {
  content: "expand_more"; font-family: 'Material Symbols Rounded';
  margin-left: auto; color: var(--subtle); font-size: 24px;
}
.map-box[open] summary::after { content: "expand_less"; }
.map-box summary .icon { color: var(--action); font-size: 24px; }
.map-box summary b { display: block; font-size: 16px; }
.map-box summary small { font-size: 13.5px; color: var(--subtle); }
.map-inner { padding: 14px 20px 18px; border-top: 1px solid var(--line); }

/* 地図本体：画像の上にピンを % 配置 */
.map-stage { position: relative; max-width: 760px; margin: 0 auto; }
.map-stage > img { width: 100%; height: auto; display: block; }
.map-pins { position: absolute; inset: 0; }

/* ピン：件数バッジ＋エリア名 */
.map-pin {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: inherit;
}
.map-pin-n {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  color: #fff; font-size: 15px; font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,.28), 0 0 0 3px #fff;
  transition: transform .15s, background .15s;
}
.map-pin-label {
  font-size: 12px; font-weight: 700; color: var(--action-fg);
  background: rgba(255,255,255,.92); border-radius: 4px; padding: 1px 5px;
  white-space: nowrap;
}
.map-pin:hover .map-pin-n,
.map-pin:focus-visible .map-pin-n { transform: scale(1.18); }
.map-pin.is-on .map-pin-n { box-shadow: 0 2px 6px rgba(0,0,0,.3), 0 0 0 3px #fff, 0 0 0 6px currentColor; }


/* ★ 「詳しく見る」トグル（カードは住所までを既定表示） */
.card-toggle {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  width: 100%; min-height: 48px; margin-top: auto;
  background: #f7f9fa; border: none; border-top: 1px solid var(--line);
  font-family: inherit; font-size: 14.5px; font-weight: 700;
  color: var(--action); cursor: pointer;
}
.card-toggle:hover { background: var(--action-bg); }
.card.is-open .card-toggle { background: #fff; }
.card-detail .card-msg { padding-top: 14px; }
.card-detail .card-msg p { -webkit-line-clamp: unset; display: block; }

.footer-grid li a { color: inherit; text-decoration: none; cursor: pointer; }
.footer-grid li a:hover { color: #bcd5f0; text-decoration: underline; }

/* フッター（実サイトの事務局情報に合わせる） */
.footer-office { font-size: 13.5px !important; line-height: 1.9 !important; }
.footer-contact { margin-top: 12px !important; font-size: 14px !important; line-height: 2 !important; }
.footer-contact .icon { color: #bcd5f0; margin-right: 6px; }
.footer-note { margin-top: 8px !important; font-size: 12.5px !important; color: #9ca3af !important; }
.footer-bottom {
  max-width: 1000px; margin: 32px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-bottom p { margin: 0; font-size: 12.5px; line-height: 1.9; color: #9ca3af; }

/* 住所と「詳しく見る」の間に余白（詰まって見えるのを防ぐ） */
.card-facts { padding-bottom: 16px; }
.card-toggle { margin-top: auto; }
.card:not(.is-open) .card-facts { padding-bottom: 22px; }


/* フッター：個人情報の取り扱い（全ページ共通） */
.footer-bottom { display: flex; flex-direction: column; gap: 10px; }
.footer-privacy {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer;
  padding: 8px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25);
}
.footer-privacy:hover { border-color: #bcd5f0; color: #bcd5f0; }
.footer-privacy .icon { color: #bcd5f0; }

/* ══════════ トップ：とこネットについて（スライドの空色） ══════════ */
.about-band {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 1100px; margin: 0 auto 56px; padding: 0 26px; box-sizing: content-box;
}
.about-band-inner {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 30px 32px; border-radius: 16px; background: var(--sky);
}
.about-band-inner .btn { margin-top: auto; }
.about-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--navy-2); }
.about-band-title { margin: 0 0 12px; font-size: 23px; color: var(--navy); letter-spacing: .12em; }
.about-band-inner p:not(.about-eyebrow) { margin: 0 0 18px; font-size: 15.5px; line-height: 1.9; color: #1e3550; }

/* ══════════ 支援者の方へ：4枚を2×2、紹介へのリンク ══════════ */
.sup-cards { grid-template-columns: repeat(2, 1fr); }
.sup-ico.i-purple { color: #7e22ce; }
.about-link {
  display: grid; grid-template-columns: 120px minmax(0,1fr) auto; gap: 18px; align-items: center;
  padding: 14px 20px 14px 14px; border-radius: 14px; background: var(--navy-soft);
  text-decoration: none; color: inherit; cursor: pointer; transition: box-shadow .15s;
}
.about-link:hover { box-shadow: 0 4px 14px rgba(47,79,116,.18); }
.about-link img { width: 120px; height: 80px; object-fit: cover; border-radius: 9px; display: block; }
.about-link b { display: block; font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.about-link p { margin: 0; font-size: 14.5px; color: #1e3550; line-height: 1.7; }
.about-link > .icon { color: var(--navy); }

/* ══════════ 個人情報の取り扱い ══════════ */
.privacy-draft { margin: 0 0 26px; }
.privacy-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.privacy-point {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid #7e22ce;
  border-radius: 12px; padding: 18px; box-shadow: var(--card-shadow);
}
.privacy-point .icon { color: #7e22ce; }
.privacy-point b { display: block; margin: 10px 0 6px; font-size: 16px; }
.privacy-point p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }
.privacy-contact {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 18px;
  background: #f7f9fa; border: 1px solid var(--line); border-radius: 10px; font-size: 15px;
}
.privacy-contact .icon { color: var(--action); margin-right: 4px; }
.doc-sec .muted a { color: var(--action); cursor: pointer; text-decoration: underline; }
.link-card { cursor: pointer; }

/* ══════════ とこネットについて（イベント用スライドのデザイン） ══════════
   紺の文字・空のグラデーション・大きな番号＋下線の見出し・シャボン玉 */
.ab-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 72px 26px 64px; color: var(--navy);
  background: url('../assets/images/about-sky.jpg') center / cover no-repeat, var(--sky);
}
.ab-hero-name { margin: 0 0 14px; font-size: 30px; font-weight: 700; letter-spacing: .3em; }
.ab-hero-title { margin: 0 0 22px; font-size: 26px; letter-spacing: .3em; color: var(--navy); }
.ab-hero-sub { margin: 0; font-size: 16px; letter-spacing: .08em; }
.ab-bubble { position: absolute; pointer-events: none; opacity: .75; }
.ab-bubble--hero { width: 150px; right: 6%; bottom: -30px; }

.ab-body { background: var(--sky); padding: 8px 26px 56px; }
.ab-sec, .ab-closing {
  max-width: 1040px; margin: 24px auto 0; padding: 30px 36px 34px;
  background: rgba(255,255,255,.9); border-radius: 18px;
  box-shadow: 0 6px 24px rgba(47,79,116,.08);
}
.ab-head {
  display: flex; align-items: flex-end; gap: 16px;
  padding-bottom: 12px; margin-bottom: 22px; border-bottom: 1px solid var(--navy-3, #3d6798);
}
.ab-num { font-size: 44px; line-height: .9; font-weight: 800; color: var(--navy); letter-spacing: .02em; }
.ab-head h2 { margin: 0; font-size: 21px; color: var(--navy); letter-spacing: .16em; }
.ab-lead { margin: 0 0 20px; color: #1e3550; font-size: 15.5px; }
.ab-tag {
  display: inline-block; background: var(--navy); color: #fff; font-weight: 700;
  font-size: 13.5px; letter-spacing: .08em; padding: 4px 12px; border-radius: 3px;
}

/* 01 吹き出し */
.ab-voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ab-voice { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--navy); }
.ab-bubble-say {
  position: relative; margin: 0 0 22px; padding: 16px 18px; width: 100%;
  border: 3px solid var(--navy); border-radius: 22px; background: #fff;
  font-weight: 700; font-size: 15px; line-height: 1.8; letter-spacing: .08em;
}
.ab-bubble-say::after {
  content: ""; position: absolute; left: 50%; bottom: -14px; width: 22px; height: 22px;
  background: #fff; border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy);
  transform: translateX(-50%) rotate(45deg);
}
.ab-voice > .icon { font-size: 44px; color: var(--navy-2); }
.ab-voice b { margin-top: 4px; font-size: 16px; letter-spacing: .08em; }
.ab-voice small { font-size: 13.5px; color: #3d6798; }

/* 02 STEP・目標 */
.ab-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: center; }
.ab-step { align-self: stretch; background: var(--navy-soft); border-radius: 10px; padding: 0 16px 16px; color: #1e3550; }
.ab-step .ab-tag { transform: translateY(-50%); margin-left: -16px; }
.ab-step h3 { margin: 0 0 10px; font-size: 15.5px; text-align: center; color: var(--navy); line-height: 1.6; text-decoration: underline; text-underline-offset: 5px; }
.ab-step ul { margin: 0; padding: 0; list-style: none; }
.ab-step li { position: relative; padding-left: 1.2em; font-size: 14px; line-height: 1.8; margin-bottom: 6px; }
.ab-step li::before { content: "★"; position: absolute; left: 0; color: var(--navy-2); }
.ab-step-arrow { color: #7da2d6; font-size: 30px; }
.ab-goal { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.ab-goal-box { background: var(--navy-soft); border-radius: 10px; padding: 0 20px 18px; }
.ab-goal-box .ab-tag { transform: translateY(-50%); margin-left: -20px; }
.ab-goal-box p { margin: 0; color: var(--navy); font-size: 15.5px; line-height: 1.9; letter-spacing: .04em; }

/* 03 活動（定例会を中心に6つ） */
.ab-hex { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 760px; margin: 0 auto; }
.ab-hex-item, .ab-hex-core {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 110px; padding: 12px 30px; color: var(--navy); font-weight: 700; font-size: 14.5px;
  line-height: 1.7; letter-spacing: .06em; background: #d5defa;
  clip-path: polygon(14% 0, 86% 0, 100% 50%, 86% 100%, 14% 100%, 0 50%);
}
.ab-hex-item.is-teal { background: #c4e6e4; }
.ab-hex-core { grid-column: 1 / -1; order: 0; min-height: 140px; background: #fff; border: none; box-shadow: none; clip-path: none; border-radius: 999px; outline: 3px solid #b8c4dd; outline-offset: -3px; }
.ab-hex-core b { font-size: 24px; color: #1f2937; margin-bottom: 4px; }
.ab-hex-core span { font-size: 14.5px; }
.ab-fact { position: relative; margin: 26px auto 22px; max-width: 760px; text-align: center; }
.ab-fact p { position: relative; margin: 0; color: var(--navy); font-size: 17px; line-height: 1.9; letter-spacing: .08em; }
.ab-fact small { display: block; font-size: 13.5px; color: #3d6798; }
.ab-fact b { font-size: 21px; }
.ab-bubble--fact { width: 120px; left: 2%; top: -20px; opacity: .55; }
.ab-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ab-photos figure { margin: 0; position: relative; }
.ab-photos img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; display: block; }
.ab-photos figcaption {
  position: absolute; left: 0; top: 8px; background: var(--navy); color: #fff;
  font-size: 12.5px; font-weight: 700; padding: 3px 10px; letter-spacing: .06em;
}

/* 04 強み */
.ab-strengths { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ab-strengths li { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 16px; align-items: center; }
.ab-strength-ico {
  width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  color: var(--navy); box-shadow: 0 0 0 1px #d6e2f0;
}
.ab-strengths li > div { background: var(--navy-soft); border-radius: 8px; padding: 14px 18px; color: var(--navy); }
.ab-strengths b { display: block; font-size: 15.5px; letter-spacing: .04em; line-height: 1.7; }
.ab-strengths small { display: block; font-size: 13.5px; margin-top: 2px; color: #3d6798; }

/* 05 これから（シャボン玉） */
.ab-future { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ab-future-item {
  aspect-ratio: 1; max-width: 220px; width: 100%; margin: 0 auto; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  color: var(--navy); font-weight: 700; font-size: 16px; line-height: 1.8; letter-spacing: .08em;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.9) 0 6%, transparent 7%),
    radial-gradient(circle at 50% 50%, rgba(214,228,250,.95), rgba(196,176,232,.75) 70%, rgba(170,200,240,.9));
  box-shadow: inset -8px -10px 24px rgba(120,150,210,.25);
}
.ab-future-item small { font-size: 13.5px; font-weight: 500; }

.ab-closing { text-align: center; }
.ab-closing-title { margin: 0 0 20px; font-size: 26px; font-weight: 700; color: var(--navy); letter-spacing: .14em; }
.ab-closing-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1200px) {
  .privacy-points, .ab-voices { grid-template-columns: 1fr; }
  .ab-steps { grid-template-columns: 1fr; }
  .ab-step-arrow { transform: rotate(90deg); justify-self: center; }
  .ab-goal, .ab-photos { grid-template-columns: repeat(2, 1fr); }
  .ab-hex-item { padding: 12px 22px; font-size: 13.5px; }
}

/* ══════════════════════════════════════════════════════════════════
   ★ サイト全体のテーマ：「とこネットについて」（イベント用スライド）の雰囲気
   - 紺の文字、空のグラデーション、字間を広げた見出し＋下線、シャボン玉
   - CTA（学習支援をさがす等）は緑のまま：押せる場所を一目で分かるようにするため
   ══════════════════════════════════════════════════════════════════ */

/* ヒーロー：空の写真＋グラデーション */
.hero {
  background: url('../assets/images/about-sky.jpg') center / cover no-repeat, var(--sky);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; width: 110px; height: 135px; right: 3%; top: 14px;
  background: url('../assets/images/about-bubble.png') center / contain no-repeat;
  opacity: .6; pointer-events: none;
}
.hero-sub { color: #1e3550; letter-spacing: .04em; }
.hero-grid { position: relative; z-index: 1; }

/* 見出し：字間を広げ、紺の細い下線（スライドの見出しと同じ） */
.section-title, .section-title-l, .page-title, .article-title, .sup-card h2 { letter-spacing: .12em; }
.section-title-l, .page-title {
  padding-bottom: 10px; border-bottom: 1px solid rgba(47,79,116,.45);
}
.section-head { align-items: flex-end; }
.section-head > div:first-child, .section-head > .section-title-l { flex: 1; }
.section-sub { letter-spacing: .04em; }
.page-title { margin-bottom: 14px; }
.doc-sec > h2 { letter-spacing: .08em; border-bottom: 1px solid rgba(47,79,116,.3); }
.step h2 { color: var(--brand); letter-spacing: .06em; }

/* 下層ページ：空のグラデーションの上に白いパネル */
.site:has(> .page) { background: var(--sky); }
.site > .page {
  position: relative; margin-top: 24px; margin-bottom: 40px; width: calc(100% - 40px);
  background: rgba(255,255,255,.93); border-radius: 18px;
  box-shadow: 0 6px 24px rgba(47,79,116,.08);
}
.site > .page::before {
  content: ""; position: absolute; width: 110px; height: 135px; right: 18px; top: -18px;
  background: url('../assets/images/about-bubble.png') center / contain no-repeat;
  opacity: .55; pointer-events: none;
}
.site > .page.page--doc, .site > .page.page--narrow { margin-left: auto; margin-right: auto; }
.filter-panel { top: 74px; }

/* トップの各セクション */
.section-alt { background: var(--navy-soft); }
.faq, .feature, .benefit, .sup-card, .news-item, .card, .fstep {
  border-color: rgba(47,79,116,.12);
}
.faq h3, .benefit b, .fstep b { color: var(--brand); letter-spacing: .04em; }

/* 番号・タグを紺に（STEPタグ・目標タグと同じ扱い） */
.step-num { background: var(--brand); color: #fff; }
.fstep-n { background: var(--brand); }
.card-org { background: var(--navy-soft); color: var(--brand); }
.results-count b { color: var(--brand); }

/* 「お知らせ」「支援者」などの補助ボックスも空色系に */
.notice-box { background: var(--navy-soft); }
.notice-box .icon, .notice-box b { color: var(--brand); }
.notice-box p { color: #1e3550; }
.notice-box p b { display: inline; margin: 0; font-size: inherit; }   /* 本文中の強調は改行させない */
.tip { background: var(--navy-soft); color: #1e3550; }
.tip .icon { color: var(--brand-light); }
.tip-warn { background: #fffbeb; color: #78350f; }   /* 注意書きは黄色のまま */
.tip-warn .icon { color: #d97706; }
.article { border-color: rgba(47,79,116,.12); }
.attach { background: var(--navy-soft); }

/* フッター：濃紺 */
.footer-grid h3 { letter-spacing: .08em; }
