@charset "UTF-8";
/* CSS Document */
main {
  margin-top: 50px; }

.index_slider {
  margin: 30px auto 0;
  max-width: 1900px;
  width: 95%; }

.slider-img {
  margin: 0 5px; }

.slider-img img {
  height: auto;
  width: 100%; }

/* アイキャッチ画像の非表示 */
/*カスタム投稿の個別ページ*/
.wp-block-post-featured-image img.attachment-post-thumbnail {
  display: none; }
.wp-block-post-featured-image a img.attachment-post-thumbnail {
  display: block; }

/* アイキャッチ画像の表示 */
/*アーカイブページ*/
figure.wp-block-post-featured-image {
  aspect-ratio: 0 / 1 !important; }

h1.wp-block-post-title {
  line-height: 140%; }

h2.wp-block-post-title {
  padding: 0em; }

.yarpp-related h3 {
  margin: 50px auto; }

.btn_pdf,
.btn_entry {
  width: 55%;
  margin: 20px auto 50px; }

.wp-block-post-featured-image a {
  height: 290px; }

@media screen and (max-width: 767px) {
  .btn_pdf,
  .btn_entry {
    width: 100%;
    margin: 20px auto 50px; } }
a.btn_pdf {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  position: relative;
  background: #228bc8;
  border: 1px solid #228bc8;
  border-radius: 30px;
  box-sizing: border-box;
  padding: 0 45px 0 25px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  transition-duration: 0.3s; }
  a.btn_pdf:before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    right: 25px;
    margin-top: -6px; }
  a.btn_pdf:link, a.btn_pdf:visited, a.btn_pdf:active {
    color: #fff;
    text-decoration: none; }
  a.btn_pdf:hover {
    background: #fff;
    color: #228bc8; }
    a.btn_pdf:hover:before {
      border-top: 2px solid #228bc8;
      border-right: 2px solid #228bc8; }
a.btn_entry {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  position: relative;
  background: #e22939;
  border: 1px solid #e22939;
  border-radius: 30px;
  box-sizing: border-box;
  padding: 0 45px 0 25px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  transition-duration: 0.3s; }
  a.btn_entry:before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    right: 25px;
    margin-top: -6px; }
  a.btn_entry:link, a.btn_entry:visited, a.btn_entry:active {
    color: #fff;
    text-decoration: none; }
  a.btn_entry:hover {
    background: #fff;
    color: #e22939; }
    a.btn_entry:hover:before {
      border-top: 2px solid #e22939;
      border-right: 2px solid #e22939; }

.fa-file-pdf {
  margin-right: 5px; }

#detail {
  margin-bottom: 30px; }
  #detail .tit {
    font-size: 26px;
    line-height: 30px;
    color: #27519b;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center; }
  #detail .day {
    color: #ed7050;
    font-size: 24px;
    font-weight: bold;
    line-height: 150%;
    margin-bottom: 20px; }
  #detail .time span {
    background: #2e96d2;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    line-height: 16px;
    margin-right: 8px;
    padding: 3px 8px;
    border-radius: 4px;
    min-width: 64px;
    text-align: center; }

.mb30 {
  margin-bottom: 30px; }

.fbtn {
  display: none; }

