/* ============================================================
   QUANZ モダナイゼーション LP
   株式会社クオンツ
   ============================================================
   基幹システム刷新／オフコン移行 ランディングページ用
   スタイルシート（本番版・統合済）
   ============================================================ */

/* ============================================================
 * QUANTS モダナイゼーション LP — styles.css
 * 株式会社クオンツ
 * ============================================================
 * すべての CSS は .qz-lp 配下にスコープされています。
 * ※ Cocoon 等 WordPress テーマへの埋め込みでもスタイル衝突を防ぐためです。
 * ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;800;900&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
/* === Cocoon / WP entry-content reset === */
.qz-lp, .qz-lp * { box-sizing: border-box; }
.qz-lp { font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif; color: #1a2332; line-height: 1.75; -webkit-font-smoothing: antialiased; font-feature-settings: "palt" 1; letter-spacing: 0.01em; }
.qz-lp h1, .qz-lp h2, .qz-lp h3, .qz-lp h4, .qz-lp h5, .qz-lp h6 { border: none; background: none; padding: 0; margin: 0; line-height: inherit; font-weight: inherit; }
.qz-lp p, .qz-lp ul, .qz-lp ol, .qz-lp li, .qz-lp dl, .qz-lp dd, .qz-lp dt, .qz-lp figure, .qz-lp blockquote, .qz-lp pre, .qz-lp table { margin: 0; padding: 0; border: none; background: none; }
.qz-lp ul, .qz-lp ol { list-style: none; }
.qz-lp a { text-decoration: none; color: inherit; background: none; box-shadow: none; }
.qz-lp a:hover { text-decoration: none; opacity: 1; }
.qz-lp img { border: none; max-width: 100%; height: auto; display: block; }
.qz-lp button { font-family: inherit; cursor: pointer; }
.qz-lp input, .qz-lp select, .qz-lp textarea { font-family: inherit; font-size: inherit; color: inherit; background: #fff; max-width: 100%; }
.qz-lp .container, .qz-lp .container-narrow { width: 100%; }
.qz-lp details summary { list-style: none; cursor: pointer; }
.qz-lp details summary::-webkit-details-marker { display: none; }
.qz-lp details > summary::marker { content: ""; }
/* break out of entry-content gutters (LP-style full-bleed) */
.entry-content > .qz-lp,
.page-body > .qz-lp,
.main > .qz-lp,
article > .qz-lp { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; max-width: 100vw; }

.qz-lp /* ===== styles.css ===== */
/* ===========================================
   QUANTS モダナイゼーション LP — Styles
   =========================================== */

*, .qz-lp *::before, .qz-lp *::after { margin: 0; padding: 0; box-sizing: border-box; }
.qz-lp { scroll-behavior: smooth; }

.qz-lp {
  /* Colors */
  --navy-900: #08182b;
  --navy-800: #0a2540;
  --navy-700: #143a5e;
  --navy-100: #e6ecf3;
  --ink: #1a2332;
  --ink-soft: #4a5868;
  --ink-mute: #7a8694;
  --line: #e3e6eb;
  --bg: #ffffff;
  --bg-soft: #f7f5f2;       /* 暖かいオフホワイト */
  --bg-warm: #fbf8f4;
  --coral: #d94e3e;
  --coral-deep: #b53d2f;
  --amber: #d99852;
  --green: #2d8659;
  --red: #c0392b;

  /* Type */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
}

.qz-lp {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "palt" 1;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

.qz-lp img, .qz-lp svg { display: block; max-width: 100%; }
.qz-lp a { color: inherit; }

.qz-lp /* ---------- Layout primitives ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.qz-lp .container-narrow { max-width: 920px; margin: 0 auto; padding: 0 32px; }
.qz-lp section { padding: 120px 0; }

.qz-lp .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--coral);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.qz-lp .eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--coral);
}

.qz-lp h2.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--navy-800);
  font-weight: 800;
  margin-bottom: 28px;
}
.qz-lp h2.section-title .accent { color: var(--coral); }
.qz-lp h2.section-title .underline {
  background-image: linear-gradient(transparent 62%, rgba(217,152,82,0.35) 62%);
}
.qz-lp .lead-text {
  font-size: 17px; line-height: 1.95;
  color: var(--ink-soft);
  max-width: 760px;
  margin-bottom: 40px;
}
.qz-lp .lead-text strong { color: var(--ink); font-weight: 700; }

.qz-lp /* ---------- Header ---------- */
header.global-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.qz-lp .header-inner {
  max-width: 1280px; margin: 0 auto; padding: 18px 32px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
}
.qz-lp .logo {
  display: flex; align-items: baseline; gap: 10px;
  font-weight: 800; font-size: 18px; color: var(--navy-800);
  letter-spacing: 0.02em;
}
.qz-lp .logo .mark {
  font-family: var(--font-en);
  letter-spacing: 0.06em;
}
.qz-lp .logo .mark::after { content: "."; color: var(--coral); }
.qz-lp .logo .sub {
  font-size: 12px; font-weight: 500; color: var(--ink-mute);
  letter-spacing: 0.05em;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
/* 画像ロゴ用 */
.qz-lp .logo-image {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.qz-lp .logo-image img {
  display: block;
  height: 32px;
  width: auto;
}
.qz-lp .logo-image .sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  line-height: 1;
}
.qz-lp .footer-brand .logo-image img { height: 36px; }
.qz-lp .footer-brand .logo-image .sub {
  color: rgba(255,255,255,0.6);
  border-left-color: rgba(255,255,255,0.18);
}
@media (max-width: 640px) {
  .qz-lp .logo-image img { height: 26px; }
  .qz-lp .logo-image .sub { display: none; }
}
.qz-lp .nav-links {
  display: flex; align-items: center; gap: 28px;
  font-size: 13px; color: var(--ink-soft);
}
.qz-lp .nav-links a { text-decoration: none; transition: color 0.15s; }
.qz-lp .nav-links a:hover { color: var(--coral); }
.qz-lp .header-cta {
  background: var(--navy-800); color: #fff;
  padding: 11px 20px; border-radius: 4px;
  text-decoration: none; font-weight: 700; font-size: 13px;
  letter-spacing: 0.02em;
  transition: background 0.15s, transform 0.15s;
}
.qz-lp .header-cta:hover { background: var(--coral); }

.qz-lp /* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 32px;
  text-decoration: none;
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.02em;
  border-radius: 4px;
  border: none; cursor: pointer;
  transition: all 0.18s;
  font-family: inherit;
}
.qz-lp .btn-primary {
  background: var(--coral); color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 8px 24px -10px rgba(217,78,62,0.55);
}
.qz-lp .btn-primary:hover { background: var(--coral-deep); transform: translateY(-1px); }
.qz-lp .btn-primary .arrow { transition: transform 0.2s; }
.qz-lp .btn-primary:hover .arrow { transform: translateX(3px); }
.qz-lp .btn-ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.qz-lp .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.qz-lp .btn-light {
  background: #fff; color: var(--navy-800);
  border: 1px solid var(--line);
}
.qz-lp .btn-light:hover { border-color: var(--navy-800); }

.qz-lp /* ---------- HERO (Pattern C: Stacked Story) ---------- */
.hero {
  background: var(--navy-800);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.qz-lp .hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217,152,82,0.16), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(217,78,62,0.12), transparent 60%);
  pointer-events: none;
}
.qz-lp .hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.qz-lp .hero-inner { position: relative; z-index: 2; }
.qz-lp .hero .container { max-width: 1280px; }

/* --- Pattern C: 上 / 見出し --- */
.qz-lp .hero-headline {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 56px;
}
.qz-lp .hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 16px; border-radius: 100px;
  font-size: 12px; margin-bottom: 24px;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.85);
}
.qz-lp .hero-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 3px rgba(217,152,82,0.25);
}
.qz-lp .hero h1 {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.38;
  font-weight: 900;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.qz-lp .hero h1 .quoted { position: relative; color: var(--amber); }
.qz-lp .hero h1 .quoted::before, .qz-lp .hero h1 .quoted::after {
  color: rgba(255,255,255,0.6); font-weight: 400;
}
.qz-lp .hero h1 .highlight { position: relative; display: inline-block; }
.qz-lp .hero h1 .highlight::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -4px; height: 6px;
  background: var(--coral); opacity: 0.85;
  border-radius: 2px;
}
.qz-lp .hero-sub {
  font-size: 15.5px; line-height: 1.95;
  color: rgba(255,255,255,0.82);
  max-width: 780px; margin: 0 auto;
}
.qz-lp .hero-sub strong { color: #fff; font-weight: 700; }

/* --- Pattern C: 中 / ストーリーステージ --- */
.qz-lp .story-stage {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 36px 36px 40px;
  margin-bottom: 44px;
  position: relative;
}
.qz-lp .story-stage::before {
  content: ""; position: absolute;
  top: -1px; left: 32px; right: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), var(--coral), transparent);
  opacity: 0.7;
}
.qz-lp .story-prompt {
  text-align: center;
  font-size: 18px; font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.6;
}
.qz-lp .story-prompt .accent { color: var(--amber); }
.qz-lp .story-prompt-sub {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.qz-lp .story-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}
.qz-lp .story-side { display: flex; flex-direction: column; }
.qz-lp .story-side-cap {
  text-align: center;
  font-family: var(--font-en);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-flex;
  padding: 4px 14px;
  border-radius: 100px;
  align-self: center;
}
.qz-lp .story-side.left .story-side-cap {
  background: rgba(95,255,140,0.08);
  border: 1px solid rgba(95,255,140,0.25);
  color: #9affb5;
}
.qz-lp .story-side.right .story-side-cap {
  background: rgba(217,78,62,0.15);
  border: 1px solid rgba(217,78,62,0.4);
  color: #ffb3a8;
}
.qz-lp .story-side-jp {
  text-align: center;
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
  line-height: 1.7;
}
.qz-lp .story-side-jp strong { color: #fff; font-weight: 700; }

/* 矢印 */
.qz-lp .story-arrow {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px 0 0;
  position: relative;
}
.qz-lp .story-arrow .line {
  flex: 1; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(217,152,82,0.5), transparent);
}
.qz-lp .story-arrow .puck {
  background: var(--navy-900);
  border: 1.5px solid var(--amber);
  padding: 12px 14px;
  border-radius: 100px;
  color: var(--amber);
  font-size: 11px;
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.15em;
  position: relative;
  box-shadow: 0 0 0 6px rgba(217,152,82,0.06), 0 8px 30px -10px rgba(217,152,82,0.3);
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.qz-lp .story-arrow .puck::after { content: "\25B6"; font-size: 9px; }

/* オフコン画面（5250緑画面） */
.qz-lp .ofc-screen {
  background: #000;
  color: #5fff8c;
  font-family: var(--font-mono), 'Courier New', monospace;
  padding: 16px 18px 14px;
  font-size: 10px;
  line-height: 1.5;
  border-radius: 8px;
  border: 1px solid #1f5a37;
  box-shadow:
    0 0 0 5px rgba(0,0,0,0.4),
    0 24px 50px -18px rgba(0,0,0,0.6),
    0 0 70px rgba(95, 255, 140, 0.08);
  position: relative;
  overflow: hidden;
  flex: 1;
}
.qz-lp .ofc-screen::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(transparent 0, transparent 2px, rgba(0,0,0,0.18) 2px, rgba(0,0,0,0.18) 3px);
  pointer-events: none; z-index: 2;
}
.qz-lp .ofc-screen::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.45) 100%);
  pointer-events: none; z-index: 2;
}
.qz-lp .ofc-screen > * { position: relative; z-index: 1; }
.qz-lp .ofc-title-row {
  display: flex; align-items: center; justify-content: center;
  position: relative; padding: 2px 0 8px;
}
.qz-lp .ofc-title { font-size: 13px; font-weight: 700; letter-spacing: 0.55em; }
.qz-lp .ofc-date {
  position: absolute; right: 0; top: 50%;
  transform: translateY(-30%);
  font-size: 10.5px; opacity: 0.95;
}
.qz-lp .ofc-info {
  display: grid; grid-template-columns: 1fr;
  border: 1px solid #5fff8c;
  margin-bottom: 6px;
}
.qz-lp .ofc-info .ofc-row {
  display: grid;
  grid-template-columns: 90px 58px 90px 1fr;
  border-bottom: 1px solid #5fff8c;
}
.qz-lp .ofc-info .ofc-row:last-child { border-bottom: none; }
.qz-lp .ofc-info .ofc-row.r1 {
  grid-template-columns: 90px 58px 76px 110px 1fr;
}
.qz-lp .ofc-info .ofc-cell {
  padding: 3px 7px;
  border-right: 1px solid #5fff8c;
  font-size: 10px;
  white-space: nowrap;
}
.qz-lp .ofc-info .ofc-cell:last-child { border-right: none; }
.qz-lp .ofc-detail { width: 100%; border-collapse: collapse; }
.qz-lp .ofc-detail th, .qz-lp .ofc-detail td {
  border: 1px solid #5fff8c;
  padding: 2px 6px;
  font-size: 10px;
  text-align: left;
  font-weight: 400;
}
.qz-lp .ofc-detail th { text-align: center; letter-spacing: 0.05em; }
.qz-lp .ofc-detail td.num { text-align: right; }
.qz-lp .ofc-detail td.code { text-align: center; }
.qz-lp .ofc-total {
  border: 1px solid #5fff8c;
  border-top: none;
  padding: 4px 10px;
  display: flex; justify-content: flex-end; gap: 22px;
  font-size: 10.5px;
  background: rgba(95,255,140,0.03);
}
.qz-lp .ofc-total .lbl { letter-spacing: 0.15em; }
.qz-lp .ofc-total .amt { font-weight: 700; min-width: 92px; text-align: right; }
.qz-lp .ofc-footer {
  margin-top: 7px;
  font-size: 10px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.qz-lp .ofc-cursor {
  display: inline-block;
  width: 6px; height: 10px;
  background: #5fff8c;
  vertical-align: middle;
  margin-left: 5px;
  animation: qz-blink 1.1s steps(2, start) infinite;
}
@keyframes qz-blink { to { visibility: hidden; } }

/* 未来パネル「？？？」 */
.qz-lp .future-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex; flex-direction: column;
}
.qz-lp .future-panel::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(217,78,62,0.14), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(217,152,82,0.12), transparent 50%);
  pointer-events: none;
}
.qz-lp .future-panel > * { position: relative; z-index: 1; }
.qz-lp .future-q-big {
  font-family: var(--font-en);
  font-size: clamp(60px, 7vw, 100px);
  color: var(--amber);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 0.9;
  margin: 16px 0 16px;
  text-shadow: 0 0 40px rgba(217,152,82,0.4);
  text-align: center;
}
.qz-lp .future-q-msg {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.55;
  margin-bottom: 20px;
  text-align: center;
}
.qz-lp .q-tags {
  display: flex; flex-wrap: wrap; gap: 7px;
  justify-content: center;
  margin-top: auto;
}
.qz-lp .q-tags span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
}
.qz-lp .q-tags span.warn {
  background: rgba(217,78,62,0.18);
  border-color: rgba(217,78,62,0.45);
  color: #ffc4ba;
}

