@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;
}

/*----------------------------------
グローバルナビ
----------------------------------*/
#navi {
  background: #fff;
  border-top: 1px solid var(--pta-green-line);
  border-bottom: 1px solid var(--pta-green-line);
}
#navi .navi-in > ul > li > a {
  color: var(--pta-ink);
  font-weight: 500;
  position: relative;
  transition: color .2s;
}
#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);
}
/* 角丸は最下部の項目側に付与(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;
}

/*----------------------------------
トップページ: 目次を非表示
----------------------------------*/
.front-top-page .toc,
.page-id-3789 .toc,
.page-id-3800 .toc { /* 役員紹介R8: 目次が中腹に出るため非表示 */
  display: none;
}

/*----------------------------------
トップページ: ヒーローセクション
----------------------------------*/
.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;
}
.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);
}

/*----------------------------------
トップページ: クイックリンクカード
----------------------------------*/
.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 埋め込みをコンパクトに
----------------------------------*/
.sns-timeline {
  max-height: 560px;
  overflow-y: auto;
  border-radius: var(--pta-radius);
}

/*----------------------------------
役員紹介ページ: 正副会長カード
----------------------------------*/
.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;
  }
}

/*----------------------------------
制度カードの項目行(補償制度ページ等)
----------------------------------*/
.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: "\f72e"; /* fa-wind */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: block;
  color: var(--pta-green-bright);
  font-size: 1.4em;
  margin-bottom: .4em;
}

/*----------------------------------
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){
  /*必要ならばここにコードを書く*/
}

/*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;
  }
}
