@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.3
*/

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

/*固定ページの日時を非表示・ページ指定*/
.post-14 .date-tags,
.post-22 .date-tags,
.post-9 .date-tags {
  display: none;
}

/*固定ページのタイトルを非表示*/
.post-14 .entry-title,
.post-22 .entry-title,
.post-9 .entry-title{
display: none;
}

/*固定ページのシェアボタン・フォローボタンを非表示*/
.page .sns-share,
.page .sns-follow {
    display: none;
}

/*SNSシェアボタン*/
#main .button-caption {
	display: none; /*キャプション非表示*/
}

/*SNSシェアボタン*/
.sns-share-message{
	font-weight: bold; /*太字*/
	color: #875d5b; /*文字色*/
}
.sns-share-buttons {
	flex-wrap: nowrap; /*折り返さない*/
	justify-content: center; /*中央寄せ*/
}
.sns-share-buttons a {
	border-radius: 50%; /*丸くする*/
	font-size: 20px; /*アイコンのサイズ*/
	margin: 0 10px; /*ボタン同士の間隔*/
}
#main .sns-share a {
	width: 40px; /*ボタンの横幅*/
	height: 40px; /*ボタンの高さ*/
}

/*SNSフォローボタン*/
.sns-follow-message{
	font-weight: bold; /*太字*/
	color: #875d5b; /*文字色*/
}
.sns-follow-buttons {
	justify-content: center; /*中央寄せ*/
}
.sns-follow-buttons a {
	border-radius: 50%; /*丸くする*/
	font-size: 20px; /*アイコンのサイズ*/
	margin: 0 10px; /*ボタン同士の間隔*/
}
#main .sns-follow a {
	width: 40px; /*ボタンの横幅*/
	height: 40px; /*ボタンの高さ*/
}

/*固定ページのタイトル非表示*/
.entry-title {
display: none;
}


/*印刷設定*/
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" />

/************************************
** 入力フォーム（Form）
************************************/
input[type="text"],
input[type="url"],
input[type="password"],
input[type="email"],
input[type="search"],
input[type="tel"],
textarea {
  width: auto;
}

/* 確認画面のフィールド背景色や枠線を消す */
.wpcf7c-conf, .wpcf7c-conf:focus {
  background-color: transparent;
  border: none;
}


/*---------------------------------
ボックス（白抜き）の枠の色を変える
--------------------------------*/
.blank-box {border-color: #CCCCCC;} /* 灰色 */

.blank-box.bb-yellow {border-color: #FAB162;} /* 黄色 */

.blank-box.bb-red {border-color: #FD8FA3;} /* 赤色 */

.blank-box.bb-blue {border-color: #5FB3F5;} /* 青色 */

.blank-box.bb-green {border-color: #95CE4B;} /* 緑色 */

















/************************************************************
** ▼ 2026年7月 デザインリニューアル(モダン公共系)
** 基調: 緑 #007b43 / 差し色: 区の10色
************************************************************/

/*----------------------------------
デザイントークン
----------------------------------*/
:root {
  --pta-green: #007b43;        /* 基調の緑(Cocoonのtealと同色) */
  --pta-green-dark: #005a31;   /* 濃い緑(ホバーなど) */
  --pta-green-deep: #0e3d27;   /* フッター背景 */
  --pta-green-bright: #00a25a; /* グラデーション用の明るい緑 */
  --pta-green-tint: #edf6f1;   /* 淡い緑背景 */
  --pta-green-line: #cfe5d9;   /* 淡い緑の罫線 */
  --pta-ink: #2b3a33;          /* 本文テキスト */
  --pta-radius: 10px;
  --pta-shadow: 0 2px 8px rgba(14, 61, 39, .08);
  --pta-shadow-hover: 0 6px 16px rgba(14, 61, 39, .16);
  /* 区の10色(functions.php のパレットと同期) */
  --ku-nishi: #1aa9cb;
  --ku-kita: #006342;
  --ku-omiya: #fe4c10;
  --ku-minuma: #67b3d3;
  --ku-chuo: #f8355c;
  --ku-sakura: #fbb4ce;
  --ku-urawa: #fc1900;
  --ku-minami: #ffe600;
  --ku-midori: #33a34d;
  --ku-iwatsuki: #ff9900;
}

/*----------------------------------
Webフォント(Xserver TypeSquare)
見出し: 丸フォーク M / 本文: UD新ゴ コンデンス90 L
----------------------------------*/
:root {
  --font-heading: "丸フォーク M", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  --font-body: "UD新ゴ コンデンス90 L", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}
body,
body.ff-hiragino {
  font-family: var(--font-body);
}
h1, h2, h3, h4, h5, h6,
.site-name-text,
.entry-content h2,
.entry-content h3,
.entry-content h2.top-section-title,
.top-hero .hero-catch,
.quick-card .quick-card-title,
.ku-card a,
#navi .navi-in > ul > li > a {
  font-family: var(--font-heading);
}

/*----------------------------------
ベース
----------------------------------*/
body {
  background: #eef4ef !important;
  color: var(--pta-ink);
}
.main {
  background-color: #fff;
  border-radius: var(--pta-radius);
  box-shadow: var(--pta-shadow);
}
.entry-content a:not(.wp-block-button__link) {
  color: var(--pta-green);
  text-decoration: underline;
  text-decoration-color: var(--pta-green-line);
  text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}
.entry-content a:not(.wp-block-button__link):hover {
  color: var(--pta-green-dark);
  text-decoration-color: currentColor;
}

/*----------------------------------
ヘッダー
----------------------------------*/
#header-container {
  border-top: 4px solid var(--pta-green);
  background: #fff;
}
#header {
  background: #fff;
}
#header .site-name-text {
  color: var(--pta-green-dark);
  font-weight: 700;
  letter-spacing: .06em;
}
#header .tagline {
  color: #5a6f64;
  font-size: 13px;
}

