/* カスタマイズ: トップページ「新着情報」(M-01 / M-03 共通) カテゴリータブ（PC/SP共用） */

.cz_tabs {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cz_tab {
  box-sizing: border-box;
  min-width: 120px;
  padding: 8px 28px;
  border: 1px solid var(--link_color);
  border-radius: 0;
  background: #fff;
  color: var(--link_color);
  font-size: inherit;
  font-family: inherit;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.cz_tab:hover {
  background: rgba(13, 113, 197, 0.08);
}

.cz_tab.is-active {
  background: var(--link_color);
  color: #fff;
}

.cz_panel.is-hidden {
  display: none;
}

/* SP(smartpress): ブロックのルート要素が section になる（M-01 / M-03 とも）。files_mobile.css の --easys_base_width を使用 */
section.easys_content .cz_tabs {
  margin-bottom: calc(100vw * (20 / var(--easys_base_width)));
  gap: calc(100vw * (10 / var(--easys_base_width)));
}

section.easys_content .cz_tab {
  flex: 1 1 auto;
  min-width: 0;
  padding: calc(100vw * (8 / var(--easys_base_width))) calc(100vw * (16 / var(--easys_base_width)));
}

/* 記事が 0 件のタブの表示 */
.cz_empty {
  width: 100%;
  padding: 30px 0;
  text-align: center;
}
