/* =========================================================
   ここのば — トップページ 10情報ブロックのスタイル
   BLOCK01 hero / 02 background / 03 path / 04 themes / 05 about
   06 approach / 07 profile / 08 menu / 09 org / 10 library
   ========================================================= */

/* 柔らかい立体アイコンの共通土台（セージ＋淡いゴールド）
   完成イメージの「丸みがあり少し立体感のある」アイコンに寄せるため、
   土台の円は上から光が当たったグラデーション＋内側の落ち影で膨らませ、
   アイコン本体（塗りのSVG）には軽いドロップシャドウを掛ける。 */
.ic {
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, #ffffff 0%, #F4F8F0 34%, #E3EBDC 72%, #D2DECB 100%);
  box-shadow:
    inset 0 1.5px 2px rgba(255, 255, 255, 1),
    inset 0 -5px 12px rgba(88, 118, 94, .18),
    0 8px 20px rgba(24, 48, 36, .11),
    0 1px 2px rgba(24, 48, 36, .06);
}
.ic svg {
  width: 58%;
  height: 58%;
  filter: drop-shadow(0 1.5px 1.5px rgba(42, 72, 50, .28));
}
.ic--sm { width: 46px; height: 46px; }
.ic--md { width: 64px; height: 64px; }
.ic--lg { width: 86px; height: 86px; }
.ic--xl { width: 108px; height: 108px; }

/* 番号（明朝・ゴールド） */
.num {
  font-family: var(--latin);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold-2);
  line-height: 1;
}
.num--lg { font-size: 30px; }

/* =========================================================
   BLOCK 01 — ファーストビュー
   ========================================================= */
.hero {
  position: relative;
  background: var(--ivory);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  /* ★左＝文章のカラム幅を画面幅に連動させ、見出しも一緒に大きくする。
     カラムだけ広げて文字が追いつかないと、文章の右に何もない帯ができて
     「バランスが悪い」状態になる（2026-08-22 指摘）。両方を同じ比率で動かすこと。 */
  grid-template-columns: clamp(480px, 42vw, 660px) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  min-height: 660px;
  padding-block: 64px 72px;
}
.hero__copy { max-width: 100%; }
.hero__pre {
  font-family: var(--serif);
  font-size: clamp(15px, 1.9vw, 18px);
  color: var(--green-700);
  letter-spacing: .06em;
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(32px, 4.4vw, 70px);
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--green-900);
  margin-bottom: 28px;
}
.hero__title .em { color: var(--green-700); }
.hero__lead {
  font-size: 15.5px;
  line-height: 2.15;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero__tags {
  font-size: 13.5px;
  letter-spacing: .1em;
  color: var(--ink-soft);
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-bottom: 34px;
}
.hero__sub a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--green-800);
  letter-spacing: .04em;
  transition: color .25s ease, gap .25s ease;
}
.hero__sub a:hover { color: var(--gold); gap: 12px; }
.hero__sub .sep { width: 1px; height: 14px; background: var(--line); }

/* 信頼情報は完成イメージと同じく3つ横並び＋細い区切り線 */
.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.trust-item { display: flex; align-items: center; gap: 11px; padding-inline: 14px; }
.trust-item:first-child { padding-left: 0; }
.trust-item + .trust-item { border-left: 1px solid var(--line-soft); }
.hero__trust .ic { width: 58px; height: 58px; }
.trust-item__txt { font-size: 11px; line-height: 1.6; color: var(--ink-soft); }
.trust-item__txt b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green-800);
  letter-spacing: 0;
  line-height: 1.6;
  margin-bottom: 2px;
}
@media (min-width: 981px) and (max-width: 1180px) {
  .hero__trust .ic { width: 48px; height: 48px; }
  .trust-item { padding-inline: 9px; gap: 8px; }
  .trust-item__txt { font-size: 10.5px; }
  .trust-item__txt b { font-size: 11.5px; }
}
.trust-item .yr {
  font-family: var(--latin);
  font-size: 22px;
  font-weight: 600;
  color: var(--green-700);
  letter-spacing: 0;
}

/* 右：写真＋左端の柔らかい曲線 */
.hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 460px;
  border-radius: 0;
}
.hero__visual .ph {
  position: absolute;
  inset: 0;
  border-radius: 0 0 0 0;
}
.hero__visual .ph img,
.hero__visual .ph .ph__ph { border-radius: inherit; }