@media screen and (max-width: 789px) {
  .btn_entry,
  .btn_pdf {
    width: 100%; }

  .fbtn {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #eceff1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-align: center;
    z-index: 1; }
    .fbtn a {
      width: calc(100% / 2);
      display: block;
      text-align: center;
      color: #fff;
      line-height: 1;
      padding: 8px;
      border-radius: 50px;
      text-decoration: none; }

  a:active, a:hover, a:visited, a:focus {
    text-decoration: none; }

  /*#footer .fbtn a + a {
  border-left: 1px solid #06C755;
}*/
  .fbtn a span {
    display: block;
    padding-top: 2px;
    font-weight: bold;
    font-size: 60%; }
  .fbtn a.icon1 {
    font-weight: bold;
    color: #000;
    margin: 10px 5px 10px 10px;
    padding: 26px 10px 0px 10px;
    background: #77c4a1; }
  .fbtn a.icon3 {
    background: #f3e300;
    font-weight: bold;
    color: #000;
    margin: 10px 10px 10px 5px;
    padding: 20px 10px;
    line-height: 102%; }
  .fbtn a.icon1:before {
    font-family: 'Font Awesome 6 Free';
    content: '\f095';
    font-weight: 900;
    font-size: 16px;
    margin: 0 5px 0 0; }
  .fbtn a.icon3:before {
    font-family: 'Font Awesome 6 Free';
    content: '\f0e0';
    font-weight: 900;
    font-size: 16px;
    margin: 0 5px 0 0; }

  /*Font Awesome*/ }
/*ページ下部固定メニュー*/
main.wp-block-group h1.wp-block-query-title {
  text-align: center;
  padding-top: 150px; }

.custompost_event {
  text-align: center !important; }
  .custompost_event img {
    width: auto;
    margin: 30px auto; }

.custompost img {
  width: auto;
  margin: 30px auto; }

/*[こちらの記事もよく読まれています]のサムネ*/
.yarpp-thumbnails-horizontal {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between; }
  .yarpp-thumbnails-horizontal .yarpp-thumbnail {
    width: 20%;
    height: auto;
    padding: 8px;
    border: 1px solid #ccc; }
    .yarpp-thumbnails-horizontal .yarpp-thumbnail img {
      width: 100%;
      height: auto;
      margin: 0px auto;
      border-radius: 20px; }
  .yarpp-thumbnails-horizontal .yarpp-thumbnail-title {
    margin: 10px 4px 4px;
    width: 100%;
    font-size: 14px; }

@media screen and (max-width: 767px) {
  .yarpp-thumbnails-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; }
    .yarpp-thumbnails-horizontal .yarpp-thumbnail {
      width: 48%;
      height: auto;
      padding: 8px;
      border: 1px solid #ccc; }
      .yarpp-thumbnails-horizontal .yarpp-thumbnail img {
        width: 100%;
        height: auto;
        margin: 0px auto; }
    .yarpp-thumbnails-horizontal .yarpp-thumbnail-title {
      margin: 10px 4px 4px;
      width: 100%;
      font-size: 13px; } }
.news-archive .inner {
  max-width: 1100px;
  margin-inline: auto;
  padding: 0 16px; }

.page-hero {
  padding: 48px 0 24px; }

.page-title {
  font-size: 40px;
  font-weight: 700; }

.news-filter {
  margin: 0 0 16px; }

.news-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px; }

.news-filter__item a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 18px;
  font-size: 14px; }
.news-filter__item.is-active a {
  background: #222;
  color: #fff;
  border-color: #222; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; }

@media (max-width: 1000px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .news-grid {
    grid-template-columns: 1fr; } }
.news-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: clip; }

.news-card__link {
  display: block;
  color: inherit;
  text-decoration: none; }

.news-card__thumb img {
  width: 100%;
  height: auto;
  display: block; }

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 0;
  font-size: 13px;
  color: #666; }

.news-card__cats {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0; }

/*.news-card__cats li { background: #f2f2f2; padding: 2px 8px; border-radius: 12px; font-size: 12px; }*/
.news-card__title {
  padding: 6px 14px;
  font-size: 18px;
  line-height: 1.5; }

.news-card__excerpt {
  padding: 0 14px 14px;
  color: #444;
  font-size: 14px;
  line-height: 1.8; }

.pagination {
  margin: 28px 0 40px;
  text-align: center; }
  .pagination ul {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0; }
  .pagination a,
  .pagination span {
    display: inline-block;
    min-width: 36px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px; }
  .pagination .current {
    background: #222;
    color: #fff;
    border-color: #222; }

/* ===== イベント情報一覧 ===== */
.archive-news .inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 20px; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px 30px; }

.news-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s; }
  .news-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px); }

.news-card__thumb img {
  width: 100%;
  height: auto;
  display: block; }

.news-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px; }

.news-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  line-height: 1.4; }

.news-card__meta {
  font-size: 0.9rem;
  color: #777; }

.news-card__excerpt {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7; }

.pagination {
  text-align: center;
  margin: 50px 0; }
  .pagination ul {
    display: inline-flex;
    list-style: none;
    gap: 8px;
    padding: 0;
    margin: 0; }
  .pagination a,
  .pagination span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #333; }
  .pagination .current {
    background: #222;
    color: #fff;
    border-color: #222; }

/* --- 強制3カラム固定: イベント情報一覧 --- */
.archive-news .news-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 40px 30px !important; }

@media (max-width: 1000px) {
  .archive-news .news-grid {
    grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 680px) {
  .archive-news .news-grid {
    grid-template-columns: 1fr !important; } }
/* ===== single-news ===== */
.single-news.contentsInner {
  max-width: 900px;
  margin-inline: auto;
  padding: 40px 20px; }

.single-thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 40px; }

.single-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px; }

