/* ============================================================
   erb アロマ・ハーブ教室 LP — style.css
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --white: #FFFFFF;
  --off-white: #F7F7F5;
  --text-dark: #1A1A1A;
  --text-mid: #5C5C5C;
  --text-light: #999999;
  --border: #E0E0DC;
  --charcoal: #2B2B2B;

  --font-serif-jp: 'Noto Serif JP', serif;
  --font-sans-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Cormorant Garamond', serif;

  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
  --radius: 4px;

  --section-pad: 100px;
  --container: 1100px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans-jp);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Utility --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section-pad {
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 0; /* ヘッダー(z-index:1000)の下に確実に収める */
}
.bg-off { background: var(--off-white); }
.sp-only { display: none; }
.pc-only { display: inline; }

/* クリーム写真（photo_17）を挟むLesson下部／Profile上部の余白、および
   バジル写真（photo_16）を挟むAbout下部／Lesson上部の余白を、
   それぞれ上下で同じ値に統一しバランスを揃える */
#curriculum.section-pad {
  padding-top: 72px;
  padding-bottom: 72px;
}
#profile.section-pad {
  padding-top: 72px;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 27px;
  background: var(--white);
  color: #9C8C78;
  font-family: var(--font-sans-jp);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 1.5px solid #9C8C78;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary:active {
  background: var(--white);
  color: #9C8C78;
}

.btn-primary:focus {
  outline: none;
  background: var(--white);
  color: #9C8C78;
}

.btn-primary:focus-visible {
  outline: 2px solid #9C8C78;
  outline-offset: 2px;
}

/* ===== hover はマウス等のポインターデバイスのみに限定 =====
   iOSのSafariはタップ後に:hover状態が固着し、外部ページから
   戻ってきたときに茶色塗りつぶしが残る不具合を防ぐ */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: #9C8C78;
    color: #ffffff;
  }
  .btn-primary:hover .btn-arrow { transform: translateX(4px); }
}

.btn-arrow {
  font-style: normal;
  transition: transform var(--transition);
}

/* お問い合わせ完了・エラー・入力確認画面専用：
   「送信」ボタン／スクロール時の「コンタクト」ボタンと同じ、
   初期＝黒枠・塗りなし／ホバー＝グレー塗りつぶし・白文字の仕様に統一するための修飾クラス。
   .btn-primary本体は他ページのCTAボタンと共通のため、直接は変更せずこちらで上書きする。 */
.btn-primary.btn-mono {
  background: var(--white);
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-primary.btn-mono:active {
  background: #B0B0AC;
  border-color: #B0B0AC;
  color: var(--white);
}

.btn-primary.btn-mono:focus {
  background: var(--white);
  color: var(--text-dark);
}

.btn-primary.btn-mono:focus-visible {
  outline-color: var(--text-dark);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary.btn-mono:hover {
    background: #B0B0AC;
    border-color: #B0B0AC;
    color: var(--white);
  }
}

/* モバイル（ホバーの概念がないタッチ端末）専用：
   デフォルトから既にグレー塗りつぶし＋白文字にしておき、
   タップした瞬間は文字色だけ黒に変える。iPad等（hover:hoveと判定される端末）には影響しない。 */
@media (hover: none), (pointer: coarse) {
  .btn-primary.btn-mono {
    background: #B0B0AC;
    border-color: #B0B0AC;
    color: var(--white);
  }

  .btn-primary.btn-mono:active {
    background: #B0B0AC;
    border-color: #B0B0AC;
    color: var(--text-dark);
  }
}

.btn-large { padding: 15px 36px; font-size: 14px; }

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-family: var(--font-sans-jp);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: #507EA3;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-sans-jp);
  font-size: 25px;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 14px;
  color: var(--text-mid);
  letter-spacing: 0.03em;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0 28px; /* 下にAroma Herb分のスペース確保 */
  transition: background var(--transition), box-shadow var(--transition);
}