@media (min-width: 981px) {
  .hero__inner { padding-right: 0; }
  .hero__visual {
    /* 完成イメージに合わせ、写真はヘッダー直下からFV下端まで届かせる
       （.hero__inner の padding-block 64px/72px を打ち消す） */
    margin-block: -64px -72px;
    margin-right: calc((100vw - min(100vw, var(--wrap))) / -2 - 24px);
    width: calc(100% + (100vw - min(100vw, var(--wrap))) / 2 + 24px);
    /* 左端を「ゆるやかな縦の弧」で抜く。半径を大きく取ることで、
       円がドンと出る形ではなく、完成イメージのような浅い曲線になる。
       地色をゴールドにして中身を1.5px内側で抜き、縁に細い金の線を出す。 */
    background: var(--gold-soft);
    clip-path: ellipse(100% 150% at 100% 50%);
  }
  .hero__visual .ph {
    clip-path: ellipse(calc(100% - 1.6px) calc(150% - 1.6px) at 100% 50%);
  }
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
    padding-block: 40px 56px;
  }
  .hero__copy { max-width: none; }
  .hero__visual { order: -1; min-height: 0; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; }
  .hero__visual .ph { border-radius: var(--radius-lg); }
}

/* ---- スマートフォンのファーストビュー ----
   ★写真を背景として敷き、その上にコピーを載せる。
     写真はベール（アイボリーの半透明）で薄くして文字を読ませ、
     下端はアイボリーへ溶かして本文へ自然につなぐ。
     ベールの濃さを変えるときは必ず _contrast.py でコントラスト比を測ること。 */
@media (max-width: 760px) {
  .hero { position: relative; overflow: hidden; }
  .hero__inner { gap: 26px; padding-block: 0 52px; }
  .hero__visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 560px;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 0;
    z-index: 0;
    pointer-events: none;
  }
  .hero__visual .ph { border-radius: 0; height: 100%; }
  .hero__visual .ph img { height: 100%; object-position: 58% 48%; }
  /* ★ベールは「薄くし過ぎない」。写真の上側（明るい壁・カーテン）は軽く、
       下側（濃い木のテーブル・PC）だけ強くして、写真を残したまま文字を読ませる。
       濃さを変えたら必ず _contrast.py で測ること。 */
  .hero__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
      rgba(251, 248, 241, .52) 0%,
      rgba(251, 248, 241, .58) 26%,
      rgba(251, 248, 241, .74) 52%,
      rgba(251, 248, 241, .92) 78%,
      rgba(251, 248, 241, 1) 100%);
  }
  .hero__copy { position: relative; z-index: 2; padding-top: 40px; }
  .hero__pre { margin-bottom: 14px; }
  /* 写真の上に乗る小さい文字は色を締める（実測 3.94:1 → 6.4:1）。
     ★ここを薄くするとコントラスト基準を割る。変更時は必ず測り直す */
  .hero__tags { color: #3E4A44; border-bottom-color: rgba(120, 132, 122, .35); }
  .hero__lead { font-size: 14.5px; line-height: 2.05; }
  /* ★狭い画面では手動の改行を無効化する。改行を残すと1行が短くなり、
     右側が大きく余って「左寄り」「バランスが悪い」状態になる（2026-08-22 指摘）。 */
  .hero__lead br { display: none; }

  /* 信頼情報は縦に3つ。PCの3カラムのまま出すと1文字ずつ縦書きになる */
  .hero__trust {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 4px;
    border-top: 1px solid var(--line-soft);
  }
  .hero__trust .ic { width: 52px; height: 52px; }
  .trust-item { padding: 14px 0; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line-soft); }
  .trust-item__txt { font-size: 12px; }
  .trust-item__txt b { font-size: 13.5px; }
  .trust-item__txt br { display: none; }
}

/* =========================================================
   BLOCK 02 — 今の苦しさの背景（5領域）
   ========================================================= */
.bg5 { background: var(--ivory-2); }
.bg5__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 44px;
  align-items: center;
}
.bg5__txt p { font-size: 15px; margin-bottom: 18px; color: var(--ink); }
.bg5__txt p.bg5__strong {
  font-family: var(--serif);
  font-size: clamp(19px, 2.3vw, 24px);
  line-height: 1.75;
  color: var(--green-900);
  margin: 30px 0 30px;
}

/* 花びら図（PC）
   ★文字が隣の円や中心の円に潜り込まないよう、
     ①花びらを大きく ②中心からの距離を確保 ③文字ブロックの幅を花びらの64%に制限
     の3点で組んでいる。ここを崩すと必ず重なる。 */
