/* =============================================
 * 業務改善コンサルティング (PotentialX) LP — Styles
 * カラー: 黒 #000000 + 白 #ffffff + アクセント #006eff
 * フォント: Noto Sans JP + DM Sans + Shippori Mincho B1
 * トーン: 信頼感ある toB、alphadrive 風
 * ============================================= */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Tokens --- */
:root {
  --color-bg: #ffffff;
  --color-text: #000000;
  --color-text-muted: #6b7280;
  --color-accent: #006eff;
  --color-accent-hover: #0056cc;
  --color-accent-light: rgba(0, 110, 255, 0.06);
  --color-border: #e5e7eb;
  --color-section-bg: #fafafa;

  --font-ja: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-en: "DM Sans", system-ui, sans-serif;
  --font-display: "Shippori Mincho B1", "Noto Serif JP", serif;

  --fs-h1: clamp(2rem, 5vw, 3.75rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3: clamp(1.125rem, 2vw, 1.375rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  --max-width: 1200px;
  --section-py: clamp(72px, 9vw, 112px);
  --content-px: clamp(20px, 5vw, 40px);

  --radius: 6px;
  --transition: 200ms ease;
}

/* --- Base --- */
body {
  font-family: var(--font-ja);
  font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--content-px);
  padding-right: var(--content-px);
}

/* English label (英日並置 H2 の英語側) */
.h2-en {
  font-family: var(--font-en);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
  display: block;
}

h2.section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.section-lead {
  font-size: var(--fs-h3);
  font-weight: 400;
  margin-top: 16px;
  color: var(--color-text);
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}
.btn-outline {
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 10px 20px;
  font-size: var(--fs-small);
}
/* 黄色 CTA (利益改善相談、2026-05-25) — ヘッダー / フォーム送信ボタン用 */
.btn-cta {
  background: #ffff00;
  color: #000;
  font-weight: 800;
  box-shadow: 0 4px 0 #c7c700, 0 4px 10px rgba(255, 255, 0, 0.22);
  transition: transform 0.12s, box-shadow 0.12s, background-color 0.12s;
}
.btn-cta:hover {
  background: #ffff00;
  transform: translateY(2px);
  box-shadow: 0 2px 0 #c7c700, 0 2px 6px rgba(255, 255, 0, 0.18);
}
.btn-cta:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #c7c700;
}

/* CTA group with emphasis copy */
.cta-group {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cta-emphasis {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  font-weight: 400;
}

/* --- Header --- */
.lp-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}
.lp-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.0625rem;
  height: 48px;
}
.logo img {
  height: 100%;
  width: auto;
  display: block;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.footer-brand .logo { height: 48px; }
.header-nav { display: flex; gap: 24px; }
.header-nav a {
  font-size: var(--fs-small);
  color: var(--color-text);
  transition: color var(--transition);
}
.header-nav a:hover { color: var(--color-accent); }

/* --- FV (Box-style hero) --- */
.fv {
  position: relative;
  padding: 64px 0 52px;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 480px;
}
.fv::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);
  z-index: 0;
}
.fv .container {
  position: relative;
  z-index: 1;
}
.fv-inner {
  display: flex;
  gap: 56px;
  align-items: center;
}
.fv-left { flex: 1; min-width: 0; }
.fv-right { flex: 0 0 340px; }