/*----------------------------------
アーカイブ(カテゴリ等)の記事一覧
----------------------------------*/
.archive-title {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--pta-green-dark);
  background: var(--pta-green-tint);
  border-left: 6px solid var(--pta-green);
  border-radius: 0 8px 8px 0;
  padding: .5em .8em;
  margin-bottom: 1em;
}
.archive-title .fa-folder-open {
  color: var(--pta-green);
  margin-right: .5em;
}
#list .entry-card-wrap {
  display: block;
  background: #fff;
  border: 1px solid var(--pta-green-line);
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 18px;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
#list .entry-card-wrap:hover {
  box-shadow: var(--pta-shadow-hover);
  border-color: var(--pta-green);
  transform: translateY(-2px);
}
#list .entry-card-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--pta-green-dark);
  margin: 0 0 .4em;
  line-height: 1.5;
}
#list .entry-card-snippet {
  font-size: 14px;
  color: #5a6f64;
  line-height: 1.7;
}
#list .entry-card-meta {
  margin-top: .9em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5em;
  float: none;
}
#list .entry-card-meta .post-date {
  color: #8aa295;
  font-size: 13px;
}
#list .entry-card-categorys {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
#list .entry-category {
  display: inline-block;
  font-size: 11px;
  line-height: 1.6;
  color: var(--pta-green-dark);
  background: var(--pta-green-tint);
  border: 1px solid var(--pta-green-line);
  border-radius: 999px;
  padding: 1px 10px;
  margin: 0;
}
@media (max-width: 767px) {
  #list .entry-card-wrap {
    padding: 16px 18px;
  }
  #list .entry-card-title {
    font-size: 17px;
  }
}

/* ページネーション */
.pagination-next-link {
  display: block;
  max-width: 360px;
  margin: 1.2em auto;
  padding: .75em 1em;
  text-align: center;
  background: #fff;
  border: 1px solid var(--pta-green);
  border-radius: 999px;
  color: var(--pta-green-dark);
  font-weight: 700;
  transition: background .2s, color .2s;
}
.pagination-next-link:hover {
  background: var(--pta-green);
  color: #fff;
}
.pagination {
  margin: 1.2em 0 .5em;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  margin: 0 4px;
  border: 1px solid var(--pta-green-line);
  border-radius: 999px;
  background: #fff;
  color: var(--pta-ink);
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.pagination a.page-numbers:hover {
  background: var(--pta-green-tint);
  color: var(--pta-green-dark);
  border-color: var(--pta-green);
}
.pagination .page-numbers.current {
  background: var(--pta-green);
  border-color: var(--pta-green);
  color: #fff;
  font-weight: 700;
}
.pagination .page-numbers.dots {
  border: none;
  background: none;
}

/*----------------------------------
目次(Cocoon .toc) — コンパクトなカード表示
(表示するページは例外運用: 長文ページのみメタを外す)
----------------------------------*/
.toc {
  display: block;
  width: 100%;
  background: var(--pta-green-tint);
  border: 1px solid var(--pta-green-line);
  border-radius: 12px;
  padding: 14px 22px 16px;
  margin: 1.6em 0;
}
.toc .toc-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--pta-green-dark);
  font-size: 15px;
  letter-spacing: .08em;
}
.toc .toc-content {
  padding: 0;
}
.toc .toc-list {
  font-size: 14px;
  margin: .5em 0 0;
  padding-left: 1.4em;
  columns: 2;
  column-gap: 3em;
}
.toc .toc-list li {
  break-inside: avoid;
  padding: .18em 0;
}
.toc .toc-list a {
  color: var(--pta-ink);
  text-decoration: none;
}
.toc .toc-list a:hover {
  color: var(--pta-green-dark);
  text-decoration: underline;
}
/* 第2階層(h3)は表示しない(縦長防止) */
.toc .toc-list ol,
.toc .toc-list ul {
  display: none;
}
@media (max-width: 767px) {
  .toc .toc-list {
    columns: 1;
  }
}

/*----------------------------------
グローバルナビ
----------------------------------*/
#navi {
  background: #fff;
  border-top: 1px solid var(--pta-green-line);
  border-bottom: 1px solid var(--pta-green-line);
}
#navi .navi-in > ul {
  display: flex;
  justify-content: space-between; /* 全幅に均等配置 */
  width: 100%;
}
#navi .navi-in > ul > li {
  width: auto; /* Cocoonの等幅割りをやめ内容幅に */
}
#navi .navi-in > ul > li > a {
  color: var(--pta-ink);
  font-weight: 500;
  position: relative;
  transition: color .2s;
  font-size: 16px;
  padding: 0 10px;
  white-space: nowrap;
}
/* Cocoonのドロップダウン矢印(.has-icon)は absolute right:6px のため、
   子持ち項目は右パディングを広げて文字との干渉を防ぐ */
#navi .navi-in > ul > li.menu-item-has-children > a {
  padding-right: 26px;
}
#navi .navi-in > ul > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--pta-green);
  transform: translateX(-50%);
  transition: width .25s ease;
}
#navi .navi-in > ul > li > a:hover {
  color: var(--pta-green-dark);
  background: var(--pta-green-tint);
}
#navi .navi-in > ul > li > a:hover::after,
#navi .navi-in > ul > li.current-menu-item > a::after {
  width: 60%;
}
#navi .navi-in > ul > li.current-menu-item > a {
  color: var(--pta-green-dark);
}
/* ドロップダウン
   注意: overflow:hidden を付けると第3階層(横出しフライアウト)がクリップされるので禁止 */
