/* =========================================================
   かんたん債務整理AI — Landing Page Stylesheet
   Palette: #FFFFFF / #0B1E3F (deep navy) / #2563EB (accent blue)
   Surface: #F5F7FB  Border: #E5EAF2
========================================================= */

:root {
  --c-bg: #FFFFFF;
  --c-surface: #F5F7FB;
  --c-surface-2: #EEF2F9;
  --c-ink: #0B1E3F;
  --c-ink-2: #1E2D4D;
  --c-mute: #5B6B86;
  --c-line: #E5EAF2;
  --c-line-2: #D8DFEC;
  --c-accent: #2563EB;
  --c-accent-2: #3B82F6;
  --c-accent-soft: #DBEAFE;
  --c-success: #16A34A;
  --c-danger: #DC2626;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(11,30,63,0.04), 0 2px 6px rgba(11,30,63,0.04);
  --shadow-md: 0 6px 24px rgba(11,30,63,0.08), 0 2px 6px rgba(11,30,63,0.04);
  --shadow-lg: 0 24px 60px rgba(11,30,63,0.14), 0 8px 24px rgba(11,30,63,0.08);

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Inter", system-ui, sans-serif;
  --font-serif: "Noto Serif JP", "Yu Mincho", serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-primary { background: var(--c-accent); color: #fff; box-shadow: 0 8px 18px rgba(37,99,235,0.25); }
.btn-primary:hover { background: #1E54CC; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(37,99,235,0.32); }
.btn-ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line-2); }
.btn-ghost:hover { background: var(--c-surface); border-color: var(--c-ink); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--c-line); background: rgba(255,255,255,0.96); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo svg { display: block; }

.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { font-size: 13.5px; color: var(--c-ink-2); font-weight: 500; position: relative; padding: 6px 0; }
.site-nav a:hover { color: var(--c-accent); }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--c-accent); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.site-nav a:hover::after { transform: scaleX(1); }
.header-cta { margin-left: 4px; }

.nav-toggle { display: none; background: transparent; border: 0; width: 36px; height: 36px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: var(--c-ink); border-radius: 2px; }

/* ===== HERO ===== */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(11,30,63,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,30,63,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 80%);
}
.hero-glow {
  position: absolute; right: -120px; top: -120px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(37,99,235,0.18), transparent 60%);
  border-radius: 50%; filter: blur(10px);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--c-accent-soft); color: #1D4ED8;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px rgba(37,99,235,0.18); }

.hero-title {
  font-size: clamp(38px, 5.2vw, 64px); line-height: 1.22; letter-spacing: -0.01em;
  font-weight: 700; margin: 0 0 24px; color: var(--c-ink);
}
.hero-title .accent { color: var(--c-accent); position: relative; }
.hero-title .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px;
  background: var(--c-accent-soft); z-index: -1; border-radius: 4px;
}
.hero-lead { font-size: 16px; color: var(--c-ink-2); margin: 0 0 32px; max-width: 480px; line-height: 1.85; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* HERO visual: 画像 */
.hero-visual { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; padding: 20px 0; }
.hero-image {
  width: 100%; max-width: 620px;
  border-radius: 16px; overflow: hidden;
  box-shadow:
    0 30px 60px rgba(11,30,63,0.14),
    0 8px 18px rgba(11,30,63,0.08),
    0 0 0 1px rgba(11,30,63,0.04);
  background: #fff;
}
.hero-image img { width: 100%; height: auto; display: block; }

/* HERO visual: 写真 + AI-OCR フロートカード */
.hero-visual { position: relative; min-height: 540px; display: flex; align-items: center; justify-content: center; padding: 30px 0; }

.hero-photo {
  position: relative; width: 100%; max-width: 600px;
  border-radius: 16px; overflow: hidden;
  box-shadow:
    0 30px 60px rgba(11,30,63,0.22),
    0 8px 18px rgba(11,30,63,0.10),
    0 0 0 1px rgba(11,30,63,0.04);
  aspect-ratio: 4 / 3;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.02);
}
.hero-photo-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(11,30,63,0.45) 0%, rgba(11,30,63,0.15) 50%, rgba(37,99,235,0.18) 100%);
  pointer-events: none;
}
.hero-photo-frame {
  position: absolute; inset: 0; border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
  pointer-events: none;
}

