@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* =================================================
   Cocoon 全ページ共通：本文文字設計
================================================= */
html {
  scroll-behavior: smooth;
}
/* スマホだけ改行を有効 */
.sp-br {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-br {
    display: inline;
  }
}

#content {
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

#content p {
  margin: 0 0 1.4em;
  text-align: left;
  font-weight: normal;
}

/* スマホのみ微調整 */
@media (max-width: 767px) {
  #content {
    font-size: 15px;
    line-height: 2;
  }
}

/* =================================================
   テーブル共通デザイン（上品・福祉サイト向け）
================================================= */
#content table {
  font-size: 0.9em;
  line-height: 1.6;
  border-collapse: collapse;
  border: 1px solid #ddd;
  background: #fff;
  box-shadow:a none;
}

#content th,
#content td {
  padding: 0.6em 0.8em;
  border: 1px solid #ddd;
  vertical-align: middle;
}

#content th {
  font-weight: 600;
  background-color: #f2f2f2;
}

#content td br {
  line-height: 1.3;
}

/* 交互背景（Cocoonのオレンジ対策） */
#content table tbody tr:nth-child(even) td {
  background-color: #f7f7f7;
}

#content table tbody tr:nth-child(odd) td {
  background-color: #ffffff;
}

/* スマホ：文字と余白を少し締める */
@media (max-width: 767px) {
  #content table {
    font-size: 0.85em;
  }

  #content th,
  #content td {
    padding: 0.5em;
  }

  #content table tbody tr:nth-child(even) td {
    background-color: #f6f6f6;
  }
}




/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}


.archive-accordion .months {
  display: none;
  padding-left: 1em;
}

.archive-accordion .year.open .months {
  display: block;
}

.year-toggle {
  background: none;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.navigation.pagination {
  margin: 2em 0;
  text-align: center;
}

.navigation.pagination .nav-links {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

.navigation.pagination .page-numbers {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.2;
}
/* 前へ・次へをアイコン化（« » のみ表示） */
.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
  font-size: 0;           /* 文字を消す */
  position: relative;
  min-width: 36px;
}

/* « アイコン */
.navigation.pagination .page-numbers.prev::before {
  content: "«";
  font-size: 16px;
}

/* » アイコン */
.navigation.pagination .page-numbers.next::before {
  content: "»";
  font-size: 16px;
}

/* ホバー時 */
.navigation.pagination .page-numbers.prev:hover,
.navigation.pagination .page-numbers.next:hover {
  background: #f5f5f5;
}

/* 記事装飾 */
#main article {
  background: transparent !important;
  box-shadow: none !important;
}
.article-brock {
  background: #fff;
  padding: 40px;
  margin-bottom: 40px;
  border-radius: 6px;   /* 好みで */
}
.wp-block-gallery a img {
  transition: opacity .25s ease;
	border-radius: 3px;
}

.wp-block-gallery a:hover img {
  opacity: .75;
}



/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	#main article {
  background: transparent !important;
  box-shadow: none !important;
}
.article-brock {
  padding: 20px;
  margin: 5px 5px 10px;

}
.wp-block-gallery a img {
  margin:5px;
}
}


.sidebar-menu {
  list-style:none;
  margin:0;
  padding:0;
}

.sidebar-menu li a {
  display:block;
  padding:8px;
  margin-bottom:5px;
  background:#FFF;
  border:1px solid #DBDBDB;
  border-radius:5px;
  color:#333;
  text-decoration:none;
}

.sidebar-menu li a:hover {
  background:#CC0;
  color:#FFF;
}

/* デフォルト：非表示（PC） */
.sp-only-archive-nav {
  display: none;
}

/* スマホだけ表示 */
@media (max-width: 834px) {
  .sp-only-archive-nav {
    display: block;
  }
}
@media (max-width: 834px) {

  /* お知らせ（メニュー） */
  .sp-only-archive-nav, .sp-only-archive {
    margin: 20px;
  }

  .related-links li {
    margin-bottom: 8px;
  }

}
/* デフォルト：非表示（PC） */
.sp-only-archive {
  display: none;
}