/* ヘッダーナビ：未スクロール時は完全非表示（PCのみ） */
@media (min-width: 769px) {
  .site-header:not(.scrolled) .header-nav {
    opacity: 0;
    pointer-events: none;
  }
  .site-header.scrolled .header-nav {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ヘッダーナビのテキストをヒーロー写真の上でも常に見えるように */
.site-header:not(.scrolled) .header-nav a {
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.site-header:not(.scrolled) .header-nav a:hover {
  color: #fff;
}

.site-header:not(.scrolled) .nav-cta {
  border-color: rgba(255,255,255,0.8) !important;
  color: rgba(255,255,255,0.9) !important;
}

.site-header:not(.scrolled) .nav-cta:hover {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
}

.site-header:not(.scrolled) .logo-ja {
  color: var(--text-mid);
}

.site-header:not(.scrolled) .hamburger span {
  background: #9C8C78;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  padding: 16px 0 26px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6),
    0 4px 24px rgba(255,255,255,0.7),
    0 8px 48px rgba(255,255,255,0.4);
}

.site-header.scrolled .header-nav a {
  color: var(--text-dark);
  text-shadow: none;
}

.site-header.scrolled .nav-cta {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

.site-header.scrolled .nav-cta:hover {
  background: #B0B0AC !important;
  border-color: #B0B0AC !important;
  color: var(--white) !important;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px 0 calc(40px + 3mm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-block;
  position: relative;
  line-height: 1;
  width: auto;
  transition: opacity 0.4s ease;

}

/* ヒーロー1枚目（ロゴ出現動画）の再生・静止中は、
   ヘッダーの黒いロゴを非表示にする（SP・PC/iPad共通・JSでhero-slide--videoの表示中に付与） */
.logo.logo--hidden {
  opacity: 0;
  pointer-events: none;
}

.logo-img {
  display: block;
  width: auto;
  height: 44px; /* 40px × 1.1 = 10%拡大 */
  object-fit: contain;
  transition: filter var(--transition), opacity var(--transition);
}

/* 透過PNG対応ロゴ */
.logo-img--transparent {
  background: transparent;
  mix-blend-mode: normal;
}

/* フッター：ダーク背景にscreen合成で黒背景が消え文字が白く浮かぶ */
.logo-img--footer {
  mix-blend-mode: screen;
  filter: none;
  height: 30px;
  opacity: 0.92;
}

.logo-ja {
  font-family: var(--font-en);
  font-size: 10px;
  font-style: italic;
  letter-spacing: 0.18em;
  color: var(--text-mid);
  font-weight: 300;
  position: absolute;
  bottom: -12px;
  right: -5mm;
  white-space: nowrap;
  /* フォント読み込み前のFOUT（ピクン）防止：JSでフォントロード後に表示 */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-right: 22px; /* SNSアイコン追加分、ナビ全体を少し左にシフト */
  transition: opacity 0.4s ease;
}

.header-sns-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 4px;
}

.header-sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-sns-icon {
  width: 16px;
  height: 16px;
  display: block;
  transition: opacity var(--transition);
}

.header-sns-link:hover .header-sns-icon {
  opacity: 0.65;
}

.header-nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  transition: color var(--transition);
}

.header-nav a:hover { color: var(--text-dark); }

.nav-cta {
  padding: 8px 20px;
  border: 1px solid var(--text-dark);
  color: var(--text-dark) !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  transition: background var(--transition), color var(--transition) !important;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border-radius: 0;
  font-family: var(--font-sans-jp);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-cta:active,
.nav-cta:focus {
  background: transparent !important;
  color: var(--text-dark) !important;
  outline: none;
}

.nav-cta:hover {
  background: #B0B0AC;
  border-color: #B0B0AC;
  color: var(--white) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #9C8C78;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: var(--white);
  z-index: 1001;
  padding: 80px 40px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.08);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-nav-link {
  display: block;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
}

.mobile-cta {
  margin-top: 24px;
  padding: 10px 20px;
  text-align: center;
  background: transparent;
  color: #9C8C78 !important;
  letter-spacing: 0.1em;
  border: 1.5px solid #9C8C78 !important;
  /* button要素リセット */
  display: inline-block;
  width: auto;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-cta:active,
.mobile-cta:focus {
  background: transparent !important;
  color: #9C8C78 !important;
  outline: none;
}

.mobile-sns-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
}

.mobile-sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-sns-icon {
  width: 20px;
  height: 20px;
  display: block;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

@media (min-width: 769px) {
  /* 左上の白飛びが強すぎたため削除（2025年〇月調整） */
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
}

/* Hero Slides */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
}

/* スライド画像共通 */
.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ヒーロー1枚目：ロゴ出現モーション動画（SP・PC/iPad共通の基本ルール）
   画面を余白なく埋める。基準点は個別に上書き（下記参照）。 */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 100%;
  background: var(--white, #fff);
}

/* PC/iPad版のみ：横動画（hero_intro_pc.mp4）内のerbサインは画面右上寄り
   （実測でおおよそ横70%・縦25%の位置）にあるため、そこが切れないよう基準点を上書き。
   SP版の縦動画（右下にサイン）とは構図が異なるため、値もSP版とは別に管理する。 */
@media (min-width: 769px) {
  .hero-slides--pc .hero-video {
    object-position: 70% 25%;
  }
}

/* モバイルデフォルト：SPスライドを表示、PCスライドを非表示 */
.hero-slides--sp { display: block; }
.hero-slides--pc { display: none; }

/* PC（769px以上：iPad・ノートPC・デスクトップ）：PCスライドを表示、SPスライドを非表示 */
@media (min-width: 769px) {
  .hero-slides--sp { display: none; }
  .hero-slides--pc {
    display: block;
  }
  .hero-slides--pc .slide-img {
    object-fit: contain;
    object-position: center center;
  }

  /* PC版：オーバーレイ調整 */
  .hero-overlay-top {
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0.20) 0%,
      rgba(255,255,255,0.05) 50%,
      rgba(255,255,255,0) 100%
    );
  }


  .hero-overlay-right {
    background: linear-gradient(
      to left,
      rgba(255,255,255,0.20) 0%,
      rgba(255,255,255,0.10) 8%,
      rgba(255,255,255,0) 18%
    );
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0) 60%,
      rgba(255,255,255,0.12) 80%,
      rgba(255,255,255,0.25) 100%
    );
  }

  /* PC版：四隅を白く飛ばす専用レイヤー（左上は削除） */
  .hero-corners-overlay {
    display: block;
    background:
      radial-gradient(ellipse 45% 40% at 100% 0%,  rgba(255,255,255,0.60) 0%, rgba(255,255,255,0) 100%),
      radial-gradient(ellipse 45% 40% at 0% 100%,  rgba(255,255,255,0.60) 0%, rgba(255,255,255,0) 100%),
      radial-gradient(ellipse 45% 40% at 100% 100%,rgba(255,255,255,0.60) 0%, rgba(255,255,255,0) 100%);
  }
}

.hero-slide-dots {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.slide-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.08) 80%,
    rgba(255,255,255,0.24) 100%
  );
  z-index: 1;
}

/* 四隅フェード（PCのみ表示） */
.hero-corners-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* 上部ナビエリアの自然な光フェード */
.hero-overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background:
    radial-gradient(ellipse 55% 80% at 0% 0%, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0) 65%),
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.04) 0%,
      rgba(255,255,255,0.01) 50%,
      rgba(255,255,255,0) 100%
    );
  z-index: 1;
  filter: blur(0.5px);
}

/* SP版スライド3・4・5枚目のみ、左上の白飛びを強調 */
@media (max-width: 768px) {
  .hero-overlay-top.hero-overlay-top--boost {
    background:
      radial-gradient(ellipse 55% 80% at 0% 0%, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 65%),
      linear-gradient(
        to bottom,
        rgba(255,255,255,0.04) 0%,
        rgba(255,255,255,0.01) 50%,
        rgba(255,255,255,0) 100%
      );
  }
}

/* 左側テキストエリアの強い白フェード（モバイル・フォールバック用の基本値） */
.hero-overlay-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.70) 0%,
    rgba(255,255,255,0.50) 15%,
    rgba(255,255,255,0.25) 30%,
    rgba(255,255,255,0.05) 50%,
    rgba(255,255,255,0) 65%,
    rgba(255,255,255,0) 100%
  );
  z-index: 1;
}

