/* PebbleMint の図解（/pebblemint と /pebblemint/offer で共用・2026-11-03 図解・導線改善 v1）
   1図＝1つの疑問。比較・フロー・構造・ループの4形だけを使う。
   色はページ側の --accent / --accent-soft / --accent-dark / --ink / --ink-2 / --ink-3 / --line を使う（新色は作らない）。
   人の工程（.you）と AI の工程（.ai）を色で分け、人の承認（.pmf-gate）は四角でなく門の形で区別する。
   スマホは縦に積み、720px 以上で横に並べる。図の中の文字は 14px 未満にしない。動きは付けない */
.pmf { margin: 24px 0 8px; max-width: 980px; }
.pmf, .pmf * { box-sizing: border-box; }
.pmf-ttl { font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.5; margin: 0 0 12px; }
.pmf-ar { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--accent); font-size: 20px; font-weight: 800; line-height: 1; min-height: 28px; }
.pmf-ar small { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.pmf-node { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; text-align: center; }
.pmf-k { font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.45; }
.pmf-d { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-top: 2px; }
.pmf-node.you { border: 2px solid var(--ink); }
.pmf-node.ai { border: 1px solid var(--accent); background: var(--accent-soft); }
.pmf-who { display: inline-block; margin-bottom: 4px; padding: 1px 10px; border-radius: 999px; font-size: 14px; font-weight: 800; line-height: 1.6; }
.you > .pmf-who { background: var(--ink); color: #fff; }
.ai > .pmf-who { background: #fff; color: var(--accent-dark); border: 1px solid var(--accent); }
.pmf-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
.pmf-chips span { padding: 2px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--accent); color: var(--accent-dark); font-size: 14px; font-weight: 700; line-height: 1.6; }
.pmf-msg { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); font-size: 17px; font-weight: 800; line-height: 1.6; text-align: center; text-wrap: balance; }
.pmf-fine { margin-top: 10px; font-size: 14px; color: var(--ink-3, #64748b); line-height: 1.7; }
.pmf-icon { width: 22px; height: 22px; flex: none; }

/* ループ図（offer「仕事が減らない理由」・紹介ページ「使うほど合っていく」）
   スマホ: 1↓2↓3↓4↓5 と「もどる」。PC: 1→2→3 ↓ 4 ← 5 ↑ の輪にして、中央に言葉を置く */
.pmf-ring { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.pmf-ring > .pmf-ar::before { content: "↓"; }
.pmf-ring > .ra51 { color: var(--accent-dark); padding: 4px 0; }
.pmf-ring > .ra51::before { content: "↻"; }
.pmf-ring > .rc { margin-top: 10px; padding: 14px; border-radius: 14px; background: var(--accent-soft); text-align: center; }
.rc .pmf-c1 { font-size: 18px; font-weight: 800; color: var(--accent-dark); line-height: 1.55; text-wrap: balance; }
.rc .pmf-c2 { font-size: 14px; font-weight: 700; color: var(--ink-2); line-height: 1.6; margin-top: 4px; }
@media (min-width: 720px) {
  .pmf-ring {
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr);
    grid-template-areas: "r1 ra12 r2 ra23 r3" "ra51 rc rc rc ra34" "r5 ra45 ra45 ra45 r4";
    gap: 6px; align-items: stretch;
  }
  .pmf-ring > .r1 { grid-area: r1; } .pmf-ring > .r2 { grid-area: r2; } .pmf-ring > .r3 { grid-area: r3; }
  .pmf-ring > .r4 { grid-area: r4; } .pmf-ring > .r5 { grid-area: r5; }
  .pmf-ring > .ra12 { grid-area: ra12; } .pmf-ring > .ra23 { grid-area: ra23; } .pmf-ring > .ra34 { grid-area: ra34; }
  .pmf-ring > .ra45 { grid-area: ra45; } .pmf-ring > .ra51 { grid-area: ra51; flex-direction: column; }
  .pmf-ring > .ra12::before, .pmf-ring > .ra23::before { content: "→"; }
  .pmf-ring > .ra45::before { content: "←"; }
  .pmf-ring > .ra51::before { content: "↑"; }
  .pmf-ring > .rc { grid-area: rc; margin: 8px 0; display: flex; flex-direction: column; justify-content: center; }
  .pmf-ring > .pmf-node { display: flex; flex-direction: column; justify-content: center; align-items: center; }
}

/* 構造図（紹介ページ「PebbleMint とは何なのか」） */
.pmf-st { display: grid; gap: 2px; }
.pmf-st > .you { max-width: 420px; width: 100%; justify-self: center; }
.pmf-pc { border: 2px dashed var(--line); border-radius: 16px; padding: 12px; display: grid; gap: 8px; }
.pmf-pc > .pmf-lbl { font-size: 14px; font-weight: 800; color: var(--ink-3, #64748b); text-align: center; line-height: 1.5; }
.pmf-pcin { display: grid; gap: 2px; }
.pmf-box { border-radius: 14px; padding: 12px; text-align: center; }
.pmf-box.pm { border: 2px solid var(--accent); background: var(--accent-soft); }
.pmf-box.cl { border: 1px solid var(--line); background: #fff; }
.pmf-box > .pmf-k { font-size: 18px; }
.pmf-role { display: inline-block; margin: 4px 0; padding: 2px 10px; border-radius: 999px; background: #fff; color: var(--accent-dark); font-size: 14px; font-weight: 800; line-height: 1.6; }
.pmf-box.cl .pmf-role { background: var(--accent-soft); }
.pmf-org { margin-top: 8px; display: grid; gap: 2px; }
.pmf-org .pmf-node { padding: 6px 8px; }
.pmf-org .pmf-k { font-size: 15px; }
.pmf-org .pmf-ar { min-height: 20px; font-size: 16px; }
.pmf-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pmf-keep { border: 1px dashed var(--accent); border-radius: 12px; background: #fff; padding: 10px 12px; text-align: center; }
.pmf-def { margin-top: 14px; padding: 16px; border-radius: 14px; background: var(--ink); color: #fff; text-align: center; }
.pmf-def b { display: block; font-size: 19px; font-weight: 800; line-height: 1.5; }
.pmf-def span { display: block; margin-top: 4px; font-size: 15px; font-weight: 700; line-height: 1.65; text-wrap: balance; }
@media (min-width: 720px) {
  .pmf-pcin { grid-template-columns: minmax(0, 1.5fr) 92px minmax(0, 1fr); align-items: stretch; }
  .pmf-pcin > .pmf-ar { flex-direction: column; }
  .pmf-box.cl { display: flex; flex-direction: column; justify-content: center; }
  }

/* フロー図（紹介ページ「1つの仕事は、こう流れる」） */
.pmf-fl { display: grid; gap: 2px; justify-items: center; }
.pmf-fl > * { width: 100%; max-width: 560px; }
.pmf-fl > .pmf-box.pm { max-width: 760px; }
.pmf-roles { display: grid; gap: 2px; margin-top: 8px; }
@media (min-width: 720px) { .pmf-roles { grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr); } }
.pmf-gate { border: 3px solid var(--ink); border-top-width: 8px; border-radius: 4px; background: #fff; padding: 12px 14px; text-align: center; }
.pmf-gate .pmf-gh { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.5; }
.pmf-gate .pmf-badge { display: inline-block; margin-top: 6px; padding: 2px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; line-height: 1.7; }
.pmf-gate .pmf-chips span { border-color: var(--ink); color: var(--ink); }

/* 比較図（offer「作業者から確認者へ」・紹介ページ「使う前と後」） */
.pmf-ba { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.pmf-col { border-radius: 14px; padding: 14px; border: 1px solid var(--line); background: #fff; display: grid; gap: 2px; align-content: start; }
.pmf-tag { justify-self: start; font-size: 14px; font-weight: 800; padding: 2px 12px; border-radius: 999px; line-height: 1.6; }
.pmf-head { font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.5; margin: 6px 0 8px; }
.pmf-col.before { background: #f8fafc; }
.pmf-col.before .pmf-tag { background: #e2e8f0; color: #334155; }
.pmf-col.before .pmf-head b { color: #a11d22; }
.pmf-col.after { border: 2px solid var(--accent); }
.pmf-col.after .pmf-tag { background: var(--accent); color: #fff; }
.pmf-col.after .pmf-head b { color: var(--accent-dark); }
.pmf-col .pmf-node { text-align: left; padding: 8px 12px; }
.pmf-col .pmf-node .pmf-k { font-size: 15px; }
.pmf-col .pmf-ar { min-height: 20px; font-size: 16px; }
.pmf-col.before .pmf-ar { color: #94a3b8; }
.pmf-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pmf-steps li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.pmf-steps li i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 14px; font-weight: 800; background: var(--ink); color: #fff; }
.pmf-again { margin-top: 8px; font-size: 15px; font-weight: 800; color: #a11d22; line-height: 1.6; border: 1px dashed #a11d22; border-radius: 10px; padding: 8px 12px; background: #fff; }
.pmf-good { margin-top: 8px; font-size: 15px; font-weight: 800; color: var(--accent-dark); line-height: 1.6; border-radius: 10px; padding: 8px 12px; background: var(--accent-soft); }
.pmf-tri { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 4px 6px; margin-top: 4px; }
.pmf-tri span { padding: 2px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--accent); color: var(--accent-dark); font-size: 14px; font-weight: 800; line-height: 1.6; }
.pmf-tri em { font-style: normal; color: var(--accent); font-weight: 800; }
.pmf-mid { min-height: 40px; color: var(--accent-dark); }
.pmf-mid::before { content: "↓"; font-size: 22px; }
@media (min-width: 720px) {
  .pmf-ba { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: stretch; }
  .pmf-mid { flex-direction: column; }
  .pmf-mid::before { content: "→"; }
}

/* 特典の3ステップ（offer の無料特典） */
.pmf-gift { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 2px; }
.pmf-gift > li.st { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 2px 12px; align-items: start; }
.pmf-gift .num { grid-row: span 3; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60px; border-radius: 12px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 800; line-height: 1.3; }
.pmf-gift .num b { font-size: 20px; }
.pmf-gift .verb { font-size: 18px; font-weight: 800; color: var(--accent-dark); line-height: 1.45; }
.pmf-gift .what { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.55; }
.pmf-gift .what small { font-weight: 700; color: var(--ink-3, #64748b); font-size: 14px; }
.pmf-gift .why { font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.pmf-gift .pmf-chips { justify-content: flex-start; margin-top: 2px; }
.pmf-gift > li.pmf-ar { min-height: 22px; font-size: 18px; }
.pmf-gift > li.goal { margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 800; line-height: 1.6; text-align: center; }

/* 役の並び: スマホは縦（↓）、PC は横（→） */
.pmf-rar::before { content: "↓"; }
@media (min-width: 720px) { .pmf-rar::before { content: "→"; } }
.pmf-def .nb, .pmf-def span .nb { display: inline-block; margin: 0; font-size: inherit; }

/* スマホのループ図は縦に長くなるので、1つの箱を1行に詰める */
@media (max-width: 719px) {
  .pmf-ring > .pmf-node { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; text-align: left; padding: 8px 12px; }
  .pmf-ring > .pmf-node > .pmf-who { margin: 0; }
  .pmf-ring > .pmf-node > .pmf-d { flex-basis: 100%; margin: 0; }
  .pmf-ring > .pmf-node > .pmf-chips { flex-basis: 100%; justify-content: flex-start; margin-top: 2px; }
  .pmf-ring > .pmf-ar { min-height: 22px; font-size: 16px; }
  .pmf-gift > li.st { grid-template-columns: 46px minmax(0, 1fr); padding: 12px; gap: 2px 10px; }
  .pmf-gift .num { min-height: 46px; font-size: 14px; }
  .pmf-gift .num b { font-size: 18px; }
}