#navi .navi-in > ul .sub-menu {
  background: #fff;
  border: 1px solid var(--pta-green-line);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--pta-shadow-hover);
  width: 340px; /* 長いメニューラベルが省略されないように */
}
/* 角丸は最下部の項目側に付与(overflow:hiddenの代替) */
#navi .navi-in > ul .sub-menu li:last-child > a {
  border-radius: 0 0 8px 8px;
}
/* 第3階層のフライアウトは右横に出るため全角丸 */
#navi .navi-in > ul .sub-menu .sub-menu {
  border-radius: 8px;
}
#navi .navi-in > ul .sub-menu .sub-menu li:first-child > a {
  border-radius: 8px 8px 0 0;
}
#navi .navi-in > ul .sub-menu .sub-menu li:last-child > a {
  border-radius: 0 0 8px 8px;
}
#navi .navi-in > ul .sub-menu li a {
  color: var(--pta-ink);
  border-bottom: 1px dashed var(--pta-green-line);
}
#navi .navi-in > ul .sub-menu li a:hover {
  background: var(--pta-green-tint);
  color: var(--pta-green-dark);
}

/*----------------------------------
コンテンツ内見出し
(既存の watery-green ベタ塗り見出しをモダンな左ボーダー見出しへ)
----------------------------------*/
.article h2,
.entry-content h2 {
  background: var(--pta-green-tint);
  border-left: 6px solid var(--pta-green);
  border-radius: 0 6px 6px 0;
  color: #17352a;
  padding: .6em .8em;
}
.article h3,
.entry-content h3 {
  border: none;
  border-left: 5px solid var(--pta-green);
  border-bottom: 2px solid var(--pta-green-line);
  color: #17352a;
  padding: .45em .7em;
  background: transparent;
}
.entry-content h3.has-watery-green-background-color {
  background-color: transparent !important;
}
.entry-content h4 {
  border-bottom: 2px solid var(--pta-green-line);
  color: #17352a;
}

/*----------------------------------
ボタン
----------------------------------*/
.entry-content .wp-block-button__link {
  background-color: var(--pta-green);
  border-radius: 999px !important;
  box-shadow: var(--pta-shadow);
  font-weight: 600;
  transition: background-color .2s, transform .2s, box-shadow .2s;
}
.entry-content .wp-block-button__link:hover {
  background-color: var(--pta-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--pta-shadow-hover);
}

/*----------------------------------
テーブル
----------------------------------*/
.entry-content table th {
  background: var(--pta-green-tint);
  color: #17352a;
  border-color: var(--pta-green-line);
}
.entry-content table td {
  border-color: var(--pta-green-line);
}
.entry-content table tr:nth-of-type(even) td {
  background: #f7fbf8;
}

/*----------------------------------
新着記事リスト(latest-posts ブロック)
----------------------------------*/
.entry-content .wp-block-latest-posts.has-dates li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .4em 1em;
  margin: 0;
  padding: .8em .6em;
  border-bottom: 1px solid var(--pta-green-line);
  transition: background-color .2s;
}
.entry-content .wp-block-latest-posts.has-dates li:first-child {
  border-top: 1px solid var(--pta-green-line);
}
.entry-content .wp-block-latest-posts.has-dates li:hover {
  background-color: var(--pta-green-tint);
}
.entry-content .wp-block-latest-posts.has-dates li .wp-block-latest-posts__post-date {
  order: 1;
  flex-shrink: 0;
  background: var(--pta-green-tint);
  color: var(--pta-green-dark);
  font-size: .78em;
  font-weight: 600;
  line-height: 1;
  padding: .45em .7em;
  border-radius: 999px;
  margin: 0;
}
.entry-content .wp-block-latest-posts.has-dates li .wp-block-latest-posts__post-title {
  order: 2;
  flex: 1;
  min-width: 60%;
  text-decoration: none;
  color: var(--pta-ink);
}
.entry-content .wp-block-latest-posts.has-dates li .wp-block-latest-posts__post-title:hover {
  color: var(--pta-green-dark);
  text-decoration: underline;
}

/*----------------------------------
フッター
----------------------------------*/
#footer {
  background: var(--pta-green-deep);
  color: #e7f2ec;
}
#footer a {
  color: #e7f2ec;
}
#footer a:hover {
  color: #fff;
  text-decoration: underline;
}
#footer .footer-bottom-logo .site-name-text,
#footer .footer-bottom-content {
  color: #e7f2ec;
}
#footer .copyright {
  color: #9dbcab;
}

/*----------------------------------
トップページ: ヒーローセクション
----------------------------------*/
.top-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .18) 0, rgba(255, 255, 255, .18) 60px, transparent 61px),
    radial-gradient(circle at 8% 85%, rgba(255, 230, 0, .25) 0, rgba(255, 230, 0, .25) 46px, transparent 47px),
    radial-gradient(circle at 94% 78%, rgba(255, 255, 255, .14) 0, rgba(255, 255, 255, .14) 34px, transparent 35px),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .12) 0, rgba(255, 255, 255, .12) 26px, transparent 27px),
    linear-gradient(120deg, var(--pta-green) 0%, var(--pta-green-bright) 55%, #4cc47e 100%);
  border-radius: 20px;
  color: #fff;
  padding: 3.2em 2em 3.4em;
  text-align: center;
  margin-bottom: 2em;
}
/* 下層ページ用のコンパクトなヒーロー(インラインstyleの代替。ブロック版は
   wp:group {"className":"top-hero hero-compact"} で使う) */
.top-hero.hero-compact {
  padding: 2.2em 1.5em 2.4em;
}
.top-hero.hero-compact .hero-catch {
  font-size: 1.6rem;
  margin-bottom: .2em;
}
.top-hero.hero-compact .hero-sub {
  margin-bottom: 0;
}
/* センター寄せのリード文(ブロックのクラス指定で使用) */
.entry-content p.lead-center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.entry-content p.slogan-lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 700;
  font-size: 1.15em;
}
.top-hero .hero-catch {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.5;
  margin: 0 0 .6em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 70, 38, .25);
}
.top-hero .hero-sub {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, .95);
  max-width: 640px;
  margin: 0 auto 1.6em;
}
.top-hero .wp-block-button__link {
  background-color: #ffe600 !important;
  color: #2c4a1f !important;
  border-radius: 999px !important;
  padding: .75em 2.4em;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 70, 38, .3);
}
.top-hero .wp-block-button__link:hover {
  background-color: #fff27a !important;
  transform: translateY(-2px);
}

