/*
Theme Name: NANUTE Theme
Theme URI: https://nanute.com/
Author: NANUTE / WILD AND NATIVE
Author URI: https://wildandnative.com/
Description: NANUTE Earth Herbalist Academy 公式テーマ。薬草・野草アカデミーのブランドサイト。
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nanute-theme
*/

/* ============================================================
   NANUTE - style.css
   薬草・野草アカデミー トップページ
   ------------------------------------------------------------
   構成：
   0. デザイントークン（カラー / フォント）
   1. ベース / リセット
   2. 共通パーツ（container / button / section-head / reveal）
   3. ヘッダー
   4. ヒーロー
   5. フィロソフィー
   6. About
   7. コース
   8. プロフィール
   9. ギャラリー
   10. FAQ
   11. WILD AND NATIVE
   12. CTAバンド
   13. フッター
   14. レスポンシブ（スマホ）
============================================================= */

/* ====== 0. デザイントークン ====== */
:root {
  /* カラーパレット */
  --forest: #243d2c;   /* 深緑 */
  --forest-deep: #18271d;
  --bark:   #5b4a36;   /* 樹皮の茶 */
  --moss:   #7c8a5a;   /* 苔 */
  --gold:   #bfa14f;   /* 金 */
  --birch:  #f6f3ec;   /* 白樺（明） */
  --cream:  #ece5d6;   /* 生成り */
  --ember:  #c4622e;   /* 残り火の橙 */

  --text:   #2c2a24;   /* 基本テキスト */
  --text-muted: #6a6557;
  --line:   #ddd6c6;

  /* フォント */
  --font-serif-en: 'Cormorant Garamond', serif;
  --font-serif-jp: 'Shippori Mincho', serif;
  --font-sans-jp:  'Zen Kaku Gothic New', sans-serif;
  --font-ui:       'Inter', sans-serif;

  /* レイアウト */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
}

/* ====== 1. ベース / リセット ====== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans-jp);
  color: var(--text);
  background: var(--birch);
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.4; }
p { margin: 0 0 1.2em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ====== 2. 共通パーツ ====== */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 820px; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-eyebrow {
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1em;
}
.section-eyebrow.light { color: var(--gold); }
.section-title {
  font-family: var(--font-serif-jp);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  letter-spacing: .04em;
  color: var(--forest);
  font-weight: 600;
}
.section-title.light { color: var(--birch); }
.section-desc { margin-top: 1.4em; color: var(--text-muted); }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-ui);
  font-size: .82rem; font-weight: 500; letter-spacing: .12em;
  padding: .95em 2.2em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .35s ease;
}
.btn-primary { background: var(--forest); color: var(--birch); }
.btn-primary:hover { background: var(--forest-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--birch); border-color: rgba(246,243,236,.6); }
.btn-ghost:hover { background: rgba(246,243,236,.12); }
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: #a94f22; transform: translateY(-2px); }

/* スクロール表示アニメ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* 画像プレースホルダー */
.img-placeholder {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(124,138,90,.10) 0 12px, rgba(124,138,90,.18) 12px 24px),
    var(--cream);
  border: 1px dashed var(--moss);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.img-placeholder::after {
  content: attr(data-label);
  font-family: var(--font-ui);
  font-size: .74rem; letter-spacing: .1em;
  color: var(--bark);
}
.img-placeholder.portrait { aspect-ratio: 4/5; }
.img-placeholder.square  { aspect-ratio: 1/1; }

/* ====== 3. ヘッダー ====== */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(246,243,236,.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  padding: 12px 0;
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; color: var(--birch); transition: color .4s ease; }
.site-header.scrolled .brand { color: var(--forest); }
.brand-name { font-family: var(--font-serif-en); font-size: 1.5rem; letter-spacing: .22em; font-weight: 600; }
.brand-sub  { font-family: var(--font-ui); font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; opacity: .8; margin-top: 2px; }

.gnav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.gnav a {
  font-family: var(--font-ui); font-size: .82rem; letter-spacing: .08em;
  color: var(--birch); transition: color .3s ease; position: relative;
}
.site-header.scrolled .gnav a { color: var(--text); }
.gnav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--gold); transition: width .3s ease;
}
.gnav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  border: 1px solid currentColor; padding: .5em 1.3em; border-radius: 999px;
  color: var(--birch) !important;
}
.site-header.scrolled .nav-cta { color: var(--forest) !important; }
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--forest-deep) !important; }

/* ハンバーガー */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 32px; height: 26px; position: relative; }
.nav-toggle span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--birch);
  transition: all .3s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--forest); }
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 12px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle.open span:nth-child(1) { top: 12px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 12px; transform: rotate(-45deg); }

/* ====== 4. ヒーロー ====== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--birch); }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,39,29,.55) 0%, rgba(24,39,29,.25) 40%, rgba(24,39,29,.7) 100%);
}
.hero-content { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.hero-eyebrow {
  font-family: var(--font-ui); font-size: .76rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.6em;
}
.hero-title {
  font-family: var(--font-serif-jp);
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1.3; letter-spacing: .02em; font-weight: 600;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero-lead { margin-top: 1.8em; max-width: 33em; font-size: clamp(.92rem, 1.4vw, 1.02rem); line-height: 2; }
.hero-actions { margin-top: 2.6em; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-ui); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: .85;
}
.hero-scroll span { width: 1px; height: 40px; background: var(--birch); animation: scrollLine 2s ease-in-out infinite; transform-origin: top; }
@keyframes scrollLine { 0%,100% { transform: scaleY(.3); opacity:.4 } 50% { transform: scaleY(1); opacity:1 } }

/* ====== 5. フィロソフィー ====== */
.philosophy { padding: clamp(80px, 12vw, 150px) 0; background: var(--birch); }
.philosophy-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote-mark { font-family: var(--font-serif-en); font-size: 5rem; line-height: 0; color: var(--gold); display: block; height: 40px; }
.quote-lead {
  font-family: var(--font-serif-jp); font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.7; color: var(--forest); margin-top: 1em; font-weight: 500;
}
.philosophy-body { font-size: 1.02rem; color: var(--text); max-width: 34em; }
.philosophy-body p:last-child { margin-bottom: 0; }

