/* ============================================================================
   ファイル名: landing.css
   パス: app/assets/stylesheets/landing.css

   概要: ランディングページ全体のスタイル定義。ヒーロー・特徴紹介・料金プラン・
         FAQ・フッター等の全セクションとアニメーションを含む。
         デザインリファレンス: lecrans.com（エレガンス・余白・モーション）

   更新日: 2026-03-09
   リファクタリング基準（コメント行除外）:
     500行未満: 完璧 / 800行未満: 問題なし / 1200行未満: 要検討 / 1200行以上: 必須
   現在の実コード行数: 約1,625行 → リファクタリング必須

   セクション構成:
     1. CSS変数定義（:root） ............. カラー、タイポグラフィ、スペーシング、アニメーション
     2. 背景効果 ......................... グラデーションオーブ（紫/金）、パーティクルアニメーション
     3. リセット・ベースレイアウト ....... Tailwind競合回避（!important）、ナビゲーション
     4. ヘッダー・言語セレクタ ........... 固定ヘッダー（z-index:1000）、カスタムドロップダウン
     5. ボタン・セクション共通 ........... primary/secondary/ghost/large CTAボタン
     6. ヒーローセクション ............... ニュートン引用句、タイピングアニメーション、CTA
     7. 問題提起セクション ............... カルーセル（3D perspective:1200px 回転）
     8. ソリューションセクション ......... Before/After比較カード（赤/緑）
     9. 特徴セクション ................... 機能紹介グリッド（auto-fit + minmax）
    10. 料金プランセクション ............. カルーセル（3D perspective:1200px 回転）
    11. フィロソフィーセクション ......... チームメッセージ
    12. CTAセクション .................... 最終CTA + ラジアルグラデーション背景
    13. フッターセクション ............... リンク、著作権表示
    14. アニメーション定義 ............... gradient-shift, pulse-glow, スクロールトリガー
    15. レスポンシブ対応 ................. 768px（タブレット）/ 480px（スマートフォン）

   【リファクタリング提案】（2026-03-09 更新）
     このファイルは約1,625行あり、リファクタリングが必須です。
     Phase 1: セクション別分離（最優先）
       1. landing_hero.css: ヒーロー + 引用句（約200行）
       2. landing_features.css: 機能紹介セクション（約300行）
       3. landing_pricing.css: 料金プランカルーセル（約200行）
       4. landing_footer.css: フッターセクション（約100行）
       5. landing_animations.css: アニメーション定義（約200行）
       上記5つを分離すると本ファイルは約625行で「問題なし」基準を達成
     Phase 2: アニメーション重複の解消
       - @keyframes float-orb-gold, float-orb, shimmer-gold, pulse, gradient-shift が
         _animations.scss と重複 → SCSS側に統合して共有
     Phase 3: CSS変数の活用
       - グラデーション色、カルーセル遷移をCSS変数に統一
       - テーマカスタマイズを容易に

   【変更履歴】
     2026-03-09: ヘッダーコメント統一フォーマットに更新
     2026-03-07: セクション構成コメント追加
     2026-01-25: Propshaft::MissingAssetError 発生によりgit履歴(0dfbef8)から復元
     2026-01-11: ニュートン引用句セクション追加
     2026-01-09: 初版コメント追加・リファクタリング提案作成

   【関連ファイル】
     - app/assets/stylesheets/landing/_animations.scss: SCSS版アニメーション定義
     - app/views/layouts/landing.html.erb: ランディングページレイアウト
     - app/views/landing/sections/_hero.html.erb: ヒーローセクションパーシャル
     - public/javascripts/landing_page.js: ランディングページJS（カルーセル・スクロール）
     - spec/config/landing_assets_spec.rb: アセット存在確認テスト
============================================================================ */

/* ----------------------------------------
   セクション1: CSS変数定義
   ランディングページ専用のカスタムプロパティ。
   カラー・タイポグラフィ・スペーシング・アニメーション速度を定義。
   ---------------------------------------- */
