/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 27 2026 | 08:38:25 */
/* テント学校 2段カテゴリ絞り込みUI */
#tips-filter-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tips-tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.tips-tab-title {
  font-size: 14px;
  font-weight: bold;
  color: #334155;
}

.tips-filter-count {
  font-size: 13px;
  color: #64748b;
}

/* 第1階層：親カテゴリタブ */
.tips-parent-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tips-parent-btn {
  appearance: none;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tips-parent-btn:hover {
  background: #e2e8f0;
}

.tips-parent-btn.active {
  background: #24a879;
  border-color: #24a879;
  color: #ffffff;
}

/* 第2階層：子カテゴリボタン群 */
.tips-child-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: 6px;
  min-height: 48px;
  align-items: center;
}

.tips-child-btn {
  appearance: none;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tips-child-btn:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}

.tips-child-btn.active {
  background: #334155;
  border-color: #334155;
  color: #ffffff;
  font-weight: bold;
}

/* スマホ表示対応（横スクロール） */
@media (max-width: 768px) {
  #tips-filter-wrap {
    padding: 12px 14px;
    margin-bottom: 18px;
  }
  .tips-parent-tabs,
  .tips-child-group {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .tips-parent-btn,
  .tips-child-btn {
    flex-shrink: 0;
  }
}