/* フォントはindex.htmlで読み込み済み */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* カラーパレット */
  --primary: #1e3a8a;
  --primary-light: #eff6ff;
  --primary-lighter: #dbeafe;
  --primary-dark: #1e40af;
  --accent: #3b82f6;
  --text: #1e293b;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-section: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --success: #10b981;
  --error: #ef4444;
  --error-light: rgba(239, 68, 68, 0.1);

  /* シャドウ */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* レイアウト */
  --max-width: 1200px;
  --max-width-content: 1100px;
  --max-width-text: 900px;

  /* 8px gridスペーシング */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 80px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* セクションpadding */
  --section-padding-y: var(--space-3xl);
  --section-padding-x: var(--space-md);
}

body {
  font-family:
    "Inter",
    "Noto Sans JP",
    -apple-system,
    sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Typography styles */
/* Font definitions are loaded via Google Fonts in HTML */
/* 共通アニメーション定義 */

/* フェードイン */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* パルス */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

@keyframes pulseScale {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
  }
}

/* フロート */
@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(var(--scale, 1));
  }
  50% {
    transform: translateY(-20px) scale(var(--scale, 1));
  }
}

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

@keyframes floatBubble {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* シマー・シャイン効果 */
@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes shimmerSlow {
  0% {
    transform: rotate(45deg) translateX(-100%);
  }
  100% {
    transform: rotate(45deg) translateX(100%);
  }
}

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

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

@keyframes glossSweep {
  0% {
    transform: translate(-100%, -100%) rotate(45deg);
  }
  100% {
    transform: translate(100%, 100%) rotate(45deg);
  }
}

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

/* 波形・ウェーブ */
@keyframes wave {
  0%, 100% {
    height: 20px;
  }
  50% {
    height: 45px;
  }
}

@keyframes voiceWave {
  0%, 100% {
    transform: scaleY(0.3);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* モーフィング */
@keyframes morphing {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  33% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
  66% {
    border-radius: 30% 70% 30% 70% / 70% 30% 70% 30%;
  }
}

/* スライド */
@keyframes slideRight {
  0%, 100% {
    transform: translateX(-3px);
  }
  50% {
    transform: translateX(3px);
  }
}

/* グラデーションスライド */
@keyframes gradientSlide {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

/* バウンス */
@keyframes checkBounce {
  0%, 100% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(1.3);
  }
}

@keyframes subtleBounce {
  0%, 100% { 
    transform: translateY(0); 
  }
  50% { 
    transform: translateY(4px); 
  }
}


/* 控えめなフロート */
@keyframes subtleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* ガラスの輝き */
@keyframes glassShine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* グローの回転 */
@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* アクセシビリティ: モーション低減設定対応 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}/* 共通ボタンスタイル */

/* プライマリボタン */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
  border: none;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.3);
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.4);
}

/* プライマリボタン - シンプルバリエーション */
.btn-primary-simple {
  background: var(--primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  border: none;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn-primary-simple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
  background: var(--primary-dark);
}

/* セカンダリボタン */
.btn-secondary {
  background: white;
  color: var(--primary);
  padding: 1rem 2.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--primary);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(30, 58, 138, 0.2);
}

/* ボタン内アイコン */
.btn-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

/* ボタンサイズバリエーション */
.btn-large {
  padding: 1.125rem 3rem;
  font-size: 1.0625rem;
}

.btn-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

/* ボタン幅バリエーション */
.btn-full {
  width: 100%;
  text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .btn-primary,
  .btn-primary-simple,
  .btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1rem;
  }
  
  .btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .btn-primary,
  .btn-primary-simple,
  .btn-secondary {
    padding: 0.9375rem 2rem;
    font-size: 0.9375rem;
  }
  
  .btn-large {
    padding: 0.9375rem 2rem;
    font-size: 0.9375rem;
  }
}/* 共通カードコンポーネント */

/* カード基本スタイル */
.card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.card-compact {
  padding: 2rem;
  border-radius: 20px;
}

.card-large {
  padding: 3rem;
  border-radius: 28px;
}

/* カード背景バリエーション */
.card-gradient {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.98) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.card-light {
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 1) 0%,
    rgba(241, 245, 249, 1) 100%
  );
  border: 2px solid rgba(203, 213, 225, 0.5);
}

.card-primary {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(239, 246, 255, 1) 100%
  );
  border: 2px solid rgba(59, 130, 246, 0.3);
}