/* ====== 6. About ====== */
.about { padding: clamp(80px, 12vw, 150px) 0; background: var(--cream); }
/* cream背景上では金のeyebrowが沈むため、樹皮色でコントラストを確保 */
.about .section-eyebrow, .gallery .section-eyebrow { color: var(--bark); }
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.about-card { background: var(--birch); border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 40px -28px rgba(36,61,44,.6); }
.about-card-media { aspect-ratio: 4/3; overflow: hidden; }
.about-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.about-card:hover .about-card-media img { transform: scale(1.06); }
.about-card .card-no { display: block; font-family: var(--font-serif-en); font-size: 1.4rem; color: var(--gold); padding: 22px 26px 0; }
.about-card h3 { font-family: var(--font-serif-jp); font-size: 1.25rem; color: var(--forest); padding: 6px 26px 0; }
.about-card p { padding: 12px 26px 28px; color: var(--text-muted); font-size: .92rem; margin: 0; }
.about-quote {
  margin: clamp(48px, 7vw, 80px) auto 0; max-width: 760px; text-align: center;
  font-family: var(--font-serif-jp); font-weight: 500;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem); line-height: 1.9; color: var(--forest);
  position: relative; padding-top: 1em;
}
.about-quote::before {
  content: '“'; font-family: var(--font-serif-en); font-size: 3.4rem;
  color: var(--gold); line-height: 0; display: block; margin-bottom: .25em;
}

/* ====== 7. コース ====== */
.courses { padding: clamp(80px, 12vw, 150px) 0; background: var(--forest); color: var(--birch); }
.courses .section-title { color: var(--birch); }
.course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.course-card { background: var(--birch); color: var(--text); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.course-media { aspect-ratio: 16/10; overflow: hidden; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.course-card:hover .course-media img { transform: scale(1.05); }
.course-body { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; flex: 1; }
.course-tag { font-family: var(--font-ui); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ember); margin-bottom: 1em; }
.course-name { font-family: var(--font-serif-jp); font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--forest); margin-bottom: .5em; }
.course-cert {
  display: inline-block; font-family: var(--font-ui); font-size: .74rem; font-weight: 500; letter-spacing: .03em;
  color: var(--bark); background: var(--cream); border-radius: 4px; padding: .4em .8em; margin: 0 0 1.2em;
  line-height: 1.5;
}
.course-text { color: var(--text-muted); font-size: .95rem; }
.course-meta { display: flex; gap: 14px; flex-wrap: wrap; margin: 8px 0 28px; border-top: 1px solid var(--line); padding-top: 22px; }
.course-meta li { font-family: var(--font-serif-jp); font-size: 1.05rem; color: var(--forest); }
.course-meta li span { display: block; font-family: var(--font-ui); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--moss); margin-bottom: 4px; }
.course-btn { margin-top: auto; align-self: flex-start; }
.course-note { font-family: var(--font-ui); font-size: .72rem; letter-spacing: .04em; color: var(--moss); margin: .9em 0 0; }

/* 当日の流れ（タイムテーブル） */
.timeline { margin-top: clamp(48px, 7vw, 84px); max-width: 720px; margin-left: auto; margin-right: auto; }
.timeline-title { font-family: var(--font-serif-jp); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--birch); text-align: center; margin-bottom: 1.8em; }
.timeline-list { position: relative; padding-left: 0; }
.timeline-list li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(246,243,236,.16); align-items: baseline; }
.timeline-list li:last-child { border-bottom: 1px solid rgba(246,243,236,.16); }
.t-time { font-family: var(--font-ui); font-size: .8rem; letter-spacing: .08em; color: var(--gold); }
.t-desc { color: rgba(246,243,236,.86); font-size: .94rem; }
.timeline-note { margin-top: 1.4em; font-size: .76rem; color: rgba(246,243,236,.55); text-align: center; }

/* 代表の実績バッジ */
.founder-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px); margin-top: 2.2em; padding-top: 1.8em; border-top: 1px solid var(--line); }
.founder-stats li { display: flex; flex-direction: column; }
.founder-stats strong { font-family: var(--font-serif-en); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; color: var(--forest); line-height: 1; }
.founder-stats strong small { font-family: var(--font-sans-jp); font-size: .4em; font-weight: 500; margin-left: 2px; color: var(--bark); }
.founder-stats span { font-family: var(--font-ui); font-size: .7rem; letter-spacing: .06em; color: var(--text-muted); margin-top: .7em; }

