/* 導入事例フィルター改修用スタイル */

/* フェードインアニメーション無効化・上下padding調整 */
.tabcontent {
  animation: none;
  padding-top: 0;
  padding-bottom: 0;
  background-color: transparent;
}

/* グループ間の間隔 */
.filter-groups {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 0;
  background-color: #f8f7f6;
}

/* グループ内レイアウト: 見出し左 / ボタン右 */
.tabcontent > div.filter-group-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

/* 左見出し */
.filter-group-label {
  flex-shrink: 0;
  width: 160px;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: #23221f;
}

/* ボタン群 */
.filter-group-links {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
}

/* 各ボタン */
.filter-group-links a {
  padding: 8px 12px;
  font-size: 14px;
}

/* タームページ h1 サブタイトル */
.work_top_ttl_sub {
  display: block;
  font-size: 18px;
  font-weight: normal;
}

/* filter-groups内のもっと見るリンク */
.filter-groups .btn_wrap.more {
  padding: 0 30px 0 0;
}

.filter-groups .btn_wrap.more a.text {
  padding-top: 0;
  padding-bottom: 0;
}

/* 機能グループ: 生産管理（左）＋サブタームリスト（右）の2カラム */
.filter-group-links--func {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  flex: 1;
}

.cat_link-func-all {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background-color: #faf4ea !important;
  width: 20%;
  text-align: center;
  font-weight: bold !important;
  font-size: 14px !important;
}

.cat_link-func-all:hover,
.cat_link-func-all.active {
  color: inherit !important;
  background-color: #faf4ea !important;
}

.filter-group-links-sub {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
}

.filter-group-links-sub .cat_link {
  width: 25%;
}

/* SP */
@media (max-width: 767px) {
  .tabcontent > div.filter-group-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-group-label {
    width: auto;
    text-align: left;
    margin-bottom: 4px;
  }

  .filter-group-links--func {
    flex-direction: column;
    width: 100%;
  }

  .cat_link-func-all {
    justify-content: center;
    width: 100% !important;
    font-size: 14px !important;
  }

  .filter-group-links-sub .cat_link {
    width: 50%;
  }
}
