/* ===================================================================
 * BizManga LP — v2 Design System
 * "MANGA MAGAZINE × BRAND SITE" — bold editorial cover, comic-panel grids,
 * halftone textures, oversized display typography, #e85500 activation.
 * Created: 2026-05-13. Pilot: recruit-manga.html. Then rolled out to 7 LPs.
 * Class prefix: .lpv2-*  (coexists with legacy .pm-* until full migration)
 * =================================================================== */

/* SEO/a11y: 視覚非表示でクローラ・スクリーンリーダーには読ませる
 * （H1へ主要KWを補うために使用。画面表示は変えない） */
.lpv2-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------
 * 0. Tokens
 * ------------------------------------------------------------------ */
:root {
  --lpv2-paper: #ffffff;
  --lpv2-cream: #fff8ed;
  --lpv2-cream-deep: #f5ecd9;
  --lpv2-ink: #0a0a0a;
  --lpv2-ink-soft: #2a2520;
  --lpv2-ink-mute: #6a6258;
  --lpv2-rule: #0a0a0a;
  --lpv2-rule-soft: #e4dbc6;
  --lpv2-accent: #e85500;
  --lpv2-accent-deep: #b94100;
  --lpv2-accent-soft: rgba(232, 85, 0, 0.12);
  --lpv2-yellow: #ffd54a;

  --lpv2-font-display: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --lpv2-font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --lpv2-font-mono: 'Public Sans', 'Noto Sans JP', sans-serif;

  --lpv2-shadow-panel: 8px 8px 0 var(--lpv2-rule);
  --lpv2-shadow-panel-sm: 5px 5px 0 var(--lpv2-rule);
  --lpv2-shadow-card: 0 28px 60px -28px rgba(20, 12, 0, 0.45);
  --lpv2-border-w: 3px;
}

/* ------------------------------------------------------------------
 * 1. Page base
 * ------------------------------------------------------------------ */
.lpv2-page { background: var(--lpv2-paper); color: var(--lpv2-ink); font-family: var(--lpv2-font-sans); }
.lpv2-page *, .lpv2-page *::before, .lpv2-page *::after { box-sizing: border-box; }

.lpv2-container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.lpv2-container--narrow { max-width: 880px; }
.lpv2-container--wide { max-width: 1320px; }
@media (max-width: 720px) { .lpv2-container { padding: 0 20px; } }

.lpv2-section { padding: 120px 0; position: relative; }
.lpv2-section--cream { background: var(--lpv2-cream); }
.lpv2-section--ink { background: var(--lpv2-ink); color: #fff; }
.lpv2-section--cream-deep { background: var(--lpv2-cream-deep); }
@media (max-width: 720px) { .lpv2-section { padding: 72px 0; } }

/* Reusable halftone texture (inline svg via background-image) */
.lpv2-halftone {
  background-image: radial-gradient(currentColor 1px, transparent 1.4px);
  background-size: 7px 7px;
  background-position: 0 0;
}

/* SP-only line break — <br class="sp-br"> renders only on mobile */
.sp-br { display: none; }
@media (max-width: 720px) {
  .sp-br { display: initial; }
}

/* ------------------------------------------------------------------
 * 2. Common typography
 * ------------------------------------------------------------------ */
.lpv2-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--lpv2-font-mono);
  font-size: 12px; font-weight: 900;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--lpv2-accent);
  margin: 0 0 24px;
}
.lpv2-eyebrow::before { content: ""; width: 40px; height: 2px; background: var(--lpv2-accent); display: inline-block; }
.lpv2-eyebrow--ink { color: var(--lpv2-ink); }
.lpv2-eyebrow--ink::before { background: var(--lpv2-ink); }
.lpv2-eyebrow--light { color: var(--lpv2-yellow); }
.lpv2-eyebrow--light::before { background: var(--lpv2-yellow); }

.lpv2-h2 {
  font-family: var(--lpv2-font-display);
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0.02em;
  margin: 0 0 28px;
  color: inherit;
}
.lpv2-h2 em {
  font-style: normal;
  color: var(--lpv2-accent);
  background-image: linear-gradient(to top, var(--lpv2-yellow) 0%, var(--lpv2-yellow) 28%, transparent 28%);
  padding: 0 4px;
}

.lpv2-h3 {
  font-family: var(--lpv2-font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: inherit;
  margin: 0 0 12px;
}
.lpv2-h3 em { font-style: normal; color: var(--lpv2-accent); }

.lpv2-lead {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 2;
  color: var(--lpv2-ink-soft);
  letter-spacing: 0.04em;
  margin: 0;
}
.lpv2-lead--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

.lpv2-section-head {
  text-align: center; margin: 0 auto 64px; max-width: 820px;
  position: relative; isolation: isolate;
}
/* 全章見出し裏のクリーム色モヤモヤオーバーレイ (PC/SP両対応) */
.lpv2-section-head::before {
  content: "";
  position: absolute;
  inset: -40px -30px;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 50% 40%, rgba(255, 213, 74, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 85% 75% at 50% 50%, rgba(255, 248, 237, 1) 0%, rgba(255, 248, 237, 0.65) 55%, transparent 100%);
  filter: blur(14px);
  pointer-events: none;
}
@media (max-width: 720px) {
  .lpv2-section-head::before {
    inset: -28px -18px;
    filter: blur(10px);
  }
}
.lpv2-section-head .lpv2-eyebrow { justify-content: center; }
.lpv2-section-head .lpv2-eyebrow::before { display: none; }
/* 章番号 (大数字 03) と章マーク (CHAPTER 03 · FORMATS) は非表示 (2026-05-15)
   各章は h2 (採用シーンのあらゆる接点に。等) だけで構成 */
.lpv2-section-head .lpv2-chapter-mark,
.lpv2-section-head .lpv2-chapter-num {
  display: none;
}

/* ------------------------------------------------------------------
 * 3. Hero — split layout (text left, character image right) + bottom KPI bar
 *    Inspired by ContentX HP. Designed for hero images with right-positioned
 *    character and left-side cream/empty space (e.g. recruit-hero-v2.webp).
 * ------------------------------------------------------------------ */
.lpv2-hero {
  position: relative;
  background: var(--lpv2-cream);
  color: var(--lpv2-ink);
  overflow: hidden;
  margin-top: 68px;
  border-bottom: var(--lpv2-border-w) solid var(--lpv2-ink);
}

.lpv2-hero-stage {
  position: relative;
  min-height: clamp(520px, 60vw, 720px);
  display: block;
}

.lpv2-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.lpv2-hero-bg picture, .lpv2-hero-bg img {
  width: 100%; height: 100%; display: block;
}
.lpv2-hero-bg img {
  object-fit: cover;
  object-position: right center;
}
/* Cream overlay: 88% opacity on left ~50%, fades out by 70% (image fully visible on right) */
.lpv2-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 248, 237, 0.88) 0%,
    rgba(255, 248, 237, 0.88) 45%,
    rgba(255, 248, 237, 0.6) 55%,
    rgba(255, 248, 237, 0) 70%
  );
  pointer-events: none;
}

