@charset "utf-8";
/* ----------------------------------------------------------------------
 見出し
---------------------------------------------------------------------- */
.cb_headline {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
}

.cb_headline .title {
  padding-right: 30px;
  line-height: 1.4;
  margin-top: calc(0.5em - 0.5lh);
  margin-bottom: calc(0.5em - 0.5lh);
}

.cb_headline:not(:has(.link)) .title {
  padding-right: 0;
}

@media (max-width: 767px) {
  .cb_headline {
    font-size: 20px;
  }
}


/* ----------------------------------------------------------------------
 タブ記事 / ランキング
---------------------------------------------------------------------- */
.cb_tab_post_list {
  margin-bottom: 40px;
}

body.sidebar_none .cb_tab_post_list {
  margin-bottom: 50px;
}


/* タブ見出し */
.cb_tab_post_list .tab_headline {
  display: flex;
  flex-wrap: wrap;
}

.cb_tab_post_list .tab_headline .item {
  flex: 1 1 0%;
  display: grid;
  place-items: center;
  height: 70px;
  line-height: 1.4;
  border: 1px solid #ddd;
  border-right: none;
  background: #f6f6f6;
  cursor: pointer;
  transition: color 0.25s ease;
  padding: 10px;
  text-align: center;
}

.cb_tab_post_list .tab_headline .item:last-of-type {
  border-right: 1px solid #ddd;
}

.cb_tab_post_list .tab_headline .item.active {
  border-bottom-color: #fff;
  background: #fff;
  pointer-events: none;
}

.cb_tab_post_list .tab_headline .item span {
  --tcd-line-clamp: 2;
  height: auto;
}

@media (hover: hover) {
  .cb_tab_post_list .tab_headline .item:hover {
    color: #999;
  }
}


/* タブコンテンツ */
.cb_tab_post_list .tab_content {
  display: none;
  border: 1px solid #ddd;
  padding: 30px;
  border-top: none;
}

.cb_tab_post_list .tab_content.active {
  display: block;
}


/* 記事一覧 */
.cb_tab_post_list .tab_post_list {
  display: grid;
  gap: 30px 30px;
  grid-template-columns: repeat(2, 1fr);
}

body.sidebar_both .cb_tab_post_list .tab_post_list {
  grid-template-columns: repeat(1, 1fr);
}


/* 各記事 */
.cb_tab_post_list .tab_post_list .item {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  height: 120px;
  background: #fff;
}


/* サムネイル */
.cb_tab_post_list .tab_post_list .image {
  display: block;
  width: 120px;
  height: 120px;
  z-index: 1;
  position: relative;
}

.cb_tab_post_list .tab_post_list .image .c-thumbnail {
  width: 100%;
  height: 100%;
}


/* 記事本文 */
.cb_tab_post_list .tab_post_list .content {
  width: calc(100% - 120px);
  height: 100%;
  padding: 0 0 0 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


/* タイトル */
.cb_tab_post_list .tab_post_list .title {
  line-height: 1.6;
  font-size: 16px;
  font-weight: 500;
}

.cb_tab_post_list .tab_post_list .title a {
  --tcd-line-clamp: 2;
  height: auto;
}


/* 日付 */
.cb_tab_post_list .tab_post_list .c-date {
  margin-top: 20px;
}


/* ----------------------------------------------------------------------
 レスポンシブ
---------------------------------------------------------------------- */

@container main_col (max-width: 767px) {
  .cb_tab_post_list .tab_post_list {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 767px) {

  .cb_tab_post_list {
    margin: 0 -20px 40px;
  }

  .cb_tab_post_list .tab_headline .item {
    font-size: 14px;
    height: 60px;
  }

  .cb_tab_post_list .tab_headline .item:first-of-type {
    border-left: none;
  }

  .cb_tab_post_list .tab_headline .item:last-of-type {
    border-right: none;
  }

  .cb_tab_post_list .tab_content {
    padding: 0;
    border: none;
  }

  .cb_tab_post_list .tab_post_list {
    gap: 0 0 !important;
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .cb_tab_post_list .tab_post_list .item {
    height: auto;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
  }

  .cb_tab_post_list .tab_post_list .image {
    width: 120px;
    height: 120px;
  }

  .cb_tab_post_list .tab_post_list .content {
    width: calc(100% - 120px);
    padding: 0 0 0 20px;
  }

  .cb_tab_post_list .tab_post_list .title {
    font-size: 14px;
  }

  .cb_tab_post_list .tab_post_list .c-date {
    margin-top: 15px;
  }

}

/* singleページ固有設定 */
section.ranking {
  width: 1248px;
  max-width: 100%;
  padding: 0 24px;
  margin: 80px auto;
}

.cb_tab_post_list .tab_post_list .image img {
  width: 100%!important;
  height: 100%!important;
  object-fit: cover!important;
  margin: inherit!important;
}

.cb_tab_post_list .tab_post_list .category_text {
    margin-bottom: 20px;
    color: #000 !important;
}