/*
==================================================
生成AIリスキリング研修ページ - モダンCSS改善案
バージョン2: モダン&ボールド（視覚的インパクト重視）
==================================================
制作: ProsWork向け専用CSS
目的: より大胆なデザイン、強いビジュアルインパクト
特徴: 鮮やかなグラデーション、大きなタイポグラフィ、
      アニメーション効果、アクセントカラーの効果的活用
==================================================
*/

/* ========================================
   1. CSS変数（デザイントークン）
======================================== */
:root {
  /* カラーパレット - ボールド版 */
  --color-primary: #2563eb;
  --color-primary-dark: #1e40af;
  --color-primary-light: #3b82f6;
  --color-secondary: #f59e0b;
  --color-accent: #ec4899;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  
  --color-text-primary: #1f2937;
  --color-text-secondary: #6b7280;
  --color-text-light: #9ca3af;
  --color-bg-white: #ffffff;
  --color-bg-light: #f9fafb;
  --color-bg-accent: #fef3c7;
  
  /* グラデーション - ボールド */
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #ec4899 100%);
  --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-hero: linear-gradient(135deg, rgba(37,99,235,0.95) 0%, rgba(236,72,153,0.85) 100%);
  
  /* シャドウ - より強調 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
  --shadow-colored: 0 10px 40px rgba(37, 99, 235, 0.3);
  
  /* スペーシング */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;
  
  /* タイポグラフィ - ボールド */
  --font-size-xs: 0.875rem;
  --font-size-sm: 1rem;
  --font-size-base: 1.125rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-2xl: 2.5rem;
  --font-size-3xl: 3.5rem;
  
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;
  
  /* ボーダー */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* アニメーション */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   2. ベーススタイル
======================================== */
.page-template-page-ai-reskilling {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Sans", sans-serif;
  color: var(--color-text-primary);
  line-height: 1.8;
  font-size: var(--font-size-base);
  background: var(--color-bg-light);
}

/* ========================================
   3. セクション共通スタイル
======================================== */
.ai-reskilling-section {
  padding: var(--spacing-2xl) var(--spacing-md);
  position: relative;
  overflow: hidden;
}

.ai-reskilling-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.ai-reskilling-section:hover::before {
  opacity: 1;
}

.ai-reskilling-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* セクション見出し - ボールド版 */
.ai-reskilling-section-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-black);
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: var(--spacing-sm);
  position: relative;
  padding-bottom: var(--spacing-md);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleSlideIn 0.8s ease-out;
}

.ai-reskilling-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 6px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-colored);
}

.ai-reskilling-section-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--spacing-xs);
  text-align: center;
}

.ai-reskilling-section-lead {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  line-height: 1.8;
  font-weight: var(--font-weight-medium);
}

/* ========================================
   4. Heroセクション - ボールド版
======================================== */
.ai-reskilling-hero {
  background: var(--gradient-hero);
  color: white;
  padding: var(--spacing-2xl) var(--spacing-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-reskilling-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: heroFloat 20s ease-in-out infinite;
}

.ai-reskilling-hero-inner {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.ai-reskilling-hero-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-black);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: heroTitleIn 1s ease-out;
}

.ai-reskilling-hero-lead {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
  font-weight: var(--font-weight-medium);
  line-height: 1.6;
  animation: heroLeadIn 1s ease-out 0.2s both;
}

.ai-reskilling-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: white;
  color: var(--color-primary);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-full);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  animation: heroCTAIn 1s ease-out 0.4s both;
  position: relative;
  overflow: hidden;
}

.ai-reskilling-hero-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--gradient-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.ai-reskilling-hero-cta:hover::before {
  width: 400px;
  height: 400px;
}

.ai-reskilling-hero-cta:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  color: white;
}

.ai-reskilling-hero-cta span {
  position: relative;
  z-index: 1;
}

/* ========================================
   5. 課題セクション
======================================== */
.ai-reskilling-problem-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.ai-reskilling-problem-item {
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  border-left: 6px solid transparent;
}

.ai-reskilling-problem-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transition: transform var(--transition-base);
  transform-origin: top;
}

.ai-reskilling-problem-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.ai-reskilling-problem-item:hover::before {
  transform: scaleY(1);
}

.ai-reskilling-problem-icon {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.3));
}

.ai-reskilling-problem-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
}

.ai-reskilling-problem-text {
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ========================================
   6. 未来セクション
======================================== */
.ai-reskilling-future-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.ai-reskilling-future-card {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.ai-reskilling-future-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-slow);
  transform: rotate(45deg);
}

.ai-reskilling-future-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-colored);
}

.ai-reskilling-future-card:hover::before {
  opacity: 0.05;
}

.ai-reskilling-future-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.ai-reskilling-future-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
  position: relative;
  z-index: 1;
}