/*----------------------------------
トップページ: セクション見出し
----------------------------------*/
.entry-content h2.top-section-title {
  background: transparent;
  border-left: none;
  border-radius: 0;
  text-align: center;
  font-size: 1.5rem;
  color: #17352a;
  padding: 0 0 .7em;
  position: relative;
}
.entry-content h2.top-section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 76px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--pta-green-bright), #8dc63f 60%, #ffe600);
}

/*----------------------------------
グリッドコンテナ共通: WPレイアウトサポートが注入する
子要素の margin-block-start(ブロック間ギャップ)を無効化。
wp:group をグリッドコンテナに使うとカードがずれるため必須
----------------------------------*/
.quick-cards > *,
.ku-grid > *,
.org-committees > *,
.org-cols > *,
.office-info > *,
.school-grid > *,
.officer-cards > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
/* wp:group カード内にもWPがギャップを注入するため無効化
   (要素間の間隔は各クラスの margin-bottom で制御する) */
.quick-card > *,
.officer-card > *,
.faq-body > *,
.taiken-poem > *,
.office-notice > *,
.info-item > * {
  margin-block-start: 0 !important;
}
/* ブロック化に伴う p タグの余白調整 */
.taiken-poem p,
.office-info .info-item p {
  margin: 0;
}
/* カード内のボタン(wp:buttons)をカード下端に揃える */
.quick-card > .wp-block-buttons {
  margin-top: auto !important;
  padding-top: .8em;
  justify-content: center;
}
.quick-card .wp-block-button__link {
  font-size: .85em;
  padding: .5em 1.6em;
}
.officer-card p {
  margin-bottom: 0; /* pタグ化に伴うテーマ既定の下マージンを打ち消す(各クラスの指定が優先される) */
}

/*----------------------------------
トップページ: クイックリンクカード
----------------------------------*/
.quick-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 1.5em 0 2em;
}
.quick-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--pta-green-line);
  border-radius: 16px;
  box-shadow: var(--pta-shadow);
  padding: 1.4em 1.2em;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
/* ダウンロード等のボタンをカード下端に揃える */
.quick-card > a.wp-block-button__link {
  margin-top: auto !important;
  align-self: center;
}
.quick-card .quick-card-icon {
  flex-shrink: 0;
}
.quick-card .quick-card-text {
  margin-bottom: .8em;
}
.quick-card:hover {
  transform: translateY(-4px) rotate(-.4deg);
  box-shadow: var(--pta-shadow-hover);
}
.quick-card .quick-card-icon {
  width: 64px;
  height: 64px;
  line-height: 64px;
  margin: 0 auto .6em;
  border-radius: 50%;
  font-size: 1.7rem;
  background: var(--qc-bg, var(--pta-green-tint));
  color: var(--qc-color, var(--pta-green));
}
/* カードごとにアイコンの色を変えてPOPに */
.quick-card:nth-child(1) { --qc-bg: #e5f5ec; --qc-color: #00a25a; }
.quick-card:nth-child(2) { --qc-bg: #e8f2fb; --qc-color: #2f88d4; }
.quick-card:nth-child(3) { --qc-bg: #fff2e3; --qc-color: #f28c1e; }
.quick-card:nth-child(4) { --qc-bg: #fdeaf1; --qc-color: #e75b8d; }
.quick-card:nth-child(5) { --qc-bg: #efeafb; --qc-color: #8a63c9; }
.quick-card:nth-child(6) { --qc-bg: #e3f4f4; --qc-color: #1c9e9e; }

/* 役割カード(トップページ): カード全体がリンク */
.role-cards {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 4枚を1列に並べる(タブレット2x2/モバイル1列) */
}
a.quick-card {
  color: inherit;
  text-decoration: none !important;
}
a.quick-card .quick-card-more {
  display: block;
  margin-top: auto;
  padding-top: .8em;
  font-size: .82em;
  font-weight: 700;
  color: var(--pta-green-dark);
}
a.quick-card .quick-card-more::after {
  content: " →";
}
a.quick-card:hover .quick-card-more {
  text-decoration: underline;
}
.quick-card .quick-card-title {
  font-weight: 700;
  font-size: 1.02em;
  margin-bottom: .5em;
  color: #17352a;
}
.quick-card .quick-card-text {
  font-size: .85em;
  color: #5a6f64;
  line-height: 1.7;
  text-align: left;
}
.quick-card a {
  text-decoration: none;
}

/*----------------------------------
トップページ: 区連合会カードグリッド
----------------------------------*/
.ku-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 1.5em 0 2em;
}
.ku-card a {
  display: flex;
  align-items: center;
  gap: .5em;
  background: color-mix(in srgb, var(--ku-color, var(--pta-green)) 7%, #fff);
  border: 1px solid var(--pta-green-line);
  border-left: 8px solid var(--ku-color, var(--pta-green));
  border-radius: 12px;
  box-shadow: var(--pta-shadow);
  padding: .95em 1em;
  font-weight: 600;
  color: var(--pta-ink);
  text-decoration: none !important;
  transition: transform .2s, box-shadow .2s, background-color .2s;
}
.ku-card a::after {
  content: "›";
  margin-left: auto;
  color: var(--ku-color, var(--pta-green));
  font-weight: 700;
}
.ku-card a:hover {
  transform: translateY(-3px);
  box-shadow: var(--pta-shadow-hover);
  background-color: #fcfefd;
  color: var(--pta-ink);
}
.ku-card.ku-nishi    { --ku-color: var(--ku-nishi); }
.ku-card.ku-kita     { --ku-color: var(--ku-kita); }
.ku-card.ku-omiya    { --ku-color: var(--ku-omiya); }
.ku-card.ku-minuma   { --ku-color: var(--ku-minuma); }
.ku-card.ku-chuo     { --ku-color: var(--ku-chuo); }
.ku-card.ku-sakura   { --ku-color: var(--ku-sakura); }
.ku-card.ku-urawa    { --ku-color: var(--ku-urawa); }
.ku-card.ku-minami   { --ku-color: var(--ku-minami); }
.ku-card.ku-midori   { --ku-color: var(--ku-midori); }
.ku-card.ku-iwatsuki { --ku-color: var(--ku-iwatsuki); }

/*----------------------------------
トップページ: Instagram 埋め込みをコンパクトに
----------------------------------*/
/* ページ内アンカーへのジャンプが固定ナビに隠れないように */
.entry-content h2[id],
.entry-content h3[id] {
  scroll-margin-top: 90px;
}

/* トップのInstagramグリッド(Smash Balloon) */
/* TypeSquareのHTML書き換えが改行入りalt属性を壊しテキストが漏れるため、
   写真ラップ内の生テキストを不可視化する */
.insta-grid #sb_instagram .sbi_photo_wrap {
  font-size: 0;
  line-height: 0;
}
.insta-grid #sb_instagram .sbi_photo {
  border-radius: 10px;
  overflow: hidden;
}
.insta-grid #sb_instagram .sbi_photo img {
  border-radius: 10px;
  transition: transform .25s ease, filter .25s ease;
}
.insta-grid #sb_instagram .sbi_photo:hover img {
  transform: scale(1.04);
  filter: brightness(1.06);
}
.insta-grid #sb_instagram .external-icon {
  display: none;
}

/*----------------------------------
役員紹介ページ: 正副会長カード
----------------------------------*/
.officer-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin: 1.2em 0 2em;
}
.officer-card {
  background: #fff;
  border: 1px solid var(--pta-green-line);
  border-radius: 14px;
  box-shadow: var(--pta-shadow);
  padding: 1.2em 1.2em 1.1em;
  text-align: center;
}
.officer-card .officer-role {
  display: inline-block;
  background: var(--pta-green-tint);
  color: var(--pta-green-dark);
  font-size: .78em;
  font-weight: 700;
  line-height: 1;
  padding: .5em 1em;
  border-radius: 999px;
  margin-bottom: .7em;
}
.officer-card .officer-name {
  font-family: var(--font-heading);
  font-size: 1.25em;
  font-weight: 700;
  color: #17352a;
  margin-bottom: .35em;
}
.officer-card .officer-duty {
  font-size: .82em;
  color: var(--pta-green-dark);
  margin-bottom: .3em;
}
.officer-card .officer-duty::before {
  content: "担当:";
  color: #8aa598;
  margin-right: .35em;
}
.officer-card .officer-school {
  font-size: .82em;
  color: #5a6f64;
}
/* 会長カードは1行使いで強調 */
.officer-card.officer-lead {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, var(--pta-green) 0%, var(--pta-green-bright) 100%);
  border: none;
  color: #fff;
  padding: 1.6em 1.2em;
}
.officer-card.officer-lead .officer-role {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}
.officer-card.officer-lead .officer-name {
  color: #fff;
  font-size: 1.6em;
}
.officer-card.officer-lead .officer-school {
  color: rgba(255, 255, 255, .85);
}

