/* /faq/ — mobile-order FAQ 拡張スタイル (pricing/style.css と併用) */
.faq-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.faq-section h2 {
  margin: 2rem 0 1rem;
  font-size: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}
.faq-section h2:first-child { margin-top: 0; }
.faq-section details {
  margin: 0.75rem 0;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.faq-section details[open] {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}
.faq-section summary {
  font-weight: 600;
  cursor: pointer;
  padding-right: 1.5rem;
  position: relative;
  list-style: none;
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after {
  content: "▼";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 0.75rem;
  color: var(--muted);
  transition: transform 0.2s;
}
.faq-section details[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
  color: var(--accent);
}
.faq-section details p {
  margin: 0.75rem 0 0;
  color: var(--text);
  line-height: 1.7;
  font-size: 0.95rem;
}
.faq-section details a { color: var(--accent); }

/* 印刷モード — 全質問展開した状態で 1 冊 PDF にする */
@media print {
  body { background: white; color: black; }
  header, footer, .cta-section, .no-print { display: none !important; }
  .hero { padding: 1rem 0; }
  .hero h1 { font-size: 1.5rem; }
  .faq-section {
    box-shadow: none;
    background: white;
    color: black;
    border: none;
    padding: 0;
  }
  .faq-section h2 {
    margin-top: 1.5rem;
    page-break-after: avoid;
    border-bottom-color: #333;
  }
  .faq-section details {
    background: white;
    border: 1px solid #ddd;
    page-break-inside: avoid;
    margin: 0.5rem 0;
  }
  .faq-section summary::after { display: none; } /* 印刷時の矢印不要 */
  .faq-section summary { padding-right: 0; }
  @page { size: A4 portrait; margin: 14mm; }
}