/* スマホだけ表示 */
@media (max-width: 834px) {
  .sp-only-archive {
    display: grid;             /* 2列にしたい場合 */
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .sp-only-archive .year-link {
    display: block;
    text-align: center;
    padding: 12px 6px;
    font-weight: bold;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
	color:#333;
  text-decoration:none;
  }
}
.slb_template_tag_item_title {display:none;}

/* PDF Embedder サイズ調整 */
.pdfemb-viewer {
  max-width: 100%;
  height: 80vh;
}

/* PDFごとの余白 */
.newsletter-pdf {
  margin: 40px 0;
}

/* 見出し */
.newsletter-pdf h3 {
  margin-bottom: 10px;
}



/* ===== CF7 ===== */
.Form {
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}
	.Form p { margin:inherit;}

.Form-Item {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
.Form-Item:nth-child(5) {
  border-bottom: 1px solid #ddd;
}
.Form-Item-Label {
  width: 100%;
  max-width: 200px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}

.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}

.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #F09F60;
  color: #fff;
  font-size: 14px;
}

.wpcf7-text {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 350px;
  background: #eaedf2;
  font-size: 18px;
}

.wpcf7-textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 350px;
  background: #eaedf2;
  font-size: 18px;
}

.wpcf7-submit {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px !important;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #F09F60;
}
/* =========================
   スマホ最適化（CF7）
========================= */
@media screen and (max-width: 768px) {

  .Form {
    margin-top: 40px;
    padding: 0 16px;
  }

  .Form-Item {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .Form-Item-Label {
    max-width: 100%;
    width: 100%;
    font-size: 16px;
    margin-bottom: 12px;
  }

  .Form-Item-Label.isMsg {
    margin-top: 0;
  }

  .wpcf7-text,
  .wpcf7-textarea {
    max-width: 100%;
    width: 100%;
    font-size: 16px;
  }

  .wpcf7-text {
    height: 44px;
  }

  .wpcf7-textarea {
    height: 180px;
  }

  .Form-Item-Label-Required {
    font-size: 12px;
    width: 42px;
    padding: 6px 0;
  }

  .wpcf7-submit {
    width: 100%;
    max-width: 320px;
    padding: 16px 0;
    font-size: 16px;
  }
}


/* =========================
   サイドバー：リンクカード化
========================= */

/* メニュー全体 */
.widget_nav_menu .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 各リンク */
.widget_nav_menu .menu li a {
  display: block;
  padding: 10px 12px;
  margin-bottom: 6px;
  background: #FFF;
  border: 1px solid #DBDBDB;
  border-radius: 5px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  transition: background-color .25s ease, color .25s ease;
}

/* hover */
.widget_nav_menu .menu li a:hover {
  background: #CC0;
  color: #FFF;
}

/* 現在のページ */
.widget_nav_menu .menu li.current-menu-item > a,
.widget_nav_menu .menu li.current_page_item > a {
  background: #C90;
  color: #FFF;
  font-weight: bold;
  border-color: #C90;
}

/* =========================
   サイドバー：リンクカード共通化
   （ナビメニュー＋テキストウィジェット）
========================= */

/* リスト共通 */
.widget_nav_menu .menu,
.widget_pc_text .sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* リンク共通 */
.widget_nav_menu .menu li a,
.widget_pc_text .sidebar-menu li a {
  display: block;
  padding: 10px 12px;
  margin-bottom: 6px;
  background: #FFF;
  border: 1px solid #DBDBDB;
  border-radius: 5px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  transition: background-color .25s ease, color .25s ease;
}

/* hover */
.widget_nav_menu .menu li a:hover,
.widget_pc_text .sidebar-menu li a:hover {
  background: #CC0;
  color: #FFF;
}

/* 現在ページ */
.widget_nav_menu .menu li.current-menu-item > a,
.widget_nav_menu .menu li.current_page_item > a,
.widget_pc_text .sidebar-menu li.current-menu-item > a {
  background: #C90;
  color: #FFF;
  font-weight: bold;
  border-color: #C90;
}




/* =========================
   スマホ最適化
========================= */
@media screen and (max-width: 768px) {

  #newsletter_link {
    flex-direction: column;
    align-items: stretch;
  }

  .ti_month {
    width: 100%;
    font-size: 15px;
  }

  #newsletter_link a {
    width: 100%;
    text-align: center;
    font-size: 15px;
  }
}
/* =========================
   ご寄付の報告 一覧
========================= */

.article-brock.b001 {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 0 0 20px;
  box-shadow: 0 2px 2px rgba(0,0,0,.04);
}



