/* ===================================
   Landy - Rich Design System & Styles
   ================================= */
@import url('https://unpkg.com/aos@next/dist/aos.css');

/* --- CSS Variables --- */
:root {
  /* Colors */
  --color-white: #ffffff;
  --color-bg: #f8fafc;
  --color-bg-alt: #f1f5f9;
  --color-text: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;

  /* Brand Colors */
  --color-primary: #0284c7;        /* Sky 600 */
  --color-primary-dark: #0369a1;   /* Sky 700 */
  --color-primary-light: #38bdf8;  /* Sky 400 */
  --color-primary-bg: #e0f2fe;     /* Sky 100 */

  /* Accent & Gradients */
  --color-accent: #0ea5e9;
  --gradient-primary: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  --gradient-glow: linear-gradient(135deg, #38bdf8, #818cf8, #0ea5e9);
  --gradient-text: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #38bdf8 100%);
  --gradient-text-alt: linear-gradient(135deg, #bae6fd 0%, #38bdf8 100%);
  --gradient-bg-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);

  /* UI Colors */
  --color-red: #ef4444;
  --color-red-soft: #fee2e2;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);
  --shadow-2xl: 0 25px 50px rgba(0,0,0,0.25);
  --shadow-primary: 0 10px 25px rgba(2, 132, 199, 0.3);

  /* Typography */
  --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
  --font-size-xs: 0.8rem;
  --font-size-sm: 0.9375rem;
  --font-size-base: 1.0625rem; /* ~17px */
  --font-size-lg: 1.1875rem; /* ~19px */
  --font-size-xl: 1.3125rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;
  --font-size-6xl: 4.5rem;

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem;   --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem;   --space-8: 2rem;    --space-10: 2.5rem;
  --space-12: 3rem;   --space-16: 4rem;    --space-20: 5rem;   --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 8px;   --radius-md: 12px;   --radius-lg: 20px;  
  --radius-xl: 28px;  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { font-family: var(--font-sans); font-size: var(--font-size-base); line-height: 1.7; color: var(--color-text); background: var(--color-white); overflow-x: hidden; position: relative; width: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
.bg-gray { background-color: var(--color-bg); }

/* --- Layout --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); }
.container-wide { max-width: 1400px; }
section { padding: var(--space-24) 0; position: relative; }

/* --- Typography Utilities --- */
.gradient-text { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-text-alt { background: var(--gradient-text-alt); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-sm { font-size: var(--font-size-xs); font-weight: 500; margin-left: 2px; }

/* --- Section Headers --- */
.section-header { text-align: center; margin-bottom: var(--space-20); position: relative; z-index: 10; }
.section-tag { display: inline-flex; padding: var(--space-1) var(--space-4); background: var(--color-primary-bg); color: var(--color-primary); font-size: var(--font-size-sm); font-weight: 700; border-radius: var(--radius-full); margin-bottom: var(--space-4); letter-spacing: 0.05em; text-transform: uppercase; }
.section-tag-red { background: var(--color-red-soft); color: var(--color-red); }
.section-header h2 { font-size: var(--font-size-4xl); font-weight: 800; line-height: 1.3; letter-spacing: -0.03em; margin-bottom: var(--space-4); }
.section-description { font-size: var(--font-size-lg); color: var(--color-text-secondary); max-width: 650px; margin: 0 auto; line-height: 1.8; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-3) var(--space-6); border-radius: var(--radius-full); font-weight: 600; font-size: var(--font-size-sm); transition: all var(--transition-base); white-space: nowrap; position: relative; overflow: hidden; }
.btn-primary { background: var(--gradient-primary); color: var(--color-white); box-shadow: var(--shadow-sm); z-index: 1; border: 1px solid rgba(255,255,255,0.1); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { color: var(--color-text); background: rgba(255,255,255,0.8); border: 1px solid var(--color-border); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--color-bg); border-color: var(--color-text-muted); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: var(--space-2) var(--space-5); font-size: var(--font-size-xs); }
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--font-size-base); }
.btn-xl { padding: var(--space-5) var(--space-10); font-size: var(--font-size-lg); border-radius: var(--radius-xl); }
.btn-full { width: 100%; }

/* Button Glow Effect */
.btn-glow-effect::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent); transform: skewX(-20deg); z-index: -1; animation: shine 4s ease-in-out infinite; }
@keyframes shine { 0%, 100% { left: -100%; } 20%, 80% { left: 200%; } }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-primary); }

/* ==============================
   HEADER
   ============================== */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255, 255, 255, 0); transition: all var(--transition-base); }
#header.scrolled { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); border-bottom: 1px solid rgba(255,255,255,0.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: flex; align-items: center; gap: var(--space-2); font-size: var(--font-size-xl); font-weight: 800; letter-spacing: -0.02em; }
.logo-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--gradient-primary); color: var(--color-white); border-radius: 8px; font-size: var(--font-size-lg); font-weight: 800; box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2); }
.logo-text { color: var(--color-text); }
.nav-desktop { display: flex; align-items: center; gap: var(--space-8); background: rgba(255,255,255,0.5); padding: var(--space-2) var(--space-6); border-radius: var(--radius-full); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.6); }
#header.scrolled .nav-desktop { background: transparent; border-color: transparent; }
.nav-desktop a { font-size: var(--font-size-sm); font-weight: 600; color: var(--color-text-secondary); transition: color var(--transition-fast); }
.nav-desktop a:hover { color: var(--color-primary); }

.nav-login-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; background: rgba(2, 132, 199, 0.05); color: var(--color-primary) !important; border: 1px solid rgba(2, 132, 199, 0.2); border-radius: var(--radius-full); font-size: var(--font-size-sm) !important; font-weight: 700 !important; transition: all var(--transition-base) !important; margin-left: 8px; }
.nav-login-btn:hover { background: var(--color-primary); color: var(--color-white) !important; border-color: var(--color-primary); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.nav-login-btn svg { width: 14px; height: 14px; }

/* Mobile Menu */
.mobile-menu-toggle { display: none; flex-direction: column; gap: 6px; padding: var(--space-2); z-index: 1001; }
.mobile-menu-toggle span { width: 24px; height: 2px; background: var(--color-text); border-radius: 2px; transition: all var(--transition-fast); }
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-mobile { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--color-white); z-index: 1000; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--space-8); opacity: 0; pointer-events: none; transition: all var(--transition-base); transform: translateY(-20px); }
.nav-mobile.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-mobile a:not(.btn):not(.nav-login-btn-mobile) { font-size: var(--font-size-xl); font-weight: 700; color: var(--color-text); }

.nav-login-btn-mobile { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: var(--font-size-xl); font-weight: 700; color: var(--color-primary); background: rgba(2, 132, 199, 0.05); padding: 12px 32px; border-radius: var(--radius-full); border: 1px solid rgba(2, 132, 199, 0.2); width: 80%; max-width: 300px; }
.nav-login-btn-mobile svg { width: 20px; height: 20px; }


/* ==============================
   HERO
   ============================== */
#hero { position: relative; padding: calc(80px + var(--space-16)) 0 var(--space-24); min-height: 100vh; display: flex; align-items: center; overflow: hidden; z-index: 1; }

/* Parallax Background */
.hero-bg-parallax { position: absolute; top: 0; left: 0; width: 100%; height: 120%; z-index: -2; overflow: hidden; pointer-events: none; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: blur(3px); transform: scale(1.05); }
.hero-bg-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.65) 40%, rgba(255,255,255,0.1) 100%); z-index: 1; }

.hero-container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8); align-items: center; z-index: 2; position: relative; }

/* Badge Pulse */
.hero-badge { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-5); background: linear-gradient(135deg, #ef4444, #f97316); color: var(--color-white); font-size: var(--font-size-base); font-weight: 800; border-radius: var(--radius-full); margin-bottom: var(--space-6); box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3); border: none; }
.pulse-anim { animation: pulseBadge 2s infinite; }
@keyframes pulseBadge { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); } 70% { box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }

#hero h1 { font-size: var(--font-size-5xl); font-weight: 900; line-height: 1.15; letter-spacing: -0.04em; margin-bottom: var(--space-6); }
.gradient-glow { position: relative; display: inline-block; }
.gradient-glow::after { content: '世界'; position: absolute; left: 0; top: 0; filter: blur(12px); opacity: 0.5; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; z-index: -1; }

.hero-subtitle { font-size: var(--font-size-lg); color: var(--color-text-secondary); line-height: 1.8; margin-bottom: var(--space-10); max-width: 540px; font-weight: 500; }
.hero-nationwide-badge { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.95rem; font-weight: 600; color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; padding: 0.3em 1.1em; margin-bottom: var(--space-6); letter-spacing: 0.03em; backdrop-filter: blur(4px); }
.hero-actions { display: flex; gap: var(--space-4); margin-bottom: var(--space-3); flex-wrap: wrap; }
.hero-stripe-note { font-size: 0.75rem; color: rgba(255,255,255,0.65); margin-bottom: var(--space-10); letter-spacing: 0.01em; }

/* Glassmorphism Stats */
.glassmorphism { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-8); box-shadow: var(--shadow-lg); }
.hero-stats { display: inline-flex; align-items: center; gap: var(--space-6); }
.stat { display: flex; flex-direction: column; }
.stat-value { font-size: var(--font-size-2xl); font-weight: 800; color: var(--color-primary-dark); line-height: 1.2; }
.stat-label { font-size: var(--font-size-xs); color: var(--color-text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 32px; background: var(--color-border); }

/* Hero Visual */
.hero-visual { position: relative; perspective: 1000px; display: flex; justify-content: center; align-items: center; }
.hero-image-wrapper { position: relative; width: 100%; max-width: 600px; transform-style: preserve-3d; }
.hero-main-img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-2xl); filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15)); }
.float-anim { animation: float 6s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-15px) rotate(1deg); } 100% { transform: translateY(0px) rotate(0deg); } }

/* Language Bubbles */
.lang-bubbles { position: absolute; inset: 0; pointer-events: none; }
.lang-bubble { position: absolute; display: flex; align-items: center; gap: var(--space-3); background: rgba(255, 255, 255, 0.95); padding: var(--space-3) var(--space-5); border-radius: var(--radius-full); box-shadow: var(--shadow-lg); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.8); font-weight: 700; font-size: var(--font-size-base); color: var(--color-text); animation: floatBubble 4s ease-in-out infinite; }
.lang-bubble img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.lb-1 { top: 15%; right: 0%; animation-delay: 0s; }
.lb-2 { bottom: 25%; right: 5%; animation-delay: 1.5s; }
.lb-3 { bottom: 10%; left: 0%; animation-delay: 3s; }
@keyframes floatBubble { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-10px) scale(1.05); } }


/* ==============================
   PAIN POINTS
   ============================== */
#pain-points { position: relative; z-index: 2; background: var(--color-bg); } /* 背景色を追加し下のセクションを隠す */
#pain-points .section-header { margin-bottom: var(--space-32); } /* ヘッダーとの距離をさらに広げる */
.pain-illustration-layout { display: flex; gap: var(--space-16); align-items: center; justify-content: space-between; position: relative; margin-top: var(--space-12); }
.pain-cards { flex: 1.2; display: flex; flex-direction: column; gap: var(--space-6); z-index: 10; position: relative; }
.pain-card { display: flex; gap: var(--space-4); background: var(--color-white); padding: var(--space-6); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border-light); transition: all var(--transition-base); z-index: 5; position: relative; }
.pain-card:hover { transform: translateX(10px); box-shadow: var(--shadow-md); border-color: var(--color-red-soft); }
.bg-red-soft { background: var(--color-red-soft); }
.pain-icon-circle { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.pain-content h3 { font-size: var(--font-size-lg); font-weight: 700; margin-bottom: var(--space-1); color: var(--color-text); }
.pain-content p { font-size: var(--font-size-sm); color: var(--color-text-secondary); line-height: 1.6; }

.pain-image-wrapper { flex: 0.8; position: relative; display: flex; justify-content: center; align-items: center; z-index: 1; margin-top: 0; } /* 中央揃えのためマージンを解除 */
.rounded-image { border-radius: var(--radius-2xl, 32px); object-fit: cover; width: 100%; max-width: 360px; aspect-ratio: 4/5; position: relative; z-index: 2; box-shadow: var(--shadow-xl); }
.blob-bg { position: absolute; width: 130%; height: 130%; background: var(--color-red-soft); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; z-index: 1; animation: blob 8s infinite alternate ease-in-out; filter: blur(50px); opacity: 0.4; top: 50%; left: 50%; transform: translate(-50%, -50%); }
@keyframes blob { 0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg); } 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(10deg); } }

.floating-comment { position: absolute; z-index: 3; background: var(--color-white); padding: var(--space-3) var(--space-5); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); font-weight: 600; font-size: var(--font-size-sm); display: flex; align-items: center; gap: var(--space-2); border-bottom-right-radius: 4px; border: 1px solid var(--color-border-light); }
.fc-left { top: 5%; left: 0%; border-bottom-right-radius: var(--radius-xl); border-bottom-left-radius: 4px; } /* 画像の内側に寄せる */
.fc-right { bottom: 5%; right: 0%; }


/* ==============================
   FEATURES (Z-Pattern)
   ============================== */
.features-list { display: flex; flex-direction: column; gap: calc(var(--space-32) + 2rem); margin: var(--space-16) auto 0; max-width: 1100px; width: 100%; padding: 0 var(--space-4); }
.feature-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-16); padding: var(--space-8) 0; width: 100%; }
.feature-row.reverse { flex-direction: row-reverse; }

.feat-text-side { flex: 1; min-width: 300px; max-width: 480px; display: flex; flex-direction: column; align-items: flex-start; }
.feat-visual-side { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; }

.feat-icon-badge { display: inline-flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-6); background: rgba(2, 132, 199, 0.05); padding: var(--space-1) var(--space-3) var(--space-1) var(--space-1); border-radius: 99px; }
.feat-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--color-white); color: var(--color-blue); display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: var(--shadow-sm); }
.feat-badge { background: var(--gradient-text); color: var(--color-white); padding: 2px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; box-shadow: var(--shadow-sm); }
.feat-title { font-size: var(--font-size-3xl); font-weight: 800; color: var(--color-text); margin-bottom: var(--space-6); line-height: 1.3; }
.feat-desc { font-size: var(--font-size-lg); color: var(--color-text-secondary); line-height: 1.8; }

.image-showcase .rounded-image { width: 100%; max-width: 520px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-2xl); box-shadow: var(--shadow-2xl); }

/* Lang Translate Animation inside visual side */
.lang-translate-anim { display: flex; flex-direction: column; background: var(--gradient-bg-dark); padding: var(--space-6); gap: var(--space-4); position: relative; z-index: 2; border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-2xl); box-shadow: var(--shadow-2xl); width: 100%; max-width: 440px; }
.trn-item { background: rgba(255,255,255,0.08); color: var(--color-white); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); font-size: var(--font-size-sm); font-weight: 800; text-align: center; width: 100%; box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,0.1); }
.trn-ja { border-left: 4px solid #ef4444; }
.trn-ai { background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%); color: var(--color-white); font-size: 13px; font-weight: 700; border: none; box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4); margin: 4px 0; }
.trn-line { width: 2px; height: 16px; background: rgba(255,255,255,0.2); align-self: center; }
.trn-results { display: flex; flex-direction: column; gap: var(--space-2); width: 100%; background: rgba(0,0,0,0.2); padding: var(--space-4); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.05); }
.trn-res { color: var(--color-white); padding: var(--space-2); border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 14px; font-weight: 800; opacity: 0; transform: translateY(10px); animation: fadeInUp 3s infinite; margin: 0; text-align: center; }
.trn-res:last-child { border-bottom: none; }
.trn-res:nth-child(1) { animation-delay: 0s; }
.trn-res:nth-child(2) { animation-delay: 1s; }
.trn-res:nth-child(3) { animation-delay: 2s; }
@keyframes fadeInUp { 0%, 10% { opacity: 0; transform: translateY(10px); } 20%, 90% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-10px); } }