.single-meta {
  text-align: center;
  color: #777;
  font-size: 14px;
  margin-bottom: 40px; }

.single-content {
  line-height: 1.9;
  font-size: 16px;
  color: #333; }
  .single-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0; }
  .single-content p {
    margin-bottom: 1.6em; }

.single-tags {
  margin-top: 40px;
  text-align: center; }

.tag-list {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  padding: 0; }
  .tag-list a {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    color: #555; }
    .tag-list a:hover {
      background: #222;
      color: #fff; }

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin: 60px 0;
  font-size: 15px; }
  .post-navigation a {
    color: #222;
    text-decoration: none; }
    .post-navigation a:hover {
      text-decoration: underline; }

.back-to-list {
  text-align: center;
  margin: 60px 0; }
  .back-to-list a {
    display: inline-block;
    padding: 10px 24px;
    background: #333;
    color: #fff;
    border-radius: 4px;
    text-decoration: none; }
    .back-to-list a:hover {
      background: #555; }

/* ===== Blog: archive/list ===== */
.blog-archive .inner {
  max-width: 1100px;
  margin-inline: auto;
  padding: 0 16px; }

.page-hero {
  padding: 40px 0 16px; }

.page-title {
  font-size: 40px;
  font-weight: 700; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px; }

@media (max-width: 1000px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .post-grid {
    grid-template-columns: 1fr; } }
.post-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); }

.post-card__link {
  display: block;
  color: inherit;
  text-decoration: none; }

.post-card__thumb img {
  width: 100%;
  height: auto;
  display: block; }

.post-card__body {
  padding: 14px;
  display: grid;
  gap: 10px; }

.post-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px; }

.post-card__cats {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0; }

.cat-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 14px;
  background: #f45d48;
  /* オレンジ */
  color: #fff;
  font-size: 12px;
  line-height: 1.8;
  white-space: nowrap; }

.post-card__date {
  font-size: 12px;
  color: #666; }

/* タイトルは折り返しOK・省略しない */
.post-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: anywhere; }

/* Pagination */
.pagination {
  margin: 28px 0 40px;
  text-align: center; }
  .pagination ul {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0; }
  .pagination a,
  .pagination span {
    display: inline-block;
    min-width: 36px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px; }
  .pagination .current {
    background: #222;
    color: #fff;
    border-color: #222; }

/* ===== Blog: single ===== */
.single-post.contentsInner {
  max-width: 900px;
  margin-inline: auto;
  padding: 40px 16px; }

.single-thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 24px; }

.single-header {
  text-align: center;
  margin-bottom: 24px; }

.single-cats {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 8px; }

.single-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 6px; }

.single-meta {
  color: #777;
  font-size: 14px; }

.single-content {
  color: #333;
  font-size: 16px;
  line-height: 1.9; }
  .single-content img {
    max-width: 100%;
    height: auto; }
  .single-content p {
    margin: 1.6em 0; }

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin: 48px 0;
  font-size: 15px; }
  .post-navigation a {
    text-decoration: none;
    color: #222; }
    .post-navigation a:hover {
      text-decoration: underline; }

.back-to-list {
  text-align: center;
  margin: 40px 0 0; }
  .back-to-list a {
    display: inline-block;
    padding: 10px 24px;
    background: #333;
    color: #fff;
    border-radius: 6px;
    text-decoration: none; }
    .back-to-list a:hover {
      background: #555; }

/* =========================
   Blog List (専用クラス)
   ========================= */
.blog-archive .inner {
  max-width: 1100px;
  margin-inline: auto;
  padding: 0 16px; }
.blog-archive .page-hero {
  padding: 40px 0 16px; }
.blog-archive .page-title {
  font-size: 40px;
  font-weight: 700; }

/* グリッドは常に3列（レスポンシブで2/1列へ） */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px; }

@media (max-width: 1000px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .blog-grid {
    grid-template-columns: 1fr; } }
/* カード */
.blog-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); }

.blog-card__link {
  display: block;
  color: inherit;
  text-decoration: none; }