/* 2-line label-style headline */
.fv-h1-wrap {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.fv-h1-line {
  display: inline-block;
  font-size: clamp(1.05rem, 1.8vw, 1.6rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
  padding: 9px 15px;
  border-radius: 10px;
  white-space: nowrap;
}
.fv-h1-d1 { background: #ffffff; color: #000000; }
.fv-h1-d2 { background: var(--color-accent); color: #ffffff; }
/* FV 第2行: コンセプト「業務改善コンサルティング」(.fv-h1-d2 アクセントピルを再利用) */

/* mobile-only forced line breaks (hidden on desktop/tablet) */
.break-sm { display: none; }

.fv-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
  line-height: 1.8;
  font-weight: 500;
}
.fv-lead strong { color: #ffffff; font-weight: 800; }

/* 3 つの丸要素 (CTA 上、コンパクト化) */
.fv-features {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.fv-feature {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 4px 12px 4px 4px;
  border-radius: 100px;
  line-height: 1;
}
.fv-feature-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-accent);
  font-weight: 800;
  font-family: var(--font-en);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.fv-feature-text {
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.fv-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.fv-cta-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fv-cta-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
/* Box CTA labels on dark/blue backgrounds */
.fv .fv-cta-label,
.final-cta .fv-cta-label {
  color: rgba(255, 255, 255, 0.95);
}

/* Box-style buttons (yellow primary + white secondary, pill, 立体感) */
.btn-box-primary,
.btn-box-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: 60px;
  transition: all 0.15s;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  min-width: 260px;
  box-sizing: border-box;
}
.btn-box-primary {
  background: #ffff00;
  color: #000;
  font-weight: 800;
  font-size: 1.18rem;
  padding: 10px 32px;
  box-shadow: 0 6px 0 #c7c700, 0 6px 20px rgba(255, 255, 0, 0.25);
  position: relative;
  overflow: hidden;
  animation: btn-pulse 2.2s ease-in-out infinite;
}
/* CTA シャイン: 定期的に光が走るアニメ (2026-05-25) */
.btn-box-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: btn-shine 3.2s ease-in-out infinite;
}
@keyframes btn-shine {
  0%   { left: -75%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}
/* CTA パルス: 大小に伸縮 (2026-05-25) */
@keyframes btn-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
.btn-box-primary:hover {
  background: #ffff00;
  transform: translateY(2px);
  box-shadow: 0 3px 0 #c7c700, 0 3px 12px rgba(255, 255, 0, 0.2);
  animation: none;
}
.btn-box-primary:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #c7c700;
}
.btn-box-secondary {
  background: #ffffff;
  color: #1a1a2e;
  font-weight: 700;
  box-shadow: 0 6px 0 #ccc, 0 6px 20px rgba(0, 0, 0, 0.08);
}
.btn-box-secondary:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #ccc, 0 3px 12px rgba(0, 0, 0, 0.06);
}
.btn-box-secondary:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #ccc;
}

/* =========================================================================
   FV right — Relay: human ↔ AI robot baton handoff (現行版)
   ========================================================================= */
.fv-relay {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 20px 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* FV orbit — AI 社員を中心に事務タスク (絵文字) が周回 (Solution 風、2026-05-25) */
.fv-orbit-stage {
  position: relative;
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fv-orbit-center { position: relative; z-index: 2; }
.fv-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  z-index: 1;
  pointer-events: none;
}
.fv-orbit-item {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  background: #ffffff;
  border: 1px solid rgba(0, 110, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(0, 110, 255, 0.14);
  animation: fv-orbit 16s linear infinite;
}
.fv-orbit-item.o1 { animation-delay: 0s; }
.fv-orbit-item.o2 { animation-delay: -2.6s; }
.fv-orbit-item.o3 { animation-delay: -5.3s; }
.fv-orbit-item.o4 { animation-delay: -8s; }
.fv-orbit-item.o5 { animation-delay: -10.6s; }
.fv-orbit-item.o6 { animation-delay: -13.3s; }
@keyframes fv-orbit {
  from { transform: rotate(0deg) translateX(98px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(98px) rotate(-360deg); }
}

.fv-relay-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: 300px;
  padding-top: 20px;
}
.fv-relay-char {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  flex-shrink: 0;
}
.fv-relay-char .char-head {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #1a1a2e;
  margin-bottom: 6px;
  position: relative;
}
.fv-relay-char .char-body {
  width: 62px;
  height: 72px;
  background: #1a1a2e;
  border-radius: 30px 30px 8px 8px;
  position: relative;
}
.fv-relay-char .char-label {
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4a4a4f;
  letter-spacing: 0.04em;
}
/* Outstretched arm holding the baton */
.fv-relay-char .char-arm {
  position: absolute;
  top: 20px;
  width: 30px;
  height: 8px;
  background: #1a1a2e;
  border-radius: 4px;
}
.fv-relay-char .char-arm-r {
  right: -18px;
  transform: rotate(-8deg);
}
.fv-relay-char .char-arm-l {
  left: -18px;
  transform: rotate(8deg);
}

/* Robot-specific styling */
.fv-relay-ai .char-head {
  background: var(--color-accent);
  border-radius: 12px;
}
.fv-relay-ai .ai-antenna {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5px;
  height: 10px;
  background: var(--color-accent);
}
.fv-relay-ai .ai-antenna::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 110, 255, 0.7);
  animation: ai-blink 2s ease-in-out infinite;
}
.fv-relay-ai .ai-eyes {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 5px;
  background:
    radial-gradient(circle at 4px 50%, #ffffff 2.5px, transparent 3px),
    radial-gradient(circle at 22px 50%, #ffffff 2.5px, transparent 3px);
}
.fv-relay-ai .char-body {
  background: var(--color-accent);
  border-radius: 10px 10px 6px 6px;
}
.fv-relay-ai .ai-screen {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 22px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  /* signal bars inside */
  background-image:
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff);
  background-size: 4px 8px, 4px 12px, 4px 16px;
  background-repeat: no-repeat;
  background-position: 6px bottom, 14px bottom, 22px bottom;
  background-color: rgba(255, 255, 255, 0.18);
}
.fv-relay-ai .char-arm-l {
  background: var(--color-accent);
}
.fv-relay-ai .char-label {
  color: var(--color-accent);
}

/* Task throw track: 3 task docs continuously fly from human → AI */
.fv-relay-track {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  pointer-events: none;
}
.fv-task-item {
  position: absolute;
  top: 50%;
  left: 0;
  width: 22px;
  height: 28px;
  margin-top: -14px;
  background: var(--color-accent);
  clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 0 100%);
  border-radius: 2px;
  filter: drop-shadow(0 4px 8px rgba(0, 110, 255, 0.35));
  animation: task-throw 3s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  opacity: 0;
}
/* Inner lines on the doc using ::after via background */
.fv-task-item::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 4px;
  right: 6px;
  height: 12px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)) 0 0 / 100% 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)) 0 5px / 100% 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)) 0 10px / 70% 2px no-repeat;
}
.fv-task-item-1 { animation-delay: 0s;   }
.fv-task-item-2 { animation-delay: 1s;   }
.fv-task-item-3 { animation-delay: 2s;   }

@keyframes task-throw {
  0%   { transform: translateX(0)    translateY(0)   rotate(-15deg); opacity: 0;   }
  12%  { transform: translateX(20px) translateY(-4px) rotate(0deg);   opacity: 1;   }
  50%  { transform: translateX(95px) translateY(-12px) rotate(180deg); opacity: 1;  }
  85%  { transform: translateX(170px) translateY(-2px) rotate(340deg); opacity: 1;  }
  100% { transform: translateX(190px) translateY(2px)  rotate(360deg); opacity: 0;  }
}

