/* 無料診断の簡易マニュアル（`static/free-guide.html`）だけの見た目。
   共通のものは `assets/site.css`。図を押したときの拡大は `assets/site.js`。 */

.guide { max-width:900px; margin:0 auto; }
.guide-h2 { margin:52px 0 0; font-size:26px; letter-spacing:-.02em; }

/* 目次 */
.guide-toc { border:1px solid var(--line); border-radius:16px; background:#fff; padding:20px 26px; }
.guide-toc h2 { margin:0 0 10px; font-size:17px; }
.guide-toc ol { margin:0; padding-left:1.4em; columns:2; column-gap:36px; }
.guide-toc li { break-inside:avoid; padding:3px 0; }
.guide-toc a { color:var(--pink-dark); text-decoration:none; font-weight:700; }
.guide-toc a:hover { text-decoration:underline; }

/* 手順の流れ（先頭に置く要約） */
.guide-flow { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:28px 0 0; }
.guide-flow .f { flex:1 1 150px; border:1px solid var(--line); border-radius:12px; background:#fff; padding:12px 14px; font-size:13px; font-weight:750; line-height:1.5; }
.guide-flow .f b { display:block; color:var(--pink); font-size:12px; font-weight:900; margin-bottom:4px; }
.guide-flow .arrow { color:var(--line); font-weight:900; }

/* 手順 1 つ */
.step { border:1px solid var(--line); border-radius:20px; background:#fff; padding:28px 30px; margin:22px 0; }
.step-head { display:flex; align-items:center; gap:14px; margin-bottom:10px; }
.step-no { flex:none; width:38px; height:38px; border-radius:50%; background:var(--pink); color:#fff; display:grid; place-items:center; font-weight:900; }
.step-head h2 { margin:0; font-size:22px; letter-spacing:-.02em; }
.step p { margin:10px 0; }
.step ol, .step ul { margin:10px 0; padding-left:1.5em; }
.step li { padding:3px 0; }

/* 画面の中のボタンを文中で示す */
.ui { display:inline-block; border:1px solid var(--line); border-radius:6px; background:var(--soft); padding:1px 8px; font-size:.9em; font-weight:800; white-space:nowrap; }
.ui.primary { background:var(--pink); border-color:var(--pink); color:#fff; }

/* 図 */
figure { margin:18px 0 0; }
figure img { width:100%; height:auto; border:1px solid var(--line); border-radius:12px; }
figure.zoomable img { cursor:zoom-in; }
figcaption { margin-top:8px; color:var(--muted); font-size:13px; }
.shots { display:grid; grid-template-columns:1fr 1fr; gap:18px; }

/* メールの見本 */
.mail { border:1px solid var(--line); border-radius:12px; overflow:hidden; margin:18px 0 0; }
.mail-head { background:var(--soft); padding:10px 16px; font-size:13px; color:var(--muted); }
.mail-head b { color:var(--ink); }
.mail-body { padding:14px 16px; white-space:pre-wrap; font-size:14px; line-height:1.8; }

/* 注記 */
.note-box { border-radius:14px; padding:16px 20px; margin:18px 0 0; border:1px solid var(--line); background:var(--soft); }
.note-box strong:first-child { display:block; margin-bottom:4px; }
.note-box p { margin:4px 0; }
.note-box ul { margin:6px 0; padding-left:1.4em; }

/* 表 */
.guide table { border-collapse:collapse; width:100%; background:#fff; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.guide th, .guide td { text-align:left; vertical-align:top; padding:12px 16px; border-bottom:1px solid var(--line); }
.guide th { background:var(--soft); font-size:13px; color:var(--muted); font-weight:800; }
.guide tr:last-child td { border-bottom:0; }
.guide th.col-label { width:30%; }
.guide th.col-label.wide { width:38%; }
.table-scroll { overflow-x:auto; margin-top:18px; }

/* 押した図を原寸で開く窓 */
#zoom { position:fixed; inset:0; z-index:60; display:none; place-items:center; padding:24px; overflow:auto; background:rgba(15,17,21,.86); cursor:zoom-out; }
#zoom.on { display:grid; }
#zoom img { max-width:100%; height:auto; border-radius:8px; }

@media (max-width: 680px) {
  .guide-toc { padding:18px 20px; }
  .guide-toc ol { columns:1; }
  .guide-flow .arrow { display:none; }
  .guide-flow .f { flex-basis:100%; }
  .step { padding:22px 18px; border-radius:16px; }
  .step-head { gap:10px; }
  .step-head h2 { font-size:19px; }
  .step-no { width:32px; height:32px; }
  .shots { grid-template-columns:1fr; }
  #zoom { padding:12px; }
  /* 表は 2 列のままだと 1 列目がつぶれるので、見出しの行を隠して縦に積む */
  .guide table, .guide tbody, .guide tr, .guide td { display:block; width:auto; }
  .guide tr:first-child { display:none; }
  .guide tr { border-bottom:1px solid var(--line); }
  .guide tr:last-child { border-bottom:0; }
  .guide td { border-bottom:0; padding:14px 18px 0; }
  .guide td:first-child { font-weight:800; }
  .guide td:last-child { padding:4px 18px 16px; color:var(--muted); }
}
