/* ─── よくあるご質問ページ（LPの faq.html を移植。ヘッダー／フッターは自サイトのものを使用） ─── */
.faq-hero {
  text-align: center;
  padding: 160px 24px 0;
  margin-bottom: 4rem;
}

.faq-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 6rem;
}

.faq-category {
  margin-bottom: 4rem;
}

.category-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-yellow);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 218, 21, 0.3);
}

.faq-item {
  background: rgba(15, 30, 51, 0.3);
  border-radius: var(--radius-1);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: rgba(255, 218, 21, 0.4);
}

.faq-question {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.faq-answer {
  color: #e0e0e0;
  line-height: 2;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  padding-left: 3rem;
}

.faq-answer a {
  color: var(--color-blue);
  text-decoration: underline;
  word-break: break-all;
}

.faq-answer a:hover {
  color: var(--color-yellow);
}

.faq-answer ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

.note-section {
  background: rgba(255, 218, 21, 0.1);
  border: 2px solid rgba(255, 218, 21, 0.3);
  border-radius: var(--radius-1);
  padding: 2rem;
  margin-top: 3rem;
}

.note-section h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--color-yellow);
  margin-bottom: 1.5rem;
}

.note-section p {
  color: #e0e0e0;
  line-height: 2;
  margin-bottom: 1rem;
}

.note-section ul {
  margin-left: 1.5rem;
  color: #e0e0e0;
}

.note-section li {
  margin-bottom: 0.8rem;
  line-height: 1.8;
}

.moji-block img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-1);
}

#device_count, #kome1, #kome2, #kome3, #moji_F1, #moji_F2, #moji_J1, #rgst-free, #trouble_1 {
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  .faq-hero {
    padding-top: 120px;
  }
  .faq-answer {
    padding-left: 0;
  }
  .faq-question {
    flex-direction: column;
    gap: 0.5rem;
  }
  .faq-item {
    padding: 1.5rem;
  }
}

@media (max-width: 425px) {
  .faq-item {
    padding: 1rem;
  }
}