:root {
  /* Colors */
  --landing-bg: #0a0a0f;
  --landing-bg-secondary: #12121a;
  --landing-text: var(--text-primary);
  --landing-text-muted: #9ca3af;
  --landing-accent: #6366f1;
  --landing-accent-hover: #818cf8;
  --landing-gradient-start: #6366f1;
  --landing-gradient-end: #a855f7;
  --landing-card-bg: rgba(255, 255, 255, 0.03);
  --landing-card-border: var(--border-secondary);
  --landing-positive: #22c55e;
  --landing-negative: #ef4444;

  /* Gold accent colors */
  --landing-gold: #d4af37;
  --landing-gold-light: #f4d03f;
  --landing-gold-dark: #b8960c;
  --landing-gold-glow: rgba(212, 175, 55, 0.3);

  /* Typography */
  --landing-font-display: "Inter", system-ui, -apple-system, sans-serif;
  --landing-font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing */
  --landing-section-padding: 120px;
  --landing-container-max: 1280px;
  --landing-container-padding: 24px;

  /* Animation */
  --landing-transition-fast: 0.2s ease;
  --landing-transition-base: 0.3s ease;
  --landing-transition-slow: 0.5s ease;
}

/* ----------------------------------------
   セクション2: 背景効果・ベースレイアウト
   ランディングページの基本レイアウトとグラデーションオーブ効果。
   紫(#6366f1)とゴールド(#d4af37)の放射状グラデーションが
   浮遊アニメーションで背景を彩る。Tailwindリセットも含む。
   ---------------------------------------- */
.landing-body {
  min-height: 100vh;
  background: var(--landing-bg);
  color: var(--landing-text);
  font-family: var(--landing-font-body);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Subtle background effects */
.landing-body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 100% 100% at 20% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 90% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse 80% 80% at 80% 100%, rgba(168, 85, 247, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(244, 208, 63, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* 紫オーブ（大型装飾球体）: 右上から浮遊するアニメーション
   z-index:0 で背景レイヤーに配置、float-orb で20秒周期の浮遊 */
.landing-body::after {
  content: '';
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  border-radius: 50%;
  animation: float-orb 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* 金オーブ（大型装飾球体）: 左下から浮遊するアニメーション
   z-index:0 で背景レイヤーに配置、float-orb-gold で25秒周期の浮遊 */
.landing-main::before {
  content: '';
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(244, 208, 63, 0.03) 40%, transparent 70%);
  bottom: 10%;
  left: -100px;
  border-radius: 50%;
  animation: float-orb-gold 25s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes float-orb-gold {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  25% { transform: translate(80px, -50px) scale(1.2); opacity: 0.8; }
  50% { transform: translate(50px, -100px) scale(0.9); opacity: 0.5; }
  75% { transform: translate(100px, -30px) scale(1.1); opacity: 0.7; }
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-50px, 100px) scale(1.1); }
  50% { transform: translate(-100px, 50px) scale(0.9); }
  75% { transform: translate(-30px, 150px) scale(1.05); }
}

/* Hero particle float animations (moved from inline style in landing.html.erb) */
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-20px) translateX(10px); opacity: 0.8; }
  50% { transform: translateY(-10px) translateX(-10px); opacity: 0.5; }
  75% { transform: translateY(-30px) translateX(5px); opacity: 0.7; }
}

@keyframes float-gold {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.4; }
  20% { transform: translateY(-15px) translateX(15px) scale(1.2); opacity: 0.9; }
  40% { transform: translateY(-25px) translateX(-5px) scale(0.9); opacity: 0.6; }
  60% { transform: translateY(-10px) translateX(-15px) scale(1.1); opacity: 0.8; }
  80% { transform: translateY(-20px) translateX(10px) scale(1); opacity: 0.5; }
}

.landing-main {
  position: relative;
  z-index: 1;
}

/* Reset Tailwind conflicts - Use !important to override */
.landing-body,
.landing-body *,
.landing-body *::before,
.landing-body *::after {
  box-sizing: border-box !important;
}

.landing-body {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.landing-body a {
  color: inherit;
  text-decoration: none;
}

.landing-body h1,
.landing-body h2,
.landing-body h3,
.landing-body h4,
.landing-body h5,
.landing-body h6 {
  margin: 0;
  font-weight: inherit;
  font-size: inherit;
}

.landing-body p {
  margin: 0;
}

.landing-body ul,
.landing-body ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-body button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.landing-main {
  padding-top: 80px; /* Header height offset */
}

/* ----------------------------------------
   セクション3: ヘッダー（固定ナビゲーション）
   スクロール時にglassmorphic背景（blur(20px)）が表示される。
   ロゴ・ナビリンク・言語切替・CTAボタンを含む。
   z-index: 1000 で全要素より前面に配置。
   ---------------------------------------- */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--landing-transition-base),
              backdrop-filter var(--landing-transition-base);
}

.landing-header--scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--landing-card-border);
}

