/* 
 * FAQページ専用スタイルシート
 * FIVE STAR CLUB - 高級感あふれるデザイン
 */

/* ===== 基本設定 ===== */
:root {
  --primary-color: #b8860b; /* ゴールド */
  --secondary-color: #1a1a1a; /* 濃いグレー */
  --accent-color: #d4af37; /* 明るいゴールド */
  --text-color: #333333;
  --light-color: #f9f9f9;
  --dark-color: #0a0a0a;
  --gradient-gold: linear-gradient(135deg, #b8860b 0%, #d4af37 50%, #b8860b 100%);
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ===== FAQページ全体のスタイル ===== */
.faq-page {
  background-color: var(--light-color);
  color: var(--text-color);
  font-family: 'Noto Serif JP', serif;
  line-height: 1.8;
}

/* ページヘッダー */
.page-header {
  background: var(--gradient-gold);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  margin-bottom: 80px;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/images/pattern.png');
  background-repeat: repeat;
  opacity: 0.1;
}

.page-header h1 {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: 3.5rem;
  color: var(--dark-color);
  margin-bottom: 20px;
  position: relative;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.page-header p {
  font-size: 1.2rem;
  color: var(--dark-color);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

/* FAQ紹介セクション */
.faq-intro {
  padding: 60px 0;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-intro h2 {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.faq-intro h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--gradient-gold);
}

.faq-intro p {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.9;
}

/* FAQメインセクション */
.faq-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.faq-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* FAQカテゴリフィルター */
.faq-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.faq-category {
  padding: 12px 25px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(184, 134, 11, 0.3);
  border-radius: 30px;
  font-size: 1rem;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}

.faq-category:hover {
  background-color: rgba(212, 175, 55, 0.1);
  border-color: var(--primary-color);
}

.faq-category.active {
  background: var(--gradient-gold);
  color: var(--dark-color);
  border-color: transparent;
  font-weight: 500;
}

/* FAQアコーディオン */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 25px 30px;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(212, 175, 55, 0.05);
}

.faq-question h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin: 0;
  padding-right: 20px;
  flex: 1;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-toggle i {
  transition: var(--transition);
}

.faq-item.active .faq-toggle i {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-answer {
  padding: 0 30px 25px;
  max-height: 1000px;
}

.faq-answer p {
  margin-top: 0;
  color: var(--text-color);
  line-height: 1.8;
}

.faq-answer ul {
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 10px;
}

/* その他の質問セクション */
.faq-more {
  margin-top: 60px;
  text-align: center;
  padding: 40px;
  background: rgba(212, 175, 55, 0.05);
  border-radius: 10px;
}

.faq-more h3 {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.faq-more p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.faq-action {
  margin-top: 20px;
}

.btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: var(--gradient-gold);
  color: var(--dark-color);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 5px;
  transition: var(--transition);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

/* CTA セクション */
.faq-cta {
  padding: 100px 0;
  background-color: var(--dark-color);
  text-align: center;
  position: relative;
}

.faq-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/images/luxury-pattern.png');
  background-repeat: repeat;
  opacity: 0.05;
}

.faq-cta .container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-cta h2 {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: 2.8rem;
  color: var(--accent-color);
  margin-bottom: 30px;
}

.faq-cta p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-gold {
  display: inline-block;
  padding: 15px 40px;
  background: var(--gradient-gold);
  color: var(--dark-color);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 5px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  display: inline-block;
  padding: 15px 40px;
  background-color: transparent;
  color: var(--accent-color);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 5px;
  transition: var(--transition);
  border: 2px solid var(--accent-color);
}

.btn-outline:hover {
  background-color: rgba(212, 175, 55, 0.1);
  transform: translateY(-3px);
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
  .page-header h1 {
    font-size: 3rem;
  }
  
  .faq-intro h2,
  .faq-cta h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .page-header {
    padding: 100px 0 60px;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .faq-intro h2,
  .faq-cta h2 {
    font-size: 2.2rem;
  }
  
  .faq-categories {
    gap: 10px;
  }
  
  .faq-category {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 80px 0 50px;
  }
  
  .page-header h1 {
    font-size: 2.2rem;
  }
  
  .page-header p {
    font-size: 1rem;
  }
  
  .faq-intro h2,
  .faq-cta h2 {
    font-size: 2rem;
  }
  
  .faq-intro p {
    font-size: 1rem;
  }
  
  .faq-question h3 {
    font-size: 1.1rem;
  }
  
  .faq-cta {
    padding: 70px 0;
  }
  
  .faq-cta p {
    font-size: 1.1rem;
  }
  
  .btn-gold,
  .btn-outline,
  .btn-primary {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .page-header h1 {
    font-size: 1.8rem;
  }
  
  .faq-intro h2,
  .faq-cta h2 {
    font-size: 1.8rem;
  }
  
  .faq-categories {
    flex-direction: column;
    gap: 8px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .faq-category {
    width: 100%;
    text-align: center;
  }
  
  .faq-question {
    padding: 20px;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }
  
  .faq-cta {
    padding: 50px 0;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-gold,
  .btn-outline,
  .btn-primary {
    width: 100%;
    text-align: center;
  }
}