/* サムネイル：横長想定・縦長はマスク（object-fit:cover） */
.blog-card__thumb {
  aspect-ratio: 16 / 9;
  /* 横長の高さ基準 */
  width: 100%;
  overflow: hidden;
  background: #f5f5f5; }
  .blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 縦長は上下カットしてフィット */
    display: block; }

/* 投稿日 → タイトル → カテゴリ の順 */
.blog-card__date {
  display: block;
  padding: 12px 14px 0;
  font-size: 12px;
  color: #666; }

.blog-card__title {
  padding: 6px 14px 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: anywhere;
  /* ※省略せず全文表示（高さ制限しない） */ }

.blog-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 10px 14px 16px;
  margin: 0; }

.blog-cat-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 14px;
  background: #fff3ec;
  color: #f45d48;
  border: 1px solid #ffd8cc;
  font-size: 12px;
  line-height: 1.8;
  white-space: nowrap; }

/* ページネーション（共通スタイルを流用） */
.pagination {
  margin: 28px 0 40px;
  text-align: center; }
  .pagination ul {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0; }
  .pagination a,
  .pagination span {
    display: inline-block;
    min-width: 36px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px; }
  .pagination .current {
    background: #222;
    color: #fff;
    border-color: #222; }

/* ======================
   Single Post（ブログ詳細）
   ====================== */
.single-blog .inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px; }
.single-blog .post-head {
  padding: 40px 0 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 32px;
  position: static !important;
  /* 投稿日＋カテゴリ（右寄せ） */
  top: auto !important;
  z-index: auto !important;
  transform: none !important; }
.single-blog .post-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 12px; }
.single-blog .post-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #666;
  font-size: 13px; }
.single-blog .post-cats {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0; }

/* 投稿日＋カテゴリ（右寄せ） */
.blog-cat-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 14px;
  background: #fff3ec;
  color: #f45d48 !important;
  border: 1px solid #ffd8cc;
  font-size: 12px;
  line-height: 1.8; }

/* 本文 */
.single-blog .post-body {
  line-height: 1.8;
  font-size: 16px; }
  .single-blog .post-body img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 16px 0;
    display: block; }
.single-blog .post-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 40px 0;
  padding-top: 20px;
  border-top: 1px solid #eee; }
  .single-blog .post-nav a {
    text-decoration: none;
    color: #333; }
    .single-blog .post-nav a:hover {
      text-decoration: underline; }

/* 前後ナビ */
/* ======================
   Event News (一覧/カテゴリ)
   ====================== */
.archive-news .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px; }
.archive-news .page-title {
  font-size: 28px;
  font-weight: 700;
  margin: 36px 0 20px; }
.archive-news .term-desc {
  color: #666;
  margin: 0 0 24px; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px; }

@media (max-width: 1000px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .news-grid {
    grid-template-columns: 1fr; } }
.news-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08); }

.news-card__link {
  display: block;
  color: inherit;
  text-decoration: none; }

.news-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  padding: 16px 16px 0;
  color: #222;
  word-break: break-word;
  overflow-wrap: anywhere; }

.news-card__thumb {
  width: 100%;
  overflow: hidden;
  background: #f7f7f7; }
  .news-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; }

/* カテゴリ（角丸オレンジ） */
.news-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0 16px; }

.news-cat-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 14px;
  background: #fff3ec;
  color: #f45d48;
  border: 1px solid #ffd8cc;
  font-size: 12px;
  line-height: 1.8;
  white-space: nowrap; }

/* 投稿日 */
.news-card__date {
  display: block;
  padding: 8px 16px 16px;
  color: #666;
  font-size: 13px; }

/* ページネーション */
.pagination {
  margin: 36px 0 56px;
  text-align: center; }
  .pagination ul {
    display: inline-flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none; }
  .pagination a,
  .pagination span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px; }
  .pagination .current {
    background: #333;
    color: #fff;
    border-color: #333; }

/* ======================
   イベント詳細（single-news.php専用）
   ====================== */
.single-news .single-header {
  padding: 40px 0 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 32px;
  position: static !important;
  /* 固定位置を解除 */
  top: auto !important;
  z-index: auto !important;
  transform: none !important; }
.single-news .single-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 12px; }
.single-news .single-meta {
  display: flex;
  justify-content: flex-end;
  /* 右寄せ */
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #666;
  font-size: 13px; }