.lpv2-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 96px 56px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  min-height: clamp(520px, 60vw, 720px);
}
.lpv2-hero-text {
  max-width: 560px;
  margin-left: clamp(16px, 4vw, 72px); /* テキスト全体を背景の白い領域 (中央寄り) に */
}

.lpv2-hero-eyebrow {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px;
  margin: 0 0 30px;
}
/* JP keyword = manga-magazine masthead badge (black box + comic-panel orange shadow) */
.lpv2-hero-eyebrow-ja {
  font-family: var(--lpv2-font-sans);
  font-size: 19px; font-weight: 900;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--lpv2-ink);
  padding: 10px 20px;
  box-shadow: 4px 4px 0 var(--lpv2-accent);
}
.lpv2-hero-eyebrow-en {
  font-family: var(--lpv2-font-mono);
  font-size: 14px; font-weight: 900;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--lpv2-accent);
  padding-left: 2px;
}

.lpv2-hero-title {
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 60px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--lpv2-ink);
  margin: 0 0 32px;
  word-break: keep-all;
  overflow-wrap: normal;
}
/* 各テキスト要素を「絶対に途中改行しない単位」に */
.lpv2-hero-title > span,
.lpv2-hero-title > em {
  display: inline;
  white-space: nowrap;
}
.lpv2-hero-title em {
  font-style: normal; color: var(--lpv2-accent);
  position: relative;
}
.lpv2-hero-title em::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 6%;
  height: 16%; background: rgba(255, 213, 74, 0.6);
  z-index: -1;
}

.lpv2-hero-sub {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.95;
  color: var(--lpv2-ink-soft);
  margin: 0 0 40px;
  max-width: 480px;
  letter-spacing: 0.02em;
}

.lpv2-hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ----- Responsive overrides (placed AFTER base rules so they win) ----- */
@media (max-width: 1024px) {
  .lpv2-hero-inner { padding: 72px 32px 64px; gap: 24px; }
}
@media (max-width: 720px) {
  .lpv2-hero { background: var(--lpv2-cream); }
  /* Mobile: portrait image shown as-is, no overlay or card backing. Text legibility comes
     from heavy text-shadow + bold weight rather than a background card. */
  .lpv2-hero-bg::after { background: none; display: none; }
  /* SP: 画像を下げてキャラの顔・目が見出しに被らないようにする */
  .lpv2-hero-bg img {
    object-fit: cover;
    object-position: center top;
    height: 135%;
    margin-top: 0;
  }
  .lpv2-hero-stage { min-height: clamp(720px, 140vw, 980px); }
  .lpv2-hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 18px 32px; /* 上余白を増やしてheroコンテンツを少し下げる */
    min-height: clamp(720px, 140vw, 980px);
    align-items: start; /* テキストを上端に */
  }
  .lpv2-hero-text {
    max-width: 100%;
    margin-left: 0;
    margin-top: 0;
    /* カード化は撤去。テキスト自体の縁取りで可読性を担保 */
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* Eyebrow (黒バナー) は SP では非表示 */
  .lpv2-hero-eyebrow { display: none; }
  /* Title — 文字自体に白の縁取り (text-stroke) */
  .lpv2-hero-title {
    font-size: clamp(34px, 9vw, 50px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
    color: var(--lpv2-ink);
    -webkit-text-stroke: 3px #fff;
    paint-order: stroke fill;
    text-shadow:
      -2px -2px 0 #fff,  2px -2px 0 #fff,
      -2px  2px 0 #fff,  2px  2px 0 #fff,
      -2px  0   0 #fff,  2px  0   0 #fff,
       0   -2px 0 #fff,  0    2px 0 #fff;
  }
  .lpv2-hero-title em {
    -webkit-text-stroke: 3px #fff;
    paint-order: stroke fill;
  }
  .lpv2-hero-sub {
    /* H1 と同じ白縁取り (太め) */
    -webkit-text-stroke: 3px #fff;
    paint-order: stroke fill;
    text-shadow:
      -2px -2px 0 #fff,  2px -2px 0 #fff,
      -2px  2px 0 #fff,  2px  2px 0 #fff,
      -2px  0   0 #fff,  2px  0   0 #fff,
       0   -2px 0 #fff,  0    2px 0 #fff;
  }
  .lpv2-hero-title em::after {
    height: 18%;
    bottom: 2%;
    background: var(--lpv2-accent);
    transform: rotate(-1.2deg);
    opacity: 0.92;
    border-radius: 2px;
  }
  /* Sub-text — heavy text-shadow so it lifts off the busy image area */
  .lpv2-hero-sub {
    max-width: 100%;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    margin: 0 0 22px;
    color: var(--lpv2-ink);
    text-shadow:
      0 0 5px rgba(255, 248, 237, 0.95),
      0 0 10px rgba(255, 248, 237, 0.85),
      0 0 16px rgba(255, 248, 237, 0.6);
  }
  /* Compact CTAs on mobile — 必ず縦並び（横並び禁止）＋内容幅で左寄せ（全幅で広がりすぎない） */
  .lpv2-hero-cta-row { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 10px; }
  .lpv2-hero-cta-row .lpv2-btn { width: auto; padding: 13px 24px; font-size: 13.5px; }
  .lpv2-hero-cta-row .lpv2-btn--lg { padding: 14px 26px; font-size: 14px; }
}

/* Bottom dark KPI strip — full-bleed dark band under the hero stage */
.lpv2-hero-stats-bar {
  position: relative;
  z-index: 2;
  background: var(--lpv2-ink);
  color: #fff;
  padding: 28px 0;
}
.lpv2-hero-stats-bar::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(232,85,0,0.16) 1px, transparent 1.4px);
  background-size: 9px 9px;
  opacity: 0.7;
  pointer-events: none;
}
.lpv2-hero-stats-bar-inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
@media (max-width: 1024px) {
  .lpv2-hero-stats-bar-inner { padding: 0 32px; gap: 16px; }
}
@media (max-width: 720px) {
  .lpv2-hero-stats-bar { padding: 20px 0; }
  .lpv2-hero-stats-bar-inner { padding: 0 20px; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
}

.lpv2-hero-stat-bar-item {
  display: flex; align-items: center; gap: 14px;
  position: relative;
}
.lpv2-hero-stat-bar-item + .lpv2-hero-stat-bar-item::before {
  content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px;
  width: 1px;
  background: rgba(255,255,255,0.16);
}
@media (max-width: 720px) {
  .lpv2-hero-stat-bar-item + .lpv2-hero-stat-bar-item::before { display: none; }
}
.lpv2-hero-stat-bar-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--lpv2-accent);
  border: 2px solid var(--lpv2-accent);
  border-radius: 50%;
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: 16px;
}
.lpv2-hero-stat-bar-icon svg { width: 18px; height: 18px; }
.lpv2-hero-stat-bar-content { min-width: 0; }
.lpv2-hero-stat-bar-label {
  font-family: var(--lpv2-font-mono);
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin: 0 0 2px;
}
.lpv2-hero-stat-bar-value {
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
  color: #fff;
  margin: 0;
  letter-spacing: 0;
}
.lpv2-hero-stat-bar-value small {
  font-size: 0.6em; color: rgba(255,255,255,0.55); margin-left: 4px; font-weight: 700;
}
.lpv2-hero-stat-bar-value em {
  font-style: normal; color: var(--lpv2-accent);
}