.petals {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
}
.petal, .petal-core {
  position: absolute;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6px;
}
/* ★文字は必ず全部の円より前面に出す。
   .petal は z-index を持たない＝重ね合わせコンテキストを作らないので、
   中身に z-index を与えると隣の花びらの背景より前に描かれる。
   これをやらないと、後ろのDOM順の円が前の円の文字を半透明で覆う。 */
.petal > div, .petal-core > div { max-width: 64%; position: relative; z-index: 5; }
.petal-core > div { z-index: 6; }
.petal {
  width: 43%;
  height: 43%;
  background: radial-gradient(circle at 38% 28%,
              rgba(255,255,255,.98) 0%,
              rgba(240,245,236,.9) 58%,
              rgba(214,227,207,.82) 100%);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.95), 0 8px 24px rgba(24,48,36,.055);
  border: 1px solid rgba(255, 255, 255, .75);
}
.petal-core {
  width: 32%;
  height: 32%;
  top: 35.4%; left: 34%;
  background: radial-gradient(circle at 42% 32%, #ffffff 0%, #FCF6E8 62%, #EFE0BE 100%);
  box-shadow: inset 0 1px 3px rgba(255,255,255,1), 0 12px 30px rgba(150, 120, 60, .16);
  border: 1px solid rgba(255, 255, 255, .8);
  z-index: 3;
}
.petal-core > div { max-width: 84%; }
/* 中心から半径30%の位置に5枚（上・右上・右下・左下・左上）を等間隔で配置。
   left = cx - 21.5 ／ top = cy - 21.5 + 1.4（下に1.4%寄せて上下を収める） */
.petal.p1 { top: 20.6%; left:  0;     }   /* 01 心の状態（左上） */
.petal.p2 { top:  0;    left: 28.5%;  }   /* 02 経験・発達特性（上） */
.petal.p3 { top: 20.6%; left: 57.03%; }   /* 03 家族・人間関係（右上） */
.petal.p4 { top: 54.2%; left: 10.87%; }   /* 04 暮らし・環境（左下） */
.petal.p5 { top: 54.2%; left: 46.13%; }   /* 05 医療・福祉制度（右下） */
.petal .num { font-size: 13px; display: block; margin-bottom: 1px; }
.petal .ic { width: 42px; height: 42px; margin: 0 auto 5px; }
.petal b {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--green-900);
  letter-spacing: .01em;
  display: block;
  margin-bottom: 2px;
  white-space: nowrap;
}
.petal span { font-size: 10.5px; line-height: 1.55; color: var(--ink-soft); letter-spacing: -.01em; display: block; }
.petal-core b {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--green-900);
  display: block;
  margin-bottom: 3px;
  white-space: nowrap;
}
.petal-core span { font-size: 11px; line-height: 1.6; color: var(--ink-soft); display: block; }
.petal-core .ic { margin: 0 auto 6px; }

@media (max-width: 1080px) {
  .bg5__inner { grid-template-columns: 1fr; gap: 44px; }
}

/* SP：カード縦並びに再構成（指示書12「図解は理解できる形に再構成」） */
.bg5__cards { display: none; }
@media (max-width: 760px) {
  .petals { display: none; }
  .bg5__cards { display: grid; gap: 12px; }
  .bg5__core {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 18px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #FFFDF6, #FBF4E4);
    border: 1px solid var(--gold-soft);
  }
  .bg5__core b { font-family: var(--serif); font-size: 16px; color: var(--green-900); display: block; }
  .bg5__core span { font-size: 12.5px; color: var(--ink-soft); }
  .bg5-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
  }
  .bg5-card .num { font-size: 14px; padding-top: 4px; }
  .bg5-card b { font-family: var(--serif); font-size: 15.5px; font-weight: 500; color: var(--green-900); display: block; margin-bottom: 3px; }
  .bg5-card span { font-size: 12.5px; line-height: 1.75; color: var(--ink-soft); }
}

/* =========================================================
   BLOCK 03 — 目的に合わせて選ぶ
   ========================================================= */
.path-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-bottom: 26px;
}
.path-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 44px 38px 38px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.path-card .ic { margin: 0 auto 20px; }
.path-card .eyebrow { font-size: 11.5px; margin-bottom: 8px; }
.path-card h3 { font-size: clamp(21px, 2.6vw, 27px); margin-bottom: 16px; }
.path-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.95; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.chips span {
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--sage-mist);
  color: var(--green-800);
  letter-spacing: .02em;
}
.path-card .btn { margin-top: auto; align-self: center; min-width: 260px; }

