/* --- tokens / defaults --- */
:root {
  --nc-ink: #111;
  --nc-ink-weak: #666;
  --nc-line: #111;
  --nc-surface: #fff;
  --nc-accent: #ff802b;
  --nc-gutter: 32px;
  --hl-font: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --bl-accent: var(--nc-accent, #ff802b);
}
.nc {
  color: var(--nc-ink);
  --gap: 24px;
  --card-w: 340px;
  --thumb-h: 200px;
}


.nc .news-cards-swiper { margin-left: -50px; width: calc(100% + 50px + 50px); /* 100% + 左右のパディング */ }
.nc .swiper-slide { margin: 0 !important; width: auto !important; height: auto !important; }

.nc-grid .card-grid-container {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: var(--gap) !important;
  margin: 0 !important;
  padding-left: 0 !important; 
  padding-right: 0 !important;
}
.nc-grid .grid-item { min-width: 0; }

.nc .nc-card {
  display: flex; flex-direction: column;
  background: #ffffff !important; 
  border: none !important;
  border-radius: 0px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 10px rgb(0 0 0 / 6%);
  margin: 0;
  padding: 0;
}

.nc .nc-thumb {
  aspect-ratio: 16 / 9; 
  height: auto; 
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.nc .nc-thumb img,
.nc .nc-thumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* meta */
.nc .nc-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 12px 12px 0;
  margin: 0;
}
.nc .nc-cat {
  background: #111 !important; 
  color: #fff !important; 
  padding: 6px 10px !important; 
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}
.nc .nc-date {
  color: var(--nc-ink-weak);
  font-size: 14px;
}

.nc .nc-titleline {
  margin: 0 14px 16px !important;
  font-size: 16px;
  font-weight: 700;
  color: var(--nc-ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.5em * 2);
}


/* =========================
   Section Header & VIEW ALL Button
   ========================= */

.section-header-wrap {
  display: flex;
  justify-content: space-between !important;
  align-items: center;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
  margin: 50px 0 20px;
}

.section-title-bar {
  background-color: transparent !important;
  padding-left: 0 !important;
  margin: 0 !important;
  font-size: clamp(32px, 5.2vw, 48px) !important;
  font-weight: 900 !important;
  color: #000 !important;
  line-height: 1.1;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.section-header-wrap .align-right {
  text-align: initial !important;
  margin: 0 !important;
  padding-right: 50px; 
  display: flex;
  align-items: center;
  width: auto !important;
  flex-shrink: 0;
}

a.btn-flat {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 10px 20px;
  font-size: clamp(18px, 1.2vw, 20px);
  font-weight: 700;
  color: #111 !important;
  border-radius: 5px;
  border: 2px solid #111 !important;
  background: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
a.btn-flat span { position: relative; z-index: 2; }
a.btn-flat:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  -webkit-transform: translateX(-80%) translateY(-15px);
  transform: translateX(-80%) translateY(-15px);
  border-radius: 50%;
  background: #111;
  transition: all .5s ease-in-out;
  z-index: 1;
}

a.btn-flat:hover{
  color: #fff !important;
}

a.btn-flat:hover:before {
  color: #fff;
  width: 200px;
  height: 200px;
  -webkit-transform: translateX(-30%) translateY(-90px);
  transform: translateX(-30%) translateY(-90px);
}

.view-all-grid {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px; 
}

.nc-hero {
/* # height: clamp(360px, 56.25vw, 800px); */
  height: calc(100vh - 80px);
  overflow: hidden;
  position: relative;
  --swiper-theme-color: #fff;
  max-width: 1440px; 
  margin: 0 auto;    /* 中央寄せ */
  width: auto;       /* max-width と margin: auto を有効にする */
  padding-left: var(--nc-gutter) !important;
  padding-right: var(--nc-gutter) !important;
}

.nc-hero .news-cards-swiper {
  padding-top: 100px;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.nc-hero .swiper-slide { height: 100%; }

.nc-hero .hero-link,
.nc-hero .hero-slide-item {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: #fff;
}
.nc-hero .hero-img-wrap { width: 100%; height: 100%; overflow: hidden; }
.nc-hero .hero-img-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  display: block;
  transition: transform 5s ease-out;
}

.nc-hero .hero-link:hover .hero-img-item { transform: scale(1.05); }

.nc-hero .hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 50px;
  width: 100%;
  z-index: 10;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.nc-hero .hero-title {
  font-size: clamp(20px, 4.6vw, 44px) !important;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: .3em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: #fff;
}
.nc-hero .hero-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}
.nc-hero .hero-cat {
  background: #111;
  color: #fff !important;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: bold;
}
.nc-hero .hero-date { font-size: 14px; color: #fff; }

.nc-hero .swiper-button-prev,
.nc-hero .swiper-button-next { color: #fff; opacity: 0.7; transform: scale(1.5); transition: opacity 0.2s; }
.nc-hero .swiper-button-prev:hover,
.nc-hero .swiper-button-next:hover { opacity: 1; }
.nc-hero .swiper-pagination-bullet { background: #fff; opacity: 0.7; }
.nc-hero .swiper-pagination-bullet-active { opacity: 1; }

.nc-hero .news-cards-swiper,
.nc-hero .swiper,
.nc-hero .swiper-wrapper,
.nc-hero .swiper-slide,
.nc-hero .hero-link,
.nc-hero .hero-slide-item,
.nc-hero .hero-img-wrap { height: 100% !important; }

.nc-hero .hero-img-wrap,
.nc-hero .hero-img-item {
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}

.header--001 {
  background-color: #fff!important;
  box-shadow: none !important;
}
.header--001 .navigation{
  margin-left: 0;
  flex-shrink: 0;
  align-self: center;
}

.header--001 .navigation a {
  color: #000!important;
  font-size: 16px !important;
  font-weight: 600 !important; 
  transition: color 0.2s ease;
  padding: 0 8px;
}

.header--001 .navigation,
.header--001 .navigation ul {
    flex-wrap: nowrap;
    flex-shrink: 0;
    display: flex !important;
    text-align: center;
}

.header--001 .navigation ul li {
    display: flex !important;
    margin: 10px 0 !important; 
}

.header--001 .navigation ul li a {
    display: flex !important;
    font-size: 20px !important;
    padding: 10px 0 !important;
}

.header--001 .page-title strong {
  font-size: clamp(24px, 5.6vw, 46px) !important;
  color: #000 !important;
  line-height: 1.15;
  font-weight: 900;
}

.header--001 .page-title a {
  transition: color 0.2s ease;
}

.header--001 .page-title a:hover {
    text-decoration: none;
}

#header.fixed,
#header.scrolled,
body.header-fixed #header,
body.header-scrolled #header {
  position: static !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

.header--001 .inner{ 
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding-top; 4px:
}

.header--001 .page-title,
.header--001 .page-title a{
  display:flex;
  align-items:center;
  gap:10px;
  flex: 0 0 auto;
  min-width:0;
  white-space:normal;
  justify-content: center;
  margin: 0;
}

.header--001 .navigation{
  margin-left: 0;
  flex-shrink: 0;
  align-self: center;
}



/* =========================
   Photo Gallery (pg)
   ========================= */


.pg {
  margin: 0px 0 0;
  background: #fff;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 32px;
}
.pg-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:var(--nc-gutter,24px);
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}
.pg-link{ display:block; text-decoration:none; }
.pg-item{ width:100%; }
.pg-img{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius:0px;
  overflow:hidden;
  border:none;
}
.pg .section-header-wrap{
  margin: 24px 0 16px;
  padding: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* =========================
   Tag Section (nc-taxo)
   ========================= */
.nc-taxo {
  background-color: #fff;
  margin: 0;
  padding-left: var(--nc-gutter) !important;
  padding-right: var(--nc-gutter) !important;
  max-width: 1440px; 
  margin-left: auto;
  margin-right: auto;
}
.nc-taxo__title {
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  letter-spacing: .02em;
  margin: 0 0 24px;
}
.nc-taxo__title::after {
  display: block;
  width: 60px;
  height: 3px;
  margin: 12px auto 0;
}
.nc-taxo .widget ul.bc-blog-tags {
  display: flex !important;
  gap: 18px 20px;
  padding: 0 !important;
  margin: 0 auto !important;
  list-style: none !important;
}
.nc-taxo .widget ul.bc-blog-tags li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* タグのリンクを文字リンクに */
.nc-taxo .widget ul.bc-blog-tags li a {
  display: inline !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #111 !important;
  font-weight: 600 !important;
  font-size: clamp(12px, 1.8vw, 20px) !important;
  text-decoration: none !important;
  transition: color .2s ease;
  cursor: pointer;
}
.tag-cloud a,
.bs-widget .tag-cloud a,
.widget .tag-cloud a {
  display: inline !important;
  margin: 4px 6px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.3;
}
.tag-cloud a:hover, .tag-cloud a:focus { color: #ff7a00; text-decoration: none; }
.tag-cloud a:visited { color: #111; }

.nc-taxo .widget ul.bc-blog-tags li a::before,
.nc-taxo .tag-cloud a::before {
  content: "#";
  display: inline !important;
  vertical-align: baseline;
  line-height: 1;
  margin-right: .35em;
}

/* タグの並び：中央寄せ＆折り返し */
.nc-taxo__wrap {
  max-width: 1400px;
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
}

/* =========================
   Footer & Scroll to Top
   ========================= */

button#scrollToTopBtn {
  width: 40px; height: 40px; border: 0; outline: 0; appearance: none;
  background: #fff;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: color .2s ease, background-color .2s ease, opacity .2s ease;
}
button#scrollToTopBtn .material-symbols-outlined {
  font-size: 24px; line-height: 1; color: #000 !important; pointer-events: none;
}
button#scrollToTopBtn:hover { color: #ff8400 !important; }

/* Footer text color override */
.footer--001 { color: #fff !important; background-color: #111 !important; }
.footer--001 .title, .footer--001 .title a, .footer--001 a,
.footer--001 p, .footer--001 .copyright {
  color: #fff !important; text-decoration: none;
}
.footer--001 .sns-label, .footer--001 .sns-icon {
  color: #fff !important; fill: #fff !important;
}
.footer--001 a:hover, .footer--001 a:focus { color: #fff; }
.footer--001 h3.title a { color: #fff !important; }

/* =========================================
   Responsive (全セクション共通の調整を統合)
   ========================================= */

@media (max-width: 1200px) {
  :root { --nc-gutter: 20px; }
  .nc { --card-w: 280px; --thumb-h: 160px; }
  .nc-grid .card-grid-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px;
    padding: 0 var(--nc-gutter) !important;
  }
  .pg-grid { gap: 20px; }
}

@media (max-width: 767px) {
  :root { --nc-gutter: 16px; }
  .nc { --card-w: 84vw; --thumb-h: 48vw; --gap: 16px; }
  .nc-grid .card-grid-container {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    padding-left: 0 !important; 
    padding-right: 0 !important; 
  }
  
  #contents,
  .contents {
    padding-left: var(--nc-gutter) !important; /* 16pxが適用される */
    padding-right: var(--nc-gutter) !important; /* 16pxが適用される */
  }
  a.btn-flat {
    padding: 8px 16px; 
    font-size: 14px;
  }
  
  a.btn-flat:before {
    width: 40px; 
    height: 40px;
    -webkit-transform: translateX(-80%) translateY(-10px);
    transform: translateX(-80%) translateY(-10px);
  }
  
  a.btn-flat:hover:before {
    width: 150px;
    height: 150px;
    -webkit-transform: translateX(-30%) translateY(-70px);
    transform: translateX(-30%) translateY(-70px);
  } 
  .header--001 .navigation {
    display: block !important; 
  }

  .header--001 .navigation ul {
    display: block !important;
    text-align: center; /* リンクのテキストを中央寄せに保つ */
  }

  .header--001 .navigation ul li {
    display: block !important;
    margin: 10px 0 !important;
  }

  .header--001 .navigation ul li a {
    display: block !important;
    font-size: 14px !important;
    padding: 10px 0 !important;
  }

  .nc-hero {
    max-width: 100%;
    padding-right: var(--nc-gutter);
    padding-left: var(--nc-gutter);
  }
  
  .nc-hero .news-cards-swiper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .pg-grid {
    grid-template-columns:1fr 1fr;
    gap:16px;
    padding-left: 0 !important; 
    padding-right: 0 !important;
    padding-bottom: 0 !important;
}

  .nc-hero .hero-title{
    font-size: clamp(18px, 6.2vw, 28px) !important;
    line-height: 1.18;
    -webkit-line-clamp: 3;
  }
  .nc-hero .hero-content{ padding: 18px 16px 20px; }
  .nc-hero .hero-meta{ gap: 10px; margin-bottom: 6px; }
  .nc-hero .hero-cat{ font-size: 11px; padding: 4px 8px; }
  .nc-hero .hero-date{ font-size: 12px; }
  
  .bs-single-post__eye-catch {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        aspect-ratio: 16 / 9; 
    }

}

/* =========================================================
   Container / Contents (グローバルなリセット)
   ========================================================= */
#contents,
.contents {
  background: #fff !important;
  max-width: 1440px !important;
  width: auto !important;
  margin: 0 auto !important;
  padding-right: var(--nc-gutter) !important;
  padding-left: var(--nc-gutter) !important;
  display: block !important;
}

.content_top,
.content {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: var(--nc-gutter) !important;
  padding-right: var(--nc-gutter) !important;
  margin-right: 0 !important;
}



/* =========================================================
   内側ページ共通デザイン (Aside, Pagination, Title, Card)
   - スタイルが類似しているため、一つの大きなブロックに統合
   ========================================================= */

.aside--001, .aside--001 * {
  font-family: var(--hl-font, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif) !important;
}

body:not(#bodyHome) .aside--001 .bs-widget-head,
body:not(#bodyHome) .aside--001 .bs-widget .bs-widget-title,
body:not(#bodyHome) .aside--001 h2 {
  color: #111 !important;
  font-weight: 800;
  font-family: var(--hl-font, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif) !important;
  padding-bottom: 6px;
  border-bottom: 4px solid var(--nc-accent, #ff802b) !important;
  /* テーマの before/after 擬似要素を無効化 */
  &::before, &::after { content: none !important; display: none !important; }

}

#contents .aside--001 .bs-widget-body a, .aside--001 ul a {
  color: #000 !important;
  text-decoration: none !important;
  font-weight: 700;
  transition: color .2s ease;
  &:hover {
    color: var(--nc-accent, #ff802b) !important;
    text-decoration: underline;
    text-decoration-color: var(--nc-accent, #ff802b);
  }
}
body:not(#bodyHome) .aside--001 .bs-widget-body a { 
  color: #111 !important;
  &:hover, &:focus { color: var(--nc-accent, #ff802b) !important; }
}

body:not(#bodyHome) .aside--001 .tag-cloud a {
  color: #111 !important;
  text-decoration: none !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  &:hover {
    background-color: var(--nc-accent, #ff802b) !important;
    border-color: var(--nc-accent, #ff802b) !important;
    color: #fff !important;
    & * { color: inherit !important; }
  }
}

body :is(h1.bs-blog-title, h1.bs-blog-category-title, .content .bs-blog-title, .content h1.bs-page-title) {
  position: relative;
  color: #111 !important;
  font-weight: 900 !important;
  padding-bottom: 10px !important;
  border: none !important;
  text-shadow: 0 1px 0 rgba(0,0,0,0), 0 0 0 rgba(0,0,0,0) !important;
  &::before, &::after { content: none !important; }
}

.bs-pagination a, 
.bs-pagination span,
.bs-pagination b {
  border: 1px solid #ddd !important;
  background: #fff !important;
  color: #111 !important; /* 文字色を黒 (#111) に設定 */
  
  border-radius: 6px !important;
  padding: 6px 10px !important;
  line-height: 1 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.bs-pagination .disabled {
  display: flex !important;
  background-color: #f7f7f7 !important; 
  color: #666 !important;
  pointer-events: none;
}

.bs-pagination .current {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  box-shadow: none !important;
  pointer-events: none;
}

.bs-pagination a:hover {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
}

.bs-pagination :is(.bs-pagination__next, .bs-pagination__prev) a:hover {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
}


body :is(.top-page-cards, .bs-top-post, .bs-blog-post) .bs-blog-post__item {
  background: #ffffff !important;
  overflow: hidden !important;
  box-shadow: 0 2px 10px rgb(0 0 0 / 6%);
  &::before, &::after, & :is(.bs-blog-post__text, .bs-blog-post__body)::before,
  & :is(.bs-blog-post__text, .bs-blog-post__body)::after, & .bs-blog-post__eye-catch::after {
    content: none !important; display: none !important;
  }
}

body :is(.top-page-cards, .bs-top-post, .bs-blog-post) :is(.bs-blog-post__text, .bs-blog-post__body) {
  background: #ffffff !important; color: #111 !important; padding: 14px 16px !important;
}
body :is(.top-page-cards, .bs-top-post, .bs-blog-post) :is(.bs-blog-post__title, .bs-blog-post__item-title) a {
  color: #111 !important; text-decoration: none !important; font-weight: 800; transition: color .2s ease;
  &:hover { color: #111 !important; }
}
body .top-page-cards :is(.bs-blog-post__item-detail, .bs-top-post__item-detail) {
  background: #ffffff !important; color: #111 !important; border-top: 2px dotted #111 !important;
}
body :is(.top-page-cards, .bs-top-post, .bs-blog-post) :is(.bs-blog-post__description, .bs-blog-post__meta, .bs-blog-post__date) {
  background: #ffffff !important; color: #111 !important; border-top: 2px solid rgba(0,0,0,.15) !important;
}
body .top-page-cards :is(.bs-blog-post__item-date, .bs-top-post__item-date) {
  background: transparent !important; color: #111 !important;
}
body .top-page-cards :is(.bs-blog-post__item-category, .bs-top-post__item-category) {
  background: rgba(0,0,0,.28) !important; color: #fff !important; border: 0 !important; box-shadow: none !important;
  &:hover { background: rgba(0,0,0,.72) !important; }
}
body :is(.top-page-cards, .bs-top-post, .bs-blog-post) .bs-blog-post__item a:hover {
  color: #111 !important;
}

body:not(#bodyHome)[id^="News"] .bs-blog-post-title,
body:not(#bodyHome)[id^="Event"] .bs-blog-post-title {
  color: #111 !important; font-weight: 900 !important; padding-bottom: 10px !important; border: 0 !important;
  border-bottom: 4px solid #111 !important;
  &::before, &::after { content: none !important; display: none !important; }
  font-size: clamp(36px, 4.6vw, 48px) !important;
  text-align: center !important;
}

body:not(#bodyHome)[id^="News"] :is(#post-detail, .post-body) > h2,
body:not(#bodyHome)[id^="Event"] :is(#post-detail, .post-body) > h2 {
  background: #111 !important; color: #fff !important; padding: .7rem 1rem !important;
  border-radius: 4px !important; border: 0 !important; line-height: 1.4 !important;
}

body:not(#bodyHome)[id^="News"] :is(h3.contents-head, .content h3, #post-detail h3),
body:not(#bodyHome)[id^="Event"] :is(h3.contents-head, .content h3, #post-detail h3) {
  color: #111 !important; background: transparent !important; padding: 0 0 .4rem 0 !important;
  border: 0 !important; border-bottom: 3px solid #111 !important;
  font-weight: 800 !important;
  &::before, &::after { content: none !important; display: none !important; }
}

body:not(#bodyHome)[id^="News"] #post-body a,
body:not(#bodyHome)[id^="Event"] #post-body a {
  color: #111 !important; text-decoration: none !important; transition: color .2s ease;
  &:hover { color: #111 !important; }
}

body:not(#bodyHome)[id^="News"] #post-body .{
  background: #fff !important;
  border: 2px solid #111 !important;
  color: #111 !important;
  padding: 1rem !important;
  border-radius: 6px !important;
}


body:not(#bodyHome)[id^="News"] .bs-blog-tag a,
body:not(#bodyHome)[id^="Event"] .bs-blog-tag a {
  display: inline-block; margin: .25rem .25rem 0 0 !important; border-radius: 6px !important;
  background: #fff !important; color: #111 !important; text-decoration: none !important;
  line-height: 1.2; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  &:hover, &:focus {
    background: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
  }
}
body:not(#bodyHome)[id^="News"] .bs-post-navi a,
body:not(#bodyHome)[id^="Event"] .bs-post-navi a {
  display: inline-block; padding: .55rem 1.1rem !important;
  border: 1px solid #111 !important;
  border-radius: 6px !important;
  background: #fff !important; color: #111 !important;
  text-decoration: none !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  &:hover, &:focus {
    background: #111 !important;
    color: #fff !important;
  }
}
body:not(#bodyHome) :is(.bs-blog-tag a, .bs-post-navi a) * {
  color: inherit !important; text-decoration: none !important;
}

section.contents {
  justify-content: center !important;
}

section.contents > main {
  width: min(1440px, 100%) !important;
  margin: 0 auto !important;
  float: none !important;
}

section.contents > aside {
  width: 100% !important;
  float: none !important;
  order: 2 !important;
  margin-top: 24px !important;
}

.bs-top-post, .bs-blog-post {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 24px !important;
  justify-content: center !important;   /* 余白が出たら中央へ */
}

.bs-top-post__item, .bs-blog-post__item {
  width: auto !important;
}

.bs-single-post,
#post-detail,
.bs-blog-post__body {
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  float: none !important;
}

.bs-single-post__eye-catch {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5em; 
    margin-bottom: 1.5em; 
    aspect-ratio: 16 / 9; 
    overflow: hidden; /* はみ出しを隠す */
}

.bs-single-post__eye-catch img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover; 
    display: block;
}

.breadcrumb--001 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.breadcrumb--001 li {
    padding-left: 5px;
}

body:not(#bodyHome) .content,
body:not(#bodyHome) main {
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.content p {
    max-width: 100%;
}

.post-body {
    background: #fff !important; 
    border: none !important; 
    border-left: 3px solid #111 !important; 
    border-right: 3px solid #111 !important;    
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 2em; 
    margin-bottom: 2em;
    padding: 1em 2em; 
}