/* ==============================
   TRANSLATION COMPARE SECTION
   ============================== */
.translation-compare { background-color: var(--color-white); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); margin-top: var(--space-12); }
.compare-card { padding: var(--space-8); border-radius: var(--radius-xl); border: 2px solid transparent; }
.compare-card.bad { background: var(--color-bg); border-color: var(--color-border); }
.compare-card.good { background: rgba(59, 130, 246, 0.05); border-color: var(--color-primary); box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1); position: relative; overflow: hidden; }
.compare-card.good::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); }
.compare-header { display: flex; align-items: flex-start; gap: var(--space-4); margin-bottom: var(--space-6); }
.compare-header h3 { font-size: var(--font-size-xl); margin: 0; line-height: 1.4; color: var(--color-text); }
.compare-header .text-sm { display: block; font-size: var(--font-size-sm); color: var(--color-text-secondary); font-weight: normal; margin-top: var(--space-1); }
.cross-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-red-soft); color: var(--color-red); font-weight: bold; font-size: var(--font-size-xl); flex-shrink: 0; }
.check-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-primary); color: var(--color-white); font-weight: bold; font-size: var(--font-size-xl); flex-shrink: 0; box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3); }
.compare-body p { font-size: var(--font-size-base); color: var(--color-text); font-weight: 700; margin-bottom: var(--space-6); border-bottom: 1px dashed var(--color-border); padding-bottom: var(--space-4); }
.compare-body ul { list-style: none; padding: 0; margin: 0; }
.compare-body ul li { position: relative; padding-left: var(--space-6); margin-bottom: var(--space-4); color: var(--color-text-secondary); line-height: 1.6; font-size: var(--font-size-base); }
.compare-body ul li:last-child { margin-bottom: 0; }
.compare-card.bad .compare-body ul li::before { content: "・"; position: absolute; left: 0; font-weight: bold; color: var(--color-text-muted); }
.compare-card.good .compare-body ul li::before { content: "✨"; position: absolute; left: 0; font-size: 0.9em; }

@media (max-width: 768px) {
  .compare-grid { grid-template-columns: 1fr; gap: var(--space-6); margin-top: var(--space-8); }
  .compare-card { padding: var(--space-6); }
  .compare-header h3 { font-size: var(--font-size-lg); }
}

/* ==============================
   SOLUTION VISUAL BANNER
   ============================== */
.solution-visual-section { padding: 0 0 var(--space-24) 0; }
.solution-banner { position: relative; border-radius: var(--radius-2xl, 32px); overflow: hidden; min-height: 480px; display: flex; align-items: center; }
.solution-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.solution-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 60%, transparent 100%); z-index: 2; display: flex; align-items: center; padding: var(--space-16); }
.solution-content { position: relative; z-index: 3; max-width: 600px; color: var(--color-white); }
.tag-white { display: inline-block; padding: var(--space-1) var(--space-3); background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); border-radius: var(--radius-full); font-size: var(--font-size-xs); font-weight: 600; margin-bottom: var(--space-4); letter-spacing: 0.1em; }
.solution-content h2 { font-size: var(--font-size-4xl); font-weight: 800; line-height: 1.25; margin-bottom: var(--space-4); }
.solution-content p { font-size: var(--font-size-lg); opacity: 0.9; line-height: 1.6; }


/* ==============================
   HOW IT WORKS
   ============================== */
.steps-timeline { max-width: 800px; margin: 0 auto; position: relative; }
.timeline-line { position: absolute; left: 32px; top: 0; bottom: 0; width: 2px; background: var(--color-border-light); z-index: 1; }
.step-card { position: relative; z-index: 2; display: flex; gap: var(--space-8); background: var(--color-white); padding: var(--space-8); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border-light); margin-bottom: var(--space-8); transition: all var(--transition-base); }
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(2, 132, 199, 0.2); }
.step-number-pill { position: absolute; top: -12px; right: 32px; background: var(--gradient-primary); color: var(--color-white); font-size: var(--font-size-xs); font-weight: 800; padding: var(--space-1) var(--space-4); border-radius: var(--radius-full); box-shadow: var(--shadow-sm); }
.step-icon-large { width: 64px; height: 64px; border-radius: 16px; background: var(--color-primary-bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-text h3 { font-size: var(--font-size-xl); font-weight: 800; margin-bottom: var(--space-2); }
.step-text p { font-size: var(--font-size-base); color: var(--color-text-secondary); line-height: 1.7; }


/* --- Pricing Section --- */
.pricing-section {
  padding: var(--space-24) 0;
  background: linear-gradient(160deg, #f8fafc 0%, #eef4ff 50%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}
.pricing-section::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(2,132,199,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Campaign Banner */
.pricing-campaign-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  padding: 16px 40px;
  border-radius: 99px;
  width: fit-content;
  margin: 0 auto 52px;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4);
  overflow: hidden;
  animation: banner-pulse 2s infinite;
}
@keyframes banner-pulse {
  0% { transform: scale(1); box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 12px 40px rgba(239, 68, 68, 0.6); }
  100% { transform: scale(1); box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4); }
}
.pricing-campaign-banner strong { color: #fff; font-weight: 900; font-size: 1.35rem; text-decoration: underline; text-underline-offset: 4px; letter-spacing: 0.05em; }
.campaign-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: campaign-shine 2.5s ease-in-out infinite;
}
@keyframes campaign-shine {
  0% { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}
.campaign-emoji { font-size: 1.5rem; }

/* Card Wrap */
.pricing-card-wrap { max-width: 1000px; margin: 0 auto; }

/* Rich Pricing Card – outer shell */
.pricing-card-rich {
  position: relative;
  background: #ffffff;
  border-radius: 32px;
  border: 1px solid rgba(2, 132, 199, 0.12);
  box-shadow:
    0 4px 6px rgba(0,0,0,0.02),
    0 20px 60px rgba(2, 132, 199, 0.08),
    0 1px 0 rgba(255,255,255,0.8) inset;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.pricing-card-rich:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 80px rgba(2, 132, 199, 0.14),
    0 10px 30px rgba(0,0,0,0.04);
}

/* Top Label */
.featured-label-rich {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 20px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(2,132,199,0.3);
  white-space: nowrap;
  z-index: 10;
}

/* ---- Theme Visual Showcase Area ---- */
.pricing-theme-showcase {
  position: relative;
  height: 360px;
  background: linear-gradient(140deg, #0f172a 0%, #0c2a4a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 40px 20px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.theme-showcase-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(56,189,248,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(99,102,241,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.theme-status-bar {
  position: absolute;
  top: 20px;
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 10;
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  padding: 4px 14px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.1);
}
.pulse-dot {
  width: 7px; height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}
.status-text {
  color: rgba(255,255,255,0.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.selected-theme-name {
  color: #fff;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.theme-preview-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-top: 36px;
  z-index: 5;
}
.theme-preview-window {
  width: 100%;
  height: auto;
  min-height: 220px;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}
.theme-mockup-main-img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.4));
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.theme-preview-window.fade-out .theme-mockup-main-img {
  opacity: 0;
  transform: scale(0.96);
}
.theme-quick-actions {
  position: absolute;
  bottom: 20px;
  z-index: 10;
}
.btn-check-demo {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  font-weight: 800;
  background: rgba(255,255,255,0.08);
  padding: 7px 16px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s;
  letter-spacing: 0.02em;
}
.btn-check-demo:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: translateY(-2px);
}

/* Template card images */
.template-mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
  }
  
.template-card:hover .template-mockup-img {
    transform: scale(1.02);
  }

/* ========================================
   PRICING BODY – NEW 2-CARD LAYOUT
   ======================================== */
.pricing-body {
  padding: 48px 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Plan Cards Row */
.plan-cards-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}

/* Individual Plan Card */
.plan-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 32px 30px;
  position: relative;
  transition: all 0.3s ease;
}