/*----------------------------------
区カラードット(表の区名の前に付ける)
----------------------------------*/
.ku-dot {
  display: inline-block;
  width: .7em;
  height: .7em;
  border-radius: 50%;
  background: var(--ku-color, var(--pta-green));
  margin-right: .45em;
  vertical-align: baseline;
}
.ku-dot.ku-nishi    { --ku-color: var(--ku-nishi); }
.ku-dot.ku-kita     { --ku-color: var(--ku-kita); }
.ku-dot.ku-omiya    { --ku-color: var(--ku-omiya); }
.ku-dot.ku-minuma   { --ku-color: var(--ku-minuma); }
.ku-dot.ku-chuo     { --ku-color: var(--ku-chuo); }
.ku-dot.ku-sakura   { --ku-color: var(--ku-sakura); }
.ku-dot.ku-urawa    { --ku-color: var(--ku-urawa); }
.ku-dot.ku-minami   { --ku-color: var(--ku-minami); }
.ku-dot.ku-midori   { --ku-color: var(--ku-midori); }
.ku-dot.ku-iwatsuki { --ku-color: var(--ku-iwatsuki); }

/*----------------------------------
組織図ページ(CSS製ダイアグラム)
----------------------------------*/
.org-chart {
  max-width: 900px;
  margin: 0 auto 2.5em;
}
.org-box {
  background: #fff;
  border: 2px solid var(--pta-green);
  border-radius: 12px;
  box-shadow: var(--pta-shadow);
  padding: 1em 1.2em;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05em;
  color: #17352a;
}
.org-box .org-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .78em;
  color: #5a6f64;
  line-height: 1.6;
  margin-top: .35em;
}
.org-box-top {
  background: var(--pta-green-tint);
  border-color: var(--pta-green-dark);
}
.org-count {
  display: inline-block;
  background: var(--pta-green);
  color: #fff;
  border-radius: 999px;
  font-size: .72em;
  font-weight: 700;
  padding: .3em .9em;
  margin-left: .6em;
  vertical-align: middle;
  white-space: nowrap;
}
.org-arrow {
  text-align: center;
  color: var(--pta-green);
  font-size: 1.3em;
  line-height: 1;
  margin: .45em 0;
}
.org-side-notes {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: .8em 0;
}
.org-side-notes .org-note {
  background: #fff;
  border: 1px dashed #a9c9b7;
  border-radius: 8px;
  padding: .5em .9em;
  font-size: .82em;
  color: #5a6f64;
}
.org-council {
  background: var(--pta-green-tint);
  border: 2px solid var(--pta-green);
  border-radius: 18px;
  padding: 1.5em 1.2em 1.2em;
}
.org-council-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.35em;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--pta-green-dark);
  margin-bottom: 1em;
}
.org-council .org-box {
  margin: 0 auto;
  max-width: 560px;
}
.org-committees {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.org-committees .org-box {
  max-width: none;
  margin: 0; /* margin:autoだと内容幅に縮むため打ち消す */
  font-size: .98em;
}
@media screen and (max-width: 600px) {
  .org-committees {
    grid-template-columns: 1fr;
  }
}
/* 構成のミニ図(会員→構成団体→総会) */
.org-kousei {
  max-width: 640px;
  margin-bottom: 2.5em;
}
.org-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.org-cols .org-box {
  margin: 0;
  max-width: none;
}
.org-label {
  display: block;
  width: fit-content;
  margin: 0 auto .5em;
  background: var(--pta-green);
  color: #fff;
  border-radius: 999px;
  font-size: .66em;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .35em 1.1em;
}
.org-box-top .org-label {
  background: var(--pta-green-dark);
}

/* 組織図内の区連合会カード: 校数バッジ付き・1行固定 */
.org-ku {
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
}
.org-ku .ku-card a {
  background: #fff;
  white-space: nowrap; /* 「西区連合↵会」のような折り返しを防ぐ */
  font-size: .92em;
  padding: .8em .9em;
}
.org-ku .ku-card a::after {
  content: none; /* ダイアグラム内では矢印を省略 */
}
@media screen and (max-width: 480px) {
  .org-ku .ku-card a {
    font-size: .8em;
    padding: .7em .6em;
    gap: .3em;
  }
  .org-ku .ku-count {
    padding: .25em .5em;
  }
}
.ku-count {
  margin-left: auto;
  background: var(--pta-green-tint);
  color: var(--pta-green-dark);
  border-radius: 999px;
  font-size: .75em;
  font-weight: 700;
  padding: .3em .7em;
  white-space: nowrap;
}

/*----------------------------------
事務局ページ
----------------------------------*/
.office-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 1.2em 0 2em;
}
.office-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: .9em;
  background: #fff;
  border: 1px solid var(--pta-green-line);
  border-radius: 14px;
  box-shadow: var(--pta-shadow);
  padding: 1.1em 1.2em;
}
.office-info .info-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  line-height: 46px;
  text-align: center;
  border-radius: 50%;
  background: var(--pta-green-tint);
  color: var(--pta-green);
  font-size: 1.15rem;
}
.office-info .info-label {
  display: block;
  font-size: .72em;
  font-weight: 700;
  color: #8aa598;
  letter-spacing: .08em;
  margin-bottom: .25em;
}
.office-info .info-value {
  font-weight: 600;
  color: #17352a;
  line-height: 1.7;
}
.office-info .info-value a {
  color: var(--pta-green-dark);
}
/* 注意書きボックス */
.office-notice {
  background: #fffaf2;
  border: 2px solid #f5b95e;
  border-radius: 14px;
  padding: 1.3em 1.4em 1.1em;
  margin: 1.5em 0 2em;
}
.office-notice .notice-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #b06d00;
  margin-bottom: .6em;
}
.office-notice .notice-title .fas {
  margin-right: .4em;
}
.office-notice p {
  font-size: .92em;
  line-height: 1.9;
  color: #574a35;
  margin-bottom: .8em;
}
/* 地図をレスポンシブに */
.map-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--pta-shadow);
  border: 1px solid var(--pta-green-line);
  margin: 1.5em 0 2em;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}