/* ------------------------------------------------------------------
 * 4. CTA buttons
 * ------------------------------------------------------------------ */
.lpv2-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 32px;
  font-family: var(--lpv2-font-sans);
  font-size: 15px; font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: var(--lpv2-border-w) solid var(--lpv2-rule);
  background: var(--lpv2-accent);
  color: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: var(--lpv2-shadow-panel-sm);
  cursor: pointer;
  white-space: nowrap;
}
.lpv2-btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--lpv2-rule); }
.lpv2-btn:active { transform: translate(0, 0); box-shadow: 2px 2px 0 var(--lpv2-rule); }
.lpv2-btn svg { width: 18px; height: 18px; }

.lpv2-btn--ghost {
  background: transparent; color: var(--lpv2-ink);
  box-shadow: var(--lpv2-shadow-panel-sm);
}
.lpv2-btn--ghost:hover { background: var(--lpv2-ink); color: #fff; }

.lpv2-btn--line {
  background: #06c755; color: #fff;
  border-color: var(--lpv2-rule);
}

.lpv2-btn--lg { padding: 22px 40px; font-size: 16px; }

/* Rounded pill variant — for hero CTAs in v2 split layout */
.lpv2-btn--pill {
  border-radius: 999px;
  border-width: 2px;
}
.lpv2-btn--pill.lpv2-btn--ghost {
  background: #fff;
  color: var(--lpv2-ink);
  border-color: var(--lpv2-ink);
}
.lpv2-btn--pill.lpv2-btn--ghost:hover { background: var(--lpv2-ink); color: #fff; }

.lpv2-btn--ink-on-light {
  background: var(--lpv2-ink); color: #fff;
  border-color: var(--lpv2-rule);
}
.lpv2-btn--accent-on-dark {
  background: var(--lpv2-accent); color: #fff;
  border-color: #fff;
  box-shadow: 5px 5px 0 var(--lpv2-yellow);
}
.lpv2-btn--accent-on-dark:hover { box-shadow: 7px 7px 0 var(--lpv2-yellow); }

/* ------------------------------------------------------------------
 * 5. Sticky chapter nav (TOC)
 * ------------------------------------------------------------------ */
.lpv2-toc {
  position: sticky;
  top: 68px;
  z-index: 40;
  background: var(--lpv2-ink);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.lpv2-toc-inner {
  display: flex; align-items: center; gap: 0;
  max-width: 1320px; margin: 0 auto;
  padding: 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.lpv2-toc-inner::-webkit-scrollbar { display: none; }

.lpv2-toc-label {
  flex-shrink: 0;
  font-family: var(--lpv2-font-mono);
  font-size: 11px; font-weight: 900;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--lpv2-accent);
  padding: 16px 20px 16px 0;
  border-right: 1px solid rgba(255,255,255,0.12);
  margin-right: 16px;
}

.lpv2-toc-list {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.lpv2-toc-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 16px;
  font-family: var(--lpv2-font-sans);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
}
.lpv2-toc-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 10px;
  height: 2px; background: var(--lpv2-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s ease;
}
.lpv2-toc-link:hover { color: #fff; }
.lpv2-toc-link.is-active { color: #fff; }
.lpv2-toc-link.is-active::after { transform: scaleX(1); }
.lpv2-toc-link__num {
  font-family: var(--lpv2-font-mono);
  font-size: 10px; font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--lpv2-accent);
}
@media (max-width: 720px) {
  .lpv2-toc-label { padding: 12px 14px 12px 0; font-size: 10px; letter-spacing: 0.22em; margin-right: 10px; }
  .lpv2-toc-link { padding: 12px 12px; font-size: 12px; }
  .lpv2-toc-link::after { bottom: 6px; left: 12px; right: 12px; }
}

/* ------------------------------------------------------------------
 * 6. Manifest (intro statement + KPI strip)
 * ------------------------------------------------------------------ */
.lpv2-manifest { padding: 96px 0 80px; background: var(--lpv2-cream); border-bottom: var(--lpv2-border-w) solid var(--lpv2-ink); }
.lpv2-manifest-inner { max-width: 1080px; margin: 0 auto; padding: 0 32px; text-align: center; }
.lpv2-manifest-statement {
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.7;
  color: var(--lpv2-ink);
  letter-spacing: 0.04em;
  margin: 0 0 56px;
}
.lpv2-manifest-statement em {
  font-style: normal; color: var(--lpv2-accent);
  background-image: linear-gradient(to top, var(--lpv2-yellow) 0%, var(--lpv2-yellow) 28%, transparent 28%);
  padding: 0 6px;
}

.lpv2-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .lpv2-kpi-strip { grid-template-columns: 1fr; gap: 12px; max-width: 360px; }
}
.lpv2-kpi {
  background: #fff;
  border: var(--lpv2-border-w) solid var(--lpv2-ink);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  box-shadow: var(--lpv2-shadow-panel-sm);
}
.lpv2-kpi__label {
  font-family: var(--lpv2-font-mono);
  font-size: 11px; font-weight: 900;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--lpv2-accent);
  margin: 0 0 10px;
}
.lpv2-kpi__num {
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.1;
  color: var(--lpv2-ink);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.lpv2-kpi__num small { font-size: 0.55em; font-weight: 700; margin-left: 2px; color: var(--lpv2-ink-mute); }
.lpv2-kpi__note {
  font-size: 12px; color: var(--lpv2-ink-mute);
  margin: 0; letter-spacing: 0.04em;
}

/* ------------------------------------------------------------------
 * 7. Problem panels (comic-page grid)
 * ------------------------------------------------------------------ */
.lpv2-problem { background: var(--lpv2-paper); }
.lpv2-problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px; /* ホーム「選ばれる理由」と同じ余裕 */
  max-width: 1160px;
  margin: 0 auto;
}

/* Z字交互レイアウト (ホームの「選ばれる理由」と同じ感じ) */
.lpv2-pain {
  position: relative;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start; /* 片方を展開してももう片方が引っ張られない */
  transition: transform 0.2s ease;
}
.lpv2-pain:hover { transform: none; box-shadow: none; }
/* PC: 全要素をグリッド位置で明示配置 (order/自動配置に依存しない)。
   画像は body(row1) と detail(row2) の2行にまたがせ、詳細を本文直下に出す (#034)。
   order に頼ると開閉時に再配置されて左右が反転するため明示固定 (#035) */
/* 奇数(1,3…): 画像=左 / 文章=右 */
.lpv2-pain .lpv2-pain__illust { align-self: start; grid-column: 1; grid-row: 1 / span 2; }
.lpv2-pain .lpv2-pain__body   { grid-column: 2; grid-row: 1; }
.lpv2-pain .lpv2-pain__detail { grid-column: 2; grid-row: 2; }
/* 偶数(2,4…): 文章=左 / 画像=右 (Z字交互) */
.lpv2-pain:nth-child(even) .lpv2-pain__illust { grid-column: 2; }
.lpv2-pain:nth-child(even) .lpv2-pain__body   { grid-column: 1; }
.lpv2-pain:nth-child(even) .lpv2-pain__detail { grid-column: 1; }
@media (max-width: 880px) {
  .lpv2-problem-grid { gap: 48px; }
  .lpv2-pain { grid-template-columns: 1fr; gap: 20px; padding: 56px 0 0; }
  /* SP: 単一カラム。PCのグリッド明示配置を解除し order で縦積み
     (body → detail → illust)。奇偶とも同じ順序 */
  .lpv2-pain .lpv2-pain__body,
  .lpv2-pain .lpv2-pain__detail,
  .lpv2-pain .lpv2-pain__illust,
  .lpv2-pain:nth-child(even) .lpv2-pain__body,
  .lpv2-pain:nth-child(even) .lpv2-pain__detail,
  .lpv2-pain:nth-child(even) .lpv2-pain__illust { grid-column: 1; grid-row: auto; }
  .lpv2-pain .lpv2-pain__body { order: 1; }
  .lpv2-pain .lpv2-pain__detail { order: 2; }
  .lpv2-pain .lpv2-pain__illust { order: 3; }
}

.lpv2-pain__body {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 4px;
  align-items: start;
}
/* 番号: 左カラムに配置、複数行にまたがって縦中央寄せ */
.lpv2-pain__num {
  position: static;
  display: block;
  width: auto; height: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--lpv2-accent);
  font-family: var(--lpv2-font-mono);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0;
  grid-row: 1 / span 3;
  grid-column: 1;
  align-self: start;
}
.lpv2-pain__title,
.lpv2-pain__text,
.lpv2-pain__more { grid-column: 2; }
@media (max-width: 880px) {
  .lpv2-pain__num { font-size: 36px; }
  .lpv2-pain__body { column-gap: 14px; }
}
.lpv2-pain__title {
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--lpv2-ink);
  margin: 0 0 14px;
}
.lpv2-pain__title em {
  font-style: normal; color: var(--lpv2-accent);
  background-image: linear-gradient(to top, var(--lpv2-yellow) 0%, var(--lpv2-yellow) 28%, transparent 28%);
  padding: 0 4px;
}
.lpv2-pain__text {
  font-size: 14.5px; line-height: 1.95;
  color: var(--lpv2-ink-soft);
  margin: 0 0 16px;
}
.lpv2-pain__more {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--lpv2-font-mono);
  font-size: 12px; font-weight: 900;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lpv2-accent);
  background: none; border: 0; padding: 0;
  cursor: pointer;
}
.lpv2-pain__more::after { content: "+"; font-size: 16px; line-height: 1; }
.lpv2-pain.is-open .lpv2-pain__more::after { content: "−"; }

