/* ============================================================
   社会起業SBC 実績者ストーリー — 共通スタイル
   ブランドカラーは ACTION4ダッシュボード（action4-dashboard/index.html）と統一。
   色を変えたい場合は下の :root だけ差し替えれば全ページに反映される。
   ============================================================ */

:root {
  /* --- ブランドカラー（紫） --- */
  --purple:        #7B68AE;
  --purple-deep:   #3A2266;
  --purple-mid:    #5B4489;
  --purple-light:  #A78BFA;
  --purple-pale:   #F3EEFF;
  --purple-ghost:  #FAF8FF;
  --gold:          #C5A55A;

  /* --- ベース --- */
  --bg:        #FFFFFF;
  --bg-soft:   #FAF8FF;
  --text:      #2D2340;
  --text-sub:  #6B6580;  /* 白背景でコントラスト比 5.5:1（WCAG AA 適合） */
  --text-mute: #756E8A;  /* 白背景でコントラスト比 4.8:1（WCAG AA 適合） */
  --border:    #E8E0F0;

  /* --- レイアウト --- */
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:       0 2px 10px rgba(58, 34, 102, .06);
  --shadow-hover: 0 10px 28px rgba(58, 34, 102, .14);
  --content-max: 1120px;
  --header-h: 64px;

  --font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
               "Yu Gothic Medium", "Meiryo", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  font-size: 16px;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  max-width: var(--content-max);
  margin: 0 auto; padding: 0 20px; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .02em;
}
.brand-text { line-height: 1.3; }
.brand-title { font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.brand-sub { font-size: 10.5px; color: var(--text-mute); letter-spacing: .08em; }

.gnav { display: flex; gap: 4px; align-items: center; }
.gnav a {
  font-size: 13.5px; color: var(--text-sub); padding: 8px 13px;
  border-radius: 999px; transition: .18s; white-space: nowrap;
}
.gnav a:hover { background: var(--purple-pale); color: var(--purple-deep); }
.gnav a.cta {
  background: var(--purple); color: #fff; font-weight: 600;
  box-shadow: 0 2px 8px rgba(123, 104, 174, .3);
}
.gnav a.cta:hover { background: var(--purple-deep); color: #fff; }

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  background:
    radial-gradient(ellipse at 18% 20%, rgba(167, 139, 250, .30), transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(197, 165, 90, .16), transparent 55%),
    linear-gradient(140deg, var(--purple-deep) 0%, var(--purple-mid) 55%, var(--purple) 100%);
  color: #fff; padding: 62px 20px 66px; text-align: center;
}
.hero .overline {
  font-size: 11px; font-weight: 700; letter-spacing: .34em;
  color: rgba(255, 255, 255, .72); margin-bottom: 18px;
}
/* SBC実践データベースのヒーローバナー。
   1280x720 の縦横比を維持したまま、PCはコンテンツ幅の75〜85%・中央、
   SPは画面幅の90〜100%（端に張り付かない余白つき）で表示する。 */
.hero-banner {
  display: block; width: 80%; max-width: 1040px; height: auto;
  margin: 0 auto 26px; border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .22);
}
@media (max-width: 640px) {
  /* 画面幅の約92%。hero の左右パディング(18px)を一部打ち消して、
     端に張り付かない余白（各14px前後）を残したまま指定幅に収める。 */
  .hero-banner { width: calc(100% + 8px); max-width: none; margin-left: -4px; margin-bottom: 22px; }
}
.hero h1 {
  font-size: clamp(23px, 4.2vw, 36px); font-weight: 700;
  line-height: 1.55; letter-spacing: .01em; max-width: 22em; margin: 0 auto;
}
.hero .lead {
  margin: 20px auto 0; max-width: 34em;
  font-size: clamp(13.5px, 2vw, 15.5px); line-height: 1.95;
  color: rgba(255, 255, 255, .85);
}

/* ============================================================
   レイアウト（本体 + サイドバー）
   ============================================================ */
.layout {
  max-width: var(--content-max); margin: 0 auto; padding: 44px 20px 72px;
  display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 44px;
  align-items: start;
}
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }

/* ============================================================
   タグ絞り込み
   ============================================================ */