@media screen and (max-width: 600px) {
  .map-wrap iframe {
    height: 300px;
  }
}
/* 学校マップ(Leaflet) */
#school-map {
  width: 100%;
  height: 500px;
  z-index: 0; /* ナビ(sticky)より下に */
}
#school-map a {
  text-decoration: underline;
}
/* ズームコントロール: テーマのリンク装飾やWebフォントの影響で
   「+」「−」が正しく表示されないため標準フォント・無装飾を強制 */
#school-map .leaflet-control-zoom a {
  font-family: "Helvetica Neue", Arial, sans-serif !important;
  font-size: 22px;
  font-weight: 400;
  color: #333 !important;
  text-decoration: none !important;
}
@media screen and (max-width: 600px) {
  #school-map {
    height: 380px;
  }
}

/*----------------------------------
制度カードの項目行(補償制度ページ等)
----------------------------------*/
.quick-card .plan-row {
  display: flex;
  align-items: baseline;
  gap: .6em;
  text-align: left;
  font-size: .85em;
  line-height: 1.7;
  color: var(--pta-ink);
  padding: .55em 0;
  border-bottom: 1px dashed var(--pta-green-line);
}
.quick-card .plan-row:last-of-type {
  border-bottom: none;
}
.quick-card .plan-label {
  flex-shrink: 0;
  background: var(--pta-green-tint);
  color: var(--pta-green-dark);
  border-radius: 6px;
  font-size: .78em;
  font-weight: 700;
  padding: .25em .6em;
  white-space: nowrap;
}

