/* 2026年版デザインシステム - モダンで視覚的に訴求力のあるスタイル */

/* グローバル変数定義 */
:root {
  /* 2026年トレンドカラーパレット */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --primary-light: #8b9cf4;
  --primary-dark: #4a5bb8;
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-color: #ffd700;
  --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  
  /* ニュートラルカラー */
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  
  /* スペーシング */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* タイポグラフィ */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* ボーダーラディウス */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* シャドウ */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgb(102 126 234 / 0.3);
}

/* 2026年版ヒーローセクション */
.hero-2026 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-2026::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(180deg); }
}

.hero-content-2026 {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
}

.hero-title-2026 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle-2026 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-2xl);
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* 2026年版カードデザイン */
.card-2026 {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-xl);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card-2026::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.card-2026:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.card-2026:hover::before {
  left: 100%;
}

/* プロバイダーカード 2026年版 */
.provider-card-2026 {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.provider-card-2026::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.provider-card-2026:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

/* ボタン 2026年版 */
.btn-2026 {
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--font-size-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  text-shadow: none;
  position: relative;
  overflow: hidden;
}

.btn-2026::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-2026:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.1);
}

.btn-2026:hover::before {
  left: 100%;
}

.btn-2026:active {
  transform: translateY(0);
}

/* プライマリボタン */
.btn-primary-2026 {
  background: var(--primary-gradient);
}

/* セカンダリボタン */
.btn-secondary-2026 {
  background: var(--secondary-gradient);
}

/* サクセスボタン */
.btn-success-2026 {
  background: var(--success-gradient);
}

/* 比較表 2026年版 */
.comparison-table-2026 {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin: var(--space-2xl) 0;
}

.table-header-2026 {
  background: var(--primary-gradient);
  padding: var(--space-xl);
  text-align: center;
}

.comparison-table-2026 th {
  background: var(--primary-gradient);
  color: white;
  padding: var(--space-lg);
  font-weight: 600;
  text-align: center;
}

.comparison-table-2026 td {
  padding: var(--space-lg);
  text-align: center;
  border-bottom: 1px solid var(--neutral-200);
  transition: background-color 0.2s ease;
}

.table-row-hover:hover {
  background-color: var(--neutral-50);
  transform: scale(1.01);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.highlight-row-2026 {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 193, 7, 0.05));
}

.speed-badge-2026 {
  transition: all 0.3s ease;
  cursor: pointer;
}

.speed-badge-2026:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.table-footer-2026 {
  background: var(--neutral-100);
  border-top: 1px solid var(--neutral-200);
}

.comparison-note-2026 {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* プロバイダーアイコンのホバー効果 */
.comparison-table-2026 td div[style*="border-radius: 50%"] {
  transition: all 0.3s ease;
}

.table-row-hover:hover td div[style*="border-radius: 50%"] {
  transform: scale(1.1) rotate(5deg);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .comparison-table-2026 {
    margin: var(--space-lg) -1rem;
    border-radius: 0;
  }
  
  .comparison-table-2026 th,
  .comparison-table-2026 td {
    padding: var(--space-md);
    font-size: var(--font-size-sm);
  }
  
  .table-header-2026 {
    padding: var(--space-lg);
  }
  
  .table-header-2026 h2 {
    font-size: var(--font-size-xl) !important;
  }
}

/* 統計カード 2026年版 */
.stats-card-2026 {
  background: var(--primary-gradient);
  color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-2xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.stats-card-2026:hover {
  transform: scale(1.05);
}

.stats-number-2026 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.stats-label-2026 {
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

/* アニメーション */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* グラデーション背景 */
.gradient-bg-purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-bg-pink {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-bg-blue {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* レスポンシブデザイン 2026年版 */
@media (max-width: 768px) {
  .hero-2026 {
    min-height: 60vh;
    padding: var(--space-xl) 0;
  }
  
  .card-2026 {
    padding: var(--space-lg);
  }
  
  .provider-card-2026 {
    padding: var(--space-lg);
  }
  
  .comparison-table-2026 {
    font-size: var(--font-size-sm);
  }
  
  .comparison-table-2026 th,
  .comparison-table-2026 td {
    padding: var(--space-md);
  }
}