.filter-bar { margin-bottom: 26px; }
.filter-head {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.filter-head h2 { font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.filter-count { font-size: 12.5px; color: var(--text-mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12.5px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff; color: var(--text-sub);
  cursor: pointer; transition: .16s; font-family: inherit; line-height: 1.6;
}
.chip:hover { border-color: var(--purple-light); color: var(--purple-deep); background: var(--purple-ghost); }
.chip[aria-pressed="true"] {
  background: var(--purple); border-color: var(--purple); color: #fff; font-weight: 600;
}

/* ============================================================
   記事カード
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: #fff; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--purple-light); }
.card-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--purple-pale); overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-cat {
  position: absolute; left: 10px; top: 10px;
  background: rgba(58, 34, 102, .88); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 4px 11px; border-radius: 999px; backdrop-filter: blur(4px);
}
.card-body { padding: 16px 17px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-title { font-size: 15.5px; font-weight: 700; line-height: 1.6; letter-spacing: .01em; }
.card:hover .card-title { color: var(--purple-deep); }
.card-excerpt { font-size: 13px; color: var(--text-sub); line-height: 1.85; }
.card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 4px; }
.tag-mini {
  font-size: 10.5px; color: var(--purple-mid); background: var(--purple-pale);
  padding: 3px 9px; border-radius: 999px; letter-spacing: .02em;
}
.card-meta {
  font-size: 11.5px; color: var(--text-mute);
  display: flex; align-items: center; gap: 8px;
}
.empty {
  grid-column: 1 / -1; text-align: center; padding: 56px 20px;
  color: var(--text-mute); font-size: 14px;
  border: 1px dashed var(--border); border-radius: var(--radius); background: var(--bg-soft);
}

/* ============================================================
   社会起業ラジオ（トップページの紹介セクション。事例一覧の下・フッターの上）
   ============================================================ */
.radio-teaser {
  background: var(--bg-soft); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 52px 20px 58px;
}
.radio-teaser-inner { max-width: var(--content-max); margin: 0 auto; }
.radio-teaser-head { text-align: center; max-width: 560px; margin: 0 auto 30px; }
.radio-teaser-label {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .16em;
  color: #fff; background: var(--purple); padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.radio-teaser-head h2 { font-size: clamp(19px, 3vw, 25px); font-weight: 700; color: var(--purple-deep); line-height: 1.5; }
.radio-teaser-lead { font-size: 13.5px; color: var(--text-sub); line-height: 1.9; margin-top: 10px; }
.radio-teaser-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.radio-teaser-card {
  display: block; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: #fff; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.radio-teaser-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--purple-light); }
.radio-teaser-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--purple-pale); overflow: hidden; }
.radio-teaser-thumb img { width: 100%; height: 100%; object-fit: cover; }
.radio-teaser-badge {
  position: absolute; left: 10px; top: 10px;
  background: rgba(58, 34, 102, .88); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 4px 11px; border-radius: 999px; backdrop-filter: blur(4px);
}
.radio-teaser-body { padding: 15px 16px 17px; }
.radio-teaser-title { font-size: 14.5px; font-weight: 700; line-height: 1.6; color: var(--text); }
.radio-teaser-card:hover .radio-teaser-title { color: var(--purple-deep); }
.radio-teaser-desc {
  font-size: 12.5px; color: var(--text-sub); line-height: 1.8; margin-top: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.radio-teaser-more {
  display: block; width: max-content; margin: 30px auto 0;
  font-size: 13.5px; font-weight: 700; color: #fff; background: var(--purple);
  padding: 12px 28px; border-radius: 999px; transition: .18s;
}
.radio-teaser-more:hover { background: var(--purple-deep); }
@media (max-width: 560px) {
  .radio-teaser { padding: 40px 18px 44px; }
  .radio-teaser-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   サイドバー
   ============================================================ */
.widget {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff; padding: 20px 18px; box-shadow: var(--shadow);
}
.widget h3 {
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  color: var(--purple-deep); margin-bottom: 15px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.widget.profile { text-align: center; }
.profile-avatar {
  /* 全体に効いている img{max-width:100%} で幅だけ縮むと楕円になるため、
     min-width と aspect-ratio で必ず正円になるよう固定する */
  width: 88px; min-width: 88px; height: 88px; aspect-ratio: 1 / 1;
  flex-shrink: 0; border-radius: 50%; margin: 0 auto 13px;
  object-fit: cover; object-position: center top;
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(58, 34, 102, .22);
  background: var(--purple-pale);
}
.profile-name { font-size: 15px; font-weight: 700; }
.profile-role { font-size: 11.5px; color: var(--text-mute); margin-top: 3px; letter-spacing: .04em; }
.profile-bio { font-size: 12.5px; color: var(--text-sub); line-height: 1.9; margin-top: 12px; text-align: left; }

.side-list { list-style: none; display: grid; gap: 2px; }
.side-list button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 13px; color: var(--text-sub);
  padding: 8px 10px; border-radius: var(--radius-sm); transition: .15s;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.side-list button:hover { background: var(--purple-ghost); color: var(--purple-deep); }
.side-list button[aria-pressed="true"] { background: var(--purple-pale); color: var(--purple-deep); font-weight: 700; }
.side-list .n { font-size: 11px; color: var(--text-mute); flex-shrink: 0; }

.widget.promo {
  background: linear-gradient(150deg, var(--purple-deep), var(--purple-mid));
  color: #fff; border: 0; text-align: center;
}
.widget.promo h3 { color: rgba(255, 255, 255, .8); border-color: rgba(255, 255, 255, .2); }
.promo-text { font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .9); margin-bottom: 15px; }
.promo-btn {
  display: block; background: #fff; color: var(--purple-deep);
  font-size: 13.5px; font-weight: 700; padding: 11px; border-radius: 999px; transition: .18s;
}
.promo-btn:hover { background: var(--gold); color: #fff; }

/* ============================================================
   記事ページ
   ============================================================ */
.breadcrumb {
  max-width: var(--content-max); margin: 0 auto; padding: 16px 20px 0;
  font-size: 12px; color: var(--text-mute);
}
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb .sep { margin: 0 7px; opacity: .5; }

.article-head { max-width: 760px; margin: 0 auto; padding: 26px 20px 0; }
.article-cat {
  display: inline-block; background: var(--purple); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .05em;
  padding: 4px 13px; border-radius: 999px; margin-bottom: 15px;
}
.article-head h1 {
  font-size: clamp(22px, 3.8vw, 33px); font-weight: 700;
  line-height: 1.55; letter-spacing: .01em;
}
.article-meta {
  margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-mute);
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.article-tags a {
  font-size: 11.5px; color: var(--purple-mid); background: var(--purple-pale);
  padding: 4px 11px; border-radius: 999px; transition: .15s;
}
.article-tags a:hover { background: var(--purple); color: #fff; }

.article-hero { max-width: 860px; margin: 26px auto 0; padding: 0 20px; }
.article-hero img { border-radius: var(--radius); box-shadow: var(--shadow-hover); }

.article-body { max-width: 760px; margin: 0 auto; padding: 8px 20px 40px; }
.article-body h2 {
  font-size: clamp(18px, 3vw, 23px); font-weight: 700; color: var(--purple-deep);
  line-height: 1.6; margin: 54px 0 20px; padding-left: 15px;
  border-left: 4px solid var(--purple); letter-spacing: .01em;
}
.article-body h3 {
  font-size: clamp(15.5px, 2.4vw, 18px); font-weight: 700;
  margin: 34px 0 14px; color: var(--text); line-height: 1.65;
}
.article-body p { margin: 0 0 21px; line-height: 2.05; }
.article-body strong { font-weight: 700; background: linear-gradient(transparent 62%, rgba(167, 139, 250, .32) 62%); }
.article-body a.inline { color: var(--purple); border-bottom: 1px solid var(--purple-light); }
.article-body a.inline:hover { color: var(--purple-deep); border-bottom-color: var(--purple-deep); }

.lead-box {
  background: var(--purple-ghost); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px; margin: 28px 0 10px;
  font-size: 15px; line-height: 2.05; color: var(--text);
}

.video-wrap {
  position: relative; aspect-ratio: 16 / 9; margin: 32px 0;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-hover); background: #000;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { font-size: 12px; color: var(--text-mute); text-align: center; margin: -20px 0 34px; }

/* Before / After */
.ba {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px;
  align-items: stretch; margin: 32px 0;
}
.ba-col { border-radius: var(--radius); padding: 20px 18px; border: 1px solid var(--border); }
.ba-col.before { background: #F7F6F9; }
.ba-col.after { background: var(--purple-pale); border-color: var(--purple-light); }
.ba-label {
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  margin-bottom: 12px; color: var(--text-mute);
}
.ba-col.after .ba-label { color: var(--purple-deep); }
.ba-col ul { list-style: none; display: grid; gap: 9px; }
.ba-col li { font-size: 13.5px; line-height: 1.8; padding-left: 17px; position: relative; }
.ba-col li::before { content: "—"; position: absolute; left: 0; color: var(--text-mute); }
.ba-col.after li::before { content: "✓"; color: var(--purple); font-weight: 700; }
.ba-arrow { display: flex; align-items: center; color: var(--purple-light); font-size: 22px; }

/* 引用 */
.quote {
  margin: 34px 0; padding: 24px 26px;
  background: var(--purple-ghost); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote p { font-size: clamp(15px, 2.4vw, 17.5px); font-weight: 600; line-height: 1.95; margin: 0; color: var(--purple-deep); }
.quote cite { display: block; margin-top: 11px; font-size: 12px; font-style: normal; color: var(--text-mute); }

/* まとめ */
.takeaway {
  background: linear-gradient(150deg, var(--purple-deep), var(--purple-mid));
  color: #fff; border-radius: var(--radius); padding: 28px 28px 30px; margin: 46px 0 34px;
  box-shadow: var(--shadow-hover);
}
.takeaway .th { font-size: 11.5px; font-weight: 700; letter-spacing: .26em; color: rgba(255, 255, 255, .72); margin-bottom: 16px; }
.takeaway ul { list-style: none; display: grid; gap: 2px; }
.takeaway li {
  font-size: 14.5px; line-height: 1.85; padding: 11px 0 11px 26px;
  position: relative; border-bottom: 1px solid rgba(255, 255, 255, .11);
}
.takeaway li:last-child { border-bottom: 0; }
.takeaway li::before { content: "▸"; position: absolute; left: 4px; color: var(--gold); }

/* 出典 */
.source-box {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-soft); padding: 18px 20px; margin: 34px 0;
  font-size: 12.5px; color: var(--text-sub); line-height: 1.9;
}
.source-box dt { font-weight: 700; color: var(--purple-deep); font-size: 11.5px; letter-spacing: .1em; margin-bottom: 8px; }
.source-box a { color: var(--purple); border-bottom: 1px solid var(--purple-light); }
.source-box a:hover { color: var(--purple-deep); }

/* 記事末CTA */
.article-cta {
  border: 2px solid var(--purple-light); border-radius: var(--radius);
  background: var(--purple-ghost); padding: 28px 26px; margin: 44px 0 20px; text-align: center;
}
.article-cta h3 { font-size: 18px; font-weight: 700; color: var(--purple-deep); margin-bottom: 10px; line-height: 1.6; }
.article-cta p { font-size: 13.5px; color: var(--text-sub); line-height: 1.9; margin-bottom: 20px; }
.article-cta .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-size: 14px; font-weight: 700; transition: .18s;
}
.btn.primary { background: var(--purple); color: #fff; box-shadow: 0 3px 12px rgba(123, 104, 174, .35); }
.btn.primary:hover { background: var(--purple-deep); }
.btn.ghost { background: #fff; color: var(--purple-deep); border: 1px solid var(--purple-light); }
.btn.ghost:hover { background: var(--purple-pale); }

.article-nav { max-width: 760px; margin: 0 auto; padding: 0 20px 60px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--purple); font-weight: 600;
}
.back-link:hover { color: var(--purple-deep); }

/* ============================================================
   ゆきこボット
   デザインは action4-dashboard/yukiko-bot.html を踏襲
   （淡いラベンダーのヘッダー / 丸アバター / 左向き吹き出し）
   ============================================================ */
.bot-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: #fff; border: 0; cursor: pointer; font-family: inherit;
  padding: 12px 20px 12px 14px; border-radius: 999px;
  box-shadow: 0 6px 22px rgba(58, 34, 102, .34);
  font-size: 13.5px; font-weight: 700; transition: .2s;
}
.bot-fab:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(58, 34, 102, .44); }
/* 猪原さんの顔写真。全体に効いている img{max-width:100%} で幅だけ縮むと
   楕円になるため、min-width と aspect-ratio で必ず正円に固定する。 */
.bot-fab .icon {
  width: 30px; min-width: 30px; height: 30px; aspect-ratio: 1 / 1;
  border-radius: 50%; flex-shrink: 0; object-fit: cover;
  background: #fff; border: 2px solid rgba(255, 255, 255, .9);
}
.bot-panel {
  position: fixed; right: 22px; bottom: 82px; z-index: 200;
  width: min(400px, calc(100vw - 32px));
  height: min(600px, calc(100vh - 130px));
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 20px 54px rgba(58, 34, 102, .28);
  display: none; flex-direction: column; overflow: hidden;
}
.bot-panel[data-open="true"] { display: flex; }

/* ヘッダー */
.yb-head {
  background: linear-gradient(135deg, #EADCFB 0%, #DCE6FB 100%);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.yb-head img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; box-shadow: 0 3px 10px rgba(123, 104, 174, .3); background: #fff;
}
.yb-head .t { flex: 1; min-width: 0; }
.yb-head .over { font-size: 9.5px; font-weight: 700; letter-spacing: .2em; color: var(--purple-deep); opacity: .65; }
.yb-head h4 { font-size: 16px; font-weight: 800; color: var(--purple-deep); line-height: 1.3; }
.yb-head .sub { font-size: 11px; color: #5b4b7a; }
.bot-close {
  background: rgba(255, 255, 255, .6); border: 0; cursor: pointer; font-family: inherit;
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  font-size: 15px; color: var(--purple-deep); line-height: 1; transition: .15s;
}
.bot-close:hover { background: #fff; }

/* 会話ログ */
.yb-log {
  flex: 1; overflow-y: auto; padding: 16px 14px 8px;
  background: var(--purple-ghost); display: flex; flex-direction: column; gap: 14px;
  overscroll-behavior: contain;
}
.yb-row { display: flex; gap: 9px; align-items: flex-start; }
.yb-ava {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid #fff; box-shadow: 0 2px 8px rgba(123, 104, 174, .25); background: #fff;
}
.yb-bubble {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: 4px 15px 15px 15px; padding: 12px 14px; flex: 1; min-width: 0;
  box-shadow: 0 2px 10px rgba(59, 34, 102, .06);
}
.yb-bubble::before {
  content: ''; position: absolute; left: -8px; top: 13px; width: 0; height: 0;
  border: 8px solid transparent; border-right-color: #fff; border-left: 0;
}
.yb-name { font-size: 10.5px; font-weight: 800; color: var(--pink, #EC6F9E); margin-bottom: 5px; }
.yb-text { font-size: 13.5px; line-height: 1.85; color: var(--text); word-break: break-word; }
.yb-cursor {
  display: inline-block; width: 7px; height: 14px; background: var(--purple);
  vertical-align: text-bottom; animation: ybBlink .9s step-end infinite;
}
@keyframes ybBlink { 50% { opacity: 0; } }
.yb-dots span { display: inline-block; font-size: 8px; color: var(--purple-light); animation: ybBob 1.2s infinite; }
.yb-dots span:nth-child(2) { animation-delay: .18s; }
.yb-dots span:nth-child(3) { animation-delay: .36s; }
@keyframes ybBob { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }

.yb-me {
  align-self: flex-end; max-width: 82%;
  background: var(--purple); color: #fff; border-radius: 15px 15px 4px 15px;
  padding: 10px 14px; font-size: 13.5px; line-height: 1.8;
  white-space: pre-wrap; word-break: break-word;
  box-shadow: 0 3px 12px rgba(123, 104, 174, .28);
}

/* 提案カード */
.yb-cards { display: grid; gap: 9px; margin-top: 13px; }
.yb-card {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid var(--border); border-radius: 11px; overflow: hidden;
  background: var(--purple-ghost); padding: 9px; transition: .16s;
}
.yb-card:hover { border-color: var(--purple-light); background: var(--purple-pale); transform: translateX(2px); }
.yb-card img { width: 74px; height: 42px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.yb-card-body { min-width: 0; flex: 1; }
.yb-card-title {
  font-size: 12px; font-weight: 700; line-height: 1.55; color: var(--purple-deep);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yb-card-person { font-size: 10px; color: var(--text-mute); margin-top: 3px; }
.yb-card-why {
  font-size: 11px; color: var(--text-sub); line-height: 1.7; margin-top: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yb-card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.yb-tag {
  font-size: 9.5px; color: var(--purple-mid); background: #fff;
  border: 1px solid var(--border); padding: 2px 7px; border-radius: 999px;
}

/* 関連するラジオ（社会起業ラジオ）。事例カードの下に添える追加レイヤー。
   専用ページ（bot-page.js）は .yb-radio.lg で大きめに表示する。 */
.yb-radio { margin-top: 13px; padding-top: 12px; border-top: 1px dashed var(--border); }
.yb-radio-head {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-size: 11.5px; font-weight: 700; color: var(--purple-deep); margin-bottom: 9px;
}
.yb-radio-label {
  font-size: 9px; font-weight: 800; letter-spacing: .05em; color: #fff;
  background: var(--purple); padding: 3px 9px; border-radius: 999px; flex-shrink: 0;
}
.yb-radio-cards { display: grid; gap: 9px; }
.yb-radio-card {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid var(--border); border-radius: 11px; overflow: hidden;
  background: #fff; padding: 9px; transition: .16s;
}
.yb-radio-card:hover { border-color: var(--purple-light); background: var(--purple-pale); transform: translateX(2px); }
.yb-radio-card img { width: 74px; height: 42px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: var(--purple-pale); }
.yb-radio-card-body { min-width: 0; flex: 1; }
.yb-radio-card-title {
  font-size: 12px; font-weight: 700; line-height: 1.55; color: var(--purple-deep);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yb-radio-card-desc {
  font-size: 11px; color: var(--text-sub); line-height: 1.7; margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yb-radio-card-cta { display: inline-block; font-size: 10.5px; font-weight: 700; color: var(--purple); margin-top: 5px; }

/* 入力欄 */
.yb-foot { border-top: 1px solid var(--border); padding: 10px 12px 12px; background: #fff; flex-shrink: 0; }
.yb-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 9px; scrollbar-width: none; }
.yb-chips::-webkit-scrollbar { display: none; }
.yb-chip {
  flex-shrink: 0; font-size: 11px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff; color: var(--text-sub);
  cursor: pointer; font-family: inherit; white-space: nowrap; transition: .15s;
}
.yb-chip:hover { border-color: var(--purple-light); color: var(--purple-deep); background: var(--purple-pale); }
.yb-inputrow { display: flex; gap: 8px; align-items: flex-end; }
.yb-inputrow textarea {
  flex: 1; min-height: 42px; max-height: 120px; resize: none;
  border: 1px solid var(--border); border-radius: 11px; padding: 11px 12px;
  font-family: inherit; font-size: 13.5px; line-height: 1.65;
  background: var(--purple-ghost); color: var(--text);
}
.yb-inputrow textarea:focus { outline: none; border-color: var(--purple-light); background: #fff; }
.yb-send {
  flex-shrink: 0; width: 42px; height: 42px; border: 0; border-radius: 11px; cursor: pointer;
  background: linear-gradient(135deg, var(--purple), #6B4FB8); color: #fff;
  font-size: 17px; line-height: 1; transition: .15s;
}
.yb-send:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(123, 104, 174, .4); }
.yb-hint { font-size: 10px; color: var(--text-mute); margin-top: 7px; text-align: center; }

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: var(--purple-deep); color: rgba(255, 255, 255, .74);
  padding: 40px 20px 34px; text-align: center;
}
.site-footer .links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.site-footer a { font-size: 13px; transition: .15s; }
.site-footer a:hover { color: #fff; }
.site-footer .copy { font-size: 11.5px; color: rgba(255, 255, 255, .45); letter-spacing: .04em; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 900px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .sidebar { position: static; }
  .gnav a:not(.cta) { display: none; }
  .ba { grid-template-columns: 1fr; }
  .ba-arrow { justify-content: center; transform: rotate(90deg); }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .hero { padding: 44px 18px 48px; }
  .card-grid { grid-template-columns: 1fr; gap: 18px; }
  .brand-sub { display: none; }
  .bot-fab { right: 14px; bottom: 14px; padding: 11px 17px 11px 12px; font-size: 12.5px; }
  .bot-panel { right: 14px; bottom: 70px; }
  .article-cta .btns { flex-direction: column; }
  .btn { display: block; }
}

/* 動きを減らす設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .card:hover, .bot-fab:hover { transform: none; }
}

/* キーボード操作時のフォーカス可視化 */
:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 印刷 */
@media print {
  .site-header, .bot-fab, .bot-panel, .article-cta, .site-footer { display: none !important; }
}

/* ゆきこボットのモバイル対応（スマホではほぼ全画面） */
@media (max-width: 560px) {
  .bot-panel {
    right: 8px; left: 8px; bottom: 68px;
    width: auto; height: min(560px, calc(100vh - 100px));
    border-radius: 16px;
  }
  .yb-head img { width: 40px; height: 40px; }
  .yb-head h4 { font-size: 15px; }
  .yb-card img { width: 62px; height: 36px; }
}

/* ============================================================
   記事末のシェアブロック
   ブランド外の色（各SNS公式色）はここでのみ使う。
   ============================================================ */
.article-share {
  max-width: 760px; margin: 0 auto; padding: 34px 20px 8px; text-align: center;
}
.share-title {
  font-size: 19px; font-weight: 800; letter-spacing: .18em;
  color: var(--purple-deep); margin: 0 0 8px;
}
.share-title span { color: var(--purple-light); font-weight: 700; margin: 0 6px; }
.share-lead { font-size: 13px; color: var(--text-sub); margin: 0 0 18px; line-height: 1.8; }
.share-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.sbtn {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; padding: 0; font-family: inherit;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.sbtn:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(45, 35, 64, .22); }
.sbtn:focus-visible { outline: 3px solid var(--purple-light); outline-offset: 3px; }
.sbtn svg { width: 24px; height: 24px; }
.sbtn.insta  { background: linear-gradient(45deg, #F9CE34 0%, #EE2A7B 50%, #6228D7 100%); }
.sbtn.x      { background: #000; }
.sbtn.bsky   { background: #1185FE; }
.sbtn.fb     { background: #1877F2; }
.sbtn.hatena { background: #00A4DE; }
.sbtn.line   { background: #06C755; }
.sbtn.copy   { background: #fff; color: var(--purple-deep); border: 2px solid var(--border); }
.sbtn.copy:hover { background: var(--purple-pale); }
.share-toast {
  min-height: 22px; margin: 12px 0 0; font-size: 12.5px; font-weight: 700;
  color: var(--purple-deep); opacity: 0; transition: opacity .2s;
}
.share-toast.on { opacity: 1; }

@media (max-width: 600px) {
  .share-btns { gap: 10px; }
  .sbtn { width: 48px; height: 48px; }
  .sbtn svg { width: 22px; height: 22px; }
}

/* クリップボードAPI非対応ブラウザ用の一時textarea（画面外へ逃がす） */
.copy-sink { position: fixed; top: -1000px; left: -1000px; opacity: 0; pointer-events: none; }

/* ============================================================
   note から移行した記事
   note は強調（<strong>）を多用するため、通常記事のマーカー装飾は外す。
   そのままだと1記事に十数箇所マーカーが入り、かえって読みにくくなる。
   ============================================================ */
.from-note strong { background: none; font-weight: 700; color: var(--purple-deep); }
.from-note > p:first-child { font-size: 16.5px; }

.article-body figure { margin: 30px 0; }
.article-body figure img {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(58, 34, 102, .10);
}
.article-body figcaption {
  font-size: 12.5px; color: var(--text-mute);
  text-align: center; margin-top: 9px; line-height: 1.75;
}

.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 1.4em; }
.article-body li { margin-bottom: 9px; line-height: 1.95; }
.article-body ul li::marker { color: var(--purple-light); }
.article-body ol li::marker { color: var(--purple); font-weight: 700; }

.article-body hr {
  border: 0; height: 1px; background: var(--border); margin: 36px 0;
}
.article-body a:not(.btn):not(.back-link) {
  color: var(--purple); border-bottom: 1px solid var(--purple-light);
}
.article-body a:not(.btn):not(.back-link):hover { color: var(--purple-deep); }

.ext-link {
  background: var(--purple-ghost); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13.5px;
}

/* note から移行した記事に添える見出し（統合記事で使う） */
.merged-note {
  margin: 52px 0 0; padding: 22px 24px;
  background: var(--purple-ghost); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.merged-note > .mn-label {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  color: var(--purple-deep); margin-bottom: 6px;
}

/* ============================================================
   ゆきこボット 専用ページ（bot.html）
   右下のパネルとは別に、会話そのものを主役にした入口。
   クラス接頭辞は .bp-（bot page）。パネル側の .yb- とは分けている。
   ============================================================ */

/* ヘッダーの現在地表示 */
/* 現在地の表示。判定は aria-current に任せ、クラスとは分けておく
   （クラスで兼ねると「全記事に現在地マークが付く」ような取り違えが起きる）。 */
.gnav a[aria-current="page"] { color: var(--purple-deep); }
.gnav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 3px;
  background: var(--purple); border-radius: 2px;
}

.bp-hero {
  background: linear-gradient(135deg, #EADCFB 0%, #DCE6FB 100%);
  padding: 40px 24px 36px;
  display: flex; align-items: center; justify-content: center;
  gap: 22px; flex-wrap: wrap; text-align: left;
}
.bp-hero-ava {
  width: 96px; min-width: 96px; height: 96px; aspect-ratio: 1 / 1;
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 4px solid #fff; background: #fff;
  box-shadow: 0 6px 20px rgba(123, 104, 174, .32);
}
.bp-hero-text .over {
  font-size: 11px; font-weight: 700; letter-spacing: .22em;
  color: var(--purple-deep); opacity: .68;
}
.bp-hero-text h1 {
  font-size: clamp(24px, 5vw, 34px); font-weight: 900;
  color: var(--purple-deep); line-height: 1.3; margin: 2px 0 6px;
}
.bp-hero-text .sub { font-size: 14px; color: #5b4b7a; line-height: 1.75; }
.sp-br { display: none; }

.bp-wrap { max-width: 780px; margin: 0 auto; padding: 26px 20px 72px; }

/* --- 入力カード --- */
.bp-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px 20px; box-shadow: var(--shadow);
}
.bp-label {
  display: block; font-size: 16px; font-weight: 800; color: var(--purple-deep);
}
.bp-sublabel { font-size: 13px; color: var(--text-sub); margin: 6px 0 14px; line-height: 1.8; }
.bp-sublabel b { color: var(--purple-mid); font-weight: 800; }

.bp-card textarea {
  width: 100%; min-height: 132px; resize: vertical;
  border: 1px solid var(--border); border-radius: 10px; padding: 14px;
  font-family: inherit; font-size: 15px; line-height: 1.85;
  color: var(--text); background: var(--purple-ghost);
}
.bp-card textarea:focus { outline: none; border-color: var(--purple-light); background: #fff; }
.bp-card textarea::placeholder { color: var(--text-mute); }

.bp-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 4px; }
.bp-chip {
  border: 1px solid var(--border); background: #fff; color: var(--text-sub);
  border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: .15s; line-height: 1.4;
}
.bp-chip:hover { border-color: var(--purple-light); color: var(--purple-deep); background: var(--purple-pale); }

.bp-send {
  margin-top: 16px; width: 100%;
  background: linear-gradient(135deg, var(--purple), #6B4FB8); color: #fff;
  border: none; border-radius: 12px; padding: 15px;
  font-family: inherit; font-size: 15.5px; font-weight: 800;
  cursor: pointer; transition: .15s;
}
.bp-send:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(123, 104, 174, .38); }
.bp-send:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.bp-err { color: #B91C1C; font-size: 13px; margin-top: 10px; text-align: center; }
.bp-err:empty { margin: 0; }
.bp-hint { font-size: 11.5px; color: var(--text-mute); margin-top: 12px; text-align: center; line-height: 1.75; }

/* --- 会話 --- */
.bp-intro { margin-top: 26px; }
.bp-log { display: grid; gap: 22px; margin-top: 26px; }
.bp-log:empty { margin: 0; }

.bp-row { display: flex; gap: 14px; align-items: flex-start; }
.bp-ava {
  width: 64px; min-width: 64px; height: 64px; aspect-ratio: 1 / 1;
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 3px solid #fff; background: #fff;
  box-shadow: 0 4px 14px rgba(123, 104, 174, .28);
}
.bp-bubble {
  position: relative; flex: 1; min-width: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: 4px 16px 16px 16px; padding: 18px 20px 16px;
  box-shadow: 0 3px 14px rgba(59, 34, 102, .07);
}
.bp-bubble::before {
  content: ""; position: absolute; left: -9px; top: 18px;
  width: 0; height: 0; border: 9px solid transparent;
  border-right-color: #fff; border-left: 0;
}
.bp-name { font-size: 11.5px; font-weight: 800; color: #EC6F9E; margin-bottom: 7px; }
.bp-text { font-size: 15px; line-height: 1.95; color: var(--text); word-break: break-word; }
.bp-text strong { font-weight: 800; color: var(--purple-deep); }

/* 自分の発言 */
.bp-me {
  background: var(--purple-pale); border: 1px solid var(--border);
  border-radius: 16px 4px 16px 16px; padding: 14px 18px;
  margin-left: auto; max-width: 88%;
}
.bp-me-label {
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
  color: var(--purple-mid); margin-bottom: 5px;
}
.bp-me-text { font-size: 14.5px; line-height: 1.85; color: var(--text); white-space: pre-wrap; word-break: break-word; }

/* --- 事例カード（専用ページは大きめ） --- */
.bp-cards { display: grid; gap: 12px; margin-top: 18px; }
.yb-card.lg { gap: 14px; padding: 12px; border-radius: 12px; }
.yb-card.lg img { width: 132px; height: 74px; border-radius: 8px; }
.yb-card.lg .yb-card-title { font-size: 14.5px; line-height: 1.55; }
.yb-card.lg .yb-card-person { font-size: 11.5px; margin-top: 5px; }
.yb-card.lg .yb-card-why { font-size: 12.5px; line-height: 1.75; margin-top: 7px; }
.yb-card.lg .yb-tag { font-size: 10.5px; }

/* 関連するラジオ（専用ページは大きめ） */
.yb-radio.lg { margin-top: 18px; padding-top: 16px; }
.yb-radio.lg .yb-radio-head { font-size: 13.5px; }
.yb-radio.lg .yb-radio-cards { gap: 12px; }
.yb-radio.lg .yb-radio-card { gap: 14px; padding: 12px; border-radius: 12px; }
.yb-radio.lg .yb-radio-card img { width: 132px; height: 74px; border-radius: 8px; }
.yb-radio.lg .yb-radio-card-title { font-size: 14px; line-height: 1.55; }
.yb-radio.lg .yb-radio-card-desc { font-size: 12.5px; line-height: 1.75; margin-top: 6px; }
.yb-radio.lg .yb-radio-card-cta { font-size: 11.5px; margin-top: 7px; }

.bp-foot-nav { margin-top: 44px; text-align: center; }

@media (max-width: 640px) {
  .bp-hero { padding: 30px 18px 26px; gap: 16px; text-align: center; flex-direction: column; }
  .bp-hero-ava { width: 78px; min-width: 78px; height: 78px; }
  .sp-br { display: inline; }
  .bp-wrap { padding: 20px 15px 60px; }
  .bp-card { padding: 20px 16px 18px; }
  .bp-ava { width: 46px; min-width: 46px; height: 46px; }
  .bp-row { gap: 10px; }
  .bp-bubble { padding: 15px 16px 14px; }
  .bp-text { font-size: 14.5px; }
  .yb-card.lg { flex-direction: column; }
  .yb-card.lg img { width: 100%; height: 150px; }
  .yb-radio.lg .yb-radio-card { flex-direction: column; }
  .yb-radio.lg .yb-radio-card img { width: 100%; height: 150px; }
}

/* ゆきこボットはスマホでも主要導線なので、他のナビ項目と違って隠さない。
   ただし横幅が足りなくなるので、狭い画面では詰めて表示する。 */
@media (max-width: 900px) {
  .gnav a.bot { display: inline-block; }
}
@media (max-width: 560px) {
  /* スマホ幅では「ブランド名 + ボット + CTA」が横に並びきらない。
     SBCマーク自体がトップへのリンクなので、文字のほうを畳んで
     ボットとCTAという2つの導線を優先する。 */
  .brand-text { display: none; }
  .site-header .inner { gap: 8px; padding: 0 14px; }
  .gnav { gap: 3px; }
  .gnav a.bot { font-size: 12.5px; padding: 7px 10px; }
  .gnav a.cta { font-size: 12.5px; padding: 7px 12px; }
}

/* ============================================================
   トップページのゆきこボット入口（hero 内）
   右下のFABは気づかれにくいため、探す行為そのものを正面に置く。
   ============================================================ */
.hero-bot {
  max-width: 660px; margin: 28px auto 0;
  display: flex; align-items: flex-start; gap: 15px; text-align: left;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 17px 19px; box-shadow: 0 4px 18px rgba(58, 34, 102, .08);
  backdrop-filter: blur(4px);
}
.hero-bot-ava {
  width: 56px; min-width: 56px; height: 56px; aspect-ratio: 1 / 1;
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 3px solid #fff; background: #fff;
  box-shadow: 0 3px 12px rgba(123, 104, 174, .28);
}
.hero-bot-main { flex: 1; min-width: 0; }
.hero-bot-label {
  display: block; font-size: 13.5px; font-weight: 800;
  color: var(--purple-deep); margin-bottom: 9px;
}
.hero-bot-row { display: flex; gap: 8px; }
.hero-bot-row input {
  flex: 1; min-width: 0;
  border: 1px solid var(--border); border-radius: 9px; padding: 11px 13px;
  font-family: inherit; font-size: 14px; color: var(--text); background: #fff;
}
.hero-bot-row input:focus { outline: none; border-color: var(--purple-light); }
.hero-bot-row input::placeholder { color: var(--text-mute); }
.hero-bot-row button {
  flex-shrink: 0; border: none; border-radius: 9px; padding: 11px 18px;
  background: linear-gradient(135deg, var(--purple), #6B4FB8); color: #fff;
  font-family: inherit; font-size: 13.5px; font-weight: 800;
  cursor: pointer; transition: .15s; white-space: nowrap;
}
.hero-bot-row button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(123, 104, 174, .35); }
.hero-bot-note { font-size: 11.5px; color: var(--text-mute); margin-top: 8px; line-height: 1.7; }

@media (max-width: 560px) {
  .hero-bot { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .hero-bot-ava { width: 48px; min-width: 48px; height: 48px; align-self: center; }
  .hero-bot-row { flex-direction: column; }
  .hero-bot-row button { width: 100%; padding: 13px; }
  .hero-bot-note { text-align: center; }
}

/* ============================================================
   受講生の声カード（ゆきこさん作成のBEFORE/AFTER画像）
   縦長のポスター型なので、本文幅いっぱいに広げず中央に置く。
   ============================================================ */
.article-body figure.voice-card { margin: 34px auto; max-width: 520px; text-align: center; }
.article-body figure.voice-card img {
  width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-hover);
}
.article-body figure.voice-card figcaption {
  font-size: 12.5px; color: var(--text-mute); margin-top: 10px; line-height: 1.7;
}

/* ------------------------------------------------------------
   関連記事カード（.related-post）
   記事の本文中から、note の公式記事など外部の関連記事へ送るためのカード。
   出典ブロック（.source-box）とは役割が違う。
   出典＝この記事の元ネタ／関連記事＝あわせて読んでほしいもの。
   ------------------------------------------------------------ */
.related-post {
  display: block;
  margin: 34px 0;
  padding: 18px 20px;
  background: var(--purple-ghost);
  border: 1px solid var(--purple-pale);
  border-left: 4px solid var(--purple);
  border-radius: var(--radius);
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}
.related-post:hover { box-shadow: 0 6px 20px rgba(58, 34, 102, .12); transform: translateY(-1px); }
.related-post .rp-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .18em;
  color: var(--purple); margin-bottom: 8px;
}
.related-post .rp-title {
  font-size: 16px; font-weight: 700; line-height: 1.6;
  color: var(--purple-deep); margin-bottom: 6px;
}
.related-post .rp-meta { font-size: 12.5px; color: var(--text-sub); }
.related-post .rp-meta::after { content: " ↗"; }

/* 関連記事カード（複数枚まとめる時のラッパー）＋ サムネ付きバリエーション。
   OGP画像が取れた note 記事は、サムネ付きで視認性を上げる。 */
.related-post-group { display: grid; gap: 14px; margin: 34px 0; }
.related-post-group .related-post { margin: 0; }
.related-post.has-thumb {
  display: flex; align-items: center; gap: 16px;
}
.related-post.has-thumb .rp-thumb {
  width: 128px; height: 72px; object-fit: cover; flex-shrink: 0;
  border-radius: var(--radius-sm); border: 1px solid var(--purple-pale);
}
.related-post.has-thumb .rp-body { min-width: 0; }
.related-post.has-thumb .rp-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 560px) {
  .related-post.has-thumb { flex-direction: column; align-items: stretch; }
  .related-post.has-thumb .rp-thumb { width: 100%; height: auto; aspect-ratio: 1280 / 670; }
}

/* ============================================================
   成果報告（Canvaの発表資料を画像で掲載）
   Canvaの共有リンクは編集URLのため、リンクは載せずに
   スライドを画像として取り込んで表示する。
   ============================================================ */
.report-note {
  font-size: 13.5px; color: var(--text-sub); margin: 0 0 14px;
}
.report-cover img,
.report-pages img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff;
}
.report-cover { margin-bottom: 14px; }
.report-pages { display: grid; gap: 14px; margin-top: 14px; }

/* 「すべて見る」は details で開閉する。JSを足さずに動くのでCSPに触れない。 */
.report-more > summary {
  cursor: pointer; list-style: none;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--purple-deep);
  background: var(--purple-pale); border: 1px solid var(--border);
  border-radius: 999px; padding: 9px 18px; transition: .16s;
}
.report-more > summary::-webkit-details-marker { display: none; }
.report-more > summary::after { content: "▾"; font-size: 11px; }
.report-more[open] > summary::after { content: "▴"; }
.report-more > summary:hover { background: #fff; border-color: var(--purple-light); }

/* 複数回発表している方の、どの回の成果報告かを示すラベル */
.report-label {
  font-size: 12.5px; font-weight: 600; color: var(--purple-mid);
  background: var(--purple-pale); display: inline-block;
  padding: 4px 12px; border-radius: 999px; margin: 18px 0 10px;
}
