@charset "UTF-8";
/* ============================================================
   JOBOLE デザインシステム v3.0 — Liquid Glass + Trust Authority
   Generated by: UI/UX Pro Max + Professional Design Team
   Style: Liquid Glass × Trust & Authority Hybrid
   ============================================================ */

/* ---------- フォント読み込み ---------- */
/* フォントはHTMLの<link>で読み込み（レンダリングブロック回避） */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* ブランドカラー: Trust Blue */
  --blue-50:  #F0F9FF;
  --blue-100: #E0F2FE;
  --blue-200: #BAE6FD;
  --blue-300: #7DD3FC;
  --blue-400: #38BDF8;
  --blue-500: #0EA5E9;
  --blue-600: #0284C7;
  --blue-700: #0369A1;
  --blue-800: #075985;
  --blue-900: #0C4A6E;
  --blue-950: #082F49;

  /* CTAカラー: Success Green → 温かみのあるオレンジに変更（日本市場向け） */
  --accent-50:  #FFF7ED;
  --accent-100: #FFEDD5;
  --accent-200: #FED7AA;
  --accent-300: #FDBA74;
  --accent-400: #FB923C;
  --accent-500: #F97316;
  --accent-600: #EA580C;
  --accent-700: #C2410C;

  /* 温かみのあるベース（Aggregate差別化: Slateではなくウォーム系） */
  --warm-bg:   #FFFBF5;
  --warm-bg2:  #FFF8EF;
  --warm-border: #F0E6D6;

  /* ニュートラル: Slate系 */
  --slate-50:  #FAFAF8;
  --slate-100: #F5F3F0;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --slate-950: #020617;

  /* アクセシビリティ: テキスト用のコントラスト安全カラー */
  --text-muted: #6B7280;  /* 白背景で4.57:1 — WCAG AA準拠 */
  --text-subtle: #9CA3AF; /* 装飾用のみ（テキストに使わない） */

  /* セマンティック */
  --success: #22C55E;
  --warning: #F59E0B;
  --error:   #EF4444;

  /* タイポグラフィ */
  --font-display: 'Noto Serif JP', 'Georgia', serif;
  --font-body:    'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-num:     'Inter', 'Noto Sans JP', sans-serif;

  /* タイプスケール */
  --text-2xs:  11px;
  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 15px;
  --text-md:   16px;
  --text-lg:   18px;
  --text-xl:   20px;
  --text-2xl:  24px;
  --text-3xl:  clamp(26px, 24px + 0.6vw, 32px);
  --text-4xl:  clamp(30px, 26px + 1vw, 40px);
  --text-5xl:  clamp(36px, 30px + 1.6vw, 50px);
  --text-6xl:  clamp(42px, 34px + 2.2vw, 62px);

  /* 行間 */
  --leading-none:    1;
  --leading-tight:   1.2;
  --leading-snug:    1.35;
  --leading-normal:  1.7;
  --leading-relaxed: 1.85;

  /* 字間 */
  --tracking-tight:  -0.02em;
  --tracking-normal: 0.02em;
  --tracking-wide:   0.06em;
  --tracking-wider:  0.12em;

  /* スペーシング（px基準） */
  --sp-1:  4px;   --sp-2:  8px;   --sp-3:  12px;
  --sp-4:  16px;  --sp-5:  20px;  --sp-6:  24px;
  --sp-8:  32px;  --sp-10: 40px;  --sp-12: 48px;
  --sp-16: 64px;  --sp-20: 80px;  --sp-24: 96px;
  --sp-32: 128px;

  /* ボーダーラディウス */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-2xl:  28px;
  --r-full: 9999px;

  /* シャドウ（ブルー色味入り多段シャドウ — プレミアム感） */
  --shadow-xs:  0 1px 2px rgba(12,74,110,0.04);
  --shadow-sm:  0 1px 2px rgba(12,74,110,0.04), 0 2px 4px rgba(12,74,110,0.03);
  --shadow-md:  0 2px 4px rgba(12,74,110,0.03), 0 6px 12px -2px rgba(12,74,110,0.06);
  --shadow-lg:  0 2px 4px rgba(12,74,110,0.02), 0 8px 20px -4px rgba(12,74,110,0.08);
  --shadow-xl:  0 4px 8px rgba(12,74,110,0.02), 0 16px 32px -6px rgba(12,74,110,0.1);
  --shadow-2xl: 0 8px 16px rgba(12,74,110,0.03), 0 24px 48px -8px rgba(12,74,110,0.12);
  --shadow-blue:   0 4px 12px rgba(3,105,161,0.1), 0 12px 32px rgba(3,105,161,0.12);
  --shadow-accent: 0 4px 12px rgba(234,88,12,0.12), 0 12px 32px rgba(234,88,12,0.16);

  /* グラス効果 */
  --glass-bg:     rgba(255,255,255,0.72);
  --glass-border: rgba(255,255,255,0.3);
  --glass-blur:   16px;

  /* トランジション */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:  150ms;
  --duration-base:  250ms;
  --duration-slow:  450ms;
  --duration-fluid: 900ms; /* スクロールリビールを落ち着いた体感に */

  /* レイアウト */
  --max-w-content: 1200px;
  --max-w-narrow:  800px;
  --max-w-wide:    1400px;
}