/* PC版（769px以上）：上記の基本ルールより後ろに置くことで確実に優先させ、
   ごく薄いグラデーションに差し替える
   ※2026-08 調整：左端が一列明るくなりすぎるとのご指摘により、各stopの不透明度を弱めた */
@media (min-width: 769px) {
  .hero-overlay-left {
    background: linear-gradient(
      to right,
      rgba(255,255,255,0.55) 0%,
      rgba(255,255,255,0.38) 20%,
      rgba(255,255,255,0.18) 40%,
      rgba(255,255,255,0.04) 55%,
      rgba(255,255,255,0) 68%
    );
  }
}

/* 右端：写真の途切れ目を白くフェードアウト（モバイルはほぼ無し） */
.hero-overlay-right {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(255,255,255,0.03) 0%,
    rgba(255,255,255,0.02) 3%,
    rgba(255,255,255,0.01) 7%,
    rgba(255,255,255,0) 14%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px 80px;
  /* テキストを左半分に収める */
  max-width: 600px;
  margin-left: max(40px, calc(50vw - 550px));
}

.hero-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif-jp);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 20px;
}

.title-en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  font-style: italic;
}

.title-ja {
  display: block;
  font-family: var(--font-serif-jp);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 400;
  color: var(--text-dark);
}

.hero-sub {
  font-size: 13px;
  color: var(--text-mid);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  line-height: 2;
}

/* Hero scroll hint */
.hero-scroll-hint {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-scroll-hint span {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-mid);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--text-mid), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-light);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 4px;
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.trust-logos .divider { color: var(--border); }

/* ============================================================
   REASONS
   ============================================================ */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.reason-card {
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}

.reason-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

/* 写真背景カード */
.reason-card--photo {
  position: relative;
  min-height: 320px;
  border: none;
  overflow: hidden;
}

/* imgタグによる背景写真（iOS Safari完全対応） */
.reason-card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
}

/* ホワイトオーバーレイ（明るく飛ばすエフェクト） */
.reason-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.88) 0%,
    rgba(255,255,255,0.75) 40%,
    rgba(255,255,255,0.55) 100%
  );
  z-index: 1;
  transition: opacity 0.6s ease;
}

.reason-card--photo:hover .reason-card-overlay {
  opacity: 0.85;
}

.reason-card-inner {
  position: relative;
  z-index: 2;
  padding: 48px 36px;
}

.reason-heading {
  font-family: var(--font-sans-jp);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.reason-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
}

/* --- About: ロゴ+説明文 --- */
.about-intro {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.about-intro-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.about-intro-logo-img {
  display: block;
  width: auto;
  height: 40px;
  object-fit: contain;
}

.about-intro-logo-text {
  font-family: var(--font-sans-jp);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  white-space: nowrap;
}

.about-intro-tagline {
  font-family: var(--font-sans-jp);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.about-intro-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 2;
  letter-spacing: 0.02em;
}

.herbe-erb-black {
  color: var(--text-dark);
}

/* --- About: Philosophy --- */
.about-philosophy {
  text-align: center;
  margin-bottom: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.about-philosophy .section-eyebrow { margin-bottom: 0; }

.about-philosophy-text {
  font-family: var(--font-sans-jp);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.9;
  text-align: center;
  max-width: 640px;
  margin: 72px auto;
}

/* 上下の余白を均等にするため、このセクション自体の下パディングは使わず
   about-philosophy-textの margin-bottom のみで余白をコントロールする */
#about.section-pad {
  padding-bottom: 0;
}

@media (max-width: 900px) {
  .about-philosophy-text { margin: 56px auto; }
}

@media (max-width: 768px) {
  .about-intro-logo {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .about-philosophy-text { font-size: 14px; margin: 44px auto; }
}

/* ============================================================
   MENU
   ============================================================ */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.menu-card {
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.5s ease;
  position: relative;
}

/* シャインエフェクト：削除済み */
.menu-card::before {
  content: none;
}

/* ボーダーグロー用の疑似要素 */
.menu-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid transparent;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(120,160,80,0.6), rgba(180,210,130,0.3), rgba(120,160,80,0.1)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.menu-card:hover {
  box-shadow: 0 20px 60px rgba(100,140,60,0.15), 0 8px 20px rgba(0,0,0,0.08);
  transform: translateY(-8px);
  border-color: rgba(120,160,80,0.3);
}

.menu-card:hover::after {
  opacity: 1;
}

.menu-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.menu-img-wrap img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-card:hover .menu-img-wrap img { transform: scale(1.06); }

.menu-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.04);
  transition: background var(--transition);
}

.menu-card:hover .menu-img-overlay { background: rgba(0,0,0,0); }

.menu-card-body {
  padding: 20px 24px 24px;
  position: relative;
  z-index: 3;
}

.menu-card-body h3 {
  font-family: var(--font-serif-jp);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  transition: color 0.4s ease;
}

.menu-card:hover .menu-card-body h3 {
  color: #5a8a30;
}

.menu-card-body p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ============================================================
   PRICE — NEW FLEXIBLE DESIGN
   ============================================================ */
.price-flex-wrap {
  max-width: 900px;
  margin: 0 auto 48px;
}

.price-flex-message {
  text-align: center;
  padding: 48px 40px 56px;
  border: 1px solid var(--border);
  border-left: 3px solid #E0ECEC;
  background: #FFFFFF;
  margin-bottom: 24px;
  position: relative;
}

.price-flex-message::before {
  display: none;
}

.price-flex-lead {
  font-family: var(--font-serif-jp);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.price-flex-lead strong {
  font-weight: 500;
  position: relative;
}

.price-flex-lead strong::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 1px;
  background: var(--text-dark);
  opacity: 0.3;
}

.price-flex-body {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 2;
  max-width: 560px;
  margin: 0 auto;
}

.price-range-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.price-range-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  background: var(--white);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

.price-range-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.price-range-card--rich {
  background: var(--off-white);
  border-color: rgba(120,160,90,0.3);
}

.price-range-card--rich::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(120,160,90,0.6), transparent);
}

.price-range-label {
  font-family: var(--font-sans-jp);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.price-range-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  line-height: 1;
}

