@charset "UTF-8";

/* ==========================================
   Base — bc-front は SF Pro JP を使う → Hiragino に統一
   ========================================== */
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  -webkit-font-smoothing: antialiased;
  line-height: 1.15;
}

/* ==========================================
   Layout — 1カラム（bs-main-contents / bs-sub-contents を縦並び）
   ========================================== */
.bs-wrap {
  display: block;
}
/* float を解除して全幅1カラムに */
.bs-main-contents {
  float: none !important;
  width: 100% !important;
  max-width: 1280px;
  margin: 49px auto 60px !important;
  padding: 0 !important;
  box-sizing: border-box;
}
.bs-sub-contents {
  float: none !important;
  width: 100% !important;
  max-width: 1280px;
  margin: 0 auto 80px !important;
  padding: 0 !important;

  box-sizing: border-box;
}

#Home .bs-main-contents {
  margin: 40px auto 60px !important;
}
@media screen and (max-width: 768px) {
  #Home .bs-main-contents {
    float: none;
    padding: 0;
    margin: 40px auto !important;
  }
}
/* ==========================================
   Header
   ========================================== */
.bs-header__inner {
  padding-top: 10px;
}
.bs-header__inner a {
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

/* ==========================================
   Blog Title
   ========================================== */
.bs-single-post-title,
.bs-blog-category-title,
.bs-blog-post-title {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  padding: 0 !important;
  background: none !important;
}
@media screen and (max-width: 768px) {
  .bs-blog-title,
  .bs-single-post-title,
  .bs-blog-category-title,
  .bs-blog-post-title {
    font-size: 24px !important;
  }
}

/* bc-front: margin: 56px 0 5px 0 !important */
.bs-blog-post-title {
  margin: 20px 0 5px 0 !important;
}

/* bc-front: margin-bottom: 60px */
.bs-blog-description {
  margin-bottom: 20px;
}

/* ==========================================
   Top Post To List
   ========================================== */
.bs-blog-post-to-list {
  text-align: right;
}
@media screen and (max-width: 768px) {
  .bs-blog-post-to-list {
    text-align: center;
  }
}
.bs-blog-post-to-list a {
  transition: all 300ms;
  letter-spacing: 0.1em;
  font-weight: bold;
  padding: 8px 40px;
  font-size: 9px;
  background-color: #001800;
  color: #fff !important;
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .bs-blog-post-to-list a {
    font-size: 12px;
    padding: 12px 60px;
  }
}
.bs-blog-post-to-list a:link,
.bs-blog-post-to-list a:visited {
  color: #fff !important;
}
.bs-blog-post-to-list a:hover {
  background-color: #555;
}

/* ==========================================
   Blog Post List
   ========================================== */
/* bc-front: letter-spacing: 0.05rem; line-height: 1.6 */
.bs-blog-post {
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  letter-spacing: normal;
  line-height: normal;
}
.bs-blog-post .adsbygoogle {
  border-bottom: 1px solid #ddd;
  padding: 40px 0 !important;
}

/* bc-front: font-size: 14px; padding: 20px 0 20px */
.bs-blog-post__item {
  border-bottom: 1px solid #ddd;
  margin: 0 !important;
  padding: 40px 0 !important;
  list-style: none;
  font-size: 16px;
  min-height: 220px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.bs-blog-post__item::before {
  content: none !important;
}
.bs-blog-post__item a {
  transition: all 300ms;
  text-decoration: none;
}
.bs-blog-post__item a:hover {
  color: #555 !important;
}

.bs-blog-post__item-figure {
  width: 480px;
  overflow: hidden;
  transition: all 300ms;
  float: left;
  display: block;
  margin-right: 20px;
  margin-left: 0px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .bs-blog-post__item-figure {
    width: 100%;
    margin: 0px;
    float: none;
  }
}

.bs-blog-post__item-eye-catch {
  width: 100%;
}
.bs-blog-post__item-eye-catch:hover {
  opacity: 0.7;
}

/* bc-front: font-size:10px; border:1px solid #000; border-radius:10px; color は a:link で #000!important */
.bs-blog-post__item-category {
  position: absolute;
  left: 0px;
  top: 0px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 12px;
  padding: 2px 5px;
  white-space: nowrap;
  background-color: #6b6b6b;
  color: #ffffff !important;
  border: none !important;
  border-radius: 2px;
  z-index: 1;
}
.bs-blog-post__item-category:link,
.bs-blog-post__item-category:visited,
.bs-blog-post__item a.bs-blog-post__item-category:link,
.bs-blog-post__item a.bs-blog-post__item-category:visited {
  color: #ffffff !important;
}
.bs-blog-post__item-category:hover,
.bs-blog-post__item a.bs-blog-post__item-category:hover {
  color: #ffffff !important;
  background-color: #555;
}
@media screen and (max-width: 768px) {
  .bs-blog-post__item-category {
    left: 0px;
    top: 0px;
  }
}

.bs-blog-post__item h2 {
  margin: 0px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* bc-front: font-size:16px; padding:10px 0; line-height:1.6!important; font-family: SF Pro JP */
.bs-blog-post__item-title {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  display: inline-block;
  flex: 0 1 auto;
  min-width: 0;
  padding: 5px 0;
  margin: 0px;
  font-size: 18px;
  font-weight: 700;
  line-height: normal !important;
  color: #333 !important;
}

.bs-blog-post__item-new {
  display: inline-block;
  flex: 0 0 auto;
  padding: 1px 6px;
  border: 1px solid #c63d2f;
  border-radius: 2px;
  color: #c63d2f;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.4;
  vertical-align: middle;
}

.bs-blog-post__item-detail a {
  color: #333 !important;
}

.bs-blog-post__item-meta {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 12.6px;
  padding: 2px;
  bottom: 20px;
  position: absolute;
  right: 0;
  text-align: right;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .bs-blog-post__item-meta {
    bottom: auto;
    position: relative;
    margin: 10px 0;
  }
}

.bs-blog-post__item-tag {
  margin-right: 10px;
}
.bs-blog-post__item-tag a {
  color: #333 !important;
}
@media screen and (max-width: 768px) {
  .bs-blog-post__item-tag {
    display: block;
    margin: 10px 0;
    padding: 10px 0;
  }
}

/* bc-front: color: #a0a2a8; font-family: YakuHanJP/Barlow */
.bs-blog-post__item-date {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  color: #333;
  font-style: italic;
  margin: 0 !important;
  padding-right: 10px;
}
@media screen and (max-width: 768px) {
  .bs-blog-post__item-date {
    display: block;
  }
}

/* article: clearfix + relative（meta の absolute 基準） */
.bs-blog-post__item-article {
  position: relative;
}
.bs-blog-post__item-article::after {
  content: "";
  display: block;
  clear: both;
}

/* content: meta が被らないよう下部に余白 */
.bs-blog-post__item-content {
  padding-bottom: 140px;
}

/* ==========================================
   Blog Single Post
   ========================================== */
.bs-single-post {
  margin-bottom: 80px;
}
.bs-single-post .adsbygoogle {
  margin-top: 80px;
  margin-bottom: 80px;
}

.bs-single-post__meta {
  text-align: right;
  margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
  .bs-single-post__meta {
    margin-bottom: 40px;
    padding-right: 10px;
  }
}
.bs-single-post__meta a {
  transition: all 300ms;
  text-decoration: none;
}
.bs-single-post__meta a:hover {
  color: #ccc !important;
}

/* bc-front: .bs-single-post__meta a:link/visited { color: #000 !important } → 高優先度で白に上書き */
.bs-single-post__meta a.bs-single-post__meta-category:link,
.bs-single-post__meta a.bs-single-post__meta-category:visited,
.bs-single-post__meta-category:link,
.bs-single-post__meta-category:visited {
  color: #ffffff !important;
}

/* bc-front: font-size:10px; border:1px solid #000; border-radius:10px; padding:2px 5px */
.bs-single-post__meta-category {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 12px;
  padding: 5px 10px;
  margin-right: 5px;
  white-space: nowrap;
  background-color: #6b6b6b;
  border: 1px solid #6b6b6b !important;
  border-radius: 2px;
  color: #ffffff !important;
}
.bs-single-post__meta-category:hover {
  color: #333 !important;
}

.bs-single-post__meta-tag {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 12px;
  padding: 5px 10px;
  margin-right: 5px;
  white-space: nowrap;
  background-color: #ffffff;
  border: 1px solid #333;
  border-radius: 2px;
  color: #333 !important;
}
.bs-single-post__meta a.bs-single-post__meta-tag:link,
.bs-single-post__meta a.bs-single-post__meta-tag:visited {
  color: #333 !important;
}

/* bc-front: color: #a0a2a8; font-family: YakuHanJP/Barlow */
.bs-single-post__meta-date {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  margin: 0 0 0 10px !important;
  padding-right: 10px;
  font-size: 13px;
  letter-spacing: 0;
  color: #333;
  font-style: italic;
}
@media screen and (max-width: 768px) {
  .bs-single-post__meta-date {
    display: block;
    padding-top: 20px;
    padding-left: 10px;
  }
}

/* bc-front: width: 100% */
.bs-single-post__eye-catch img {
  transition: all 300ms;
  display: block;
  width: 70%;
  margin-bottom: 40px !important;
}
@media screen and (max-width: 768px) {
  .bs-single-post__eye-catch img {
    width: 100%;
  }
}
.bs-single-post__eye-catch img:hover {
  opacity: 0.7;
}

/* ==========================================
   SNS Share
   ========================================== */
.sns-hatena {
  font-family: Verdana, sans-serif;
  font-size: 0.85em;
  font-weight: bold;
  vertical-align: middle;
}

.bs-single-post__sns-share {
  text-align: right;
  margin: 20px 0;
}
@media screen and (max-width: 768px) {
  .bs-single-post__sns-share {
    text-align: center;
  }
}
.sns-share__icon {
  text-align: right;
}
@media screen and (max-width: 768px) {
  .sns-share__icon {
    text-align: center;
  }
}
.sns-share__icon a {
  white-space: nowrap;
  display: inline-block;
  text-align: center;
  font-size: 0.75em;
  padding: 0px 10px;
  margin: 0px 2px;
  color: #555 !important;
  text-decoration: none;
  background: #f6f7f7;
  border: 1px solid #999;
  border-radius: 2px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.sns-share__icon a:link,
.sns-share__icon a:visited {
  color: #555 !important;
}
.sns-share__icon a:hover {
  border: 1px solid #aaa;
  color: #aaa !important;
}

/* ==========================================
   Blog Contents Navigation
   ========================================== */
/* bc-front: margin: 160px 0 0 0 */
.bs-blog-contents-navi {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin: 50px 0 50px 0;
  font-size: 14px;
}
.bs-blog-contents-navi a {
  transition: all 300ms;
  width: 47%;
  display: block;
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .bs-blog-contents-navi a {
    font-size: 12px;
  }
}
.bs-blog-contents-navi a:link,
.bs-blog-contents-navi a:visited {
  color: #000 !important;
}
.bs-blog-contents-navi a:hover {
  color: #555 !important;
}
/* bc-front: padding: 20px 0 20px 2%; text-align: left */
.bs-blog-contents-navi .next-link {
  padding: 40px 2% 40px 0;
  float: right;
  text-align: right;
}
/* bc-front: padding: 20px 2% 20px 0; text-align: right */
.bs-blog-contents-navi .prev-link {
  padding: 40px 0 40px 2%;
  float: left;
  text-align: left;
}

/* ========== ヘッダー検索フォーム ========== */
/* nav を flex にしてメニューと検索フォームを横並び */
@media screen and (min-width: 769px) {
  .bs-header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* bc-front の width:1260px / margin:0 auto を解除して flex 子要素として動かす */
  .bs-header__nav > .bs-global-menu {
    width: auto;
    flex: 0 0 auto;
    margin: 0;
    padding: 0 20px;
  }
}
.bs-header__search {
  display: flex;
  align-items: center;
  margin-left: 4px;
  margin-right: 0;
  flex: 0 0 auto;
}
.bs-header__search input[type="search"] {
  height: 28px;
  padding: 0 8px;
  border: 1px solid #555;
  border-radius: 14px 0 0 14px;
  font-size: 13px;
  outline: none;
  width: 130px;
  background: #fff;
  color: #333;
  transition: width 0.2s ease;
}
.bs-header__search input[type="search"]:focus {
  border-color: #aaa;
  width: 190px;
}
.bs-header__search button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid #555;
  border-left: none;
  border-radius: 0 14px 14px 0;
  background: #555;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
}
.bs-header__search button:hover {
  background: #333;
  border-color: #333;
}
/* スマートフォン: ナビ内に縦並び */
@media screen and (max-width: 768px) {
  .bs-header__search {
    margin: 12px 0 8px;
    justify-content: center;
  }
}

/* ==========================================
   Widget Area — 関連記事（bge_style.css）と完全に同じスタイル
   ========================================== */
.bs-widget-area {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* 見出し */
.bs-widget-area h2,
.bs-widget-head {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 22px !important;
  font-weight: bold;
  padding: 0 0 6px 0 !important;
  margin: 0 0 10px 0 !important;
  border-left: none !important;
  border-bottom: 1px solid #ddd;
  color: #333;
}

/* li: bge_style.css の .bs-main-contents ul li と完全に同じ値で上書き */
.bs-widget-area ul,
.bs-widget-area .bs-widget-list {
  margin: 20px 0 36px 0 !important;
  padding-left: 40px !important;
  line-height: 1.6 !important;
}
.bs-widget-area ul:first-child,
.bs-widget-area .bs-widget-list:first-child {
  margin-top: 0 !important;
}
.bs-widget-area ul li,
.bs-widget-area .bs-widget-list .bs-widget-list__item {
  list-style-position: inside !important;
  position: relative !important;
  padding: 0 0 0 25px !important;
  margin: 0.5em 0 0.5em 0 !important;
  list-style-type: none !important;
  overflow: hidden !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* ::before bullet: bge_style.css の .bs-main-contents ul li:before と完全に同じ */
.bs-widget-area ul li::before,
.bs-widget-area .bs-widget-list .bs-widget-list__item::before {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  top: 9px !important;
  left: 1px !important;
  width: 6px !important;
  height: 6px !important;
  background: #181818 !important;
  border-radius: 50% !important;
}

.bs-main-contents a:link,
.bs-main-contents a:visited,
.bge-contents a:link,
.bge-contents a:visited,
.cke_editable a:link,
.cke_editable a:visited {
  /* color: #555 !important; */
  font-size: 18px;
}

/* リンク色 */
.bs-widget-area ul li a,
.bs-widget-area .bs-widget-list__item-title {
  /* color: #555 !important; */
  font-size: 18px;
}

/* 現在の記事は太字 */
.bs-widget-area .bs-widget-list .current .bs-widget-list__item-title {
  font-weight: bold;
}

/* ウィジェット間の余白 */
.bs-widget-area .bs-widget {
  margin-bottom: 40px !important;
}

/* ==========================================
   Search Result
   ========================================== */
.bs-search-title {
  font-size: 24px !important;
}

.bs-search-header,
.bs-list-num,
.bs-list-num strong,
.bs-list-num__number,
.bs-list-num__number span,
.bs-list-num__number a,
.bs-list-num .current {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px !important;
  line-height: 1.6;
}

.bs-list-num strong {
  margin-right: 10px;
  font-weight: bold;
}

.bs-list-num a:link,
.bs-list-num a:visited {
  color: #333 !important;
  text-decoration: underline;
}

.bs-list-num a:hover {
  color: #555 !important;
  text-decoration: none;
}

.bs-list-num .current {
  font-weight: bold;
}