/* ============================================================
   モダンリセット（style.min.css 非読み込み前提）
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* font-size は legacy ページ（style.min.css = 62.5%）と衝突するため明示設定しない。
     ブラウザデフォルト 100% は新DS専用ページで有効、legacy ページは 62.5% を維持。 */
  scroll-behavior: smooth;
  /* 外部ブラウザ anchor ジャンプ時にスティッキーヘッダー分の余白を確保 */
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  /* iOS Safari の横スクロール抑制：body だけでは効かないケースに対応 */
  overflow-x: clip;
  max-width: 100vw;
}

/* アンカーターゲットの section 自体にも個別に余白を持たせる（ブラウザ互換） */
section[id] {
  scroll-margin-top: 32px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
  color: var(--slate-700);
  background: #fff;
  overflow-x: clip;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
strong, b { font-weight: 700; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

input, textarea, select {
  font: inherit;
}

/* ============================================================
   アクセシビリティ — スキップリンク & フォーカス可視化
   ============================================================ */
.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--blue-700);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: top var(--duration-fast) var(--ease-out-expo);
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  outline: 3px solid var(--accent-400);
  outline-offset: 2px;
}

/* キーボードフォーカス強調（マウスクリックでは出さない） */
:focus-visible {
  outline: 3px solid var(--blue-700);
  outline-offset: 2px;
  border-radius: 4px;
}
/* オレンジCTA上では明度の高いブルー枠で可視性確保 */
.jo-btn--primary:focus-visible,
.jo-btn--primary:focus-visible .jo-btn__arrow {
  outline: 3px solid var(--blue-800);
  outline-offset: 3px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================================
   ユーティリティ
   ============================================================ */
.jo-container {
  width: 100%;
  max-width: var(--max-w-content);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.jo-section {
  padding: var(--sp-24) 0;  /* 128px → 96px: 間延び解消 */
  position: relative;
}

@media (max-width: 768px) {
  .jo-section {
    padding: var(--sp-16) 0;  /* SP: 64px */
  }
}

.jo-section--alt {
  background: var(--warm-bg);
}

/* レスポンシブ非表示 */
.jo-pc-only { display: block; }
.jo-sp-only { display: none; }

@media (max-width: 768px) {
  .jo-pc-only { display: none !important; }
  .jo-sp-only { display: block !important; }
}

/* ============================================================
   ボタン（Liquid Glass風味）
   ============================================================ */
.jo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out-expo);
  position: relative;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* プライマリCTA — 温かみのあるオレンジ × 微細グラデーション */
.jo-btn--primary {
  background: linear-gradient(160deg, var(--accent-400) 0%, var(--accent-600) 100%);
  color: #fff;
  font-size: var(--text-base);
  padding: 14px 36px;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-accent), inset 0 1px 0 rgba(255,255,255,0.18);
  letter-spacing: var(--tracking-wide);
}