.path-note {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 24px 32px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.path-note__ttl {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 23px);
  color: var(--green-900);
  letter-spacing: .03em;
  flex: none;
}
.path-note__txt {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.85;
  padding-left: 26px;
  border-left: 1px solid var(--line);
  flex: 1 1 280px;
}
.path-note .btn { flex: none; }

@media (max-width: 900px) {
  .path-cards { grid-template-columns: 1fr; }
  .path-card { padding: 34px 24px 30px; }
  .path-card .btn { min-width: 0; width: 100%; }
  .path-note { flex-direction: column; align-items: stretch; text-align: center; gap: 16px; padding: 24px 22px; }
  .path-note__txt { padding-left: 0; border-left: 0; padding-top: 14px; border-top: 1px solid var(--line-soft); }
  .path-note .btn { width: 100%; }
}

/* =========================================================
   BLOCK 04 — 相談・支援できる5つのテーマ
   ========================================================= */
/* 6分割グリッドで 3列＋（中央寄せの）2列 を作る */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}
.theme-grid .theme-card { grid-column: span 2; }
.theme-grid .theme-card:nth-child(4) { grid-column: 2 / span 2; }
.theme-grid .theme-card:nth-child(5) { grid-column: 4 / span 2; }
.theme-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: block;
}
.theme-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.theme-card__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.theme-card__head h3 { font-size: 18.5px; line-height: 1.5; }
.theme-card__body { display: flex; align-items: flex-start; gap: 16px; }
.theme-card p { font-size: 13.5px; line-height: 1.85; color: var(--ink-soft); }
.theme-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--green-800);
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 4px;
}
.theme-close {
  text-align: center;
}
.theme-close .big {
  font-family: var(--serif);
  font-size: clamp(19px, 2.5vw, 26px);
  color: var(--green-900);
  line-height: 1.7;
  margin-bottom: 14px;
}
.theme-close p { font-size: 14px; color: var(--ink-soft); margin-bottom: 30px; }

@media (max-width: 980px) {
  .theme-grid { grid-template-columns: 1fr 1fr; }
  .theme-grid .theme-card,
  .theme-grid .theme-card:nth-child(4),
  .theme-grid .theme-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 620px) {
  .theme-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* =========================================================
   BLOCK 05 — ここのばとは
   ========================================================= */
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.about__lead,
.about__txt p.about__lead,
.org__txt p.about__lead {
  font-family: var(--serif);
  font-size: clamp(15px, 1.9vw, 18px);
  color: var(--green-700);
  margin-bottom: 12px;
}
.about__title {
  font-size: clamp(25px, 3.2vw, 34px);
  line-height: 1.5;
  margin-bottom: 26px;
}
.about__txt p { font-size: 15px; margin-bottom: 16px; color: var(--ink); }
.about__list { display: grid; gap: 34px; }
.about-item { display: flex; align-items: flex-start; gap: 20px; }
.about-item__no {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.about-item__no .line { width: 64px; height: 1px; background: var(--gold-soft); }
.about-item h3 { font-size: clamp(19px, 2.4vw, 24px); margin-bottom: 8px; }
.about-item p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; }
.about-item__body { flex: 1; }
.about-item__body .row { display: flex; align-items: flex-start; gap: 18px; }

@media (max-width: 980px) {
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__list { gap: 24px; }
}

/* =========================================================
   BLOCK 06 — 相談の考え方（4STEP）
   ========================================================= */
.approach { background: var(--ivory-2); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 44px;
}
.step { text-align: center; position: relative; padding: 0 6px; }
.step__top { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; }
.step__top .num { font-size: 27px; color: var(--sage-2); }
.step h3 { font-size: 20px; letter-spacing: .1em; margin-bottom: 8px; }
.step p { font-size: 13px; line-height: 1.8; color: var(--ink-soft); }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px; right: -10px;
  width: 20px; height: 20px;
  background: var(--gold-2);
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.approach-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 30px 36px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  margin-bottom: 34px;
}
.approach-note { display: flex; align-items: flex-start; gap: 16px; padding-inline: 14px; }
.approach-note + .approach-note { border-left: 1px solid var(--line-soft); }
.approach-note b {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--green-900);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.approach-note span { font-size: 13px; color: var(--ink-soft); line-height: 1.85; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .step:nth-child(2)::after { display: none; }
  .approach-notes { grid-template-columns: 1fr; padding: 24px 22px; gap: 20px; }
  .approach-note + .approach-note { border-left: 0; border-top: 1px solid var(--line-soft); padding-top: 20px; }
}
@media (max-width: 700px) {
  /* 4STEPは「アイコン｜番号／見出し／説明」の2カラムに。
     縦2段（番号の下にアイコン）だと右側が空いて形が崩れる。 */
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .step::after { display: none !important; }
  .step {
    display: grid;
    grid-template-columns: 66px 1fr;
    column-gap: 16px;
    align-items: center;
    text-align: left;
    padding: 0;
  }
  .step__top { display: contents; }
  .step__top .num { grid-column: 2; grid-row: 1; font-size: 14px; align-self: end; }
  .step__top .ic { grid-column: 1; grid-row: 1 / span 2; width: 66px; height: 66px; align-self: center; }
  .step > div { grid-column: 2; grid-row: 2; }
  .step h3 { font-size: 18px; margin-bottom: 4px; }
  .step p { font-size: 12.5px; }
  .step p br { display: none; }
}