.plan-card-monthly {
  background: #fff;
  border: 1.5px solid #e2e8f0;
}
.plan-card-monthly:hover {
  border-color: rgba(2,132,199,0.3);
  box-shadow: 0 12px 32px rgba(2,132,199,0.1);
  transform: translateY(-4px);
}

.plan-card-yearly {
  background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 100%);
  border: 1.5px solid rgba(56,189,248,0.3);
  box-shadow: 0 20px 50px rgba(2,132,199,0.2);
}
.plan-card-yearly:hover {
  box-shadow: 0 28px 60px rgba(2,132,199,0.3);
  transform: translateY(-4px);
}

/* Card Headers */
.plan-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.plan-type-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan-card-monthly .plan-type-label { color: #64748b; }
.plan-card-yearly .plan-type-label { color: rgba(255,255,255,0.6); }

.plan-flexibility-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 3px 10px;
  border-radius: 99px;
}
.plan-save-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #fcd34d;
  background: rgba(252,211,77,0.15);
  border: 1px solid rgba(252,211,77,0.3);
  padding: 3px 10px;
  border-radius: 99px;
}

/* Plan Initial Cost */
.plan-initial-cost {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.init-label {
  font-size: 0.78rem;
  font-weight: 600;
}
.plan-card-monthly .init-label { color: #94a3b8; }
.plan-card-yearly .init-label { color: rgba(255,255,255,0.4); }

.init-val {
  font-size: 0.95rem;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 99px;
}
.plan-card-monthly .init-val { color: #059669; background: #ecfdf5; }
.plan-card-yearly .init-val { color: #6ee7b7; background: rgba(110,231,183,0.12); }

/* Price Amount */
.plan-amount {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 6px;
}
.plan-currency {
  font-size: 1.4rem;
  font-weight: 700;
}
.plan-card-monthly .plan-currency { color: #0f172a; }
.plan-card-yearly .plan-currency { color: #fff; }

.plan-num {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.plan-card-monthly .plan-num { color: #0f172a; }
.plan-card-yearly .plan-num { color: #fff; }

.plan-period-wrap {
  display: flex;
  flex-direction: column;
  padding-bottom: 4px;
}
.plan-period {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}
.plan-card-monthly .plan-period { color: #475569; }
.plan-card-yearly .plan-period { color: rgba(255,255,255,0.7); }

.plan-tax {
  font-size: 0.7rem;
  font-weight: 500;
}
.plan-card-monthly .plan-tax { color: #94a3b8; }
.plan-card-yearly .plan-tax { color: rgba(255,255,255,0.4); }

.plan-note {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 0;
}

/* Yearly detail */
.plan-yearly-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  margin-bottom: 4px;
}
.yearly-total {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fcd34d;
}
.yearly-original-text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.yearly-original-text s { text-decoration-color: rgba(255,255,255,0.3); }

.yearly-savings-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16,185,129,0.12);
  color: #6ee7b7;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(16,185,129,0.2);
  margin: 12px 0;
}

/* Plan CTA Buttons */
.btn-plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 20px;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: all 0.3s ease;
  margin-top: auto;
  padding-top: 28px;
  position: relative;
  overflow: hidden;
}
.btn-plan-cta svg { flex-shrink: 0; }

/* Stripe note & consult link under pricing button */
.plan-stripe-note {
  font-size: 0.72rem;
  color: var(--color-text-secondary);
  text-align: center;
  margin: 0.4rem 0 0.75rem;
  opacity: 0.75;
}
.plan-consult-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  margin-bottom: 0.5rem;
}
.plan-consult-link:hover { opacity: 0.75; }

.btn-monthly-cta {
  background: #f1f5f9;
  color: #0f172a;
  border: 1.5px solid #e2e8f0;
}
.btn-monthly-cta:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(2,132,199,0.3);
  transform: translateY(-2px);
}

.btn-yearly-cta {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(2,132,199,0.35);
}
.btn-yearly-cta:hover {
  box-shadow: 0 12px 32px rgba(2,132,199,0.5);
  transform: translateY(-2px);
}

/* VS Divider */
.plan-vs-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
}
.vs-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(180deg, transparent, #e2e8f0, transparent);
}
.vs-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.1em;
  background: #fff;
  border: 1px solid #e2e8f0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Free Trial Ribbon */
.free-trial-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  border: 1px solid #86efac;
  border-radius: 14px;
  padding: 16px 24px;
  font-size: 0.88rem;
  color: #166534;
  line-height: 1.5;
}
.free-trial-ribbon strong { font-weight: 900; color: #15803d; }
.free-trial-ribbon svg { flex-shrink: 0; color: #22c55e; }

/* Features Panel */
.pricing-features-panel {
  border-top: 1px solid #f1f5f9;
  padding-top: 32px;
}
.features-panel-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 24px;
}
.features-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fpg-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  padding: 14px 16px;
  transition: all 0.2s;
}
.fpg-item:hover {
  background: #f0f9ff;
  border-color: rgba(2,132,199,0.15);
}
.fpg-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.fpg-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fpg-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}
.fpg-text span {
  font-size: 0.73rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
  .plan-cards-row { grid-template-columns: 1fr; }
  .plan-vs-divider { flex-direction: row; padding: 16px 0; }
  .vs-line { width: auto; height: 1px; flex: 1; }
  .pricing-body { padding: 32px 24px; }
  .features-panel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features-panel-grid { grid-template-columns: 1fr; }
  .plan-num { font-size: 3.5rem; }
  .plan-card { padding: 24px 20px; }
  .pricing-body { padding: 24px 16px; }
}

/* Pricing Card Wrap */
.pricing-card-wrap { max-width: 900px; margin: 0 auto; }

/* Rich Pricing Card Refresh */
.pricing-card-rich {
  position: relative;
  background: #ffffff;
  border-radius: 36px;
  border: 1px solid rgba(2, 132, 199, 0.15);
  box-shadow: 
    0 10px 40px rgba(0,0,0,0.04),
    0 4px 12px rgba(2,132,199,0.05);
  display: flex;
  flex-direction: column; /* Stack visual on top */
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pricing-card-rich:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 30px 70px rgba(2, 132, 199, 0.15),
    0 15px 30px rgba(0,0,0,0.05);
}

/* 1. Theme Visual Showcase Area */
.pricing-theme-showcase {
  position: relative;
  height: 380px;
  background: #0f172a;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.theme-showcase-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(2, 132, 199, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.theme-status-bar {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.1);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.status-text {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.selected-theme-name {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-top: 5px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Theme Preview Window */
.theme-preview-container {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-top: 40px;
  z-index: 5;
  perspective: 1000px;
}

.theme-preview-window {
  width: 100%;
  height: auto;
  min-height: 280px;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

.theme-mockup-main-img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.theme-preview-window.fade-out .theme-mockup-main-img {
  opacity: 0;
  transform: scale(0.95);
}



.theme-quick-actions {
  position: absolute;
  bottom: 24px;
  z-index: 10;
}

.btn-check-demo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s;
}

.btn-check-demo:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* 2. Main Content Grid */
.pricing-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  flex: 1;
}

.pricing-left {
  padding: 50px 60px 60px;
  border-right: 1px solid rgba(0,0,0,0.05);
}

.pricing-right {
  padding: 50px 60px 60px;
  background: #fafafa;
}

/* Price block */
.plan-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--color-primary);
  background: var(--color-primary-bg);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.pricing-initial-block {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.pricing-initial-block .initial-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
}

.pricing-initial-block .initial-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.pricing-initial-block .tag {
  font-size: 0.75rem;
  font-weight: 800;
  background: #ecfdf5;
  color: #10b981;
  padding: 2px 10px;
  border-radius: 99px;
  vertical-align: middle;
  margin-left: 5px;
}

.price-main-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 20px;
}