/*----------------------------------
学校名簿ページ
----------------------------------*/
.entry-content h2.school-ward-title {
  display: flex;
  align-items: center;
  gap: .5em;
}
.entry-content h2.school-ward-title a {
  color: inherit;
  text-decoration: none;
}
.entry-content h2.school-ward-title a:hover {
  color: var(--pta-green-dark);
  text-decoration: underline;
}
.entry-content h2.school-ward-title .org-count {
  margin-left: auto;
  font-size: .62em;
}
.school-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
  margin: 1em 0 2em;
}
.school-link a,
.school-link .school-noline {
  display: flex;
  align-items: center;
  gap: .55em;
  background: #fff;
  border: 1px solid var(--pta-green-line);
  border-radius: 8px;
  padding: .6em .8em;
  font-size: .92em;
  color: var(--pta-ink);
  text-decoration: none !important;
  transition: transform .15s, box-shadow .15s, background-color .15s;
}
.school-link a:hover {
  transform: translateY(-2px);
  box-shadow: var(--pta-shadow-hover);
  background: #fcfefd;
  color: var(--pta-green-dark);
}
/* Cocoonが自動挿入する外部リンクアイコンを右端に配置 */
.school-link a .external-icon {
  margin-left: auto;
  font-size: .7em;
  color: #a9c9b7;
}
.school-link a:hover .external-icon {
  color: var(--pta-green);
}
.school-type {
  flex-shrink: 0;
  display: inline-block;
  width: 1.7em;
  height: 1.7em;
  line-height: 1.7em;
  text-align: center;
  border-radius: 6px;
  font-size: .78em;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-heading);
}
.school-type.type-sho      { background: #00a25a; }
.school-type.type-chu      { background: #2f88d4; }
.school-type.type-tokubetsu{ background: #f28c1e; }
.school-type.type-koko     { background: #8a63c9; }
@media screen and (max-width: 480px) {
  .school-grid {
    grid-template-columns: 1fr 1fr;
  }
  .school-link a,
  .school-link .school-noline {
    font-size: .8em;
    padding: .55em .6em;
  }
}

/*----------------------------------
体験の風: 詩的フレーズの強調ブロック
----------------------------------*/
.taiken-poem {
  background: var(--pta-green-tint);
  border-radius: 16px;
  text-align: center;
  padding: 1.8em 1.4em;
  margin: 1.5em auto 2em;
  max-width: 640px;
  line-height: 2.3;
  color: #17352a;
  font-size: 1.02em;
  position: relative;
}
.taiken-poem::before {
  content: "\f10d"; /* fa-quote-left(既定) */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: block;
  color: var(--pta-green-bright);
  font-size: 1.4em;
  margin-bottom: .4em;
}
.taiken-poem.poem-wind::before {
  content: "\f72e"; /* fa-wind: 体験の風ページ用 */
}
.taiken-poem.poem-heart::before {
  content: "\f004"; /* fa-heart: 子どもファースト等 */
  color: #e75b8d;
}
/* ポエムカードの背景に挿絵を敷いてテキストをオーバーレイ表示する */
.taiken-poem.poem-illust {
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .6), 0 0 3px rgba(0, 0, 0, .45);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.taiken-poem.poem-illust::before {
  color: #fff;
}
.taiken-poem.poem-illust-1 {
  background: linear-gradient(rgba(15, 35, 28, .35), rgba(15, 35, 28, .5)),
    url(https://city.saitama-pta.jp/wp-content/uploads/2026/07/taiken-poem1-1024x576.jpg) center/cover no-repeat;
}
.taiken-poem.poem-illust-2 {
  background: linear-gradient(rgba(15, 35, 28, .35), rgba(15, 35, 28, .5)),
    url(https://city.saitama-pta.jp/wp-content/uploads/2026/07/taiken-poem2-1024x576.jpg) center/cover no-repeat;
}

/*----------------------------------
体験の風LP: ロゴ・スローガン画像・協力団体チップ
----------------------------------*/
.taiken-logo {
  margin: 2em auto 1.4em;
}
.taiken-logo img {
  max-width: 300px; /* 原本148pxをReal-ESRGANで4倍化した592px素材(Retinaでも鮮明) */
  width: 100%;
  height: auto;
}
.taiken-slogan {
  margin: 2em auto 1.6em;
}
.taiken-slogan img {
  max-width: 400px;
  width: 100%;
  height: auto;
  transform: rotate(-1.2deg);
  filter: drop-shadow(0 8px 16px rgba(30, 60, 120, .2));
}
.partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0 !important;
  margin: 1.2em 0 2em;
}
.partner-list li {
  background: #fff;
  border: 1px solid var(--pta-green-line);
  border-radius: 999px;
  padding: .3em 1.1em;
  font-size: .92em;
  margin: 0;
}
.partner-list li.partner-pta {
  background: var(--pta-green-tint);
  border-color: var(--pta-green);
  color: var(--pta-green-dark);
  font-weight: 700;
}
/* Instagramプロフィール埋め込み: Cocoonが自動挿入する
   .instagram-container(max-width:640px/padding-bottom:120%)をコンテンツ幅に上書き */
.taiken-ig .instagram-container {
  max-width: 100%;
  margin: 1.5em 0;
}
.taiken-ig .instagram-container .instagram {
  /* ヘッダー約165px + 投稿グリッド1段目(幅の1/3)まで表示し、2段目以降はクロップ */
  padding: 0 0 calc(33.35% + 165px);
}
.taiken-ig iframe {
  border: 1px solid var(--pta-green-line);
  border-radius: 12px;
  background: #fff;
}

/*----------------------------------
投稿記事の個別ページ: 投稿日を表示する
(Cocoon設定はno-post-dateだが投稿では日付を出す。
 更新日(post-update)は移植記事で移植日になるため非表示のまま)
----------------------------------*/
.single-post.no-post-date .article-header .post-date {
  display: inline-block;
}

/*----------------------------------
Font AwesomeアイコンをTypeSquare Webフォントの上書きから保護
(.cat-icon等が丸フォークMになりグリフがなく豆腐化するため)
----------------------------------*/
span.fas, i.fas, span.far, i.far,
.entry-categories-tags .cat-icon,
.entry-categories-tags .tax-icon {
  font-family: "Font Awesome 5 Free" !important;
}
span.fab, i.fab {
  font-family: "Font Awesome 5 Brands" !important;
}

/*----------------------------------
blogspot移植記事の画像: 最大縦横300pxで控えめに表示
----------------------------------*/
.bs-img img {
  max-width: 300px;
  max-height: 300px;
  width: auto;
  height: auto;
}

/*----------------------------------
沿革タイムライン(aboutページ)
----------------------------------*/
.history-timeline {
  position: relative;
  margin: 1.5em 0 2.5em;
}
.history-timeline::before {
  content: "";
  position: absolute;
  left: 108px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 2px;
  background: var(--pta-green-line);
}
.history-timeline .ht-item {
  position: relative;
  padding: 0 0 1.8em 140px;
}
.history-timeline .ht-item:last-child {
  padding-bottom: 0;
}
.history-timeline .ht-item::before {
  content: "";
  position: absolute;
  left: 101px;
  top: 6px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--pta-green);
}
.history-timeline .ht-year {
  position: absolute;
  left: 0;
  top: 2px;
  width: 92px;
  margin: 0;
  text-align: right;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.4;
  color: var(--pta-green-dark);
}
.history-timeline .ht-year small {
  display: block;
  font-weight: 400;
  color: #8aa598;
}
.history-timeline .ht-body {
  margin: 0;
  line-height: 1.9;
}
.history-timeline .ht-body strong {
  color: #17352a;
}
@media screen and (max-width: 600px) {
  .history-timeline::before { left: 78px; }
  .history-timeline .ht-item { padding-left: 106px; }
  .history-timeline .ht-item::before { left: 71px; }
  .history-timeline .ht-year { width: 64px; font-size: .85em; }
}
/* 合併フローSVG */
.about-svg {
  max-width: 760px;
  margin: 1.5em auto 2em;
}
.about-svg svg {
  width: 100%;
  height: auto;
  display: block;
}

/*----------------------------------
FAQ(アコーディオン)
----------------------------------*/
.faq-list {
  margin: 1em 0 2em;
}
.faq-item {
  display: block; /* テーマ側の details 装飾(flex等)を打ち消す */
  background: #fff;
  border: 1px solid var(--pta-green-line);
  border-radius: 12px;
  box-shadow: var(--pta-shadow);
  margin-bottom: 10px;
  padding: 0;
}
.faq-item summary,
.faq-item .faq-body {
  display: block;
  width: 100%;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 1em 2.6em 1em 1.1em;
  font-weight: 700;
  color: #17352a;
  line-height: 1.6;
  background: transparent;
  border: none;
  margin: 0;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::before {
  content: "Q";
  display: inline-block;
  flex-shrink: 0;
  background: var(--pta-green);
  color: #fff;
  border-radius: 6px;
  width: 1.6em;
  height: 1.6em;
  line-height: 1.6em;
  text-align: center;
  margin-right: .6em;
  font-size: .82em;
  font-family: var(--font-heading);
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pta-green);
  font-weight: 700;
  font-size: 1.3em;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item summary:hover {
  background: var(--pta-green-tint);
  border-radius: 12px;
}
.faq-item .faq-body {
  padding: .2em 1.3em 1.2em 1.3em;
  margin: 0 .2em;
  border-top: 1px dashed var(--pta-green-line);
  padding-top: 1em;
  font-size: .95em;
  line-height: 1.9;
}
.faq-item .faq-body p {
  margin-bottom: .8em;
}
.faq-item .faq-body ul {
  margin: 0 0 .8em 1.2em;
}

/*----------------------------------
表の磨き込み(全ページ共通)
----------------------------------*/
.wp-block-table {
  overflow-x: auto; /* モバイルで横スクロール */
}
.entry-content table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--pta-green-line);
  border-radius: 10px;
  overflow: hidden;
}
.entry-content table th,
.entry-content table td {
  border: none;
  border-bottom: 1px solid var(--pta-green-line);
  padding: .65em .9em;
}
.entry-content table tr:last-child td {
  border-bottom: none;
}
.entry-content table tbody tr {
  transition: background-color .15s;
}
.entry-content table tbody tr:hover td {
  background: var(--pta-green-tint);
}
/* 空欄セルは「―」を薄く表示 */
.entry-content table td:empty::before {
  content: "―";
  color: #b9cbc1;
}

/*----------------------------------
関連リンクバナー(トップページ下部)
----------------------------------*/
.related-banners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 1.5em 0;
}
.related-banners img {
  border: 1px solid var(--pta-green-line);
  border-radius: 6px;
  transition: box-shadow .2s;
}
.related-banners a:hover img {
  box-shadow: var(--pta-shadow-hover);
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1024px以上: ナビを追従させる*/
@media screen and (min-width: 1024px){
  #navi {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(14, 61, 39, .06);
  }
}

/*1023px以下*/
@media screen and (max-width: 1023px){
  /* タブレット幅ではナビを折り返し許可(8項目のはみ出し防止) */
  #navi .navi-in > ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  #navi .navi-in > ul > li > a {
    font-size: 15px;
  }
  /* 折り返しナビにドロップダウンが重なって崩れるため、
     階層メニューと矢印は非表示(親ページ+ページ内導線で回遊) */
  #navi .navi-in > ul .sub-menu {
    display: none !important;
  }
  #navi .navi-in .has-icon {
    display: none;
  }
  #navi .navi-in > ul > li.menu-item-has-children > a {
    padding-right: 10px; /* 矢印分の余白を戻す */
  }
}

/*767px以下(スマホ): トップメニュー自体を非表示(フッターのメニューボタンで代替)*/
@media screen and (max-width: 767px){
  #navi {
    display: none;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  .main {
    border-radius: 0;
  }
  .top-hero {
    padding: 2.4em 1.2em 2.6em;
    border-radius: 10px;
  }
  .top-hero .hero-catch {
    font-size: 1.4rem;
  }
  .top-hero .hero-sub {
    font-size: .92rem;
    text-align: left;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .entry-content .wp-block-latest-posts.has-dates li .wp-block-latest-posts__post-title {
    min-width: 100%;
    order: 2;
  }
  .ku-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .ku-card a {
    padding: .8em .7em;
    font-size: .9em;
  }
}
