/* 全体リセット */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans JP', sans-serif; }

/* 共通 */
.section-title { font-size: 36px; font-weight: 900; color: #1E293B; margin-bottom: 24px; letter-spacing: 0.02em; }
.section-header { text-align: center; }
.lead-text { font-size: 18px; font-weight: 500; color: #64748B; line-height: 1.8; max-width: 1000px; margin: 0 auto; }

/* =========================================================
   Hero
========================================================= */
.bg-network {
  background-color: #f8fafc;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(29, 78, 216, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23cbd5e1' stroke-width='0.5' fill='none' fill-rule='evenodd' opacity='0.5'%3E%3Ccircle cx='3' cy='3' r='1' fill='%2394a3b8'/%3E%3Cpath d='M3 3L97 97M3 97L97 3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100% 100%, 100% 100%, 150px 150px;
}
.blob-shape {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: morph 8s ease-in-out infinite alternate;
}
.blob-shape-2 {
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
  animation: morph 10s ease-in-out infinite alternate-reverse;
}
@keyframes morph {
  0%   { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  50%  { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

/* =========================================================
   Features
========================================================= */
@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.animate-dash { stroke-dasharray: 10; animation: dash 1s linear infinite; }

/* =========================================================
   Before/After 比較テーブル
========================================================= */
.comparison-section { background-color: #030712; background-image: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.25) 0%, transparent 50%), radial-gradient(circle at 100% 100%, rgba(29, 78, 216, 0.2) 0%, transparent 50%), radial-gradient(circle at 50% -10%, rgba(59, 130, 246, 0.15) 0%, transparent 60%); padding: 160px 40px; width: 100%; color: #FFFFFF; position: relative; overflow: hidden; }
.comparison-section::before { content: ''; position: absolute; top: 20%; left: -10%; width: 120%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); transform: rotate(-5deg); z-index: 0; }
.comparison-section .container { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.comparison-section .section-header { margin-bottom: 100px; }
.comparison-section .section-title { font-size: 38px; margin-bottom: 28px; line-height: 1.35; letter-spacing: 0.05em; background: linear-gradient(180deg, #FFFFFF 30%, #94a3b8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 20px rgba(255,255,255,0.2)); }
.comparison-section .lead-text { color: #cbd5e1; }
.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0 20px; }
.comparison-section th { font-size: 15px; padding: 0 24px 16px; color: #94a3b8; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; text-align: center; }
.comparison-section td { padding: 40px 28px; vertical-align: middle; text-align: center; }
.comparison-table .col-label { width: 20%; font-weight: 700; font-size: 19px; color: #f8fafc; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px); border-left: 1px solid rgba(255, 255, 255, 0.1); border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px 0 0 20px; }
.comparison-table .col-before { width: 35%; color: rgba(255, 255, 255, 0.85); font-size: 16px; line-height: 1.6; background: rgba(255, 255, 255, 0.03); border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.comparison-table .col-after { width: 45%; background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 40%, #1e3a8a 100%); color: #ffffff; font-size: 19px; font-weight: 800; line-height: 1.5; border-radius: 0 20px 20px 0; box-shadow: 0 0 40px rgba(37, 99, 235, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.1); border-top: 1px solid rgba(255, 255, 255, 0.3); border-right: 1px solid rgba(255, 255, 255, 0.3); border-bottom: 1px solid rgba(255, 255, 255, 0.3); position: relative; }
.comparison-table .col-after::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%); border-radius: 0 20px 20px 0; pointer-events: none; }
.comparison-table .sub-text { display: block; font-size: 15px; font-weight: 500; margin-top: 8px; color: rgba(255, 255, 255, 0.7); letter-spacing: 0.02em; }

@media (max-width: 768px) {
  .comparison-section { padding: 80px 16px; }
  .comparison-table, .comparison-table thead, .comparison-table tbody, .comparison-table tr, .comparison-table th, .comparison-table td { display: block; width: 100%; }
  .comparison-table thead { display: none; }
  .comparison-table tr { margin-bottom: 24px; background: rgba(255,255,255,0.04); border-radius: 20px; border: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
  .comparison-table .col-label { border-radius: 20px 20px 0 0; border-left: none; text-align: center; padding: 20px 20px 12px; font-size: 16px; background: rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.08); border-top: none; }
  .comparison-table .col-before { padding: 16px 20px; font-size: 14px; text-align: left; border: none; }
  .comparison-table .col-before::before { content: '従来 ▸ '; font-weight: 700; color: rgba(255,255,255,0.5); font-size: 12px; display: block; margin-bottom: 4px; }
  .comparison-table .col-after { border-radius: 0 0 20px 20px; padding: 16px 20px; font-size: 16px; text-align: left; border: none; box-shadow: none; }
  .comparison-table .col-after::before { content: 'AI導入後 ▸ '; font-weight: 700; color: rgba(255,255,255,0.7); font-size: 12px; display: block; margin-bottom: 4px; }
  .comparison-section .section-title { font-size: 28px; }
}

/* =========================================================
   見出し共通グラデーション（サイズはTailwindで指定）
========================================================= */
.heading-gradient {
  background: linear-gradient(to right, #1A5CCC, #4087FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}

/* =========================================================
   LP 共通ユーティリティ
========================================================= */
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
a, button { -webkit-tap-highlight-color: transparent; }

.lp-clarity-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(239, 246, 255, 0.86);
  color: #1d4ed8;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(10px);
}

@media (max-width: 640px) {
  .lp-clarity-badge { width: 100%; justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .blob-shape, .blob-shape-2 { animation: none; }
  .animate-float { animation: none; }
  .animate-dash { animation: none; }
  .animate-pulse { animation: none; }
}

/* =========================================================
   システムノート（ユースケースページ共通）
========================================================= */
.lp-system-note {
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
}
.lp-system-note strong { color: #1d4ed8; }

/* 業務フロー矢印 */
.flow-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -2rem;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%233b82f6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.25 4.5l7.5 7.5-7.5 7.5' /%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
@media (max-width: 1024px) {
  .flow-arrow::after { display: none; }
}