.ai-reskilling-future-text {
  color: var(--color-text-secondary);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ========================================
   7. 事例セクション
======================================== */
.ai-reskilling-case-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.ai-reskilling-case-item {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
}

.ai-reskilling-case-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.ai-reskilling-case-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.ai-reskilling-case-item:hover::after {
  opacity: 0.05;
}

.ai-reskilling-case-content {
  padding: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.ai-reskilling-case-label {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ai-reskilling-case-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

.ai-reskilling-case-result {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-black);
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   8. メソッドセクション
======================================== */
.ai-reskilling-method-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
  position: relative;
}

.ai-reskilling-method-step {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.ai-reskilling-method-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.ai-reskilling-method-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-colored);
}

.ai-reskilling-method-step:hover::before {
  transform: scaleX(1);
}

.ai-reskilling-method-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-black);
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-colored);
}

.ai-reskilling-method-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

/* ========================================
   9. カリキュラムセクション
======================================== */
.ai-reskilling-curriculum-table {
  width: 100%;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: var(--spacing-xl);
}

.ai-reskilling-curriculum-table th {
  background: var(--gradient-primary);
  color: white;
  padding: var(--spacing-md) var(--spacing-lg);
  text-align: left;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
}

.ai-reskilling-curriculum-table td {
  padding: var(--spacing-lg);
  border-bottom: 1px solid #e5e7eb;
  transition: background var(--transition-fast);
}

.ai-reskilling-curriculum-table tr:hover td {
  background: var(--color-bg-light);
}

.ai-reskilling-curriculum-module {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
}

/* ========================================
   10. 助成金セクション
======================================== */
.ai-reskilling-subsidy-notice {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 3px solid var(--color-warning);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  margin-top: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.ai-reskilling-subsidy-notice::before {
  content: '💡';
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 120px;
  opacity: 0.1;
}

.ai-reskilling-subsidy-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.ai-reskilling-subsidy-icon {
  font-size: var(--font-size-2xl);
}

/* ========================================
   11. 導入フローセクション
======================================== */
.ai-reskilling-flow-steps {
  position: relative;
  margin-top: var(--spacing-xl);
  padding-left: var(--spacing-xl);
}

.ai-reskilling-flow-steps::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 40px;
  bottom: 40px;
  width: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.ai-reskilling-flow-step {
  position: relative;
  padding-left: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.ai-reskilling-flow-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-black);
  box-shadow: var(--shadow-colored);
  z-index: 1;
}

.ai-reskilling-flow-content {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-left: var(--spacing-lg);
  transition: all var(--transition-base);
}

.ai-reskilling-flow-content:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
}

.ai-reskilling-flow-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

/* ========================================
   12. 料金セクション
======================================== */
.ai-reskilling-price-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.ai-reskilling-price-item {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.ai-reskilling-price-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--gradient-primary);
}

.ai-reskilling-price-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-colored);
}

.ai-reskilling-price-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-sm);
}

.ai-reskilling-price-amount {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-black);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-md);
}

/* ========================================
   13. FAQセクション
======================================== */
.ai-reskilling-faq-list {
  max-width: 900px;
  margin: var(--spacing-xl) auto 0;
}

.ai-reskilling-faq-item {
  background: white;
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.ai-reskilling-faq-item:hover {
  box-shadow: var(--shadow-lg);
}

.ai-reskilling-faq-question {
  padding: var(--spacing-lg);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  color: var(--color-text-primary);
  cursor: pointer;
  position: relative;
  padding-left: calc(var(--spacing-lg) + 40px);
  transition: all var(--transition-fast);
}

.ai-reskilling-faq-question::before {
  content: 'Q';
  position: absolute;
  left: var(--spacing-lg);
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-black);
  font-size: var(--font-size-lg);
}

.ai-reskilling-faq-question:hover {
  background: var(--color-bg-light);
}

.ai-reskilling-faq-answer {
  padding: 0 var(--spacing-lg) var(--spacing-lg) calc(var(--spacing-lg) + 40px);
  color: var(--color-text-secondary);
  line-height: 1.8;
  border-top: 2px solid var(--color-bg-light);
}

/* ========================================
   14. CTAセクション
======================================== */
.ai-reskilling-cta {
  background: var(--gradient-hero);
  color: white;
  text-align: center;
  padding: var(--spacing-2xl) var(--spacing-md);
  border-radius: var(--radius-xl);
  margin: var(--spacing-xl) auto;
  max-width: 1000px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.ai-reskilling-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: ctaFloat 15s ease-in-out infinite;
}

.ai-reskilling-cta-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-black);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.ai-reskilling-cta-text {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.ai-reskilling-cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: white;
  color: var(--color-primary);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-full);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
}

.ai-reskilling-cta-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ========================================
   15. コンタクトセクション
======================================== */
.ai-reskilling-contact {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: var(--spacing-xl) auto;
  text-align: center;
}

.ai-reskilling-contact-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   16. アニメーション
======================================== */
@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(5%, 5%) rotate(1deg);
  }
  50% {
    transform: translate(-5%, 10%) rotate(-1deg);
  }
  75% {
    transform: translate(10%, -5%) rotate(1deg);
  }
}

