/* 軽LAB カスタムスタイル - 青木町テーマ */
:root {
  --color-primary: #1e3a8a;      /* 濃い青 */
  --color-secondary: #3b82f6;    /* 中間の青 */
  --color-accent: #06b6d4;       /* シアン・アクアブルー */
  --color-success: #0ea5e9;      /* 明るい青 */
  --color-light-blue: #dbeafe;   /* 薄い青 */
  --color-navy: #1e40af;         /* ネイビーブルー */
}

body {
  font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
  scroll-behavior: smooth;
}

/* カスタムカラークラス - 青中心パレット */
.bg-primary { background-color: var(--color-primary) !important; }
.bg-secondary { background-color: var(--color-secondary) !important; }
.bg-accent { background-color: var(--color-accent) !important; }
.bg-success { background-color: var(--color-success) !important; }
.bg-light-blue { background-color: var(--color-light-blue) !important; }
.bg-navy { background-color: var(--color-navy) !important; }
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-accent { color: var(--color-accent) !important; }
.text-success { color: var(--color-success) !important; }
.text-light-blue { color: var(--color-light-blue) !important; }
.text-navy { color: var(--color-navy) !important; }
.border-primary { border-color: var(--color-primary) !important; }
.border-secondary { border-color: var(--color-secondary) !important; }
.border-accent { border-color: var(--color-accent) !important; }
.border-success { border-color: var(--color-success) !important; }

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

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* ホバーエフェクト */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* グラデーション背景 - 青木町ブルー */
.bg-gradient-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1e40af 100%);
}

.bg-gradient-blue {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

/* カスタムボタンスタイル - アクアブルー */
.btn-primary {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0891b2, #0e7490);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

/* スマホ用UI改善 - レスポンシブ調整 */
@media (max-width: 768px) {
  .text-5xl {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  
  .text-6xl {
    font-size: 2.8rem;
    line-height: 1.2;
  }

  .text-4xl {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .text-3xl {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .text-2xl {
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .text-xl {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  /* スマホ用パディング・マージン調整 */
  .py-20 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .py-12 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .px-6 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .mb-16 {
    margin-bottom: 2rem;
  }

  .mb-8 {
    margin-bottom: 1.5rem;
  }

  .mb-6 {
    margin-bottom: 1rem;
  }

  /* モバイルカード調整 */
  .grid.md\\:grid-cols-3 {
    gap: 1.5rem;
  }

  .grid.md\\:grid-cols-2 {
    gap: 1.5rem;
  }

  /* モバイルボタン調整 */
  .py-4 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .py-6 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .px-8 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .px-12 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* 文字の視認性向上 - 大幅改善版 */
.text-white-enhanced {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.text-gray-light {
  color: #f3f4f6 !important; /* 非常に明るいグレー */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.text-gray-medium {
  color: #e5e7eb !important; /* 明るいグレー */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* LINE QRコード用スタイル */
.qr-code-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.qr-code-image {
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.qr-code-image:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
  .qr-code-image {
    width: 120px !important;
    height: 120px !important;
  }
}

/* 最高コントラスト文字 - 完全に読みやすく */
.text-dark-enhanced {
  color: #000000 !important; /* 完全な黒 */
  font-weight: 600;
}

.text-readable-gray {
  color: #1f2937 !important; /* 非常に濃いグレー */
  font-weight: 500;
  line-height: 1.6;
}

.text-content-dark {
  color: #000000 !important; /* 完全な黒 */
  font-weight: 500;
  line-height: 1.7;
}

.text-black-bold {
  color: #000000 !important; /* 完全な黒 */
  font-weight: 700;
  line-height: 1.5;
}

.text-almost-black {
  color: #111827 !important; /* ほぼ黒 */
  font-weight: 600;
  line-height: 1.6;
}

/* UIの分かりやすさ改善 */
.btn-enhanced {
  font-weight: 600;
  letter-spacing: 0.025em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn-enhanced:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.card-enhanced {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}

.card-enhanced:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: #3b82f6;
  transform: translateY(-2px);
}

/* モバイル用ハンバーガーメニュー - 改善版 */
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    color: white;
    font-size: 1.25rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary);
    padding: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-nav a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .mobile-nav a:hover {
    padding-left: 0.5rem;
    border-left: 3px solid var(--color-accent);
  }
}

/* スクロールバーのカスタマイズ - ブルーテーマ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #dbeafe;
}

::-webkit-scrollbar-thumb {
  background: #06b6d4;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0891b2;
}