/* =========================================================
   BLOCK 07 — カウンセラー・講師紹介
   ========================================================= */
.profile__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: 56px;
  align-items: center;
}
.profile__txt p.profile__sub {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 16px;
}
.profile__txt p.profile__catch {
  font-family: var(--serif);
  font-size: clamp(21px, 2.6vw, 29px);
  line-height: 1.6;
  color: var(--green-900);
  margin-bottom: 26px;
}
.profile__name { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.profile__name b {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--green-900);
}
.profile__name .ruby { font-size: 12.5px; letter-spacing: .1em; color: var(--ink-mute); }
.profile__name .en { font-family: var(--latin); font-size: 15px; letter-spacing: .12em; color: var(--sage); }
.quals { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.quals span {
  font-size: 12.5px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--green-800);
  letter-spacing: .02em;
}
.profile__txt p { font-size: 14.5px; margin-bottom: 14px; color: var(--ink); }
.profile__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.profile__cta .btn { font-size: 14.5px; padding-inline: 22px; letter-spacing: .03em; }
.profile__photo { align-self: stretch; }
.profile__photo .ph { height: 100%; min-height: 480px; border-radius: var(--radius-lg); }
/* ★カウンセラー写真は 16:9（1672x941）。PCは縦長カラム（実測 494x737）＝横は 630px 分しか
     見えないので、顔がほぼ中央・手元まで入る 70% で切る。
     数字を変えたら必ず撮って確認すること（_shot_pc.py / _shot.py）。 */
.profile__photo .ph img { object-position: 70% 50%; }
.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.pfact { display: flex; align-items: center; gap: 16px; padding-inline: 20px; }
.pfact + .pfact { border-left: 1px solid var(--line-soft); }
.pfact__txt .num { font-size: 18px; display: block; margin-bottom: 4px; }
.pfact__txt b { display: block; font-family: var(--serif); font-size: 16px; font-weight: 500; color: var(--green-900); }
.pfact__txt span { font-size: 12.5px; color: var(--ink-soft); }

@media (max-width: 980px) {
  .profile__inner { grid-template-columns: 1fr; gap: 34px; }
  .profile__photo { order: -1; }
  .profile__photo .ph { min-height: 0; aspect-ratio: 4 / 3; }
  /* SPは 4:3＝横 1254px 分見える。窓・観葉植物・ノートまで入る 60% が元の構図に近い */
  .profile__photo .ph img { object-position: 60% 50%; }
  .profile-facts { grid-template-columns: 1fr; gap: 18px; margin-top: 34px; }
  .pfact { padding-inline: 0; }
  .pfact + .pfact { border-left: 0; border-top: 1px solid var(--line-soft); padding-top: 18px; }
}

/* =========================================================
   BLOCK 08 — 個人・家族相談
   ========================================================= */
.menu { background: var(--ivory-2); }
.menu-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.menu-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 22px 26px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.menu-card__tag {
  display: inline-block;
  align-self: center;
  font-size: 12.5px;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  background: var(--sage-mist);
  color: var(--green-800);
  margin-bottom: 18px;
}
.menu-card .ic { margin: 0 auto 14px; }
.menu-card h3 { font-size: 23px; letter-spacing: .08em; margin-bottom: 12px; }
.menu-card p.menu-card__price {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--green-900);
  letter-spacing: .04em;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 14px;
}
.menu-card__price small { display: block; font-size: 11.5px; color: var(--ink-mute); letter-spacing: .04em; margin-top: 4px; font-family: var(--sans); }
.menu-card p { font-size: 13px; line-height: 1.85; color: var(--ink-soft); margin-bottom: 18px; }
.menu-card .more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--green-800);
}
.menu-family {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
}
.menu-family__txt { flex: 1; }
.menu-family__txt b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 500;
  color: var(--green-900);
  margin-bottom: 8px;
  letter-spacing: .03em;
}
.menu-family__txt span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; }
.menu-tax { text-align: center; font-size: 12.5px; color: var(--ink-mute); margin-bottom: 26px; }
.menu-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