@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroLeadIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroCTAIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ctaFloat {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-10%, -10%);
  }
}

/* ========================================
   17. レスポンシブ対応
======================================== */
@media (max-width: 768px) {
  :root {
    --font-size-3xl: 2.5rem;
    --font-size-2xl: 2rem;
    --font-size-xl: 1.5rem;
    --spacing-2xl: 3rem;
  }
  
  .ai-reskilling-section {
    padding: var(--spacing-xl) var(--spacing-sm);
  }
  
  .ai-reskilling-hero {
    min-height: 500px;
    padding: var(--spacing-xl) var(--spacing-sm);
  }
  
  .ai-reskilling-problem-list,
  .ai-reskilling-future-grid,
  .ai-reskilling-case-list,
  .ai-reskilling-method-steps,
  .ai-reskilling-price-list {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .ai-reskilling-flow-steps {
    padding-left: 0;
  }
  
  .ai-reskilling-flow-steps::before {
    left: 20px;
  }
  
  .ai-reskilling-flow-step::before {
    width: 60px;
    height: 60px;
    font-size: var(--font-size-xl);
  }
  
  .ai-reskilling-flow-content {
    margin-left: var(--spacing-md);
  }
  
  .ai-reskilling-method-number {
    width: 60px;
    height: 60px;
    font-size: var(--font-size-xl);
  }
}

/* ========================================
   18. ユーティリティクラス
======================================== */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-colored {
  box-shadow: var(--shadow-colored);
}

.hover-lift {
  transition: transform var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-8px);
}

/* =================================================================
   生成AIリスキリング研修ページ - CASE/SUBSIDY/FLOW/PRICE/FAQ セクション
   ビジュアル強化版 (アイコン・装飾追加)
   ================================================================= */

/* ============================================================
   CASE Section - 導入効果事例
   ============================================================ */
.ai-case {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.ai-case::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.ai-case .common-tt::before {
  content: '📊';
  margin-right: 12px;
  font-size: 1.2em;
}

.ai-case-list {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.ai-case-item {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 32px 28px 48px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.1);
  transition: all 0.3s ease;
  border-left: 5px solid #3b82f6;
}

.ai-case-item::before {
  content: '✓';
  position: absolute;
  top: 28px;
  left: -20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.ai-case-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.15);
  border-left-width: 6px;
}

.ai-case-item-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-case-item-title::before {
  content: '💼';
  font-size: 1.3em;
}

.ai-case-item-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
}

.ai-case .ai-section-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(37,99,235,0.05);
  border-radius: 8px;
  border-left: 3px solid #3b82f6;
  font-size: 0.9rem;
  color: #64748b;
}

.ai-case .ai-section-note::before {
  content: 'ℹ️';
  margin-right: 8px;
}

/* ============================================================
   SUBSIDY Section - 助成金活用
   ============================================================ */
.ai-subsidy {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  position: relative;
  overflow: hidden;
}

.ai-subsidy::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.ai-subsidy .common-tt::before {
  content: '💰';
  margin-right: 12px;
  font-size: 1.2em;
}

.ai-subsidy .ai-section-lead {
  font-size: 1.15rem;
  color: #92400e;
  font-weight: 600;
}

.ai-subsidy .ai-section-text {
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 8px;
  border-left: 4px solid #f59e0b;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(245,158,11,0.1);
}

.ai-subsidy-notice {
  background: #ffffff;
  border: 2px solid #f59e0b;
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 24px;
  box-shadow: 0 4px 16px rgba(245,158,11,0.15);
}

.ai-subsidy-notice-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-subsidy-notice-title::before {
  content: '⚠️';
  font-size: 1.4em;
}

.ai-subsidy-notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ai-subsidy-notice-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  line-height: 1.7;
  color: #78350f;
}

.ai-subsidy-notice-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.ai-subsidy .ai-section-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(245,158,11,0.1);
  border-radius: 8px;
  border-left: 3px solid #f59e0b;
  font-size: 0.9rem;
  color: #78350f;
}

.ai-subsidy .ai-section-note::before {
  content: '📢';
  margin-right: 8px;
}

/* ============================================================
   FLOW Section - サービス利用開始の流れ
   ============================================================ */
.ai-flow {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  position: relative;
  overflow: hidden;
}

.ai-flow::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, transparent 70%);
  border-radius: 50%;
  transform: translateY(-50%);
}

.ai-flow .common-tt::before {
  content: '🔄';
  margin-right: 12px;
  font-size: 1.2em;
}

.ai-flow-steps {
  position: relative;
  margin-top: 40px;
}

/* フローの接続ライン */
.ai-flow-steps::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 40px;
  bottom: 40px;
  width: 3px;
  background: linear-gradient(to bottom, #22c55e 0%, #86efac 100%);
  z-index: 0;
}

.ai-flow-step {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 32px 28px 80px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(34,197,94,0.1);
  transition: all 0.3s ease;
  z-index: 1;
}

.ai-flow-step:hover {
  transform: translateX(8px);
  box-shadow: 0 6px 20px rgba(34,197,94,0.15);
}