.price-range-amount-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-range-from {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.price-range-num {
  font-family: var(--font-sans-jp);
  font-size: 38px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.price-range-yen {
  font-size: 18px;
  font-weight: 300;
}

.price-range-unit {
  font-size: 13px;
  color: var(--text-mid);
}

.price-range-note {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.85;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.price-flex-footnote {
  font-size: 11px;
  color: var(--text-light);
  line-height: 2;
  text-align: center;
  letter-spacing: 0.03em;
}

/* ============================================================
   PRICE — old styles kept for reference
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 24px;
}

.price-card {
  padding: 48px 40px;
  border: 1px solid var(--border);
  background: var(--white);
  position: relative;
}

.price-card--premium {
  border-color: var(--charcoal);
  background: var(--off-white);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--charcoal);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 4px 16px;
}

.price-label {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  line-height: 1;
}

.price-from {
  font-size: 12px;
  color: var(--text-mid);
}

.price-num {
  font-family: var(--font-en);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}

.price-unit {
  font-size: 14px;
  color: var(--text-mid);
}

.price-features {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.price-features li {
  font-size: 13px;
  color: var(--text-mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.price-features li::before {
  content: '—';
  color: var(--text-light);
  flex-shrink: 0;
}

.price-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 40px;
  letter-spacing: 0.04em;
}

.price-cta { text-align: center; }

/* ============================================================
   FORMAT
   ============================================================ */
.format-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.format-item {
  text-align: center;
  padding: 0 0 32px;
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.format-item:last-child { border-right: none; }

.format-photo {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--off-white);
}

.format-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.format-item:hover .format-photo img { transform: scale(1.05); }

.format-photo--icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.format-photo--icon svg {
  width: 60px;
  height: 60px;
  color: var(--text-light);
}

.format-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
  color: var(--text-dark);
}

.format-item h3 {
  font-family: var(--font-serif-jp);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  padding: 0 20px;
}

.format-item p {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.8;
  padding: 0 16px;
}

/* ============================================================
   FORMAT CARDS — NEW TEXT-ONLY DESIGN
   ============================================================ */
.format-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.format-card-new {
  position: relative;
  overflow: hidden;
  padding: 48px 32px 52px;
  border-right: 1px solid var(--border);
  background: #fff;
  cursor: default;
  transition: background 0.5s ease;
}

.format-card-new:last-child {
  border-right: none;
}

/* ホバー時：背景をごく薄いグリーンに */
.format-card-new:hover {
  background: #f7faf5;
}

/* 光のグロウエフェクト（右上から広がる） */
.format-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 195, 130, 0.25) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.format-card-new:hover .format-glow {
  opacity: 1;
  transform: scale(1);
}

.format-card-inner {
  position: relative;
  z-index: 1;
}

/* 番号 */
.format-num {
  display: block;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--accent, #7a9e6e);
  margin-bottom: 20px;
}

/* 区切り線：ホバーで伸びる */
.format-line {
  width: 24px;
  height: 1px;
  background: var(--text-dark);
  margin-bottom: 28px;
  transition: width 0.4s ease;
}

.format-card-new:hover .format-line {
  width: 48px;
}

/* タイトル */
.format-title-new {
  font-family: var(--font-serif-jp);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

/* 説明文 */
.format-desc-new {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-scroll-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  user-select: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 40px 0;
}

.gallery-scroll-wrap::-webkit-scrollbar { display: none; }
.gallery-scroll-wrap.is-dragging { cursor: grabbing; }

.gallery-track {
  display: flex;
  gap: 12px;
  padding: 0 40px;
  width: max-content;
}

.gallery-item {
  width: 320px;
  height: 240px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--off-white);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

/* ============================================================
   PROFILE
   ============================================================ */
.profile-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 72px;
  align-items: flex-start;
}

/* 写真上部：罫線 ＋ Profile ラベル（他セクションの section-eyebrow と統一） */
.profile-photo-label {
  text-align: center;
  margin-bottom: 20px;
}

.profile-photo-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 14px;
}

.profile-photo-label .section-eyebrow {
  margin-bottom: 0;
}

/* 写真フレーム：小さくしてアクセント装飾 */
.profile-img-frame {
  position: relative;
}

.profile-img-frame::before {
  display: none;
}

.profile-img-accent {
  display: none;
}

.profile-img-wrap {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  width: 100%;
}

/* 左端の縦一列を、ごく控えめに白く飛ばす（全デバイス共通） */
.profile-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.56) 0%,
    rgba(255,255,255,0.24) 8%,
    rgba(255,255,255,0) 18%
  );
}

.profile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s ease;
}

.profile-img-wrap:hover img { transform: scale(1.03); }

.profile-text-col {
  padding-top: 24px;
}

.profile-text-col .section-eyebrow { font-size: 18px; margin-bottom: 16px; }

.profile-name {
  font-family: var(--font-sans-jp);
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 8px;
  letter-spacing: 0.12em;
}

.profile-title {
  font-size: 13px;
  color: var(--text-mid);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.profile-bio {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 28px;
}

.profile-certs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-certs li {
  font-size: 13px;
  color: var(--text-mid);
  padding-left: 16px;
  position: relative;
}

.profile-certs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--text-light);
  transform: translateY(-50%);
}

/* ============================================================
   MEDIA
   ============================================================ */
.media-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 60px;
  border: 1px solid var(--border);
}

.stat-item {
  background: var(--off-white);
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* クリック可能な stat-item */
.stat-item--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  transition:
    background 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.3s ease;
}

.stat-item--link:hover {
  background: #DEE3E7;
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(72, 88, 100, 0.22);
  z-index: 1;
}

.stat-item--link:hover .stat-num {
  color: #374854;
}

.stat-link-hint {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #507EA3;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  margin-top: 4px;
}

.stat-item--link:hover .stat-link-hint {
  opacity: 1;
  transform: translateY(0);
}

.stat-num {
  font-family: var(--font-sans-jp);
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: #3E6284;
  line-height: 1;
}

.stat-unit {
  font-family: var(--font-sans-jp);
  font-size: 16px;
  font-weight: 300;
}

