/* コース案内セクション専用CSS */

.pricing-area.pt-120 {
  padding-top: 120px;
}

.pricing-area .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.pricing-area .section-title .line {
  height: 2px;
  width: 50px;
  background-color: var(--theme-color1);
  margin: 0 auto 15px;
}

.pricing-area .section-title .title {
  font-size: 36px;
  font-weight: 700;
  color: var(--headings-color);
  margin-bottom: 0;
}

.pricing-area .section-title .title span {
  color: var(--theme-color1);
}

.pricing-area .section-title .sub-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--headings-color);
  margin-top: 30px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

/* サブタイトルの下線装飾 */
.pricing-area .section-title .sub-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--theme-color1);
  opacity: 0.5;
}

.pricing-area .table-responsive {
  margin-bottom: 40px;
}

/* 基本のテーブルスタイル */
.pricing-area .table-pricing {
  background-color: #ffffff; /* 明示的に白を指定 */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  border: 1px solid #f0f4f8;
  transition: all 0.3s ease;
}

.pricing-area .table-pricing:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

/* テーブルヘッダー - 重要な修正 */
.pricing-area .table-pricing thead {
  background: linear-gradient(135deg, #3690d9 0%, #4a9fd8 100%); /* var(--theme-color1)の値を直接使用 */
}

.pricing-area .table-pricing thead td {
  color: #3690d9 !important; /* 明示的に白文字を指定し、!importantで優先度を上げる */
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  padding: 15px 20px;
  border: none;
  vertical-align: middle;
  letter-spacing: 0.3px;
}

/* テーブルボディ */
.pricing-area .table-pricing tbody td {
  text-align: center;
  padding: 15px 20px;
  font-size: 14px;
  color: #595b62; /* var(--text-color)の値を直接使用 */
  border: 1px solid #e8e8e8;
  vertical-align: middle;
  transition: background-color 0.2s ease;
  background-color: #ffffff; /* 明示的に白背景を指定 */
}

.pricing-area .table-pricing tbody tr {
  background-color: #ffffff; /* 明示的に白背景を指定 */
}

.pricing-area .table-pricing tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.pricing-area .table-pricing tbody tr:hover {
  background-color: #f0f8ff;
  transition: all 0.3s ease;
}

.pricing-area .table-pricing tbody tr:last-child td {
  border-bottom: none;
}

/* 種類ラベル */
.pricing-area .table-pricing .type-label {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #3690d9; /* var(--theme-color1)の値を直接使用 */
  background: #e8f4fd;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

.pricing-area .table-pricing tbody tr:hover .type-label {
  background: #d9edfc;
}

/* 容量表示 */
.pricing-area .table-pricing .capacity {
  font-size: 18px;
  font-weight: 700;
  color: #051b1b; /* var(--headings-color)の値を直接使用 */
  display: inline-block;
}

/* 時間情報 */
.pricing-area .table-pricing .time-info {
  display: inline-block;
  padding: 5px 14px;
  background: #f8f9fa;
  border-radius: 5px;
  color: #555;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.pricing-area .table-pricing tbody tr:hover .time-info {
  background: #f0f4f8;
  border-color: #d6dde5;
}

/* 時間詳細（乾燥機用） */
.pricing-area .table-pricing .time-detail {
  text-align: left;
  padding-left: 30px !important;
}

.pricing-area .table-pricing .time-item {
  display: block;
  padding: 3px 0;
  font-size: 14px;
  color: #555;
  position: relative;
  padding-left: 18px;
}

.pricing-area .table-pricing .time-item::before {
  content: '・';
  position: absolute;
  left: 0;
  color: #3690d9; /* var(--theme-color1)の値を直接使用 */
  font-size: 16px;
  line-height: 16px;
}

.pricing-area .table-pricing .time-item.single {
  padding-left: 0;
}

.pricing-area .table-pricing .time-item.single::before {
  display: none;
}

/* 各テーブルの個別スタイル（控えめな差別化） */
.pricing-area .washer-table thead {
  background: linear-gradient(135deg, #4a9fd8 0%, #5ba8d9 100%);
}

.pricing-area .dryer-table thead {
  background: linear-gradient(135deg, #5ba8d9 0%, #6bb1da 100%);
}

/* カードスタイル */
.card-service {
  background-color: #ffffff; /* 明示的に白を指定 */
  border-radius: 15px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
  height: 100%;
}

.card-service:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.card-service .card-body {
  padding: 40px 30px;
}

.card-service .feature-icon {
  font-size: 48px;
  color: #3690d9; /* var(--theme-color1)の値を直接使用 */
  margin-bottom: 20px;
}

.card-service h4 {
  font-size: 20px;
  font-weight: 700;
  color: #051b1b; /* var(--headings-color)の値を直接使用 */
  margin-bottom: 15px;
  line-height: 1.3;
}

.card-service p {
  color: #595b62; /* var(--text-color)の値を直接使用 */
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-service .list-unstyled {
  margin-bottom: 0;
}

.card-service .list-unstyled li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: #595b62; /* var(--text-color)の値を直接使用 */
}

.card-service .check-icon,
.card-service .wash-ok {
  color: #3690d9; /* var(--theme-color1)の値を直接使用 */
  font-size: 16px;
  margin-right: 10px;
  flex-shrink: 0;
}

/* wash-okアイコンの追加スタイル */
.card-service .wash-ok::before {
  content: '✓';
  font-weight: bold;
}

/* LINEボタンスタイル */
.line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #00C300;
  color: white !important; /* 明示的に白文字を指定 */
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 195, 0, 0.3);
}

.line-button:hover {
  background-color: #00A300;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 195, 0, 0.4);
  color: white !important;
  text-decoration: none;
}

.line-button i {
  margin-right: 8px;
  font-size: 16px;
}

/* レスポンシブ対応 */
@media (max-width: 991.98px) {
  .pricing-area .section-title .title {
    font-size: 32px;
  }
  
  .pricing-area .section-title .sub-title {
    font-size: 20px;
  }
  
  .card-service .card-body {
    padding: 30px 20px;
  }
}

@media (max-width: 767.98px) {
  .pricing-area .section-title .title {
    font-size: 28px;
  }
  
  .pricing-area .section-title .sub-title {
    font-size: 18px;
  }
  
  .pricing-area .table-pricing thead th,
  .pricing-area .table-pricing tbody td {
    padding: 10px 8px;
    font-size: 13px;
  }
  
  .pricing-area .table-pricing .type-label {
    font-size: 12px;
    padding: 5px 12px;
  }
  
  .pricing-area .table-pricing .capacity {
    font-size: 16px;
  }
  
  .pricing-area .table-pricing .time-info {
    font-size: 12px;
    padding: 4px 10px;
  }
  
  .pricing-area .table-pricing .time-detail {
    padding-left: 15px !important;
  }
  
  .pricing-area .table-pricing .time-item {
    font-size: 12px;
  }
  
  .card-service h4 {
    font-size: 18px;
  }
  
  .card-service p,
  .card-service .list-unstyled li {
    font-size: 13px;
  }
}

@media (max-width: 575.98px) {
  .pricing-area .section-title .title {
    font-size: 24px;
  }
  
  .pricing-area .section-title .sub-title {
    font-size: 16px;
  }
  
  .card-service .card-body {
    padding: 25px 15px;
  }
  
  .card-service .feature-icon {
    font-size: 36px;
  }
}