/* ====== 8. プロフィール ====== */
.profile { padding: clamp(80px, 12vw, 150px) 0; background: var(--birch); }
/* 代表写真は控えめなサイズに抑え、スタッフ2名との立場が比較的対等に見えるよう調整 */
.profile-lead { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: clamp(32px, 5vw, 64px); align-items: center; margin-bottom: clamp(48px, 7vw, 80px); }
.profile-lead-media { max-width: 240px; }
.profile-lead-media img, .profile-lead-media .img-placeholder { border-radius: var(--radius); }
/* 代表写真：横長素材を肖像比率に寄せる＋人物トーン統一 */
.profile-lead-media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 28%;
  filter: saturate(.95) contrast(1.02);
}
.profile-name { font-family: var(--font-serif-jp); font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--forest); margin-bottom: .3em; }
.profile-roma { font-family: var(--font-serif-en); font-size: .65em; letter-spacing: .12em; color: var(--text-muted); margin-left: .5em; }
.profile-role { font-family: var(--font-ui); font-size: .8rem; letter-spacing: .1em; color: var(--gold); margin-bottom: 1.6em; }
.profile-lead-body p:not(.profile-role) { color: var(--text); }

.staff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); max-width: 820px; margin: 0 auto; }
.staff-card { text-align: center; }
.staff-card .img-placeholder { margin-bottom: 1.4em; }
/* スタッフ写真：新しい良質なポートレートを活かす縦長カード。
   代表（約240px幅）と近いサイズで、3人の見え方を揃える。 */
.staff-photo {
  width: min(248px, 84%); aspect-ratio: 4/5; border-radius: var(--radius);
  overflow: hidden; margin: 0 auto 1.5em; background: var(--cream);
  box-shadow: 0 16px 40px -28px rgba(36,61,44,.55);
}
.staff-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  filter: saturate(.97) contrast(1.02);
}
.staff-name { font-family: var(--font-serif-jp); font-size: 1.4rem; color: var(--forest); margin-bottom: .2em; }
.staff-name span { font-family: var(--font-serif-en); font-size: .6em; letter-spacing: .12em; color: var(--text-muted); margin-left: .5em; }
.staff-role { font-family: var(--font-ui); font-size: .76rem; letter-spacing: .1em; color: var(--gold); margin-bottom: 1em; }
.staff-affil { font-family: var(--font-ui); font-size: .74rem; letter-spacing: .06em; color: var(--gold); margin-bottom: 1em; line-height: 1.7; }
.staff-card p { color: var(--text-muted); font-size: .9rem; }
.staff-link {
  display: inline-block; margin-top: .8em;
  font-family: var(--font-ui); font-size: .78rem; letter-spacing: .06em;
  color: var(--bark); border-bottom: 1px solid var(--gold); padding-bottom: 2px;
  transition: color .3s ease;
}
.staff-link:hover { color: var(--ember); }

/* ====== 受講者の声 ====== */
.voices { padding: clamp(80px, 12vw, 150px) 0; background: var(--forest); color: var(--birch); }
.voices .section-title { color: var(--birch); }
.voices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.voice-card { margin: 0; background: rgba(246,243,236,.06); border: 1px solid rgba(246,243,236,.12); border-radius: var(--radius); padding: clamp(26px, 3vw, 38px); }
.voice-card blockquote { margin: 0 0 1.4em; font-family: var(--font-serif-jp); font-size: 1.02rem; line-height: 1.9; color: var(--birch); position: relative; }
.voice-card blockquote::before { content: '“'; font-family: var(--font-serif-en); color: var(--gold); font-size: 2.4rem; line-height: 0; display: block; margin-bottom: .35em; }
.voice-card figcaption { font-family: var(--font-ui); font-size: .76rem; letter-spacing: .08em; color: var(--gold); }
/* 受講者の声：写真は任意。設定された場合のみ円形アバターを表示（無くても崩れない） */
.voice-avatar { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; margin: 0 0 1.2em; background: rgba(246,243,236,.12); }
.voice-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ====== 9. ギャラリー ====== */
.gallery { padding: clamp(80px, 12vw, 150px) 0; background: var(--cream); }
/* モバイルファースト：2カラム。デスクトップは下の min-width で明示配置 */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px;
  gap: 14px; padding: 0 var(--gutter); max-width: var(--maxw); margin: 0 auto;
}
.g-item { margin: 0; overflow: hidden; border-radius: var(--radius); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.g-item:hover img { transform: scale(1.07); }
.g-wide { grid-column: span 2; }
/* デスクトップ：穴のできない明示グリッド（6枚） */
@media (min-width: 821px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    grid-auto-rows: auto;
    grid-template-areas: "a b c e" "a d d f";
  }
  .gallery-grid .g-item:nth-child(1) { grid-area: a; }
  .gallery-grid .g-item:nth-child(2) { grid-area: b; }
  .gallery-grid .g-item:nth-child(3) { grid-area: c; }
  .gallery-grid .g-item:nth-child(4) { grid-area: d; }
  .gallery-grid .g-item:nth-child(5) { grid-area: e; }
  .gallery-grid .g-item:nth-child(6) { grid-area: f; }
}

/* ====== 10. FAQ ====== */
.faq { padding: clamp(80px, 12vw, 150px) 0; background: var(--birch); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-serif-jp); font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--forest);
  padding: 26px 48px 26px 0; position: relative; line-height: 1.6;
}
.faq-icon { position: absolute; right: 6px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--gold); transition: transform .3s ease; }
.faq-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-icon::after  { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s ease; }
.faq-a p { padding: 0 48px 26px 0; color: var(--text-muted); font-size: .94rem; margin: 0; }