/* 日付＋お名前 */
.article-brock.b001 .name {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

/* 寄付内容リスト */
.article-brock.b001 ul {
  margin: 0;
  padding-left: 1.2em;
}

.article-brock.b001 li {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

/* hrは使わない */
.article-brock.b001 hr {
  display: none;
}

/* お礼文 */
article p:last-of-type {
  margin-top: 24px;
  font-weight: bold;
  text-align: center;
}

/* =========================
   スマホ最適化
========================= */
@media screen and (max-width: 768px) {

  .article-brock.b001 {
    padding: 16px;
  }

  .article-brock.b001 .name {
    font-size: 15px;
  }

  .article-brock.b001 li {
    font-size: 14px;
  }
}


/* =========================
   会報誌（縦並び）
========================= */
.newsletter-archive {
  margin: 30px 0;
}

.article-brock.newsletter {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px; /* ← ここが重要 */
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.article-brock .ti_month {
  background: #f3f4f6;
  color: #333;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 15px;
}

/* PDFリンク */
.newsletter-links {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.newsletter-links li {
  margin-bottom: 6px;
}

.newsletter-links a {
  display: inline-block;
  color: #1f3a5f;
  font-size: 14px;
  text-decoration: none;
}

.newsletter-links a:hover {
  text-decoration: underline;
}

/* スマホ微調整 */
@media (max-width: 600px) {
  .article-brock.newsletter {
    padding: 16px;
  }

  .newsletter-links a {
    font-size: 15px;
  }
}

/* ===== newsletter 新着（固定ページ用） ===== */

/* ul 初期スタイルを消す */
.newsletter-list {
  list-style: none;      /* ← ぽっち消す */
  margin: 0;
  padding: 0;
  display: flex;         /* ← 横並び */
  gap: 16px;
}

/* 各アイテム */
.newsletter-item {
  background: #f5f5f5;   /* 薄グレー背景 */
  padding: 10px;
  border-radius: 6px;
  width: calc(50% - 8px); /* 2列 */
  box-sizing: border-box;
}

/* リンク全体をカード化 */
.newsletter-item a {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* アイキャッチ */
.newsletter-item img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 6px;
}

/* タイトル */
.newsletter-title {
  font-size: 14px;   /* 小さめ */
  line-height: 1.4;
  margin-bottom: 4px;
}

/* 日付 */
.newsletter-date {
  font-size: 12px;
  color: #666;
}

/* hover */
.newsletter-item:hover {
  background: #eeeeee;
}



/* ===== 固定ページの p を正常化 ===== */
.page .entry-content p {
  text-align: left;
  font-weight: normal;
}
/* Cocoonの「先頭p＝リード文」装飾を無効化 */
#contents > p:first-child,
#contents > p:first-of-type {
  text-align: left;
  font-weight: normal;
}

/* =========================
   カスタム投稿アーカイブ（アコーディオン）
========================= */

/* 全体 */
.archive-accordion {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 年 */
.archive-accordion .year {
  margin-bottom: 10px;
}

/* 年ボタン */
.archive-accordion .year-toggle {
  width: 100%;
  text-align: left;
  background: #f3f4f6;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* 月リスト */
.archive-accordion .months {
  list-style: none;
  margin: 6px 0 0;
  padding: 0 0 0 10px;
}

/* 月 */
.archive-accordion .month {
  margin: 4px 0;
}

/* 月リンク */
.archive-accordion .month a {
  display: block;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

/* hover */
.archive-accordion .month a:hover {
  background: #eee;
}
/* 月リンク：うっすら背景 */
.archive-accordion .month a {
  background: #f7f7f7;        /* 薄グレー */

}

/* hover */
.archive-accordion .month a:hover {
  background: #ededed;
}

/* ブロックの中央揃えは生かす */
#content p.has-text-align-center {
  text-align: center;
}


/* =========================
   ヘッダーメニュー
========================= */
/* ヘッダーメニュー文字 */
.menu-header .item-label {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.6em 0.9em;
}
.menu-header > li > a {
  background: transparent;
}

.menu-header > li > a:hover {
  background: #f4f4f4;
}
.menu-header > li {
  margin: 0 0.4em;

}
.menu-header .sub-menu {
  background: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  padding: 0.4em 0;
	border-radius: 3px;
}

.menu-header .sub-menu .item-label {
  font-size: 14px;
  padding: 0.6em 1em;
}



/* =========================
   トップページ記事一覧
========================= */
.g-newest-posts {
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.g-newest-posts .new-post {
    width:23%;
    position:relative;
}

.g-newest-posts .post-type-label {
    position:absolute;
    top:5px;
    left:5px;
    background: rgba(200, 200, 200, 0.7); /* 半透明グレー */
    color: #333; /* 濃いグレー文字 */
    padding: 3px 6px; /* 少し小さめ */
    border-radius:4px;
    font-size:12px; /* 小さめフォント */
    text-decoration:none;
    z-index:2;
}

.g-newest-posts .new-post img {
    width:100%;
    display:block;
}

.g-newest-posts .excerpt {
    margin-top:5px;
    font-size:14px;
}
.g-newest-posts .new-post img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease; /* なめらかに変化 */
	border-radius:2px;
}

.g-newest-posts .new-post img:hover {
    opacity: 0.8; /* 少し薄くなる */
}

/* スマホ用メディアクエリ */
@media (max-width: 600px) {
    .g-newest-posts {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* 4列固定 */
    gap: 5px;
    width: 100%;
}

.g-newest-posts .new-post {
    text-align: center;
    width: 100%;
}

.g-newest-posts .new-post img {
    width: 100%; /* これで画像も列幅に合わせる */
    height: auto;
}

.g-newest-posts .excerpt {
    font-size: 12px;
    margin-top: 3px;
}

.g-newest-posts .post-type-label {
    display: inline-block;
    padding: 2px 5px;
    font-size: 12px;
    color: #333;
    background: rgba(255,255,255,0.7);
    border-radius: 3px;
    margin-bottom: 5px;
    text-decoration: none;
}
.g-newest-posts .new-post {
    text-align: center;
    width: 100%;
    position: static; /* 親がrelativeやflexでも影響を受けないように */
}

.g-newest-posts .post-type-label {
    display: block; /* ブロックにして画像の上に重ならない */
    position: static !important; /* これで絶対配置や重ねを無効化 */
    margin-bottom: 5px;
    padding: 2px 5px;
    font-size: 12px;
    color: #333;
    background: rgba(200,200,200,0.3);
    border-radius: 3px;
    text-decoration: none;
    z-index: auto !important; /* 画像より上に出ないようにする */
}

}


/* サイドバーのウィジェットタイトルだけ装飾 */
.sidebar .widget-sidebar-title .widget-title ,.text-pc .widgettitle ,.widget-sidebar .widget-sidebar-title {
  background-color: #6E5E45;
  color: #fff;
  padding: 10px 14px;
  margin: 0 -20px 20px; /* ← サイドバー左右の内側余白ぶんだけ広げる */
  font-size: 18px;
  font-weight: 600;
	box-shadow: 0 1px 0 rgba(0,0,0,0.15);
	border-radius: 0px;
}

@media (max-width: 767px) {
  #go-to-top {
    display: block !important;
  }

  #go-to-top .go-to-top-button {
    display: flex !important;
  }
	#go-to-top {
    bottom: 60px !important; /* ← ここが肝 */
    right: 16px;
    z-index: 9999;
  }
}


/* フッターモバイル：カード見た目調整【確定版】 */
@media screen and (max-width: 768px) {

  /* カード全体 */
  .widget-footer-mobile .navi-entry-card {
    background: #f7f7f7;
    border: none !important;
    box-shadow: none !important;
    margin: 6px 0;
    padding: 6px 8px;
    border-radius: 4px;

    display: flex;
    align-items: center;
  }

  /* a-wrap（クリック領域） */
  .widget-footer-mobile .navi-entry-card .a-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    border: none !important;
  }

  /* 中身を縦センター */
  .widget-footer-mobile .widget-entry-card-content {
    display: flex;
    align-items: center;
    margin-bottom: 0 !important;
    width: 100%;
  }

  /* タイトル */
  .widget-footer-mobile .navi-entry-card-title {
    margin: 0 !important;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
  }

  /* サムネイル */
  .widget-footer-mobile .navi-entry-card-thumb {
    margin-right: 6px;
    margin-bottom: 0;
  }

  /* 区切り線（上下とも）完全削除 */
  .widget-footer-mobile .border-partition .a-wrap,
  .widget-footer-mobile .border-partition .a-wrap:first-of-type {
    border-top: none !important;
    border-bottom: none !important;
  }
}
@media screen and (max-width: 768px) {

  /* カード全体：タップしやすく */
  .widget-footer-mobile .navi-entry-card {
    padding: 5px 12px;   /* 押しやすさUP */
    margin: 0px 0;        /* 上下の隙間を詰める */
    min-height: 48px;     /* タップ最低サイズ */
  }

  /* クリック領域を全面に */
  .widget-footer-mobile .navi-entry-card .a-wrap {
    padding: 0;
  }

  /* 文字ブロックの縦幅を確保 */
  .widget-footer-mobile .widget-entry-card-content {
    padding: 2px 0;
  }

  /* タイトル行間を少しだけ詰める */
  .widget-footer-mobile .navi-entry-card-title {
    line-height: 1.35;
  }

  /* サムネがある場合の縦ズレ防止 */
  .widget-footer-mobile .navi-entry-card-thumb {
    min-width: 44px;
    display: flex;
    align-items: center;
  }
}
@media screen and (max-width: 768px) {

  /* フッターモバイル：ダミー画像完全非表示 */
  .widget-footer-mobile 
  img.navi-entry-card-thumb-no-image,
  .widget-footer-mobile 
  .navi-entry-card-thumb {
    display: none !important;
  }
}
/* SNSナビ（共通） */
.sns-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
}

