/* ==========================================================================
   BizAI for Sheets - Official Web Stylesheet
   Design Spec: High-Trust B2B SaaS (Royal Blue & Slate Palette)
   Reference: BizAI for Sheets ランディングページ.png
   ========================================================================== */

:root {
  --color-primary: #1a73e8;         /* Google Workspace / SaaS Royal Blue */
  --color-primary-dark: #1557b0;    /* Deep Royal Blue */
  --color-primary-light: #4285f4;   /* Bright Accent Blue */
  --color-primary-subtle: #eff6ff;  /* Soft Blue Tint */
  --color-primary-soft: #e8f0fe;    /* Google Blue Soft Tint */
  
  --color-text-main: #1e293b;       /* Slate 900 (High contrast, readable) */
  --color-text-muted: #475569;      /* Slate 600 */
  --color-text-light: #64748b;      /* Slate 500 */
  
  --color-bg-body: #ffffff;
  --color-bg-subtle: #f8fafc;       /* Slate 50 */
  --color-bg-card: #ffffff;
  --color-bg-alt: #f1f5f9;          /* Slate 100 */
  
  --color-border: #e2e8f0;          /* Slate 200 */
  --color-border-hover: #cbd5e1;    /* Slate 300 */
  --color-border-subtle: #f1f5f9;
  
  --color-success: #0f9d58;        /* High-trust green */
  --color-success-bg: #ecfdf5;
  --color-warning: #f59e0b;        /* Amber 500 */
  --color-warning-bg: #fffbeb;
  --color-danger: #dc2626;         /* Red 600 */
  --color-danger-bg: #fef2f2;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Meiryo", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-blue-glow: 0 4px 14px rgba(26, 115, 232, 0.35);
  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  --max-w-container: 1140px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-main);
  background-color: var(--color-bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--color-primary-dark);
}

img, svg {
  max-width: 100%;
  vertical-align: middle;
}

/* ==========================================================================
   Container & Section Common
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-w-container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 840px;
}

.section {
  padding: 72px 0;
}

/* Section Header with Numbered Badge (2, 3, 4, 5, 6, 7) */
.section-badge-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 36px;
}

.section-num-badge {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  box-shadow: 0 2px 6px rgba(26, 115, 232, 0.3);
}

.section-badge-text {
  flex: 1;
}

