.glossary-faq-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #f59e0b;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
}

/* 用語集セクション */
.glossary-section {
  margin-bottom: 80px;
}

.glossary-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.glossary-tab {
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.glossary-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

.glossary-tab.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: transparent;
  color: white;
}

.glossary-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.glossary-item {
  padding: 25px;
  transition: transform 0.3s ease;
}

.glossary-item:hover {
  transform: translateY(-5px);
}

.glossary-term {
  font-size: 1.3rem;
  font-weight: 600;
  color: #f59e0b;
  margin-bottom: 10px;
}

.glossary-definition {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* FAQセクション */
.faq-section {
  margin-bottom: 60px;
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.faq-question-text {
  flex: 1;
}

.faq-answer {
  padding: 0 25px 25px 70px;
  animation: fadeIn 0.3s ease;
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .glossary-faq-container {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .glossary-content {
    grid-template-columns: 1fr;
  }

  .glossary-tab {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .faq-answer {
    padding: 0 20px 20px 55px;
  }

  .faq-icon {
    width: 25px;
    height: 25px;
    font-size: 1.2rem;
  }
}

/* FAQセクションのCTA */
.faq-cta {
  margin-top: 40px;
  padding: 30px;
  text-align: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
  border: 2px solid rgba(245, 158, 11, 0.3);
  border-radius: 15px;
}

.faq-cta-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  line-height: 1.6;
}

.faq-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.faq-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

@media (max-width: 768px) {
  .faq-cta-text {
    font-size: 0.95rem;
  }

  .faq-cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
}