/* --- Pattern C: 下 / CTA --- */
.qz-lp .hero-cta-row { text-align: center; }
.qz-lp .hero-ctas {
  display: inline-flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 22px;
}
.qz-lp .hero-meta {
  display: inline-flex; flex-wrap: wrap; gap: 18px;
  font-size: 12px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  justify-content: center;
}
.qz-lp .hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.qz-lp .hero-meta span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--amber);
}

/* Pattern C レスポンシブ */
@media (max-width: 1080px) {
  .qz-lp .story-pair { grid-template-columns: 1fr; gap: 18px; }
  .qz-lp .story-arrow { padding: 16px 0; height: 60px; }
  .qz-lp .story-arrow .line { display: none; }
  .qz-lp .story-arrow .puck::after { content: "\25BC"; }
}
@media (max-width: 640px) {
  .qz-lp .story-stage { padding: 24px 18px; }
  .qz-lp .ofc-screen { padding: 10px 12px; font-size: 8.5px; }
  .qz-lp .ofc-title { font-size: 11px; letter-spacing: 0.4em; }
  .qz-lp .ofc-info .ofc-row,
  .qz-lp .ofc-info .ofc-row.r1 { grid-template-columns: 1fr; }
  .qz-lp .ofc-info .ofc-cell {
    border-right: none;
    border-bottom: 1px dotted rgba(95,255,140,0.3);
  }
  .qz-lp .ofc-detail th, .qz-lp .ofc-detail td { padding: 2px 4px; font-size: 8.5px; }
  .qz-lp .future-q-big { font-size: 56px; }
}

.qz-lp /* ---------- CRISIS (2031年) ---------- */
.crisis {
  background: var(--navy-900);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.qz-lp .crisis::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 100% 80px;
  pointer-events: none;
}
.qz-lp .crisis .section-title { color: #fff; }
.qz-lp .crisis .lead-text { color: rgba(255,255,255,0.8); }
.qz-lp .crisis-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 48px;
}
.qz-lp .crisis-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--amber);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.qz-lp .crisis-card:hover { transform: translateY(-3px); border-top-color: var(--coral); }
.qz-lp .crisis-card .label {
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--amber); opacity: 0.9;
  margin-bottom: 8px;
}
.qz-lp .crisis-card .year {
  font-family: var(--font-en);
  font-size: 44px; font-weight: 700; line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.qz-lp .crisis-card .year .unit { font-size: 22px; opacity: 0.7; margin-left: 4px; }
.qz-lp .crisis-card .head {
  font-size: 18px; font-weight: 700;
  margin: 18px 0 10px;
  line-height: 1.5;
}
.qz-lp .crisis-card .desc {
  font-size: 13.5px; line-height: 1.9;
  color: rgba(255,255,255,0.7);
}

.qz-lp /* ---------- PROBLEMS ---------- */
.problems { background: var(--bg-soft); }
.qz-lp .problem-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-top: 12px;
}
.qz-lp .problem-item {
  background: #fff;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--coral);
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform 0.18s, box-shadow 0.18s;
}
.qz-lp .problem-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -12px rgba(10,37,64,0.18);
}
.qz-lp .problem-check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(217,78,62,0.1);
  color: var(--coral);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  margin-top: 2px;
}
.qz-lp .problem-text strong {
  display: block; font-size: 15.5px;
  color: var(--navy-800);
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.6;
}
.qz-lp .problem-text span {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.7;
}

.qz-lp /* ---------- WHY FAIL ---------- */
.why-fail { background: #fff; }
.qz-lp .fail-flow {
  margin-top: 16px;
  display: grid; gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.qz-lp .fail-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 24px 28px;
  background: #fff;
  align-items: center;
  transition: background 0.15s;
}
.qz-lp .fail-step:hover { background: var(--bg-soft); }
.qz-lp .fail-num {
  font-family: var(--font-en);
  font-size: 32px; font-weight: 700;
  color: var(--navy-800);
  letter-spacing: -0.02em;
  position: relative;
  padding-right: 24px;
}
.qz-lp .fail-num::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 1px; height: 40px; background: var(--line);
  transform: translateY(-50%);
}
.qz-lp .fail-text strong {
  display: block;
  font-size: 16px;
  color: var(--navy-800);
  font-weight: 700;
  margin-bottom: 4px;
}
.qz-lp .fail-text span {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.8;
}

.qz-lp /* ---------- APPROACH ---------- */
.approach { background: var(--bg-warm); }
.qz-lp .step-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 48px;
  position: relative;
}
.qz-lp .step-card {
  background: #fff;
  padding: 32px 24px 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.qz-lp .step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -20px rgba(10,37,64,0.22);
}
.qz-lp .step-card .step-num {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--coral);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--coral);
  margin-bottom: 20px;
}
.qz-lp .step-card h3 {
  color: var(--navy-800);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 18px;
}
.qz-lp .step-card ul { list-style: none; }
.qz-lp .step-card li {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 6px 0 6px 18px;
  position: relative;
  line-height: 1.7;
  border-top: 1px solid var(--line);
}
.qz-lp .step-card li:first-child { border-top: none; padding-top: 0; }
.qz-lp .step-card li::before {
  content: ""; position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 1px;
  background: var(--amber);
}
.qz-lp .step-card li:first-child::before { top: 8px; }

.qz-lp /* ===== styles-2.css ===== */
/* ---------- UI COMPARE ---------- */
.ui-compare {
  background: var(--navy-900);
  color: #fff;
  position: relative;
}
.qz-lp .ui-compare .section-title { color: #fff; }
.qz-lp .ui-compare .lead-text { color: rgba(255,255,255,0.78); }
.qz-lp .ui-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 20px; align-items: stretch;
  margin-top: 48px;
}
.qz-lp .ui-mock {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
}
.qz-lp .ui-mock .ui-label {
  padding: 14px 20px;
  font-family: var(--font-en);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em;
  display: flex; align-items: center; justify-content: space-between;
}
.qz-lp .ui-mock.before .ui-label {
  background: #1a242f; color: rgba(255,255,255,0.65);
}
.qz-lp .ui-mock.after .ui-label {
  background: var(--coral); color: #fff;
}
.qz-lp .ui-mock .ui-label .tag {
  font-size: 10px; padding: 3px 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  letter-spacing: 0.1em;
}

.qz-lp /* オフコン緑画面 */
.ui-screen-old {
  background: #061812;
  color: #5fff8c;
  font-family: var(--font-mono);
  padding: 24px;
  font-size: 12px;
  line-height: 1.7;
  flex: 1;
  position: relative;
}
.qz-lp .ui-screen-old::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(transparent 0, transparent 2px, rgba(0,0,0,0.15) 2px, rgba(0,0,0,0.15) 3px);
  pointer-events: none;
}
.qz-lp .ui-screen-old .scr-header {
  display: flex; justify-content: space-between;
  border-bottom: 1px solid #5fff8c;
  padding-bottom: 6px; margin-bottom: 12px;
  font-weight: 700; letter-spacing: 0.05em;
}
.qz-lp .ui-screen-old .field { margin: 4px 0; display: flex; align-items: baseline; gap: 8px; }
.qz-lp .ui-screen-old .field .key { width: 80px; }
.qz-lp .ui-screen-old .input-box {
  background: #082b1e;
  padding: 2px 8px;
  display: inline-block; min-width: 110px;
  border: 1px solid #1a4d36;
  color: #b6ffd1;
}
.qz-lp .ui-screen-old .name { opacity: 0.7; margin-left: 8px; }
.qz-lp .ui-screen-old .scr-footer {
  margin-top: 18px;
  border-top: 1px solid #5fff8c;
  padding-top: 8px;
  display: flex; gap: 14px;
  font-size: 11px;
  opacity: 0.85;
}
.qz-lp .ui-screen-old .scr-footer span { white-space: nowrap; }

.qz-lp /* モダン画面 */
.ui-screen-new {
  background: #fff;
  color: #2a3441;
  padding: 0;
  font-size: 11.5px;
  flex: 1;
  font-family: var(--font-jp);
}
.qz-lp .ui-screen-new .app-nav {
  background: var(--navy-800);
  color: #fff;
  padding: 10px 16px;
  font-size: 11px;
  display: flex; align-items: center; gap: 10px;
  letter-spacing: 0.04em;
}
.qz-lp .ui-screen-new .app-nav .dots { display: flex; gap: 4px; }
.qz-lp .ui-screen-new .app-nav .dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.qz-lp .ui-screen-new .app-nav .crumb { opacity: 0.7; }
.qz-lp .ui-screen-new .app-nav .crumb strong { color: #fff; opacity: 1; }
.qz-lp .ui-screen-new .toolbar {
  padding: 8px 16px;
  background: #f7f8fa;
  border-bottom: 1px solid #e3e6eb;
  display: flex; gap: 8px; align-items: center;
  font-size: 11px;
}
.qz-lp .ui-screen-new .toolbar button {
  background: #fff; border: 1px solid #d6dae0;
  padding: 4px 10px; border-radius: 3px;
  font-size: 10px; cursor: default;
  font-family: inherit;
}
.qz-lp .ui-screen-new .toolbar button.primary {
  background: var(--coral); color: #fff; border-color: var(--coral);
}
.qz-lp .ui-screen-new .toolbar .spacer { flex: 1; }
.qz-lp .ui-screen-new table {
  width: 100%; border-collapse: collapse;
}
.qz-lp .ui-screen-new th {
  background: #eef1f5;
  color: var(--navy-800);
  padding: 8px 10px; text-align: left;
  font-size: 10.5px; font-weight: 700;
  border-bottom: 1px solid #d6dae0;
}
.qz-lp .ui-screen-new td {
  padding: 6px 8px;
  border-bottom: 1px solid #eef0f3;
  vertical-align: middle;
}
.qz-lp .ui-screen-new td.amount { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.qz-lp .ui-screen-new td input {
  border: 1px solid transparent;
  padding: 4px 6px; width: 100%;
  font-size: 11px;
  font-family: inherit;
  background: transparent;
  border-radius: 2px;
}
.qz-lp .ui-screen-new td input:focus { outline: none; border-color: var(--coral); background: #fff; }
.qz-lp .ui-screen-new tr.editing td input { border-color: var(--coral); background: #fff8f7; }
.qz-lp .ui-screen-new .key-hint {
  display: flex; flex-wrap: wrap; gap: 10px;
  background: #fffbeb;
  border-top: 1px solid #f3e8c1;
  padding: 8px 16px;
  font-size: 10px;
  color: #8a6d22;
}
.qz-lp .ui-screen-new .key-hint kbd {
  background: #fff; border: 1px solid #e3d8a1;
  padding: 1px 6px; border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  margin-right: 3px;
}
.qz-lp .ui-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--amber);
  font-family: var(--font-en);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em;
  flex-direction: column;
  gap: 8px;
}
.qz-lp .ui-arrow .line {
  width: 1px; height: 40px; background: rgba(217,152,82,0.4);
}
.qz-lp .ui-arrow .chev {
  font-size: 24px; line-height: 1;
}
.qz-lp .ui-note {
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
}
.qz-lp .ui-note strong { color: var(--amber); font-weight: 700; }

.qz-lp /* ---------- COMPARE TABLE ---------- */
.compare-table { background: var(--bg-soft); }
.qz-lp .compare-wrap {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px -12px rgba(10,37,64,0.15);
  border: 1px solid var(--line);
  margin-top: 16px;
}
.qz-lp .compare-wrap table {
  width: 100%;
  border-collapse: collapse;
}
.qz-lp .compare-wrap th, .qz-lp .compare-wrap td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.65;
}
.qz-lp .compare-wrap th {
  background: var(--navy-800);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  vertical-align: top;
  padding: 22px 16px;
}
.qz-lp .compare-wrap th small { display: block; opacity: 0.75; font-size: 11px; font-weight: 400; margin-top: 4px; }
.qz-lp .compare-wrap th.highlight { background: var(--coral); position: relative; }
.qz-lp .compare-wrap th.highlight::before {
  content: "RECOMMENDED";
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 9px; letter-spacing: 0.2em;
  background: rgba(255,255,255,0.2);
  padding: 2px 8px; border-radius: 100px;
}
.qz-lp .compare-wrap th.highlight { padding-top: 30px; }
.qz-lp .compare-wrap td.label {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--navy-800);
  width: 22%;
}
.qz-lp .compare-wrap td.cell { text-align: center; }
.qz-lp .compare-wrap td.cell-highlight {
  background: rgba(217,78,62,0.04);
  text-align: center;
}
.qz-lp .compare-wrap .mark-o, .qz-lp .compare-wrap .mark-x, .qz-lp .compare-wrap .mark-star {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-weight: 800; font-size: 14px;
  margin-bottom: 6px;
}
.qz-lp .compare-wrap .mark-o { background: rgba(45,134,89,0.12); color: var(--green); }
.qz-lp .compare-wrap .mark-x { background: rgba(120,130,145,0.12); color: #8c97a4; }
.qz-lp .compare-wrap .mark-star { background: var(--coral); color: #fff; }
.qz-lp .compare-wrap td small {
  display: block;
  color: var(--ink-mute);
  font-size: 11.5px;
  margin-top: 4px;
  line-height: 1.6;
}
.qz-lp .compare-wrap td .strong-text { font-weight: 700; color: var(--coral); }

.qz-lp /* ---------- STRENGTHS ---------- */
.strengths { background: #fff; }
.qz-lp .strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 16px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.qz-lp .strength-card {
  background: #fff;
  padding: 40px 32px;
  transition: background 0.2s;
  position: relative;
}
.qz-lp .strength-card:hover { background: var(--bg-warm); }
.qz-lp .strength-card .num {
  font-family: var(--font-en);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--coral);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.qz-lp .strength-card .num::before {
  content: ""; width: 24px; height: 1px; background: var(--coral);
}
.qz-lp .strength-card h3 {
  color: var(--navy-800);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.qz-lp .strength-card p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.qz-lp /* ---------- BEFORE / AFTER ---------- */
.ba { background: var(--bg-warm); }
.qz-lp .ba-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}
.qz-lp .ba-col {
  padding: 36px 32px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
}
.qz-lp .ba-col.before { border-top: 4px solid #c0392b; }
.qz-lp .ba-col.after { border-top: 4px solid var(--green); }
.qz-lp .ba-col .ba-tag {
  font-family: var(--font-en);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}
.qz-lp .ba-col.before .ba-tag { color: #c0392b; }
.qz-lp .ba-col.after .ba-tag { color: var(--green); }
.qz-lp .ba-col h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 22px;
}
.qz-lp .ba-col ul { list-style: none; }
.qz-lp .ba-col li {
  padding: 12px 0 12px 32px;
  position: relative;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
  line-height: 1.7;
}
.qz-lp .ba-col li:last-child { border-bottom: none; }
.qz-lp .ba-col.before li::before, .qz-lp .ba-col.after li::before {
  content: ""; position: absolute; left: 4px; top: 16px;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.qz-lp .ba-col.before li::before {
  background: rgba(192,57,43,0.12);
}
.qz-lp .ba-col.before li::after {
  content: "×"; position: absolute; left: 4px; top: 12px;
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #c0392b; font-weight: 800; font-size: 14px;
}
.qz-lp .ba-col.after li::before {
  background: rgba(45,134,89,0.12);
}
.qz-lp .ba-col.after li::after {
  content: "○"; position: absolute; left: 4px; top: 12px;
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-weight: 800; font-size: 11px;
}
.qz-lp .ba-arrow {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
  color: var(--coral);
}
.qz-lp .ba-arrow .arrow-icon {
  font-size: 32px;
  font-family: var(--font-en);
  font-weight: 300;
}
.qz-lp .ba-arrow .arrow-label {
  font-family: var(--font-en);
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--ink-mute);
  writing-mode: vertical-rl;
}

.qz-lp /* ---------- CASES ---------- */
.cases { background: var(--bg-soft); }
.qz-lp .case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.qz-lp .case-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.qz-lp .case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(10,37,64,0.2);
}
.qz-lp .case-card .case-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  position: relative;
  overflow: hidden;
}
.qz-lp .case-card .case-thumb::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(217,152,82,0.25), transparent 50%);
}
.qz-lp .case-card .case-thumb .case-num {
  position: absolute; top: 20px; left: 24px;
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
}
.qz-lp .case-card .case-thumb .case-industry {
  position: absolute; bottom: 20px; left: 24px;
  color: #fff;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em;
}
.qz-lp .case-card .case-thumb .case-industry::before {
  content: ""; display: block;
  width: 24px; height: 2px;
  background: var(--amber);
  margin-bottom: 8px;
}
.qz-lp .case-card .case-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex; flex-direction: column;
}
.qz-lp .case-card .case-title {
  font-size: 17px; font-weight: 800;
  color: var(--navy-800);
  line-height: 1.55;
  margin-bottom: 12px;
}
.qz-lp .case-card .case-body p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.85;
  flex: 1;
}
.qz-lp .case-card .case-meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.qz-lp .case-card .case-meta span {
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 600;
}