/* グリッド配置は上部の明示ルール(.lpv2-pain .lpv2-pain__detail 等)で固定済み。
   ここでは見た目のみ定義する (配置を再指定すると後勝ちで左右が反転する #035) */
.lpv2-pain__detail {
  padding: 24px 28px;
  background: var(--lpv2-cream);
  border-top: 1px solid var(--lpv2-rule-soft);
  margin-top: 20px;
  font-size: 14px; line-height: 1.95; color: var(--lpv2-ink-soft);
  display: none;
}
.lpv2-pain__detail p + p { margin-top: 12px; }
.lpv2-pain.is-open .lpv2-pain__detail { display: block; }

.lpv2-pain__illust {
  display: block;
  width: 100%;
  /* aspect-ratio撤廃: 画像本来の比率で全体を表示し、左右の切れを防ぐ(2026-06-14) */
  background: var(--lpv2-cream);
  border: 1px solid var(--lpv2-rule-soft);
  overflow: hidden;
  position: relative;
}
.lpv2-pain__illust img {
  width: 100%; height: auto;
  object-fit: contain; object-position: center;
  display: block;
}
@media (max-width: 880px) {
  .lpv2-pain__illust { max-height: none; }
}

/* ------------------------------------------------------------------
 * 8. Bridge (full-bleed statement)
 * ------------------------------------------------------------------ */