/* ====== 11. WILD AND NATIVE ====== */
.wan { position: relative; padding: clamp(90px, 14vw, 170px) 0; color: var(--birch); text-align: center; }
.wan-media { position: absolute; inset: 0; z-index: -1; }
.wan-media img { width: 100%; height: 100%; object-fit: cover; }
.wan-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,39,29,.78), rgba(24,39,29,.88)); }
.wan-content { max-width: 720px; }
.wan-text { margin: 1.8em auto 2.4em; font-size: 1rem; line-height: 2; }
.wan-text strong { color: var(--gold); font-weight: 500; }
.wan-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.wan-links a {
  font-family: var(--font-ui); font-size: .82rem; letter-spacing: .06em;
  padding-bottom: 4px; border-bottom: 1px solid rgba(191,161,79,.5); transition: border-color .3s, color .3s;
}
.wan-links a:hover { color: var(--gold); border-color: var(--gold); }
.wan-name { color: var(--gold); font-weight: 500; border-bottom: 1px solid rgba(191,161,79,.5); padding-bottom: 1px; transition: border-color .3s; }
.wan-name:hover { border-color: var(--gold); }
.wan-parent {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 10px; padding: 28px 44px; margin-top: 1em;
  min-height: 124px; width: clamp(230px, 44vw, 310px);
  transition: transform .35s ease, box-shadow .35s ease;
}
.wan-parent:hover { transform: translateY(-5px); box-shadow: 0 24px 54px -24px rgba(0,0,0,.65); }
.wan-parent img { width: 100%; max-height: 80px; object-fit: contain; }
.wan-sisters-label {
  display: flex; align-items: center; justify-content: center; gap: 1em;
  margin: 2.8em 0 1.5em; font-family: var(--font-ui); font-size: .7rem;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(246,243,236,.7);
}
.wan-sisters-label::before, .wan-sisters-label::after {
  content: ''; height: 1px; width: clamp(28px, 8vw, 64px); background: rgba(246,243,236,.28);
}
.wan-schools {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 560px; margin-inline: auto;
}
.wan-school {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 8px; padding: 16px 20px;
  min-height: 82px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.wan-school:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.55); }
.wan-school img { width: 100%; max-height: 46px; object-fit: contain; }

/* ====== 12. CTAバンド ====== */
.cta-band { padding: clamp(64px, 10vw, 110px) 0; background: var(--cream); text-align: center; }
.cta-title { font-family: var(--font-serif-jp); font-size: clamp(1.5rem, 3.4vw, 2.3rem); color: var(--forest); }
.cta-text { margin: 1.2em 0 2em; color: var(--text-muted); }

/* ====== 13. フッター ====== */
.site-footer { background: var(--forest-deep); color: var(--birch); padding: clamp(56px, 8vw, 88px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer-brand .brand-name { font-family: var(--font-serif-en); font-size: 1.7rem; letter-spacing: .2em; display: block; }
.footer-brand .brand-sub { font-family: var(--font-ui); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.footer-note { margin-top: 1.4em; max-width: 320px; font-size: .85rem; color: rgba(246,243,236,.7); line-height: 1.9; }
.footer-col h4 { font-family: var(--font-ui); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4em; }
.footer-col a { display: block; font-size: .88rem; padding: .45em 0; color: rgba(246,243,236,.82); transition: color .3s; }
.footer-col a:hover { color: var(--gold); }
.footer-cta { margin-top: .6em; color: var(--ember) !important; font-weight: 500; }
.footer-bottom { margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid rgba(246,243,236,.12); padding: 24px 0; text-align: center; }
.footer-bottom p { margin: 0; font-family: var(--font-ui); font-size: .72rem; letter-spacing: .06em; color: rgba(246,243,236,.5); }

/* ====== モバイル固定CTAバー（スマホのみ。JSで .is-visible 付与） ====== */
.mobile-cta { display: none; }
@media (max-width: 820px) {
  .mobile-cta {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--ember); color: #fff; text-align: center; gap: 2px;
    padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
    transform: translateY(120%); transition: transform .35s ease;
    box-shadow: 0 -6px 24px rgba(0,0,0,.25);
  }
  .mobile-cta.is-visible { transform: translateY(0); }
  .mobile-cta-sub { font-family: var(--font-ui); font-size: .64rem; letter-spacing: .14em; opacity: .92; }
  .mobile-cta-main { font-family: var(--font-sans-jp); font-weight: 700; font-size: .98rem; letter-spacing: .04em; }
  /* 固定バーと被らないよう、フッター下部に余白 */
  .footer-bottom { padding-bottom: 84px; }
}

/* ====== タップ領域の確保（最低44px目安） ====== */
.footer-col a { min-height: 40px; display: flex; align-items: center; }
.staff-link { padding-top: 8px; padding-bottom: 8px; }
.wan-links a { padding: 8px 2px; }

/* ====== 14. レスポンシブ ====== */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  /* ナビをスライドインメニューへ */
  .nav-toggle { display: block; z-index: 110; }
  .gnav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--forest); flex-direction: column; justify-content: center;
    align-items: flex-start; gap: 4px; padding: 0 40px;
    transform: translateX(100%); transition: transform .4s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.3);
  }
  .gnav.open { transform: translateX(0); }
  .gnav a, .site-header.scrolled .gnav a { color: var(--birch); font-size: 1.05rem; padding: 12px 0; }
  .gnav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 18px; }
  .site-header.scrolled .nav-cta { color: var(--birch) !important; }

  .philosophy-grid { grid-template-columns: 1fr; }
  .quote-mark { height: 30px; }
  .about-cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .course-grid { grid-template-columns: 1fr; }
  .profile-lead { grid-template-columns: 1fr; text-align: center; }
  .profile-lead-media { max-width: 300px; margin: 0 auto; }
  .founder-stats { justify-content: center; text-align: center; }
  .founder-stats li { align-items: center; }
  .voices-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 560px) {
  body { line-height: 1.85; }
  .hero { min-height: 92svh; }
  .hero-title br { display: none; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; padding-left: 1em; padding-right: 1em; }
  .staff-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; gap: 48px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .course-meta li { font-size: 1rem; }
  .timeline-list li { grid-template-columns: 84px 1fr; gap: 12px; }
}