.stat-label {
  font-size: 12px;
  color: var(--text-mid);
  letter-spacing: 0.1em;
}

.workshop-block {
  text-align: center;
  padding-top: 48px;
  margin-bottom: 24px;
  border-top: 1px solid var(--border);
}

.workshop-block--clients {
  padding-top: 0;
  margin-bottom: 0;
  border-top: none;
}

.workshop-block .section-eyebrow {
  margin-bottom: 12px;
}

.workshop-subtitle {
  font-family: var(--font-sans-jp);
  font-size: 25px;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .workshop-subtitle { font-size: 19px; }
}

.workshop-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  margin-top: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.workshop-feature-item {
  padding: 22px 20px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.workshop-feature-item:nth-child(2n) {
  border-right: none;
}

.workshop-feature-item:nth-last-child(-n+2) {
  border-bottom: none;
}

@media (max-width: 600px) {
  .workshop-features { grid-template-columns: 1fr; margin-top: 28px; }
  .workshop-feature-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
    padding: 18px 16px;
  }
  .workshop-feature-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .workshop-feature-item:last-child { border-bottom: none; }
}

.workshop-clients-label {
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--text-light);
  text-align: center;
  margin-top: 64px;
}

.media-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px 48px;
  padding: 40px 20px;
}

/* テキストのみのクライアント一覧 */
.media-clients-text {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #555555;
  text-align: center;
  line-height: 2.4;
}

.media-slash {
  color: #aaaaaa;
  margin: 0 0.4em;
  font-weight: 300;
}

.workshop-cta-wrap {
  text-align: center;
  margin-top: 8px;
}

.media-item:last-child { border-right: none; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--white); }

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner .section-eyebrow { margin-bottom: 16px; }

.contact-title {
  font-family: var(--font-sans-jp);
  font-size: 23px;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 24px;
}

.contact-sub {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 40px;
}

.contact-sub strong {
  color: var(--text-dark);
  font-weight: 500;
}

/* ============================================================
   CONTACT PAGE（独立ページ：contact.html）
   ============================================================ */
.container--narrow {
  max-width: 760px;
}

.contact-page-head {
  text-align: center;
}

.contact-page-title {
  font-family: var(--font-sans-jp);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.contact-page-lead {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 2;
}

.contact-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 56px 0 64px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group label {
  font-size: 14px;
  color: var(--text-mid);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: var(--font-sans-jp);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.8;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--text-mid);
}

.form-submit-wrap {
  text-align: center;
  margin-top: 16px;
}

.btn-submit {
  display: inline-block;
  min-width: 220px;
  padding: 16px 56px;
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-sans-jp);
  font-size: 15px;
  letter-spacing: 0.15em;
  border: 1px solid var(--text-dark);
  border-radius: 0;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

/* ===== hover はマウス等のポインターデバイスのみに限定 =====
   iOSのSafariはタップ後に:hover状態が固着し、外部ページから
   戻ってきたときにグレー塗りつぶしが残る不具合を防ぐ */
@media (hover: hover) and (pointer: fine) {
  .btn-submit:hover {
    background: #B0B0AC;
    border-color: #B0B0AC;
    color: var(--white);
  }
}

/* モバイル（ホバーの概念がないタッチ端末）専用：
   デフォルトから既にグレー塗りつぶし＋白文字にしておき、
   タップした瞬間は文字色だけ黒に変える。iPad等（hover:hoveと判定される端末）には影響しない。 */
@media (hover: none), (pointer: coarse) {
  .btn-submit {
    background: #B0B0AC;
    border-color: #B0B0AC;
    color: var(--white);
  }

  .btn-submit:active {
    background: #B0B0AC;
    border-color: #B0B0AC;
    color: var(--text-dark);
  }
}

@media (max-width: 768px) {
  /* 固定ヘッダーの下でCONTACTの文字が窮屈にならないよう、上部に余白を追加（モバイルのみ） */
  .contact-page-head { margin-top: 64px; }
  .contact-page-title { font-size: 22px; }
  .contact-divider { margin: 40px 0 48px; }
  .contact-form { gap: 32px; }
  .btn-submit { width: calc(100% - 114px); padding: 16px 0; }
}

/* FAQ */
.faq-wrap {
  margin-top: 72px;
  text-align: left;
}

.faq-title {
  font-family: var(--font-serif-jp);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 28px;
  text-align: center;
  color: var(--text-mid);
  letter-spacing: 0.05em;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-q, .faq-a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: baseline;
}

.faq-q { margin-bottom: 10px; }

.faq-mark {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-light);
}

.faq-q span:last-child {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.6;
}

.faq-a span:last-child {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  padding: 48px 0;
  color: var(--white);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

/* フッターロゴ：黒背景の中央に、元画像の色に関わらず白抜きで表示 */
.footer-logo-wrap {
  display: flex;
  justify-content: center;
}

.footer-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-logo .logo-en {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--white);
}

.footer-logo .logo-ja {
  font-family: var(--font-en);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}