.lpv2-bridge {
  position: relative;
  background: var(--lpv2-ink);
  color: #fff;
  padding: 140px 0;
  overflow: hidden;
  text-align: center;
}
.lpv2-bridge::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(232,85,0,0.4) 1px, transparent 1.5px);
  background-size: 8px 8px;
  opacity: 0.55;
  pointer-events: none;
}
.lpv2-bridge::after {
  content: ""; position: absolute; inset: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  pointer-events: none;
}
.lpv2-bridge-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; padding: 0 32px; }
.lpv2-bridge-eyebrow {
  font-family: var(--lpv2-font-mono);
  font-size: 12px; font-weight: 900;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--lpv2-yellow);
  margin: 0 0 28px;
}
.lpv2-bridge-statement {
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0;
}
.lpv2-bridge-statement em {
  font-style: normal;
  color: var(--lpv2-accent);
  position: relative; display: inline-block;
}
.lpv2-bridge-statement em::before {
  content: ""; position: absolute; inset: -4px -8px;
  border: 2px solid var(--lpv2-accent);
  pointer-events: none;
  transform: rotate(-1deg);
}
@media (max-width: 720px) { .lpv2-bridge { padding: 96px 0; } }

/* ------------------------------------------------------------------
 * 9. Merit (4-koma grid)
 * ------------------------------------------------------------------ */
.lpv2-merit { background: var(--lpv2-cream); }
.lpv2-merit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
  /* 全 row 同じ高さで揃える (上下4カード全部同じ大きさ) */
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.lpv2-merit-card { height: 100%; }
/* 展開したカードだけ自然な高さ (隣カードに追従させない) */
.lpv2-merit-card.is-open { align-self: start; height: auto; }
/* どれか1枚でも開いたら行の高さ追従(1fr/stretch)をやめ、
   各カードを内容なりの高さに。これをしないと同じ行の隣カードが
   伸びた行トラックに合わせて白く間延びする (SP=上下隣 / PC=左右隣) */
.lpv2-merit-grid:has(.lpv2-merit-card.is-open) {
  grid-auto-rows: auto;
  align-items: start;
}
.lpv2-merit-grid:has(.lpv2-merit-card.is-open) .lpv2-merit-card { height: auto; }
@media (max-width: 720px) { .lpv2-merit-grid { grid-template-columns: 1fr; gap: 22px; } }

.lpv2-merit-card {
  position: relative;
  background: #fff;
  border: var(--lpv2-border-w) solid var(--lpv2-ink);
  padding: 0;
  box-shadow: var(--lpv2-shadow-panel);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.lpv2-merit-card:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--lpv2-rule); }

.lpv2-merit-card__illust {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--lpv2-cream-deep);
  border-bottom: var(--lpv2-border-w) solid var(--lpv2-ink);
  overflow: hidden;
  position: relative;
}
.lpv2-merit-card__illust img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lpv2-merit-card__illust::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.06) 1px, transparent 1.4px);
  background-size: 6px 6px;
  pointer-events: none; mix-blend-mode: multiply;
}

.lpv2-merit-card__num {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0;
  color: #fff;
  background: var(--lpv2-ink);
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  z-index: 2;
}
.lpv2-merit-card__body { padding: 28px 28px 32px; flex: 1; }
.lpv2-merit-card__title {
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--lpv2-ink);
  margin: 0 0 12px;
}
.lpv2-merit-card__title em {
  font-style: normal; color: var(--lpv2-accent);
  background-image: linear-gradient(to top, var(--lpv2-yellow) 0%, var(--lpv2-yellow) 28%, transparent 28%);
  padding: 0 4px;
}
.lpv2-merit-card__text {
  font-size: 14px; line-height: 1.95;
  color: var(--lpv2-ink-soft);
  margin: 0 0 16px;
}
.lpv2-merit-card__more {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--lpv2-font-mono);
  font-size: 12px; font-weight: 900;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lpv2-accent);
  background: none; border: 0; padding: 0;
  cursor: pointer;
}
.lpv2-merit-card__more::after { content: "+"; font-size: 16px; line-height: 1; }
.lpv2-merit-card.is-open .lpv2-merit-card__more::after { content: "−"; }

.lpv2-merit-card__detail {
  display: none;
  padding: 16px 28px 24px;
  border-top: 1px solid var(--lpv2-rule-soft);
  margin-top: 12px;
  font-size: 13.5px; line-height: 1.95; color: var(--lpv2-ink-soft);
}
.lpv2-merit-card__detail p + p { margin-top: 10px; }
.lpv2-merit-card.is-open .lpv2-merit-card__detail { display: block; }