/* ============================================================
   15. コース詳細ページ（earth-herbalist.html）
============================================================= */

/* --- 共通：ダーク地のゴーストボタン --- */
.btn-ghost-dark { background: transparent; color: var(--forest); border-color: var(--line); }
.btn-ghost-dark:hover { background: var(--forest); color: var(--birch); border-color: var(--forest); transform: translateY(-2px); }

/* --- 1. 詳細ヒーロー --- */
.detail-hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: clamp(520px, 82svh, 760px);
  padding: clamp(80px, 14vh, 160px) 0 clamp(48px, 8vw, 90px);
  color: var(--birch); overflow: hidden;
}
.detail-hero-media { position: absolute; inset: 0; z-index: 0; }
.detail-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,39,29,.45) 0%, rgba(24,39,29,.30) 40%, rgba(24,39,29,.82) 100%);
}
.detail-hero-content { position: relative; z-index: 1; max-width: 760px; }
.detail-hero-content > * { opacity: 0; transform: translateY(16px); animation: detailHeroIn .8s ease forwards; }
.detail-hero-content > *:nth-child(2) { animation-delay: .08s; }
.detail-hero-content > *:nth-child(3) { animation-delay: .16s; }
.detail-hero-content > *:nth-child(4) { animation-delay: .24s; }
.detail-hero-content > *:nth-child(5) { animation-delay: .32s; }
@keyframes detailHeroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .detail-hero-content > * { animation: none; opacity: 1; transform: none; }
}
.detail-breadcrumb { font-family: var(--font-ui); font-size: .76rem; letter-spacing: .12em; color: rgba(246,243,236,.72); margin: 0 0 1.6em; }
.detail-breadcrumb a { color: rgba(246,243,236,.9); }
.detail-breadcrumb a:hover { color: var(--birch); }
.detail-hero-title {
  font-family: var(--font-serif-jp); font-weight: 600;
  font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.32; letter-spacing: .03em;
  margin: .2em 0 .7em;
}
.detail-hero-lead { font-size: clamp(1rem, 2.4vw, 1.12rem); color: rgba(246,243,236,.92); max-width: 32em; margin: 0 0 2.2em; }

/* --- 2. イントロ --- */
.detail-intro { padding: clamp(64px, 10vw, 120px) 0; background: var(--birch); text-align: center; }
.detail-intro-lead {
  font-family: var(--font-serif-jp); font-weight: 500;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem); line-height: 2; color: var(--forest);
  margin: 0; max-width: 30em; margin-inline: auto;
}

/* --- 3. 3つの柱 --- */
.pillars { padding: clamp(72px, 11vw, 140px) 0; background: var(--cream); }
.pillars .section-eyebrow { color: var(--bark); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.pillar-card {
  background: var(--birch); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column;
  transition: transform .5s ease, box-shadow .5s ease;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(24,39,29,.4); }
.pillar-no {
  font-family: var(--font-serif-en); font-size: 1.05rem; letter-spacing: .14em;
  color: var(--gold); margin-bottom: 1.2em;
}
.pillar-title { font-family: var(--font-serif-jp); font-size: 1.32rem; color: var(--forest); line-height: 1.5; margin-bottom: .9em; }
.pillar-title small { display: block; font-size: .82rem; font-weight: 400; color: var(--text-muted); margin-top: .5em; letter-spacing: .04em; }
.pillar-text { font-size: .96rem; color: var(--text); margin: 0; }

/* --- 4. 引用バンド --- */
.detail-quote-band { padding: clamp(72px, 11vw, 130px) 0; background: var(--forest); text-align: center; }
.detail-quote-band .about-quote { color: var(--birch); margin-top: 0; }
.detail-quote-band .about-quote::before { color: var(--gold); }
.detail-quote-note { max-width: 36em; margin: 2.2em auto 0; color: rgba(246,243,236,.82); font-size: 1rem; }

/* --- 5. カリキュラム --- */
.curriculum { padding: clamp(72px, 11vw, 140px) 0; background: var(--birch); }
.curriculum-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); max-width: 1000px; margin-inline: auto; }
.curri-head {
  font-family: var(--font-serif-jp); font-size: 1.4rem; color: var(--forest);
  padding-bottom: .7em; margin-bottom: 1.2em; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 1em;
}
.curri-head span { font-family: var(--font-serif-en); font-size: .82rem; letter-spacing: .14em; color: var(--gold); font-weight: 500; }
.curri-subhead {
  font-family: var(--font-ui); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bark); margin: 2.4em 0 1.1em;
}
.curri-subhead:first-of-type { margin-top: 0; }
.curri-flow { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-bottom: .2em; }
.curri-flow li {
  font-family: var(--font-serif-jp); font-size: .86rem; color: var(--bark);
  background: var(--cream); border-radius: 6px; padding: .45em 1.1em; line-height: 1.5;
}
.curri-list li { position: relative; padding: 0 0 1.3em 1.3em; font-size: .95rem; color: var(--text); }
.curri-list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.curri-list li:last-child { padding-bottom: 0; }
.curri-list strong { display: block; font-weight: 600; color: var(--forest); margin-bottom: .25em; font-size: 1rem; }