.qz-lp .stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 56px;
  background: var(--navy-800);
  border-radius: 8px;
  overflow: hidden;
}
.qz-lp .stat {
  padding: 36px 24px;
  text-align: center;
  background: var(--navy-800);
  color: #fff;
  position: relative;
}
.qz-lp .stat:not(:last-child)::after {
  content: ""; position: absolute;
  right: 0; top: 30%; height: 40%;
  width: 1px; background: rgba(255,255,255,0.12);
}
.qz-lp .stat .num {
  font-family: var(--font-en);
  font-size: 44px; font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.02em;
  line-height: 1;
}
.qz-lp .stat .num .unit {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  margin-left: 4px;
}
.qz-lp .stat .label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 12px;
  letter-spacing: 0.04em;
}

.qz-lp .logo-wall {
  margin-top: 32px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 6px;
}
.qz-lp .logo-wall .lw-label {
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-align: center;
  margin-bottom: 20px;
}
.qz-lp .logo-wall .logos {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.qz-lp .logo-placeholder {
  background: var(--bg-soft);
  border: 1px dashed #ccd1d8;
  padding: 18px 12px;
  color: var(--ink-mute);
  font-size: 11px;
  font-family: var(--font-mono);
  border-radius: 4px;
  text-align: center;
}

.qz-lp /* ---------- TARGET ---------- */
.target { background: #fff; }
.qz-lp .target-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}
.qz-lp .target-box {
  padding: 36px 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.qz-lp .target-box.fit {
  background: linear-gradient(180deg, rgba(45,134,89,0.04), transparent);
  border-color: rgba(45,134,89,0.3);
  border-top: 3px solid var(--green);
}
.qz-lp .target-box.notfit {
  background: var(--bg-soft);
  border-top: 3px solid var(--ink-mute);
}
.qz-lp .target-box .target-tag {
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: 0.2em;
  margin-bottom: 6px;
}
.qz-lp .target-box.fit .target-tag { color: var(--green); }
.qz-lp .target-box.notfit .target-tag { color: var(--ink-mute); }
.qz-lp .target-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 24px;
}
.qz-lp .target-box ul { list-style: none; }
.qz-lp .target-box li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
  line-height: 1.7;
}
.qz-lp .target-box li:last-child { border-bottom: none; }
.qz-lp .target-box.fit li::before {
  content: ""; position: absolute;
  left: 4px; top: 18px;
  width: 16px; height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.qz-lp .target-box.notfit li::before {
  content: ""; position: absolute;
  left: 4px; top: 22px;
  width: 12px; height: 2px;
  background: var(--ink-mute);
}

.qz-lp /* ===== styles-3.css ===== */
/* ---------- SERVICE MENU ---------- */
.menu { background: var(--bg-warm); }
.qz-lp .menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
  position: relative;
}
.qz-lp .menu-card {
  background: #fff;
  padding: 32px 24px 28px;
  border-radius: 6px;
  border: 1px solid var(--line);
  position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.qz-lp .menu-card:hover {
  transform: translateY(-4px);
  border-color: var(--coral);
  box-shadow: 0 20px 40px -20px rgba(217,78,62,0.25);
}
.qz-lp .menu-card .phase {
  font-family: var(--font-en);
  font-size: 10px; font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.2em;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.qz-lp .menu-card .phase::before {
  content: ""; width: 16px; height: 1px; background: var(--coral);
}
.qz-lp .menu-card h3 {
  color: var(--navy-800);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 14px;
}
.qz-lp .menu-card .price {
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--bg-soft);
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
  font-family: var(--font-jp);
}
.qz-lp .menu-card .price strong {
  color: var(--navy-800);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.qz-lp .menu-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.85;
  flex: 1;
}
.qz-lp .menu-card .num-mark {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  color: var(--bg-soft);
  line-height: 1;
  letter-spacing: -0.02em;
}

.qz-lp /* ---------- FAQ ---------- */
.faq { background: #fff; }
.qz-lp .faq-list {
  margin-top: 16px;
  max-width: 900px;
}
.qz-lp .faq-item {
  border-bottom: 1px solid var(--line);
}
.qz-lp .faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 48px 24px 56px;
  position: relative;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.6;
  transition: color 0.15s;
}
.qz-lp .faq-item summary::-webkit-details-marker { display: none; }
.qz-lp .faq-item summary:hover { color: var(--coral); }
.qz-lp .faq-item summary::before {
  content: "Q";
  position: absolute;
  left: 0; top: 22px;
  width: 32px; height: 32px;
  background: var(--navy-800);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
}
.qz-lp .faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 28px;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 300;
  color: var(--ink-mute);
  transition: transform 0.2s;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.qz-lp .faq-item[open] summary::after { transform: rotate(45deg); color: var(--coral); }
.qz-lp .faq-answer {
  padding: 0 48px 28px 56px;
  position: relative;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.95;
}
.qz-lp .faq-answer::before {
  content: "A";
  position: absolute;
  left: 0; top: -4px;
  width: 32px; height: 32px;
  background: var(--coral);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
}

.qz-lp /* ---------- FINAL CTA + FORM ---------- */
.final-cta {
  background: var(--navy-800);
  color: #fff;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.qz-lp .final-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(217,152,82,0.18), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(217,78,62,0.16), transparent 50%);
  pointer-events: none;
}
.qz-lp .final-cta > * { position: relative; z-index: 1; }
.qz-lp .final-cta .cta-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.qz-lp .final-cta h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.4;
  font-weight: 800;
  margin-bottom: 20px;
}
.qz-lp .final-cta h2 .accent { color: var(--amber); }
.qz-lp .final-cta .lead {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  line-height: 1.95;
}
.qz-lp .final-cta .lead strong { color: #fff; font-weight: 700; }

.qz-lp .cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 72px;
}
.qz-lp .cta-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 32px 28px;
  border-radius: 8px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.qz-lp .cta-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.3);
}
.qz-lp .cta-card.featured {
  background: rgba(217,78,62,0.12);
  border-color: rgba(217,78,62,0.5);
}
.qz-lp .cta-card .badge {
  position: absolute;
  top: -10px; left: 28px;
  background: var(--amber);
  color: var(--navy-900);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.qz-lp .cta-card .step {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.qz-lp .cta-card h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.4;
}
.qz-lp .cta-card p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
  flex: 1;
  margin-bottom: 22px;
}
.qz-lp .cta-card .btn-card {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 13px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.18s;
}
.qz-lp .cta-card .btn-card:hover { background: rgba(255,255,255,0.18); }
.qz-lp .cta-card.featured .btn-card {
  background: var(--coral);
  border-color: var(--coral);
}
.qz-lp .cta-card.featured .btn-card:hover { background: var(--coral-deep); }

.qz-lp .form-wrap {
  background: #fff;
  color: var(--ink);
  padding: 56px 56px 48px;
  border-radius: 8px;
  max-width: 740px;
  margin: 0 auto;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5);
}
.qz-lp .form-wrap .form-head {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.qz-lp .form-wrap h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 10px;
}
.qz-lp .form-wrap .form-lead {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.8;
}
.qz-lp .form-wrap .form-lead strong { color: var(--navy-800); }
.qz-lp .form-row { margin-bottom: 20px; }
.qz-lp .form-row label.field-label {
  display: flex; align-items: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy-800);
}
.qz-lp .form-row label.field-label .req {
  background: var(--coral);
  color: #fff;
  font-size: 9.5px;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.qz-lp .form-row label.field-label .opt {
  color: var(--ink-mute);
  font-size: 11px;
  font-weight: 500;
  margin-left: 8px;
}
.qz-lp .form-row input, .qz-lp .form-row select, .qz-lp .form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.qz-lp .form-row input:focus, .qz-lp .form-row select:focus, .qz-lp .form-row textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(217,78,62,0.12);
}
.qz-lp .form-row textarea { resize: vertical; min-height: 90px; }
.qz-lp .form-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.qz-lp .form-checks label {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-soft);
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
  border: 1px solid transparent;
}
.qz-lp .form-checks label:hover { background: #f0ede8; }
.qz-lp .form-checks label.checked { background: #fff; border-color: var(--coral); }
.qz-lp .form-checks input { width: auto; margin: 0; accent-color: var(--coral); }
.qz-lp .form-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  background: var(--coral);
  color: #fff;
  padding: 18px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.15s, transform 0.15s;
  font-family: inherit;
  box-shadow: 0 10px 30px -10px rgba(217,78,62,0.5);
}
.qz-lp .form-submit:hover { background: var(--coral-deep); transform: translateY(-1px); }
.qz-lp .form-note {
  font-size: 11.5px;
  color: var(--ink-mute);
  text-align: center;
  margin-top: 14px;
  line-height: 1.7;
}
.qz-lp .form-trust {
  display: flex; justify-content: center; gap: 24px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.qz-lp .form-trust div {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px;
  color: var(--ink-mute);
}
.qz-lp .form-trust div::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
}

.qz-lp /* ---------- FOOTER ---------- */
footer.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.qz-lp .footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.qz-lp .footer-brand .logo { color: #fff; margin-bottom: 16px; }
.qz-lp .footer-brand .logo .sub { color: rgba(255,255,255,0.6); border-left-color: rgba(255,255,255,0.15); }
.qz-lp .footer-brand p {
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(255,255,255,0.55);
}
.qz-lp .footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.qz-lp .footer-col ul { list-style: none; }
.qz-lp .footer-col li { margin-bottom: 10px; }
.qz-lp .footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}
.qz-lp .footer-col a:hover { color: var(--amber); }
.qz-lp .footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.qz-lp .footer-bottom .legal { display: flex; gap: 20px; }
.qz-lp .footer-bottom a { color: inherit; text-decoration: none; }
.qz-lp .footer-bottom a:hover { color: var(--amber); }

.qz-lp /* ---------- SECTION DIVIDERS (FLOATING) ---------- */
.floating-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  background: var(--coral);
  color: #fff;
  padding: 14px 22px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 12px 30px -10px rgba(217,78,62,0.5);
  display: flex; align-items: center; gap: 8px;
  transition: transform 0.2s, background 0.2s;
  opacity: 0; pointer-events: none;
  transform: translateY(20px);
}
.qz-lp .floating-cta.visible {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.qz-lp .floating-cta:hover { background: var(--coral-deep); transform: translateY(-2px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .qz-lp section { padding: 80px 0; }
  .qz-lp .container { padding: 0 24px; }
  .qz-lp .nav-links { display: none; }
  .qz-lp .hero { padding: 100px 0 110px; }
  .qz-lp .hero h1 { font-size: 36px; }
  .qz-lp .crisis-grid, .qz-lp .step-grid, .qz-lp .menu-grid, .qz-lp .strength-grid, .qz-lp .case-grid, .qz-lp .cta-cards { grid-template-columns: 1fr; }
  .qz-lp .strength-grid { grid-template-columns: 1fr; }
  .qz-lp .stats-row { grid-template-columns: 1fr 1fr; }
  .qz-lp .stats-row .stat:nth-child(2)::after { display: none; }
  .qz-lp .problem-grid, .qz-lp .target-grid, .qz-lp .ba-grid, .qz-lp .ui-grid { grid-template-columns: 1fr; }
  .qz-lp .ba-arrow, .qz-lp .ui-arrow { transform: rotate(90deg); padding: 16px 0; }
  .qz-lp .ba-arrow .arrow-label { writing-mode: horizontal-tb; }
  .qz-lp .form-wrap { padding: 32px 24px; }
  .qz-lp .form-checks { grid-template-columns: 1fr; }
  .qz-lp .footer-top { grid-template-columns: 1fr 1fr; }
  .qz-lp .compare-wrap { overflow-x: auto; }
  .qz-lp .compare-wrap table { min-width: 720px; }
  .qz-lp .logo-wall .logos { grid-template-columns: repeat(3, 1fr); }
}

/* ============== EMPATHY (Hero 直下 / NEW) ============== */
.qz-lp .empathy {
  background: var(--bg-soft);
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--line);
}
.qz-lp .empathy .container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.qz-lp .empathy-head { text-align: center; margin-bottom: 32px; }
.qz-lp .empathy-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-en); font-size: 12px; letter-spacing: 0.12em;
  color: var(--coral-deep); font-weight: 600;
  text-transform: uppercase; margin-bottom: 12px;
}
.qz-lp .empathy-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral);
}
.qz-lp .empathy h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700; color: var(--ink);
  line-height: 1.45; margin: 0 0 12px;
}
.qz-lp .empathy h2 .q-mark { color: var(--coral); font-size: 1.1em; vertical-align: -2px; }
.qz-lp .empathy-sub {
  color: var(--ink-soft); font-size: 15px;
}
.qz-lp .empathy-checks {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px; margin-top: 24px;
}
.qz-lp .empathy-check {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
}
.qz-lp .empathy-check:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 78, 62, 0.08);
}
.qz-lp .empathy-check .box {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 2px solid var(--ink-mute);
  border-radius: 4px;
  margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}