@media (max-width: 900px) {
  .menu-cards { grid-template-columns: 1fr; }
  .menu-family { flex-direction: column; text-align: center; gap: 16px; padding: 24px 22px; }
  .menu-cta .btn { width: 100%; }
}

/* =========================================================
   BLOCK 09 — 法人・自治体・教育機関向け支援
   ========================================================= */
.org__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: 52px;
  align-items: center;
  margin-bottom: 48px;
}
.org__catch { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.55; margin-bottom: 22px; }
.org__txt p { font-size: 14.5px; margin-bottom: 16px; color: var(--ink); }
.org__photo .ph { aspect-ratio: 16 / 11; border-radius: var(--radius-lg); }

.org-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 26px 22px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  margin-bottom: 52px;
}
.org-point { display: flex; align-items: flex-start; gap: 16px; padding-inline: 18px; }
.org-point + .org-point { border-left: 1px solid var(--line-soft); }
.org-point__txt b {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 500;
  color: var(--green-900);
  margin-bottom: 6px;
}
.org-point__txt span { font-size: 12.5px; color: var(--ink-soft); line-height: 1.8; }

.org-themes-ttl {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(19px, 2.4vw, 24px);
  color: var(--green-900);
  letter-spacing: .1em;
  margin-bottom: 26px;
}
.org-themes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 940px;
  margin: 0 auto 22px;
}
.org-theme {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.org-theme__txt b {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 500;
  color: var(--green-900);
  margin-bottom: 4px;
}
.org-theme__txt span { font-size: 12.5px; color: var(--ink-soft); }
.org-more { text-align: center; font-size: 14px; color: var(--ink-soft); margin-bottom: 40px; }

.org-band {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 32px;
  background: var(--sage-mist);
  border: 1px solid var(--sage-soft);
  border-radius: var(--radius-lg);
}
.org-band__txt {
  flex: 1 1 320px;
  font-family: var(--serif);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.75;
  color: var(--green-900);
  letter-spacing: .02em;
}
.org-band .btn { flex: none; font-size: 14.5px; padding-inline: 22px; letter-spacing: .03em; }

@media (max-width: 980px) {
  .org__top { grid-template-columns: 1fr; gap: 30px; }
  .org__photo { order: -1; }
  .org-points { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
  .org-point { padding-inline: 0; }
  .org-point + .org-point { border-left: 0; border-top: 1px solid var(--line-soft); padding-top: 20px; }
  .org-themes { grid-template-columns: 1fr; }
  .org-band { flex-direction: column; text-align: center; gap: 18px; padding: 26px 22px; }
  .org-band .btn { width: 100%; }
}

/* =========================================================
   BLOCK 10 — 安心ライブラリー・次の一歩
   ========================================================= */
.library__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 52px;
  align-items: center;
  margin-bottom: 44px;
}
.library__title { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.45; margin-bottom: 10px; }
.library__sub {
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--green-700);
  margin-bottom: 22px;
}
.library__txt { font-size: 14.5px; color: var(--ink); }
.library__photo .ph { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); }

.lib-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 28px 20px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}
.lib-card { display: flex; align-items: flex-start; gap: 16px; padding-inline: 20px; }
.lib-card + .lib-card { border-left: 1px solid var(--line-soft); }
.lib-card__txt b {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--green-900);
  margin-bottom: 6px;
}
.lib-card__txt p { font-size: 12.5px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 12px; }
/* ★981〜1160px は3列のままテキスト列が約133pxしかなく、`.tlink` のラベルが
   「無料ワークを見／る」と1文字落ちる（2026-08-28 の1024px監査で検出。
   _orphan.py は 1440/375 の2幅しか見ていないので、この帯は素通りしていた）。
   アイコンとの間隔と左右の余白を詰めて、必要な約140pxを確保する。 */
@media (min-width: 981px) and (max-width: 1160px) {
  .lib-cards { padding-inline: 12px; }
  .lib-card { gap: 12px; padding-inline: 12px; }
  .lib-card__txt p { font-size: 12px; }
}