/* カードシャドウ */
.card-shadow-sm {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.card-shadow-md {
  box-shadow: 
    20px 20px 60px rgba(30, 58, 138, 0.08),
    -20px -20px 60px rgba(255, 255, 255, 0.9);
}

.card-shadow-lg {
  box-shadow:
    0 20px 40px rgba(30, 58, 138, 0.12),
    0 8px 16px rgba(59, 130, 246, 0.08);
}

/* カードホバーエフェクト */
.card-hover-lift:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 60px rgba(30, 58, 138, 0.15),
    0 15px 30px rgba(59, 130, 246, 0.1);
}

.card-hover-scale:hover {
  transform: translateY(-5px) scale(1.02);
}

.card-hover-glow:hover {
  box-shadow:
    0 30px 60px rgba(30, 58, 138, 0.15),
    0 0 60px rgba(59, 130, 246, 0.2);
}

/* カードアクセント */
.card-accent-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    #3b82f6 20%,
    #1e40af 50%,
    #3b82f6 80%,
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card-accent-top:hover::before {
  opacity: 1;
}

/* カードグロスエフェクト */
.card-gloss::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(59, 130, 246, 0.1) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.card-gloss:hover::after {
  opacity: 1;
  transform: rotate(45deg) translateX(100%);
}

/* カード回転エフェクト */
.card-tilt-left {
  transform: rotate(-1deg);
}

.card-tilt-right {
  transform: rotate(0.5deg);
}

.card-tilt-left:hover,
.card-tilt-right:hover {
  transform: rotate(0deg);
}

/* メタリックカード */
.card-metallic {
  background: 
    /* トップレイヤー: 光沢 */
    linear-gradient(
      105deg,
      transparent 40%,
      rgba(255, 255, 255, 0.2) 45%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 60%
    ),
    /* ミドルレイヤー: メタリック反射 */
    linear-gradient(
      180deg,
      rgba(147, 197, 253, 0.15) 0%,
      transparent 20%,
      transparent 80%,
      rgba(30, 58, 138, 0.2) 100%
    ),
    /* ベースレイヤー: ディープブルーグラデーション */
    linear-gradient(
      135deg,
      #0a0e27 0%,
      #151e3f 10%,
      #1e3a8a 30%,
      #2563eb 50%,
      #1e40af 70%,
      #1e3a8a 90%,
      #0f172a 100%
    );
  background-size: 200% 200%, 100% 100%, 150% 150%;
  animation: ultraShine 8s ease-in-out infinite;
  box-shadow: 
    0 30px 60px rgba(15, 23, 42, 0.6),
    0 15px 30px rgba(30, 58, 138, 0.3),
    inset 0 3px 6px rgba(255, 255, 255, 0.4),
    inset 0 -3px 6px rgba(0, 0, 0, 0.6);
  color: white;
}

.card-metallic::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 35%,
    rgba(255, 255, 255, 0.6) 40%,
    rgba(255, 255, 255, 0.4) 45%,
    transparent 50%
  );
  animation: glossSweep 4s ease-in-out infinite;
}

.card-metallic:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 
    0 40px 80px rgba(15, 23, 42, 0.7),
    0 20px 40px rgba(30, 58, 138, 0.4),
    inset 0 5px 10px rgba(255, 255, 255, 0.5),
    inset 0 -5px 10px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(59, 130, 246, 0.4);
}

/* カードヘッダー */
.card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-icon-primary {
  background: linear-gradient(
    135deg,
    rgba(239, 246, 255, 1) 0%,
    rgba(219, 234, 254, 1) 100%
  );
  color: var(--primary);
  border: 1px solid rgba(30, 58, 138, 0.1);
  box-shadow:
    0 4px 12px rgba(30, 58, 138, 0.08),
    inset 0 -1px 3px rgba(30, 58, 138, 0.05);
}

.card:hover .card-icon-primary {
  transform: translateY(-2px);
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  box-shadow:
    0 8px 20px rgba(30, 58, 138, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
  border-color: transparent;
}

/* カード番号バッジ */
.card-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary);
  background: rgba(239, 246, 255, 0.8);
  border-radius: 50%;
  border: 2px solid var(--primary-light);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.card:hover .card-number {
  opacity: 1;
  transform: scale(1.1);
  background: var(--primary);
  color: white;
}/* 共通ユーティリティクラス */

/* セクションパディング */
.section-padding {
  padding: 6rem 3rem;
}

.section-padding-lg {
  padding: 7rem 3rem;
}

.section-padding-md {
  padding: 5rem 3rem;
}

.section-padding-sm {
  padding: 4rem 2rem;
}

