/* KAISUKE MVC練習用 - さわやかなカスタムスタイル */

:root {
  /* メインカラーパレット - さわやかなブルー・グリーン系 */
  --primary-color: #4A90E2;        /* 明るいスカイブルー */
  --primary-dark: #357ABD;         /* 濃いブルー */
  --secondary-color: #7ED321;      /* フレッシュグリーン */
  --accent-color: #50E3C2;         /* ミントグリーン */
  --success-color: #27AE60;        /* 成功カラー */
  --warning-color: #F39C12;        /* 警告カラー */
  --danger-color: #E74C3C;         /* エラーカラー */
  
  /* ニュートラルカラー */
  --text-color: #2C3E50;           /* メインテキスト */
  --text-secondary: #7F8C8D;       /* サブテキスト */
  --text-light: #BDC3C7;          /* ライトテキスト */
  --bg-light: #F8FAFB;            /* ライト背景 */
  --bg-card: #FFFFFF;             /* カード背景 */
  --border-color: #E8F4FD;        /* ボーダー */
  
  /* グラデーション */
  --gradient-primary: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  --gradient-secondary: linear-gradient(135deg, #7ED321 0%, #27AE60 100%);
  --gradient-hero: linear-gradient(135deg, #4A90E2 0%, #50E3C2 100%);
  
  --shadow: 0 8px 30px rgba(74, 144, 226, 0.1);
  --shadow-hover: 0 16px 40px rgba(74, 144, 226, 0.15);
  --border-radius: 12px;
}

/* 全体 */
body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-light);
}

/* 法的文書のスタイリング */
.legal-content {
  font-size: 1rem;
  line-height: 1.8;
}

.legal-content h2 {
  color: var(--primary-color);
  margin-top: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content ol,
.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content li ul,
.legal-content li ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.legal-content .bg-light {
  border-left: 4px solid var(--primary-color);
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* キャンペーンバナー */
.campaign-banner {
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1040;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
  animation: pulse-glow 2s ease-in-out infinite alternate;
}

.campaign-banner .container {
  padding: 1rem 0;
}

.campaign-banner h3 {
  margin: 0;
  font-weight: bold;
  font-size: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.campaign-banner .campaign-text {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.95;
}

.campaign-banner .btn-campaign {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.campaign-banner .btn-campaign:hover {
  background: white;
  color: #FF6B6B;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.campaign-banner .countdown {
  font-size: 1.3rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.campaign-banner .countdown-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
  }
  100% {
    box-shadow: 0 6px 30px rgba(255, 107, 107, 0.5);
  }
}

.pulse-animation {
  animation: pulse-scale 1.5s ease-in-out infinite alternate;
}

@keyframes pulse-scale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

@media (max-width: 768px) {
  .campaign-banner h3 {
    font-size: 1.3rem;
  }
  .campaign-banner .campaign-text {
    font-size: 1rem;
  }
  .campaign-banner .countdown {
    font-size: 1.1rem;
  }
}

/* AI診断セクション */
.ai-diagnosis-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.ai-diagnosis-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M2,2 L8,2 M5,2 L5,8 M2,8 L8,8" stroke="rgba(255,255,255,0.1)" stroke-width="0.5" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>') repeat;
  opacity: 0.3;
}

.ai-diagnosis-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.ai-diagnosis-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.ai-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: ai-pulse 2s ease-in-out infinite;
}

@keyframes ai-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.feature-check {
  color: #27AE60;
  margin-right: 0.5rem;
}

.diagnosis-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.diagnosis-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.diagnosis-btn:hover::before {
  left: 100%;
}

.diagnosis-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
  color: white;
}

.time-badge {
  background: rgba(39, 174, 96, 0.1);
  color: #27AE60;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.free-badge {
  background: rgba(230, 126, 34, 0.1);
  color: #E67E22;
  border: 1px solid rgba(230, 126, 34, 0.3);
  height: 32px;
}

@media (max-width: 768px) {
  .ai-diagnosis-section {
    padding: 3rem 0;
  }
  
  .diagnosis-btn {
    width: 100%;
    margin-top: 1rem;
  }
}

/* ヘッダー */
.navbar-brand img {
  height: 45px;
  width: auto;
  filter: brightness(0) invert(1); /* 白色に変換して背景とのコントラストを確保 */
}