/* --- 6. この講習の特徴 --- */
.detail-feature { position: relative; padding: clamp(80px, 13vw, 150px) 0; color: var(--birch); overflow: hidden; }
.detail-feature-media { position: absolute; inset: 0; z-index: 0; }
.detail-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-feature-overlay { position: absolute; inset: 0; background: rgba(24,39,29,.74); }
.detail-feature-content { position: relative; z-index: 1; max-width: 720px; }
.detail-feature-text { font-size: 1.02rem; color: rgba(246,243,236,.92); max-width: 34em; }
.detail-feature-text:last-child { margin-bottom: 0; }

/* --- 6.3 認定（修了証・植物図鑑） --- */
.cert { padding: clamp(72px, 11vw, 140px) 0; background: var(--cream); }
.cert .section-eyebrow { color: var(--bark); }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); max-width: 920px; margin-inline: auto; }
.cert-figure { margin: 0; }
.cert-photo { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 20px 46px -28px rgba(24,39,29,.6); }
.cert-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
/* 認定証：受講者氏名は画像側で部分ぼかし済みのため、写真全体は鮮明に表示 */
.cert-photo-doc img { object-position: center; }
.cert-figure figcaption { margin-top: 1em; font-size: .86rem; color: var(--text-muted); text-align: center; }
.cert-note { max-width: 760px; margin: clamp(36px, 5vw, 56px) auto 0; text-align: center; }
.cert-note strong { color: var(--forest); font-weight: 600; }
.cert-titles { display: inline-flex; flex-direction: column; gap: 10px; margin-top: 1.2em; text-align: left; }
.cert-titles li {
  font-family: var(--font-serif-jp); font-size: 1.05rem; color: var(--forest); font-weight: 600;
  border-left: 3px solid var(--gold); padding-left: 1em; line-height: 1.5;
}
.cert-titles li span {
  display: block; font-family: var(--font-ui); font-size: .68rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--bark); margin-bottom: .2em;
}

/* --- 7. ディスクレーマー --- */
.detail-note-band { padding: clamp(40px, 6vw, 64px) 0; background: var(--cream); }
.detail-note { font-size: .88rem; color: var(--bark); text-align: center; line-height: 1.9; margin: 0; }

/* --- 8. 開催スケジュール --- */
.schedule { padding: clamp(72px, 11vw, 140px) 0; background: var(--birch); }
.schedule-intro { color: var(--text-muted); font-size: 1rem; margin-top: 1.2em; }
.sched-list { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.sched-row {
  display: grid; grid-template-columns: 140px 1fr auto; align-items: center;
  gap: clamp(20px, 3vw, 40px); padding: clamp(24px, 3vw, 34px) 4px;
  border-bottom: 1px solid var(--line);
}
.sched-date { text-align: center; line-height: 1.1; color: var(--forest); }
.sched-month { font-family: var(--font-serif-en); font-size: 1rem; letter-spacing: .1em; color: var(--gold); display: block; }
.sched-day { font-family: var(--font-serif-jp); font-size: 1.6rem; font-weight: 600; display: block; margin: .15em 0; }
.sched-year { font-family: var(--font-ui); font-size: .72rem; letter-spacing: .12em; color: var(--text-muted); display: block; }
.sched-row-tba { opacity: .82; }
.sched-row-tba .sched-day { font-size: 1.1rem; color: var(--text-muted); }
.sched-place {
  font-family: var(--font-serif-jp); font-size: 1.18rem; color: var(--forest); font-weight: 600; margin: 0 0 .35em;
  display: flex; flex-wrap: wrap; align-items: center; gap: .55em;
}
.sched-plant {
  font-family: var(--font-ui); font-size: .72rem; font-weight: 500; letter-spacing: .04em;
  color: var(--bark); background: var(--cream); border-radius: 999px; padding: .2em .9em;
}
.sched-flag {
  font-family: var(--font-ui); font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  color: #fff; background: var(--ember); border-radius: 999px; padding: .2em .9em;
}
.sched-detail { font-size: .9rem; color: var(--text-muted); margin: 0; }
.sched-price { font-family: var(--font-ui); font-size: .82rem; color: var(--bark); margin: .5em 0 0; letter-spacing: .02em; }
.sched-btn { min-width: 132px; min-height: 44px; }
/* 申込URL未確定の回：非リンクの「受付準備中」状態 */
.sched-pending {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--text-muted); border: 1px dashed var(--line);
  border-radius: 999px; padding: .55em 1.4em; font-family: var(--font-ui); font-size: .82rem;
  letter-spacing: .04em; cursor: default;
}
.schedule-note { text-align: center; font-size: .85rem; color: var(--text-muted); margin: 2.4em auto 0; max-width: 40em; }

/* --- 6.5 講師（詳細ページ） --- */
.detail-teacher { padding: clamp(80px, 12vw, 150px) 0; background: var(--birch); }
.detail-teacher-link {
  display: inline-block; margin-top: 1.8em; font-family: var(--font-ui);
  font-size: .9rem; letter-spacing: .04em; color: var(--forest);
  border-bottom: 1px solid var(--gold); padding-bottom: 2px; transition: color .3s ease;
}
.detail-teacher-link:hover { color: var(--ember); }

/* --- 6.7 FAQ（詳細ページ） --- */
.detail-faq-more { text-align: center; margin: 2.6em 0 0; }
.detail-faq-more a {
  font-family: var(--font-ui); font-size: .9rem; letter-spacing: .04em;
  color: var(--forest); border-bottom: 1px solid var(--gold); padding-bottom: 2px; transition: color .3s ease;
}
.detail-faq-more a:hover { color: var(--ember); }