.jo-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(234,88,12,0.2), 0 16px 40px rgba(234,88,12,0.18), inset 0 1px 0 rgba(255,255,255,0.18);
  filter: brightness(1.04);
}

.jo-btn--primary:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

/* ラージCTA */
.jo-btn--lg {
  font-size: var(--text-lg);
  padding: 18px 48px;
  border-radius: var(--r-2xl);
  font-weight: 800;
  letter-spacing: var(--tracking-wide);
}

/* セカンダリ — ガラス風 */
.jo-btn--secondary {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  color: var(--blue-700);
  font-size: var(--text-sm);
  padding: 12px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--blue-200);
  box-shadow: var(--shadow-sm);
}

.jo-btn--secondary:hover {
  background: var(--blue-50);
  border-color: var(--blue-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ボタンアロー */
.jo-btn__arrow {
  display: inline-flex;
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.jo-btn:hover .jo-btn__arrow {
  transform: translateX(4px);
}

/* 小さいボタン */
.jo-btn--sm {
  font-size: var(--text-sm);
  padding: 8px 18px;
  border-radius: var(--r-md);
}

/* ゴースト（白背景用） */
.jo-btn--ghost {
  background: transparent;
  color: var(--blue-700);
  padding: 12px 24px;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--blue-200);
}

.jo-btn--ghost:hover {
  background: var(--blue-50);
  border-color: var(--blue-400);
}

/* ============================================================
   セクション見出し（Serifフォント使用で上品に）
   ============================================================ */
.jo-heading {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.jo-heading__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-num);
  font-size: var(--text-2xs);
  font-weight: 700;
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--sp-5);
}

.jo-heading__label::before,
.jo-heading__label::after {
  content: "";
  width: 20px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--blue-300), var(--blue-100));
  border-radius: 1px;
}

.jo-heading__label::before {
  background: linear-gradient(90deg, var(--blue-100), var(--blue-300));
}

.jo-heading__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--slate-900);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
}

.jo-heading__title em,
.jo-accent {
  font-style: normal;
  color: var(--blue-600);
  position: relative;
}

/* emの下にさりげないアクセントライン */
.jo-heading__title em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, rgba(14,165,233,0.15), rgba(14,165,233,0.05));
  border-radius: 3px;
  z-index: -1;
}

.jo-heading__sub {
  font-size: var(--text-md);
  color: var(--slate-500);
  margin-top: var(--sp-5);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--leading-relaxed);
  letter-spacing: var(--tracking-normal);
}

/* ============================================================
   バッジ
   ============================================================ */
.jo-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--r-full);
  letter-spacing: 0.04em;
}

.jo-badge--gold {
  background: linear-gradient(135deg, #FEFCE8 0%, #FEF08A 100%);
  color: #92400E;
  border: 1px solid #FDE68A;
}

.jo-badge--blue {
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-200);
}

.jo-badge--green {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}

/* ============================================================
   カード（Glassmorphism ベース）
   ============================================================ */
.jo-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out-expo);
  cursor: pointer;
}

.jo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--blue-200);
}

/* ============================================================
   アニメーション
   ============================================================ */
@keyframes jo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes jo-pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes jo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes jo-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes jo-morph {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

@keyframes jo-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* スクロールアニメーション */
.jo-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration-fluid) var(--ease-out-expo),
              transform var(--duration-fluid) var(--ease-out-expo);
}

.jo-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.jo-reveal--d1 { transition-delay: 100ms; }
.jo-reveal--d2 { transition-delay: 200ms; }
.jo-reveal--d3 { transition-delay: 300ms; }
.jo-reveal--d4 { transition-delay: 400ms; }
.jo-reveal--d5 { transition-delay: 500ms; }