.landing-header__container {
  max-width: var(--landing-container-max);
  margin: 0 auto;
  padding: 0 var(--landing-container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-header__logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--landing-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-header__logo-icon {
  width: 32px;
  height: 32px;
}

.landing-header__logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.landing-header__logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--landing-text);
}

.landing-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.landing-header__link,
.landing-header__nav-link {
  color: var(--landing-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--landing-transition-fast);
}

.landing-header__link:hover,
.landing-header__nav-link:hover {
  color: var(--landing-text);
}

.landing-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ----------------------------------------
   セクション3-b: 言語セレクター（カスタムドロップダウン）
   国旗アイコン付きの言語切替UI。glassmorphic背景のメニュー。
   .is-open クラスで表示/非表示を切替（opacity + transform）。
   ---------------------------------------- */
.landing-lang {
  position: relative;
}

.landing-lang__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--landing-text-primary);
  cursor: pointer;
  transition: all var(--landing-transition-fast);
}

.landing-lang__trigger:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.landing-lang__flag {
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.landing-lang__code {
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.landing-lang__name {
  font-weight: 500;
}

.landing-lang__arrow {
  margin-left: 2px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.landing-lang.is-open .landing-lang__arrow {
  transform: rotate(180deg);
}

.landing-lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  max-height: 320px;
  overflow-y: auto;
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.landing-lang.is-open .landing-lang__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.landing-lang__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--text-primary);
}

.landing-lang__item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.landing-lang__item--active {
  background: rgba(99, 102, 241, 0.2);
  color: var(--text-primary);
}

.landing-lang__item--active::after {
  content: '';
  margin-left: auto;
  width: 6px;
  height: 6px;
  background: var(--landing-accent-primary);
  border-radius: 50%;
}

.landing-lang__item-code {
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  min-width: 24px;
}

.landing-lang__item-name {
  font-weight: 500;
  font-size: 0.9rem;
}

/* ----------------------------------------
   セクション3-c: ボタンスタイル
   primary: 紫グラデーション背景 + ホバー浮遊。
   secondary: 透明背景 + ボーダー。ghost: テキストリンク風。
   large: CTA用の大きめパディング。
   ---------------------------------------- */
.landing-btn,
.landing-header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--landing-transition-fast);
  cursor: pointer;
  border: none;
}

.landing-btn--primary,
.landing-header__btn--primary {
  background: linear-gradient(135deg, var(--landing-gradient-start), var(--landing-gradient-end));
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.landing-btn--primary:hover,
.landing-header__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.4);
}

.landing-btn--secondary,
.landing-header__btn--secondary {
  background: transparent;
  color: var(--landing-text);
  border: 1px solid var(--landing-card-border);
}

.landing-btn--secondary:hover,
.landing-header__btn--secondary:hover {
  background: var(--landing-card-bg);
  border-color: var(--landing-text-muted);
}

.landing-btn--large {
  padding: 16px 32px;
  font-size: 1rem;
}

.landing-btn--ghost {
  background: transparent;
  color: var(--landing-text-muted);
  padding: 8px 16px;
}

.landing-btn--ghost:hover {
  color: var(--landing-text);
}

.landing-btn__icon {
  width: 20px;
  height: 20px;
}

/* ----------------------------------------
   セクション4: セクション共通ベーススタイル
   全セクション共通のパディング・コンテナ幅・タイトル・サブタイトル。
   タイトルはグラデーションテキスト（background-clip: text）。
   コンテナ最大幅: var(--landing-container-max) = 1280px。
   ---------------------------------------- */
.landing-section {
  padding: var(--landing-section-padding) 0;
  position: relative;
}

.landing-section__container {
  max-width: var(--landing-container-max);
  margin: 0 auto;
  padding: 0 var(--landing-container-padding);
}

.landing-section__title {
  font-family: var(--landing-font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--landing-text), var(--landing-text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-section__subtitle {
  text-align: center;
  color: var(--landing-text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* ----------------------------------------
   セクション5: ヒーローセクション
   ファーストビュー（100vh）。グリッドパターン背景・紫＋ゴールドの
   放射状グラデーション・ゴールドシマーライン・パーティクルアニメーション。
   バッジ（稼働状況ドット）・タイトル・CTA・統計数値を含む。
   ---------------------------------------- */
.landing-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.landing-hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Subtle grid pattern */
.landing-hero__background::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}

.landing-hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.25), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(168, 85, 247, 0.15), transparent 60%),
    radial-gradient(ellipse 40% 30% at 70% 60%, rgba(212, 175, 55, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(99, 102, 241, 0.1), transparent 50%);
  animation: gradient-shift 15s ease-in-out infinite;
}

/* Gold shimmer line */
.landing-hero__gradient::after {
  content: '';
  position: absolute;
  top: 30%;
  left: -100%;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212, 175, 55, 0) 20%,
    rgba(212, 175, 55, 0.4) 50%,
    rgba(212, 175, 55, 0) 80%,
    transparent 100%);
  animation: shimmer-gold 8s ease-in-out infinite;
  transform: rotate(-5deg);
}

