/**
 * 料金詳細ページのスタイル
 */

/* 料金詳細セクション全体 */
.pricing-details-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.pricing-details-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* セクションヘッダー */
.pricing-details-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-details-section .section-title {
  font-size: 2.5rem;
  color: #0288D1;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.pricing-details-section .section-subtitle {
  font-size: 2rem;
  color: #0288D1;
  margin: 40px 0 15px;
  position: relative;
  display: inline-block;
}

.pricing-details-section .section-description {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* 料金カード */
.pricing-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
}

.pricing-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
  transform: scale(1.05);
  border: 2px solid #03A9F4;
  z-index: 1;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #03A9F4, #00BCD4);
  color: white;
  padding: 5px 15px;
  font-size: 0.9rem;
  font-weight: bold;
  border-bottom-left-radius: 10px;
}

.pricing-header {
  background: linear-gradient(135deg, rgba(3, 169, 244, 0.85), rgba(0, 188, 212, 0.7));
  color: white;
  padding: 25px 20px;
  text-align: center;
}

.pricing-title {
  font-size: 1.5rem;
  margin: 0 0 15px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: bold;
}

.price-currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.price-period {
  font-size: 1rem;
  opacity: 0.8;
}

.pricing-features {
  padding: 25px 20px;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  margin-right: 10px;
  color: #03A9F4;
}

.pricing-features .disabled {
  opacity: 0.6;
}

.pricing-features .disabled i {
  color: #ccc;
}

.pricing-footer {
  padding: 20px;
  text-align: center;
}

.pricing-button {
  display: inline-block;
  background: linear-gradient(135deg, #03A9F4, #00BCD4);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.pricing-button:hover {
  background: linear-gradient(135deg, #0288D1, #0097A7);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(3, 169, 244, 0.4);
}

/* サービス比較表 */
.service-table-section {
  margin-top: 60px;
}

.service-table-container {
  margin-top: 30px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.service-comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
}

.service-comparison-table th,
.service-comparison-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid #eee;
}

.service-name-header {
  background-color: #f5f5f5;
  font-weight: bold;
  text-align: left;
}

.service-name {
  background-color: #f9f9f9;
  font-weight: 500;
  text-align: left;
}

.plan-header {
  background: linear-gradient(135deg, rgba(3, 169, 244, 0.85), rgba(0, 188, 212, 0.7));
  color: white;
  font-weight: bold;
  position: relative;
}

.plan-header .price {
  display: block;
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 5px;
}

.plan-header.non-member {
  background: #f5f5f5;
  color: #666;
}

.plan-header.light {
  background: linear-gradient(135deg, rgba(3, 169, 244, 0.7), rgba(0, 188, 212, 0.6));
}

.plan-header.basic {
  background: linear-gradient(135deg, rgba(3, 169, 244, 0.85), rgba(0, 188, 212, 0.7));
}

.plan-header.premium {
  background: linear-gradient(135deg, rgba(0, 151, 167, 0.85), rgba(2, 136, 209, 0.85));
}

/* よくある質問 */
.pricing-faq {
  margin-top: 60px;
}

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

.faq-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.faq-question h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #0288D1;
  padding-right: 30px;
}

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

/* CTA */
.pricing-cta {
  margin-top: 60px;
  text-align: center;
  background: linear-gradient(135deg, rgba(3, 169, 244, 0.1), rgba(0, 188, 212, 0.1));
  padding: 40px;
  border-radius: 10px;
}

.pricing-cta h3 {
  font-size: 1.8rem;
  color: #0288D1;
  margin-bottom: 15px;
}

.pricing-cta p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 25px;
}

.btn.primary-button {
  display: inline-block;
  background: linear-gradient(135deg, #03A9F4, #00BCD4);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  font-size: 1.1rem;
}

.btn.primary-button:hover {
  background: linear-gradient(135deg, #0288D1, #0097A7);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(3, 169, 244, 0.4);
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
  .pricing-container {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 350px;
    margin-bottom: 30px;
  }
  
  .pricing-card.popular {
    transform: scale(1);
    order: -1;
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .pricing-details-section {
    padding: 40px 0;
  }
  
  .pricing-details-section .section-title {
    font-size: 2rem;
  }
  
  .pricing-details-section .section-subtitle {
    font-size: 1.5rem;
  }
  
  .service-table-scroll {
    overflow-x: scroll;
  }
  
  .service-comparison-table th,
  .service-comparison-table td {
    padding: 10px;
    font-size: 0.9rem;
  }
  
  .pricing-cta {
    padding: 30px 20px;
  }
  
  .pricing-cta h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .pricing-details-section .section-title {
    font-size: 1.8rem;
  }
  
  .pricing-price {
    font-size: 2rem;
  }
  
  .btn.primary-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
}