.ai-flow-step-number {
  position: absolute;
  left: -8px;
  top: 24px;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(34,197,94,0.3);
  border: 4px solid #ffffff;
  z-index: 2;
}

.ai-flow-step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #14532d;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-flow-step-title::before {
  content: '→';
  font-size: 1.4em;
  color: #22c55e;
}

.ai-flow-step-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #166534;
}

.ai-flow-step-text strong {
  color: #14532d;
  font-weight: 600;
}

/* ============================================================
   PRICE Section - 料金について
   ============================================================ */
.ai-price {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  position: relative;
  overflow: hidden;
}

.ai-price::before {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(236,72,153,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.ai-price .common-tt::before {
  content: '💴';
  margin-right: 12px;
  font-size: 1.2em;
}

.ai-price-list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  gap: 16px;
}

.ai-price-list li {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 24px 20px 60px;
  box-shadow: 0 2px 8px rgba(236,72,153,0.1);
  transition: all 0.3s ease;
  border-left: 4px solid #ec4899;
}

.ai-price-list li::before {
  content: '💰';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8em;
}

.ai-price-list li:hover {
  transform: translateX(6px);
  box-shadow: 0 4px 16px rgba(236,72,153,0.15);
}

.ai-price-list li strong {
  color: #9f1239;
  font-weight: 700;
  font-size: 1.1rem;
}

.ai-price .ai-section-text {
  background: #ffffff;
  padding: 20px 24px;
  border-radius: 12px;
  border-left: 4px solid #ec4899;
  margin-top: 24px;
  box-shadow: 0 2px 8px rgba(236,72,153,0.1);
  font-size: 1.05rem;
  color: #881337;
}

.ai-cta-center {
  text-align: center;
  margin-top: 32px;
}

/* ============================================================
   FAQ Section - よくある質問
   ============================================================ */
.ai-faq {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  position: relative;
  overflow: hidden;
}

.ai-faq::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.ai-faq .common-tt::before {
  content: '❓';
  margin-right: 12px;
  font-size: 1.2em;
}

.ai-faq-list {
  margin-top: 32px;
  display: grid;
  gap: 20px;
}

.ai-faq-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 4px 12px rgba(124,58,237,0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.ai-faq-item:hover {
  border-color: #7c3aed;
  box-shadow: 0 6px 20px rgba(124,58,237,0.15);
  transform: translateY(-2px);
}

.ai-faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: #5b21b6;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ai-faq-question::before {
  content: 'Q';
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
}

.ai-faq-answer {
  font-size: 1rem;
  line-height: 1.7;
  color: #4c1d95;
  padding-left: 44px;
  position: relative;
}

.ai-faq-answer::before {
  content: 'A';
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
}

/* ============================================================
   レスポンシブ対応
   ============================================================ */
@media (max-width: 768px) {
  .ai-case-item,
  .ai-flow-step,
  .ai-price-list li {
    padding-left: 20px;
  }

  .ai-case-item::before {
    left: -12px;
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .ai-flow-steps::before {
    left: 16px;
  }

  .ai-flow-step {
    padding-left: 60px;
  }

  .ai-flow-step-number {
    left: -12px;
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .ai-price-list li::before {
    font-size: 1.4em;
  }

  .ai-faq-answer {
    padding-left: 20px;
  }

  .ai-faq-answer::before {
    position: static;
    margin-bottom: 8px;
  }
}
/* ============================================================
   FIX: class mismatch (ai-hero / ai-method / ai-curriculum)
   追記するだけで Hero/Method/Curriculum が一気に華やかになります
   ============================================================ */

/* HERO */
.page-ai-reskilling .ai-hero{
  background: linear-gradient(135deg, rgba(37,99,235,.96) 0%, rgba(124,58,237,.90) 45%, rgba(236,72,153,.88) 100%);
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
}
.page-ai-reskilling .ai-hero::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 20% 25%, rgba(255,255,255,.20) 0%, transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.18) 0%, transparent 40%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 10px);
  animation: aiHeroFloat 18s ease-in-out infinite;
}
@keyframes aiHeroFloat{
  0%,100%{ transform: translate3d(0,0,0) rotate(0deg); }
  50%{ transform: translate3d(-2%, -2%, 0) rotate(1deg); }
}
.page-ai-reskilling .ai-hero .ai-hero-title{
  color:#fff;
  font-weight: 900;
  letter-spacing: .02em;
  text-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.page-ai-reskilling .ai-hero .ai-hero-subtitle{
  color: rgba(255,255,255,.92);
  font-weight: 600;
}
.page-ai-reskilling .ai-hero .ai-hero-label{
  display:inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color:#fff;
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
}
.page-ai-reskilling .ai-hero .button-orange{
  background:#fff;
  border: none;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.page-ai-reskilling .ai-hero .button-orange span{
  color:#2563eb;
  font-weight: 800;
}
.page-ai-reskilling .ai-hero .button-orange:hover{
  transform: translateY(-2px);
}

/* METHOD：カード化＋アイコン＋チェック */
.page-ai-reskilling .ai-method{
  background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 40%, #fdf2f8 100%);
}
.page-ai-reskilling .ai-method-steps{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 26px;
}
.page-ai-reskilling .ai-method-step{
  background:#fff;
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 10px 28px rgba(2,6,23,.08);
  border: 1px solid rgba(124,58,237,.12);
  position:relative;
  overflow:hidden;
}
.page-ai-reskilling .ai-method-step::before{
  content:"";
  position:absolute;
  left:0; top:0; right:0;
  height: 6px;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #ec4899);
}
.page-ai-reskilling .ai-method-step-number{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  color:#5b21b6;
}
.page-ai-reskilling .ai-method-step-number::before{
  content:"🧭";
}
.page-ai-reskilling .ai-method-step-title{
  margin-top: 8px;
  font-weight: 900;
  color:#111827;
}
.page-ai-reskilling .ai-method-step-title::before{
  content:"✨";
  margin-right: 8px;
}
.page-ai-reskilling .ai-method-step-features{
  list-style:none;
  padding:0;
  margin: 14px 0 0;
  display:grid;
  gap:10px;
}
.page-ai-reskilling .ai-method-step-features li{
  padding-left: 30px;
  position:relative;
  color:#334155;
  font-weight: 600;
}
.page-ai-reskilling .ai-method-step-features li::before{
  content:"✓";
  position:absolute;
  left:0; top:0;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 13px;
}

/* CURRICULUM：3コースをカード化＋バッジ */
.page-ai-reskilling .ai-curriculum{
  background: linear-gradient(135deg, #ecfeff 0%, #ffffff 35%, #f0fdf4 100%);
}
.page-ai-reskilling .ai-curriculum-info{
  background:#fff;
  border-radius: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(16,185,129,.18);
  box-shadow: 0 8px 22px rgba(2,6,23,.06);
}
.page-ai-reskilling .ai-curriculum-info p strong::before{
  content:"⏱️";
  margin-right: 8px;
}
.page-ai-reskilling .ai-curriculum-list{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 22px;
}
.page-ai-reskilling .ai-curriculum-item{
  background:#fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(2,6,23,.08);
  border: 1px solid rgba(16,185,129,.14);
  position:relative;
  overflow:hidden;
}
.page-ai-reskilling .ai-curriculum-item::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 80% 10%, rgba(16,185,129,.10), transparent 45%);
  pointer-events:none;
}
.page-ai-reskilling .ai-curriculum-item-title{
  font-weight: 900;
  color:#064e3b;
}
.page-ai-reskilling .ai-curriculum-item-title::before{
  content:"📚";
  margin-right: 8px;
}
.page-ai-reskilling .ai-curriculum-item-list{
  list-style:none;
  padding:0;
  margin: 12px 0 0;
  display:grid;
  gap:10px;
}
.page-ai-reskilling .ai-curriculum-item-list li{
  padding-left: 28px;
  position:relative;
  color:#0f172a;
}
.page-ai-reskilling .ai-curriculum-item-list li::before{
  content:"•";
  position:absolute;
  left:10px;
  top:0;
  color:#10b981;
  font-weight:900;
}

/* SP調整 */
@media (max-width: 768px){
  .page-ai-reskilling .ai-hero{ padding: 72px 0 56px; }
}

/* ==================================================
   FUTURE：バランス調整 + 装飾（ai-future内に閉じる）
================================================== */

.ai-future.is-decorated{
  position: relative;
  overflow: hidden;
}

/* 背景の薄いグラデ装飾（セクション全体） */
.ai-future.is-decorated::before{
  content:"";
  position:absolute;
  inset:-120px -120px auto -120px;
  height: 360px;
  background: radial-gradient(closest-side, rgba(124,58,237,.18), rgba(236,72,153,0) 70%),
              radial-gradient(closest-side, rgba(37,99,235,.16), rgba(37,99,235,0) 72%);
  filter: blur(2px);
  pointer-events:none;
  z-index:0;
}

/* ヘッダ部：テキスト + 画像 */
.ai-future .ai-future-head{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 28px;
}

.ai-future .ai-future-head__media{
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
  transform: translateY(6px);
}

.ai-future .ai-future-head__media img{
  display:block;
  width:100%;
  height:auto;
}

/* カード：間延び解消 */
.ai-future .ai-reskilling-future-grid{
  position: relative;
  z-index: 1;
  margin-top: 18px;
  gap: 20px; /* 既存 var(--spacing-xl) が大きい場合の調整 */
}

.ai-future .ai-reskilling-future-card{
  padding: 28px; /* 既存 var(--spacing-xl) が大きい場合の調整 */
  border-radius: 18px;
}

/* 01/02/03 を“バッジ化”して主張を抑える */
.ai-future .ai-reskilling-future-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 56px;
  height: 56px;
  font-size: 16px;          /* 4rem → 小さく */
  font-weight: 800;
  letter-spacing: .06em;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 55%, #ec4899 100%);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(124,58,237,.18);
  margin-bottom: 14px;
}

