/* ページヘッダー */
.page-header {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  /* デフォルトの背景スタイル */
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #1f2937;
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-header-content h1 {
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.4;
  margin-bottom: 0.5em;
  color: #1f2937;
}

.page-header-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #6b7280;
}

/* レスポンシブ対応 */
@media (min-width: 768px) {
  .page-header-content h1 {
    font-size: 3.6rem;
  }
  
  .page-header-content {
    padding: 0 40px;
  }
}

@media (min-width: 1024px) {
  .page-header-content {
    padding: 0;
  }
}

/* Q&A セクション */
.qa-section {
  padding: 80px 0;
}

.qa-section.bg-light {
  background-color: #f8f9fa;
}

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

.section-heading {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}

.section-subheading {
  font-size: 1.2rem;
  color: #666;
}

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

.qa-item {
  margin-bottom: 2rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.qa-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.qa-item details {
  width: 100%;
}

.qa-item summary {
  padding: 20px;
  background: #f8f9fa;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease;
}

.qa-item summary:hover {
  background: #e9ecef;
}

.qa-item summary::-webkit-details-marker {
  display: none;
}

.qa-item summary::after {
  content: '▼';
  margin-left: auto;
  transition: transform 0.3s ease;
}

.qa-item details[open] summary::after {
  transform: rotate(180deg);
}

.qa-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: #007bff;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.9rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.qa-answer .qa-icon {
  background: #28a745;
}

.qa-answer {
  padding: 20px;
  background: white;
  display: flex;
  align-items: flex-start;
}

.qa-answer p {
  margin: 0;
  line-height: 1.6;
  color: #555;
}

/* お問い合わせセクション */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.contact-content {
  text-align: center;
}

.contact-heading {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.contact-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: white;
  color: #667eea;
}

.btn-primary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background: white;
  color: #667eea;
  transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }
  
  .section-heading {
    font-size: 2rem;
  }
  
  .contact-heading {
    font-size: 2rem;
  }
  
  .qa-item summary {
    font-size: 1rem;
    padding: 15px;
  }
  
  .qa-answer {
    padding: 15px;
  }
  
  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
}