.price-number {
  font-size: 5rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.price-period {
  font-size: 1.25rem;
  font-weight: 600;
  color: #64748b;
}

.price-sub-note {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 40px;
}

.pricing-cta-wrap {
  margin-top: 40px;
}

.btn-pricing-cta {
  height: 72px;
  border-radius: 20px !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  box-shadow: 0 20px 40px rgba(2, 132, 199, 0.3) !important;
}

.trust-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

/* Stylish Features List */
.features-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.features-title::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.pricing-features-stylish {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pricing-features-stylish li {
  display: flex;
  gap: 20px;
}

.pricing-features-stylish .f-icon {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.03);
}

.pricing-features-stylish .f-icon:nth-child(even) {
  background: var(--color-primary-bg);
}

.pricing-features-stylish .f-content strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.pricing-features-stylish .f-content p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .pricing-main-grid { grid-template-columns: 1fr; }
  .pricing-left { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.05); }
  .pricing-left, .pricing-right { padding: 40px 30px; }
  .price-number { font-size: 4rem; }
}

@media (max-width: 768px) {
  .pricing-theme-showcase { height: 320px; padding: 20px; }
  .selected-theme-name { font-size: 1.75rem; }
  .theme-preview-window { height: 160px; }
}

@media (max-width: 768px) {
  .pricing-card-rich { flex-direction: column; }
  .pricing-divider { width: 100%; height: 1px; margin: 0 40px; width: calc(100% - 80px); }
  .pricing-left, .pricing-right { padding: 40px 28px 28px; }
  .price-number { font-size: 3.5rem; }
}

@media (max-width: 600px) {
  .pricing-left, .pricing-right { padding: 32px 20px; }
  .price-number { font-size: 2.75rem; }
  .plan-type-label { font-size: 0.7rem; }
}


/* --- Pricing Modern Grid (legacy fallback) --- */
.pricing-grid-modern { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); margin-top: var(--space-12); position: relative; z-index: 10; }
.pricing-card-modern { background: var(--color-white); border-radius: var(--radius-2xl); padding: var(--space-10); border: 1px solid var(--color-border); transition: all var(--transition-base); display: flex; flex-direction: column; position: relative; }
.pricing-card-modern:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); border-color: var(--color-primary-light); }

.pricing-card-modern.featured { border: 2px solid var(--color-primary); box-shadow: var(--shadow-lg); background: linear-gradient(180deg, rgba(2, 132, 199, 0.05) 0%, #ffffff 100%); }
.featured-label { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gradient-primary); color: var(--color-white); padding: var(--space-1) var(--space-4); border-radius: var(--radius-full); font-size: var(--font-size-xs); font-weight: 800; letter-spacing: 0.05em; box-shadow: var(--shadow-sm); white-space: nowrap; }

.pricing-plan-header { margin-bottom: var(--space-6); text-align: center; }
.pricing-plan-header h3 { font-size: var(--font-size-2xl); font-weight: 800; margin-bottom: var(--space-1); }
.pricing-plan-header p { font-size: var(--font-size-sm); color: var(--color-text-secondary); }

.price-display { text-align: center; margin-bottom: var(--space-8); min-height: 120px; display: flex; flex-direction: column; justify-content: center; }
.old-price { font-size: var(--font-size-sm); color: var(--color-text-muted); text-decoration: line-through; margin-bottom: var(--space-1); }
.current-price { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.current-price .currency { font-size: var(--font-size-2xl); font-weight: 600; color: var(--color-text); }
.current-price .number { font-size: var(--font-size-6xl); font-weight: 900; color: var(--color-text); line-height: 1; letter-spacing: -0.02em; }
.current-price .period { font-size: var(--font-size-sm); color: var(--color-text-secondary); font-weight: 500; }
.price-note { font-size: var(--font-size-base); color: var(--color-primary); font-weight: 700; margin-top: var(--space-2); }

.pricing-features { margin-bottom: var(--space-10); flex-grow: 1; }
.pricing-features li { display: flex; align-items: center; gap: var(--space-3); font-size: var(--font-size-sm); margin-bottom: var(--space-4); color: var(--color-text-secondary); font-weight: 500; }
.pricing-features li svg { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; }
.pricing-features li strong { color: var(--color-text); }

.pricing-badge-burst-global { display: flex; align-items: center; justify-content: center; gap: var(--space-2); background: var(--color-white); padding: var(--space-3) var(--space-8); border-radius: var(--radius-full); box-shadow: var(--shadow-md); border: 1px solid var(--color-primary-light); margin: 0 auto var(--space-8); width: fit-content; font-size: var(--font-size-base); font-weight: 600; }
.pricing-badge-burst-global strong { color: var(--color-red); font-weight: 800; }

.pricing-footer { margin-top: var(--space-8); }
.payment-methods { display: flex; align-items: center; justify-content: center; margin-top: var(--space-4); }

@media (max-width: 768px) {
  .pricing-grid-modern { grid-template-columns: 1fr; gap: var(--space-6); }
  .current-price .number { font-size: var(--font-size-5xl); }
}

/* Single plan centering */
.pricing-grid-modern.pricing-single {
  grid-template-columns: 1fr;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Discount tag inline with old-price */
.discount-tag {
  display: inline-block;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
}

/* Price initial row (初期費用) */
.price-box .price-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
  font-weight: 600;
}
.price-box .price-initial .val {
  font-weight: 800;
  color: var(--color-primary);
}


/* ==============================
   FAQ Section
   ============================== */
.faq-accordion { display: flex; flex-direction: column; gap: var(--space-4); max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; transition: all var(--transition-base); box-shadow: var(--shadow-sm); }
.faq-item:hover { border-color: var(--color-primary-light); box-shadow: var(--shadow-md); }
.faq-question { width: 100%; text-align: left; padding: var(--space-6); display: flex; justify-content: space-between; align-items: center; background: none; border: none; font-size: var(--font-size-lg); font-weight: 700; color: var(--color-text); cursor: pointer; transition: color var(--transition-fast); }
.faq-question:hover { color: var(--color-primary); }
.icon-plus-minus { position: relative; width: 24px; height: 24px; flex-shrink: 0; }
.icon-plus-minus::before, .icon-plus-minus::after { content: ''; position: absolute; background: var(--color-primary); transition: transform var(--transition-base); }
.icon-plus-minus::before { top: 11px; left: 4px; right: 4px; height: 2px; }
.icon-plus-minus::after { top: 4px; bottom: 4px; left: 11px; width: 2px; }
.faq-item.active .icon-plus-minus::after { transform: rotate(90deg) scaleY(0); }
.faq-item.active .faq-question { color: var(--color-primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out; opacity: 0; }
.faq-item.active .faq-answer { max-height: 500px; opacity: 1; }
.faq-answer-inner { padding: 0 var(--space-6) var(--space-6); color: var(--color-text-secondary); line-height: 1.8; font-size: var(--font-size-base); }

/* ==============================
   Modals (Legal Docs)
   ============================== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(4px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: var(--color-white); width: 90%; max-width: 800px; max-height: 85vh; border-radius: var(--radius-xl); box-shadow: var(--shadow-2xl); position: relative; display: flex; flex-direction: column; transform: translateY(20px) scale(0.95); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }
.modal-header { padding: var(--space-6); border-bottom: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; }
.modal-header h2 { font-size: var(--font-size-xl); font-weight: 800; margin: 0; color: var(--color-text); }
.modal-close { background: var(--color-bg); border: none; width: 40px; height: 40px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--color-text-secondary); transition: all 0.2s; }
.modal-close:hover { background: var(--color-red-soft); color: var(--color-red); }
.modal-body { padding: var(--space-6); overflow-y: auto; color: var(--color-text-secondary); font-size: var(--font-size-sm); line-height: 1.8; }
.modal-body h3 { font-size: var(--font-size-base); color: var(--color-text); margin: var(--space-6) 0 var(--space-2); border-left: 4px solid var(--color-primary); padding-left: var(--space-3); }
.modal-body h3:first-child { margin-top: 0; }
.modal-body p { margin-bottom: var(--space-4); }
.modal-date { text-align: right; color: var(--color-text-muted); margin-bottom: var(--space-6) !important; padding-bottom: var(--space-4); border-bottom: 1px dashed var(--color-border); }
.legal-dl { display: grid; grid-template-columns: 160px 1fr; gap: var(--space-3) var(--space-4); margin-bottom: var(--space-6); }
.legal-dl dt { font-weight: 700; color: var(--color-text); border-bottom: 1px solid var(--color-border-light); padding-bottom: var(--space-1); }
.legal-dl dd { margin: 0; border-bottom: 1px solid var(--color-border-light); padding-bottom: var(--space-1); }

@media (max-width: 1024px) {
  .nav-desktop, .header-cta { display: none; }
  .mobile-menu-toggle { display: flex; }
}

@media (max-width: 768px) {
  :root { --font-size-5xl: 2.5rem; --font-size-4xl: 2rem; --font-size-3xl: 1.75rem; }
  section { padding: var(--space-16) 0; }
  .legal-dl { grid-template-columns: 1fr; gap: var(--space-1); }
  .legal-dl dt { margin-top: var(--space-3); border-bottom: none; }
  .legal-dl dd { padding-bottom: var(--space-3); }
  
  /* Hero */
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: var(--space-12); }
  .hero-visual { order: -1; margin-bottom: var(--space-8); }
  #hero h1 { font-size: var(--font-size-4xl); }
  .hero-subtitle { margin-inline: auto; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 340px; margin-inline: auto; }
  .hero-stripe-note { text-align: center; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: var(--space-4); }
  .stat-divider { display: none; }
  .hero-bg-overlay { background: rgba(255,255,255,0.85); }

  /* Pain Points */
  .pain-illustration-layout { flex-direction: column; gap: var(--space-10); }
  .pain-cards { width: 100%; }
  .pain-image-wrapper { width: 100%; margin-top: var(--space-8); }

  /* Feature Rows */
  .feature-row, .feature-row.reverse { flex-direction: column; gap: var(--space-12); text-align: center; }
  .feat-text-side { align-items: center; max-width: 100%; }

  #how-it-works { padding-bottom: var(--space-12); }
  .final-cta-card { padding: var(--space-12) var(--space-4); }
  .trust-marks { flex-direction: column; gap: var(--space-2); }
}

/* ================== Pricing Additions ================== */
.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.toggle-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
}