/* フローステップ用（1つずつ順番に表示） */
.jo-reveal-step {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.jo-reveal-step.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ====== 多様なスクロールアニメーション v2 ====== */

/* 左からスライドイン */
.jo-reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity var(--duration-fluid) var(--ease-out-expo),
              transform var(--duration-fluid) var(--ease-out-expo);
}
.jo-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* 右からスライドイン */
.jo-reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity var(--duration-fluid) var(--ease-out-expo),
              transform var(--duration-fluid) var(--ease-out-expo);
}
.jo-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* スケールイン（カード向け） */
.jo-reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity var(--duration-fluid) var(--ease-out-expo),
              transform var(--duration-fluid) var(--ease-out-expo);
}
.jo-reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ブロック順次スライドイン（ポイント向け）
   各ブロックはビューポート中央到達前に個別発火するため、カスケード遅延は付与しない */
.jo-reveal-slide {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 850ms var(--ease-out-expo),
              transform 850ms var(--ease-out-expo);
}
.jo-reveal-slide.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ボーダー描画アニメ（カード枠線が引かれる） */
.jo-reveal-border {
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}
.jo-reveal-border::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--blue-200);
  border-radius: inherit;
  clip-path: inset(0 100% 100% 0);
  transition: clip-path 0.9s var(--ease-out-expo) 0.15s;
  pointer-events: none;
}
.jo-reveal-border.is-visible {
  opacity: 1;
}
.jo-reveal-border.is-visible::after {
  clip-path: inset(0 0 0 0);
}

/* 上からフェードダウン（ブログカード向け） */
.jo-reveal-fade-down {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity var(--duration-fluid) var(--ease-out-expo),
              transform var(--duration-fluid) var(--ease-out-expo);
}
.jo-reveal-fade-down.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 即時表示（アニメなし） */
.jo-no-anim {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* 遅延ユーティリティ（全アニメーションクラス共通、落ち着いたリズム） */
.jo-d1 { transition-delay: 150ms; }
.jo-d2 { transition-delay: 300ms; }
.jo-d3 { transition-delay: 450ms; }
.jo-d4 { transition-delay: 600ms; }
.jo-d5 { transition-delay: 750ms; }
.jo-d6 { transition-delay: 900ms; }
.jo-d7 { transition-delay: 1050ms; }
.jo-d8 { transition-delay: 1200ms; }

/* ------------------------------------------------------------
   voices セクション専用タイミング（高速版）
   目的：吹き出しを「上から順番」に明確化しつつ、全体時間を短縮
   ------------------------------------------------------------ */

/* 各吹き出しの動作を短めにして、順次表示を明瞭に */
.voices .voice-bubble.jo-reveal-left,
.voices .voice-bubble.jo-reveal-right {
  transition-duration: 450ms;
}

/* 吹き出し専用の順次スタガ（180ms ピッチ、グローバル jo-d* を上書き） */
.voices .voice-bubble.jo-d1 { transition-delay: 0ms; }
.voices .voice-bubble.jo-d2 { transition-delay: 180ms; }
.voices .voice-bubble.jo-d3 { transition-delay: 360ms; }
.voices .voice-bubble.jo-d4 { transition-delay: 540ms; }
.voices .voice-bubble.jo-d5 { transition-delay: 720ms; }

/* 解決バナー：bubble5 完了（720+450=1170ms）後に一呼吸おいて発火 */
.jo-d-voices-solution {
  transition-delay: 1300ms;
  transition-duration: 700ms;
}

/* prefers-reduced-motion — 完全包含 */
@media (prefers-reduced-motion: reduce) {
  .jo-reveal,
  .jo-reveal-left,
  .jo-reveal-right,
  .jo-reveal-scale,
  .jo-reveal-slide,
  .jo-reveal-border,
  .jo-reveal-fade-down,
  .jo-reveal-step {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .jo-reveal-border::after {
    clip-path: inset(0 0 0 0) !important;
    transition: none !important;
  }
  .hero__badges,
  .hero__title,
  .hero__subtitle,
  .hero__cta,
  .hero__note,
  .hero__visual,
  .hero__stats-inline {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-play-state: paused !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
