/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   高級感のあるカテゴリヘッダーデザイン
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* カテゴリセクション全体 */
.category-section {
  margin-bottom: 100px;
  position: relative;
}

/* カテゴリヘッダー（高級感のあるデザイン） */
.category-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ホバー時のエフェクト */
.category-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.4);
}

/* 背景装飾 */
.category-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
  pointer-events: none;
}

/* アイコン */
.category-icon {
  font-size: 48px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  z-index: 1;
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* カテゴリタイトル */
.category-header span:not(.category-icon) {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  letter-spacing: 0.08em;
  z-index: 1;
  flex: 1;
}

/* カテゴリ別のグラデーション */
#ai-beginner .category-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

#ai-advanced .category-header {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  box-shadow: 0 10px 40px rgba(240, 147, 251, 0.3);
}

#creative .category-header {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  box-shadow: 0 10px 40px rgba(79, 172, 254, 0.3);
}

#sidejob-start .category-header {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  box-shadow: 0 10px 40px rgba(67, 233, 123, 0.3);
}

#startup-fire .category-header {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  box-shadow: 0 10px 40px rgba(250, 112, 154, 0.3);
}

#monetization .category-header {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
  box-shadow: 0 10px 40px rgba(48, 207, 208, 0.3);
}

#tax .category-header {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  box-shadow: 0 10px 40px rgba(168, 237, 234, 0.3);
}

#time-management .category-header {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  box-shadow: 0 10px 40px rgba(255, 236, 210, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .category-header {
    padding: 2rem 1.5rem;
    gap: 1rem;
    border-radius: 12px;
  }

  .category-icon {
    font-size: 36px;
  }

  .category-header span:not(.category-icon) {
    font-size: 24px;
  }

  .category-header::before {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .category-header {
    padding: 1.5rem 1rem;
    gap: 0.75rem;
  }

  .category-icon {
    font-size: 28px;
  }

  .category-header span:not(.category-icon) {
    font-size: 20px;
  }
}

/* ダークモード対応（オプション） */
@media (prefers-color-scheme: dark) {
  .category-header {
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  }
  
  .category-header:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
  }
}
