/* スクール料金プランページ専用CSS */

/* メインコンテンツ */
.pricing-main-content {
  padding: 10px;
}

/* 比較表セクション */
.pricing-comparison-section {
  padding: 10px 0;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  color: #666;
}

.highlight-text {
  font-size: 1.3rem;
  font-weight: bold;
  color: #ff6b6b;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* プランカード */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.pricing-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 2rem;
  position: relative;
  transition: transform 0.3s ease;
}

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

.pricing-card.recommended {
  border: 2px solid #ff6b6b;
  transform: scale(1.02);
}

.recommended-ribbon {
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  padding: 5px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
}

.card-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plan-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
  display: block;
}

.plan-description {
  color: #666;
  font-size: 0.95rem;
  display: block;
  margin-top: 0.5rem;
}

/* 価格表示 */
.card-price {
  margin-bottom: 2rem;
}

.price-item {
  margin-bottom: 1.5rem;
}

.price-item .price-label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.price-values {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 1.4rem;
  font-weight: 500;
}

.discount-price {
  font-size: 2.5rem;
  font-weight: bold;
  color: #e74c3c;
  line-height: 1;
}

.discount-badge {
  background: #e74c3c;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: bold;
}

.monthly-price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
}

/* 機能リスト */
.card-features {
  margin-bottom: 2rem;
}

.features-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}

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

.card-features li {
  padding: 0.7rem 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 2rem;
}

.card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #03A9F4;
  font-weight: bold;
  font-size: 1.2rem;
}

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

.recommended-note {
  background: #fff9c4;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* CTAボタン */
.card-cta {
  text-align: center;
}

.card-cta .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

/* 追加オプション */
.additional-options {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 3rem;
}

.options-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
}

.options-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.option-item {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.option-name {
  font-weight: 500;
  color: #333;
}

.option-price {
  font-weight: bold;
  color: #e74c3c;
  font-size: 1.1rem;
}

/* コース選択セクション */
.course-selection-section {
  padding: 3rem 0;
  background: #fff;
}

.course-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.course-card {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 15px;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: #667eea;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.course-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.course-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pricing-card.recommended {
    transform: scale(1);
  }
  
  .options-list {
    grid-template-columns: 1fr;
  }
  
  .course-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .course-card {
    padding: 1.5rem 0.8rem;
  }
}


/* ヒーローセクションの新しいスタイル */
.pricing-hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  animation: floatPattern 20s ease-in-out infinite;
}

@keyframes floatPattern {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-20px, -20px) rotate(1deg); }
  66% { transform: translate(20px, -10px) rotate(-1deg); }
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: fadeInDown 0.8s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out;
}

.title-line {
  display: block;
  margin: 0.5rem 0;
}

.title-line.emphasis {
  background: linear-gradient(90deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  padding: 1.2rem 3.5rem;
  border-radius: 50px;
  margin: 2rem 1rem 3rem 1rem;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
  animation: pulse 2s ease-in-out infinite, fadeInUp 0.8s ease-out 0.4s both;
  max-width: 600px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.discount-tag {
  font-size: 1.1rem;
}

.discount-percent {
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.discount-limit {
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-weight: bold;
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .pricing-hero-section {
    padding: 80px 0 60px;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-highlight {
    flex-direction: column;
    padding: 1rem 2rem;
    margin: 1.5rem 0.5rem 2.5rem 0.5rem;
    gap: 0.5rem;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }
  
  .comparison-table,
  .price-table {
    font-size: 0.9rem;
  }
  
  .cta-buttons {
    grid-template-columns: 1fr;
  }
  
  .comparison-table th,
  .comparison-table td,
  .price-table td {
    padding: 0.7rem 0.5rem;
  }
}

/* 入学金表示用スタイル */
.enrollment-fee {
  margin-bottom: 1.5rem;
  text-align: center;
}

.enrollment-fee .label,
.monthly-fee .label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
  text-align: center;
}

.enrollment-fee .price-main {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  text-align: center;
}

.monthly-fee {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px dashed #ddd;
}

.monthly-fee .price-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

/* 契約オプション */
.contract-options {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.contract-title {
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contract-options ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contract-options li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: #666;
}

/* 継続プラン用スタイル */
.plan-subtitle {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;
}

.plan-note {
  background: #fff9c4;
  padding: 0.8rem;
  border-radius: 4px;
  margin-top: 1rem;
}

.plan-note p {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

.pricing-page-custom {
  background-color: #f8f9fa;
}

/* コンテナ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヒーローセクション */
.pricing-hero-section {
  background: linear-gradient(135deg, #03A9F4 0%, #00BCD4 100%);
  color: white;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.pricing-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.pricing-hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.95;
  line-height: 1.6;
  margin-bottom: 0;
}

/* メインコンテンツ */
.pricing-main-content {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #03A9F4, #00BCD4);
  border-radius: 2px;
}

/* プランカード */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 0 auto;
  padding: 0;
}

.plan-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.plan-card.popular {
  border-color: #03A9F4;
  transform: scale(1.05);
}

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

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #03A9F4, #00BCD4);
  color: white;
  padding: 6px 20px;
  /* border-radius: 20px; */
  font-size: 0.9rem;
  font-weight: 600;
}

.plan-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: #03A9F4;
}

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

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

.plan-features li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 2rem;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #03A9F4;
  font-weight: bold;
  font-size: 1.2rem;
}

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

.plan-cta {
  margin-top: 2rem;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #03A9F4, #00BCD4);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0288D1, #00ACC1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(3, 169, 244, 0.3);
}

/* 推奨プランのボタンスタイル */
.pricing-card.recommended .btn-primary {
  background: white;
  color: #ff6b6b;
  border: 2px solid #ff6b6b;
  font-weight: bold;
}

.pricing-card.recommended .btn-primary:hover {
  background: #ff6b6b;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-outline {
  background: transparent;
  color: #03A9F4;
  border-color: #03A9F4;
}

.btn-outline:hover {
  background: #03A9F4;
  color: white;
  transform: translateY(-2px);
}

/* 特典セクション */
.pricing-benefits-section {
  background: white;
  padding: 10px 0;
  margin: 10px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 0 auto;
  padding: 0;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.benefit-item p {
  color: #666;
  line-height: 1.6;
}

/* FAQ セクション */
.pricing-faq-section {
  padding: 60px 0;
}

.pricing-faq-list {
  margin: 0 auto;
  padding: 0;
}

.pricing-faq-item {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.pricing-faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.pricing-faq-question:hover {
  background-color: #f8f9fa;
}

.pricing-faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.pricing-faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #03A9F4;
  transition: all 0.3s ease;
  min-width: 30px;
  text-align: center;
}

/* FAQ回答 - 常時表示 */
.pricing-faq-answer {
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.pricing-faq-answer p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

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

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

  .plans-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .plan-card.popular {
    transform: none;
  }

  .plan-card.popular:hover {
    transform: translateY(-5px);
  }

  .price {
    font-size: 2.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-item {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .pricing-hero-section {
    padding: 60px 0 40px;
  }

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

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

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

  .plan-card {
    padding: 1.5rem;
  }

  .price {
    font-size: 2rem;
  }

  .benefit-item {
    padding: 1rem;
  }

  .benefit-icon {
    font-size: 2.5rem;
  }
}