/* 新着コラム（トップ BLOCK10 内。カード自体は main.css の .col-grid / .ccard） */
.col-latest { margin-bottom: 40px; }
.col-latest__head { text-align: center; margin-bottom: 28px; }
.col-latest__ttl {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--green-900);
  margin-top: 10px;
}
/* ★親の p 指定に負けないよう、クラスに要素を足さず個別指定で確実に効かせる */
.col-latest .col-latest__lead {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-top: 12px;
}
.col-latest__more { text-align: center; margin-top: 30px; }

.next {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.next__left { padding: 44px 40px; }
.next__left h3 { font-size: clamp(21px, 2.8vw, 27px); margin-bottom: 16px; }
.next__left p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 24px; line-height: 1.9; }
.next__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.next__right {
  padding: 44px 40px;
  background: linear-gradient(180deg, var(--ivory-2), var(--ivory-3));
  border-left: 1px solid var(--line-soft);
  text-align: center;
}
.next__right p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.95; margin-bottom: 16px; }
.next__right p.next__msg {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 31px);
  line-height: 1.6;
  color: var(--green-900);
  margin-bottom: 22px;
}
.next__right p.next__value {
  font-family: var(--serif);
  font-size: clamp(16px, 2.1vw, 20px);
  color: var(--gold);
  letter-spacing: .04em;
  padding: 14px 0;
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
  margin-bottom: 16px;
}

@media (max-width: 980px) {
  .library__top { grid-template-columns: 1fr; gap: 30px; }
  .library__photo { order: -1; }
  .lib-cards { grid-template-columns: 1fr; gap: 22px; padding: 24px 20px; }
  .lib-card { padding-inline: 0; }
  .lib-card + .lib-card { border-left: 0; border-top: 1px solid var(--line-soft); padding-top: 22px; }
  .col-latest .col-latest__lead br { display: none; }
  .col-latest__more .btn { width: 100%; }
  .next { grid-template-columns: 1fr; }
  .next__left, .next__right { padding: 32px 24px; }
  .next__right { border-left: 0; border-top: 1px solid var(--line-soft); }
  .next__btns .btn { width: 100%; }
}

/* =========================================================
   写真プレースホルダー（差し替え前でも体裁が崩れないように）
   実ファイルが assets/images に置かれたら自動で写真表示に切り替わる。
   ========================================================= */
.ph {
  position: relative;
  overflow: hidden;
  background: var(--ivory-3);
}
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  background:
    radial-gradient(70% 55% at 78% 14%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(90% 70% at 12% 96%, rgba(221, 230, 216, .85) 0%, rgba(221, 230, 216, 0) 60%),
    linear-gradient(158deg, #FFFDF7 0%, #F6F2E5 46%, #EAF0E4 100%);
}
/* 斜めに差し込む光の筋（写真が入る前でも「明るい室内」の空気感を出す） */
.ph__ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    118deg,
    rgba(255, 255, 255, .5) 0 2px,
    rgba(255, 255, 255, 0) 2px 26px
  );
  opacity: .5;
  pointer-events: none;
}
.ph__ph::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(176, 139, 79, .2);
  border-radius: 10px;
  pointer-events: none;
}
.ph__ph .ic { position: relative; z-index: 1; opacity: .85; }
.ph__ph span {
  position: relative;
  z-index: 1;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--ink-mute);
  text-align: center;
  padding-inline: 24px;
  line-height: 1.85;
}

/* =========================================================
   スマートフォンの総仕上げ
   ★ここは「PCで組んだ指定がSPで悪さをする」箇所をまとめて打ち消す層。
     新しく flex / grid を足したら、必ずここも見直すこと。
   ========================================================= */

/* ① 横並び用の flex-basis が、縦積みになった途端「高さ」として効いて
      巨大な余白になる。列方向になったら flex を解除する。 */
@media (max-width: 900px) {
  .path-note__txt,
  .org-band__txt,
  .menu-family__txt { flex: 0 0 auto; }
}

