@charset "utf-8";

/* ----------------------------------------------------------
    トピックス一覧
---------------------------------------------------------- */
/* カテゴリタブ */
.topics_category {
  display: flex;
  margin-top: 32px;
}

.topics_category li {
  flex: 1 1 0;
  min-width: 0;
}

.topics_category li + li {
  margin-left: -1px;
}

.topics_categoryBtn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 12px;
  border: 1px solid #00467e;
  border-radius: 0;
  background-color: #fff;
  color: #00467e;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  appearance: none;
}

.topics_categoryBtn:hover {
  background-color: #ebf2f8;
}

.topics_categoryBtn.topics_isActive {
  background-color: #00467e;
  color: #fff;
  font-weight: bold;
  cursor: default;
}

/* 絞り込みで非表示にした月・記事 */
.topics_isHidden {
  display: none;
}

/* 記事 */
.topics_itemBody {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.topics_itemBody .v2_linkIcon {
  flex: 1 1 0;
  min-width: 0;
}

.topics_itemTag {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.2;
  white-space: nowrap;
}

.topics_itemTagTrain {
  background-color: #e0f2fe;
  color: #0369a1;
}

.topics_itemTagCompany {
  background-color: #ffedd5;
  color: #aa5921;
}

.topics_itemTagEvent {
  background-color: #f0d5ff;
  color: #7c5fab;
}

/* ----------------------------------------------------------
    詳細ページ
---------------------------------------------------------- */
.v3_linkLocalNav li a {
  font-size: 1.14286rem;
}

@media print, (min-width: 768px) {
  .v3_linkLocalNav li {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 767px) {
  .topics_category {
    margin-top: 24px;
  }

  .topics_categoryBtn {
    padding: 10px 4px;
    font-size: 12px;
  }

  .topics_itemTag {
    font-size: 11px;
  }

  .topics_wrap .v2_newsTopics {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 8px;
  }

  .topics_wrap .v2_newsTopics::before,
  .topics_wrap .v2_newsTopics::after,
  .topics_wrap .v2_newsTopics.topics_isHidden {
    display: none;
  }

  .topics_itemBody {
    display: contents;
  }

  .topics_itemBody .v2_linkIcon {
    flex-basis: 100%;
  }
}