@keyframes shimmer-gold {
  0% { transform: translateX(-30%) rotate(-5deg); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translateX(30%) rotate(-5deg); opacity: 1; }
  60% { opacity: 0; }
  100% { transform: translateX(30%) rotate(-5deg); opacity: 0; }
}

.landing-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
}

.landing-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--landing-container-padding);
}

.landing-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--landing-text-muted);
  margin-bottom: 32px;
}

.landing-hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--landing-positive);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.landing-hero__title {
  font-family: var(--landing-font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.landing-hero__title-gradient {
  background: linear-gradient(135deg, var(--landing-gradient-start), var(--landing-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----------------------------------------
   ニュートン引用句セクション（2026-01-11追加）
   ----------------------------------------
   【概要】ヒーローセクションのメインコンテンツ
   【構成】quote → lead → main_message → closing の4要素
   【アニメーション】フェードイン（1秒→3秒→5秒→8秒）
   【関連】app/views/landing/sections/_hero.html.erb
   ---------------------------------------- */

/* 引用句: ニュートンの名言
   - イタリック体で引用らしさを演出
   - 白色で視認性確保 */
.landing-hero__quote {
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 32px;
  line-height: 1.6;
  font-style: italic;
}

/* 導入文: 引用句の現代的解釈
   - white-space: pre-line でYAMLの改行を維持
   - 引用句と同じフォントサイズで統一感 */
.landing-hero__lead {
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 32px;
  line-height: 1.6;
  white-space: pre-line;
}

/* メインメッセージ: WeProcessの価値提案
   - グレー色で引用句との差別化
   - 小さめフォントで詳細説明感
   - 行間広めで読みやすさ確保 */
.landing-hero__message {
  font-size: 18px;
  color: #a0a0a0;
  margin-bottom: 40px;
  line-height: 1.8;
  white-space: pre-line;
}

/* 締めくくり: CTAへの誘導文
   - 太字で強調
   - CTAボタンとの余白を十分に確保（80px） */
.landing-hero__closing {
  font-size: 22px;
  color: var(--landing-text-primary);
  margin-bottom: 80px;
  line-height: 1.6;
  font-weight: 600;
}

/* ----------------------------------------
   フェードインアニメーション用クラス（2026-01-11追加）
   ----------------------------------------
   【仕組み】
   1. 初期状態: opacity: 0, translateY(20px) で非表示
   2. JSがtransitionを設定後、opacity: 1, translateY(0)に変更
   3. CSSトランジションで滑らかにフェードイン

   【注意】
   - min-height: 要素が非表示でもレイアウト崩れを防止
   - opacity: 0 は必須（JSでアニメーション開始時に1に変更）
   ---------------------------------------- */
.landing-hero__typing {
  opacity: 0;
  transform: translateY(20px);
  min-height: 1.5em;
}

/* 以下はレガシー互換性のため残存（現在未使用） */
.landing-hero__typing--active {
  text-align: left !important;
}

.landing-hero__typing--complete {
  text-align: center !important;
}

.landing-hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--landing-text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.landing-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.landing-hero__stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.landing-hero__stat {
  text-align: center;
}

.landing-hero__stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--landing-text);
}

.landing-hero__stat-label {
  font-size: 0.85rem;
  color: var(--landing-text-muted);
}

/* ----------------------------------------
   セクション6: 問題提起セクション（カルーセル）
   3D perspective付きカルーセルで課題カードを表示。
   .is-active: 中央のアクティブカード（z-index:3, 赤ボーダー）。
   .is-side-left/.is-side-right: 左右の半透明カード（scale 0.82）。
   .is-far-left/.is-far-right: 画面外の非表示カード。
   ナビ矢印: glassmorphicピル型 + ゴールドグロー。
   ---------------------------------------- */
.landing-problem {
  background: var(--landing-bg-secondary);
}

.landing-problem__carousel {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 16px;
  perspective: 1200px;
}

.landing-problem__stage {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  min-height: 320px;
  overflow: hidden;
  padding: 20px 0;
}

.landing-problem__card {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 420px;
  padding: 36px;
  background: rgba(20, 20, 30, 0.7);
  border: 1px solid var(--landing-card-border);
  border-radius: 20px;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
              opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
              box-shadow 0.6s ease,
              border-color 0.6s ease,
              background 0.6s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
}

/* Center card (active) - solid premium background */
.landing-problem__card.is-active {
  opacity: 1;
  transform: translateX(0) scale(1) rotateY(0deg);
  z-index: 3;
  pointer-events: auto;
  background: rgba(20, 20, 30, 0.95);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(239, 68, 68, 0.1);
}

/* Side cards (±1 position from center) - translucent */
.landing-problem__card.is-side-left {
  opacity: 0.5;
  transform: translateX(-95%) scale(0.82) rotateY(8deg);
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
  background: rgba(20, 20, 30, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.landing-problem__card.is-side-right {
  opacity: 0.5;
  transform: translateX(95%) scale(0.82) rotateY(-8deg);
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
  background: rgba(20, 20, 30, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Far cards (±2 positions, hidden) */
.landing-problem__card.is-far-left {
  opacity: 0;
  transform: translateX(-130%) scale(0.65) rotateY(12deg);
  z-index: 1;
}

.landing-problem__card.is-far-right {
  opacity: 0;
  transform: translateX(130%) scale(0.65) rotateY(-12deg);
  z-index: 1;
}

/* Hover on side cards */
.landing-problem__card.is-side-left:hover,
.landing-problem__card.is-side-right:hover {
  opacity: 0.7;
}

.landing-problem__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  padding: 13px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 14px;
  color: var(--landing-negative);
}

.landing-problem__card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.landing-problem__card-text {
  color: var(--landing-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Navigation Arrows - Luxury Glassmorphism Pill (Grid-placed) */
.landing-problem__nav {
  grid-row: 1;
  width: 100%;
  height: 140px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  padding: 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.landing-problem__nav-glow {
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(212, 175, 55, 0.15) 30%,
    rgba(212, 175, 55, 0.25) 50%,
    rgba(212, 175, 55, 0.15) 70%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.landing-problem__nav:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.06);
  color: var(--landing-gold-light);
  transform: scaleY(1.04);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.12),
              0 0 24px rgba(212, 175, 55, 0.06),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.landing-problem__nav:hover .landing-problem__nav-glow {
  opacity: 1;
}

.landing-problem__nav:active {
  transform: scaleY(0.97);
  transition-duration: 0.1s;
}

.landing-problem__nav--prev {
  grid-column: 1;
}

.landing-problem__nav--next {
  grid-column: 3;
}

.landing-problem__nav svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.landing-problem__nav--prev:hover svg {
  transform: translateX(-2px);
}

.landing-problem__nav--next:hover svg {
  transform: translateX(2px);
}

/* Dot Indicators */
.landing-problem__dots {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.landing-problem__dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--landing-card-border);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.landing-problem__dot:hover {
  background: rgba(239, 68, 68, 0.4);
}

.landing-problem__dot--active {
  background: var(--landing-negative);
  transform: scale(1.3);
}

/* ----------------------------------------
   セクション7: ソリューションセクション（Before/After比較）
   左右2カラムで導入前(赤系)と導入後(緑系)を比較。
   中央に矢印アイコン。768px以下で縦並びに変更。
   ---------------------------------------- */
.landing-solution__comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.landing-solution__before,
.landing-solution__after {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  padding: 32px;
  border-radius: 16px;
}

.landing-solution__before {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.landing-solution__after {
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.landing-solution__label {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.landing-solution__label--before {
  background: rgba(239, 68, 68, 0.15);
  color: var(--landing-negative);
}

.landing-solution__label--after {
  background: rgba(34, 197, 94, 0.15);
  color: var(--landing-positive);
}

.landing-solution__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.landing-solution__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.landing-solution__item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.landing-solution__item--negative svg {
  color: var(--landing-negative);
}

.landing-solution__item--positive svg {
  color: var(--landing-positive);
}

.landing-solution__arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 50%;
  color: var(--landing-accent);
}

/* ----------------------------------------
   セクション8: 機能紹介セクション
   auto-fitグリッドで機能カードを配置（最小260px）。
   各カードにカラー付きアイコン: ホワイトボード(紫)・カンバン(緑)・
   プロジェクト(オレンジ)・多言語(シアン)。ホバーで浮遊+紫ボーダー。
   ---------------------------------------- */
.landing-features {
  background: var(--landing-bg-secondary);
}

.landing-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.landing-features__card {
  padding: 32px;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 16px;
  transition: all var(--landing-transition-base);
}

.landing-features__card:hover {
  transform: translateY(-4px);
  border-color: var(--landing-accent);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.landing-features__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  padding: 12px;
  border-radius: 12px;
  color: white;
}

.landing-features__icon--whiteboard {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.landing-features__icon--kanban {
  background: linear-gradient(135deg, #22c55e, #10b981);
}

.landing-features__icon--project {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.landing-features__icon--language {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.landing-features__card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.landing-features__card-text {
  color: var(--landing-text-muted);
  font-size: 0.95rem;
}

/* ----------------------------------------
   セクション9: 料金プランセクション（カルーセル）
   月額/年額トグル付き。問題提起と同じ3Dカルーセル構造。
   おすすめプランは紫ボーダー+グラデーション背景。
   SVGチェックマークで機能リストを表示。
   ---------------------------------------- */
.landing-pricing__toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  padding: 4px;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 100px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.landing-pricing__toggle-btn {
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--landing-text-muted);
  background: transparent;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--landing-transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-pricing__toggle-btn--active {
  background: var(--landing-accent);
  color: white;
}

.landing-pricing__toggle-badge {
  padding: 2px 8px;
  background: rgba(34, 197, 94, 0.2);
  color: var(--landing-positive);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
}

/* Carousel Layout */
.landing-pricing__carousel {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 16px;
  perspective: 1200px;
}

.landing-pricing__stage {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  min-height: 480px;
  overflow: hidden;
  padding: 20px 0;
}

.landing-pricing__slide {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 380px;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
              opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
}

.landing-pricing__slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1) rotateY(0deg);
  z-index: 3;
  pointer-events: auto;
}

.landing-pricing__slide.is-side-left {
  opacity: 0.5;
  transform: translateX(-95%) scale(0.82) rotateY(8deg);
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}

.landing-pricing__slide.is-side-left:hover {
  opacity: 0.7;
}

.landing-pricing__slide.is-side-right {
  opacity: 0.5;
  transform: translateX(95%) scale(0.82) rotateY(-8deg);
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}

.landing-pricing__slide.is-side-right:hover {
  opacity: 0.7;
}

.landing-pricing__slide.is-far-left {
  opacity: 0;
  transform: translateX(-130%) scale(0.65) rotateY(12deg);
  z-index: 1;
}

.landing-pricing__slide.is-far-right {
  opacity: 0;
  transform: translateX(130%) scale(0.65) rotateY(-12deg);
  z-index: 1;
}

/* Active slide card border highlight */
.landing-pricing__slide.is-active > .landing-pricing__card {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.landing-pricing__slide.is-active > .landing-pricing__card--featured {
  border-color: var(--landing-accent);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.2);
}

/* Navigation Arrows - Glassmorphism with Gold Glow */
.landing-pricing__nav {
  grid-row: 1;
  width: 100%;
  height: 140px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  padding: 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.landing-pricing__nav:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.06);
  color: var(--landing-gold-light);
  transform: scaleY(1.04);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.12),
              0 0 24px rgba(212, 175, 55, 0.06),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.landing-pricing__nav:hover .landing-pricing__nav-glow {
  opacity: 1;
}

.landing-pricing__nav:active {
  transform: scaleY(0.97);
  transition-duration: 0.1s;
}

.landing-pricing__nav-glow {
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(212, 175, 55, 0.15) 30%,
    rgba(212, 175, 55, 0.25) 50%,
    rgba(212, 175, 55, 0.15) 70%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.landing-pricing__nav--prev { grid-column: 1; }
.landing-pricing__nav--next { grid-column: 3; }

.landing-pricing__nav svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.landing-pricing__nav--prev:hover svg { transform: translateX(-2px); }
.landing-pricing__nav--next:hover svg { transform: translateX(2px); }

/* Dot Indicators */
.landing-pricing__dots {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.landing-pricing__dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--landing-card-border);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.landing-pricing__dot:hover {
  background: rgba(99, 102, 241, 0.4);
}

.landing-pricing__dot--active {
  background: var(--landing-accent);
  transform: scale(1.3);
}

/* Plan Card */
.landing-pricing__card {
  position: relative;
  padding: 32px;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 20px;
  transition: all var(--landing-transition-base);
}

.landing-pricing__card--featured {
  border-color: var(--landing-accent);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.1), var(--landing-card-bg));
}

.landing-pricing__recommended {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--landing-gradient-start), var(--landing-gradient-end));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  white-space: nowrap;
}

.landing-pricing__card-header {
  margin-bottom: 24px;
}

.landing-pricing__tier {
  display: inline-block;
  padding: 4px 12px;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--landing-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.landing-pricing__plan-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.landing-pricing__price {
  margin-bottom: 24px;
  min-height: 80px;
}

.landing-pricing__amount {
  font-size: 2.5rem;
  font-weight: 800;
}

.landing-pricing__period {
  font-size: 0.9rem;
  color: var(--landing-text-muted);
}

.landing-pricing__monthly-equivalent {
  font-size: 0.85rem;
  color: var(--landing-text-muted);
  margin-top: 4px;
}

.landing-pricing__discount-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--landing-positive);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  vertical-align: middle;
}

.landing-pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.landing-pricing__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--landing-text-muted);
}

.landing-pricing__features li::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--landing-positive);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  mask-size: contain;
  flex-shrink: 0;
}

.landing-pricing__cta {
  display: block;
  width: 100%;
  padding: 14px 24px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--landing-text);
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 10px;
  text-decoration: none;
  transition: all var(--landing-transition-fast);
  cursor: pointer;
}

.landing-pricing__cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--landing-text-muted);
}

