/* FAQおりたたみ */

/* 搬送ロボットソリューション */
.faq-section {
  max-width: calc(100% - 80px); /* 左右40pxずつ引く */
  margin: 40px auto;
  padding: 0 20px;
}

.faq-title {
  font-size: 22px; /* 20px → 22px */
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
}

.faq-list {
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  padding: 18px 24px; /* パディングも少し増加 */
  cursor: pointer;
  transition: all 0.2s ease;
  /* background: #f9fafb; */
  background: #f4feff;
}

.faq-question:hover {
  background: #f3f4f6;
}

.faq-question.active {
  background: white;
}

.faq-icon {
  font-size: 14px; /* 12px → 14px */
  color: #666;
  margin-right: 10px; /* 8px → 10px */
  min-width: 14px;
  transition: transform 0.2s ease;
}

.faq-number {
  font-weight: 600;
  color: #333;
  margin-right: 10px; /* 8px → 10px */
  font-size: 16px; /* サイズ指定追加 */
}

.faq-text {
  color: #333;
  font-size: 16px; /* 14px → 16px */
  line-height: 1.4;
}

.faq-answer {
  padding: 18px 24px 22px 48px;
  background: #f8fafd;
  border-top: 1px solid #e5e7eb;
  border-left: 4px solid #93c5fd;
  display: none;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  to {
    opacity: 1;
    max-height: 200px;
    padding-top: 18px;
    padding-bottom: 22px;
  }
}

.faq-answer p {
  color: #555;
  font-size: 15px; /* 14px → 15px */
  line-height: 1.6;
  margin: 0;
}

.faq-link {
  color: #3b82f6;
  text-decoration: none;
}

.faq-link:hover {
  text-decoration: underline;
}

.faq-more {
  text-align: right;
  margin-top: 20px;
}

.faq-more-link {
  color: #3b82f6;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
}

.faq-more-link:hover {
  text-decoration: underline;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .faq-section {
    max-width: calc(100% - 32px); /* モバイルは左右16pxずつ */
    margin: 20px auto;
    padding: 0 16px;
  }
  
  .faq-question {
    padding: 16px 18px;
  }
  
  .faq-answer {
    padding: 16px 18px 20px 44px;
  }
  
  .faq-text {
    font-size: 15px; /* モバイルでも少し大きく */
  }
  
  .faq-answer p {
    font-size: 14px;
  }
}
/* FAQおりたたみここまで */