/* タイトル/本文：情報密度を整える */
.ai-future .ai-reskilling-future-title{
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.ai-future .ai-reskilling-future-text{
  font-size: 14.5px;
  line-height: 1.9;
}

/* 装飾SVG（ドット） */
.ai-future .ai-future-decor--dots{
  position:absolute;
  right: -10px;
  top: 140px;
  width: 240px;
  height: 120px;
  color: rgba(37,99,235,.22);
  z-index: 0;
  pointer-events:none;
}

/* レスポンシブ */
@media (max-width: 980px){
  .ai-future .ai-future-head{
    grid-template-columns: 1fr;
  }
  .ai-future .ai-future-head__media{
    transform: none;
  }
}
/* ==================================================
  AI Reskilling：全体のバランス改善 + 装飾レイヤー（末尾追記）
  対象：.page-ai-reskilling 内のみ
================================================== */

.page-ai-reskilling .ai-section{
  position: relative;
}

/* 見出し/リードの間延び抑制（全セクション共通） */
.page-ai-reskilling .ai-section-title{
  line-height: 1.35;
  margin-bottom: 10px;
}
.page-ai-reskilling .ai-section-lead{
  line-height: 1.9;
  max-width: 72ch;
  margin-bottom: 18px;
  color: #475569;
}

/* 角丸と影を統一（カード類） */
.page-ai-reskilling .ai-case-item,
.page-ai-reskilling .ai-method-step,
.page-ai-reskilling .ai-curriculum-item,
.page-ai-reskilling .ai-subsidy-notice,
.page-ai-reskilling .ai-flow-step,
.page-ai-reskilling .ai-faq-item{
  border-radius: 18px;
}

/* ------------------------------
   HERO：画像＋グリッド＋装飾（FUTUREと同トーン）
   ※ベースのHero背景は custom-ai-reskilling.css に定義あり [Source]
------------------------------ */
.page-ai-reskilling .ai-hero--decorated .ai-hero__grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-ai-reskilling .ai-hero--decorated .ai-hero__label{
  display:inline-block;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.22);
  margin-bottom: 12px;
}

