/*============================
  SYSTEMページ 全体ラッパー
============================*/
#price-system-section {
  padding: 15px 5px;
  margin: 15px auto;
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 24px;
  backdrop-filter: blur(6px);
  max-width: 1300px;
  width: 95%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/*============================
  タイトルセクション（統一）
============================*/
#price-system-title {
  background: linear-gradient(to right, #d0e7ff, #ffffff);
  padding: 42px 20px 30px;
  border-bottom: 2px solid #4296e4;
  text-align: center;
}

#price-system-title .castpage-heading {
  font-size: 72px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6),
               0 2px 10px rgba(0, 0, 0, 0.5),
               2px 2px 4px rgba(0, 0, 0, 0.3);
  font-family: 'Cinzel', 'Bebas Neue', sans-serif;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

#price-system-title .castpage-intro {
  color: #222;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/*============================
  タブボタン（共通UI）
============================*/
.schedule-button-group {
  margin: 30px auto 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.schedule-btn {
  background: #fff;
  border: 2px solid #4296e4;
  color: #4296e4;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(66, 150, 228, 0.1);
}

.schedule-btn:hover,
.schedule-btn.active {
  background: #4296e4;
  color: #fff;
  box-shadow: 0 4px 10px rgba(66, 150, 228, 0.2);
}

/*============================
  タブ切り替え表示
============================*/
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/*============================
  テーブルスタイル（2列/3列両対応）
============================*/
#price-system-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border-radius: 12px;
  overflow: hidden;
  table-layout: fixed;
}

#price-system-section table th,
#price-system-section table td {
  border: 1px solid #ddd;
  padding: 12px 16px;
  font-size: 15px;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  word-wrap: break-word;
}

#price-system-section table th {
  background: #f0f4f8;
  font-weight: bold;
  color: #333;
}

/* 2列構成 */
#price-system-section table th:first-child,
#price-system-section table td:first-child {
  width: 60%;
}
#price-system-section table th:last-child,
#price-system-section table td:last-child {
  width: 40%;
}

/* 3列構成 */
.price-table th,
.price-table td {
  width: 33.33%;
}

/*============================
  注意書き・補足情報
============================*/
.price-notes {
  margin-top: 15px;
  padding: 15px;
  background-color: #fefefe;
  border-left: 4px solid #4296e4;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  border-radius: 8px;
}

.price-notes p {
  margin: 0 0 8px;
}

/* 情報ボックス */
.info-box {
  margin-top: 20px;
  padding: 16px;
  background-color: #f9f9f9;
  border: 2px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}

/*============================
  レスポンシブ対応
============================*/
@media (max-width: 768px) {
  #price-system-title .castpage-heading {
    font-size: 2.4rem;
  }

  #price-system-title .castpage-intro {
    font-size: 0.95rem;
  }

  .schedule-button-group {
    flex-direction: column;
    align-items: center;
  }

  .schedule-btn {
    width: 100%;
    max-width: 280px;
    font-size: 0.95rem;
    padding: 8px 14px;
  }

  #price-system-section table th,
  #price-system-section table td {
    font-size: 13px;
    padding: 8px;
  }

  /* 列幅均等に */
  #price-system-section table th:first-child,
  #price-system-section table td:first-child,
  #price-system-section table th:last-child,
  #price-system-section table td:last-child {
    width: 50%;
  }

  .price-table th,
  .price-table td {
    width: 33.33%;
  }
}