/* フッター専用：Aroma Herb文字を右にずらす */
.logo-ja--footer {
  padding-left: 12px;
  color: rgba(255,255,255,0.5) !important;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

/* フッターロゴ：モバイルのみサイズ調整（iPad以上・PCは変更なし） */
@media (max-width: 768px) {
  .footer-logo-img { height: 28px; }
  .site-footer .container { gap: 14px; }
}

/* ============================================================
   SCROLL TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 48px;
  height: 48px;
  background: var(--charcoal);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top:hover { background: #444; }

.scroll-top svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 900px) {
  :root { --section-pad: 72px; }

  .header-nav { display: none; }
  .hamburger { display: flex; }
  .sp-only { display: inline; }
  .pc-only { display: none; }

  .reasons-grid { grid-template-columns: 1fr; gap: 16px; }
  .reason-card-inner { padding: 32px 28px; }
  .reason-card--photo { min-height: 240px; }

  .menu-grid { grid-template-columns: repeat(2, 1fr); }

  .price-grid { max-width: 100%; }
  .price-range-cards { grid-template-columns: 1fr; }

  .format-grid { grid-template-columns: repeat(2, 1fr); border: 1px solid var(--border); }
  .format-item { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .format-item:nth-child(2n) { border-right: none; }
  .format-item:nth-last-child(-n+2) { border-bottom: none; }

  /* 新カード：タブレット2列 */
  .format-grid-new { grid-template-columns: repeat(2, 1fr); }
  .format-card-new { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .format-card-new:nth-child(2n) { border-right: none; }
  .format-card-new:nth-last-child(-n+2) { border-bottom: none; }

  .gallery-track { padding: 0 20px; }
  .gallery-item { width: 260px; height: 200px; }

  .profile-inner { grid-template-columns: 1fr; gap: 40px; }
  .profile-img-frame { max-width: 180px; }
  .profile-img-wrap { max-width: 100%; }

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

  .media-item { padding: 16px 20px; font-size: 13px; min-width: 0; }
  .media-logos { gap: 24px 32px; }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 600px) {
  :root { --section-pad: 56px; }

  /* section-padがさらに縮む分、CONTACT上の余白を維持するため調整 */
  .contact-page-head { margin-top: 72px; }

  .container { padding: 0 20px; }

  .header-inner { padding: 0 20px; }

  .hero-content { padding: 0 20px 60px; }
  .hero-scroll-hint { display: none; }

  .section-title { font-size: 19px; }
  .section-header { margin-bottom: 40px; }

  .reasons-grid { gap: 12px; }
  .reason-card-inner { padding: 28px 24px; }

  .menu-grid { grid-template-columns: 1fr; }

  .price-grid { grid-template-columns: 1fr; }
  .price-card { padding: 36px 28px; }
  .price-num { font-size: 36px; }
  .price-flex-message { padding: 36px 24px 40px; }
  .price-flex-lead { font-size: 18px; }
  .price-range-cards { grid-template-columns: 1fr; }
  .price-range-card { padding: 28px 24px; }

  .format-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .format-item { padding: 0 0 24px; border: 1px solid var(--border); }

  /* 新カード：モバイル2列 */
  .format-grid-new { grid-template-columns: repeat(2, 1fr); }
  .format-card-new { padding: 32px 20px 36px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .format-card-new:nth-child(2n) { border-right: none; }
  .format-card-new:nth-last-child(-n+2) { border-bottom: none; }
  .format-title-new { font-size: 16px; }
  .format-item:nth-child(2n) { border-right: 1px solid var(--border); }

  .gallery-item { width: 220px; height: 165px; }

  .profile-img-frame { max-width: 160px; }
  .profile-name { font-size: 23px; }

  .media-stats { grid-template-columns: 1fr; }
  .stat-item { padding: 28px; }

  .media-logos { gap: 20px 24px; }
  .media-logo-item svg { height: 32px; }
  .media-logo-item--small svg { height: 44px; }

  .contact-title { font-size: 17px; }

  .scroll-top { right: 20px; bottom: 20px; }
}

/* ============================================================
   ロゴ画像 追加スタイル
   ============================================================ */

/* footerロゴ */
.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 3px;
}

/* ============================================================
   ヒーロー：緑背景スライド等の文字保護
   ============================================================ */
/* 緑・暗い背景の写真スライドでも文字が見えるよう、
   左側オーバーレイを十分に白くしている。
   個別スライドへの追加輝度調整（lesson_scene2 = 緑背景 / hero_03.jpg）
   ※先頭に動画スライドを1枚追加したため、nth-childは3→4にずれている */
.hero-slides--sp .hero-slide:nth-child(4) {
  filter: brightness(1.15) saturate(0.85);
}

/* ============================================================
   セクション間パラレックス帯（背景なし区間の解消）
   ============================================================ */
/* 各セクションの切れ目に自然なつながりを持たせるため
   .bg-off セクション以外は白、.bg-off は off-white を使う。
   追加で「区切りがない」感を出すため、.reasons、.price、
   .profile、.contact に薄いボトムシャドウを付ける */
.reasons,
.price-section,
.profile-section,
.contact-section {
  background: var(--white);
}

/* パラレックス区切りバナー：メニューとフォーマットの間 */
.parallax-divider {
  position: relative;
  height: 480px;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

/* imgタグによる背景写真（iOS Safari完全対応） */
.parallax-divider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
  transform: scale(0.82);
  transform-origin: center center;
}

/* iPad以上のみ：写真の横幅が長すぎるため左右を4cmずつトリミング */
@media (min-width: 769px) {
  .parallax-divider-img {
    left: 4cm;
    right: 4cm;
    width: calc(100% - 8cm);
  }
}

/* 指定の2枚（photo_16 / photo_17）：iPad以上のみ、比率・エフェクトはそのままに
   サイズ全体を20%縮小（480px×1400px → 384px×1120px）
   ※さらに、これまで4cmトリミングによって実際に見えていた写真サイズ
   （1120px − 4cm×2 ≒ 818px）に箱自体の横幅を合わせている。
   これにより、見た目のサイズは今まで通りのまま、写真の端に
   きちんとグラデーションがかかるようになる */
@media (min-width: 769px) {
  .parallax-divider--zoomin {
    height: 328px !important;
    max-width: 700px !important;
    /* 上下の余白は、写真自体のmarginだけで一元管理する（他要素側は0にする） */
    margin: 72px auto !important;
  }

  /* 写真の上下にあった余白の発生源をすべて0にし、写真自体のmarginのみに一本化 */
  .about-philosophy-text {
    margin-bottom: 0;
  }
  #curriculum.section-pad {
    /* グレー背景の開始直後に「botanical lesson」の文字が来て窮屈にならないよう、
       section-header の margin-bottom（64px）と揃えた余白を上に確保する */
    padding-top: 64px;
    /* fragranceカードの写真が終わった直後に白背景へ切り替わらないよう、
       グレー背景のまま少し余白を残す（この後、写真自体のmargin-top: 72pxで
       白い余白がさらに続き、グレー→白→クリーム写真の順になる） */
    padding-bottom: 72px;
  }
  #profile.section-pad {
    padding-top: 0;
  }

  /* 4cmトリミングは解除し、写真は箱（＝トリミング後と同じサイズ）いっぱいに表示する */
  .parallax-divider--zoomin .parallax-divider-img {
    left: 0;
    right: 0;
    width: 100%;
  }

  /* モバイル版と同様、PC/iPadでも「リビール時に写真が縮む」演出は無効化した上で、
     箱（表示枠）のサイズは変えずに、スクロールに連動して写真自体が
     被写体へズームインしていくエフェクトを追加する（対象：photo_16 / photo_17）
     ※動きの制御自体はscript.js側（スクロール連動）で行う */
  .parallax-divider--zoomin.parallax-divider--reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .parallax-divider--zoomin.parallax-divider--reveal .parallax-divider-img,
  .parallax-divider--zoomin.parallax-divider--reveal.pdr-visible .parallax-divider-img {
    transform-origin: center center;
  }
}