.page-ai-reskilling .ai-hero--decorated .ai-hero__title{
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.15;
  margin: 0 0 12px;
}

.page-ai-reskilling .ai-hero--decorated .ai-hero__lead{
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 18px;
}

.page-ai-reskilling .ai-hero--decorated .ai-hero__points{
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 13px;
}
.page-ai-reskilling .ai-hero--decorated .ai-hero__points li{
  position: relative;
  padding-left: 18px;
  margin: 6px 0;
}
.page-ai-reskilling .ai-hero--decorated .ai-hero__points li::before{
  content:"";
  position:absolute;
  left:0;
  top:.55em;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.75);
}

.page-ai-reskilling .ai-hero--decorated .ai-hero__media{
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.18);
}
.page-ai-reskilling .ai-hero--decorated .ai-hero__media img{
  display:block;
  width:100%;
  height:auto;
}
.page-ai-reskilling .ai-hero--decorated .ai-hero-decor--grid{
  position: absolute;
  right: -14px;
  top: 18px;
  width: 240px;
  height: 140px;
  color: rgba(255,255,255,.22);
  z-index: 0;
  pointer-events: none;
}

/* ------------------------------
   FUTURE：ヘッダ（テキスト+写真）＋装飾の追加
   ※カード自体は custom-ai-reskilling.css の .ai-reskilling-future-* がベース [Source]
------------------------------ */
.page-ai-reskilling .ai-future.is-decorated{
  position: relative;
  overflow: hidden;
}
.page-ai-reskilling .ai-future.is-decorated::before{
  content:"";
  position:absolute;
  inset:-120px -120px auto -120px;
  height: 360px;
  background:
    radial-gradient(closest-side, rgba(124,58,237,.18), rgba(236,72,153,0) 70%),
    radial-gradient(closest-side, rgba(37,99,235,.16), rgba(37,99,235,0) 72%);
  filter: blur(2px);
  pointer-events:none;
  z-index:0;
}
.page-ai-reskilling .ai-future .ai-future-head{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 24px;
}
.page-ai-reskilling .ai-future .ai-future-head__media{
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
}
.page-ai-reskilling .ai-future .ai-future-head__media img{
  display:block;
  width:100%;
  height:auto;
}

/* Futureカードの“間延び”を抑える（改善後スクショで見えた課題への対処） */
.page-ai-reskilling .ai-reskilling-future-grid{
  margin-top: 14px;
  gap: 20px;
}
.page-ai-reskilling .ai-reskilling-future-card{
  padding: 28px;
  border-radius: 18px;
}
.page-ai-reskilling .ai-reskilling-future-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 56px;
  height: 56px;
  font-size: 16px; /* でかすぎ防止 */
  font-weight: 900;
  letter-spacing: .06em;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 55%, #ec4899 100%);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(124,58,237,.18);
  margin-bottom: 14px;
}
.page-ai-reskilling .ai-future-decor--dots{
  position:absolute;
  right: -10px;
  top: 160px;
  width: 240px;
  height: 120px;
  color: rgba(37,99,235,.22);
  z-index: 0;
  pointer-events:none;
}

