/* 使い方（manual.html）。色や部品は app.css のものを使う */

.manual { max-width: 760px; }
.manual .lead { color: var(--sub); margin: 0 0 16px; }
.top .top-link { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; }

/* 目次 */
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; padding: 6px 0; font-weight: 600; }
.toc a::before { content: counter(toc); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 12px; flex: none; }

/* 章 */
.chapter { scroll-margin-top: 70px; }
.chapter > h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin: 4px 0 12px; }
.chapter > h2 .num { width: 30px; height: 30px; font-size: 15px; flex: none; }
.chapter h3 { font-size: 16px; margin: 18px 0 8px; }
.chapter p, .chapter li { line-height: 1.75; }
.chapter ol, .chapter ul { padding-left: 22px; margin: 6px 0 10px; }

/* 文と画面の写真。広い画面では横に並べる */
.step { display: grid; gap: 14px; margin: 14px 0; }
.step + .step { border-top: 1px solid var(--line); padding-top: 16px; }
.shot { margin: 0; text-align: center; }
.shot img { width: 100%; max-width: 300px; height: auto; border-radius: 16px; border: 1px solid var(--line); background: #000; display: block; margin: 0 auto; }
.shot figcaption { font-size: 12px; color: var(--sub); margin-top: 6px; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 680px) {
  .step { grid-template-columns: 1fr 280px; align-items: start; }
  .step.wide-shots { grid-template-columns: 1fr; }
  .wide-shots .shots { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 24px; }
}

.tip { background: var(--soft); border-radius: 12px; padding: 10px 12px; font-size: 14px; margin: 10px 0; }
.tip b { color: #ff8fb6; }
.warn-box { background: var(--warn); border: 1px solid var(--warn-line); border-radius: 12px; padding: 10px 12px; font-size: 14px; margin: 10px 0; }

/* AI の比べ表 */
.table-wrap { overflow-x: auto; margin: 10px 0; border-radius: 12px; border: 1px solid var(--line); }
.ai-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.ai-table th, .ai-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ai-table thead th { background: var(--bg); font-size: 13px; color: var(--sub); }
.ai-table tbody th { white-space: nowrap; }
.ai-table tr:last-child td, .ai-table tr:last-child th { border-bottom: 0; }
.yes { color: #6fe3a5; font-weight: 700; }
.no { color: var(--sub); }

.ai-cards { display: grid; gap: 12px; }
@media (min-width: 680px) { .ai-cards { grid-template-columns: repeat(3, 1fr); } }
.ai-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--bg); }
.ai-card h3 { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ai-card ul { padding-left: 18px; margin: 6px 0; font-size: 14px; }
.ai-card a { font-size: 14px; }

/* よくある質問 */
.faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 8px 0 0; color: var(--ink); font-size: 14px; }

.cta { display: block; text-align: center; text-decoration: none; margin: 8px 0 16px; }
.lang-links { margin: 6px 0 14px; } .lang-links b { color: var(--ink); }