/* --- 詳細ページ レスポンシブ --- */
@media (max-width: 820px) {
  .pillars-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .curriculum-grid { grid-template-columns: 1fr; gap: 48px; max-width: 480px; }
}
@media (max-width: 820px) {
  /* モバイル固定CTAバーと末尾セクションが重ならないようクッション */
  .schedule { padding-bottom: calc(clamp(72px, 11vw, 140px) + 72px); }
}
@media (max-width: 620px) {
  .cert-grid { grid-template-columns: 1fr; max-width: 420px; gap: 32px; }
}
@media (max-width: 560px) {
  .sched-row { grid-template-columns: 76px 1fr; row-gap: 16px; }
  .sched-btn { grid-column: 1 / -1; width: 100%; }
  .sched-day { font-size: 1.35rem; }
}

/* ============================================================
   17. お問い合わせ（Contact Form 7 差し込み）
============================================================= */
.contact { padding: clamp(72px, 11vw, 140px) 0; background: var(--birch); }
.contact-form { max-width: 680px; margin: 0 auto; }
/* WordPress移行後、Contact Form 7 の既定要素を最低限ブランドに馴染ませる */
.contact-form input[type=text], .contact-form input[type=email],
.contact-form input[type=tel], .contact-form input[type=url],
.contact-form textarea, .contact-form select {
  width: 100%; font-family: var(--font-sans-jp); font-size: 1rem; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .85em 1em; margin: .4em 0 1.1em; box-sizing: border-box;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form label { display: block; font-size: .9rem; color: var(--forest); font-weight: 500; }
.contact-form .wpcf7-submit {
  font-family: var(--font-ui); font-size: .82rem; font-weight: 500; letter-spacing: .12em;
  background: var(--ember); color: #fff; border: 0; border-radius: 999px;
  padding: .95em 2.4em; cursor: pointer; transition: background .35s ease, transform .35s ease;
}
.contact-form .wpcf7-submit:hover { background: #a94f22; transform: translateY(-2px); }

/* ============================================================
   18. MOTHER SCHOOL 相関図（系統図）
============================================================= */
.lineage { max-width: 860px; margin: 2.6em auto 0; }
.lin-root {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: clamp(240px, 40vw, 320px); margin-inline: auto;
  background: #fff; border-radius: 12px; padding: 24px 36px;
  box-shadow: 0 24px 54px -26px rgba(0,0,0,.6); transition: transform .35s ease;
}
.lin-root:hover { transform: translateY(-4px); }
.lin-tag { font-family: var(--font-ui); font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--moss); }
.lin-root img { max-height: 72px; object-fit: contain; }
/* 母体から下りる幹線。下端は3校をつなぐ横線にちょうど接続する */
.lin-trunk { display: block; width: 2px; height: 26px; margin: 0 auto; background: var(--gold); }
.lin-children { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; padding-top: 26px; }
/* 3校の頭をつなぐ横線（カードの上方に配置） */
.lin-children::before { content: ''; position: absolute; top: 0; left: 16.66%; right: 16.66%; height: 2px; background: var(--gold); opacity: .55; }
.lin-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px;
  background: #fff; border-radius: 10px; padding: 30px 20px 26px;
  box-shadow: 0 18px 40px -24px rgba(0,0,0,.55); transition: transform .35s ease, box-shadow .35s ease;
}
.lin-card:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -22px rgba(0,0,0,.6); }
/* 横線から各カードへ下りる枝（上→下の向き） */
.lin-card::before { content: ''; position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 2px; height: 26px; background: var(--gold); opacity: .55; }
.lin-logo { height: 52px; display: flex; align-items: center; justify-content: center; }
.lin-logo img { max-height: 52px; max-width: 100%; object-fit: contain; }
.lin-catch { margin: 0; font-family: var(--font-serif-jp); font-size: .82rem; line-height: 1.7; color: var(--bark); text-align: center; }
/* NANUTE（自校）強調 */
.lin-card.is-self { background: var(--cream); outline: 2px solid var(--gold); outline-offset: -2px; box-shadow: 0 28px 56px -22px rgba(36,61,44,.5); }
.lin-card.is-self:hover { transform: translateY(-4px); }
.lin-self-mark { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-family: var(--font-ui); font-size: .58rem; letter-spacing: .14em; background: var(--gold); color: var(--forest-deep); padding: .28em 1em; border-radius: 999px; white-space: nowrap; }
/* 横断ベース帯：3校すべてを学べるオンライン */
.lin-cross { display: flex; align-items: center; gap: clamp(16px, 3vw, 30px); margin-top: 24px; padding: 18px clamp(18px, 3vw, 30px); background: rgba(246,243,236,.07); border: 1px solid rgba(191,161,79,.4); border-radius: 10px; transition: background .3s ease; }
.lin-cross:hover { background: rgba(246,243,236,.12); }
.lin-cross-logo { flex: 0 0 auto; background: #fff; border-radius: 8px; padding: 12px 18px; }
.lin-cross-logo img { max-height: 38px; object-fit: contain; }
.lin-cross-catch { margin: 0; font-family: var(--font-sans-jp); font-size: .88rem; color: rgba(246,243,236,.9); text-align: left; line-height: 1.7; }
@media (max-width: 720px) {
  .lineage { position: relative; }
  .lineage::before { content: ''; position: absolute; top: 96px; bottom: 64px; left: 50%; width: 2px; transform: translateX(-50%); background: repeating-linear-gradient(rgba(191,161,79,.5) 0 6px, transparent 6px 12px); z-index: 0; }
  .lin-root, .lin-children, .lin-cross { position: relative; z-index: 1; }
  .lin-children { grid-template-columns: 1fr; gap: 16px; }
  .lin-children::before, .lin-card::before { display: none; }
  .lin-trunk { height: 26px; }
  .lin-card.is-self { transform: none; }
  .lin-card.is-self:hover { transform: translateY(-3px); }
  .lin-cross { flex-direction: column; text-align: center; }
  .lin-cross-catch { text-align: center; }
}

/* 講師セクション（詳細ページ）：担当の補足 */
.detail-teacher-note { margin-top: 1.6em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: .92rem; color: var(--text-muted); }

/* ============================================================
   19. コラム（ブログ）— トップの最新コラム / 一覧 / 個別
============================================================= */
/* トップページ：最新コラム */
.columns { padding: clamp(80px, 12vw, 150px) 0; background: var(--birch); }
.column-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px); margin-top: clamp(28px, 4vw, 48px);
}
.column-card {
  display: flex; flex-direction: column; background: var(--cream);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 14px 40px -28px rgba(36,61,44,.6);
  transition: transform .5s ease, box-shadow .5s ease;
}
.column-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px -26px rgba(36,61,44,.5); }
.column-card a { display: flex; flex-direction: column; height: 100%; }
.column-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--line); }
.column-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.column-card:hover .column-thumb img { transform: scale(1.05); }
.column-thumb.is-empty {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, rgba(124,138,90,.08) 0 12px, rgba(124,138,90,.16) 12px 24px), var(--cream);
}
.column-thumb.is-empty span { font-family: var(--font-serif-en); font-size: 2rem; color: var(--gold); }
.column-body { padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; flex: 1; }
.column-date { font-family: var(--font-ui); font-size: .68rem; letter-spacing: .12em; color: var(--moss); margin-bottom: .8em; }
.column-cat { font-family: var(--font-ui); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ember); margin-left: .8em; }
.column-title { font-family: var(--font-serif-jp); font-size: 1.12rem; color: var(--forest); line-height: 1.6; margin: 0 0 .6em; }
.column-excerpt { font-size: .88rem; color: var(--text-muted); margin: 0; }
.columns-more { text-align: center; margin-top: clamp(36px, 5vw, 56px); }
.columns-empty { text-align: center; color: var(--text-muted); }

