/* ============================================================
  Navitas LP - Main Stylesheet
  Design: Professional SaaS / Green × Clean
============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;
  --blue-500:  #3b82f6;
  --blue-50:   #eff6ff;
  --orange-500:#f97316;
  --orange-50: #fff7ed;
  --purple-500:#8b5cf6;
  --gray-900:  #111827;
  --gray-700:  #374151;
  --gray-500:  #6b7280;
  --gray-400:  #9ca3af;
  --gray-200:  #e5e7eb;
  --gray-100:  #f3f4f6;
  --gray-50:   #f8fafc;
  --white:     #ffffff;
  --dark:      #1f2937;
  --font-jp: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Sans', sans-serif;
  --font-en: 'Inter', 'DM Sans', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-jp);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 100px 0; }

.pc-only { display: inline; }
.sp-only { display: none; }

/* ── Backgrounds ── */
.bg-white   { background: var(--white); }
.bg-gray    { background: var(--gray-50); }
.bg-green-soft { background: var(--green-50); }

/* ── Utility ── */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(21,128,61,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(21,128,61,.45);
}
.btn-outline {
  background: transparent;
  color: var(--green-700);
  border: 2px solid var(--green-600);
}
.btn-outline:hover {
  background: var(--green-50);
  transform: translateY(-2px);
}
.btn-text {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .2s;
}
.btn-text:hover { color: var(--green-700); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-white-green {
  background: var(--white);
  color: var(--green-700);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-white-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.btn-ghost-white {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .25s;
}
.btn-ghost-white:hover { background: rgba(255,255,255,.25); }

/* ── Section Labels & Titles ── */
.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-50);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.section-label.blue   { color: var(--blue-500);   background: var(--blue-50); }
.section-label.orange { color: var(--orange-500); background: var(--orange-50); }
.section-label.green  { color: var(--green-600);  background: var(--green-50); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.section-title.white { color: var(--white); text-align: center; }

.section-sub {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 640px;
  line-height: 1.85;
  margin-bottom: 60px;
}
.section-sub.white { color: rgba(255,255,255,.85); text-align: center; max-width: 600px; margin: 0 auto 60px; }


/* ============================================================
  Section 01: Header
============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow .3s ease;
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: -.02em;
}
.logo-text.white { color: var(--white); }
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.nav-link:hover { color: var(--green-700); background: var(--green-50); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.hamburger {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all .3s;
}


/* ============================================================
  Section 02: Hero
============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21,128,61,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,128,61,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-grad {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(240,253,244,.9) 0%, rgba(255,255,255,0) 70%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-700);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--green-600);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform: scale(1); }
  50% { opacity:.6; transform: scale(1.3); }
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.03em;
  color: var(--gray-900);
  margin-bottom: 24px;
}
.hero-title-line1 {
  display: inline-block;
  white-space: nowrap;
}
.hero-title-line2 {
  display: inline-block;
  white-space: nowrap;
}
.hero-sub {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-cta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 48px;
}
.hero-note {
  font-size: 0.78rem;
  color: var(--gray-400);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero-stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1;
}
.stat-unit { font-size: 1rem; }
.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-500);
  margin-top: 4px;
}
.stat-divider {
  width: 1px; height: 36px;
  background: var(--gray-200);
}

/* Hero Mockup */
.hero-visual {
  position: relative;
}
.hero-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform .4s ease;
}
.hero-mockup:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}
.mockup-bar.dark { background: #2d3748; border-color: #4a5568; }
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot.r { background: #ff5f57; }
.dot.y { background: #ffbd2e; }
.dot.g { background: #27c93f; }
.mockup-url {
  font-family: var(--font-en);
  font-size: 0.7rem;
  color: var(--gray-500);
  margin-left: 8px;
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2px 10px;
  border-radius: 4px;
}
.mockup-url.light { color: #a0aec0; background: #3a4a5c; border-color: #4a5568; }
.mockup-body { padding: 16px; }
.dash-header-mock {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.dash-logo-m {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--green-700);
}
.dash-tabs {
  display: flex;
  gap: 4px;
}
.dash-tab {
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--gray-500);
  cursor: pointer;
}
.dash-tab.active {
  background: var(--green-50);
  color: var(--green-700);
  font-weight: 600;
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.dash-card { background: var(--gray-50); border-radius: var(--radius-sm); padding: 10px; }
.dash-card.wide { grid-column: 1 / -1; }
.kpi-label { font-size: 0.6rem; color: var(--gray-500); margin-bottom: 4px; }
.kpi-val {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}
.kpi-val.green { color: var(--green-700); }
.kpi-val.blue  { color: var(--blue-500); }
.kpi-val.orange{ color: var(--orange-500); }
.kpi-up {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--green-600);
  margin-left: 2px;
}
.kpi-chart { margin-top: 6px; height: 30px; }
.full-chart { width: 100%; height: 50px; }

/* Floating Cards */
.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  max-width: 280px;
  animation: float 4s ease-in-out infinite;
  border: 1px solid var(--gray-200);
  white-space: nowrap;
}
.floating-card > div:last-child {
  min-width: 0;
  overflow: hidden;
}
.fc1 { bottom: 30px; left: -30px; animation-delay: 0s; }
.fc2 { top: 20px; right: -20px; animation-delay: 1.5s; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.fc-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.green-bg { background: var(--green-600); }
.blue-bg  { background: var(--blue-500); }
.fc-label {
  font-size: 0.62rem;
  color: var(--gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fc-val {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ============================================================
  Section 03: Pain Points
============================================================ */
.pain-points { background: var(--gray-50); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pain-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  transition: all .3s ease;
}
.pain-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.pain-icon {
  width: 52px; height: 52px;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.pain-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.4;
}
.pain-text {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}


/* ============================================================
  Section 04: About
============================================================ */
.about { text-align: center; }
.about .section-title { max-width: 700px; margin: 0 auto 20px; }
.about .section-sub { margin: 0 auto 60px; }
.about-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 20px;
}
.diagram-node {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gray-200);
  text-align: center;
  min-width: 140px;
  transition: all .3s;
}
.diagram-node:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.node-seo { border-color: var(--green-100); }
.node-aio { border-color: rgba(59,130,246,.2); }
.node-ads { border-color: rgba(249,115,22,.2); }
.node-icon { margin: 0 auto 10px; }
.diagram-node span {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-700);
}
.diagram-arrow {
  font-size: 1.5rem;
  color: var(--gray-400);
  font-weight: 300;
}
.diagram-arrow-bottom {
  font-size: 1.5rem;
  color: var(--gray-400);
  display: none;
}
.diagram-center {
  background: linear-gradient(135deg, var(--green-700), #064e24);
  border-radius: var(--radius-lg);
  padding: 28px 40px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(21,128,61,.4);
  color: var(--white);
  min-width: 160px;
}
.diagram-center .diagram-logo { margin: 0 auto 10px; }
.diagram-center span {
  display: block;
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}
.diagram-center .center-sub { font-size: 0.7rem; color: rgba(255,255,255,.7); font-weight: 400; }


/* ============================================================
  Section 05: Feature Pillars
============================================================ */
.features { background: var(--white); }
.features .section-sub { margin: 0 auto 60px; }
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all .3s ease;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.fc-header {
  background: var(--gray-50);
  padding: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.fc-mock {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.mock-mini-bar {
  display: flex;
  gap: 4px;
  padding: 6px 10px;
  background: var(--gray-100);
}
.mm-dot { width: 7px; height: 7px; border-radius: 50%; }
.mm-dot.r { background: #ff5f57; }
.mm-dot.y { background: #ffbd2e; }
.mm-dot.g { background: #27c93f; }
.mock-mini-content { padding: 10px; }

/* SEO mock */
.rank-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.rank-kw  { font-size: 0.65rem; color: var(--gray-700); }
.rank-badge {
  font-size: 0.55rem; font-weight: 700; padding: 1px 6px; border-radius: 10px;
}
.rank-badge.r1 { background: rgba(21,128,61,.12); color: var(--green-700); }
.rank-badge.r3 { background: rgba(21,128,61,.08); color: var(--green-600); }
.rank-badge.r5 { background: var(--gray-100); color: var(--gray-500); }
.mini-chart-wrap { margin-top: 6px; height: 30px; }

/* AIO mock */
.sov-row { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.sov-label { font-size: 0.6rem; color: var(--gray-700); width: 60px; flex-shrink: 0; }
.sov-bar-wrap { flex: 1; height: 6px; background: var(--gray-100); border-radius: 3px; overflow: hidden; }
.sov-bar { height: 100%; background: linear-gradient(90deg, var(--blue-500), #60a5fa); border-radius: 3px; }
.sov-val { font-size: 0.6rem; font-weight: 700; color: var(--blue-500); width: 28px; text-align: right; }

/* Ads mock */
.query-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 0.6rem; }
.q-badge {
  padding: 1px 5px; border-radius: 3px; font-size: 0.55rem; font-weight: 700; white-space: nowrap;
}
.q-badge.good { background: rgba(21,128,61,.12); color: var(--green-700); }
.q-badge.bad  { background: rgba(239,68,68,.1); color: #dc2626; }
.q-text { color: var(--gray-700); }

/* Feature Card Body */
.fc-body {
  flex: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 24px 28px 32px;
}
.fc-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.fc-tag.green  { background: var(--green-50);  color: var(--green-700); }
.fc-tag.blue   { background: var(--blue-50);   color: var(--blue-500); }
.fc-tag.orange { background: var(--orange-50); color: var(--orange-500); }
.fc-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.45;
}
.fc-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 20px;
}
/* リスト区切り線 */
.fc-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
  padding-top: 4px;
}
.fc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--gray-700);
  line-height: 1.5;
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-100);
}
.fc-list li:last-child { border-bottom: none; }
.fc-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1;
}
.fc-check.green  { background: rgba(21,128,61,.1);  color: var(--green-700); }
.fc-check.blue   { background: rgba(59,130,246,.1); color: var(--blue-500); }
.fc-check.orange { background: rgba(249,115,22,.1); color: var(--orange-500); }
/* 旧スタイル（detail-featuresで使用）維持 */
.check { font-weight: 700; }
.check.green  { color: var(--green-600); }
.check.blue   { color: var(--blue-500); }
.check.orange { color: var(--orange-500); }


/* ============================================================
  Section 06-08: Detail Sections
============================================================ */
.detail-section { position: relative; }
.detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.detail-inner.reverse { direction: rtl; }
.detail-inner.reverse > * { direction: ltr; }

.detail-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.detail-text {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.9;
  margin-bottom: 36px;
}
.detail-features {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
}
.detail-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
}
.df-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.green-bg-soft  { background: rgba(21,128,61,.1); }
.blue-bg-soft   { background: rgba(59,130,246,.1); }
.orange-bg-soft { background: rgba(249,115,22,.1); }

/* Screen Mocks */
.screen-mock {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.ss-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 12px;
  padding: 4px 8px;
  background: var(--green-50);
  border-radius: 4px;
  display: inline-block;
}

/* SEO Screen */
.seo-screen-body { padding: 16px; }
.competitor-analysis {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
}
.comp-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 7px 12px;
  font-size: 0.68rem;
  border-bottom: 1px solid var(--gray-200);
  align-items: center;
}
.comp-row:last-child { border-bottom: none; }
.comp-row.header { background: var(--gray-100); color: var(--gray-500); font-weight: 600; }
.comp-name { color: var(--blue-500); font-weight: 500; }
.score-high { color: var(--green-700); font-weight: 700; }
.score-mid  { color: var(--orange-500); font-weight: 700; }
.gen-button-row { display: flex; justify-content: center; margin: 12px 0; }
.gen-btn {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 20px;
  border-radius: 50px;
  cursor: pointer;
}
.article-preview {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.ap-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.ap-outline { display: flex; flex-direction: column; gap: 4px; }
.ap-h2 { font-size: 0.65rem; color: var(--gray-700); font-weight: 600; }
.ap-h3 { font-size: 0.6rem; color: var(--gray-500); padding-left: 10px; }

/* AIO Screen */
.aio-screen-body { padding: 16px; }
.sov-chart-area { margin-bottom: 14px; }
.sov-legend {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 6px;
}
.sov-legend span { font-size: 0.62rem; color: var(--gray-600); display: flex; align-items: center; gap: 4px; }
.leg-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.leg-dot.blue   { background: var(--blue-500); }
.leg-dot.green  { background: var(--green-600); }
.leg-dot.purple { background: var(--purple-500); }
.citation-list { background: var(--gray-50); border-radius: var(--radius-sm); padding: 10px; }
.cite-header { font-size: 0.65rem; font-weight: 700; color: var(--gray-500); margin-bottom: 6px; }
.cite-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.65rem;
}
.cite-row:last-child { border-bottom: none; }
.cite-rank { color: var(--gray-400); font-weight: 700; width: 14px; }
.cite-domain { flex: 1; color: var(--gray-700); }
.cite-count { color: var(--gray-500); }
.cite-self { color: var(--green-700); font-weight: 700; }

/* Ads Screen */
.ads-screen-body { padding: 16px; }
.query-analysis {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
}
.qa-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  padding: 7px 10px;
  font-size: 0.65rem;
  border-bottom: 1px solid var(--gray-200);
  align-items: center;
}
.qa-row:last-child { border-bottom: none; }
.qa-row.header { background: var(--gray-100); color: var(--gray-500); font-weight: 700; }
.qa-row.good-q { color: var(--gray-700); }
.qa-row.bad-q  { color: var(--gray-400); background: rgba(239,68,68,.03); }
.qa-badge {
  font-size: 0.55rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.qa-badge.good { background: rgba(21,128,61,.1); color: var(--green-700); }
.qa-badge.bad  { background: rgba(239,68,68,.1); color: #dc2626; }
.ai-gen-area { background: var(--green-50); border-radius: var(--radius-sm); padding: 10px; }
.ai-gen-title { font-size: 0.65rem; font-weight: 700; color: var(--green-700); margin-bottom: 6px; }
.ai-ad-preview { background: var(--white); border-radius: 4px; padding: 8px; border: 1px solid var(--green-100); }
.ad-headline { font-size: 0.68rem; font-weight: 700; color: #1a0dab; margin-bottom: 3px; }
.ad-desc { font-size: 0.6rem; color: var(--gray-600); line-height: 1.5; }


/* ============================================================
  Section 09: All-in-One
============================================================ */
.all-in-one {
  background: linear-gradient(135deg, #064e24 0%, #15803d 50%, #166534 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.all-in-one::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.all-in-one .container { position: relative; z-index: 1; }

.aio-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 56px;
}
.aio-stat-card {
  text-align: center;
}
.aio-stat-num {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.aio-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,.7);
}
.aio-dashboard-wrap {
  max-width: 900px;
  margin: 0 auto 16px;
}
.aio-mockup {
  background: #1a2332;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.1);
}
.aio-dash-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  height: 260px;
}
.aio-dash-sidebar {
  background: #111827;
  padding: 12px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.ads-nav {
  font-size: 0.65rem;
  color: rgba(255,255,255,.5);
  padding: 7px 10px;
  border-radius: 6px;
  margin-bottom: 2px;
  cursor: pointer;
  transition: all .2s;
}
.ads-nav.active { background: rgba(22,163,74,.2); color: #4ade80; font-weight: 700; }
.aio-dash-main {
  padding: 12px;
  overflow: hidden;
}
.aio-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.aio-kpi {
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.08);
}
.kpi-lbl { font-size: 0.58rem; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.kpi-v {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}
.kpi-v .up { font-size: 0.65rem; color: #4ade80; }
.aio-kpi.green .kpi-v { color: #4ade80; }
.aio-kpi.blue  .kpi-v { color: #60a5fa; }
.aio-kpi.orange .kpi-v { color: #fb923c; }
.aio-chart-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.aio-chart-card {
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.08);
}
.chart-title { font-size: 0.58rem; color: rgba(255,255,255,.5); margin-bottom: 6px; }
.aio-footnote {
  font-size: 0.72rem;
  color: rgba(255,255,255,.5);
  margin-top: 16px;
}


/* ============================================================
  Section 10: Pricing
============================================================ */
.pricing { background: var(--white); text-align: center; }
.pricing .section-sub { margin: 0 auto 60px; }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  position: relative;
  transition: all .3s ease;
}
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(22,163,74,.1), var(--shadow-lg);
  transform: scale(1.03);
  z-index: 1;
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.plan-name {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.plan-price {
  font-family: var(--font-en);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 12px;
}
.plan-unit {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-500);
}
.plan-feature-tag {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--green-700);
  background: var(--green-50);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 10px;
}
.plan-point {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.plan-point strong { color: var(--green-700); }
.plan-features {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.pf-check { font-weight: 700; }
.pf-check.green { color: var(--green-600); }
.pricing-card .btn { width: 100%; justify-content: center; }
.pricing-notes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px;
  text-align: center;
}
.pricing-notes p {
  font-size: 0.78rem;
  color: var(--gray-400);
}


/* ============================================================
  Section 11: Steps
============================================================ */
.steps { background: var(--gray-50); text-align: center; }
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  margin-top: 20px;
}
.steps-timeline::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(16.666% + 20px);
  right: calc(16.666% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--green-600), var(--green-100), var(--green-600));
  z-index: 0;
}
.step-item {
  position: relative;
  text-align: center;
  z-index: 1;
}
.step-num {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--green-600);
  margin-bottom: 10px;
}
.step-connector { display: none; }
.step-icon-wrap {
  width: 68px; height: 68px;
  background: var(--white);
  border: 2px solid var(--green-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-sm);
}
.step-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.step-text {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.75;
}


/* ============================================================
  Section 12: FAQ
============================================================ */
.faq { background: var(--white); }
.faq-container { max-width: 760px; text-align: center; }
.faq-container .section-title { margin-bottom: 48px; }
.faq-list {
  text-align: left;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  text-align: left;
  transition: background .2s;
}
.faq-question:hover { background: var(--gray-50); }
.faq-question[aria-expanded="true"] { color: var(--green-700); background: var(--green-50); }
.faq-icon { flex-shrink: 0; color: var(--gray-400); transition: transform .3s ease; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); color: var(--green-700); }
.faq-answer {
  display: none;
  padding: 0 24px;
}
.faq-answer.open {
  display: block;
  animation: slideDown .3s ease;
}
.faq-answer p {
  padding: 0 0 20px;
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.8;
}
@keyframes slideDown {
  from { opacity:0; transform: translateY(-6px); }
  to   { opacity:1; transform: translateY(0); }
}


/* ============================================================
  Section 13: Final CTA
============================================================ */
.final-cta {
  background: linear-gradient(135deg, #166534 0%, #15803d 40%, #16a34a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,.3);
}
.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  line-height: 1.8;
  margin-bottom: 40px;
}
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* ============================================================
  Section 14: Footer
============================================================ */
.footer { background: var(--dark); padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-tagline {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.7;
  margin-top: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  text-align: center;
}
.footer-nav a {
  font-size: 0.85rem;
  color: #d1d5db;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-company {
  text-align: right;
}
.company-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #d1d5db;
  margin-bottom: 4px;
}
.footer-company p {
  font-size: 0.8rem;
  color: #6b7280;
}
.footer-bottom {
  text-align: center;
  padding: 20px 24px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: #4b5563;
  font-family: var(--font-en);
}


/* ============================================================
  Scroll Animation
============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }


/* ============================================================
  Responsive - Tablet (max 1024px)
============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 60px; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-cta { align-items: center; }
  .hero-badge { display: inline-flex; }
  .hero-stats { justify-content: center; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  /* タブレット：2列で高さ揃え */
  .feature-cards { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
  .detail-inner { grid-template-columns: 1fr; gap: 48px; }
  .detail-inner.reverse { direction: ltr; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto 32px; }
  .pricing-card.featured { transform: scale(1); }
  .steps-timeline { grid-template-columns: 1fr; gap: 0; }
  .steps-timeline::before { display: none; }
  .step-item { display: grid; grid-template-columns: auto 1fr; gap: 0 20px; text-align: left; margin-bottom: 32px; }
  .step-num { grid-column: 2; }
  .step-icon-wrap { grid-row: 1 / 3; grid-column: 1; margin: 0; align-self: start; }
  .step-title { grid-column: 2; }
  .step-text { grid-column: 2; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-company { text-align: center; }
  .aio-stats { gap: 32px; }
  .about-diagram { flex-direction: column; }
  .diagram-arrow { transform: rotate(90deg); }
  .diagram-node { min-width: 200px; }
  .aio-dash-body { grid-template-columns: 1fr; height: auto; }
  .aio-dash-sidebar { display: none; }
  .aio-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .aio-chart-row { grid-template-columns: 1fr; }
}


/* ============================================================
  Responsive - Mobile (max 768px)
============================================================ */
@media (max-width: 768px) {
  .section-pad { padding: 72px 0; }
  .pc-only { display: none; }
  .sp-only { display: inline; }

  /* Header */
  .nav { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px 24px; box-shadow: var(--shadow-md); z-index: 999; gap: 4px; }
  .nav.open { display: flex; }
  .nav-link { padding: 12px 16px; border-radius: 8px; font-size: 1rem; }
  .header-actions .btn-text { display: none; }
  .hamburger { display: flex; }

  /* Hero title — 小さい画面でも折り返し不要な範囲に収める */
  .hero-title { font-size: clamp(1.55rem, 7.5vw, 2.2rem); }
  .hero-title-line1,
  .hero-title-line2 { white-space: normal; }
  .hero-sub { font-size: 0.9rem; }

  /* feature cards */
  .feature-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .pain-grid { grid-template-columns: 1fr; }
  .aio-stats { flex-direction: column; gap: 20px; }
  .aio-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 1.3rem; }

  /* floating cards */
  .fc1, .fc2 { display: none; }
}