.qz-lp .empathy-check .box::after {
  content: "✓";
  font-size: 16px; font-weight: 700;
  color: transparent;
  transition: color .2s ease;
}
.qz-lp .empathy-check.is-on .box {
  background: var(--coral); border-color: var(--coral);
}
.qz-lp .empathy-check.is-on .box::after { color: #fff; }
.qz-lp .empathy-check .txt {
  font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.55;
}
.qz-lp .empathy-check.is-on .txt { color: var(--coral-deep); }

.qz-lp .empathy-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}
.qz-lp .empathy-footer .count {
  display: inline-block;
  background: #fff; border: 1px solid var(--coral);
  color: var(--coral-deep); font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
  margin: 0 4px;
}

/* ============== 中間CTA帯（共通スタイル） ============== */
.qz-lp .mid-cta {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.qz-lp .mid-cta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(217, 78, 62, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(217, 152, 82, 0.10) 0%, transparent 50%);
  pointer-events: none;
}
.qz-lp .mid-cta .container {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.qz-lp .mid-cta .mid-cta-text {
  color: #fff; flex: 1 1 auto; min-width: 280px;
}
.qz-lp .mid-cta .mid-cta-lead {
  font-size: 13px; letter-spacing: 0.12em;
  color: var(--amber); font-weight: 600; text-transform: uppercase;
  margin-bottom: 6px;
}
.qz-lp .mid-cta .mid-cta-headline {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700; line-height: 1.5; margin: 0;
}
.qz-lp .mid-cta .mid-cta-headline strong { color: var(--amber); }
.qz-lp .mid-cta .btn-mid {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--coral);
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 16px 28px; border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(217, 78, 62, 0.35);
  transition: all .2s ease;
  white-space: nowrap;
}
.qz-lp .mid-cta .btn-mid:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 78, 62, 0.45);
}
.qz-lp .mid-cta .btn-mid .arrow { font-size: 18px; }

/* ============== APPROACH 序章ミニ枠（WHY FAIL 統合） ============== */
.qz-lp .why-fail-mini {
  max-width: 900px; margin: 0 auto 32px;
  background: var(--bg-warm);
  border-left: 4px solid var(--coral);
  border-radius: 6px;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.qz-lp .why-fail-mini .wfm-col h4 {
  font-size: 13px; letter-spacing: 0.08em;
  color: var(--coral-deep); font-weight: 700;
  margin: 0 0 8px; text-transform: uppercase;
}
.qz-lp .why-fail-mini .wfm-col.them h4 { color: var(--ink-mute); }
.qz-lp .why-fail-mini .wfm-col ul {
  list-style: none; padding: 0; margin: 0;
  font-size: 14px; color: var(--ink); line-height: 1.7;
}
.qz-lp .why-fail-mini .wfm-col li {
  position: relative; padding-left: 18px; margin: 4px 0;
}
.qz-lp .why-fail-mini .wfm-col.them li::before {
  content: "×"; position: absolute; left: 0; color: var(--ink-mute); font-weight: 700;
}
.qz-lp .why-fail-mini .wfm-col.us li::before {
  content: "○"; position: absolute; left: 0; color: var(--coral); font-weight: 700;
}
@media (max-width: 640px) {
  .qz-lp .why-fail-mini { grid-template-columns: 1fr; gap: 12px; padding: 18px 22px; }
}

/* ============== BEFORE/AFTER 具体化（v2） ============== */
.qz-lp .ba-col h3 .ba-row-tag {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.08em;
  background: rgba(0,0,0,0.06); color: var(--ink-soft);
  padding: 2px 8px; border-radius: 4px;
  margin-right: 6px; vertical-align: 2px;
  font-weight: 600;
}
.qz-lp .ba-col.after h3 .ba-row-tag {
  background: rgba(45, 134, 89, 0.12); color: var(--green);
}
.qz-lp .ba-highlight {
  margin-top: 16px; padding: 14px 18px;
  background: rgba(255,255,255,0.55);
  border-radius: 8px;
  font-size: 14px; font-weight: 700; line-height: 1.5;
}
.qz-lp .ba-col.before .ba-highlight {
  color: var(--ink-soft);
  border: 1px dashed var(--ink-mute);
}
.qz-lp .ba-col.after .ba-highlight {
  color: var(--green); background: rgba(45, 134, 89, 0.08);
  border: 1px solid rgba(45, 134, 89, 0.3);
}

/* ============== Hero CTA 文言調整用 (resource link styling) ============== */
.qz-lp .hero-ctas .btn-ghost.hero-resource-link {
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-soft);
  padding: 14px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
  font-size: 14px;
}
.qz-lp .hero-ctas .btn-ghost.hero-resource-link:hover {
  color: var(--coral); background: transparent;
}

/* ============== v2 微調整 ============== */
/* SERVICE MENU Phase 0 (NEW) */
.qz-lp .menu-card.phase-0 {
  border: 2px solid var(--coral);
  position: relative;
}
.qz-lp .menu-card.phase-0::before {
  content: "FREE";
  position: absolute; top: -12px; left: 20px;
  background: var(--coral); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  padding: 3px 10px; border-radius: 4px;
}
.qz-lp .menu-card.phase-0 .price { color: var(--coral-deep); }
.qz-lp .menu-card.phase-0 .btn-phase {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--coral); color: #fff; font-weight: 700;
  padding: 10px 18px; border-radius: 6px;
  text-decoration: none; font-size: 14px;
  margin-top: 12px;
  transition: all .2s ease;
}
.qz-lp .menu-card.phase-0 .btn-phase:hover {
  background: var(--coral-deep);
}

/* ============== TRANSFORMATION CHAPTER（章ラッパー） ============== */
.qz-lp .transformation {
  background: var(--navy-900);
  color: #fff;
  position: relative;
}
.qz-lp .transformation-head {
  padding: 96px 0 24px;
  text-align: center;
  position: relative;
}
.qz-lp .transformation-head .container { max-width: 980px; }
.qz-lp .transformation-head .chapter-mark {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-en); font-size: 11px; letter-spacing: 0.2em;
  color: var(--amber); font-weight: 700; text-transform: uppercase;
  background: rgba(217, 152, 82, 0.12);
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(217, 152, 82, 0.4);
  margin-bottom: 18px;
}
.qz-lp .transformation-head h2.section-title {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.4;
  margin: 0 auto 16px;
  max-width: 720px;
}
.qz-lp .transformation-head h2.section-title .accent {
  color: var(--amber);
}
.qz-lp .transformation-head .lead-text {
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto;
}
.qz-lp .transformation-head .lead-text strong {
  color: #fff;
  border-bottom: 2px solid var(--amber);
  padding: 0 2px;
}

/* サブ章の見出しマーカー */
.qz-lp .sub-marker {
  display: flex; align-items: baseline; gap: 14px;
  margin: 0 auto 28px;
  max-width: 1100px;
  padding: 0 24px;
  flex-wrap: wrap;
}
.qz-lp .sub-marker .num {
  font-family: var(--font-en);
  font-size: 32px; font-weight: 800;
  color: var(--amber);
  line-height: 1;
}
.qz-lp .sub-marker .title {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700; color: #fff;
  line-height: 1.3;
}
.qz-lp .sub-marker .title strong {
  color: var(--amber);
}
.qz-lp .sub-marker .caption {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.qz-lp .sub-marker.on-light .title { color: var(--ink); }
.qz-lp .sub-marker.on-light .title strong { color: var(--coral-deep); }
.qz-lp .sub-marker.on-light .num { color: var(--coral); }
.qz-lp .sub-marker.on-light .caption { color: var(--ink-soft); }

/* 章内サブセクションの上下調整 — 既存 .ui-compare / .ba の padding を活かしつつ、章として一体化 */
.qz-lp .transformation .sub-ui {
  background: var(--navy-900);
  padding: 32px 0 96px;
}
.qz-lp .transformation .sub-ui .ui-compare {
  background: transparent;
  padding: 0;
}
.qz-lp .transformation .sub-ui .ui-compare .section-title { display: none; }
.qz-lp .transformation .sub-ui .ui-compare .eyebrow { display: none; }
.qz-lp .transformation .sub-ui .ui-compare .lead-text { display: none; }

/* サブ章間の連結マーカー（章として連続を示す） */
.qz-lp .transformation-link {
  background: var(--navy-900);
  padding: 0;
  position: relative;
  text-align: center;
  height: 0;
}
.qz-lp .transformation-link::before {
  content: "";
  display: block;
  width: 100%;
  height: 64px;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--bg-warm) 100%);
}
.qz-lp .transformation-link .plus {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(217, 78, 62, 0.4);
  z-index: 2;
}

.qz-lp .transformation .sub-ba {
  background: var(--bg-warm);
  padding: 64px 0 96px;
}
.qz-lp .transformation .sub-ba .ba {
  background: transparent;
  padding: 0;
}
.qz-lp .transformation .sub-ba .ba .eyebrow { display: none; }
.qz-lp .transformation .sub-ba .ba .section-title { display: none; }

/* 章の締めコピー（最終 ui-note を章レベルへ） */
.qz-lp .transformation-foot {
  background: var(--bg-warm);
  padding: 0 0 96px;
}
.qz-lp .transformation-foot .container {
  max-width: 880px;
  text-align: center;
}
.qz-lp .transformation-foot .note {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: 8px;
  padding: 24px 28px;
  font-size: 15px; line-height: 1.7;
  color: var(--ink);
  text-align: left;
}
.qz-lp .transformation-foot .note strong {
  color: var(--coral-deep);
}

/* v3 表示マーク（v2 のものを上書き） */

/* ============== ① BEFORE 側：UI Experience で .ofc-screen を流用 ============== */
/* ui-mock.before の中の .ofc-screen を、UI Experience のレイアウトに馴染ませる */
.qz-lp .ui-mock.before .ofc-screen {
  border-radius: 0;
  margin: 0;
  padding: 14px 16px;
  font-size: 10.5px;
}
.qz-lp .ui-mock.before .ofc-title { font-size: 12px; letter-spacing: 0.5em; }
.qz-lp .ui-mock.before .ofc-detail th,
.qz-lp .ui-mock.before .ofc-detail td {
  padding: 3px 6px;
  font-size: 10.5px;
}
.qz-lp .ui-mock.before .ofc-info .ofc-cell {
  padding: 3px 6px;
  font-size: 10px;
}

/* CODE セルに入った点滅カーソル（入力プロンプト） */
.qz-lp .ofc-detail td.code .ofc-cursor {
  margin-left: 0;
  width: 7px;
  height: 11px;
}
/* 5行目（入力待ち）の行ハイライト — 視線誘導 */
.qz-lp .ofc-detail tr.editing td {
  background: rgba(95, 255, 140, 0.08);
}

/* ============== ② AFTER 側：Salesforce 受注入力レイアウト ============== */
/* ui-screen-new に「受注ヘッダー部」を追加するための拡張 */
.qz-lp .ui-screen-new .order-header {
  background: var(--bg-soft);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 10px 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 14px;
  color: var(--ink);
  font-size: 11px;
}
.qz-lp .ui-screen-new .order-header .oh-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.qz-lp .ui-screen-new .order-header .oh-label {
  font-size: 9.5px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  font-weight: 600;
}
.qz-lp .ui-screen-new .order-header .oh-value {
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font-mono);
}

/* ui-mock.after — 受注明細テーブルの列幅を 受注入力（CODE | 商品名 | 数量 | 単価 | 値引 | 金額 | 納期）に最適化 */
.qz-lp .ui-screen-new table.detail-order th,
.qz-lp .ui-screen-new table.detail-order td {
  font-size: 11px;
  padding: 5px 6px;
}
.qz-lp .ui-screen-new table.detail-order th.col-code,
.qz-lp .ui-screen-new table.detail-order td.col-code {
  text-align: center;
  width: 11%;
  font-family: var(--font-mono);
}
.qz-lp .ui-screen-new table.detail-order th.col-name,
.qz-lp .ui-screen-new table.detail-order td.col-name {
  width: 28%;
}
.qz-lp .ui-screen-new table.detail-order th.col-num,
.qz-lp .ui-screen-new table.detail-order td.col-num {
  text-align: right;
  width: 9%;
}
.qz-lp .ui-screen-new table.detail-order th.col-disc,
.qz-lp .ui-screen-new table.detail-order td.col-disc {
  text-align: right;
  width: 9%;
}
.qz-lp .ui-screen-new table.detail-order th.col-amt,
.qz-lp .ui-screen-new table.detail-order td.col-amt {
  text-align: right;
  width: 14%;
}
.qz-lp .ui-screen-new table.detail-order th.col-due,
.qz-lp .ui-screen-new table.detail-order td.col-due {
  text-align: center;
  width: 11%;
  font-family: var(--font-mono);
}

/* 合計行の表示 */
.qz-lp .ui-screen-new .order-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  font-size: 12px;
  color: rgba(255,255,255,0.8);
}
.qz-lp .ui-screen-new .order-footer .total-label {
  letter-spacing: 0.12em;
  font-size: 10.5px;
}
.qz-lp .ui-screen-new .order-footer .total-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
}

/* 入力中行のフォーカススタイル */
.qz-lp .ui-screen-new tr.editing td.col-code {
  position: relative;
}
.qz-lp .ui-screen-new tr.editing td.col-code input {
  border-color: var(--coral);
  background: #fff8f7;
}
.qz-lp .ui-screen-new tr.editing td.col-code input::placeholder {
  color: rgba(217, 78, 62, 0.5);
}