/* Static direction arrow underneath (subtle hint) */
.fv-task-arrow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right,
    rgba(0, 110, 255, 0.1) 0%,
    rgba(0, 110, 255, 0.4) 50%,
    rgba(0, 110, 255, 0.1) 100%);
}
.fv-task-arrow::after {
  /* arrowhead at right end */
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid rgba(0, 110, 255, 0.5);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
@keyframes ai-blink {
  0%, 90%, 100% { opacity: 1; }
  93% { opacity: 0.3; }
}

/* Caption */
.fv-relay-caption {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: 0.02em;
  text-align: center;
}
.fv-relay-caption .caption-accent {
  color: var(--color-accent);
}

/* =========================================================================
   FV right — Chat mockup + business task grid (legacy, unused)
   ========================================================================= */

/* Chat mockup card (Chatwork-style) */
.fv-mockup {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  margin-bottom: 20px;
}
.fv-mockup-header {
  background: #f5f5f7;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e8e8ec;
}
.fv-mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fv-mockup-dot-r { background: #ff5f57; }
.fv-mockup-dot-y { background: #febc2e; }
.fv-mockup-dot-g { background: #28c840; }
.fv-mockup-title {
  margin-left: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4a4a4f;
  letter-spacing: 0.02em;
}
.fv-mockup-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
}

/* Chat message rows */
.fv-msg {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.fv-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0;
}
.fv-msg-avatar-user { background: #6b7280; }
.fv-msg-avatar-ai { background: var(--color-accent); font-family: var(--font-en); }
.fv-msg-content { flex: 1; min-width: 0; }
.fv-msg-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: #4a4a4f;
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}
.fv-msg-bubble {
  display: inline-block;
  background: #f3f4f6;
  color: #1f2937;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.5;
  font-weight: 500;
}
.fv-msg-ai .fv-msg-bubble {
  background: rgba(0, 110, 255, 0.08);
  color: #0d3a8a;
}
.fv-msg-bubble-done {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fv-msg-bubble-done::before {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 2.5px solid #16a34a;
  border-bottom: 2.5px solid #16a34a;
  transform: rotate(-45deg) translate(1px, -2px);
  flex-shrink: 0;
}

/* Use case task grid (under mockup, on FV black bg) */
.fv-tasks-wrap { margin-top: 4px; }
.fv-tasks-heading {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 10px;
}
.fv-tasks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.fv-task {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 12px 4px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.fv-task:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}
.fv-task-icon {
  width: 28px;
  height: 28px;
  position: relative;
  flex-shrink: 0;
}
.fv-task-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* CSS-only task icons */
.fv-task-icon-mail::before {
  content: "";
  position: absolute;
  inset: 5px 3px;
  border: 2px solid var(--color-accent);
  border-radius: 2px;
  background: transparent;
}
.fv-task-icon-mail::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 8px solid var(--color-accent);
}
.fv-task-icon-cal::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 4px;
  right: 4px;
  bottom: 3px;
  border: 2px solid var(--color-accent);
  border-radius: 2px;
}
.fv-task-icon-cal::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 6px;
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) left top / 2.5px 6px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) right top / 2.5px 6px no-repeat;
}
.fv-task-icon-doc::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 16px;
  height: 22px;
  background: var(--color-accent);
  clip-path: polygon(0 0, 75% 0, 100% 22%, 100% 100%, 0 100%);
}
.fv-task-icon-doc::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 9px;
  width: 10px;
  height: 9px;
  background:
    linear-gradient(#ffffff, #ffffff) 0 0 / 100% 1.5px no-repeat,
    linear-gradient(#ffffff, #ffffff) 0 4px / 100% 1.5px no-repeat,
    linear-gradient(#ffffff, #ffffff) 0 8px / 70% 1.5px no-repeat;
}
.fv-task-icon-data::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid var(--color-accent);
  border-radius: 2px;
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) center / 1.5px 100% no-repeat;
}
.fv-task-icon-split::before {
  /* Trunk (vertical line) */
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  width: 2.5px;
  height: 10px;
  background: var(--color-accent);
  transform: translateX(-50%);
  border-radius: 2px;
}
.fv-task-icon-split::after {
  /* Two branches forming Y shape */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 18px;
  height: 12px;
  transform: translateX(-50%);
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) left bottom / 2.5px 12px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) right bottom / 2.5px 12px no-repeat,
    linear-gradient(45deg, transparent 47%, var(--color-accent) 47%, var(--color-accent) 53%, transparent 53%) center top / 100% 2.5px no-repeat,
    linear-gradient(-45deg, transparent 47%, var(--color-accent) 47%, var(--color-accent) 53%, transparent 53%) center top / 100% 2.5px no-repeat;
}
.fv-task-icon-report::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 18px;
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) left bottom / 4px 10px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) center bottom / 4px 14px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) right bottom / 4px 18px no-repeat;
}
.fv-task-icon-report::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 4px;
  width: 7px;
  height: 7px;
  border-top: 2.5px solid var(--color-accent);
  border-right: 2.5px solid var(--color-accent);
  transform: rotate(45deg);
}

/* FV right — animation (legacy, unused as of mockup version) */
.fv-animation {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  max-width: 440px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  min-height: 260px;
  position: relative;
}

.character {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  flex-shrink: 0;
}
.character .head {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1a1a2e;
  margin-bottom: 4px;
  position: relative;
}
.character .body {
  width: 66px;
  height: 88px;
  background: #1a1a2e;
  border-radius: 33px 33px 6px 6px;
  position: relative;
}
.character .body::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
}
.character .label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* AI 社員 — FV と同じロボット (頭=角丸スクエア+アンテナ+目、胴=スクリーン) */
.character.ai .head {
  background: var(--color-accent);
  border-radius: 12px;
}
.character.ai .head::after { content: none; }
.character.ai .ai-antenna {
  position: absolute;
  top: -11px; left: 50%; transform: translateX(-50%);
  width: 2.5px; height: 11px;
  background: var(--color-accent);
}
.character.ai .ai-antenna::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(0, 110, 255, 0.7);
  animation: ai-blink 2s ease-in-out infinite;
}
.character.ai .ai-eyes {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 24px; height: 5px;
  background:
    radial-gradient(circle at 4px 50%, #ffffff 2.5px, transparent 3px),
    radial-gradient(circle at 20px 50%, #ffffff 2.5px, transparent 3px);
}
.character.ai .body {
  width: 62px; height: 74px;
  background: var(--color-accent);
  border-radius: 14px 14px 6px 6px;
}
.character.ai .body::before { content: none; }
.character.ai .ai-screen {
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 22px; border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.18);
  background-image:
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff);
  background-size: 4px 8px, 4px 13px, 4px 18px;
  background-repeat: no-repeat;
  background-position: 7px bottom, 15px bottom, 23px bottom;
}
.character.ai .label { color: var(--color-accent); }

@keyframes ai-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 110, 255, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(0, 110, 255, 0); }
}
@keyframes ai-eye {
  0%, 90%, 100% { transform: translateX(-50%) scaleY(1); }
  95% { transform: translateX(-50%) scaleY(0.1); }
}

/* Docs flying between human and AI */
.docs {
  position: relative;
  flex: 1;
  height: 140px;
  margin: 0 4px;
  align-self: center;
}
.arrow-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,110,255,0.3) 20%, rgba(0,110,255,0.3) 80%, transparent);
  transform: translateY(-50%);
}