/* ブログ一覧（archive / index） */
.blog-hero {
  background: var(--forest); color: var(--birch);
  padding: clamp(110px, 16vw, 180px) 0 clamp(48px, 7vw, 80px); text-align: center;
}
.blog-hero .section-title { color: var(--birch); }
.blog-hero .section-eyebrow { color: var(--gold); }
.blog-hero-desc { margin: 1.2em auto 0; max-width: 40em; color: rgba(246,243,236,.8); }
.blog-list { padding: clamp(64px, 9vw, 110px) 0; background: var(--birch); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.pagination {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 64px);
}
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 .8em;
  font-family: var(--font-ui); font-size: .85rem; color: var(--forest);
  border: 1px solid var(--line); border-radius: 999px; transition: all .3s ease;
}
.pagination .page-numbers.current { background: var(--forest); color: var(--birch); border-color: var(--forest); }
.pagination a.page-numbers:hover { border-color: var(--gold); color: var(--ember); }

/* 個別記事（single） */
.post-hero {
  background: var(--cream);
  padding: clamp(110px, 16vw, 180px) 0 clamp(36px, 5vw, 56px); text-align: center;
}
.post-meta { font-family: var(--font-ui); font-size: .72rem; letter-spacing: .1em; color: var(--moss); margin-bottom: 1em; }
.post-meta .post-cat { color: var(--ember); margin-left: .8em; }
.post-title { font-family: var(--font-serif-jp); font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: var(--forest); line-height: 1.5; max-width: 24em; margin: 0 auto; }
.post-featured { max-width: 920px; margin: clamp(32px, 5vw, 56px) auto 0; padding: 0 var(--gutter); }
.post-featured img { width: 100%; border-radius: var(--radius); }
.post-content {
  max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 80px) var(--gutter);
  font-size: 1.02rem; line-height: 2; color: var(--text);
}
.post-content h2 { font-family: var(--font-serif-jp); font-size: 1.5rem; color: var(--forest); margin: 1.8em 0 .7em; }
.post-content h3 { font-family: var(--font-serif-jp); font-size: 1.22rem; color: var(--forest); margin: 1.6em 0 .6em; }
.post-content p { margin: 0 0 1.4em; }
.post-content a { color: var(--ember); border-bottom: 1px solid var(--gold); }
.post-content img { border-radius: var(--radius); margin: 1.4em 0; }
.post-content blockquote {
  margin: 1.6em 0; padding: .4em 0 .4em 1.4em; border-left: 3px solid var(--gold);
  font-family: var(--font-serif-jp); color: var(--forest);
}
.post-content ul, .post-content ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.post-content li { margin-bottom: .4em; list-style: revert; }
.post-foot { text-align: center; padding: 0 var(--gutter) clamp(72px, 10vw, 120px); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: .4em 1.4em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.4em; }
.wp-caption-text { font-size: .8rem; color: var(--text-muted); text-align: center; margin-top: .5em; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

@media (max-width: 820px) {
  .column-grid, .blog-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