.landing-pricing__cta--featured {
  background: linear-gradient(135deg, var(--landing-gradient-start), var(--landing-gradient-end));
  border: none;
  color: white;
}

.landing-pricing__cta--featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

/* ----------------------------------------
   セクション10: 開発哲学セクション
   中央揃え（max-width: 800px）のテキストコンテンツ。
   開発者の想いや署名を表示。背景は --landing-bg-secondary。
   ---------------------------------------- */
.landing-philosophy {
  background: var(--landing-bg-secondary);
}

.landing-philosophy__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.landing-philosophy__title {
  font-family: var(--landing-font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 32px;
}

.landing-philosophy__text {
  color: var(--landing-text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.landing-philosophy__text p {
  margin-bottom: 20px;
}

.landing-philosophy__signature {
  margin-top: 40px;
}

.landing-philosophy__signature-text {
  font-style: italic;
  color: var(--landing-text-muted);
}

/* ----------------------------------------
   セクション11: CTAセクション（最終行動喚起）
   下部に紫のグラデーション背景効果。中央揃えのタイトル・
   サブタイトル・ボタン群・補足テキストを配置。
   ---------------------------------------- */
.landing-cta {
  position: relative;
  overflow: hidden;
}

.landing-cta__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.landing-cta__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 120%, rgba(99, 102, 241, 0.2), transparent);
}

.landing-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.landing-cta__title {
  font-family: var(--landing-font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.landing-cta__subtitle {
  color: var(--landing-text-muted);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

.landing-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.landing-cta__note {
  font-size: 0.85rem;
  color: var(--landing-text-muted);
}

/* ----------------------------------------
   セクション12: フッター
   上部ボーダー線で区切り。ロゴ・タグライン・リンク群を
   flexboxで横並び配置。著作権表示は全幅中央揃え。
   768px以下で縦並びに変更。
   ---------------------------------------- */
.landing-footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--landing-card-border);
}

.landing-footer__container {
  max-width: var(--landing-container-max);
  margin: 0 auto;
  padding: 0 var(--landing-container-padding);
}

.landing-footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.landing-footer__logo,
.landing-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.landing-footer__logo span,
.landing-footer__brand span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--landing-text);
}