@media (max-width: 760px) {
  /* ② 縦に積んだボタンは幅を揃える。バラバラだと安っぽく見える */
  .hero__cta .btn,
  .path-card .btn,
  .path-note .btn,
  .theme-close .btn,
  .profile__cta .btn,
  .menu-cta .btn,
  .org-band .btn,
  .next__btns .btn { width: 100%; }
  .profile__cta { flex-direction: column; gap: 12px; }
  .menu-cta { flex-direction: column; gap: 12px; }
  .org-band { gap: 14px; }
  .org-band .btn + .btn { margin-top: 2px; }

  /* ③ 左寄せの本文は手動改行を無効化して、行を最後まで使う。
        中央寄せのリード文・締めの文は改行を残す（そこは形が意味を持つため） */
  .bg5__txt p:not(.bg5__strong) br,
  .about__txt p:not(.about__lead) br,
  .profile__txt p:not(.profile__catch) br,
  .org__txt p:not(.about__lead) br,
  .library__txt br,
  .next__left p br,
  .menu-family__txt span br,
  .approach-note span br,
  .org-point__txt span br,
  .org-theme__txt span br,
  .lib-card__txt p br,
  .about-item p br,
  .theme-card p br,
  .menu-card p br,
  .path-card p br,
  .sec-head .note br { display: none; }

  /* ④ 帯・囲みの内側の余白を詰める */
  .path-note { padding: 22px 18px; }
  .org-band { padding: 22px 18px; }
  .menu-family { padding: 22px 18px; }
  .approach-notes { padding: 20px 18px; }
  .lib-cards { padding: 20px 18px; }
  .next__left, .next__right { padding: 28px 20px; }

  /* ⑤ 見出しまわりの間隔 */
  .sec-head { margin-bottom: 30px; }
  .org-themes-ttl { margin-bottom: 18px; }
  .profile-facts { margin-top: 28px; padding-top: 26px; }

  /* ⑥ 見出しの文字サイズ。PCの下限のままだと1文字だけ次の行に落ちる
        （例：「相談・支援できる5つのテー／マ」） */
  .sec-head h2                    { font-size: clamp(21px, 6.1vw, 30px); }
  .sec-head .lead                 { font-size: clamp(15px, 4.4vw, 19px); }
  .about__title                   { font-size: clamp(20px, 5.9vw, 28px); }
  .library__title                 { font-size: clamp(21px, 6.1vw, 30px); }
  .library__sub                   { font-size: clamp(15px, 4.4vw, 19px); }
  .org__catch                     { font-size: clamp(19px, 5.6vw, 27px); }
  .profile__txt p.profile__catch  { font-size: clamp(18px, 5.2vw, 25px); }
  .next__right p.next__msg        { font-size: clamp(19px, 5.4vw, 26px); }
  .theme-close .big               { font-size: clamp(17px, 4.9vw, 23px); }
  .bg5__txt p.bg5__strong         { font-size: clamp(17px, 4.9vw, 23px); }
  .path-note__ttl                 { font-size: clamp(16px, 4.6vw, 21px); }
  .menu-family__txt b             { font-size: clamp(16px, 4.6vw, 21px); }
  .org-band__txt                  { font-size: clamp(14.5px, 4.1vw, 18px); }
  .org-more                       { font-size: 13px; }

  /* ⑦ テーマカードは「アイコン｜番号＋見出し／説明文」の2カラムに組み直す。
        回り込み（float）だとアイコンの下に空白が残って形が崩れる。 */
  .theme-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 14px;
    align-items: start;
  }
  .theme-card__head { grid-column: 2; margin-bottom: 8px; }
  /* ★375pxで「発達特性・グレーゾーン」の末尾2文字だけが次行に落ちるので、
        見出しだけ字間を詰めて1行に収める（検出は _orphan.py） */
  .theme-card__head h3 { font-size: 17.5px; letter-spacing: -.01em; }
  .theme-card__body { display: contents; }
  .theme-card__body .ic { grid-column: 1; grid-row: 1; width: 56px; height: 56px; margin-top: 2px; }
  .theme-card__body > div { grid-column: 2; }

  /* ⑧ FV下のテキストリンク3本はスマホでは出さない。
        2行に折り返して形が崩れるうえ、同じリンクがハンバーガー内のナビと
        フッターの両方にあるので、導線としても情報としても欠けない。 */
  .hero__sub { display: none; }

  /* ⑨ FVの縦の間隔を詰める */
  .hero__tags { padding-bottom: 18px; margin-bottom: 20px; }
  .hero__cta { gap: 12px; margin-bottom: 26px; }

  /* ⑩ 最後のブロックは左右とも中央寄せに揃える（右側が中央寄せのため） */
  .next__left { text-align: center; }
  .next__left > .tlink { display: flex; width: fit-content; margin-inline: auto; }
}

/* 中央寄せの見出し・短い文は行の長さを自動で揃える（1文字だけ次行に落ちるのを防ぐ）。
   未対応ブラウザでは単に無視されるだけで、表示は崩れない。 */
.sec-head h2, .sec-head .lead, .sec-head .note,
.theme-close .big, .theme-close p, .org-more, .org-themes-ttl,
.next__right p, .path-note__ttl, .menu-family__txt b, .org-band__txt,
.library__title, .library__sub, .menu-card p, .step p {
  text-wrap: balance;
}