/* Floating cards */
.hero-card {
  position: absolute; background: #fff;
  border-radius: 12px; padding: 14px 16px;
  box-shadow:
    0 20px 40px rgba(11,30,63,0.18),
    0 4px 10px rgba(11,30,63,0.08);
  border: 1px solid rgba(11,30,63,0.05);
}
.hero-card-ocr {
  top: 18%; left: -28px; width: 280px;
  animation: hero-card-float 6s ease-in-out infinite;
}
.hero-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.hero-card-tag {
  font-family: var(--font-en); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; padding: 3px 8px; border-radius: 4px;
  background: var(--c-ink); color: #fff;
}
.hero-card-status {
  font-size: 11px; font-weight: 600; color: var(--c-accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-card-status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-accent);
  animation: hero-pulse 1.6s ease-in-out infinite;
}
@keyframes hero-pulse { 0%, 100% { opacity: 0.4; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.2); } }
.hero-card-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; font-weight: 600; color: var(--c-ink); margin-bottom: 8px;
}
.hero-card-meta { font-size: 11px; color: var(--c-mute); font-weight: 500; }
.hero-card-progress {
  height: 5px; background: var(--c-surface-2); border-radius: 99px; overflow: hidden;
  margin-bottom: 10px;
}
.hero-card-progress span {
  display: block; height: 100%; background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2));
  width: 86%;
  animation: hero-progress 3s ease-in-out infinite alternate;
  border-radius: 99px;
}
@keyframes hero-progress { from { width: 50%; } to { width: 92%; } }
.hero-card-foot {
  display: flex; justify-content: space-between; font-size: 11px;
}
.hero-card-court { color: var(--c-accent); font-weight: 600; }
.hero-card-pages { font-family: var(--font-en); color: var(--c-mute); font-weight: 600; }

.hero-card-output {
  bottom: 12%; right: -24px; width: 280px;
  display: flex; align-items: center; gap: 12px;
  animation: hero-card-float 6s ease-in-out infinite;
  animation-delay: -2s;
}
.hero-card-output-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--c-accent-soft); color: var(--c-accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.hero-card-output-title {
  font-size: 13px; font-weight: 700; color: var(--c-ink);
  font-family: var(--font-en);
}
.hero-card-output-sub {
  font-size: 11px; color: var(--c-mute); margin-top: 2px;
}
.hero-card-check { display: inline-flex; flex-shrink: 0; }

@keyframes hero-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.paper-stack { position: relative; width: 100%; max-width: 580px; }
.paper {
  position: absolute; inset: 0;
  background: #FBFAF6; border: 1px solid #D8D3C2;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 16px rgba(11,30,63,0.08);
}
.paper-back-2 {
  transform: rotate(-3.2deg) translate(-18px, 18px);
  background: #F4F1E8;
  height: 100%;
}
.paper-back-1 {
  transform: rotate(2deg) translate(12px, 8px);
  background: #F8F6EE;
  height: 100%;
}
.paper-front {
  position: relative; background: #FDFCF8;
  border: 1px solid #CFCAB8;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.05),
    0 24px 60px rgba(11,30,63,0.18),
    0 8px 18px rgba(11,30,63,0.08);
  transform: rotate(-1.2deg);
  padding: 22px 22px 28px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
  overflow: hidden;
}
.paper-staple {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%) rotate(-4deg);
  width: 18px; height: 7px; background: #9CA3AF;
  border-radius: 1px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.2);
  z-index: 4;
}
.paper-staple::before, .paper-staple::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: #6B7280;
}
.paper-staple::before { left: 1px; }
.paper-staple::after { right: 1px; }

.paper-doc { position: relative; z-index: 1; }
.paper-doc-title-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; margin-bottom: 4px; }
.paper-doc-title {
  font-size: 22px; font-weight: 700; letter-spacing: 0.04em;
  color: #1A1A1A; padding-top: 6px;
  text-align: center;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}