/* アイコンリンク */
.sns-nav a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 22px;
  text-decoration: none;
}

/* ホバー */
.sns-nav a:hover {
  background: #e6e6e6;
}

/* ブランドカラー */
.sns-nav .fa-instagram { color: #e1306c; }
.sns-nav .fa-facebook-f { color: #1877f2; }



/* お知らせカードを分かりやすく */
@media (max-width: 768px) {
  .entry-card-wrap {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 14px;
    background: #fff;
  }

  .entry-card-wrap:active {
    background: #f5f5f5;
  }
}
/* タップ領域を広げる */
@media (max-width: 768px) {
  .entry-card-title {
    font-size: 16px;
    line-height: 1.5;
  }

  .entry-card-content {
    padding: 0;
  }

  .a-wrap {
    display: block;
  }
}
@media (max-width: 768px) {
  .entry-card-wrap::after {
    content: "続きを読む →";
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #0073aa;
    text-align: right;
  }
}
.entry-card-wrap::after {
  content: "続きを読む →";
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: #0073aa;
  text-align: right;
}
/* お知らせ一覧カード共通 */
.entry-card-wrap {
  display: block;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 18px;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* hoverで「リンク感」 */
.entry-card-wrap:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transform: translateY(-2px);
	background: #fff;
}


@media screen and (max-width: 768px) {

  /* report の時だけスマホで非表示 */
  body.post-type-archive-report .sidebar-menu,
  body.single-report .sidebar-menu,
  body.single-report .widgettitle {
    display: none !important;
  }

}
/* 沿革テーブル：強制的に列幅指定 */
figure.wp-block-table table {
  table-layout: fixed !important;
  width: 100% !important;
}

figure.wp-block-table th {
  width: 30% !important;
  white-space: nowrap;
  padding: 0.6em 0.8em !important;
  vertical-align: top;
}

figure.wp-block-table td {
  width: 70% !important;
  padding: 0.6em 1em !important;
}
/* tdのみの2列テーブル：列幅を固定 */
.entry-content figure.wp-block-table table {
  table-layout: fixed !important;
  width: 100% !important;
}

.entry-content figure.wp-block-table tr td:first-child {
  width: 28% !important;
  font-weight: 600;
  white-space: nowrap;
  vertical-align: top;
  padding: 0.6em 0.8em !important;
}

.entry-content figure.wp-block-table tr td:last-child {
  width: 72% !important;
  vertical-align: top;
  padding: 0.6em 1em !important;
}
@media (max-width: 767px) {

  /* テーブル全体を解除 */
  .entry-content figure.wp-block-table table {
    table-layout: auto !important;
    width: 100% !important;
  }

  /* セル共通：強制改行許可 */
  .entry-content figure.wp-block-table th,
  .entry-content figure.wp-block-table td {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  /* 左列（項目側） */
  .entry-content figure.wp-block-table tr > *:first-child {
    width: 38% !important;
  }

  /* 右列（説明側） */
  .entry-content figure.wp-block-table tr > *:last-child {
    width: 62% !important;
  }

}