.landing-footer__tagline {
  font-size: 0.85rem;
  color: var(--landing-text-muted);
  margin: 0;
}

.landing-footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.landing-footer__link {
  color: var(--landing-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--landing-transition-fast);
}

.landing-footer__link:hover {
  color: var(--landing-text);
}

.landing-footer__copyright {
  width: 100%;
  text-align: center;
  color: var(--landing-text-muted);
  font-size: 0.85rem;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--landing-card-border);
}

/* ----------------------------------------
   セクション13: アニメーション定義
   gradient-shift: ヒーロー背景のスケール+回転アニメ。
   pulse-glow: ボタンの発光パルス。
   animate-on-scroll: スクロール連動フェードイン（JSと連携）。
   機能カードには0.1秒刻みのstaggered delay。
   ---------------------------------------- */
@keyframes gradient-shift {
  0%, 100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  33% {
    opacity: 0.8;
    transform: scale(1.1) rotate(1deg);
  }
  66% {
    opacity: 0.9;
    transform: scale(0.95) rotate(-1deg);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations */
.landing-features__card:nth-child(1) { transition-delay: 0s; }
.landing-features__card:nth-child(2) { transition-delay: 0.1s; }
.landing-features__card:nth-child(3) { transition-delay: 0.2s; }
.landing-features__card:nth-child(4) { transition-delay: 0.3s; }

/* Pricing carousel cards: no staggered delay (handled by carousel JS) */

/* Problem carousel cards: no staggered delay (handled by carousel JS) */

/* ----------------------------------------
   セクション14: レスポンシブ対応
   768px（タブレット）: ナビ非表示、カルーセル縮小、
     ソリューション縦並び、フッター縦並び。
   480px（モバイル）: サイドカード完全非表示、CTA全幅、
     カルーセルナビ最小化。
   ---------------------------------------- */
@media (max-width: 768px) {
  :root {
    --landing-section-padding: 80px;
  }

  .landing-header__nav {
    display: none;
  }

  .landing-header__actions {
    gap: 8px;
  }

  .landing-lang__trigger {
    padding: 6px 10px;
  }

  .landing-lang__name {
    display: none;
  }

  .landing-lang__menu {
    min-width: 180px;
  }

  .landing-header__btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .landing-hero__stats {
    gap: 32px;
  }

  .landing-problem__carousel {
    grid-template-columns: 32px 1fr 32px;
    column-gap: 10px;
  }

  .landing-problem__stage {
    min-height: 280px;
  }

  .landing-problem__card {
    max-width: 340px;
    padding: 28px;
  }

  .landing-problem__card.is-side-left {
    transform: translateX(-90%) scale(0.78) rotateY(6deg);
    opacity: 0.4;
  }

  .landing-problem__card.is-side-right {
    transform: translateX(90%) scale(0.78) rotateY(-6deg);
    opacity: 0.4;
  }

  .landing-problem__nav {
    height: 100px;
    border-radius: 16px;
  }

  .landing-problem__nav svg {
    width: 14px;
    height: 14px;
  }

  .landing-solution__comparison {
    flex-direction: column;
  }

  .landing-solution__arrow {
    transform: rotate(90deg);
  }

  .landing-pricing__carousel {
    grid-template-columns: 32px 1fr 32px;
    column-gap: 10px;
  }

  .landing-pricing__stage {
    min-height: 420px;
  }

  .landing-pricing__slide {
    max-width: 300px;
  }

  .landing-pricing__nav {
    height: 100px;
    border-radius: 16px;
  }

  .landing-pricing__nav svg {
    width: 14px;
    height: 14px;
  }

  .landing-footer__content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --landing-section-padding: 60px;
    --landing-container-padding: 16px;
  }

  .landing-hero__cta {
    flex-direction: column;
  }

  .landing-btn--large {
    width: 100%;
  }

  .landing-problem__carousel {
    grid-template-columns: 28px 1fr 28px;
    column-gap: 8px;
  }

  .landing-problem__stage {
    min-height: 260px;
  }

  .landing-problem__card {
    max-width: 100%;
    padding: 24px;
  }

  .landing-problem__card.is-side-left,
  .landing-problem__card.is-side-right {
    opacity: 0;
    pointer-events: none;
  }

  .landing-problem__nav {
    height: 72px;
    border-radius: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .landing-problem__nav svg {
    width: 12px;
    height: 12px;
  }

  .landing-pricing__carousel {
    grid-template-columns: 28px 1fr 28px;
    column-gap: 8px;
  }

  .landing-pricing__stage {
    min-height: 380px;
  }

  .landing-pricing__slide {
    max-width: 100%;
  }

  .landing-pricing__slide.is-side-left,
  .landing-pricing__slide.is-side-right {
    opacity: 0;
    pointer-events: none;
  }

  .landing-pricing__nav {
    height: 72px;
    border-radius: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .landing-pricing__nav svg {
    width: 12px;
    height: 12px;
  }
}

/* ----------------------------------------
   セクション15: 言語セレクター（レガシー）
   セクション3-bの.landing-lang とは別の旧実装。
   互換性のため残存。
   ---------------------------------------- */
.landing-language-selector {
  position: relative;
}

.landing-language-selector__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 8px;
  color: var(--landing-text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--landing-transition-fast);
}

.landing-language-selector__btn:hover {
  border-color: var(--landing-text-muted);
  color: var(--landing-text);
}

.landing-language-selector__icon {
  width: 16px;
  height: 16px;
}