.paper-doc-case { border: 1.2px solid #1A1A1A; padding: 4px 8px; min-width: 180px; font-size: 10px; }
.paper-doc-case-row { display: grid; grid-template-columns: 64px 1fr; gap: 6px; padding: 2px 0; color: #1A1A1A; }
.paper-doc-case-row + .paper-doc-case-row { border-top: 1px solid #1A1A1A; }
.paper-doc-case-row .line { color: #1A1A1A; }

.paper-doc-sub { text-align: center; font-size: 10px; color: #1A1A1A; margin: 2px 0 8px; }

.paper-doc-table { width: 100%; border-collapse: collapse; font-size: 9.5px; color: #1A1A1A; }
.paper-doc-table th, .paper-doc-table td {
  border: 1px solid #1A1A1A; padding: 4px 5px; vertical-align: top; line-height: 1.4;
  text-align: left;
}
.paper-doc-table thead th {
  text-align: center; font-weight: 700; background: transparent; font-size: 9px;
  padding: 5px 4px;
}
.paper-doc-table thead th span { font-weight: 400; font-size: 8px; color: #4A4A4A; }
.paper-doc-table tbody td:first-child { text-align: center; vertical-align: middle; font-weight: 600; }
.paper-doc-table tbody td.num { text-align: right; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 700; white-space: nowrap; padding-right: 8px; }
.paper-doc-table tbody td .addr { font-size: 8.5px; color: #2C2C2C; }
.paper-doc-table tbody td strong { font-weight: 700; }
.paper-doc-table tbody td span { font-size: 8.5px; color: #4A4A4A; }
.paper-doc-table .cb { font-family: sans-serif; }

.paper-row-scan td {
  background: rgba(37,99,235,0.10);
  box-shadow: inset 0 0 0 1.5px rgba(37,99,235,0.55);
}

/* スキャナの光 */
.paper-scanlight {
  position: absolute; left: -2%; right: -2%; height: 100px; top: -100px;
  background: linear-gradient(180deg, rgba(37,99,235,0) 0%, rgba(37,99,235,0.12) 45%, rgba(37,99,235,0.28) 50%, rgba(37,99,235,0.12) 55%, rgba(37,99,235,0) 100%);
  border-top: 1px solid rgba(37,99,235,0.3);
  border-bottom: 2px solid rgba(37,99,235,0.7);
  pointer-events: none; z-index: 2;
  animation: paper-scan 4.5s ease-in-out infinite;
  mix-blend-mode: multiply;
}
@keyframes paper-scan {
  0% { top: -100px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: calc(100% + 20px); opacity: 0; }
}
/* ページ端の影（スキャン書類っぽさ） */
.paper-shadow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse at top left, rgba(0,0,0,0.06), transparent 30%),
    radial-gradient(ellipse at bottom right, rgba(0,0,0,0.05), transparent 35%);
  mix-blend-mode: multiply;
}

.hero-tag {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--c-line);
  padding: 10px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: var(--c-ink); box-shadow: var(--shadow-md);
}
.hero-tag-label { font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; padding: 3px 8px; border-radius: 4px; background: var(--c-ink); color: #fff; }
.hero-tag-1 { top: -6px; left: -14px; }
.hero-tag-2 { bottom: 12px; right: -10px; }

/* OCR stage */
.ocr-stage {
  position: relative; display: grid;
  grid-template-columns: 1fr auto 1.15fr; gap: 14px; align-items: center;
  width: 100%;
}
.ocr-source {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 14px;
  transform: rotate(-3deg);
}
.ocr-source-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ocr-source-tag { font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; padding: 3px 8px; border-radius: 4px; background: var(--c-ink); color: #fff; }
.ocr-source-name { font-size: 11px; color: var(--c-mute); font-weight: 600; }
.ocr-source-paper { position: relative; background: var(--c-surface); border: 1px dashed var(--c-line-2); border-radius: 6px; padding: 10px 8px; overflow: hidden; }
.ocr-paper-row { display: flex; gap: 4px; padding: 4px 0; align-items: center; }
.ocr-paper-row span { display: block; height: 5px; background: #CBD5E1; border-radius: 2px; }
.ocr-paper-row span:first-child { width: 18%; }
.ocr-paper-row .narrow { width: 26%; }
.ocr-paper-row .wide { width: 46%; }
.ocr-paper-row.hl span { background: #94A3B8; }
.ocr-paper-h { height: 10px; background: var(--c-ink); width: 50%; border-radius: 2px; margin-bottom: 6px; }
.ocr-paper-h::before, .ocr-paper-h::after { display: none; }
.ocr-scanline {
  position: absolute; left: 0; right: 0; height: 24px; top: -24px;
  background: linear-gradient(180deg, rgba(37,99,235,0) 0%, rgba(37,99,235,0.35) 50%, rgba(37,99,235,0) 100%);
  border-top: 1px solid var(--c-accent);
  animation: scan 2.6s ease-in-out infinite;
}
@keyframes scan { 0% { top: -24px; } 50% { top: 100%; } 100% { top: -24px; } }

.ocr-arrow { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ocr-arrow span { font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: var(--c-accent); }

.ocr-output {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 14px 16px;
  transform: rotate(2deg);
}
.ocr-output-head { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--c-line); margin-bottom: 10px; }
.ocr-output-court { font-size: 10.5px; font-weight: 700; color: var(--c-accent); letter-spacing: 0.04em; }
.ocr-output-name { font-family: var(--font-en); font-size: 11.5px; color: var(--c-ink); font-weight: 600; }
.ocr-table { display: flex; flex-direction: column; gap: 4px; }
.ocr-th, .ocr-tr { display: grid; grid-template-columns: 64px 1fr 70px; gap: 8px; font-size: 11px; padding: 5px 6px; align-items: center; }
.ocr-th { background: var(--c-surface-2); border-radius: 4px; font-weight: 700; color: var(--c-mute); font-size: 10px; letter-spacing: 0.04em; }
.ocr-tr { border-bottom: 1px dashed var(--c-line); color: var(--c-ink-2); }
.ocr-tr:last-child { border-bottom: 0; }
.ocr-tr.active { background: var(--c-accent-soft); border-radius: 4px; border-bottom-color: transparent; color: var(--c-ink); font-weight: 600; }
.ocr-tr .num { font-family: var(--font-en); text-align: right; font-weight: 600; }
.ocr-tr .num.neg { color: var(--c-danger); }
.ocr-output-foot { display: flex; gap: 6px; padding-top: 10px; border-top: 1px solid var(--c-line); margin-top: 10px; }
.visual-card {
  position: absolute; background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 18px; width: 360px;
}
.visual-card:not(.visual-card-back) { top: 30px; right: 0; z-index: 2; }
.visual-card-back {
  bottom: 0; left: 10px; width: 290px; z-index: 1;
  transform: rotate(-3deg);
  padding: 16px 18px;
}
.visual-card-head { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-r { background: #FF5F56; } .dot-y { background: #FFBD2E; } .dot-g { background: #27C93F; }
.visual-card-title { margin-left: 10px; font-size: 12px; color: var(--c-mute); font-weight: 500; }
.visual-card-body { padding: 14px 4px 10px; }
.vc-row { height: 8px; background: var(--c-surface-2); border-radius: 4px; margin-bottom: 8px; }
.vc-label { background: transparent; height: auto; font-size: 11px; color: var(--c-mute); margin-bottom: 12px; font-family: var(--font-en); letter-spacing: 0.02em; }
.vc-h { width: 60%; height: 12px; background: var(--c-ink); margin-bottom: 14px; }
.vc-line { width: 100%; }
.vc-line.short { width: 65%; }
.vc-spacer { background: transparent; height: 6px; }
.vc-typing { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--c-accent); padding: 6px 0; font-family: var(--font-en); font-weight: 500; }
.caret { width: 7px; height: 14px; background: var(--c-accent); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.visual-card-foot { display: flex; gap: 6px; padding-top: 10px; border-top: 1px solid var(--c-line); }
.badge { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.badge-soft { background: var(--c-accent-soft); color: #1D4ED8; }
.badge-outline { background: transparent; color: var(--c-mute); border: 1px solid var(--c-line-2); }

.vc2-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--c-mute); font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--c-line); margin-bottom: 8px; }
.vc2-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.vc2-list li { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 12.5px; border-bottom: 1px dashed var(--c-line); }
.vc2-list li:last-child { border-bottom: 0; }
.vc2-list .num { font-family: var(--font-en); font-weight: 600; color: var(--c-ink); }

.visual-tag {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--c-line);
  padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: var(--c-ink); box-shadow: var(--shadow-sm);
}
.visual-tag-1 { top: 0; left: -14px; }
.visual-tag-2 { bottom: 110px; right: -10px; }

/* ===== Section base ===== */
.section { padding: 96px 0; position: relative; }
.section-issues { background: var(--c-surface); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.section-product { background: var(--c-ink); color: #fff; }
.section-features { background: #fff; }
.section-security { background: linear-gradient(180deg, #0B1E3F 0%, #11264D 100%); color: #fff; }
.section-contact { background: var(--c-surface); border-top: 1px solid var(--c-line); }

.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head-center { margin: 0 auto 56px; text-align: center; }
.section-label {
  display: inline-block; font-family: var(--font-en); font-size: 11px;
  font-weight: 600; letter-spacing: 0.22em; color: var(--c-accent);
  margin-bottom: 14px;
}
.section-label-light { color: var(--c-accent-2); }
.section-title {
  font-size: clamp(26px, 3vw, 36px); line-height: 1.4; letter-spacing: -0.005em;
  font-weight: 700; margin: 0 0 18px;
}
.section-product .section-title,
.section-security .section-title { color: #fff; }
.section-lead { font-size: 16px; color: var(--c-ink-2); margin: 0; }
.section-product .section-lead,
.section-security .section-lead { color: rgba(255,255,255,0.78); }

/* ===== Issues ===== */
.issue-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.issue-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 24px 22px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.issue-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--c-line-2); }
.issue-illust { width: 100%; aspect-ratio: 4/3; background: var(--c-surface-2); border-radius: var(--r-md); margin-bottom: 16px; padding: 12px; }
.issue-card h3 { font-size: 16px; line-height: 1.55; margin: 0 0 8px; font-weight: 700; }
.issue-card p { font-size: 13.5px; color: var(--c-mute); margin: 0; }

/* ===== Product ===== */
.product-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product-points { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.product-points li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.pp-num { font-family: var(--font-en); font-size: 22px; font-weight: 700; color: var(--c-accent-2); padding-top: 4px; }
.product-points h4 { font-size: 16px; margin: 0 0 6px; color: #fff; }
.product-points p { font-size: 13.5px; color: rgba(255,255,255,0.72); margin: 0; line-height: 1.7; }

.product-visual { perspective: 1200px; }
.product-visual { perspective: 1400px; }
.product-image {
  border-radius: 14px; overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.45),
    0 12px 24px rgba(0,0,0,0.28),
    0 0 0 1px rgba(255,255,255,0.06);
  transform: perspective(1600px) rotateY(-3deg) rotateX(1.5deg);
  transform-origin: center;
  background: #fff;
}
.product-image img { width: 100%; height: auto; display: block; }

.pv-app {
  background: #FFFFFF; border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.45), 0 12px 24px rgba(0,0,0,0.28), 0 0 0 1px rgba(255,255,255,0.06);
  display: grid; grid-template-columns: 180px 1fr;
  font-family: var(--font-jp);
  transform: perspective(1600px) rotateY(-3deg) rotateX(1.5deg);
}
.pv-side { background: #0F172A; color: rgba(255,255,255,0.78); padding: 16px 0 18px; font-size: 11.5px; }
.pv-side-brand { display: flex; align-items: center; gap: 8px; padding: 4px 16px 14px; font-weight: 700; color: #fff; font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 12px; }
.pv-side-mark { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: var(--c-accent); border-radius: 5px; }
.pv-side-section { font-family: var(--font-en); font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; color: rgba(255,255,255,0.4); padding: 8px 16px 6px; }
.pv-side-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 10px; }
.pv-side-nav li { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 6px; color: rgba(255,255,255,0.7); font-size: 11.5px; line-height: 1.3; }
.pv-side-icon { display: inline-flex; width: 14px; justify-content: center; font-size: 11px; opacity: 0.7; }
.pv-side-active { background: rgba(37,99,235,0.18) !important; color: #fff !important; font-weight: 600; box-shadow: inset 2px 0 0 var(--c-accent-2); }
.pv-side-active .pv-side-icon { color: var(--c-accent-2); opacity: 1; }

.pv-main { background: #F7F8FB; min-width: 0; }
.pv-topbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; background: #fff; border-bottom: 1px solid #E6E9EF; height: 44px; }
.pv-topbar-left { display: flex; align-items: center; gap: 8px; font-size: 11.5px; }
.pv-crumb { color: var(--c-mute); }
.pv-crumb-current { color: var(--c-ink); font-weight: 600; }
.pv-crumb-sep { color: #CBD5E1; }
.pv-topbar-right { display: flex; align-items: center; gap: 10px; }
.pv-search { display: flex; align-items: center; gap: 6px; background: #F1F5F9; border-radius: 6px; padding: 5px 10px; font-size: 11px; color: var(--c-mute); width: 180px; }
.pv-bell { position: relative; font-size: 13px; line-height: 1; }
.pv-bell-dot { position: absolute; top: -2px; right: -2px; width: 6px; height: 6px; background: #EF4444; border-radius: 50%; border: 1.5px solid #fff; }
.pv-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #2563EB, #1E40AF); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-en); font-size: 10px; font-weight: 700; }

.pv-content { padding: 18px 22px 22px; }
.pv-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.pv-page-title { margin: 0 0 2px; color: var(--c-ink); font-size: 15px; font-weight: 700; }
.pv-page-sub { margin: 0; color: var(--c-mute); font-size: 11px; }
.pv-page-actions { display: flex; gap: 8px; }
.pv-btn { font-size: 11px; padding: 6px 12px; border-radius: 6px; border: 0; font-weight: 600; font-family: inherit; cursor: pointer; }
.pv-btn-ghost { background: #fff; color: var(--c-ink-2); border: 1px solid #E6E9EF; }
.pv-btn-primary { background: var(--c-accent); color: #fff; }

.pv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.pv-stat { background: #fff; border: 1px solid #E6E9EF; border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.pv-stat-label { font-size: 10px; color: var(--c-mute); font-weight: 600; }
.pv-stat-num { font-family: var(--font-en); font-size: 22px; font-weight: 700; color: var(--c-ink); line-height: 1.1; }
.pv-stat-warn { color: #B45309; }
.pv-stat-info { color: var(--c-accent); }

.pv-table { background: #fff; border: 1px solid #E6E9EF; border-radius: 8px; overflow: hidden; }
.pv-thead, .pv-trow { display: grid; grid-template-columns: 1.7fr 0.9fr 0.8fr 1fr 28px; gap: 10px; padding: 10px 14px; align-items: center; font-size: 11.5px; border-bottom: 1px solid #EEF1F5; }
.pv-thead { font-size: 9.5px; font-weight: 700; color: var(--c-mute); letter-spacing: 0.1em; background: #FAFBFD; }
.pv-trow:last-child { border-bottom: 0; }
.pv-trow-active { background: linear-gradient(90deg, rgba(37,99,235,0.08), rgba(37,99,235,0)); box-shadow: inset 2px 0 0 var(--c-accent); }
.pv-doc { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pv-doc-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 28px; background: #EEF2FB; color: var(--c-accent); border-radius: 4px; font-size: 11px; }
.pv-doc div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.pv-doc strong { display: inline-block; font-size: 9.5px; font-weight: 700; color: var(--c-accent); padding: 2px 6px; background: var(--c-accent-soft); border-radius: 3px; align-self: flex-start; margin-bottom: 2px; }
.pv-doc small { font-size: 10px; color: var(--c-mute); }
.pv-court { font-size: 11.5px; color: var(--c-ink-2); font-weight: 600; }
.pv-due { font-family: var(--font-en); font-size: 11.5px; color: var(--c-ink); font-weight: 600; }
.pv-status { font-size: 10.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; justify-self: start; }
.pv-status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pv-status-ok { background: #ECFDF5; color: #15803D; }
.pv-status-warn { background: #FEF3C7; color: #B45309; }
.pv-status-info { background: var(--c-accent-soft); color: #1D4ED8; }
.pv-status-draft { background: #F1F5F9; color: var(--c-mute); }
.pv-more { color: var(--c-mute); justify-self: end; font-size: 14px; }

/* ===== Features ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-accent-soft); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--c-surface); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; border: 1px solid var(--c-line);
}
.feature-card h3 { font-size: 17px; margin: 0 0 10px; font-weight: 700; line-height: 1.5; }
.feature-card p { font-size: 13.5px; color: var(--c-mute); margin: 0; line-height: 1.75; }

/* ===== Security ===== */
.security-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.security-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 32px; }
.security-list li { padding-left: 18px; border-left: 2px solid var(--c-accent-2); }
.security-list h4 { font-size: 15px; margin: 0 0 6px; color: #fff; font-weight: 700; }
.security-list p { font-size: 13px; color: rgba(255,255,255,0.72); margin: 0; line-height: 1.7; }

.security-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.shield { width: 240px; filter: drop-shadow(0 20px 40px rgba(59,130,246,0.4)); }
.security-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sec-tag {
  font-family: var(--font-en); font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact-info { margin: 32px 0 0; display: flex; flex-direction: column; gap: 18px; }
.contact-info > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--c-line); }
.contact-info dt { font-size: 12px; color: var(--c-mute); font-weight: 600; letter-spacing: 0.04em; padding-top: 2px; }
.contact-info dd { margin: 0; font-size: 14px; color: var(--c-ink); line-height: 1.8; }
.contact-info dd a { color: var(--c-accent); font-family: var(--font-en); font-weight: 600; }
.contact-info-meta { display: inline-block; margin-left: 10px; font-size: 12px; color: var(--c-mute); }
.addr-label {
  display: inline-block; min-width: 88px; font-size: 11px; font-weight: 700;
  color: var(--c-accent); margin-right: 8px;
  padding: 2px 8px; background: var(--c-accent-soft); border-radius: 4px;
}

.contact-form {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 32px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 12.5px; font-weight: 600; color: var(--c-ink-2); }
.form-label em {
  font-style: normal; font-size: 10.5px; font-weight: 700;
  color: var(--c-danger); margin-left: 6px;
  padding: 1px 6px; background: #FEE2E2; border-radius: 4px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit; font-size: 14px; color: var(--c-ink);
  padding: 11px 14px; border: 1px solid var(--c-line-2); border-radius: var(--r-md);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.16);
}
.contact-form textarea { resize: vertical; min-height: 100px; }

.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--c-ink-2); }
.form-check input { width: auto; margin-top: 4px; accent-color: var(--c-accent); }
.form-check a { color: var(--c-accent); text-decoration: underline; }
.form-note { font-size: 12px; color: var(--c-mute); margin: 0; line-height: 1.7; }

.form-success {
  display: flex; gap: 12px; align-items: center;
  background: #ECFDF5; border: 1px solid #BBF7D0; border-radius: var(--r-md);
  padding: 14px 16px;
}
.form-success strong { display: block; font-size: 14px; color: #166534; }
.form-success span { font-size: 12.5px; color: #15803D; }

/* ===== Footer ===== */
.site-footer { background: var(--c-ink); color: rgba(255,255,255,0.78); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 64px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-ai { color: var(--c-accent-2); }
.footer-brand .brand-sub { color: rgba(255,255,255,0.5); }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.6); margin: 18px 0 0; max-width: 320px; line-height: 1.8; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h5 { color: #fff; font-size: 13px; margin: 0 0 16px; font-weight: 700; letter-spacing: 0.04em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 13px; }
.footer-col a:hover { color: var(--c-accent-2); }
.footer-bottom { padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero { padding: 64px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: auto; max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-tag-1 { left: 0; }
  .hero-tag-2 { right: 0; }
  .section { padding: 72px 0; }
  .issue-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-inner, .security-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .security-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-cta { display: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .issue-grid, .feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .contact-info > div { grid-template-columns: 1fr; gap: 4px; }
  .visual-tag-1 { left: 0; }
  .visual-tag-2 { right: 0; }
}