/* レスポンシブ：3列ヘッダーが狭くなったら2列へ */
@media (max-width: 768px) {
  .qz-lp .ui-screen-new .order-header {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== (1) オフコン画面 r1 はみ出し修正（Hero & UI BEFORE 両方に適用） ===== */
.qz-lp .ofc-info {
  overflow: hidden;
}
.qz-lp .ofc-info .ofc-row {
  overflow: hidden;
}
.qz-lp .ofc-info .ofc-row.r1 {
  /* 右端の希望納期セルを縮小可能に */
  grid-template-columns: 88px 56px 76px 96px minmax(0, 1fr);
}
.qz-lp .ofc-info .ofc-cell {
  min-width: 0;
  text-overflow: clip;
}

/* UI Experience BEFORE 内のオフコン画面に追加の引き締め（左右が狭いため） */
.qz-lp .ui-mock.before .ofc-info .ofc-row {
  grid-template-columns: 78px 50px 78px 1fr;
}
.qz-lp .ui-mock.before .ofc-info .ofc-row.r1 {
  grid-template-columns: 78px 50px 70px 88px minmax(0, 1fr);
}
.qz-lp .ui-mock.before .ofc-info .ofc-cell {
  padding: 3px 5px;
  font-size: 9.5px;
}
.qz-lp .ui-mock.before .ofc-title { letter-spacing: 0.4em; }

/* ===== (2) After 画面の高さ圧縮 ===== */

/* ヘッダーをコンパクトに — コードは省略、名称のみ表示 */
.qz-lp .ui-screen-new .order-header {
  padding: 8px 12px;
  gap: 4px 12px;
  grid-template-columns: repeat(3, 1fr);
}
.qz-lp .ui-screen-new .order-header .oh-field {
  gap: 1px;
}
.qz-lp .ui-screen-new .order-header .oh-label {
  font-size: 9px;
  letter-spacing: 0;
}
.qz-lp .ui-screen-new .order-header .oh-value {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
  font-family: var(--font-jp);  /* 数字＋日本語混在のため等幅をやめる */
  letter-spacing: 0;
}

/* 明細テーブルをコンパクトに — input 高さを縮める */
.qz-lp .ui-screen-new table.detail-order {
  margin: 0;
}
.qz-lp .ui-screen-new table.detail-order th {
  padding: 4px 6px;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.qz-lp .ui-screen-new table.detail-order td {
  padding: 2px 4px;
  font-size: 11px;
}
.qz-lp .ui-screen-new table.detail-order td input {
  padding: 3px 6px;
  font-size: 11px;
  height: auto;
  min-height: 0;
  line-height: 1.4;
}

/* 合計バーをコンパクトに */
.qz-lp .ui-screen-new .order-footer {
  padding: 6px 12px;
  gap: 10px;
}
.qz-lp .ui-screen-new .order-footer .total-label {
  font-size: 10px;
}
.qz-lp .ui-screen-new .order-footer .total-amount {
  font-size: 16px;
}

/* キーヒントも縮める */
.qz-lp .ui-screen-new .key-hint {
  padding: 6px 12px;
  font-size: 10px;
  gap: 6px 10px;
}
.qz-lp .ui-screen-new .key-hint kbd {
  font-size: 9.5px;
  padding: 1px 5px;
}

/* app-nav も少し圧縮 */
.qz-lp .ui-screen-new .app-nav {
  padding: 6px 12px;
  font-size: 11px;
}

/* ui-mock 全体を縦に揃える — Before/After の高さがずれた場合の保険 */
.qz-lp .ui-grid {
  align-items: stretch;
}
.qz-lp .ui-mock {
  height: 100%;
}
.qz-lp .ui-mock .ofc-screen,
.qz-lp .ui-mock .ui-screen-new {
  flex: 1;
}

/* 比較表：4列構成への調整 — 列幅とフォントを微調整 */
.qz-lp .compare-wrap table { min-width: 880px; }
.qz-lp .compare-wrap th,
.qz-lp .compare-wrap td {
  padding: 12px 10px;
  font-size: 13px;
}
.qz-lp .compare-wrap td.label {
  font-size: 13px;
}
.qz-lp .compare-wrap td.cell,
.qz-lp .compare-wrap td.cell-highlight {
  vertical-align: top;
  line-height: 1.5;
}
.qz-lp .compare-wrap td small {
  font-size: 11px;
  margin-top: 4px;
  display: block;
}

/* 比較表の上に置く「読み手への前置き」帯 */
.qz-lp .compare-intro {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 22px;
  margin: 0 auto 28px;
  max-width: 920px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}
.qz-lp .compare-intro strong { color: var(--coral-deep); }

/* 「延命」列はネガティブだが必要な比較なのでグレーで控えめに */
.qz-lp .compare-wrap th.col-status-quo,
.qz-lp .compare-wrap td.col-status-quo {
  background: rgba(120,130,145,0.04);
}
.qz-lp .compare-wrap th.col-status-quo small {
  color: rgba(255,255,255,0.65);
}

/* レスポンシブ：4列を維持しつつ横スクロール */
@media (max-width: 960px) {
  .qz-lp .compare-wrap table { min-width: 820px; }
  .qz-lp .compare-wrap th,
  .qz-lp .compare-wrap td { padding: 10px 8px; font-size: 12px; }
}

/* ビジュアル版グリッド — 画像中心のレイアウト */
.qz-lp .ba-grid-visual {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 16px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}

/* ビジュアル版の列 — テキスト版の枠線/帯を撤去し、画像を主役に */
.qz-lp .ba-grid-visual .ba-col {
  background: transparent;
  border: none;
  border-top: none !important;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.qz-lp .ba-grid-visual .ba-col img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.18);
  border: 1px solid var(--line);
  background: #fff;
}

/* ハイライト（一言キャッチ）を画像の下に */
.qz-lp .ba-grid-visual .ba-highlight {
  margin-top: 0;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
.qz-lp .ba-grid-visual .ba-col.before .ba-highlight {
  background: rgba(192, 57, 43, 0.06);
  color: var(--ink-soft);
  border: 1px dashed var(--ink-mute);
}
.qz-lp .ba-grid-visual .ba-col.after .ba-highlight {
  background: rgba(45, 134, 89, 0.10);
  color: var(--green);
  border: 1px solid rgba(45, 134, 89, 0.35);
}

/* 中央の矢印（テキスト版と同じスタイルだが、垂直方向に詰める） */
.qz-lp .ba-grid-visual .ba-arrow {
  align-self: center;
}

/* レスポンシブ：縦並びに */
@media (max-width: 768px) {
  .qz-lp .ba-grid-visual {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .qz-lp .ba-grid-visual .ba-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }
}

/* 「現場を止めずに段階移行」リフレイン用：APPROACH 末尾／Hero 補足などに置く小バナー */
.qz-lp .refrain-banner {
  background: var(--bg-warm);
  border-left: 4px solid var(--coral);
  border-radius: 6px;
  padding: 14px 22px;
  margin: 24px auto 0;
  max-width: 880px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.qz-lp .refrain-banner .icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 14px; font-weight: 700;
  margin-top: 2px;
}
.qz-lp .refrain-banner strong { color: var(--coral-deep); }

/* CTA 文言長対応：場所ごとに最適なボタン余白を確保 */
.qz-lp .hero-ctas .btn-primary {
  /* "オフコン移行を相談する" は 14 字。少し長めなので最低幅を確保 */
  min-width: 260px;
  justify-content: center;
}
.qz-lp .mid-cta .btn-mid {
  /* "現状について相談する" は 12 字 */
  min-width: 230px;
  justify-content: center;
}

/* Hero サブコピー v8: 改行を尊重した縦余白に */
.qz-lp .hero-sub.hero-sub-v8 {
  line-height: 1.85;
}
.qz-lp .hero-sub-v8 .lead-line {
  display: block;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.qz-lp .hero-sub-v8 .calm-line {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* CRISIS 見出しの事業継続リスク寄せ — eyebrow を強調 */
.qz-lp .crisis .eyebrow.continuity {
  /* 「事業継続リスク」を強調 */
  background: rgba(217, 152, 82, 0.12);
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(217, 152, 82, 0.4);
}

/* AI解析を強み 05 に表示する際の補助：「AI解析 × 専門家」の "×" を装飾 */
.qz-lp .strength-card .cross {
  display: inline-block;
  margin: 0 4px;
  color: var(--coral);
  font-weight: 700;
}

/* ===== COMPARE TABLE：3列構成のレイアウト調整 ===== */
.qz-lp .compare-wrap table {
  /* 3列構成（軸+1 + 3列）に最適化 */
  min-width: 760px;
}
.qz-lp .compare-wrap th,
.qz-lp .compare-wrap td {
  padding: 12px 14px;
}

/* QUANZ列（中央＝3列中の真ん中、列順は ①大手 ②QUANZ ③ERP） */
/* v9 では highlight クラスを保持しつつ、控えめ表現に */
.qz-lp .compare-wrap th.highlight.q-center {
  background: rgba(217, 78, 62, 0.85);  /* 薄めのコーラル */
}
.qz-lp .compare-wrap td.cell-highlight.q-center {
  background: rgba(217, 78, 62, 0.06);  /* かなり薄いコーラルティント */
  border-left: 1px solid rgba(217, 78, 62, 0.25);
  border-right: 1px solid rgba(217, 78, 62, 0.25);
}
.qz-lp .compare-wrap td.cell-highlight.q-center .mark-star {
  background: rgba(217, 78, 62, 0.92);  /* ★マークは少し強めに */
  width: 24px; height: 24px;
  font-size: 12px;
}
.qz-lp .compare-wrap td.cell-highlight.q-center .strong-text {
  color: var(--coral-deep);
}

/* 比較表の直下のコラム（延命を選ぶとどうなるか） */
.qz-lp .compare-aside {
  max-width: 920px;
  margin: 28px auto 0;
  padding: 18px 24px;
  background: rgba(120, 130, 145, 0.06);
  border: 1px solid rgba(120, 130, 145, 0.2);
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.qz-lp .compare-aside .label {
  display: inline-block;
  background: rgba(120, 130, 145, 0.18);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: 1px;
}
.qz-lp .compare-aside strong { color: var(--ink); }

/* ===== WHY Salesforce? セクション（NEW v9） ===== */
.qz-lp .why-sf {
  background: var(--navy-900);
  color: #fff;
  padding: 88px 0 96px;
  position: relative;
}
.qz-lp .why-sf::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(91, 136, 200, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(217, 78, 62, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.qz-lp .why-sf .container { position: relative; z-index: 1; max-width: 1080px; }
.qz-lp .why-sf .eyebrow {
  color: rgba(217, 152, 82, 1);
}
.qz-lp .why-sf .section-title {
  color: #fff;
  margin-bottom: 16px;
}
.qz-lp .why-sf .section-title .accent { color: rgba(217, 152, 82, 1); }
.qz-lp .why-sf .lead-text {
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.qz-lp .why-sf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.qz-lp .why-sf-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  transition: all .25s ease;
}
.qz-lp .why-sf-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(217, 152, 82, 0.45);
  transform: translateY(-3px);
}
.qz-lp .why-sf-card .num {
  font-family: var(--font-en);
  font-size: 13px; letter-spacing: 0.2em;
  color: rgba(217, 152, 82, 1);
  font-weight: 700; text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.qz-lp .why-sf-card h3 {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 12px;
}
.qz-lp .why-sf-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin: 0;
}
.qz-lp .why-sf-card strong { color: #fff; }

@media (max-width: 768px) {
  .qz-lp .why-sf-grid { grid-template-columns: 1fr; }
}

/* ===== TARGET：クロージング型バナー ===== */
.qz-lp .target.closing {
  background: var(--bg-warm);
  position: relative;
}
.qz-lp .target.closing .eyebrow {
  /* Final Check 表記 */
  background: rgba(217, 78, 62, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(217, 78, 62, 0.25);
  color: var(--coral-deep);
  display: inline-flex;
}
.qz-lp .target.closing .section-title .accent {
  color: var(--coral-deep);
}

/* ===== (1) Hero サブコピー — ネイビー背景に対応した白系へ ===== */
.qz-lp .hero .hero-sub.hero-sub-v8 .lead-line {
  color: #ffffff;
}
.qz-lp .hero .hero-sub.hero-sub-v8 .lead-line strong {
  color: #ffffff;
  border-bottom: 2px solid var(--coral);
  padding-bottom: 1px;
}
.qz-lp .hero .hero-sub.hero-sub-v8 .calm-line {
  color: rgba(255, 255, 255, 0.82);
}

/* ===== (2) Hero タグの視認性を微強化 ===== */
.qz-lp .hero .hero-tag {
  /* 既存のスタイルを維持しつつ、ネイビー上でのコントラストを補強 */
  color: #ffffff;
}
.qz-lp .hero .hero-tag .dot {
  background: var(--coral);
}

/* ===== (3) TRANSFORMATION 章フッター note の念のため再指定 ===== */
.qz-lp .transformation-foot {
  background: var(--bg-warm);
}
.qz-lp .transformation-foot .note {
  background: #ffffff;
  color: var(--ink);
}
.qz-lp .transformation-foot .note strong {
  color: var(--coral-deep);
}

/* ===== Hero ===== */
/* 不安タグの増量に対応（6項目を1行内で折り返し可能に） */
.qz-lp .future-panel .q-tags {
  flex-wrap: wrap;
}
.qz-lp .future-panel .q-tags span.warn {
  font-size: 12px;
}

/* AS-IS 側の story-side-jp に問いかけが入るため、強調寄せに */
.qz-lp .story-side.left .story-side-jp strong {
  color: var(--coral);
}

/* ===== APPROACH リフレインバナーをSTEP後ろの締めとして整形 ===== */
.qz-lp .approach .refrain-banner.after-steps {
  margin: 48px auto 0;
  background: var(--bg-warm);
  border-left: 4px solid var(--coral);
}

/* ===== COMPARE TABLE 5軸版の調整 ===== */
.qz-lp .compare-wrap table.compact-5 {
  min-width: 760px;
}
.qz-lp .compare-wrap table.compact-5 th,
.qz-lp .compare-wrap table.compact-5 td {
  padding: 14px 14px;
  font-size: 13.5px;
}
.qz-lp .compare-wrap table.compact-5 td.label {
  font-weight: 700;
  font-size: 14px;
}

/* ===== 「クオンツの考え方」セクション ===== */
/* 既存 .why-sf を流用し、philosophy 専用の追加スタイルを上書き */
.qz-lp .why-sf.philosophy {
  /* 思想セクションとしての落ち着いた印象 */
}

.qz-lp .why-sf.philosophy .why-sf-card {
  /* カードの間隔と存在感を強化（4 col → 3 col のままだが、内部の余白増） */
  padding: 32px 28px;
}
.qz-lp .why-sf.philosophy .why-sf-card .num {
  /* "Approach 01" のような表記 */
  color: var(--amber);
}
.qz-lp .why-sf.philosophy .why-sf-card h3 {
  font-size: 19px;
  margin-bottom: 14px;
}

/* 強調ボックス：「そのために Salesforce を採用しています」 */
.qz-lp .why-sf.philosophy .sf-adoption-box {
  margin-top: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(217, 152, 82, 0.5);
  border-radius: 12px;
  padding: 28px 32px;
  position: relative;
}
.qz-lp .why-sf.philosophy .sf-adoption-box::before {
  content: "↓ そのために";
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-family: var(--font-en);
  letter-spacing: 0.16em;
  padding: 2px 12px;
  font-weight: 600;
}
.qz-lp .why-sf.philosophy .sf-adoption-box h4 {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.5;
}
.qz-lp .why-sf.philosophy .sf-adoption-box h4 .accent-sf {
  color: var(--amber);
}
.qz-lp .why-sf.philosophy .sf-adoption-box .sf-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.qz-lp .why-sf.philosophy .sf-adoption-box .sf-points li {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}
.qz-lp .why-sf.philosophy .sf-adoption-box .sf-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}
.qz-lp .why-sf.philosophy .sf-adoption-box .sf-points li strong {
  color: #fff;
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .qz-lp .why-sf.philosophy .sf-adoption-box .sf-points {
    grid-template-columns: 1fr;
  }
}

/* ===== 旧 強調ボックスを非表示 ===== */
.qz-lp .why-sf.philosophy .sf-adoption-box {
  display: none;
}

/* ===== 軽量化版：sf-mention（1段落） ===== */
.qz-lp .why-sf.philosophy .sf-mention {
  margin: 36px auto 0;
  max-width: 880px;
  padding: 18px 26px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--amber);
  border-radius: 4px;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
}
.qz-lp .why-sf.philosophy .sf-mention strong {
  color: #fff;
}
.qz-lp .why-sf.philosophy .sf-mention .accent-sf {
  color: var(--amber);
  font-weight: 700;
}

/* ===== STEPへの橋渡し文 ===== */
.qz-lp .why-sf.philosophy .step-bridge {
  margin: 28px auto 0;
  max-width: 880px;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: #fff;
  font-weight: 600;
}
.qz-lp .why-sf.philosophy .step-bridge strong {
  color: var(--amber);
  border-bottom: 2px solid var(--amber);
  padding-bottom: 1px;
}
.qz-lp .why-sf.philosophy .step-bridge::after {
  content: "↓";
  display: block;
  margin-top: 12px;
  color: var(--amber);
  font-size: 22px;
  font-weight: 700;
  opacity: 0.8;
}

/* ===== TRANSFORMATION 章ヘッダーを warm bg に変更 ===== */
.qz-lp .transformation-head {
  background: var(--bg-warm);
}
.qz-lp .transformation-head .chapter-mark {
  background: rgba(217, 78, 62, 0.10);
  color: var(--coral-deep);
  border-color: rgba(217, 78, 62, 0.35);
}
.qz-lp .transformation-head h2.section-title {
  color: var(--ink);
}
.qz-lp .transformation-head h2.section-title .accent {
  color: var(--coral);
}
.qz-lp .transformation-head .lead-text {
  color: var(--ink-soft);
}
.qz-lp .transformation-head .lead-text strong {
  color: var(--ink);
  border-bottom: 2px solid var(--coral);
}

/* ===== サブ章間の連結マーカー：グラデーション反転 ===== */
/* warm → navy（v13まで：navy → warm を反転） */
.qz-lp .transformation-link::before {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--navy-900) 100%);
}

/* ===== TRANSFORMATION 章フッターを navy bg に変更 ===== */
.qz-lp .transformation-foot {
  background: var(--navy-900);
}
.qz-lp .transformation-foot .note {
  /* note は白背景＋暗テキストのままで、navy 帯の中で「白いカード」として浮かぶ */
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.qz-lp .transformation-foot .note strong {
  color: var(--coral-deep);
}

/* ===== Fix 1: philosophy lead-text 内 strong の視認性 ===== */
.qz-lp .why-sf.philosophy .lead-text {
  color: rgba(255, 255, 255, 0.85);
}
.qz-lp .why-sf.philosophy .lead-text strong {
  color: #ffffff !important;
  background: transparent !important;
  border-bottom: 2px solid var(--coral);
  padding: 0 2px 1px;
  font-weight: 700;
}

/* Hero のサブコピーにも同様の防御策（念のため、v10 で対応済みだが上書き保険） */
.qz-lp .hero .hero-sub.hero-sub-v8 .lead-line strong {
  color: #ffffff !important;
  background: transparent !important;
}

/* CRISIS の lead-text strong（インラインで指定済みだが念のため） */
.qz-lp .crisis .lead-text strong {
  color: #ffffff !important;
}

/* ===== Fix 2: transformation セクションの bg を warm に統一 ===== */
.qz-lp .transformation {
  background: var(--bg-warm);
  color: var(--ink);
}

/* sub-ui は navy bg、白文字を維持 */
.qz-lp .transformation .sub-ui {
  background: var(--navy-900);
  color: #ffffff;
}

/* transformation-foot は navy bg を維持（v14 で設定済み） */
.qz-lp .transformation-foot {
  background: var(--navy-900);
}

/* transformation-link の gradient は v14 で warm → navy 反転済み（維持） */
/* sub-ba は bg-warm（styles_v3.css で設定済み）を維持 */

/* ===== Fix 3: 細かな配色整合 ===== */

/* APPROACH の lead-text 内 strong は light bg なので、styles.css のルール通り
   color: var(--ink) で良い。念のため明示しておく */
.qz-lp .approach .lead-text strong {
  color: var(--ink);
  font-weight: 700;
}

/* リフレインバナー内 strong（APPROACH 末尾）も整理 */
.qz-lp .approach .refrain-banner strong {
  color: var(--coral-deep);
}

/* PROBLEMS のリード文の strong（light bg なので暗テキストで OK） */
.qz-lp .problems .lead-text strong {
  color: var(--ink);
  font-weight: 700;
}

/* WHY Salesforce? 時代の名残（philosophy セクション）：lead-text を中央寄せに */
.qz-lp .why-sf.philosophy .lead-text {
  text-align: center;
}

/* ===== transformation-link を実体化 ===== */
.qz-lp .transformation-link {
  height: 64px;  /* was 0 → 64px に変更し ::before の視覚領域を内包 */
}

/* sub-ui の上部余白を増やし、sub-marker が確実に見えるように */
.qz-lp .transformation .sub-ui {
  padding-top: 48px;  /* was 32px → 48px に増量 */
}

/* sub-marker を必ず最前面に */
.qz-lp .transformation .sub-ui .sub-marker {
  position: relative;
  z-index: 3;
}
.qz-lp .transformation .sub-ba .sub-marker {
  position: relative;
  z-index: 3;
}

/* sub-ba 側も保険として padding-top を確保（warm bg、グラデ無いが念のため） */
.qz-lp .transformation .sub-ba {
  padding-top: 56px;  /* was 64px in v3 — 維持に近い */
}

/* ===== STRENGTHS：見出しの2行対応 ===== */
.qz-lp .strengths .section-title {
  /* 「なぜクオンツが選ばれるのか／6つの理由」を改行で2行に */
  line-height: 1.4;
}

/* ===== CASES：Stats 4「販売管理・在庫管理 特化」表示 ===== */
.qz-lp .stats-row .stat.label-only .num {
  /* 数値位置にラベル相当のテキストを表示 */
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.3;
  font-family: var(--font-jp);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.qz-lp .stats-row .stat.label-only .label {
  /* 通常のラベル位置は空 or 非表示 */
  display: none;
}

/* ロゴウォール削除されているため、関連スタイルの上書き不要 */

/* ===== SERVICE MENU 4 STEP 構成 ===== */
/* STEP 01 - 02 は「無料」、STEP 03 - 04 は「個別見積り」 */
.qz-lp .menu-card.step-free {
  border: 2px solid var(--coral);
  position: relative;
}
.qz-lp .menu-card.step-free::before {
  content: "FREE";
  position: absolute; top: -12px; left: 20px;
  background: var(--coral); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  padding: 3px 10px; border-radius: 4px;
}
.qz-lp .menu-card.step-free .price { color: var(--coral-deep); }

/* SERVICE MENU 末尾の補足ボックス */
.qz-lp .menu-aside {
  max-width: 920px;
  margin: 40px auto 0;
  padding: 22px 28px;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink);
}
.qz-lp .menu-aside h4 {
  margin: 0 0 8px;
  color: var(--coral-deep);
  font-size: 16px;
  font-weight: 700;
}

/* SERVICE MENU リード文 */
.qz-lp .menu .menu-lead {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 40px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.qz-lp .menu .menu-lead strong {
  color: var(--ink);
}

/* ===== FINAL CTA フォーム：プライバシー同意 ===== */
.qz-lp .form-privacy {
  margin: 14px 0 18px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.qz-lp .form-privacy label {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink);
  cursor: pointer;
}
.qz-lp .form-privacy label input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.qz-lp .form-privacy .req {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
}
.qz-lp .form-privacy .privacy-link {
  display: block;
  margin-top: 6px;
  padding-left: 26px;
  font-size: 12px;
}
.qz-lp .form-privacy .privacy-link a {
  color: var(--ink-soft);
  text-decoration: underline;
}
.qz-lp .form-privacy .privacy-link a:hover {
  color: var(--coral-deep);
}

/* ===== Footer：シンプル化 ===== */
.qz-lp .site-footer .footer-top {
  /* 3カラムのナビ → ロゴ + 1カラムのみ */
  grid-template-columns: 1fr;
  text-align: center;
  gap: 24px;
}
.qz-lp .site-footer .footer-brand {
  max-width: 720px;
  margin: 0 auto;
}
.qz-lp .site-footer .footer-brand .logo {
  justify-content: center;
}
.qz-lp .site-footer .footer-col.footer-info {
  text-align: center;
}
.qz-lp .site-footer .footer-col.footer-info h4 {
  margin-bottom: 12px;
}
.qz-lp .site-footer .footer-col.footer-info ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  list-style: none;
  padding: 0; margin: 0;
}

/* ===== (1) STEP 01 ボタンのスタイル復活（コーラル背景） ===== */
.qz-lp .menu-card.step-free .btn-phase {
  display: inline-flex;
  align-items: center; gap: 6px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 12px;
  transition: all .2s ease;
}
.qz-lp .menu-card.step-free .btn-phase:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
}

/* ===== (2) COMPARE TABLE RECOMMENDED アイコンと文字の被り解消 ===== */
/* 既存ルール（styles.css）:
   .qz-lp .compare-wrap th.highlight { padding-top: 30px; }
   .qz-lp .compare-wrap th.highlight::before { content: "RECOMMENDED"; ... } */
.qz-lp .compare-wrap th.highlight {
  padding-top: 38px;  /* was 30px → 38px に増やしてアイコンと文字を離す */
  padding-bottom: 14px;
}
.qz-lp .compare-wrap th.highlight::before {
  /* アイコン位置を上に寄せる（既存の絶対配置を活かしつつ） */
  top: 8px;
}

/* ===== (3) 「無料相談で分かること」ボックス ===== */
.qz-lp .form-benefits {
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 16px 22px;
  background: rgba(217, 78, 62, 0.05);
  border: 1px solid rgba(217, 78, 62, 0.25);
  border-radius: 8px;
}
.qz-lp .form-benefits h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--coral-deep);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.qz-lp .form-benefits ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 16px;
}
.qz-lp .form-benefits li {
  font-size: 13.5px;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
  line-height: 1.6;
}
.qz-lp .form-benefits li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--coral);
  font-weight: 700;
  font-size: 14px;
}
@media (max-width: 560px) {
  .qz-lp .form-benefits ul { grid-template-columns: 1fr; }
}

/* ===== (4) FINAL CTA カード削除に伴うレイアウト調整 ===== */
.qz-lp .final-cta .cta-head {
  margin-bottom: 28px;  /* カードがなくなった分、フォームへの距離を整える */
}
/* フォーム直前のリード文の下に form-benefits が来る場合のスペース調整 */
.qz-lp .final-cta .form-wrap {
  margin-top: 0;
}

/* ===== (5) Hero CTA 単一化（resource link 削除に伴う調整） ===== */
.qz-lp .hero-ctas {
  /* 1ボタンになったので、左寄せ/中央寄せどちらでも見られるよう調整 */
  justify-content: flex-start;
}

/* ===== (1) Empathy 薄グレー化 ===== */
/* Hero（濃紺）→ Empathy（薄グレー）→ Crisis（濃紺）→ Problems（白）の濃淡階段を作る */
.qz-lp .empathy {
  background: #FAFAFA;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

/* ===== (2) Philosophy 薄ネイビー化 ===== */
/* Hero / Crisis / Final CTA の濃紺と差別化、APPROACH（白）→ Philosophy（薄ネイビー）→ STEP（白）の自然な流れに */
.qz-lp .why-sf.philosophy {
  background: linear-gradient(180deg, #1A4068 0%, #14334F 100%);
}
.qz-lp .why-sf.philosophy::before {
  /* 既存の subtle pattern を薄ネイビー bg に合わせて微調整 */
  background:
    radial-gradient(circle at 25% 30%, rgba(91, 136, 200, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(217, 78, 62, 0.10) 0%, transparent 50%);
}

/* カード背景も微調整：薄ネイビー上でコントラスト確保 */
.qz-lp .why-sf.philosophy .why-sf-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}
.qz-lp .why-sf.philosophy .why-sf-card:hover {
  background: rgba(255, 255, 255, 0.10);
}

/* ===== (3) Transformation 山場演出：中央 radial spotlight ===== */
/* LP の主役セクション。中央から暖色光が差し込む "spotlight" 効果を全サブに適用 */

/* 章ヘッダー（warm bg）：上半分にやや強めの spotlight */
.qz-lp .transformation-head {
  background:
    radial-gradient(ellipse 80% 90% at 50% 45%, rgba(217, 152, 82, 0.14) 0%, transparent 65%),
    var(--bg-warm);
}

/* sub-ba (業務オペレーション・warm bg) */
.qz-lp .transformation .sub-ba {
  background:
    radial-gradient(ellipse 80% 70% at 50% 35%, rgba(217, 152, 82, 0.12) 0%, transparent 65%),
    var(--bg-warm);
}

/* sub-ui (現場UI・navy bg)：dramatic な spotlight（navy 上で映える） */
.qz-lp .transformation .sub-ui {
  background:
    radial-gradient(ellipse 75% 70% at 50% 45%, rgba(217, 152, 82, 0.18) 0%, transparent 65%),
    var(--navy-900);
}

/* 章フッター（navy bg）：締めの spotlight */
.qz-lp .transformation-foot {
  background:
    radial-gradient(ellipse 80% 100% at 50% 50%, rgba(217, 152, 82, 0.12) 0%, transparent 65%),
    var(--navy-900);
}

/* ===== (4) UI比較 navy 維持 ===== */
/* sub-ui の navy は維持（変更なし）。オフコン緑画面の発色とコントラストのため */

/* ===== (1) 「無料相談で分かること」: navy 背景に対応 ===== */
.qz-lp .form-benefits {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(217, 152, 82, 0.45);
}
.qz-lp .form-benefits h4 {
  color: var(--amber);  /* coral-deep → amber に変更（navy bg で映える） */
}
.qz-lp .form-benefits li {
  color: rgba(255, 255, 255, 0.92);
}
.qz-lp .form-benefits li::before {
  color: var(--amber);  /* チェックマーク色も amber に */
}

/* ===== (2) RECOMMENDED バッジ位置調整 ===== */
.qz-lp .compare-wrap th.highlight {
  padding-top: 52px;   /* v18 38px → v21 52px に増量 */
  padding-bottom: 14px;
}
.qz-lp .compare-wrap th.highlight::before {
  top: 10px;
  /* バッジ自体の存在感を強化（半透明をやめて読みやすく） */
  background: rgba(255, 255, 255, 0.95);
  color: var(--coral-deep);
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 3px 10px;
}

/* th.highlight をリセット（v18 v21 の padding-top 増量も解除） */
.qz-lp .compare-wrap th.highlight {
  padding-top: 14px;
  padding-bottom: 14px;
  position: relative;
  text-align: center;
  /* line-height などはそのまま */
}

/* ::before を block 要素として書き換え（badge をフロー内に） */
.qz-lp .compare-wrap th.highlight::before {
  content: "RECOMMENDED";
  position: static;        /* absolute → static */
  top: auto;
  left: auto;
  transform: none;          /* translateX を解除 */
  display: block;           /* block 要素として上に積む */
  width: fit-content;
  margin: 0 auto 10px;      /* 中央寄せ + 下に 10px の余白 */
  background: rgba(255, 255, 255, 0.95);
  color: var(--coral-deep);
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 3px 12px;
  border-radius: 100px;
}

/* ①③ 列（非 highlight・先頭でない th）に透明スペーサーを追加 */
.qz-lp .compare-wrap thead th:not(.highlight):not(:first-child)::before {
  content: "RECOMMENDED";   /* 同テキストで同じ幅・高さを確保 */
  display: block;
  visibility: hidden;        /* 表示は隠す（領域は保持） */
  width: fit-content;
  margin: 0 auto 10px;       /* v22 の badge と同じマージン */
  background: rgba(255, 255, 255, 0.95);
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 3px 12px;
  border-radius: 100px;
}

/* フッターロゴを白い card に包む */
.qz-lp .site-footer .footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  /* navy bg 上で controlled に浮かせる */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* 白 bg 内なので sub テキストの色を navy 系に */
.qz-lp .site-footer .footer-brand .logo .sub {
  color: var(--ink-soft);
  border-left-color: var(--line);
}

/* 画像のサイズ調整（既存ルールを上書き） */
.qz-lp .site-footer .footer-brand .logo-image img {
  height: 32px;
}

/* ===== (1) CSS 変数の色トーン更新 ===== */
.qz-lp {
  --ink-mute: #5a6878;   /* #7a8694 → 10-15% 濃く（薄すぎる補足色を引き締め） */
}

/* ===== (2) フォントサイズ調整 ===== */

/* FAQ 回答：最重要、CV直前の決定箇所なので大きく + 行間広く */
.qz-lp .faq-answer {
  font-size: 16px;
  line-height: 1.85;
}

/* STRENGTHS カード本文：「読ませる」セクション */
.qz-lp .strength-card p {
  font-size: 15px;
  line-height: 1.85;
}

/* PROBLEMS カード補足：13px → 14px に増量 */
.qz-lp .problem-text span {
  font-size: 14px;
  line-height: 1.7;
}

/* CASES カード本文：事例の読みやすさ向上 */
.qz-lp .case-body p {
  font-size: 15px;
  line-height: 1.85;
}

/* Philosophy セクションのカード本文 */
.qz-lp .why-sf-card p {
  font-size: 15px;
  line-height: 1.85;
}

/* Hero サブコピー lead-line：問いかけ型に対する直後の説明 */
.qz-lp .hero-sub.hero-sub-v8 .lead-line {
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.8;
}

/* 各セクションのリード文（lead-text）系を統一的に大きく */
.qz-lp .empathy-sub,
.qz-lp .crisis .lead-text,
.qz-lp .problems .lead-text,
.qz-lp .approach .lead-text,
.qz-lp .why-sf.philosophy .lead-text,
.qz-lp .transformation-head .lead-text,
.qz-lp .final-cta .lead {
  font-size: 16.5px;
  line-height: 1.8;
}

/* ===== (3) その他、可読性に直結する細部 ===== */

/* form-note（フォーム下部の補足）— --ink-mute 適用で自動的に濃くなる */
/* （特別な指定不要） */

/* リフレインバナー本文 */
.qz-lp .refrain-banner {
  font-size: 15px;
  line-height: 1.8;
}

/* TARGET セクションのリストアイテム */
.qz-lp .target-box li {
  font-size: 15px;
  line-height: 1.7;
}

/* SERVICE MENU カード本文 */
.qz-lp .menu-card p {
  font-size: 14.5px;
  line-height: 1.8;
}

/* SERVICE MENU 補足ボックス */
.qz-lp .menu-aside {
  font-size: 15px;
  line-height: 1.85;
}

/* COMPARE TABLE の延命コラム（補足文） */
.qz-lp .compare-aside {
  font-size: 14.5px;
  line-height: 1.85;
}

/* ============================================================
   タブレット（〜1024px）: 4列カードを 2列に降格
============================================================ */
@media (max-width: 1024px) {
  .qz-lp .menu-grid,
  .qz-lp .strength-grid,
  .qz-lp .case-grid,
  .qz-lp .cta-cards,
  .qz-lp .target-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* 3列の why-sf-grid もタブレットで 2列に */
  .qz-lp .why-sf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* 最後のカードが余ったら中央寄せ（grid の最終1個） */
  .qz-lp .why-sf-grid > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 10px);
    justify-self: center;
  }

  /* SF Points も同様 */
  .qz-lp .why-sf.philosophy .sf-adoption-box .sf-points {
    grid-template-columns: repeat(2, 1fr);
  }

  /* セクション余白を少し詰める */
  .qz-lp section { padding: 88px 0; }
  .qz-lp .container,
  .qz-lp .container-narrow { padding: 0 28px; }

  /* Hero タイトル */
  .qz-lp .hero h1 { font-size: 38px; }
}

/* ============================================================
   スマホ（〜768px）: 全カードを 1列に縦並び化
============================================================ */
@media (max-width: 768px) {

  /* ----- カード系グリッドを全て 1列に -----
     既存 styles.css (980px) と同じ宣言だが、v26 の方が
     後から読まれるので確実に最後勝ちで効く ----- */
  .qz-lp .crisis-grid,
  .qz-lp .step-grid,
  .qz-lp .menu-grid,
  .qz-lp .strength-grid,
  .qz-lp .case-grid,
  .qz-lp .cta-cards,
  .qz-lp .problem-grid,
  .qz-lp .target-grid,
  .qz-lp .ba-grid,
  .qz-lp .ba-grid-visual,
  .qz-lp .ui-grid,
  .qz-lp .ui-compare,
  .qz-lp .why-sf-grid,
  .qz-lp .stats-row,
  .qz-lp .footer-top,
  .qz-lp .form-checks {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* タブレットルールの「最後カード中央寄せ」をリセット */
  .qz-lp .why-sf-grid > *:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }

  .qz-lp .why-sf.philosophy .sf-adoption-box .sf-points {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .qz-lp .form-benefits ul { grid-template-columns: 1fr; }

  /* ----- Story Pair（Before/After 比較）を縦積み ----- */
  .qz-lp .story-pair {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .qz-lp .story-arrow {
    transform: rotate(90deg);
    padding: 6px 0;
    align-self: center;
  }

  /* ----- BA / UI 比較の矢印を縦向きに ----- */
  .qz-lp .ba-arrow,
  .qz-lp .ui-arrow {
    transform: rotate(90deg);
    padding: 14px 0;
    margin: 4px 0;
  }
  .qz-lp .ba-arrow .arrow-label,
  .qz-lp .ui-arrow .arrow-label {
    writing-mode: horizontal-tb;
    -webkit-writing-mode: horizontal-tb;
  }

  /* ----- Section 余白 ----- */
  .qz-lp section { padding: 56px 0; }
  .qz-lp .container,
  .qz-lp .container-narrow { padding: 0 20px; }

  /* ----- Hero ----- */
  .qz-lp .hero { padding: 84px 0 80px; }
  .qz-lp .hero h1 {
    font-size: 28px;
    line-height: 1.35;
    letter-spacing: 0.01em;
  }
  .qz-lp .hero-sub.hero-sub-v8 .lead-line {
    font-size: 15px;
    line-height: 1.75;
  }
  .qz-lp .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .qz-lp .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .qz-lp .hero-ctas .btn,
  .qz-lp .hero-ctas a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .qz-lp .hero-meta {
    text-align: center;
    margin-top: 8px;
    font-size: 12.5px;
  }

  /* ----- 各セクション見出し（h2 系）----- */
  .qz-lp h2,
  .qz-lp .section-title {
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: 0.01em;
  }
  .qz-lp .eyebrow { font-size: 11px; }

  /* ----- リード文（v25 で大きくした分）をモバイルで少し戻す ----- */
  .qz-lp .empathy-sub,
  .qz-lp .crisis .lead-text,
  .qz-lp .problems .lead-text,
  .qz-lp .approach .lead-text,
  .qz-lp .why-sf.philosophy .lead-text,
  .qz-lp .transformation-head .lead-text,
  .qz-lp .final-cta .lead {
    font-size: 15px;
    line-height: 1.75;
  }

  /* ----- 比較表（横スクロール許容）----- */
  .qz-lp .compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* 端のフェードでスクロール可能性を視覚的に示唆 */
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%);
    padding-right: 4px;
  }
  .qz-lp .compare-wrap table { min-width: 720px; }
  .qz-lp .compare-intro { font-size: 14.5px; line-height: 1.75; }
  .qz-lp .compare-aside { font-size: 13.5px; line-height: 1.75; padding: 14px 16px; }

  /* ----- フォーム ----- */
  .qz-lp .form-wrap { padding: 28px 18px; }
  .qz-lp .form-row {
    flex-direction: column;
    gap: 12px;
  }
  .qz-lp .form-row > * { width: 100%; }
  .qz-lp .form-head h3 { font-size: 20px; }
  .qz-lp .form-lead { font-size: 14.5px; }

  /* ----- ナビゲーション ----- */
  .qz-lp .nav-links { display: none; }
  .qz-lp .app-nav { padding: 10px 16px; }
  .qz-lp .nav-cta {
    padding: 8px 14px;
    font-size: 12px;
  }

  /* ----- フッター ----- */
  .qz-lp .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 24px 0;
  }
  .qz-lp .footer-brand .logo {
    /* v24 で白カード化したロゴ、スマホでも見栄え維持 */
    padding: 10px 14px;
  }
  .qz-lp .footer-col { padding-bottom: 8px; }

  /* ----- フローティング CTA を小さく ----- */
  .qz-lp .floating-cta {
    right: 14px;
    bottom: 14px;
    padding: 12px 18px;
    font-size: 13px;
    border-radius: 100px;
  }

  /* ----- オフコン画面（OFC）の縦並び ----- */
  .qz-lp .ofc-info .ofc-row.r1,
  .qz-lp .ofc-info .ofc-row { grid-template-columns: 1fr; gap: 4px; }
  .qz-lp .ofc-title-row { flex-wrap: wrap; gap: 8px; }

  /* ----- FAQ ----- */
  .qz-lp .faq-question { font-size: 15px; line-height: 1.55; }
  .qz-lp .faq-answer  { font-size: 14.5px; line-height: 1.8; }

  /* ----- カード内テキスト微調整 ----- */
  .qz-lp .strength-card p,
  .qz-lp .case-body p,
  .qz-lp .why-sf-card p { font-size: 14.5px; line-height: 1.8; }
  .qz-lp .problem-text span { font-size: 13.5px; }
  .qz-lp .menu-card p { font-size: 14px; line-height: 1.75; }
  .qz-lp .menu-aside { font-size: 14px; }

  /* ----- 思想セクションの強調ボックス（visibility 重要） ----- */
  .qz-lp .why-sf.philosophy .sf-adoption-box {
    padding: 18px 16px;
  }
  .qz-lp .why-sf.philosophy .sf-adoption-box h4 {
    font-size: 16px;
  }

  /* ----- ロゴウォール ----- */
  .qz-lp .logo-wall .logos { grid-template-columns: repeat(3, 1fr); gap: 12px; }

  /* ----- 画像が overflow しないように ----- */
  .qz-lp img { max-width: 100%; height: auto; }

  /* ----- リフレインバナー ----- */
  .qz-lp .refrain-banner { font-size: 14px; line-height: 1.7; padding: 16px 18px; }
}