.section-heading {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.35;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.section-subheading {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-icon-svg {
  display: block;
  flex-shrink: 0;
}

.brand-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
}

.brand-beta-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.nav-container {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

.header-cta-group {
  display: flex;
  align-items: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-pill {
  border-radius: var(--radius-full);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  box-shadow: var(--shadow-blue-glow);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
}

.btn-block {
  width: 100%;
}

.google-g-icon {
  flex-shrink: 0;
  border-radius: 2px;
}

.btn-text-full {
  display: inline;
}

.btn-text-short {
  display: none;
}

.break-desktop {
  display: block;
}

/* ==========================================================================
   Section 1: Hero (ファーストビュー)
   ========================================================================== */

.hero-section {
  padding: 56px 0 36px;
  background: radial-gradient(circle at 75% 20%, #f0f7ff 0%, #ffffff 60%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  min-width: 0;
}

.hero-content {
  padding-right: 16px;
  min-width: 0;
}

.hero-heading {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-accent {
  color: var(--color-primary);
  display: inline-block;
}

.hero-subtext {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.hero-cta-wrapper {
  margin-bottom: 28px;
}

.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-cta-subhint {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 10px;
}

.hero-trust-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-main);
}

.trust-check {
  color: var(--color-success);
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

/* ==========================================================================
   Hero Preview Col (Sheets + Sidebar Combined Mockup)
   ========================================================================== */

.hero-preview-col {
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.hero-product-mockup {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  font-size: 11px;
  min-width: 0;
  max-width: 100%;
}

/* Sheets Table Mockup Side */
.mockup-sheet-side {
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  padding: 10px 10px 14px;
  overflow-x: auto;
  min-width: 0;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.mockup-sheet-topbar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 8px;
}

.sheet-title-text {
  font-size: 12px;
  font-weight: 700;
  color: #1f2937;
}

.sheet-menu-hint {
  font-size: 10px;
  color: #6b7280;
  letter-spacing: -0.02em;
}

.mockup-sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.mockup-sheet-table th, 
.mockup-sheet-table td {
  border: 1px solid #e5e7eb;
  padding: 6px 7px;
  text-align: left;
  white-space: nowrap;
}

.mockup-sheet-table th {
  background-color: #f9fafb;
  color: #4b5563;
  font-weight: 600;
  font-size: 10px;
}

.mockup-sheet-table td.row-num {
  text-align: center;
  background-color: #f9fafb;
  color: #6b7280;
  font-size: 10px;
  font-weight: 500;
}

.mockup-sheet-table td.raw-val {
  color: #374151;
  font-size: 11px;
}

.mockup-sheet-table td.matched-val {
  color: #111827;
  font-weight: 600;
  font-size: 11px;
}

.mockup-sheet-table td.status-cell {
  text-align: center;
}

.badge-match {
  color: var(--color-success);
  font-weight: 800;
  font-size: 12px;
}

/* Sidebar Mockup Side */
.mockup-sidebar-side {
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
}

.mockup-sidebar-header {
  background: #2d3748;
  color: #ffffff;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mockup-sidebar-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-step-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
}

.sidebar-step-label .step-icon {
  color: var(--color-primary);
}

.sidebar-step-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #94a3b8;
}

.sidebar-step-breadcrumb .crumb.active {
  color: var(--color-primary);
  font-weight: 700;
}

.sidebar-action-btn {
  background: var(--color-primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 7px;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 3px rgba(26, 115, 232, 0.3);
}

.sidebar-progress-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}

.progress-bar-bg {
  height: 5px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.sidebar-results-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px;
}

.results-card-title {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid #f1f5f9;
}

.results-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  padding: 3px 0;
  border-bottom: 1px dashed #f1f5f9;
}

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

.item-name {
  color: #64748b;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-arrow {
  color: #cbd5e1;
  font-size: 9px;
}

.item-target {
  color: #0f172a;
  font-weight: 600;
  max-width: 65px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-check {
  color: var(--color-success);
  font-weight: 800;
  font-size: 11px;
}

/* ==========================================================================
   Use Cases Bar (こんな業務で活用されています)
   ========================================================================== */

.use-cases-box {
  margin-top: 48px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.use-cases-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 18px;
  text-align: left;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.use-case-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background-color: var(--color-bg-subtle);
  border: 1px solid #edf2f7;
  border-radius: var(--radius-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.use-case-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  background-color: #ffffff;
}

.use-case-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--color-primary-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.use-case-text {
  flex: 1;
}

.use-case-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 2px;
  line-height: 1.35;
}

.use-case-desc {
  font-size: 11.5px;
  color: var(--color-text-light);
  line-height: 1.4;
}

/* ==========================================================================
   Section 2: できること (Capabilities Grid)
   ========================================================================== */

.section-capabilities {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.capability-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.capability-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.capability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 4px 14px 4px 6px;
  align-self: flex-start;
  margin-bottom: 18px;
}

.capability-badge .badge-num {
  width: 20px;
  height: 20px;
  background: #ffffff;
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capability-badge .badge-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.capability-mockup {
  background: var(--color-bg-subtle);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 16px;
}

.mini-sheet {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 10px;
}

.mini-menu {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 8px;
}

.mini-action-prompt {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: #1e293b;
}

.mini-btn {
  background: var(--color-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 6px;
  border-radius: var(--radius-xs);
  box-shadow: 0 1px 3px rgba(26, 115, 232, 0.3);
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
  background: #ffffff;
}

.mini-table th, .mini-table td {
  border: 1px solid #e2e8f0;
  padding: 4px 6px;
  text-align: left;
}

.mini-table th {
  background: #f8fafc;
  color: #64748b;
  font-weight: 600;
}

.mini-table td {
  color: #1e293b;
}

.mini-result-table td {
  text-align: center;
}

.check-pill {
  color: var(--color-success);
  font-weight: 700;
  font-size: 10px;
}

.capability-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Section 3: 実際の画面イメージ (Real Screen Frame)
   ========================================================================== */

.section-actual-screen {
  background-color: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
}

.real-screen-frame {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.browser-window-bar {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.window-title {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.sheets-app-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  background: #ffffff;
  min-height: 480px;
  min-width: 0;
  max-width: 100%;
}

.sheets-grid-area {
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
}

.sheets-top-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
}

.sheets-icon-mark {
  color: #0f9d58;
  font-weight: 800;
}

.sheets-sheet-name {
  font-weight: 700;
  color: #1e293b;
}

.sheets-menu-items {
  display: flex;
  gap: 12px;
  color: #475569;
  font-size: 11.5px;
}

.menu-highlight {
  color: var(--color-primary);
  font-weight: 700;
}

.sheets-toolbar-mock {
  padding: 6px 16px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 11px;
  color: #64748b;
  background: #f8fafc;
}

.sheets-table-scroll-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sheets-data-grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.sheets-data-grid th, .sheets-data-grid td {
  border: 1px solid #e2e8f0;
  padding: 8px 10px;
  text-align: left;
}

.sheets-data-grid th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  font-size: 11px;
}

.sheets-data-grid td.grid-num {
  text-align: center;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
}

.sheets-data-grid .val-bold {
  font-weight: 700;
  color: #0f172a;
}

.sheets-data-grid .val-amber {
  color: #d97706;
  font-weight: 600;
}

.sheets-data-grid .status-match {
  color: var(--color-success);
  font-weight: 800;
  text-align: center;
}

.sheets-data-grid .status-review {
  color: #d97706;
  font-weight: 700;
  font-size: 10px;
  background: #fef3c7;
  padding: 2px 4px;
  border-radius: 4px;
  text-align: center;
}

/* Real Screen Embedded Sidebar */
.sheets-sidebar-area {
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
}

.sidebar-top {
  background: #2d3748;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
}

.sidebar-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.sidebar-heading-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.sidebar-breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #94a3b8;
}

.sidebar-breadcrumb-bar .b-item.done {
  color: #475569;
  font-weight: 600;
}

.sidebar-breadcrumb-bar .b-item.current {
  color: var(--color-primary);
  font-weight: 700;
}

.sidebar-main-btn {
  background: var(--color-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 5px rgba(26, 115, 232, 0.3);
}

.sidebar-status-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.status-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}

.status-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.status-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.sidebar-results-panel {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.results-panel-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  padding: 5px 0;
  border-bottom: 1px dashed #f1f5f9;
}

.result-row:last-child {
  border-bottom: none;
}

.r-src {
  color: #64748b;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.r-dst {
  color: #0f172a;
  font-weight: 700;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.r-ok {
  color: var(--color-success);
  font-weight: 800;
}

.sidebar-footer-hint {
  padding: 10px 16px;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  font-size: 11px;
  color: #64748b;
  text-align: center;
}

/* ==========================================================================
   Section 4: 選ばれる理由 (Reasons Grid)
   ========================================================================== */

.section-reasons {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.reason-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reason-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.reason-icon-box {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-lightning { background-color: #ecfdf5; }
.icon-shield { background-color: #eff6ff; }
.icon-gear { background-color: #f5f3ff; }
.icon-users { background-color: #fef2f2; }

.reason-content {
  flex: 1;
}

.reason-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.reason-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Section 5: ご利用の流れ (Flow Steps)
   ========================================================================== */

.section-flow {
  background-color: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
}

.flow-steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.flow-step-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 250px;
}

.flow-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.flow-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.35;
  text-align: left;
}

.flow-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-sheets-green {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.icon-action-blue {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.flow-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.flow-arrow-col {
  font-size: 20px;
  color: #94a3b8;
  font-weight: 700;
  text-align: center;
  user-select: none;
}

/* ==========================================================================
   Section 6: 料金プラン (Pricing Cards)
   ========================================================================== */

.section-pricing {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
}

.pricing-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.card-highlight {
  border: 2px solid var(--color-primary);
  box-shadow: 0 10px 30px rgba(26, 115, 232, 0.12);
  position: relative;
}

.pricing-badge-current {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.pricing-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1;
  margin-bottom: 14px;
}

.pricing-amount .currency {
  font-size: 26px;
  font-weight: 700;
  margin-right: 2px;
}

.pricing-lead-text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.pricing-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-main);
}

.p-check {
  color: var(--color-success);
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

.future-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

.future-list li {
  color: var(--color-text-muted);
  font-weight: 500;
}

.future-notice {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 24px;
}

/* ==========================================================================
   Section 7: よくある質問 (FAQ Accordion)
   ========================================================================== */

.section-faq {
  background-color: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item[open] {
  border-color: #cbd5e1;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-main);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

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

.faq-toggle {
  font-size: 16px;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-toggle {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Section 8: Final CTA Banner
   ========================================================================== */

.section-cta-banner {
  padding: 80px 0;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  border-top: 1px solid var(--color-border);
}

.cta-banner-box {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-banner-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(26, 115, 232, 0.3);
}

.cta-banner-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.cta-banner-sub {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.cta-banner-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-btn-center {
  display: inline-block;
}

/* ==========================================================================
   Interactive Lead Modal (For Pre-Launch Safe CTA)
   ========================================================================== */

.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.modal-open,
.modal-backdrop:target {
  display: flex;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 500px;
  padding: 32px;
  position: relative;
  animation: modalSlideIn 0.2s ease-out;
}

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

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 18px;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--color-text-main);
}

.modal-header {
  margin-bottom: 20px;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-main);
}

.form-label .required {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-danger);
  margin-left: 4px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.form-notice {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.5;
  text-align: center;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 40px 0 32px;
  font-size: 13px;
  color: var(--color-text-light);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-logo {
  text-decoration: none;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--color-text-muted);
  font-size: 13px;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--color-primary);
}

.footer-copy {
  font-size: 12px;
  color: var(--color-text-light);
}

/* ==========================================================================
   Subpages Styles (Legal, Terms, Privacy, Support, Contact, Tokushoho)
   ========================================================================== */

.legal-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
  margin-bottom: 40px;
}

.legal-box h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-text-main);
  letter-spacing: -0.01em;
}

.legal-meta {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.legal-box h2 {
  font-size: 19px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--color-text-main);
}

.legal-box h3 {
  font-size: 15px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--color-text-main);
}

.legal-box p, .legal-box ul {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.legal-box ul {
  padding-left: 22px;
}

.legal-box li {
  margin-bottom: 6px;
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
  margin-bottom: 40px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text-main);
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   Responsive Adaptations (Tablet & Mobile)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .hero-content {
    padding-right: 0;
    text-align: center;
  }
  
  .hero-trust-list {
    align-items: center;
  }
  
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  
  .sheets-app-layout {
    grid-template-columns: 1fr;
  }
  
  .sheets-sidebar-area {
    border-top: 1px solid var(--color-border);
  }
  
  .flow-steps-grid {
    grid-template-columns: 1fr;
  }
  
  .flow-arrow-col {
    transform: rotate(90deg);
    padding: 8px 0;
  }
  
  .pricing-cards-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-heading {
    font-size: 28px;
    line-height: 1.35;
  }
  
  .hero-product-mockup {
    grid-template-columns: 1fr;
  }
  
  .mockup-sheet-side {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .sheets-grid-area {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .sheets-data-grid {
    min-width: 560px;
  }
  
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  
  .section-badge-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }
  
  .cta-banner-title {
    font-size: 22px;
  }
  
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .legal-box {
    padding: 24px 18px;
  }
  
  .break-desktop {
    display: inline;
  }
  
  .form-row-2col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-header .container {
    padding: 0 12px;
  }

  .header-inner {
    height: 52px;
  }
  
  .brand-logo {
    gap: 6px;
  }
  
  .brand-icon-svg {
    width: 24px;
    height: 24px;
  }
  
  .brand-text {
    font-size: 14.5px;
  }
  
  .brand-beta-tag {
    display: none;
  }
  
  .btn-text-full {
    display: none;
  }
  
  .btn-text-short {
    display: inline;
  }
  
  .header-cta-group .btn-sm {
    padding: 5px 11px;
    font-size: 11.5px;
    gap: 5px;
  }
  
  .header-cta-group .google-g-icon {
    width: 13px;
    height: 13px;
  }

  .hero-cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .hero-cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-banner-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .cta-banner-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-section {
    padding: 32px 0 20px;
  }
  
  .hero-heading {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  
  .hero-subtext {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .hero-trust-list {
    align-items: flex-start;
    padding-left: 8px;
  }
  
  .hero-trust-item {
    font-size: 13px;
  }
  
  .btn-lg {
    width: 100%;
    padding: 12px 18px;
    font-size: 14px;
  }
  
  .use-cases-box {
    padding: 18px 16px;
  }
  
  .pricing-card {
    padding: 28px 20px;
  }
  
  .modal-dialog {
    max-width: calc(100% - 24px);
    padding: 24px 16px;
  }
}