/* 背景グラデーション */
.bg-gradient-primary {
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
}

.bg-gradient-primary-reverse {
  background: linear-gradient(180deg, var(--bg) 0%, var(--primary-light) 100%);
}

.bg-gradient-light {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
}

.bg-gradient-section {
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(241, 245, 249, 0.5) 50%,
    var(--bg) 100%
  );
}

.bg-gradient-hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--primary-light) 100%);
}

.bg-gradient-cta {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
}

/* 装飾的背景要素 */
.bg-decoration::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -20%;
  width: 40%;
  height: 40%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  animation: floatBubble 20s ease-in-out infinite;
}

.bg-decoration::after {
  content: "";
  position: absolute;
  bottom: 30%;
  right: -20%;
  width: 40%;
  height: 40%;
  background: radial-gradient(
    circle,
    rgba(30, 58, 138, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  animation: floatBubble 20s ease-in-out infinite reverse;
}

/* テキストグラデーション */
.text-gradient {
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-metallic {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f9fafb 15%,
    #e5e7eb 30%,
    #cbd5e1 50%,
    #e5e7eb 70%,
    #f9fafb 85%,
    #ffffff 100%
  );
  background-size: 100% 150%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4))
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
  animation: shimmerText 10s ease-in-out infinite;
}

/* 共通シャドウ */
.shadow-soft {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.shadow-card {
  box-shadow:
    0 20px 40px rgba(30, 58, 138, 0.12),
    0 8px 16px rgba(59, 130, 246, 0.08);
}

.shadow-hover {
  transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
  box-shadow:
    0 30px 60px rgba(30, 58, 138, 0.15),
    0 15px 30px rgba(59, 130, 246, 0.1);
}

.shadow-neumorphic {
  box-shadow:
    20px 20px 60px rgba(30, 58, 138, 0.08),
    -20px -20px 60px rgba(255, 255, 255, 0.9);
}

/* フォントサイズユーティリティ */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

/* フォントウェイト */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* 文字間隔 */
.tracking-tight { letter-spacing: -0.03em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.02em; }
.tracking-wider { letter-spacing: 0.05em; }

/* 行高 */
.leading-tight { line-height: 1.15; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.7; }
.leading-loose { line-height: 1.8; }

/* マージンユーティリティ */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

/* フレックスユーティリティ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* グリッドユーティリティ */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* 位置ユーティリティ */
.relative { position: relative; }
.absolute { position: absolute; }
.z-1 { z-index: 1; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }

/* オーバーフロー */
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }

/* アクセシビリティ - スクリーンリーダー専用 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* アクセシビリティ - フォーカススタイル */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* レスポンシブ表示 */
@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 2rem;
  }
  
  .section-padding-lg {
    padding: 5rem 2rem;
  }
  
  .section-padding-md {
    padding: 4rem 2rem;
  }
  
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:grid-cols-1 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section-padding {
    padding: 3rem 1.5rem;
  }
  
  .section-padding-lg {
    padding: 4rem 1.5rem;
  }
  
  .sm\:hidden { display: none; }
  .sm\:block { display: block; }
  .sm\:text-sm { font-size: 0.875rem; }
  .sm\:text-base { font-size: 1rem; }
}
/* セクション共通 */
section {
  padding: 5rem 3rem;
}

.container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

h2 {
  font-size: 2.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: #1e293b;
  line-height: 1.3;
  position: relative;
}

/* シンプルな下線 (v2: navy フェードラインに統一。
   旧 #3b82f6 は LP のメインパレット (navy + gold + slate) と不整合) */
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary, #1e3a8a), transparent);
  border-radius: 1px;
  opacity: 0.55;
}

.section-subtitle {
  font-size: 1rem;
  color: #64748b;
  max-width: 560px;
  margin: 2rem auto 0;
  line-height: 1.65;
  letter-spacing: 0.003em;
  font-weight: 400;
}

/* フェードインアニメーション */
.section-header {
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}

/* fadeInアニメーションはanimations.5175f56e.cssに移動済み */

/* レスポンシブ対応 */
@media (max-width: 768px) {
  section {
    padding: 3rem 2rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  h2 {
    font-size: 1.75rem;
    font-weight: 600;
  }
  
  .section-subtitle {
    font-size: 0.9375rem;
    margin-top: 1.5rem;
  }
  
  .section-header h2::after {
    width: 28px;
    bottom: -12px;
  }
}

@media (max-width: 480px) {
  section {
    padding: 2.5rem 1.5rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.875rem;
  }
}