/* ============================================================
   細身スマホ（〜440px）: タイポをもう一段絞る
============================================================ */
@media (max-width: 440px) {
  .qz-lp .container,
  .qz-lp .container-narrow { padding: 0 16px; }
  .qz-lp section { padding: 48px 0; }

  .qz-lp .hero { padding: 76px 0 72px; }
  .qz-lp .hero h1 { font-size: 24px; }
  .qz-lp .hero-sub.hero-sub-v8 .lead-line { font-size: 14px; }

  .qz-lp h2,
  .qz-lp .section-title { font-size: 20px; }

  .qz-lp .compare-wrap table { min-width: 640px; }

  /* ロゴウォール 2列に */
  .qz-lp .logo-wall .logos { grid-template-columns: repeat(2, 1fr); }

  /* フローティング CTA さらにコンパクト */
  .qz-lp .floating-cta {
    right: 10px;
    bottom: 10px;
    padding: 10px 14px;
    font-size: 12px;
  }
}

/* ============================================================
   〜980px 全域: Hero のオフコン画面を grid 維持
   （styles.css 980px の 1fr 強制と v26 768px の 1fr 強制を
    両方とも .hero 限定で上書きする）
============================================================ */
@media (max-width: 980px) {
  .qz-lp .hero .ofc-info .ofc-row {
    grid-template-columns: 78px 50px 78px minmax(0, 1fr);
    gap: 0;
  }
  .qz-lp .hero .ofc-info .ofc-row.r1 {
    grid-template-columns: 78px 50px 70px 88px minmax(0, 1fr);
  }
  .qz-lp .hero .ofc-info .ofc-cell {
    font-size: 11.5px;
    padding: 5px 8px;
    line-height: 1.45;
  }
}