.parallax-divider-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.35);
  z-index: 1;
}

/* 指定の2枚（photo_16 / photo_17）：iPad以上のみ、左右の端だけごく控えめに白く飛ばす
   （モバイルは対象外・変更しない） */

@media (min-width: 769px) {
  .parallax-divider--zoomin .parallax-divider-overlay {
    background:
      linear-gradient(
        to right,
        rgba(255,255,255,0.8) 0%,
        rgba(255,255,255,0) 22%,
        rgba(255,255,255,0) 78%,
        rgba(255,255,255,0.8) 100%
      ),
      rgba(255,255,255,0.35);
  }
}

/* ============================================================
   モバイル：hero-content を全幅に
   ============================================================ */
@media (max-width: 900px) {
  .hero-content {
    max-width: 100%;
    margin-left: 0;
    padding: 0 40px 80px;
  }
}

/* hero-overlay-left のモバイル用強めグラデーションは、
   実際のSP/PC切り替え境界（769px）に合わせて768px以下に限定。
   ※900pxのままだと769〜900pxの範囲（PC版扱い）まで
   誤って上書きしてしまうため分離
   → モバイルでは「左側一列が白く飛びすぎる」ため廃止。
   左上の光は .hero-overlay-top（円形グラデーション）のみで担う */
@media (max-width: 768px) {
  .hero-overlay-left {
    background: linear-gradient(
      to right,
      rgba(255,255,255,0.16) 0%,
      rgba(255,255,255,0.10) 20%,
      rgba(255,255,255,0.04) 35%,
      rgba(255,255,255,0) 50%
    );
  }
}

@media (max-width: 600px) {
  .hero-content {
    max-width: 100%;
    margin-left: 0;
    padding: 0 20px 60px;
  }

  /* スマホ専用：左側の縦帯グラデーションはごく薄めに（変更前より控えめ） */
  .hero-overlay-left {
    background: linear-gradient(
      to right,
      rgba(255,255,255,0.16) 0%,
      rgba(255,255,255,0.10) 20%,
      rgba(255,255,255,0.04) 35%,
      rgba(255,255,255,0) 50%
    );
  }

  .logo-img {
    height: 35px; /* 32px × 1.1 = 10%拡大 */
  }
}

/* ============================================================
   ボタニカルフレグランスコース 追加スタイル
   ============================================================ */

/* --- 課題提起バー（trust-barの流用） --- */
.pain-bar-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 4px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.pain-bar-list .divider { color: var(--border); }

/* --- 選ばれる理由：4カード対応 --- */
.reasons-grid--four {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.reason-num {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  visibility: hidden; /* 数字は非表示。レイアウト（高さ・余白）はそのまま維持 */
}

/* 4カードの場合、テキストのフォントサイズを少し小さく */
.reasons-grid--four .reason-text {
  font-size: 13px;
}

/* --- カリキュラム写真 --- */
.curriculum-photo {
  margin: 56px 0 48px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.curriculum-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(250,248,244,0.18) 0%,
    rgba(250,248,244,0) 30%,
    rgba(250,248,244,0) 70%,
    rgba(250,248,244,0.22) 100%
  ),
  linear-gradient(
    to right,
    rgba(250,248,244,0.88) 0%,
    rgba(250,248,244,0) 18%,
    rgba(250,248,244,0) 82%,
    rgba(250,248,244,0.88) 100%
  );
  pointer-events: none;
}

.curriculum-photo-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 80%;
  display: block;
  transition: transform 8s ease;
}

.curriculum-photo:hover .curriculum-photo-img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .curriculum-photo {
    margin: 40px -20px 36px;
    border-radius: 0;
  }
  .curriculum-photo-img {
    height: 202px;
    object-position: center 100%;
  }
}

/* --- カリキュラム --- */
.curriculum-list {
  border: 1px solid var(--border);
  background: var(--white);
}

.curriculum-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.curriculum-item:hover {
  background: #fafaf8;
}

.curriculum-item--last {
  border-bottom: none;
}

.curriculum-num {
  padding: 28px 24px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-light);
  text-transform: uppercase;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 4px;
}

.curriculum-num span {
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.curriculum-body {
  padding: 28px 36px;
}

.curriculum-body h3 {
  font-family: var(--font-serif-jp);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.curriculum-body p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
}

.curriculum-graduation {
  border-top: 1px solid var(--border);
  padding: 28px 36px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: transparent;
}

.curriculum-graduation-icon {
  font-size: 16px;
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0;
}

.curriculum-graduation-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.curriculum-graduation-label {
  font-family: var(--font-serif-jp);
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.06em;
}

.curriculum-graduation-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* --- Botanical Lesson --- */
.lesson-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 64px;
}

.lesson-card {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 64px;
  align-items: center;
}

.lesson-card--reverse {
  direction: rtl;
}
.lesson-card--reverse > * {
  direction: ltr;
}

.lesson-card-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
}

.lesson-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.4,0,0.2,1);
}

.lesson-card:hover .lesson-card-photo img {
  transform: scale(1.04);
}

.lesson-card-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lesson-card-eyebrow {
  font-family: var(--font-sans-jp);
  font-size: 22px;
  letter-spacing: 0.18em;
  color: #507EA3;
}

.lesson-card-title {
  font-family: var(--font-sans-jp);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: 0.04em;
}

.lesson-card-lead {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.9;
}

.lesson-card-list {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lesson-card-list-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  margin-bottom: 14px;
}