/* ------------------------------------------------------------------
 * 10. Formats — magazine 4-up
 * ------------------------------------------------------------------ */
.lpv2-formats { background: var(--lpv2-paper); }
.lpv2-formats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.lpv2-format {
  position: relative;
  background: #fff;
  border: var(--lpv2-border-w) solid var(--lpv2-ink);
  padding: 28px 22px 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
  box-shadow: var(--lpv2-shadow-panel-sm);
  min-width: 0; /* 等幅gridで内容に引っ張られない */
}
.lpv2-format:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--lpv2-rule); }

.lpv2-format__illust {
  width: 100%; aspect-ratio: 1/1;
  background: var(--lpv2-cream);
  border: 1px solid var(--lpv2-rule-soft);
  overflow: hidden;
  margin: 0 0 14px;
}
.lpv2-format__illust img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lpv2-format__num {
  /* 「01 · RECRUIT SITE」等の英語番号は非表示 (2026-05-15) */
  display: none;
}
.lpv2-format__name {
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.35;
  color: var(--lpv2-ink);
  margin: 0;
  letter-spacing: 0.02em;
  /* 「採用パンフレット」等の途中改行を防止 */
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: nowrap;
}
.lpv2-format__use {
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 700;
  color: var(--lpv2-ink);
  margin: 0; letter-spacing: 0.04em;
  border-top: 1px dashed var(--lpv2-rule-soft);
  padding-top: 10px;
}
/* レスポンシブ (ベースCSSの後に書く=確実に上書きされる) */
@media (max-width: 1000px) {
  .lpv2-formats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .lpv2-formats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .lpv2-format { padding: 18px 14px 16px; gap: 8px; }
  .lpv2-format__illust { margin-bottom: 8px; }
  .lpv2-format__name {
    font-size: clamp(13px, 3.6vw, 17px);
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
  }
  .lpv2-format__use { font-size: clamp(11px, 3vw, 13px); padding-top: 8px; }
  .lpv2-format__num { font-size: 10px; letter-spacing: 0.22em; }
}

/* ------------------------------------------------------------------
 * 11. Cases
 * ------------------------------------------------------------------ */
.lpv2-cases { background: var(--lpv2-cream); }
.lpv2-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1160px; margin: 0 auto;
}
@media (max-width: 960px) { .lpv2-cases-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .lpv2-cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }

.lpv2-case {
  position: relative;
  background: #fff;
  border: var(--lpv2-border-w) solid var(--lpv2-ink);
  display: flex; flex-direction: column;
  box-shadow: var(--lpv2-shadow-panel);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}
.lpv2-case:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--lpv2-rule); }
.lpv2-case__thumb {
  display: block;
  width: 100%; aspect-ratio: 4/3;
  background: var(--lpv2-cream-deep);
  border-bottom: var(--lpv2-border-w) solid var(--lpv2-ink);
  overflow: hidden;
}
.lpv2-case__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lpv2-case__body { padding: 14px 14px 16px; }
.lpv2-case__meta {
  font-family: var(--lpv2-font-mono);
  font-size: 10px; font-weight: 900;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lpv2-accent);
  margin: 0 0 6px;
}
.lpv2-case__title {
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.35;
  margin: 0 0 4px;
  color: var(--lpv2-ink);
}
.lpv2-case__title a { color: inherit; text-decoration: none; border-bottom: 2px solid transparent; transition: border-color 0.2s ease; }
.lpv2-case__title a:hover { border-color: var(--lpv2-accent); }
.lpv2-case__client {
  font-size: 11px; color: var(--lpv2-ink-mute);
  margin: 0 0 6px; letter-spacing: 0.02em;
}
.lpv2-case__point {
  font-size: 11.5px; line-height: 1.6;
  color: var(--lpv2-ink-soft);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lpv2-case__quote {
  display: none; /* 4列表示では引用を省略 */
}
.lpv2-case__more {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--lpv2-font-mono);
  font-size: 12px; font-weight: 900;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lpv2-accent);
  text-decoration: none;
  border-bottom: 2px solid var(--lpv2-accent);
  padding-bottom: 2px;
}
.lpv2-cases-foot { text-align: center; margin-top: 56px; }

/* ------------------------------------------------------------------
 * 12. Library (Biz Library embed)
 * ------------------------------------------------------------------ */
.lpv2-library { background: var(--lpv2-cream); color: var(--lpv2-ink); }
.lpv2-library .lpv2-h2 { color: var(--lpv2-ink); }
.lpv2-library .lpv2-lead { color: var(--lpv2-ink-soft); }
.lpv2-library-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  max-width: 1180px; margin: 0 auto 48px;
}
.lpv2-library-cta { text-align: center; margin-top: 32px; }