/* ============================================================
   〜768px スマホ: さらにタイトに（タップ域は確保）
============================================================ */
@media (max-width: 768px) {
  .qz-lp .hero .ofc-info .ofc-row {
    grid-template-columns: 74px 46px 74px minmax(0, 1fr);
  }
  .qz-lp .hero .ofc-info .ofc-row.r1 {
    grid-template-columns: 74px 46px 64px 82px minmax(0, 1fr);
  }
  .qz-lp .hero .ofc-info .ofc-cell {
    font-size: 11px;
    padding: 4px 6px;
  }
  /* オフコン画面外枠の左右余白を詰める */
  .qz-lp .hero .ofc-screen {
    padding: 12px 10px 14px;
  }
  /* タイトル行は文字を少し縮める */
  .qz-lp .hero .ofc-title { font-size: 14px; letter-spacing: 0.3em; }
  .qz-lp .hero .ofc-date  { font-size: 11px; }
  /* 商品明細テーブルもフィット */
  .qz-lp .hero .ofc-detail .ofc-cell {
    font-size: 10.5px;
    padding: 3px 4px;
  }
  /* 合計欄 */
  .qz-lp .hero .ofc-total { font-size: 12px; }
  .qz-lp .hero .ofc-footer,
  .qz-lp .hero .order-footer { font-size: 10.5px; }
}

/* ============================================================
   〜440px 細身スマホ: 列幅をさらに絞る
============================================================ */
@media (max-width: 440px) {
  .qz-lp .hero .ofc-info .ofc-row {
    grid-template-columns: 64px 40px 64px minmax(0, 1fr);
  }
  .qz-lp .hero .ofc-info .ofc-row.r1 {
    grid-template-columns: 64px 40px 56px 70px minmax(0, 1fr);
  }
  .qz-lp .hero .ofc-info .ofc-cell {
    font-size: 10px;
    padding: 3px 4px;
  }
  .qz-lp .hero .ofc-screen {
    padding: 10px 8px 12px;
  }
  .qz-lp .hero .ofc-title { font-size: 12.5px; letter-spacing: 0.22em; }
  .qz-lp .hero .ofc-detail .ofc-cell {
    font-size: 9.5px;
    padding: 2px 3px;
  }
}