.single-news .single-cats {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0; }
.single-news .blog-cat-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 14px;
  background: #fff3ec;
  color: #f45d48;
  border: 1px solid #ffd8cc;
  font-size: 12px;
  line-height: 1.8;
  white-space: nowrap; }
.single-news .single-header {
  position: static !important;
  top: auto !important;
  padding: 40px 0 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 32px;
  position: static !important; }
  .single-news .single-header * {
    position: static !important;
    top: auto !important; }
.single-news .single-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 12px; }
.single-news .single-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #666;
  font-size: 13px; }
.single-news .single-cats {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0; }
.single-news .blog-cat-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 14px;
  background: #fff3ec;
  color: #f45d48;
  border: 1px solid #ffd8cc;
  font-size: 12px;
  line-height: 1.8;
  white-space: nowrap;
  text-decoration: none; }

/* ======================
ブログ詳細（single.php 専用）
   ====================== */
.single-blog .post-head {
  padding: 120px 0 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 32px;
  position: static !important;
  /* 念のため固定化を無効化 */
  top: auto !important;
  z-index: auto !important;
  transform: none !important; }
.single-blog .post-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 12px; }
.single-blog .post-meta {
  display: flex;
  justify-content: flex-end;
  /* 右寄せ */
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #666;
  font-size: 13px; }
.single-blog .post-cats {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0; }
.single-blog .blog-cat-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 14px;
  background: #fff3ec;
  color: #f45d48;
  border: 1px solid #ffd8cc;
  font-size: 12px;
  line-height: 1.8;
  white-space: nowrap;
  text-decoration: none; }
  .single-blog .blog-cat-badge:link, .single-blog .blog-cat-badge:visited {
    color: #fff;
    text-decoration: none; }
  .single-blog .blog-cat-badge:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.8; }
  .single-blog .blog-cat-badge:active, .single-blog .blog-cat-badge:focus {
    color: #fff;
    text-decoration: none; }
.single-blog .post-head {
  position: static !important;
  top: auto !important; }
  .single-blog .post-head * {
    position: static !important;
    top: auto !important; }

/* イベント情報一覧ページサムネの重ね表示ベース */
.news-card__thumb {
  position: relative;
  display: block;
  overflow: hidden; }
  .news-card__thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; }

/* クリック不可 */
.news-card.is-ended .news-card__link {
  pointer-events: none;
  cursor: default;
  opacity: 0.95; }

/* ====== 「終了しました」を帯状に（画像全体は覆わない） ====== */
.news-card__thumb {
  position: relative; }

/* ★帯（バー）に変更：横いっぱい、中央にテキスト */
.news-card__ended {
  position: absolute;
  left: 0;
  right: 0;
  /* ← 横幅いっぱい */
  top: 50%;
  /* ← 画像の上下中央に配置（位置を変えたいなら bottom:12px; に） */
  transform: translateY(-50%);
  display: block;
  text-align: center;
  padding: 10px 12px;
  /* ← 帯の太さ */
  background: rgba(0, 0, 0, 0.55);
  /* ← 帯の色（半透明） */
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: clamp(14px, 2.6vw, 18px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  /* ← クリックを邪魔しない */
  /* 帯の角を少し丸めたい場合 */
  /* border-radius: 4px; */ }

/*トップページ　ブログ
----------------------------------------------*/
.newsBox01 {
  width: 100%;
  overflow: auto;
  margin: 0 auto 60px; }
  .newsBox01 .flexarea {
    display: flex;
    justify-content: space-between;
    /*横の中央寄せ*/
    align-items: flex-start;
    /*縦の中央寄せ*/
    flex-wrap: wrap; }
  .newsBox01 .imgBox {
    width: 21%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    text-align: left; }
    @media (max-width: 786px) {
      .newsBox01 .imgBox {
        width: 48%; } }
    .newsBox01 .imgBox .wp-post-image {
      width: 100%;
      height: 210px;
      object-fit: cover;
      border-radius: 10px; }
  .newsBox01 a {
    display: block; }
  .newsBox01 .blog__time {
    padding: 5px 0 0px 5px;
    display: block;
    display: flex;
    justify-content: flex-start;
    align-items: center; }
    .newsBox01 .blog__time img {
      width: 50px;
      margin-left: 5px; }
  .newsBox01 .stitle {
    font-weight: bold;
    padding: 1px 0 0px 5px;
    line-height: 150%; }
    .newsBox01 .stitle a {
      color: #FB6622 !important; }