/* ------------------------------
   CASE：カード感を統一（テーマの素の枠を回避）
------------------------------ */
.page-ai-reskilling .ai-case-list{
  margin-top: 18px;
}
.page-ai-reskilling .ai-case-item{
  background: #fff;
  border: 1px solid rgba(2,6,23,.06);
  box-shadow: 0 10px 28px rgba(2,6,23,.08);
  padding: 18px 20px;
}
.page-ai-reskilling .ai-case-item-title{
  margin: 0 0 8px;
  line-height: 1.55;
}
.page-ai-reskilling .ai-case-item-text{
  margin: 0;
  line-height: 1.9;
  color: #475569;
}

/* ------------------------------
   METHOD：密度最適化（ベース定義あり）[Source]
------------------------------ */
.page-ai-reskilling .ai-method-steps{
  gap: 20px;
  margin-top: 18px;
}
.page-ai-reskilling .ai-method-step{
  padding: 26px 26px 20px;
}
.page-ai-reskilling .ai-method-step-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .06em;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 55%, #ec4899 100%);
  margin: 0 0 12px;
}
.page-ai-reskilling .ai-method-step-title{
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
}

/* ------------------------------
   FLOW：タイムラインの読みやすさ（ベース定義あり）[Source]
------------------------------ */
.page-ai-reskilling .ai-flow-steps{
  margin-top: 18px;
}
.page-ai-reskilling .ai-flow-step{
  background: #fff;
  border: 1px solid rgba(34,197,94,.16);
  box-shadow: 0 10px 28px rgba(2,6,23,.08);
  padding: 18px 20px 18px 90px; /* バッジ分の左余白 */
  position: relative;
}
.page-ai-reskilling .ai-flow-step-title{
  margin: 0 0 6px;
  font-size: 16.5px;
  line-height: 1.55;
}
.page-ai-reskilling .ai-flow-step-text{
  margin: 0;
  color: #475569;
  line-height: 1.85;
  font-size: 14px;
}

/* ------------------------------
   FAQ：カード感を統一
------------------------------ */
.page-ai-reskilling .ai-faq-item{
  background: #fff;
  border: 1px solid rgba(2,6,23,.06);
  box-shadow: 0 10px 28px rgba(2,6,23,.08);
  padding: 18px 20px;
}

/* ------------------------------
   レスポンシブ
------------------------------ */
@media (max-width: 980px){
  .page-ai-reskilling .ai-hero--decorated .ai-hero__grid,
  .page-ai-reskilling .ai-future .ai-future-head{
    grid-template-columns: 1fr;
  }
  .page-ai-reskilling .ai-hero--decorated .ai-hero-decor--grid{
    top: auto;
    bottom: -10px;
    right: -10px;
  }
}
@media (max-width: 768px){
  .page-ai-reskilling .ai-flow-step{
    padding-left: 80px;
  }
}
/* ==================================================
   CV最小セット：Hero 2択CTA / 中間CTA / Flow末尾CTA
   scope: .page-ai-reskilling のみ
================================================== */

/* ---- Hero 2択CTA ---- */
.page-ai-reskilling .ai-cta-row{
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.page-ai-reskilling .button-outline{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  color: #ffffff;
  text-decoration: none;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(6px);
  transition: transform .15s ease, background .15s ease;
}
.page-ai-reskilling .button-outline:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.16);
}

.page-ai-reskilling .ai-cta-microcopy{
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.88);
}

/* ---- 中間CTA ---- */
.page-ai-reskilling .ai-cta--mid{
  background: linear-gradient(135deg, rgba(37,99,235,.10) 0%, rgba(124,58,237,.08) 50%, rgba(236,72,153,.06) 100%);
  border-top: 1px solid rgba(2,6,23,.06);
  border-bottom: 1px solid rgba(2,6,23,.06);
}

.page-ai-reskilling .ai-cta--mid .ai-cta-bullets{
  margin: 18px auto 0;
  padding-left: 0;
  list-style: none;
  max-width: 72ch;
  color: #475569;
  font-size: 13px;
  line-height: 1.8;
}
.page-ai-reskilling .ai-cta--mid .ai-cta-bullets li{
  position: relative;
  padding-left: 18px;
  margin: 6px 0;
}
.page-ai-reskilling .ai-cta--mid .ai-cta-bullets li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #2563eb;
  font-weight: 700;
}