.toggle-label.active {
  color: #0f172a;
}

.discount-badge {
  background: #ff4b4b;
  color: white;
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 20px;
  margin-left: 5px;
  animation: pulse-glow 2s infinite;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: #3b82f6;
  background-image: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

/* Contact Form Styles */
.contact-form { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-4); text-align: left; }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-group label { font-size: var(--font-size-sm); font-weight: 700; color: var(--color-text); display: flex; align-items: center; gap: var(--space-2); }
.form-group .required { font-size: 0.7rem; background: var(--color-red-soft); color: var(--color-red); padding: 2px 6px; border-radius: 4px; }
.form-group input, .form-group textarea { padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: var(--font-size-base); font-family: inherit; transition: all var(--transition-fast); background: var(--color-bg-alt); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-primary); background: var(--color-white); box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1); }

/* LINE CTA Banner Styles */
.line-banner-section { padding: var(--space-8) 0; }
.line-cta-box { background: var(--color-white); border-radius: var(--radius-2xl); padding: var(--space-8) var(--space-10); display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-8); box-shadow: 0 10px 40px rgba(0,0,0,0.05); border: 2px solid rgba(0, 195, 0, 0.15); }
.line-cta-text { color: var(--color-text); flex: 1; text-align: left; }
.line-cta-text h3 { margin-bottom: var(--space-2); font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: var(--space-3); color: var(--color-text); }
.line-cta-text p { margin: 0; font-size: 0.95rem; color: var(--color-text-secondary); }
.line-cta-action { flex-shrink: 0; }
.line-btn { background: #00c300; color: white; font-weight: 800; padding: 14px 28px; border-radius: 50px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 15px rgba(0, 195, 0, 0.3); transition: all 0.3s; text-decoration: none; font-size: 1rem; }
.line-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 195, 0, 0.4); color: white; }

@media (max-width: 768px) {
  .line-cta-box { flex-direction: column; text-align: center; padding: var(--space-6); gap: var(--space-6); }
  .line-cta-text h3 { justify-content: center; font-size: 1.3rem; }
  .line-cta-text { text-align: center; }
}

.slider.round:before {
  border-radius: 50%;
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-top: 15px;
}

.price-display.hidden {
  display: none !important;
}

.current-price {
  font-size: 3rem;
  font-weight: 900;
  color: #0f172a;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.old-price {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: -5px;
  text-align: center;
}

.savings {
  color: #10b981;
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 5px;
  background: #ecfdf5;
  padding: 5px 10px;
  border-radius: 8px;
  display: inline-block;
}

/* =========================================
   TEMPLATE GALLERY SECTION
   ========================================= */
.templates-section {
  padding: var(--space-32) 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}
.templates-section::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(2,132,199,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: var(--space-16);
}
@media (max-width: 900px) {
  .templates-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

/* --- Template Card --- */
.template-card {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border: 2px solid transparent;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  display: flex;
  flex-direction: column;
}
.template-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(2,132,199,0.15);
  border-color: var(--color-primary-light);
}
.template-card.selected {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(2,132,199,0.15), 0 16px 48px rgba(2,132,199,0.2);
}