/* Provide compatibility with bm-lp-library-embed.js DOM hooks */
.lpv2-library [data-bm-lp-library-grid] {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.lpv2-library .bm-lp-lib-loading { color: rgba(255,255,255,0.6); text-align: center; padding: 32px; }

/* SP: 制作事例グリッドと同じく2列流動にして、画面幅に応じて縮小する */
@media (max-width: 560px) {
  .lpv2-library-grid,
  .lpv2-library [data-bm-lp-library-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* ------------------------------------------------------------------
 * 13. Flow (storyboard)
 * ------------------------------------------------------------------ */
.lpv2-flow { background: var(--lpv2-paper); }
/* 連結グリッド: gap(3px)に黒背景を覗かせて「罫線共有」を表現。
   隙間=罫線なので二重線にならず note.com 参考のように全カードがくっつく */
.lpv2-flow-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--lpv2-border-w);
  background: var(--lpv2-ink);
  border: var(--lpv2-border-w) solid var(--lpv2-ink);
  max-width: 1180px; margin: 0 auto;
}
@media (max-width: 1000px) { .lpv2-flow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .lpv2-flow-grid { grid-template-columns: 1fr; } }

/* セル = フリップのパースペクティブ枠。通常はフラット(影なし)
   表に説明文を載せるため高さは多め。最長の説明(08)が収まる高さ */
.lpv2-flow-step {
  position: relative;
  height: 268px;
  margin: 0; padding: 0; border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  -webkit-appearance: none; appearance: none;
  perspective: 1200px;
}
@media (max-width: 1000px) { .lpv2-flow-step { height: 230px; } }
@media (max-width: 560px)  { .lpv2-flow-step { height: 210px; } }

/* 回転する本体 */
.lpv2-flow-step__inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 1;
}
/* ホバー: そのカードだけ浮かせて黒のオフセット影で立体化 */
.lpv2-flow-step:hover { z-index: 4; }
.lpv2-flow-step:hover .lpv2-flow-step__inner {
  transform: translate(-4px, -4px);
  box-shadow: 9px 9px 0 var(--lpv2-rule);
}
/* クリックで裏返る (シャッフルのように回転) */
.lpv2-flow-step.is-flipped { z-index: 5; }
.lpv2-flow-step.is-flipped .lpv2-flow-step__inner {
  transform: rotateY(180deg);
  box-shadow: 9px 9px 0 var(--lpv2-rule);
}
.lpv2-flow-step:focus-visible { outline: none; }
.lpv2-flow-step:focus-visible .lpv2-flow-step__inner {
  box-shadow: 0 0 0 3px var(--lpv2-accent);
}

/* 表裏フェイス */
.lpv2-flow-step__face {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  display: flex; flex-direction: column;
  padding: 22px 20px 18px;
  overflow: hidden;
}
/* 表面: 番号 + 名前 + 説明 + 「イメージを見る」ヒント */
.lpv2-flow-step__front {
  background: #fff;
  justify-content: flex-start; gap: 4px;
}
/* 裏面: 画像のみ (フェイス全面に作例イラスト) */
.lpv2-flow-step__back {
  padding: 0;
  background: var(--lpv2-cream);
  border: 3px solid var(--lpv2-accent);
  transform: rotateY(180deg);
}
.lpv2-flow-step__pic { display: block; width: 100%; height: 100%; }
.lpv2-flow-step__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lpv2-flow-step__num {
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: 48px;
  line-height: 0.9;
  color: var(--lpv2-accent-soft);
  -webkit-text-stroke: 1.5px var(--lpv2-accent);
  margin: 0 0 2px;
  letter-spacing: -0.04em;
}
.lpv2-flow-step__name {
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.35;
  color: var(--lpv2-ink);
  letter-spacing: 0.02em;
  margin: 0 0 4px;
}
.lpv2-flow-step__desc {
  font-size: 12px; line-height: 1.72;
  color: var(--lpv2-ink-soft);
  margin: 0;
}
/* 表面下部の「イメージを見る +」ヒント */
.lpv2-flow-step__hint {
  margin-top: auto; padding-top: 10px;
  font-family: var(--lpv2-font-mono);
  font-size: 11px; font-weight: 900;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lpv2-accent);
  display: inline-flex; align-items: center; gap: 5px;
}
.lpv2-flow-step__hint::after { content: "+"; font-size: 15px; line-height: 1; }
.lpv2-flow-step.is-flipped .lpv2-flow-step__hint::after { content: "−"; }

/* ------------------------------------------------------------------
 * 14. FAQ — speech bubble Q&A
 * ------------------------------------------------------------------ */
.lpv2-faq { background: var(--lpv2-cream); }
.lpv2-faq-list {
  max-width: 880px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
}
.lpv2-faq-item {
  background: #fff;
  border: var(--lpv2-border-w) solid var(--lpv2-ink);
  box-shadow: var(--lpv2-shadow-panel-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lpv2-faq-item[open] { box-shadow: 7px 7px 0 var(--lpv2-rule); }
.lpv2-faq-item summary {
  list-style: none;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 24px;
  cursor: pointer;
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.6;
  color: var(--lpv2-ink);
  position: relative;
}
.lpv2-faq-item summary::-webkit-details-marker { display: none; }
.lpv2-faq-item summary::before {
  content: "Q";
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--lpv2-accent); color: #fff;
  border: 2px solid var(--lpv2-ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--lpv2-font-display);
  font-size: 16px; font-weight: 900;
  margin-top: -2px;
}
.lpv2-faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--lpv2-font-mono);
  font-size: 24px; font-weight: 900;
  line-height: 1;
  color: var(--lpv2-accent);
  flex-shrink: 0;
}
.lpv2-faq-item[open] summary::after { content: "−"; }
.lpv2-faq-answer {
  padding: 0 24px 24px 74px;
  font-size: 14px; line-height: 1.95;
  color: var(--lpv2-ink-soft);
  position: relative;
}
.lpv2-faq-answer::before {
  content: "A";
  position: absolute;
  left: 24px; top: 0;
  width: 36px; height: 36px;
  background: var(--lpv2-ink); color: #fff;
  border: 2px solid var(--lpv2-ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--lpv2-font-display);
  font-size: 16px; font-weight: 900;
}

/* ------------------------------------------------------------------
 * 15. Related LPs ("Next issues")
 * ------------------------------------------------------------------ */
.lpv2-related { background: var(--lpv2-paper); border-top: var(--lpv2-border-w) solid var(--lpv2-ink); }
.lpv2-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1180px; margin: 0 auto;
}
@media (max-width: 1000px) { .lpv2-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lpv2-related-grid { grid-template-columns: 1fr; } }

.lpv2-related-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px 22px;
  background: #fff;
  border: 2px solid var(--lpv2-ink);
  color: var(--lpv2-ink);
  text-decoration: none;
  position: relative;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}
.lpv2-related-card:hover {
  background: var(--lpv2-ink); color: #fff;
  transform: translate(-2px, -2px);
}
.lpv2-related-card__num {
  font-family: var(--lpv2-font-mono);
  font-size: 11px; font-weight: 900;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--lpv2-accent);
  margin: 0;
}
.lpv2-related-card__name {
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin: 0;
}
.lpv2-related-card__hook {
  font-size: 13px; line-height: 1.7;
  margin: 0 0 12px;
  color: inherit; opacity: 0.85;
}
.lpv2-related-card__arrow {
  font-family: var(--lpv2-font-mono);
  font-size: 11px; font-weight: 900;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--lpv2-accent);
  margin-top: auto;
}
.lpv2-related-card:hover .lpv2-related-card__arrow { color: var(--lpv2-yellow); }

