/* ======================
   BLOG LAYOUT
====================== */

.bs-main-contents {
  padding-right: 20px;
}

.bs-sub-contents {
  padding-left: 10px;
}

/* ======================
   BLOG-POST  一覧
====================== */
.bs-blog-post__item {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: none;
}

.bs-blog-post__item:nth-of-type(even) {
  background: #f7f7f7;
}

.bs-blog-post__item:nth-of-type(odd) {
  background: #fff;
}


/* カテゴリ */ 
.bs-blog-post__item-title:hover{
  text-decoration:underline;
}

.bs-blog-post__item-category {
  display: inline-block;
  padding: 2px 10px;
  margin-right: 10px;
  position: relative;
  top: -1px;

  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;

  border: 1px solid #d97a1d;
  border-radius: 3px;

  background: #fff;
  color: #d97a1d;
  text-decoration: none;
}

/* バージョンアップ */
.bs-blog-post__item-category[href*="versionup"] {
  border-color:#2b77b3;
  color:#2b77b3;
}

/* お知らせ */
.bs-blog-post__item-category[href*="info"] {
  border-color:#aa5555;
  color:#d97a1d;
}

/* ======================
   BLOG-SIGLE-POST 記事明細
====================== */
/* カテゴリ */ 
.bs-single-post__meta-category:hover{
  text-decoration:underline;
}

.bs-single-post__meta-category{
  display: inline-block;
  padding: 2px 10px;
  margin-right: 10px;
  position: relative;
  top: -1px;

  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;

  border: 1px solid #d97a1d;
  border-radius: 3px;

  background: #fff;
  color: #d97a1d;
  text-decoration: none;
}

/* バージョンアップ */
.bs-single-post__meta-category[href*="versionup"] {
  border-color:#2b77b3;
  color:#2b77b3;
}

/* お知らせ */
.bs-single-post__meta-category[href*="info"] {
  border-color:#aa5555;
  color:#d97a1d;
}

/* ======================
   SIDEBAR
====================== */

.layout-blog aside {
  font-size: 13px;
}

.layout-blog aside .widget {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

/* widget title */
.layout-blog aside .widget h2,
.layout-blog aside .widget h3 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #f0f0f0;
}

/* list */
.layout-blog aside .widget ul {
  margin: 0;
  padding-left: 18px;
}

.layout-blog aside .widget li {
  margin-bottom: 8px;
}

/* link */
.layout-blog aside .widget a {
  text-decoration: none;
  color: #2b77b3;
}

/* ======================
   PAGINATION
====================== */
.bs-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

/* Bootstrap枠を消す */
.bs-pagination ul,
.bs-pagination li {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  list-style: none;
}

/* リンク */
.bs-pagination a,
.bs-pagination span {
  display: inline-block;
  padding: 2px 8px;
  font-size: 14px;
  border: none;
  background: transparent;
  color: #2b77b3;
  text-decoration: none;
  border-radius: 3px;
}

/* hover */
.bs-pagination a:hover {
  background: #f3f6fa;
}

/* 現在ページ */
.bs-pagination .current,
.bs-pagination .active {
  background: #2b77b3;
  color: #fff;
  font-weight: 600;
}

/* ======================
   BLOG CONTENTS NAVI
====================== */

.bs-blog-contents-navi {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}

/* 各リンク */
.bs-blog-contents-navi a {
  display: inline-block;
  padding: 6px 10px;
  text-decoration: none;
  color: #2b77b3;
  border-radius: 4px;
  transition: background .2s;
}

.bs-blog-contents-navi a:hover {
  background: #f5f8fb;
}

/* ======================
   MOBILE
====================== */

@media (max-width: 992px) {
  .bs-main-contents {
    padding-right: 0;
  }

  .bs-sub-contents {
    padding-left: 0;
    margin-top: 30px;
  }
}