/* 使い方ガイド ページ専用スタイル（既存の色変数を流用） */
.help-page { max-width: 880px; margin: 0 auto; padding-bottom: 60px; }

.help-hero {
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}
.help-hero h1 { font-size: 22px; margin-bottom: 8px; }
.help-hero p { font-size: 14px; opacity: .92; margin: 0; }

.help-beta-card {
  background: #fff8e6;
  border: 1px solid var(--warn);
  color: #7a4d00;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.help-beta-card h2 { font-size: 15px; margin-bottom: 8px; color: #7a4d00; }
.help-beta-card ul { margin: 8px 0 0 18px; font-size: 13px; line-height: 1.8; }

.help-setup-card {
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.help-setup-card h2 { color: var(--primary); font-size: 17px; margin-bottom: 8px; }
.help-setup-card p { font-size: 14px; margin-bottom: 6px; }
.help-setup-card a.btn { margin-top: 8px; }

.help-toc {
  background: var(--white);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.help-toc h2 { font-size: 15px; margin-bottom: 10px; }
.help-toc ol { margin: 0 0 0 20px; padding: 0; font-size: 14px; line-height: 1.9; }
.help-toc a { color: var(--accent); text-decoration: none; }
.help-toc a:hover { text-decoration: underline; }

.help-section {
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  scroll-margin-top: 16px;
}
.help-section h2 {
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-200);
}
.help-section h3 { font-size: 14px; color: var(--gray-800); margin: 14px 0 6px; }
.help-section p { font-size: 14px; line-height: 1.8; margin-bottom: 10px; }
.help-section ul, .help-section ol { margin: 0 0 10px 20px; font-size: 14px; line-height: 1.85; }
.help-section li { margin-bottom: 4px; }

.help-feature-list { list-style: none; margin-left: 0; }
.help-feature-list li {
  padding: 10px 0 10px 14px;
  border-left: 3px solid var(--accent);
  margin-bottom: 10px;
  background: var(--gray-100);
  border-radius: 0 6px 6px 0;
  padding-right: 10px;
}
.help-feature-list strong { display: block; color: var(--primary); margin-bottom: 3px; font-size: 14px; }
.help-feature-list span { font-size: 13px; color: var(--gray-600); }

.help-steps { counter-reset: help-step; list-style: none; margin-left: 0; }
.help-steps li {
  counter-increment: help-step;
  position: relative;
  padding-left: 34px;
  margin-bottom: 10px;
  font-size: 14px;
}
.help-steps li::before {
  content: counter(help-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-faq-item { border: 1px solid var(--gray-200); border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.help-faq-item summary {
  cursor: pointer;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  list-style: none;
}
.help-faq-item summary::-webkit-details-marker { display: none; }
.help-faq-item summary::after { content: '▼'; float: right; font-size: 10px; color: var(--gray-600); }
.help-faq-item[open] summary::after { content: '▲'; }
.help-faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.help-faq-answer { padding: 0 14px 14px; font-size: 13px; line-height: 1.8; color: var(--gray-800); }

.help-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.help-actions button, .help-actions a.btn {
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.help-btn-primary { background: var(--primary); color: #fff; }
.help-btn-primary:hover { background: var(--primary-l); }
.help-btn-outline { background: var(--white); color: var(--primary); border: 1px solid var(--primary) !important; }
.help-btn-outline:hover { background: var(--gray-100); }

.help-note { font-size: 12px; color: var(--gray-600); margin-top: 8px; }

.help-top-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }

.help-back-top {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 150;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-800);
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.help-back-top:hover { background: var(--primary); }

@media (max-width: 640px) {
  .help-hero { padding: 18px; }
  .help-section { padding: 16px; }
  .help-back-top { right: 14px; bottom: 78px; width: 40px; height: 40px; }
}