/* Badge */
.template-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--color-primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
  letter-spacing: 0.02em;
}
.template-badge-dark { background: #1e293b; }
.template-badge-gold { background: linear-gradient(135deg, #92400e, #b45309); }
.template-badge-tropical { background: linear-gradient(135deg, #dc2626, #fbbf24); }
.template-badge-dining   { background: linear-gradient(135deg, #c2410c, #ea580c); }

/* --- Mini Preview mockup --- */
.template-preview {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}
.template-preview-inner {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: top left;
}

/* Nav bar */
.tpl-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: white;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.tpl-nav-dark { background: #0f172a; border-color: #1e293b; }
.tpl-nav-cream { background: #faf8f4; border-color: #e7e0d5; }
.tpl-nav-yellow { background: #fef3c7; border-color: #fde68a; }
.tpl-logo-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
}
.tpl-logo-blue { background: #3b82f6; }
.tpl-logo-gold { background: #b45309; }
.tpl-logo-red { background: #dc2626; }
.tpl-nav-links { display: flex; gap: 6px; }
.tpl-nav-links span {
  width: 24px; height: 4px;
  border-radius: 2px;
  background: #cbd5e1;
}
.tpl-link-dark { background: #334155 !important; }
.tpl-link-stone { background: #a8a29e !important; }
.tpl-link-red { background: #ef4444 !important; }


/* Hero area */
.tpl-hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 12px;
  position: relative;
}
.tpl-hero-standard { background: linear-gradient(135deg, #0f172a, #134e4a); }
.tpl-hero-dark { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); }
.tpl-hero-cream { background: linear-gradient(180deg, #faf8f4, #f5efe6); }
.tpl-hero-tropical { background: linear-gradient(135deg, #dc2626 0%, #f59e0b 100%); }
.tpl-hero-text { display: flex; flex-direction: column; gap: 5px; }
.tpl-text-center { align-items: center; width: 100%; }
.tpl-h1 { width: 80%; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.9); }
.tpl-h2 { width: 55%; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.5); }
.tpl-h1-light { background: rgba(255,255,255,0.95) !important; }
.tpl-h2-light { background: rgba(255,255,255,0.6) !important; }
.tpl-h1-stone { background: #44403c !important; }
.tpl-h2-stone { background: #a8a29e !important; }
.tpl-h1-white { background: #ffffff !important; opacity: 0.9; }
.tpl-h2-yellow { background: #fef3c7 !important; opacity: 0.7; }
.tpl-btn { width: 45%; height: 10px; border-radius: 20px; margin-top: 4px; }
.tpl-btn-teal { background: #0d9488; }
.tpl-btn-blue { background: #3b82f6; }
.tpl-btn-red { background: #dc2626; }
.tpl-line-gold { width: 24px; height: 2px; background: #b45309; border-radius: 1px; margin: 2px 0; }

/* Cards row */
.tpl-cards-row {
  display: flex;
  gap: 4px;
  padding: 6px 10px;
  background: #f8fafc;
  flex-shrink: 0;
}
.tpl-bg-cream { background: #fffdf0 !important; }
.tpl-wave-divider { height: 10px; background: #fffdf0; clip-path: polygon(0 100%, 10% 80%, 20% 100%, 30% 80%, 40% 100%, 50% 80%, 60% 100%, 70% 80%, 80% 100%, 90% 80%, 100% 100%, 100% 0, 0 0); }
.tpl-card { flex: 1; height: 28px; border-radius: 6px; }
.tpl-card-teal { background: linear-gradient(135deg, #ccfbf1, #99f6e4); }
.tpl-card-dark { background: linear-gradient(135deg, #1e293b, #334155); }
.tpl-card-tropical { background: linear-gradient(135deg, #ef4444, #facc15); opacity: 0.8; }

/* Elegant list rows */
.tpl-list-rows { padding: 6px 10px; background: #faf8f4; flex-shrink: 0; display: flex; flex-direction: column; gap: 4px; }
.tpl-list-row { height: 8px; border-radius: 2px; background: #d6d0c7; }

/* --- Template Info --- */
.template-info {
  padding: 16px 20px 8px;
  flex: 1;
}
.template-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 4px;
}
.template-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0 0 10px;
}
.template-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.template-tags span {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--color-primary-bg);
  color: var(--color-primary-dark);
  font-weight: 600;
}

/* --- Template Actions --- */
.template-actions {
  display: flex;
  gap: 8px;
  padding: 12px 20px 20px;
  align-items: center;
}
.template-actions .btn { flex: 1; justify-content: center; font-size: 13px; }
.template-demo-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .template-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .template-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    white-space: normal;
    word-break: keep-all;
  }
}

/* --- Selected bar --- */
.template-selected-bar {
  display: none;
  margin-top: 28px;
  background: linear-gradient(135deg, #0f172a, #134e4a);
  border-radius: 16px;
  padding: 16px 24px;
  animation: slideUp 0.4s ease-out;
}
.template-selected-bar.visible { display: block; }
.template-selected-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}
.template-selected-inner svg { flex-shrink: 0; color: #34d399; }
.template-selected-inner span { flex: 1; font-size: 14px; font-weight: 500; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .template-selected-inner { flex-direction: column; text-align: center; }
}

/* --- Pricing: Selected Theme Badge --- */
.pricing-theme-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0; /* カードの上部に密着 */
  border-bottom: 2px solid rgba(2, 132, 199, 0.3);
  flex-wrap: wrap;
}
.pricing-theme-badge-icon {
  font-size: 1.2rem;
}
.pricing-theme-badge strong {
  font-size: 1.05rem;
  font-weight: 900;
  color: #38bdf8;
  margin-right: 4px;
}
.pricing-theme-demo-link {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: underline;
  white-space: nowrap;
  transition: color 0.2s;
}
.pricing-theme-demo-link:hover {
  color: #7dd3fc;
}
@media (max-width: 640px) {
  .pricing-theme-badge { padding: 12px 20px; font-size: 0.85rem; }
  .pricing-theme-demo-link { margin-left: 0; }
}

/* =========================================
   FOOTER — Premium Redesign
   ========================================= */
#footer {
  position: relative;
  background: #080f1a;
  overflow: hidden;
  padding: 0;
  margin-top: var(--space-24);
}

/* Decorative glowing orbs */
.footer-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.18;
}
.footer-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #0284c7, #38bdf8);
  top: -150px; left: -100px;
}
.footer-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #818cf8, #0ea5e9);
  bottom: -100px; right: -80px;
}

.footer-inner-wrap {
  position: relative;
  z-index: 2;
  padding-top: var(--space-16);
}

/* ---- Top section: Brand + CTA ---- */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  flex-wrap: wrap;
}

/* Logo */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  margin-bottom: var(--space-4);
}
.footer-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 12px;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.45);
}
.footer-logo-name {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #e2f4ff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Tagline */
.footer-tagline {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

/* Feature chips */
.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.footer-chips span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(2, 132, 199, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.2);
  letter-spacing: 0.01em;
}

/* CTA block */
.footer-cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-3);
  flex-shrink: 0;
}
.footer-cta-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-cta-btn {
  background: var(--gradient-primary);
  box-shadow: 0 4px 24px rgba(2, 132, 199, 0.35);
  transition: box-shadow 0.3s, transform 0.2s;
}
.footer-cta-btn:hover {
  box-shadow: 0 8px 32px rgba(2, 132, 199, 0.55);
  transform: translateY(-2px);
}

/* ---- Separator ---- */
.footer-sep {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3) 30%, rgba(129, 140, 248, 0.3) 70%, transparent);
  margin-bottom: var(--space-12);
}

/* ---- Nav grid ---- */
.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
}

.footer-nav-col h5 {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #38bdf8;
  margin-bottom: var(--space-5);
}

.footer-nav-col a {
  display: block;
  font-size: 0.9rem;
  color: #475569;
  padding: 4px 0;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  line-height: 1.9;
}
.footer-nav-col a:hover {
  color: #e2f4ff;
  padding-left: 6px;
}

/* Contact column */
.footer-contact-note {
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.footer-contact-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 20px !important;
  background: rgba(56, 189, 248, 0.08) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 99px !important;
  color: #38bdf8 !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s !important;
}
.footer-contact-link:hover {
  background: rgba(56, 189, 248, 0.18) !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.2);
  color: #e2f4ff !important;
  padding-left: 20px !important;
}

/* ---- Bottom bar ---- */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer-copy {
  font-size: 0.78rem;
  color: #1e293b;
}
.footer-made {
  font-size: 0.78rem;
  color: #1e293b;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8) var(--space-6);
  }
  .footer-nav-contact { grid-column: 1 / -1; }
  .footer-contact-note { max-width: 400px; }
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-cta-block {
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
  }
}


/* ==============================
   AI/LLM最適化 追加スタイル
   ============================== */

/* Section Lead – 結論ファースト用リード文 */
.section-lead {
  font-size: var(--font-size-lg);
  color: var(--color-text);
  max-width: 720px;
  margin: 0 auto var(--space-4);
  line-height: 1.8;
  font-weight: 500;
  background: rgba(2, 132, 199, 0.05);
  border-left: 4px solid var(--color-primary);
  padding: var(--space-4) var(--space-6);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  text-align: left;
}

/* FAQ カテゴリラベル */
.faq-category-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: var(--space-8) 0 var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-primary-bg);
}
.faq-category-label:first-of-type {
  margin-top: 0;
}

/* ==============================
   ABOUT US セクション
   ============================== */
.about-us-section {
  padding: var(--space-24) 0;
  background: var(--color-white);
}

.about-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-16);
}

@media (min-width: 768px) {
  .about-us-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-us-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.about-us-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.2);
}

.about-us-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
  display: block;
}

.about-us-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.about-us-card p {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.about-us-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  margin-top: var(--space-4);
}

.about-us-dl dt {
  font-weight: 800;
  color: var(--color-text);
  white-space: nowrap;
}

.about-us-dl dd {
  color: var(--color-text-secondary);
  margin: 0;
}

.about-us-dl a {
  color: var(--color-primary);
  text-decoration: none;
}

.about-us-dl a:hover {
  text-decoration: underline;
}

/* ==============================
   GLOSSARY セクション
   ============================== */
.glossary-section {
  padding: var(--space-24) 0;
  background: var(--color-bg);
}

.glossary-dl {
  margin-top: var(--space-12);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.glossary-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-fast);
}

.glossary-item:last-child {
  border-bottom: none;
}

@media (min-width: 640px) {
  .glossary-item {
    grid-template-columns: 220px 1fr;
    gap: var(--space-8);
    align-items: start;
  }
}

.glossary-item dt {
  font-size: var(--font-size-base);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.6;
}

.glossary-item dd {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* ==============================
   買い切りモデル リニューアル 追加スタイル
   ============================== */

/* --- Pain Points: 4カードグリッド --- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.pain-grid .pain-card:hover {
  transform: translateY(-4px);
}

/* --- Solution: AI検索対応 チャット風モック --- */
.ai-search-mock {
  width: 100%;
  max-width: 440px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.ai-chat-question {
  background: var(--color-bg);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text);
}
.ai-chat-answer {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  padding: var(--space-4);
  border-radius: var(--radius-md);
}
.ai-answer-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
  margin-bottom: 6px;
}
.ai-chat-answer p { margin: 0 0 10px; font-size: var(--font-size-sm); line-height: 1.6; }
.ai-chat-store-tag {
  display: inline-flex;
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
}

/* --- Process (制作の流れ) --- */
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-12);
}
.process-step {
  flex: 1;
  text-align: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-5);
}
.process-icon { font-size: 2.5rem; margin-bottom: var(--space-3); }
.process-step-num {
  font-size: var(--font-size-xs);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.process-step h3 { font-size: var(--font-size-lg); font-weight: 800; margin-bottom: var(--space-2); }
.process-step p { font-size: var(--font-size-sm); color: var(--color-text-secondary); line-height: 1.7; margin: 0; }
.process-connector {
  width: 40px;
  height: 2px;
  background: var(--color-border);
  margin-top: 60px;
  flex-shrink: 0;
}

/* --- Pricing: 単一プランカード --- */
.plan-card-single {
  align-items: center;
  text-align: center;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: 28px;
  padding: 40px 32px;
  max-width: 520px;
  margin: 0 auto;
}
.plan-card-single .plan-price-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}
.plan-card-single .plan-amount { justify-content: center; }
.plan-card-single .plan-currency,
.plan-card-single .plan-num { color: var(--color-text); }
.plan-card-single .plan-tax { color: var(--color-text-secondary); }
.plan-card-single .btn-plan-cta {
  background: var(--gradient-primary);
  color: var(--color-white);
  width: 100%;
  max-width: 320px;
  margin-top: 20px;
  padding-top: 15px;
  box-shadow: 0 8px 24px rgba(2,132,199,0.3);
}
.plan-card-single .btn-plan-cta:hover {
  box-shadow: 0 12px 32px rgba(2,132,199,0.45);
  transform: translateY(-2px);
}
.plan-photo-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: 16px;
  text-align: left;
}
.plan-photo-note svg { flex-shrink: 0; color: var(--color-primary); }

/* ==============================
   レスポンシブ対応
   ============================== */
@media (max-width: 768px) {
  .about-us-grid {
    grid-template-columns: 1fr;
  }

  .section-lead {
    font-size: var(--font-size-base);
    padding: var(--space-3) var(--space-4);
  }

  .about-us-card {
    padding: var(--space-6);
  }

  .pain-grid { grid-template-columns: 1fr; }

  .process-steps { flex-direction: column; }
  .process-connector { width: 2px; height: 24px; margin: 0 auto; }

  .plan-card-single { padding: 32px 20px; }
}

/* ===================================
   AIO対応 追加スタイル
   =================================== */

/* --- Answer-First セクション (Landyとは？) --- */
.answer-first-section {
  padding: var(--space-20) 0;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
}

/* ---- answer-details-block (折りたたみブロック) ---- */
.answer-details-block {
  margin-top: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #f8fafc;
  overflow: hidden;
}

.answer-details-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
  list-style: none;
  user-select: none;
}
.answer-details-toggle::-webkit-details-marker { display: none; }

.toggle-label-close { display: none; }
.answer-details-block[open] .toggle-label-open { display: none; }
.answer-details-block[open] .toggle-label-close { display: inline; }
.answer-details-block[open] .toggle-chevron { transform: rotate(180deg); }
.toggle-chevron { transition: transform 0.25s ease; flex-shrink: 0; margin-left: auto; }

.answer-details-body {
  padding: 0 var(--space-6) var(--space-6);
  border-top: 1px solid var(--color-border);
}

/* ---- FAQ show-more controls ---- */
.faq-more-trigger {
  text-align: center;
  padding: var(--space-6) 0 var(--space-2);
}

.btn-faq-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border: 1.5px solid var(--color-primary);
  border-radius: 99px;
  background: transparent;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  min-height: 44px;
}
.btn-faq-more:hover { background: var(--color-primary); color: #fff; }
.btn-faq-more svg { transition: transform 0.25s; }
.btn-faq-more.expanded svg { transform: rotate(180deg); }

/* faq-extra: HTML上は常に存在しクローラーが読める。視覚的にはJS制御で初期非表示 */
.faq-extra { overflow: hidden; transition: max-height 0.4s ease; }
.faq-extra.collapsed { max-height: 0; }

.answer-first-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* 統合セクション内のサブヘッダー余白 */
.unified-solution-header {
  margin-top: var(--space-20);
  padding-top: var(--space-12);
  margin-bottom: var(--space-12) !important;
  border-top: 1px solid var(--color-border);
}

/* 統合セクション内の比較カード余白 */
.unified-compare {
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.unified-compare .compare-card.bad {
  background-color: var(--color-white);
}

.answer-first-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  line-height: 1.3;
}

.answer-first-inner h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  padding-left: var(--space-4);
  border-left: 4px solid var(--color-primary);
}

.answer-lead {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: var(--space-8);
}

.answer-first-inner p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

/* --- Answer-First 比較テーブル --- */
.answer-facts-table {
  margin: var(--space-8) 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.answer-facts-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.answer-facts-table thead {
  background: var(--gradient-primary);
  color: white;
}

.answer-facts-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.answer-facts-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: middle;
}

.answer-facts-table tbody tr:last-child td {
  border-bottom: none;
}

.answer-facts-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.answer-facts-table tbody tr:hover {
  background: #e0f2fe;
  transition: background 0.2s;
}

.answer-facts-table td:first-child {
  font-weight: 600;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.answer-facts-table td:nth-child(2) {
  color: var(--color-primary-dark);
}

@media (max-width: 640px) {
  .answer-facts-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: var(--space-6) calc(var(--space-4) * -1);
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .answer-facts-table table { 
    font-size: 0.875rem;
    min-width: 500px;
  }
  .answer-facts-table th,
  .answer-facts-table td { padding: 12px 16px; }
}

/* --- FAQ details/summary形式 (AIOクローラー対応) --- */
.faq-details-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-details-item {
  border-bottom: 1px solid var(--color-border);
  background: white;
}

.faq-details-item:first-of-type {
  border-top: 1px solid var(--color-border);
  border-radius: 12px 12px 0 0;
}

.faq-details-item:last-of-type {
  border-radius: 0 0 12px 12px;
}

.faq-details-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  list-style: none;
  transition: background 0.2s;
  user-select: none;
}

.faq-details-summary::-webkit-details-marker { display: none; }

.faq-details-summary:hover {
  background: #f0f9ff;
}

.faq-details-summary span {
  flex: 1;
  line-height: 1.5;
}

.faq-details-item[open] > .faq-details-summary {
  color: var(--color-primary);
  background: #f0f9ff;
}

.faq-details-item[open] > .faq-details-summary .icon-plus-minus::before {
  transform: rotate(45deg);
}

.faq-details-body {
  padding: 0 var(--space-6) var(--space-5);
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
}

.faq-details-body p { margin: 0; }

.faq-details-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-category-label {
  padding: var(--space-3) var(--space-6);
  background: var(--color-bg-alt);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--color-border);
  margin-top: var(--space-2);
}

@media (max-width: 768px) {
  .faq-details-summary { padding: var(--space-4) var(--space-4); font-size: 0.9375rem; }
  .faq-details-body { padding: 0 var(--space-4) var(--space-4); }
  .faq-category-label { padding: var(--space-2) var(--space-4); }
  .answer-first-section { padding: var(--space-12) 0; }
}

