/* マニュアル本文のスタイル */
.manual-content h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e40af;
  border-bottom: 3px solid #1e40af;
  padding-bottom: 0.375rem;
  margin: 2rem 0 1rem;
}
.manual-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.375rem;
  margin: 1.75rem 0 0.75rem;
}
.manual-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  margin: 1.25rem 0 0.5rem;
}
.manual-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #4b5563;
  margin: 1rem 0 0.375rem;
}
.manual-content p {
  margin: 0.5rem 0;
  line-height: 1.75;
}
.manual-content ul, .manual-content ol {
  margin: 0.5rem 0 0.5rem 1.5rem;
}
.manual-content li {
  margin: 0.25rem 0;
  line-height: 1.75;
}
.manual-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0;
  font-size: 0.875rem;
}
.manual-content th {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-weight: 600;
}
.manual-content td {
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.75rem;
}
.manual-content tr:nth-child(even) td {
  background: #f9fafb;
}
.manual-content code {
  background: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.8125rem;
}
.manual-content pre {
  background: #1f2937;
  color: #e5e7eb;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 0.75rem 0;
  font-size: 0.8125rem;
}
.manual-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.manual-content blockquote {
  border-left: 4px solid #2563eb;
  background: #eff6ff;
  padding: 0.75rem 1rem;
  margin: 0.75rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
}
.manual-content strong {
  color: #111827;
}
.manual-content a {
  color: #2563eb;
  text-decoration: underline;
}
.manual-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1.5rem 0;
}

/* スクリーンショットギャラリー */
.manual-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  margin: 1rem 0 1.5rem;
  padding: 1rem;
  background: #f0f4f8;
  border-radius: 0.5rem;
}
.manual-screenshot {
  flex: 0 0 auto;
  text-align: center;
}
.manual-screenshot img {
  max-width: 400px;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.manual-screenshot.mobile img {
  max-width: 180px;
}
.manual-screenshot figcaption {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* 印刷 */
@media print {
  .manual-screenshot img {
    max-width: 280px;
  }
  .manual-gallery {
    break-inside: avoid;
  }
}
