/* Q&A ページ専用CSS */

/* ページヘッダー - シンプル版 */
.qa-page-header {
  height: 30vh;
  min-height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 60px;
}

.qa-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2c5f7d 0%, #4a7c9e 30%, #6b9ab8 60%, #5a8aa8 100%);
  z-index: 1;
}

.qa-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.qa-header-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.qa-page-title {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  margin: 0;
  color: white;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* Q&A コンテンツセクション */
.qa-content-section {
  padding: 80px 50px;
  position: relative;
  background: linear-gradient(180deg, #000 0%, #0a1929 50%, #000 100%);
  min-height: 60vh;
}

.qa-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Q&A リスト */
.qa-list {
  line-height: 2;
  font-size: 1rem;
  color: #6b9ab8;
  letter-spacing: 0.05em;
}

.qa-item {
  margin-bottom: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(107, 154, 184, 0.2);
}

.qa-item:last-child {
  border-bottom: none;
}

.qa-number {
  font-weight: 500;
  color: rgba(107, 154, 184, 0.8);
  display: inline;
}

.qa-question {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  display: block;
  margin: 8px 0 12px;
}

.qa-answer {
  color: rgba(255, 255, 255, 0.75);
  display: block;
  margin-left: 20px;
  line-height: 2;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* メタ情報 */
.qa-meta {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid rgba(107, 154, 184, 0.3);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

/* フッター */
.qa-back-link {
  text-align: center;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 50px;
}

.qa-back-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  padding: 16px 40px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: all 0.4s ease;
  font-weight: 300;
  background: rgba(255, 255, 255, 0.05);
}

.qa-back-button:hover {
  background: rgba(107, 154, 184, 0.25);
  border-color: rgba(107, 154, 184, 0.6);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(107, 154, 184, 0.35);
}

.qa-back-arrow {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.qa-back-button:hover .qa-back-arrow {
  transform: translateX(-5px);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .qa-page-header {
    height: 25vh;
    min-height: 200px;
    margin-top: 80px;
  }
  
  .qa-page-title {
    font-size: 2rem;
    letter-spacing: 0.15em;
  }
  
  .qa-content-section {
    padding: 60px 20px;
  }
  
  .qa-container {
    max-width: 100%;
  }
  
  .qa-list {
    font-size: 0.95rem;
  }
  
  .qa-item {
    padding: 12px 0;
  }
  
  .qa-answer {
    margin-left: 16px;
  }
}

@media (max-width: 480px) {
  .qa-page-header {
    height: 20vh;
    min-height: 150px;
  }
  
  .qa-page-title {
    font-size: 1.5rem;
  }
  
  .qa-content-section {
    padding: 40px 15px;
  }
  
  .qa-list {
    font-size: 0.9rem;
    line-height: 1.8;
  }
}