/* ============================================================
   ① Hero オフコン r1 行の日付セル truncation 修正
   v27 の column 幅を UI Before と同等まで広げ、font を縮める
============================================================ */
@media (max-width: 980px) {
  .qz-lp .hero .ofc-info .ofc-cell {
    font-size: 10px;
    padding: 4px 6px;
    line-height: 1.4;
  }
  .qz-lp .hero .ofc-info .ofc-row {
    grid-template-columns: 78px 50px 78px minmax(0, 1fr);
  }
  .qz-lp .hero .ofc-info .ofc-row.r1 {
    /* 受注番号 | 02781 | 受注日付 | 2026/04/23 | 希望納期 ... */
    grid-template-columns: 70px 48px 64px 96px minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .qz-lp .hero .ofc-info .ofc-cell {
    font-size: 9.5px;
    padding: 3px 5px;
  }
  .qz-lp .hero .ofc-info .ofc-row {
    grid-template-columns: 70px 46px 70px minmax(0, 1fr);
  }
  .qz-lp .hero .ofc-info .ofc-row.r1 {
    grid-template-columns: 64px 44px 60px 92px minmax(0, 1fr);
  }
  .qz-lp .hero .ofc-screen {
    padding: 12px 10px 14px;
  }
}

@media (max-width: 440px) {
  .qz-lp .hero .ofc-info .ofc-cell {
    font-size: 8.5px;
    padding: 3px 4px;
  }
  .qz-lp .hero .ofc-info .ofc-row {
    grid-template-columns: 60px 40px 60px minmax(0, 1fr);
  }
  .qz-lp .hero .ofc-info .ofc-row.r1 {
    grid-template-columns: 58px 38px 54px 82px minmax(0, 1fr);
  }
}

/* ============================================================
   ② 矢印ラベルの縦書き解消
   親 rotate を解除 → arrow-icon にだけ 90deg rotate
   label は horizontal-tb で必ず横書きに
============================================================ */
@media (max-width: 768px) {
  /* 親の rotate(90deg) を解除（v26 の指定を打ち消す）*/
  .qz-lp .ba-arrow,
  .qz-lp .ui-arrow {
    transform: none;
    flex-direction: row;
    gap: 10px;
    padding: 10px 0;
    margin: 0;
  }
  /* arrow-icon (→) だけ縦向き（↓）にする */
  .qz-lp .ba-arrow .arrow-icon,
  .qz-lp .ui-arrow .arrow-icon {
    transform: rotate(90deg);
    display: inline-block;
    font-size: 26px;
  }
  /* arrow-label は確実に横書き */
  .qz-lp .ba-arrow .arrow-label,
  .qz-lp .ui-arrow .arrow-label {
    writing-mode: horizontal-tb;
    -webkit-writing-mode: horizontal-tb;
    text-orientation: mixed;
    transform: none;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  /* story-arrow .puck (TO BE) も rotate せず横向きに */
  .qz-lp .story-arrow {
    transform: none;
    height: auto;
    padding: 12px 0;
  }
  .qz-lp .story-arrow .puck {
    transform: none;
    writing-mode: horizontal-tb;
    -webkit-writing-mode: horizontal-tb;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .qz-lp .story-arrow .puck::after {
    content: "\25BC";  /* 下向き三角 */
    font-size: 9px;
    display: inline-block;
  }
}

/* ============================================================
   ③ 実績(stats-row) はスマホでも 2x2 グリッドで横並び維持
   （v26 で 1fr 縦並びにしていたのを 2列に戻す）
============================================================ */
@media (max-width: 768px) {
  .qz-lp .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 12px;
  }
  /* 各 .stat の余白とフォントをコンパクトに */
  .qz-lp .stats-row .stat {
    padding: 16px 10px;
    text-align: center;
  }
  .qz-lp .stats-row .stat .num {
    font-size: 32px;
    line-height: 1.1;
  }
  .qz-lp .stats-row .stat .unit {
    font-size: 14px;
  }
  .qz-lp .stats-row .stat .label {
    font-size: 11.5px;
    line-height: 1.5;
    margin-top: 6px;
  }
  /* label-only セル（販売管理・在庫管理 特化）の num を縮小 */
  .qz-lp .stats-row .stat.label-only .num {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
  }
  /* 中央の縦区切り線が縦並びでは邪魔なので消す */
  .qz-lp .stats-row .stat::after { display: none; }
}

@media (max-width: 440px) {
  .qz-lp .stats-row {
    gap: 12px 10px;
  }
  .qz-lp .stats-row .stat {
    padding: 14px 8px;
  }
  .qz-lp .stats-row .stat .num {
    font-size: 28px;
  }
  .qz-lp .stats-row .stat.label-only .num {
    font-size: 13.5px;
  }
}

/* ============================================================
   ④ フローティング CTA：モバイルでも追従表示
   v26 で位置とフォントを調整済みだが、HTML 要素自体が
   v26/v27 で失われていた。v28 HTML で復活、CSS もここで
   モバイル域の見え方を整える。
============================================================ */
@media (max-width: 768px) {
  .qz-lp .floating-cta {
    right: 14px;
    bottom: 14px;
    padding: 12px 18px;
    font-size: 13px;
    border-radius: 100px;
    box-shadow: 0 10px 24px -8px rgba(217, 78, 62, 0.55);
    /* タップ域確保のため min-height */
    min-height: 44px;
    align-items: center;
  }
}

@media (max-width: 440px) {
  .qz-lp .floating-cta {
    right: 12px;
    bottom: 12px;
    padding: 11px 16px;
    font-size: 12.5px;
  }
}

.qz-lp .problems .lead-text {
  text-align: left;
}

/* リード文の strong（黒太字）も親に従う */
.qz-lp .problems .lead-text strong {
  text-align: inherit;
}

/* ============================================================
   ① BA / UI 矢印ラベルを全画面幅で横書きに
============================================================ */
.qz-lp .ba-arrow .arrow-label,
.qz-lp .ui-arrow .arrow-label {
  writing-mode: horizontal-tb;
  -webkit-writing-mode: horizontal-tb;
  text-orientation: mixed;
  letter-spacing: 0.12em;
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
  line-height: 1.4;
}

/* 親コンテナの rotate を全幅で解除（PC は元から rotate 無し、
   980-768px 帯で styles.css が掛けていた rotate を打ち消す） */
.qz-lp .ba-arrow,
.qz-lp .ui-arrow {
  transform: none;
}

/* タブレット帯（768-980px）でも rotate を確実に解除 */
@media (max-width: 980px) and (min-width: 769px) {
  .qz-lp .ba-arrow,
  .qz-lp .ui-arrow {
    transform: none !important;  /* styles.css の rotate(90deg) を確実に上書き */
  }
}

/* arrow-icon を PC では → のまま、モバイル(<768px) では ↓ に
   ※ <768px の arrow-icon rotate(90deg) は styles_v28.css で
     設定済み。ここでは PC/タブレットの挙動だけ明示 */
@media (min-width: 769px) {
  .qz-lp .ba-arrow .arrow-icon,
  .qz-lp .ui-arrow .arrow-icon {
    transform: none;  /* PC: → のまま */
  }
}

/* ============================================================
   ② Approach → Transformation 間の余白圧縮
============================================================ */
.qz-lp .approach {
  padding-bottom: 60px;
}
.qz-lp .transformation {
  padding-top: 60px;
}

/* tablet 以下では section padding が 80px に縮むので、
   それに合わせてさらに調整 */
@media (max-width: 980px) {
  .qz-lp .approach { padding-bottom: 48px; }
  .qz-lp .transformation { padding-top: 48px; }
}
@media (max-width: 768px) {
  .qz-lp .approach { padding-bottom: 36px; }
  .qz-lp .transformation { padding-top: 36px; }
}

/* ============================================================
   .ba-grid-visual 内に置かれた .ui-arrow のレイアウト調整
   （UI セクション本来の .ui-arrow は ui-compare 配下、こちらは
    ba-grid-visual 配下なので個別調整できる）
============================================================ */

.qz-lp .ba-grid-visual .ui-arrow {
  align-self: center;
  /* PC 80px 列内に収める */
  flex-direction: column;
  gap: 8px;
}

/* PC: 縦方向に line | ▶ | EVOLVE | line を並べる */
@media (min-width: 769px) {
  .qz-lp .ba-grid-visual .ui-arrow {
    flex-direction: column;
  }
  .qz-lp .ba-grid-visual .ui-arrow .line {
    width: 1px;
    height: 28px;
  }
  .qz-lp .ba-grid-visual .ui-arrow .chev {
    transform: rotate(90deg);  /* ▶ を ▼ 風に下向き化 */
    font-size: 22px;
  }
  .qz-lp .ba-grid-visual .ui-arrow > span:nth-child(3) {
    /* EVOLVE 文字 */
    writing-mode: horizontal-tb;
    letter-spacing: 0.16em;
    font-size: 11px;
  }
}

/* モバイル(<768px): 横方向に並べる。BEFORE と AFTER が縦積みに
   なるので、矢印はその間に水平に並ぶ */
@media (max-width: 768px) {
  .qz-lp .ba-grid-visual .ui-arrow {
    flex-direction: row;
    gap: 8px;
    padding: 12px 0;
  }
  .qz-lp .ba-grid-visual .ui-arrow .line {
    width: 28px;
    height: 1px;
  }
  .qz-lp .ba-grid-visual .ui-arrow .chev {
    transform: rotate(90deg);  /* ▶ を ▼ に：縦積みなので下向き */
    font-size: 20px;
  }
  .qz-lp .ba-grid-visual .ui-arrow > span:nth-child(3) {
    font-size: 11px;
    letter-spacing: 0.14em;
  }
  /* styles_v7.css の .ba-grid-visual .ba-arrow rotate(90deg) は
     クラス自体が消えたので発動しないが、念のため .ui-arrow への
     rotate も明示的に解除しておく */
  .qz-lp .ba-grid-visual .ui-arrow {
    transform: none;
  }
}

/* ============================================================
   全 .ui-arrow に共通の水平フロー（base, 全幅）
============================================================ */
.qz-lp .ui-arrow {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--amber);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

/* line を横線に統一（縦線 1px × 40px → 横線 28px × 1px） */
.qz-lp .ui-arrow .line {
  width: 28px;
  height: 1px;
  background: rgba(217, 152, 82, 0.4);
}

/* chev サイズ */
.qz-lp .ui-arrow .chev {
  display: inline-block;
  font-size: 22px;
  line-height: 1;
}

/* グリッド内での縦中央揃え */
.qz-lp .ba-grid-visual .ui-arrow,
.qz-lp .ui-grid .ui-arrow {
  align-self: center;
}

/* ============================================================
   v31 の .ba-grid-visual .ui-arrow 上書きを明示的に取り消す
   （flex-direction: column を row に戻す）
============================================================ */
.qz-lp .ba-grid-visual .ui-arrow {
  flex-direction: row;
}
@media (min-width: 769px) {
  .qz-lp .ba-grid-visual .ui-arrow {
    flex-direction: row;
  }
  .qz-lp .ba-grid-visual .ui-arrow .line {
    width: 28px;
    height: 1px;
  }
  /* v31 で PC chev に rotate(90deg) を掛けていたのを解除 */
  .qz-lp .ba-grid-visual .ui-arrow .chev {
    transform: none;
  }
}

/* ============================================================
   Chev 向きを画面幅で切替
   PC（≥769px）: ▶ (右向き、レイアウト＝横並びと一致)
   Mobile（≤768px）: ▼ (下向き = ▶ を 90deg 回転、縦積みと一致)
============================================================ */
@media (min-width: 769px) {
  .qz-lp .ui-arrow .chev {
    transform: none;
  }
}

@media (max-width: 768px) {
  .qz-lp .ui-arrow .chev {
    transform: rotate(90deg);
  }
  /* モバイルでは line を少し短くしてバランスを取る */
  .qz-lp .ui-arrow .line {
    width: 24px;
  }
  .qz-lp .ui-arrow {
    padding: 10px 0;
    gap: 8px;
  }
}

/* ヘッダーロゴ: <div> なのでクリック不可 */
.qz-lp .global-header .logo.logo-image {
  cursor: default;
  /* hover で動くのは不自然なので無効化 */
  pointer-events: none;
  /* 子要素の画像クリック反応も止める */
}
.qz-lp .global-header .logo.logo-image * {
  pointer-events: none;
}

/* フッターロゴ: <a> としてホバー時に微かに明るく */
.qz-lp .site-footer .footer-brand a.logo.logo-image {
  text-decoration: none;
  transition: opacity 0.2s ease;
  cursor: pointer;
}
.qz-lp .site-footer .footer-brand a.logo.logo-image:hover {
  opacity: 0.85;
}

/* フッター会社情報リンクのホバー時、別タブを示唆する微妙な変化 */
.qz-lp .site-footer .footer-col.footer-info a[target="_blank"] {
  transition: color 0.2s ease;
}
.qz-lp .site-footer .footer-col.footer-info a[target="_blank"]:hover {
  color: var(--amber);
}

/* form 要素の既定 margin を消す */
.qz-lp form.form-wrap {
  margin: 0 auto;  /* form 要素でも親 .form-wrap の中央寄せを維持 */
}

/* reCAPTCHA wrapper */
.qz-lp .form-recaptcha {
  margin: 8px 0 16px;
  display: flex;
  justify-content: center;
}

/* モバイルでは reCAPTCHA がやや大きく感じるので transform で縮小 */
@media (max-width: 440px) {
  .qz-lp .form-recaptcha .g-recaptcha {
    transform: scale(0.88);
    transform-origin: center;
  }
}

/* select の placeholder option を薄く（未選択時のみ） */
.qz-lp .form-wrap select:invalid,
.qz-lp .form-wrap select option[value=""] {
  color: var(--ink-mute);
}
.qz-lp .form-wrap select:valid {
  color: var(--ink);
}

/* required の必須マーカーを若干強調 */
.qz-lp .form-wrap input:required:invalid,
.qz-lp .form-wrap select:required:invalid,
.qz-lp .form-wrap textarea:required:invalid {
  /* 初期状態は通常表示（ユーザー操作時のみ警告色） */
}
.qz-lp .form-wrap input:required:invalid:not(:placeholder-shown),
.qz-lp .form-wrap textarea:required:invalid:not(:placeholder-shown) {
  border-color: rgba(217, 78, 62, 0.5);
}

/* ============================================================
   フォーム必須入力チェック: invalid 状態の視覚強調
   ============================================================ */
.qz-lp .form-wrap input:user-invalid,
.qz-lp .form-wrap select:user-invalid,
.qz-lp .form-wrap textarea:user-invalid {
  border-color: rgba(217, 78, 62, 0.7);
  background-color: rgba(217, 78, 62, 0.04);
}
.qz-lp .form-wrap input:user-invalid:focus,
.qz-lp .form-wrap select:user-invalid:focus,
.qz-lp .form-wrap textarea:user-invalid:focus {
  outline: 2px solid rgba(217, 78, 62, 0.5);
  outline-offset: 2px;
}
/* 個人情報同意 checkbox の invalid 強調 */
.qz-lp .form-privacy input[type="checkbox"]:user-invalid {
  outline: 2px solid rgba(217, 78, 62, 0.7);
  outline-offset: 2px;
}