.doc {
  width: 32px;
  height: 44px;
  background: #ffffff;
  border: 1.5px solid #d0d4da;
  border-radius: 4px;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -22px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: rotate(0deg);
}
.doc::before, .doc::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  background: #d0d4da;
  border-radius: 1px;
}
.doc::before { top: 8px; }
.doc::after { top: 14px; box-shadow: 0 4px 0 #d0d4da, 0 8px 0 #d0d4da; }

.doc-1 { animation: doc-flow 4.5s ease-in-out infinite; }
.doc-2 { animation: doc-flow 4.5s ease-in-out infinite 1.5s; }
.doc-3 { animation: doc-flow 4.5s ease-in-out infinite 3s; }

@keyframes doc-flow {
  0%   { left: 0;
         transform: rotate(-4deg);
         opacity: 0;
         background: #ffffff;
         border-color: #d0d4da; }
  12%  { opacity: 1; }
  45%  { left: calc(100% - 32px);
         transform: rotate(0deg);
         opacity: 1;
         background: #ffffff;
         border-color: #d0d4da; }
  55%  { left: calc(100% - 32px);
         transform: rotate(2deg) translateY(-2px);
         background: #e6f0ff;
         border-color: var(--color-accent); }
  85%  { left: calc(100% - 32px);
         transform: rotate(3deg) translateY(-4px);
         opacity: 1;
         background: #ffffff;
         border-color: #d0d4da; }
  100% { left: calc(100% - 32px);
         transform: rotate(3deg) translateY(-4px);
         opacity: 0;
         background: #ffffff;
         border-color: #d0d4da; }
}

/* --- Sections --- */
.section {
  padding: var(--section-py) 0;
}
.section-alt { background: var(--color-section-bg); }
.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

/* --- Problem / Solution / Benefit (3-col cards) --- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color var(--transition);
}
.card:hover { border-color: var(--color-accent); }
.card-num {
  display: inline-block;
  font-family: var(--font-en);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.card-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}
.card-body {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* Section main copy (sub-headline under H2) */
.section-main-copy {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  text-align: center;
  margin: 32px auto 64px;
  max-width: 720px;
  line-height: 1.6;
}
.section-main-copy .accent { color: var(--color-accent); }


/* --- Solution scene (協働アニメーション・全体) --- */
.solution-scene {
  position: relative;
  margin: 32px auto 80px;
  max-width: 960px;
  background: linear-gradient(135deg, #f4f7fc 0%, #ffffff 70%);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  padding: 56px 32px 48px;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  min-height: 360px;
}
.scene-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.scene-character { position: relative; }
.scene-label {
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
  margin-top: 12px;
}
.scene-label span {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 4px;
}
.scene-label.ai-label { color: var(--color-accent); }

/* 思考バブル */
.thought-bubble {
  position: relative;
  background: #ffffff;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bubble-float 2.5s ease-in-out infinite;
  margin-bottom: 24px;
}
.thought-bubble::before,
.thought-bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  background: #ffffff;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
}
.thought-bubble::before { bottom: -10px; margin-left: -4px; width: 8px; height: 8px; }
.thought-bubble::after { bottom: -20px; margin-left: -2px; width: 5px; height: 5px; }
.bulb {
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: bulb-glow 1.5s ease-in-out infinite;
}
@keyframes bubble-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
@keyframes bulb-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 110, 255, 0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(0, 110, 255, 0); }
}

/* 中央: タスクのやり取り */
.scene-flow {
  height: 100%;
  justify-content: center;
  gap: 56px;
}
.flow-track {
  position: relative;
  width: 100%;
  height: 32px;
}
.flow-track::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,110,255,0.2) 15%, rgba(0,110,255,0.2) 85%, transparent 100%);
}
.flow-label {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.flow-up .flow-label {
  top: auto;
  bottom: -18px;
  color: var(--color-accent);
}
.task-icon {
  position: absolute;
  top: 0;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #ffffff;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  opacity: 0;
  z-index: 1;
}
.t-down { animation: task-go-right 5s ease-in-out infinite; }
.t-down-1 { animation-delay: 0s; }
.t-down-2 { animation-delay: 1.6s; }
.t-down-3 { animation-delay: 3.2s; }
@keyframes task-go-right {
  0%   { opacity: 0; left: 0; }
  10%  { opacity: 1; left: 5%; }
  50%  { opacity: 1; left: calc(100% - 32px); }
  60%  { opacity: 0; left: calc(100% - 32px); }
  100% { opacity: 0; left: calc(100% - 32px); }
}
.t-up {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  font-weight: 800;
  font-size: 0.85rem;
  animation: task-go-left 5s ease-in-out infinite;
}
.t-up-1 { animation-delay: 2.5s; }
.t-up-2 { animation-delay: 4.5s; }
@keyframes task-go-left {
  0%   { opacity: 0; left: calc(100% - 32px); }
  10%  { opacity: 1; left: calc(95% - 32px); }
  50%  { opacity: 1; left: 0; }
  60%  { opacity: 0; left: 0; }
  100% { opacity: 0; left: 0; }
}

/* AI 周辺ツール (orbit) */
.scene-ai { padding: 24px 0; }
.orbit-tools {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -90px;
  margin-left: -90px;
  width: 180px;
  height: 180px;
  pointer-events: none;
  z-index: 0;
}
.orbit-tool {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -16px;
  margin-left: -16px;
  font-size: 0.92rem;
  background: #ffffff;
  border: 1px solid rgba(0, 110, 255, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 110, 255, 0.08);
  animation: orbit 14s linear infinite;
}
.orbit-tool.t1 { animation-delay: 0s; }
.orbit-tool.t2 { animation-delay: -2.3s; }
.orbit-tool.t3 { animation-delay: -4.6s; }
.orbit-tool.t4 { animation-delay: -7s; }
.orbit-tool.t5 { animation-delay: -9.3s; }
.orbit-tool.t6 { animation-delay: -11.6s; }
@keyframes orbit {
  from { transform: rotate(0deg) translateX(80px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}

/* prefers-reduced-motion 対応 */
@media (prefers-reduced-motion: reduce) {
  .thought-bubble, .bulb, .task-icon, .orbit-tool, .fv-orbit-item, .doc { animation: none; }
  .btn-box-primary, .btn-box-primary::after { animation: none; }
  .card-illus .scene span, .card-illus .scene i { animation: none; }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .solution-scene {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
    padding: 40px 24px;
  }
  .scene-flow { gap: 40px; }
  .flow-track { height: 40px; }
  .orbit-tools { margin-top: -75px; margin-left: -75px; width: 150px; height: 150px; }
}

/* --- Benefit (special: keyword + body) --- */
.benefit-card { padding: 48px 32px; text-align: left; }
.benefit-keyword {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
  line-height: 1;
}
.benefit-subtitle {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.benefit-body { font-size: 0.9375rem; line-height: 1.8; color: var(--color-text-muted); }

/* === Card illustrations (Benefit / Why us): 具体イラスト + リッチアニメ。
 *     カード下部中央・大きめ横長・6 枚で世界観を統一 === */
.cards-3 .card { display: flex; flex-direction: column; }
.cards-3 .benefit-body,
.cards-3 .card-body { margin-bottom: 26px; }

.card-illus {
  margin-top: auto;
  position: relative;
  width: 100%;
  height: 124px;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 4%, rgba(0,110,255,.04), rgba(0,110,255,.13));
}
.card-illus::before {                 /* 床 / baseline */
  content: ""; position: absolute;
  left: 18px; right: 18px; bottom: 24px;
  height: 2px; border-radius: 2px;
  background: rgba(0,110,255,.16);
}
.card-illus .scene {
  position: absolute; left: 50%; bottom: 0;
  width: 220px; height: 100%;
  transform: translateX(-50%);
}
.card-illus .scene span,
.card-illus .scene i { position: absolute; display: block; }

/* 共通: 人物キャラ (Benefit03 + Whyus02 で共用、統一感) */
.person { width: 30px; height: 34px; bottom: 24px; border-radius: 13px 13px 7px 7px; background: var(--color-accent); }
.person::before { content: ""; position: absolute; width: 21px; height: 21px; border-radius: 50%; background: #bcd6ff; left: 50%; top: -25px; transform: translateX(-50%); }
.person .arm { width: 6px; height: 16px; border-radius: 3px; background: rgba(0,110,255,.85); }

/* --- Benefit 01: コストのグラフが下がる / Benefit 02: 売上のグラフが上がる --- */
.s-down .bar, .s-up .bar {
  width: 26px; bottom: 24px; border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, rgba(0,110,255,.9), rgba(0,110,255,.45));
  transform-origin: bottom; animation: il-bar 2.6s ease-in-out infinite;
}
.s-down .d1 { left: 18px;  height: 62px; }
.s-down .d2 { left: 60px;  height: 48px; animation-delay: .12s; }
.s-down .d3 { left: 102px; height: 34px; animation-delay: .24s; }
.s-down .d4 { left: 144px; height: 22px; animation-delay: .36s; }
.s-up .u1 { left: 18px;  height: 22px; }
.s-up .u2 { left: 60px;  height: 34px; animation-delay: .12s; }
.s-up .u3 { left: 102px; height: 48px; animation-delay: .24s; }
.s-up .u4 { left: 144px; height: 62px; animation-delay: .36s; }
@keyframes il-bar { 0%,100% { transform: scaleY(.84); } 50% { transform: scaleY(1); } }

.s-down .trend, .s-up .trend {
  width: 150px; height: 4px; left: 35px; border-radius: 3px;
  background: var(--color-accent); transform-origin: left center;
}
.s-down .trend { top: 38px; transform: rotate(17deg);  animation: il-draw-down 2.8s ease-in-out infinite; }
.s-up   .trend { top: 80px; transform: rotate(-17deg); animation: il-draw-up   2.8s ease-in-out infinite; }
@keyframes il-draw-down {
  0% { transform: rotate(17deg) scaleX(0); opacity: .25; }
  16% { opacity: 1; }
  50%,86% { transform: rotate(17deg) scaleX(1); opacity: 1; }
  100% { transform: rotate(17deg) scaleX(1); opacity: 0; }
}
@keyframes il-draw-up {
  0% { transform: rotate(-17deg) scaleX(0); opacity: .25; }
  16% { opacity: 1; }
  50%,86% { transform: rotate(-17deg) scaleX(1); opacity: 1; }
  100% { transform: rotate(-17deg) scaleX(1); opacity: 0; }
}
.s-down .head, .s-up .head {
  width: 0; height: 0; right: 28px;
  border-left: 7px solid transparent; border-right: 7px solid transparent;
  animation: il-pop 2.8s ease-in-out infinite;
}
.s-down .head { top: 74px; border-top: 11px solid var(--color-accent); }
.s-up   .head { top: 28px; border-bottom: 11px solid var(--color-accent); }
@keyframes il-pop { 0%,40% { opacity: 0; transform: scale(.3); } 58%,88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.s-down .tag, .s-up .tag {
  font-family: var(--font-en); font-weight: 700; font-size: 12px;
  color: var(--color-accent); background: #fff;
  border: 1.5px solid rgba(0,110,255,.4); border-radius: 6px;
  padding: 0 6px; line-height: 18px;
}
.s-down .tag { left: 14px; top: 14px; }
.s-up   .tag { left: 14px; bottom: 30px; }

/* --- Benefit 03: 経営者・社員が喜ぶ --- */
.s-joy .person { animation: il-jump 1.5s ease-in-out infinite; }
.s-joy .p-left  { left: 64px; }
.s-joy .p-right { left: 124px; background: rgba(0,110,255,.7); animation-delay: .22s; }
.s-joy .p-left::after {              /* ネクタイ (経営者) */
  content: ""; position: absolute; width: 6px; height: 11px; background: #fff;
  left: 50%; top: 3px; transform: translateX(-50%);
  clip-path: polygon(50% 0, 100% 28%, 50% 100%, 0 28%);
}
.s-joy .arm { top: -13px; transform-origin: bottom center; }
.s-joy .la { left: -1px; animation: il-arm-l 1.5s ease-in-out infinite; }
.s-joy .ra { right: -1px; animation: il-arm-r 1.5s ease-in-out infinite; }
.s-joy .p-right .la, .s-joy .p-right .ra { animation-delay: .22s; }
@keyframes il-jump { 0%,100% { transform: translateY(0); } 38% { transform: translateY(-11px); } 60% { transform: translateY(0); } }
@keyframes il-arm-l { 0%,100% { transform: rotate(-28deg); } 38% { transform: rotate(-50deg); } }
@keyframes il-arm-r { 0%,100% { transform: rotate(28deg); } 38% { transform: rotate(50deg); } }
.s-joy .confetti { width: 7px; height: 7px; border-radius: 2px; }
.s-joy .c1 { left: 48px;  top: 12px; background: var(--color-accent);   animation: il-fall 1.7s ease-in infinite; }
.s-joy .c2 { left: 106px; top: 6px;  background: rgba(0,110,255,.5);     animation: il-fall 1.7s ease-in .35s infinite; }
.s-joy .c3 { left: 162px; top: 14px; background: rgba(0,110,255,.8);     animation: il-fall 1.7s ease-in .7s infinite; }
@keyframes il-fall { 0% { transform: translateY(-4px) rotate(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(50px) rotate(200deg); opacity: 0; } }
.s-joy .spark {
  width: 11px; height: 11px; background: var(--color-accent);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  animation: il-tw 1.6s ease-in-out infinite;
}
.s-joy .k1 { left: 40px; top: 42px; }
.s-joy .k2 { right: 34px; top: 30px; animation-delay: .5s; }
@keyframes il-tw { 0%,100% { transform: scale(.3); opacity: .25; } 50% { transform: scale(1); opacity: 1; } }

/* --- Why us 01: ポストイットでワークフローを整理 --- */
.s-notes .note {
  width: 42px; height: 42px; bottom: 36px; border-radius: 4px;
  background: rgba(0,110,255,.15); border: 1.5px solid rgba(0,110,255,.5);
}
.s-notes .note::before {
  content: ""; position: absolute; left: 8px; right: 8px; top: 10px; height: 3px;
  border-radius: 2px; background: rgba(0,110,255,.5);
  box-shadow: 0 9px 0 rgba(0,110,255,.34), 0 18px 0 rgba(0,110,255,.22);
}
.s-notes .n1 { left: 8px;   animation: il-note1 3.2s ease-in-out infinite; }
.s-notes .n2 { left: 89px;  animation: il-note2 3.2s ease-in-out infinite; }
.s-notes .n3 { left: 170px; animation: il-note3 3.2s ease-in-out infinite; }
@keyframes il-note1 { 0% { transform: translateY(9px) rotate(-9deg); opacity: .25; } 30%,100% { transform: none; opacity: 1; } }
@keyframes il-note2 { 0% { transform: translateY(-7px) rotate(7deg); opacity: .25; } 42%,100% { transform: none; opacity: 1; } }
@keyframes il-note3 { 0% { transform: translateY(11px) rotate(-6deg); opacity: .25; } 54%,100% { transform: none; opacity: 1; } }
.s-notes .arrow {
  width: 0; height: 0; bottom: 53px;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  border-left: 10px solid rgba(0,110,255,.65);
  animation: il-fadein 3.2s ease-in-out infinite;
}
.s-notes .a1 { left: 57px;  animation-delay: .35s; }
.s-notes .a2 { left: 138px; animation-delay: .55s; }
@keyframes il-fadein { 0%,32% { opacity: 0; } 56%,100% { opacity: 1; } }

/* --- Why us 02: 担当者が伴走して運用をサポート --- */
.s-support .person { left: 26px; animation: il-sway 1.9s ease-in-out infinite; }
.s-support .ra { right: -2px; top: -10px; height: 15px; transform-origin: bottom center; transform: rotate(28deg); animation: il-point 1.9s ease-in-out infinite; }
@keyframes il-sway { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes il-point { 0%,100% { transform: rotate(30deg); } 50% { transform: rotate(15deg); } }
.s-support .screen {
  width: 92px; height: 58px; right: 16px; bottom: 32px;
  border-radius: 8px; background: #fff; border: 2.5px solid var(--color-accent);
}
.s-support .screen::before {
  content: ""; position: absolute; width: 26px; height: 9px; border-radius: 0 0 4px 4px;
  background: var(--color-accent); left: 50%; bottom: -11px; transform: translateX(-50%);
}
.s-support .sbar { width: 13px; bottom: 9px; border-radius: 2px; background: var(--color-accent); transform-origin: bottom; animation: il-sbar 1.3s ease-in-out infinite; }
.s-support .b1 { left: 13px; height: 16px; }
.s-support .b2 { left: 35px; height: 28px; animation-delay: .18s; }
.s-support .b3 { left: 57px; height: 21px; animation-delay: .36s; }
@keyframes il-sbar { 0%,100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
.s-support .chk {
  width: 22px; height: 22px; border-radius: 50%; background: var(--color-accent);
  right: 52px; top: 6px; animation: il-popin 1.9s ease-in-out infinite;
}
.s-support .chk::before {
  content: ""; position: absolute; width: 9px; height: 5px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg); left: 6px; top: 7px;
}
@keyframes il-popin { 0%,28% { transform: scale(0); opacity: 0; } 48% { transform: scale(1.15); opacity: 1; } 64%,100% { transform: scale(1); opacity: 1; } }

/* --- Why us 03: プランを自由に選べる安心感 --- */
.s-choose .plan {
  width: 46px; height: 58px; bottom: 26px; padding-top: 28px;
  border-radius: 7px; background: #fff; border: 2px solid rgba(0,110,255,.35);
  color: var(--color-accent); font-family: var(--font-en); font-weight: 700; font-size: 15px;
  text-align: center;
}
.s-choose .plan::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px;
  border-radius: 5px 5px 0 0; background: rgba(0,110,255,.5);
}
.s-choose .pl1 { left: 20px;  animation: il-sel1 3.6s ease-in-out infinite; }
.s-choose .pl2 { left: 87px;  animation: il-sel2 3.6s ease-in-out infinite; }
.s-choose .pl3 { left: 154px; animation: il-sel3 3.6s ease-in-out infinite; }
@keyframes il-sel1 { 0%,12% { transform: translateY(-9px); } 24%,100% { transform: translateY(0); } }
@keyframes il-sel2 { 0%,28% { transform: translateY(0); } 33%,45% { transform: translateY(-9px); } 57%,100% { transform: translateY(0); } }
@keyframes il-sel3 { 0%,60% { transform: translateY(0); } 66%,78% { transform: translateY(-9px); } 90%,100% { transform: translateY(0); } }
.s-choose .pick {
  width: 22px; height: 22px; border-radius: 50%; background: var(--color-accent);
  top: 6px; left: 32px; z-index: 2; animation: il-pick 3.6s ease-in-out infinite;
}
.s-choose .pick::before {
  content: ""; position: absolute; width: 9px; height: 5px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg); left: 6px; top: 7px;
}
@keyframes il-pick {
  0%,12% { transform: translateX(0); }
  33%,45% { transform: translateX(67px); }
  66%,78% { transform: translateX(134px); }
  100% { transform: translateX(0); }
}

/* --- Why us + coverage --- */
/* --- Message section (代表メッセージ) --- */
.message-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.message-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.message-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  background: #ffffff;
}
.message-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.message-signature {
  text-align: center;
}
.message-signature strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.message-signature span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
/* SNS リンク (代表) */
.message-sns {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-top: 8px;
}
.sns-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.sns-link:hover {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.sns-link svg {
  width: 16px;
  height: 16px;
}
.sns-link.sns-note { padding: 0; overflow: hidden; }
.sns-link.sns-note svg { width: 28px; height: 28px; }

.message-body { padding-top: 8px; }
.message-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.message-body p {
  font-size: 1rem;
  line-height: 1.95;
  margin-bottom: 18px;
}
.message-body p:last-of-type { margin-bottom: 0; }
.message-accent {
  color: var(--color-accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .message-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .message-portrait {
    max-width: 220px;
    margin: 0 auto;
  }
  .message-h3 { text-align: center; }
}

/* --- Comparison Table --- */
.comparison-wrapper { overflow-x: auto; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.comparison-table th,
.comparison-table td {
  padding: 20px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
}
.comparison-table thead th {
  font-weight: 700;
  background: #ffffff;
}
.comparison-table th.col-ours,
.comparison-table td.col-ours {
  background: var(--color-accent-light);
  color: var(--color-text);
}
.comparison-table thead th.col-ours { color: var(--color-accent); }
.comparison-table tbody th { font-weight: 700; }
.mark { font-size: 1.125rem; font-weight: 700; margin-right: 4px; }
.mark-double { color: var(--color-accent); }
.mark-single { color: var(--color-text); }
.mark-tri { color: var(--color-text-muted); }
.mark-cross { color: #6b7280; }
.comparison-note {
  text-align: center;
  margin-top: 32px;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

/* --- Example cards (6) --- */
.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.example-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: border-color var(--transition), transform var(--transition);
}
.example-card:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.example-icon { font-size: 2rem; margin-bottom: 16px; }
.example-title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 20px; }
.example-block { margin-bottom: 16px; }
.example-block-label {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 8px;
  display: block;
}
.example-list li {
  font-size: 0.875rem;
  padding: 4px 0 4px 16px;
  position: relative;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.example-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 1px;
  background: var(--color-text-muted);
}
.example-note { text-align: center; margin-top: 48px; font-size: var(--fs-small); color: var(--color-text-muted); }

/* --- How to use (5 STEP timeline) --- */
.howto-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

/* 納品後の継続フェーズ (4 ステップの後に ↓ で接続、2026-05-25) */
.howto-after {
  max-width: 800px;
  margin: 8px auto 0;
}
.howto-after-arrow {
  text-align: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.howto-after-card {
  background: var(--color-accent-light);
  border: 1px solid rgba(0, 110, 255, 0.22);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.howto-after-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 8px;
}
.howto-after-body {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  position: relative;
  padding-bottom: 48px;
}
.step:last-child { padding-bottom: 0; }
.step-num-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
/* Inline step number used as a prefix inside step-title (e.g. "1 お問い合わせ") */
.step-num {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-right: 14px;
  letter-spacing: 0.02em;
  vertical-align: -1px;
}
.step:not(:last-child) .step-num-wrapper::after {
  content: "";
  position: absolute;
  top: 80px;
  bottom: -32px;
  width: 1px;
  background: var(--color-border);
}

/* CSS-drawn step icons (no emoji) */
.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--color-accent);
  position: relative;
  flex-shrink: 0;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover .step-icon {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 110, 255, 0.18);
}

/* Step 1: Form / document with input lines */
.step-icon-1::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 36px;
  background: var(--color-accent);
  clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 0 100%);
  border-radius: 2px;
}
.step-icon-1::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-55%);
  width: 14px;
  height: 14px;
  background:
    linear-gradient(#ffffff, #ffffff) left top / 100% 2px no-repeat,
    linear-gradient(#ffffff, #ffffff) left 6px / 100% 2px no-repeat,
    linear-gradient(#ffffff, #ffffff) left 12px / 70% 2px no-repeat;
}

/* Step 2: Speech bubble (single, with 3 dots inside) */
.step-icon-2::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 32px;
  background: var(--color-accent);
  border-radius: 10px 10px 10px 4px;
}
.step-icon-2::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 8px;
  background:
    radial-gradient(circle at 4px 50%, #ffffff 2.5px, transparent 3px),
    radial-gradient(circle at 14px 50%, #ffffff 2.5px, transparent 3px),
    radial-gradient(circle at 24px 50%, #ffffff 2.5px, transparent 3px);
}

/* Step 3: Lightbulb (idea / proposal) */
.step-icon-3::before {
  /* Bulb: circle */
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: var(--color-accent);
  border-radius: 50%;
}
.step-icon-3::after {
  /* Base with 2 white screw thread lines */
  content: "";
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background:
    linear-gradient(#ffffff, #ffffff) 0 5px / 100% 2px no-repeat,
    linear-gradient(#ffffff, #ffffff) 0 11px / 100% 2px no-repeat,
    var(--color-accent);
  border-radius: 0 0 4px 4px;
  clip-path: polygon(10% 0, 90% 0, 100% 70%, 75% 100%, 25% 100%, 0 70%);
}

/* Step 4: Code brackets < > (development) */
.step-icon-4::before {
  /* < chevron */
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 14px;
  height: 14px;
  border-top: 4px solid var(--color-accent);
  border-left: 4px solid var(--color-accent);
  transform: translateY(-50%) rotate(-45deg);
}
.step-icon-4::after {
  /* > chevron */
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 14px;
  height: 14px;
  border-top: 4px solid var(--color-accent);
  border-right: 4px solid var(--color-accent);
  transform: translateY(-50%) rotate(45deg);
}

/* Step 5: Shield with checkmark (delivery / maintenance / quality assurance) */
.step-icon-5::before {
  /* Shield shape */
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 44px;
  background: var(--color-accent);
  clip-path: polygon(50% 0, 100% 18%, 100% 60%, 50% 100%, 0 60%, 0 18%);
}
.step-icon-5::after {
  /* Checkmark (white) inside shield */
  content: "";
  position: absolute;
  top: 28px;
  left: 50%;
  width: 8px;
  height: 16px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: translateX(-65%) rotate(40deg);
}

.step-content { padding-top: 8px; }
.step-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 4px; }
.step-time { display: inline-block; font-size: var(--fs-micro); color: var(--color-accent); margin-bottom: 12px; font-family: var(--font-en); }
.step-body { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.8; }

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
}
.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-accent);
  transition: transform var(--transition);
}
.faq-icon::before { top: 11px; left: 0; right: 0; height: 2px; }
.faq-icon::after { left: 11px; top: 0; bottom: 0; width: 2px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }
.faq-answer {
  padding-bottom: 24px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary { list-style: none; }

/* --- Final CTA --- */
.final-cta {
  background: #000000;
  color: #ffffff;
  text-align: center;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}
.final-cta .section-lead { color: rgba(255, 255, 255, 0.92); margin-bottom: 48px; }
.final-cta .btn-primary { background: #ffffff; color: var(--color-accent); }
.final-cta .btn-primary:hover { background: rgba(255, 255, 255, 0.92); }
.final-cta .btn-outline { background: transparent; color: #ffffff; border-color: #ffffff; }
.final-cta .btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.final-cta .cta-emphasis { color: rgba(255, 255, 255, 0.85); }

/* --- Stream A banner --- */
.stream-a-banner {
  background: var(--color-section-bg);
  padding: 48px 0;
  text-align: center;
}
.stream-a-banner .badge {
  display: inline-block;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.stream-a-banner h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.stream-a-banner a { color: var(--color-accent); text-decoration: underline; font-size: var(--fs-small); }
.stream-a-banner a:hover { color: var(--color-accent-hover); }

/* --- Footer --- */
.lp-footer {
  padding: 64px 0 32px;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
  align-items: start;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-tagline { font-size: var(--fs-small); color: var(--color-text-muted); }
.footer-col h4 {
  font-size: var(--fs-small);
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-text); }
.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

/* --- Form modal --- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[aria-hidden="false"] { display: flex; }
.modal-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close { position: absolute; top: 16px; right: 16px; font-size: 1.5rem; line-height: 1; }
.modal-title { font-size: 1.375rem; font-weight: 700; margin-bottom: 8px; }
.modal-lead { font-size: var(--fs-small); color: var(--color-text-muted); margin-bottom: 24px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 700;
  margin-bottom: 6px;
}
.form-field label .required { color: var(--color-accent); margin-left: 4px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  background: #ffffff;
  transition: border-color var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form-submit { width: 100%; margin-top: 8px; }
.form-error {
  padding: 10px 14px;
  margin: 12px 0;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 4px;
  font-size: 0.875rem;
}
.form-error-ok {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}
.lp-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.lp-turnstile { margin: 16px 0; min-height: 65px; }
.lp-modal-wide { max-width: 560px; }
.lp-back-link {
  font-size: 0.82rem;
  color: var(--color-accent);
  text-decoration: none;
  margin-left: 8px;
}
.lp-back-link:hover { text-decoration: underline; }

/* プライバシーポリシー同意 (2026-05-25) */
.form-field-consent { margin: 4px 0 16px; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.6;
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--color-accent);
}
.consent-label a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* カレンダーステップ上部の「入力内容に戻る」導線 (2026-05-25) */
.lp-cal-topbar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.lp-cal-topbar .lp-back-link { margin-left: 0; }

/* --- LP Calendar UI (schedule modal) --- */
.lp-cal-widget {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 16px;
}
.lp-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.lp-cal-nav-btn {
  background: transparent;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: inherit;
  color: #374151;
}
.lp-cal-nav-btn:hover { background: #f3f4f6; }
.lp-cal-month-label {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}
.lp-cal-grid { margin-bottom: 16px; }
.lp-cal-weekday-headers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}
.lp-cal-weekday-h {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  padding: 4px 0;
}
.lp-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.lp-cal-day {
  aspect-ratio: 1;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: default;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 120ms ease;
}
.lp-cal-day-empty { background: transparent; border: none; }
.lp-cal-day-empty-day { background: #ffffff; color: #d1d5db; }
.lp-cal-day-past { background: #f9fafb; color: #d1d5db; }
.lp-cal-day-has-slot {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1e3a8a;
  font-weight: 600;
  cursor: pointer;
}
.lp-cal-day-has-slot:hover {
  background: var(--color-accent, #006eff);
  color: #ffffff;
  border-color: var(--color-accent, #006eff);
}
.lp-cal-day.selected {
  background: var(--color-accent, #006eff);
  color: #ffffff;
  border-color: var(--color-accent, #006eff);
}
.lp-cal-slots-wrap {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}
.lp-cal-slots-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 10px;
}
.lp-cal-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}
.lp-cal-slot {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  color: #111827;
  transition: all 120ms ease;
}
.lp-cal-slot:hover {
  background: var(--color-accent, #006eff);
  color: #ffffff;
  border-color: var(--color-accent, #006eff);
}
.lp-cal-loading {
  padding: 32px;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}
.lp-cal-error, .lp-cal-message {
  padding: 12px;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}
.lp-cal-error { color: #991b1b; }

/* --- Reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.in-view { opacity: 1; transform: none; }

/* --- Responsive --- */
@media (max-width: 960px) {
  .header-nav { display: none; }
  .fv { padding: 80px 0 100px; }
  .fv::before { width: 100%; clip-path: none; }
  .fv-inner { flex-direction: column; text-align: center; }
  .fv-right { flex: none; width: 100%; max-width: 440px; }
  .fv-h1-wrap { align-items: center; }
  .fv-cta { justify-content: center; }
  .cards-3 { grid-template-columns: 1fr; }
  .example-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-block { width: 100%; align-items: center; }
  .btn { width: 100%; }
  .fv { padding: 60px 0 80px; min-height: auto; }
  .fv-h1-line { font-size: 0.95rem; padding: 6px 12px; white-space: normal; }
  .fv-lead { font-size: 0.95rem; }
  .break-sm { display: inline; }
  .btn-box-primary, .btn-box-secondary { padding: 14px 28px; font-size: 0.95rem; }
  .fv-animation { padding: 24px 16px 16px; min-height: 220px; }
  .character { width: 60px; }
  .character .head { width: 34px; height: 34px; }
  .character .body { width: 54px; height: 72px; }
  .footer-top { grid-template-columns: 1fr; }
  .step { grid-template-columns: 60px 1fr; gap: 16px; }
  .step-num { font-size: 1.2rem; margin-right: 10px; }
  .step-icon { width: 56px; height: 56px; }
  .step:not(:last-child) .step-num-wrapper::after { top: 64px; bottom: -28px; }
  /* Scale down icon internals for 56px container */
  .step-icon-1::before { top: 10px; width: 22px; height: 28px; }
  .step-icon-1::after { top: 19px; width: 11px; height: 11px;
    background:
      linear-gradient(#ffffff, #ffffff) left top / 100% 2px no-repeat,
      linear-gradient(#ffffff, #ffffff) left 5px / 100% 2px no-repeat,
      linear-gradient(#ffffff, #ffffff) left 10px / 70% 2px no-repeat;
  }
  .step-icon-2::before { top: 12px; width: 36px; height: 26px; border-radius: 8px 8px 8px 3px; }
  .step-icon-2::after { top: 21px; width: 22px; height: 6px;
    background:
      radial-gradient(circle at 3px 50%, #ffffff 2px, transparent 2.5px),
      radial-gradient(circle at 11px 50%, #ffffff 2px, transparent 2.5px),
      radial-gradient(circle at 19px 50%, #ffffff 2px, transparent 2.5px);
  }
  /* Step 3 (lightbulb) scaled */
  .step-icon-3::before { top: 8px; width: 24px; height: 24px; }
  .step-icon-3::after { top: 28px; width: 14px; height: 14px;
    background:
      linear-gradient(#ffffff, #ffffff) 0 4px / 100% 2px no-repeat,
      linear-gradient(#ffffff, #ffffff) 0 8px / 100% 2px no-repeat,
      var(--color-accent);
  }
  /* Step 4 (chevrons) scaled */
  .step-icon-4::before { left: 14px; width: 11px; height: 11px; border-top-width: 3px; border-left-width: 3px; }
  .step-icon-4::after { right: 14px; width: 11px; height: 11px; border-top-width: 3px; border-right-width: 3px; }
  /* Step 5 (shield) scaled */
  .step-icon-5::before { top: 8px; width: 28px; height: 34px; }
  .step-icon-5::after { top: 22px; width: 6px; height: 12px; border-right-width: 2.5px; border-bottom-width: 2.5px; }
}