/* ------------------------------------------------------------------
 * 16. End CTA
 * ------------------------------------------------------------------ */
.lpv2-end {
  background: #000; color: #fff; /* 漆黒に */
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* 点々パターン (radial-gradient) は撤去 */
.lpv2-end::before { display: none; }
.lpv2-end::after {
  content: ""; position: absolute; inset: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  pointer-events: none;
}
.lpv2-end-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; padding: 0 32px; }
.lpv2-end-eyebrow {
  font-family: var(--lpv2-font-mono);
  font-size: 12px; font-weight: 900;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--lpv2-yellow);
  margin: 0 0 32px;
}
.lpv2-end-title {
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: clamp(32px, 5.5vw, 60px);
  line-height: 1.5;
  margin: 0 0 28px;
  color: #fff;
  letter-spacing: 0.02em;
}
.lpv2-end-title em {
  font-style: normal; color: var(--lpv2-accent);
  background-image: linear-gradient(to top, rgba(255,213,74,0.55) 0%, rgba(255,213,74,0.55) 28%, transparent 28%);
  padding: 0 6px;
}
.lpv2-end-text {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 2;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin: 0 auto 48px;
}
.lpv2-end-cta-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
@media (max-width: 720px) { .lpv2-end { padding: 96px 0; } }

/* ------------------------------------------------------------------
 * 17. Compare guide aside (related production company guide)
 * ------------------------------------------------------------------ */
.lpv2-guide {
  max-width: 880px; margin: 64px auto 0;
  padding: 28px 32px;
  background: var(--lpv2-cream);
  border: 2px solid var(--lpv2-ink);
  border-left: 8px solid var(--lpv2-accent);
}
.lpv2-guide__eyebrow {
  font-family: var(--lpv2-font-mono);
  font-size: 11px; font-weight: 900;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--lpv2-accent);
  margin: 0 0 8px;
}
.lpv2-guide__text {
  font-size: 14px; line-height: 1.9; color: var(--lpv2-ink-soft);
  margin: 0;
}
.lpv2-guide__text a { color: var(--lpv2-accent); font-weight: 700; }

/* ------------------------------------------------------------------
 * 18. Misc utility / animations
 * ------------------------------------------------------------------ */
.lpv2-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.lpv2-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .lpv2-reveal { opacity: 1; transform: none; transition: none; }
  .lpv2-btn, .lpv2-pain, .lpv2-merit-card, .lpv2-case, .lpv2-format, .lpv2-flow-step, .lpv2-flow-step__inner, .lpv2-faq-item, .lpv2-related-card {
    transition: none;
  }
}

/* ------------------------------------------------------------------
 * 19. LP CASE STUDY (pm-case-*) — recruit-manga 専用
 *   build-lp-cases.py が出力する .pm-case-* クラスを v2 デザインで整える。
 *   recruit-manga.html のみ bm-lp-v2.css をロードするため、ここでの定義は
 *   他7本の用途別LP（bm-lp-template.css系）に影響しない。
 * ------------------------------------------------------------------ */
.pm-cases-static {
  background: var(--lpv2-cream);
  padding: 72px 20px;
}
.pm-cases-static .pm-container,
.pm-cases-static .pm-container--narrow {
  max-width: 1160px;
  margin: 0 auto;
}
.pm-cases-static .pm-eyebrow {
  display: inline-block;
  font-family: var(--lpv2-font-mono);
  font-size: 12px; font-weight: 900;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--lpv2-accent);
  margin-bottom: 8px;
}
.pm-cases-static .pm-h2 {
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.3;
  color: var(--lpv2-ink);
  margin: 0 0 16px;
}
.pm-cases-static .pm-lead {
  font-size: 15px; line-height: 1.7;
  color: var(--lpv2-ink-soft);
}

.pm-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 260px);
  justify-content: center;
  gap: 20px;
}

.pm-case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: var(--lpv2-border-w) solid var(--lpv2-ink);
  box-shadow: var(--lpv2-shadow-panel);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}
.pm-case-card:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--lpv2-rule); }

.pm-case-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--lpv2-cream-deep);
  border-bottom: 2px solid var(--lpv2-ink);
  overflow: hidden;
}
.pm-case-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.pm-case-card:hover .pm-case-thumb img { transform: scale(1.04); }

.pm-case-body {
  padding: 12px 14px 14px;
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}

.pm-case-meta {
  font-family: var(--lpv2-font-mono);
  font-size: 11px; font-weight: 900;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lpv2-accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pm-case-title {
  font-family: var(--lpv2-font-display);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
  color: var(--lpv2-ink);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pm-case-title a {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.pm-case-title a:hover { border-color: var(--lpv2-accent); }

/* 縦長を抑えるため、詳細テキストは非表示（タイトル＋メタのみ表示） */
.pm-case-client,
.pm-case-point,
.pm-case-comment,
.pm-case-more { display: none; }

.pm-cases-foot { text-align: center; margin-top: 48px; }
.pm-cases-foot .pm-btn--ghost {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--lpv2-font-mono);
  font-size: 13px; font-weight: 900;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lpv2-ink);
  background: transparent;
  border: var(--lpv2-border-w) solid var(--lpv2-ink);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.pm-cases-foot .pm-btn--ghost:hover { background: var(--lpv2-ink); color: #fff; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--lpv2-rule); }

@media (max-width: 580px) {
  .pm-cases-static { padding: 48px 12px; }
  .pm-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 12px;
  }
  .pm-case-body { padding: 9px 10px 11px; gap: 3px; }
  .pm-case-meta { font-size: 9px; letter-spacing: 0.13em; }
  .pm-case-title { font-size: 14px; }
}
