/* ============================================================
   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; }

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 27px;
  background: var(--white);
  color: #A07850;
  font-family: var(--font-sans-jp);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 1.5px solid #A07850;
  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: #A07850;
}

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

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

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

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

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

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

.section-eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif-jp);
  font-size: 32px;
  font-weight: 400;
  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: #A07850;
}

.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;
}

.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;

}

.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;
  transition: opacity 0.4s ease;
}

.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: var(--text-dark);
  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: #A07850;
  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: 14px 0;
  text-align: center;
  background: transparent;
  color: #A07850 !important;
  letter-spacing: 0.1em;
  border: 1.5px solid #A07850 !important;
  border-bottom: 1.5px solid #A07850 !important;
  /* button要素リセット */
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

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

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

@media (min-width: 769px) {
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
      radial-gradient(ellipse 50% 35% at 0% 0%,   rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%),
      radial-gradient(ellipse 50% 35% at 100% 0%,  rgba(255,255,255,0.80) 0%, rgba(255,255,255,0) 100%),
      radial-gradient(ellipse 50% 35% at 0% 100%,  rgba(255,255,255,0.80) 0%, rgba(255,255,255,0) 100%),
      radial-gradient(ellipse 50% 35% at 100% 100%,rgba(255,255,255,0.80) 0%, rgba(255,255,255,0) 100%),
      linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.80) 20%, rgba(255,255,255,0.40) 38%, rgba(255,255,255,0) 52%);
  }
}

.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;
}

/* モバイルデフォルト：SP画像を表示、PC画像を非表示 */
.slide-img--sp { display: block; }
.slide-img--pc { display: none; }

/* PC（769px以上）：PC画像を表示、SP画像を非表示 */
@media (min-width: 769px) {
  .slide-img--sp { display: none; }
  .slide-img--pc {
    display: block;
    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-left {
    background: linear-gradient(
      to right,
      rgba(255,255,255,0.92) 0%,
      rgba(255,255,255,0.70) 20%,
      rgba(255,255,255,0.35) 40%,
      rgba(255,255,255,0.08) 58%,
      rgba(255,255,255,0) 70%,
      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 0% 0%,   rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 100%),
      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.2) 80%,
    rgba(255,255,255,0.6) 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: linear-gradient(
    to bottom,
    rgba(255,255,255,0.10) 0%,
    rgba(255,255,255,0.03) 50%,
    rgba(255,255,255,0) 100%
  );
  z-index: 1;
  filter: blur(0.5px);
}

/* 左側テキストエリアの強い白フェード */
.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;
}

/* 右端：写真の途切れ目を白くフェードアウト */
.hero-overlay-right {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(255,255,255,0.7) 0%,
    rgba(255,255,255,0.5) 3%,
    rgba(255,255,255,0.2) 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-serif-jp);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--text-dark);
}

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

/* ============================================================
   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;
}

.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-img-frame {
  position: relative;
}

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

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

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

.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 { margin-bottom: 16px; }

.profile-name {
  font-family: 'Noto Serif JP', 'Yu Mincho', '游明朝', 'Hiragino Mincho ProN', serif;
  font-size: 32px;
  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: #f0ebe4;
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(160, 120, 80, 0.15);
  z-index: 1;
}

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

.stat-link-hint {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #A07850;
  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: var(--text-dark);
  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;
}

.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;
}

.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-serif-jp);
  font-size: 36px;
  font-weight: 400;
  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;
}

/* 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;
  align-items: center;
  justify-content: space-between;
}

.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;
}

/* ============================================================
   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; }

  .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; }

  .site-footer .container { flex-direction: column; gap: 16px; text-align: center; }
}

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

  .container { padding: 0 20px; }

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

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

  .section-title { font-size: 24px; }
  .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: 26px; }

  .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: 28px; }

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

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

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

/* ============================================================
   ヒーロー：緑背景スライド等の文字保護
   ============================================================ */
/* 緑・暗い背景の写真スライドでも文字が見えるよう、
   左側オーバーレイを十分に白くしている。
   個別スライドへの追加輝度調整（lesson_scene2 = 緑背景）*/
.hero-slide:nth-child(3) {
  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;
  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;
}

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

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

  .hero-overlay-left {
    background: linear-gradient(
      to right,
      rgba(255,255,255,0.96) 0%,
      rgba(255,255,255,0.80) 35%,
      rgba(255,255,255,0.45) 55%,
      rgba(255,255,255,0.1) 70%,
      rgba(255,255,255,0) 100%
    );
  }
}

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

  /* スマホ専用：グラデーションをさらに緩く（3分の2まで写真が見える） */
  .hero-overlay-left {
    background: linear-gradient(
      to right,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.75) 30%,
      rgba(255,255,255,0.35) 55%,
      rgba(255,255,255,0.05) 67%,
      rgba(255,255,255,0) 100%
    );
  }

  .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;
}

/* 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;
}

/* --- 料金：コース専用レイアウト --- */
.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 {
  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.pdr-visible {
  opacity: 1;
  transform: scale(1);
}

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

.parallax-divider--reveal.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;
  }
}