.navbar {
  box-shadow: var(--shadow);
  background: var(--gradient-primary) !important;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  margin: 0 8px;
  padding: 8px 16px !important;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: white !important;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* ヒーローセクション */
.hero-section {
  background: var(--gradient-hero);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.btn-hero {
  background: var(--gradient-secondary);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  padding: 16px 32px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(126, 211, 33, 0.3);
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(126, 211, 33, 0.4);
  color: white;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  border-radius: 50px;
  font-weight: 500;
  padding: 16px 32px;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
  color: white;
}

/* カード */
.card {
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  overflow: hidden;
  background: var(--bg-card);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-title {
  color: var(--text-color);
  font-weight: 600;
  line-height: 1.4;
}

.card-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* バッジ */
.badge-category {
  background: var(--gradient-secondary);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Bootstrap カスタマイズ */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: 8px;
  font-weight: 500;
  padding: 12px 24px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
  background: var(--primary-dark);
  color: white;
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

/* セクション */
.display-6 {
  color: var(--text-color);
  font-weight: 700;
}

.text-primary {
  color: var(--primary-color) !important;
}

.lead {
  font-size: 1.1rem;
}

.bg-light {
  background-color: var(--bg-light) !important;
}

.bg-primary {
  background: var(--gradient-primary) !important;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: #f8fafc;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: #e2e8f0;
}

.faq-question:not(.collapsed) {
  background: var(--primary-color);
  color: white;
}

.faq-question:not(.collapsed) .fas {
  color: white;
}

.faq-answer {
  padding: 1.5rem;
  background: white;
}

.faq-question .fa-chevron-down {
  transition: transform 0.3s ease;
}

.faq-question:not(.collapsed) .fa-chevron-down {
  transform: rotate(180deg);
}

/* 検索フォーム */
.search-form {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

/* フッター */
.footer {
  background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
  color: white;
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer h5, .footer h6 {
  color: white;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent-color);
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

/* ページネーション */
.pagination .page-link {
  color: var(--primary-color);
  border-color: var(--border-color);
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color:#fff;
}

/* 管理画面 */
.admin-sidebar {
  background: var(--primary-color);
  min-height: 100vh;
  padding: 20px 0;
}

.admin-sidebar .nav-link {
  color: rgba(255,255,255,0.9);
  padding: 12px 20px;
  border-radius: 0;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background: rgba(255,255,255,0.1);
  color: white;
}

.admin-content {
  padding: 30px;
}

.stats-card {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* フォーム */
.form-control {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--bg-card);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
  background: white;
}

.form-label {
  color: var(--text-color);
  font-weight: 500;
  margin-bottom: 8px;
}

/* 管理画面 */
.admin-header {
  background: var(--gradient-primary);
  color: white;
  padding: 30px 0;
  margin-bottom: 30px;
}

.admin-nav {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.admin-nav .nav-link {
  color: var(--text-color);
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.admin-nav .nav-link:hover,
.admin-nav .nav-link.active {
  background: var(--primary-color);
  color: white;
}

/* アラート */
.alert {
  border: none;
  border-radius: var(--border-radius);
  padding: 16px 20px;
  font-weight: 500;
}

.alert-success {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.1) 0%, rgba(126, 211, 33, 0.1) 100%);
  color: var(--success-color);
  border-left: 4px solid var(--success-color);
}

.alert-danger {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(192, 57, 43, 0.1) 100%);
  color: var(--danger-color);
  border-left: 4px solid var(--danger-color);
}

/* テーブル */
.table {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table thead th {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 16px;
  font-weight: 600;
}

.table tbody td {
  padding: 16px;
  border-color: var(--border-color);
  vertical-align: middle;
}

.table tbody tr:hover {
  background: rgba(74, 144, 226, 0.05);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .btn-hero, .btn-outline-light {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .card-img-top {
    height: 180px;
  }
  
  .hero-section {
    padding: 60px 0;
  }
}

/* アニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card, .hero-section > * {
  animation: fadeInUp 0.6s ease-out;
}

/* スクロールバー */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* トップに戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  z-index: 1000;
  transition: all 0.3s;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* サービスページ用スタイル */
/* 特徴ページ */
.features-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.operation-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.operation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.time-badge {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.operation-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.step-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: #f8fafc;
  border-radius: 8px;
}

.step-number {
  background: var(--primary-color);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 1rem;
  flex-shrink: 0;
}

.comparison-card {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 15px;
  padding: 2rem;
  border: 2px solid var(--border-color);
}

.comparison-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.reduction-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 1.1rem;
}

.before-after {
  text-align: center;
}

.before-section, .after-section {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.before-section {
  background: #fee2e2;
  border-left: 4px solid #ef4444;
}

.after-section {
  background: #d1fae5;
  border-left: 4px solid #10b981;
}

.arrow-down {
  color: var(--primary-color);
  margin: 1rem 0;
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.schedule-time {
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  margin-right: 2rem;
  min-width: 120px;
  font-weight: 600;
}

.schedule-content h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.action-list {
  list-style: none;
  padding: 0;
}

.action-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.comparison-table {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.old-system {
  background: #fee2e2;
  color: #dc2626;
}

.kaisuke-system {
  background: #d1fae5;
  color: #059669;
  font-weight: 600;
}

.main-function-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.main-function-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.function-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.design-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.design-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.design-features {
  list-style: none;
  padding: 0;
  text-align: left;
}

.design-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* 料金ページ */
.pricing-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.pricing-card {
  position: relative;
  transition: all 0.3s ease;
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-featured {
  border: 3px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-featured:hover {
  transform: scale(1.08) translateY(-10px);
}

.recommended-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 10;
}

.pricing-header {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-bottom: 1px solid var(--border-color);
  border-radius: 12px 12px 0 0;
}

.plan-name {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-price {
  margin-bottom: 1rem;
}

.currency {
  font-size: 1.2rem;
  vertical-align: top;
}

.amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.period {
  font-size: 1rem;
  color: #6b7280;
}

.feature-list, .limitation-list {
  list-style: none;
  padding: 0;
}

.feature-list li, .limitation-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.case-study-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.case-study-company {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.case-study-type {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.results-list {
  list-style: none;
  padding: 0;
}

.results-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cost-table {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.old-cost {
  background: #fee2e2;
  color: #dc2626;
  font-weight: 600;
}

.new-cost {
  background: #dbeafe;
  color: #2563eb;
  font-weight: 600;
}

.saved-cost {
  background: #d1fae5;
  font-size: 1.1rem;
}

.roi-highlight {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  padding: 2rem;
  margin-top: 2rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: #f8fafc;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
}

.faq-question:hover {
  background: #e2e8f0;
}

.faq-answer {
  padding: 1.5rem;
  background: white;
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  height: 100%;
}

/* 会社情報ページ */
.company-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.company-basic-info {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.info-item {
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
}

.company-visual {
  text-align: center;
  padding: 3rem;
}

.mission-card, .vision-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.mission-card:hover, .vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-icon {
  margin-bottom: 1.5rem;
}

.business-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.business-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.achievement-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.achievement-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.achievement-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.company-name {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.achievement-type {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.achievement-result {
  font-weight: 600;
  color: #10b981;
}

.achievement-quote {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 10px;
  font-style: italic;
  margin-top: 1rem;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.support-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.support-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.tech-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.tech-features {
  list-style: none;
  padding: 0;
  text-align: left;
}

.tech-features li {
  padding: 0.3rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 2rem;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 2rem;
}

.timeline-marker {
  position: absolute;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-marker {
  right: -25px;
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -25px;
}

.timeline-content {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-content h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline-content h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.flow-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.flow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.flow-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.flow-time {
  background: #fef3c7;
  color: #92400e;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.flow-tasks {
  list-style: none;
  padding: 0;
  text-align: left;
}

.flow-tasks li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.migration-info {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-section {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.contact-box {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-subtitle {
  color: #6b7280;
  margin-bottom: 2rem;
}

.contact-method {
  padding: 1.5rem;
  text-align: center;
}

.contact-info {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-time {
  color: #6b7280;
  font-size: 0.9rem;
}

.contact-buttons {
  margin-top: 2rem;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.cta-box {
  text-align: center;
  padding: 3rem;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  margin-bottom: 1rem;
}

.cta-note {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 3rem !important;
    padding-right: 0 !important;
  }
  
  .timeline-marker {
    left: -5px !important;
    right: auto !important;
  }
  
  .stats-row {
    gap: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .schedule-item {
    flex-direction: column;
    text-align: center;
  }
  
  .schedule-time {
    margin-right: 0;
    margin-bottom: 1rem;
    width: 100%;
  }
  
  .comparison-header {
    flex-direction: column;
    gap: 1rem;
  }
}

/* 料金ページ用スタイル */
.pricing-card {
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-featured {
  border: 3px solid var(--primary-color);
  transform: scale(1.05);
  overflow: visible;
}

.pricing-featured:hover {
  transform: scale(1.08) translateY(-10px);
}

.pricing-price {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* タイムライン */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-date {
  margin-bottom: 0.5rem;
}

.timeline-content {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.timeline-content h5 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