.lesson-card-list ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.lesson-card-list li {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.lesson-card-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #507EA3;
  font-size: 11px;
}

.lesson-card-note {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.9;
  font-style: italic;
}

/* ボタニカルレッスン：詳細ボタン（初期状態からグレー塗りつぶし、ホバーで文字がブルーグレーに） */
.lesson-card-cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: 4px;
  padding: 12px 28px;
  border: 1px solid #B0B0AC;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: center;
  font-family: var(--font-sans-jp);
  background: #B0B0AC;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}

.lesson-card-cta:hover {
  color: var(--text-dark);
}

.lesson-divider {
  width: 1px;
  height: 72px;
  background: transparent;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .lesson-card,
  .lesson-card--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 28px;
  }
  .lesson-card-photo { aspect-ratio: 3 / 2; }
  .lesson-card-title { font-size: 18px; }
  .lesson-card-list ul { grid-template-columns: 1fr; }
  .lesson-divider { height: 48px; }
  .lesson-cards { margin-top: 40px; gap: 0; }
  .lesson-card + .lesson-divider,
  .lesson-divider + .lesson-card { margin-top: 0; }
  .lesson-card-cta { align-self: center; padding: 10px 18px; }
}

/* --- 料金：コース専用レイアウト --- */
.price-course-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.price-course-main {
  padding: 48px 40px;
  background: #FAFAF8;
  border-left: 3px solid #B8D7E8;
  color: var(--charcoal);
}

.price-course-main .price-range-label {
  color: var(--muted);
  margin-bottom: 24px;
}

.price-course-main .price-range-num {
  font-size: 52px;
  color: var(--charcoal);
}

.price-course-main .price-range-yen {
  font-size: 22px;
  color: var(--muted);
}

.price-includes-list {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-includes-list li {
  font-size: 13px;
  color: var(--text);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.price-includes-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-size: 11px;
}

.price-course-info {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
}

.price-info-item {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}

.price-info-item:last-child {
  border-bottom: none;
}

.price-info-item--highlight {
  background: #F5F3F0;
  border-left: 3px solid #507EA3;
  position: relative;
}

.price-info-item--highlight::before {
  display: none;
}

.price-info-item h4 {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.price-info-item p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.85;
}

.price-info-item small {
  font-size: 11px;
  color: var(--text-light);
}

.price-schedule-dates {
  font-size: 12px !important;
  color: var(--text-light) !important;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.price-seats-note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 12px !important;
  color: var(--text-mid) !important;
}

.price-seats-note strong {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
}

/* --- プロフィール：企業実績 --- */
.profile-works {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.profile-works-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.profile-works-list {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  line-height: 2;
}

/* --- レスポンシブ追加 --- */
@media (max-width: 900px) {
  .reasons-grid--four {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .curriculum-item {
    grid-template-columns: 120px 1fr;
  }

  .price-course-wrap {
    grid-template-columns: 1fr;
  }

  .price-course-info {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .curriculum-graduation {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 600px) {
  .reasons-grid--four {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .curriculum-item {
    grid-template-columns: 1fr;
  }

  .curriculum-num {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
  }

  .curriculum-body {
    padding: 20px;
  }

  .price-course-main {
    padding: 32px 24px;
  }

  .price-course-main .price-range-num {
    font-size: 40px;
  }

  .price-info-item {
    padding: 20px 24px;
  }
}


/* ============================================================
   parallax-divider スクロールエフェクト
   ============================================================ */
.parallax-divider--reveal:not(.parallax-divider--zoomin) {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.parallax-divider--reveal:not(.parallax-divider--zoomin).pdr-visible {
  opacity: 1;
  transform: scale(1);
}

.parallax-divider--reveal:not(.parallax-divider--zoomin) .parallax-divider-img {
  transition: transform 1.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.88);
}

.parallax-divider--reveal:not(.parallax-divider--zoomin).pdr-visible .parallax-divider-img {
  transform: scale(0.82);
}


/* ============================================================
   reason-card 写真背景：ホバーでフワッと写真を見せる
   ============================================================ */
.reason-card--photo .reason-card-bg-img {
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.06);
}

.reason-card--photo:hover .reason-card-bg-img {
  transform: scale(1.12);
}

.reason-card--photo .reason-card-overlay {
  transition: opacity 0.8s ease;
}

.reason-card--photo:hover .reason-card-overlay {
  opacity: 0.65;
}


/* ============================================================
   section-header フェードイン（上品な遅延）
   ============================================================ */
.section-header.reveal {
  transition-duration: 0.9s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}


/* ============================================================
   reveal：全体的にやわらかく（translateY を小さく・easing調整）
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   parallax-divider：モバイル専用スクロールフェードアウト
   ============================================================ */
@media (max-width: 768px) {
  .parallax-divider {
    /* 上下フェード用マスク（常時） */
    -webkit-mask-image:
      linear-gradient(
        to bottom,
        rgba(0,0,0,0)   0%,
        rgba(0,0,0,1)  16%,
        rgba(0,0,0,1)  76%,
        rgba(0,0,0,0) 100%
      );
    mask-image:
      linear-gradient(
        to bottom,
        rgba(0,0,0,0)   0%,
        rgba(0,0,0,1)  16%,
        rgba(0,0,0,1)  76%,
        rgba(0,0,0,0) 100%
      );
    /* JS で height・opacity を直接書き換えるため overflow: hidden が必要 */
    overflow: hidden;
    /* 高さの変化をスムーズに */
    will-change: height, opacity;
  }

  /* 指定の2枚（photo_16 / photo_17）：最初から元サイズの長方形で表示し、
     スクロールに応じて写真自体はそのまま被写体にズームインする */
  .parallax-divider--zoomin {
    /* 固定480pxの高さは狭いモバイル幅では縦長に見えてしまうため、
       横長比率（3:2）で常に横長のまま表示されるようにする */
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .parallax-divider--zoomin.parallax-divider--reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .parallax-divider--zoomin .parallax-divider-img {
    transform: scale(1);
    transition: none;
    will-change: transform;
  }

  .parallax-divider--zoomin.parallax-divider--reveal.pdr-visible .parallax-divider-img {
    transform: scale(1);
  }
}