/* ---- Flow末尾CTA ---- */
.page-ai-reskilling .ai-flow-cta{
  margin-top: 22px;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.page-ai-reskilling .ai-flow-cta-note{
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #475569;
}

/* ---- responsive ---- */
@media (max-width: 600px){
  .page-ai-reskilling .ai-cta-row > a{
    width: 100%;
  }
  .page-ai-reskilling .button-outline{
    justify-content: space-between;
  }
}
/* ==================================================
   ProsWorkトーン寄せ（青×白×オレンジ／影弱め／線で整える）
   追記推奨：custom-ai-reskilling.css の末尾
================================================== */

/* 1) トークン上書き（既存変数がある場合） */
:root{
  --pw-blue-1: #0B7CC2;
  --pw-blue-2: #18A6D8;
  --pw-orange: #F6A623;
  --pw-text: #1F2937;
  --pw-text-sub: #4B5563;
  --pw-line: rgba(31,41,55,.12);
  --pw-radius: 12px;
  --pw-shadow: 0 8px 24px rgba(2,6,23,.06);
}

/* 2) 全体のタイポ/余白を“事業内容”寄りに */
.page-ai-reskilling{
  color: var(--pw-text);
}
.page-ai-reskilling .ai-section-title{
  letter-spacing: .02em;
}
.page-ai-reskilling .ai-section-lead,
.page-ai-reskilling .ai-section-text{
  color: var(--pw-text-sub);
}

/* 3) Hero：グラデを“青系”へ、装飾密度を抑える */
.page-ai-reskilling .ai-hero{
  background: linear-gradient(90deg, var(--pw-blue-1) 0%, var(--pw-blue-2) 100%);
}
.page-ai-reskilling .ai-hero::before{
  opacity: .55; /* 既存の柄が強い場合だけ抑える */
}

/* 4) カード系：角丸と影を統一、影は弱く、線で整える */
.page-ai-reskilling .ai-reskilling-future-card,
.page-ai-reskilling .ai-case-item,
.page-ai-reskilling .ai-method-step,
.page-ai-reskilling .ai-curriculum-item,
.page-ai-reskilling .ai-subsidy-notice,
.page-ai-reskilling .ai-flow-step,
.page-ai-reskilling .ai-faq-item{
  border-radius: var(--pw-radius);
  box-shadow: var(--pw-shadow);
  border: 1px solid var(--pw-line);
}

/* 5) FUTUREの番号バッジ：派手すぎを抑えて“事業内容”寄りに */
.page-ai-reskilling .ai-reskilling-future-icon{
  background: #ffffff;
  color: var(--pw-blue-1);
  border: 2px solid rgba(11,124,194,.18);
  box-shadow: none;
}

/* 6) ボタン：事業内容ページの“オレンジ枠＋矢印”に寄せる */
.page-ai-reskilling a.link.button-orange{
  background: transparent;
  color: var(--pw-orange);
  border: 2px solid var(--pw-orange);
}
.page-ai-reskilling a.link.button-orange .arrow{
  color: var(--pw-orange);
}
.page-ai-reskilling a.link.button-orange:hover{
  background: rgba(246,166,35,.10);
}

/* Hero上のアウトライン（2択CTAの副ボタン）も統一 */
.page-ai-reskilling .button-outline{
  border: 2px solid rgba(255,255,255,.85);
  background: rgba(255,255,255,.10);
}
.page-ai-reskilling .button-outline:hover{
  background: rgba(255,255,255,.18);
}

/* 7) セクション見出し “BUSINESS”風の英字ラベル感（common-ttがある前提） */
.page-ai-reskilling .common-tt{
  color: var(--pw-blue-1);
  letter-spacing: .08em;
}
.page-ai-reskilling .common-tt::after{
  content:"";
  display:block;
  width: 64px;
  height: 2px;
  margin-top: 10px;
  background: var(--pw-blue-1);
  opacity: .9;
}

/* 8) 中間CTAの背景：派手な紫系はやめて、薄い青グラデに */
.page-ai-reskilling .ai-cta--mid{
  background: linear-gradient(90deg, rgba(11,124,194,.08) 0%, rgba(24,166,216,.06) 100%);
  border-top: 1px solid var(--pw-line);
  border-bottom: 1px solid var(--pw-line);
}
.page-ai-reskilling .ai-cta--mid .ai-cta-bullets li::before{
  color: var(--pw-blue-1);
}

/* 9) Flow：タイムラインのグリーン主張を抑え、青系に寄せる（既存が強い場合） */
.page-ai-reskilling .ai-flow-step-number{
  background: linear-gradient(135deg, var(--pw-blue-1) 0%, var(--pw-blue-2) 100%);
  box-shadow: 0 6px 18px rgba(11,124,194,.20);
}
/* 見出し（common-tt）前のアイコン統一 */
.page-ai-reskilling .ai-tt-icon{
  display: inline-block;
  margin-right: 10px;
  font-size: 1.15em;
  line-height: 1;
  vertical-align: -0.06em;
}

.page-ai-reskilling .ai-subsidy-figure{
  margin: 24px 0;
}
.page-ai-reskilling .ai-subsidy-figure img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.page-ai-reskilling .ai-subsidy-figure-caption{
  margin-top: 10px;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
}
