/*
Theme Name: 永興富士見こども園
Theme URI: https://eikou-fujimi.jp/
Author: 社会福祉法人 禅心福祉会
Author URI: https://www.eikou-zenshin.ed.jp/
Description: 永興富士見こども園の公式サイト用WordPressテーマ。保育理念「たくましく・やさしい・感謝のある子ども」を体現する、やさしく明るく元気な配色。お知らせ・お問い合わせフォーム・経営情報の開示・園児の活動紹介を備えています。
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eikou-fujimi
Tags: children, nursery, kindergarten, colorful, bright, blog
*/
:root {
  /* 永興富士見こども園 — 既存サイト(base.css)の配色を踏襲
     焦茶 #5A2C21 を基調に、ベージュ #D0C3AC・朱 #96372A・緑 #1B7318 を
     差し色とした、温かみのある配色 */

  /* メイン：既存サイトのナビ焦茶 #5A2C21 とその系統 */
  --color-green:       #5A2C21;  /* メイン焦茶（ナビ・ヘッダー背景／旧深緑から変更） */
  --color-green-mid:   #1B7318;  /* 見出し・帯の緑（差し色） */
  --color-green-dark:  #3E1E16;  /* 濃い焦茶（文字） */
  --color-green-line:  #6E382B;  /* 罫線の焦茶 */

  /* 差し色（既存サイトより） */
  --color-orange:      #FFAC50;  /* オレンジ（ボタン等のアクセント） */
  --color-vermilion:   #96372A;  /* 朱・赤茶（タブ等） */
  --color-vermilion2:  #943427;
  --color-brown:       #5A2C21;  /* 焦茶 */
  --color-beige:       #D0C3AC;  /* ベージュ茶（罫線・サブ文字） */
  --color-beige-light: #EFE4D8;  /* bgPage01 の亜麻色に合わせて調整 */
  --color-link:        #007597;  /* リンク水色 */

  /* 役割エイリアス（テーマ内の既存変数名に既存色を割り当て） */
  --color-sun:        var(--color-orange);    /* 元気：オレンジ */
  --color-sun-light:  #FBE9CC;
  --color-sky:        var(--color-vermilion); /* アクセント：朱（旧深緑から変更） */
  --color-sky-light:  #E2CAAD;                /* 茶寄りのタン */
  --color-coral:      var(--color-brown);     /* メイン：焦茶（旧朱から変更） */
  --color-coral-light:#F5DDD8;                /* bgPage01 の赤みに寄せたソフトピーチ */
  --color-mint:       #CFE0C4;  /* 藤尾テーマと同じ mint（pillar-1 label 用）*/
  --color-mint-dark:  var(--color-green-mid);
  --color-leaf:       var(--color-green-mid);
  --color-lavender:   #E4D0C8;   /* 亜麻色に合う温かみのあるモーブ */
  --color-white:      #FFFFFF;
  --color-card:       #FFFFFF;   /* カード背景：白（bgPage01 のクリームと明確に区別） */
  --color-card-tint:  #EDE0D5;   /* カード内アクセント帯：bgPage01 の赤み寄りに */
  --color-bg:         #F5EADE;   /* bgPage01の実測平均色(#F5EADE) */
  --color-text:       #2A2420;   /* 基本文字色：亜麻色背景でも締まる深褐色 */
  --color-text-light: #4A3E36;   /* 補助文字色：背景に馴染みつつ可読 */
  --color-border:     #D0C3AC;   /* ベージュ系の罫線（視認性改善） */

  /* バッジ専用色（藤尾テーマのデザインのまま固定） */
  --color-badge-bg:   #E2CAAD;   /* 茶寄りのタン */
  --color-badge-text: #96372A;   /* 藤尾の朱 */

  --font-heading: 'Zen Maru Gothic', 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  --font-body:    'Zen Maru Gothic', 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  /* 丸みのあるフラットデザイン */
  --radius-sm:  12px;
  --radius-md:  20px;
  --radius-lg:  28px;
  --radius-xl:  999px;
  --shadow-soft: 0 6px 24px rgba(110,68,48,0.16);  /* 亜麻色 bg 向け赤みのある影 */
  --shadow-card: 0 3px 16px rgba(110,68,48,0.12);
}

/* ===== リセット & ベース ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* スクリーンリーダー専用テキスト */
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  position: fixed;
  top: 8px; left: 8px;
  width: auto; height: auto;
  padding: 12px 20px;
  background: var(--color-white);
  color: var(--color-coral);
  border-radius: var(--radius-sm);
  z-index: 9999;
  clip: auto;
}

html { scroll-behavior: smooth; font-size: 106.25%; } /* 全体フォント拡大の基準（16px→17px / +6.25%）。増減はこの%を変更 */

body {
  font-family: var(--font-body);
  font-size: 1rem; /* ルート基準に連動して拡大 */
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: url('assets/images/bgPage01.jpg');
  background-repeat: repeat;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== タイポグラフィ ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p { margin-bottom: 1rem; }

/* ===== レイアウト ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
  border-bottom: 1px solid rgba(160, 118, 90, 0.28);
}
.section:last-of-type {
  border-bottom: none;
}

/* ===== ヘッダー ===== */
.site-header {
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo .logo-image img {
  max-height: 52px;
  width: auto;
}

.site-logo .logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-sun), var(--color-coral));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.site-logo .logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--color-coral);
  line-height: 1.1;
}

.site-logo .logo-sub {
  font-size: 0.65rem;
  color: var(--color-sky);
  font-weight: 600;
  display: block;
}

/* ===== ナビゲーション ===== */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  font-size: 0.9rem;   /* 全体拡大(106.25%)でも8項目が横並びに収まるよう個別調整 */
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--radius-xl);
  transition: all 0.2s;
  color: var(--color-text);
}

.site-nav a:hover,
.site-nav .current-menu-item a {
  background: var(--color-sky-light);
  color: var(--color-sky);
}

/* ===== ドロップダウンメニュー ===== */
.site-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  gap: 0;
  min-width: 140px;
  padding-top: 8px; /* ギャップをpadding化してホバー領域を維持 */
  z-index: 300;
  white-space: nowrap;
}

.site-nav .sub-menu-inner {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(110,68,48,0.14);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.site-nav .sub-menu li {
  width: 100%;
}

.site-nav .sub-menu a {
  display: block;
  padding: 11px 20px;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid rgba(155,140,100,0.15);
  transition: background 0.15s;
}

.site-nav .sub-menu li:last-child a {
  border-bottom: none;
}

.site-nav .sub-menu a:hover {
  background: var(--color-sky-light);
  color: var(--color-sky);
}

/* 親 li にカーソルが乗ったときに表示 */
.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children.is-open > .sub-menu {
  display: flex;
}

/* 親リンクに矢印アイコン */
.site-nav .menu-item-has-children > a::after {
  content: ' ▼';
  font-size: 0.65rem;
  color: var(--color-green);
  opacity: 1;
  font-weight: 900;
  vertical-align: middle;
  margin-left: 2px;
}

.nav-contact-btn a {
  background: #E05C38;
  color: var(--color-white) !important;
  padding: 10px 14px;
  border-radius: var(--radius-xl);
}

.nav-contact-btn a:hover {
  background: #C44D2C !important;
  color: var(--color-white) !important;
}

/* ハンバーガーメニュー */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-coral);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== ヒーローセクション ===== */
.hero {
  position: relative;
  padding: 35px 0 35px;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: -10px;  /* ぼかしの縁を隠すため少し外側へ拡張 */
  background: url('assets/images/hero-building.jpg') center / cover no-repeat;
  filter: blur(3px);
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245, 234, 222, 0.78);  /* bgPage01 亜麻色の半透明オーバーレイ */
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  grid-template-rows: auto;
  grid-template-areas:
    "content visual";
  gap: 32px;
  align-items: start;
}
.hero-content  { grid-area: content; }
.hero-visual   { grid-area: visual; margin-top: 0; align-self: end; }

.hero-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  font-family: 'Kaisei Decol', serif;
  margin-bottom: 20px;
  line-height: 1.5;
  color: var(--color-green);
  position: relative;
  padding-left: 20px;
  white-space: nowrap;
}

.hero-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 6px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--color-coral), var(--color-sun), var(--color-sky));
}

.hero-title .accent { color: var(--color-coral); }
.hero-title .accent2 { color: var(--color-sky); }

.hero-desc {
  font-size: 1.05rem;
  font-family: var(--font-body);
  color: #3A3028;
  margin-bottom: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: #C8442C;
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(200,68,44,0.35);
}

.btn-primary:hover {
  background: #A83820;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,68,44,0.45);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-sky);
  border: 2px solid var(--color-sky);
}

.btn-secondary:hover {
  background: var(--color-sky-light);
  transform: translateY(-2px);
}

/* ヒーロー右側イラスト風ボックス */
.hero-visual {
  display: block;
  position: relative;
  grid-area: visual;
}

/* ===== セクションタイトル ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  background: var(--color-badge-bg);
  color: var(--color-badge-text);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-coral), var(--color-sun));
  border-radius: 2px;
}

/* ===== お知らせセクション ===== */
.news-section {
  background: transparent;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--color-card);
  border: 1.5px solid rgba(208,195,172,0.55);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

/* カード全体をクリッカブルに（stretched-link） */
.news-card .news-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* カテゴリバッジはリンク上に重ねて独立クリック可能に */
.news-card .news-category,
.news-card .news-date {
  position: relative;
  z-index: 2;
}

.news-card-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.news-card-body {
  padding: 20px 24px 24px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.news-date {
  font-size: 0.82rem;
  color: var(--color-text-light);
}

.news-category {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-xl);
  background: var(--color-sun-light);
  color: #8A5A20;
}

.news-category.cat-event { background: var(--color-sky-light); color: var(--color-sky); }
.news-category.cat-info  { background: var(--color-coral-light); color: var(--color-coral); }
.news-category.cat-menu  { background: var(--color-mint); color: var(--color-mint-dark); }

.news-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.news-excerpt {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more {
  text-align: center;
  margin-top: 40px;
}

/* ===== 特徴セクション ===== */
.features-section {
  background: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.feature-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s;
}

.feature-card:hover { transform: translateY(-4px); }

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-card:nth-child(1) .feature-icon { background: var(--color-sun-light); }
.feature-card:nth-child(2) .feature-icon { background: #C8E6F0; } /* やさしく：薄い水色 */
.feature-card:nth-child(3) .feature-icon { background: var(--color-coral-light); }
.feature-card:nth-child(4) .feature-icon { background: var(--color-mint); }

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.feature-desc {
  font-size: 0.98rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ===== 経営情報セクション ===== */
.disclosure-section {
  background: var(--color-card);
  border: 1.5px solid rgba(208,195,172,0.55);
  border-radius: var(--radius-lg);
}

.disclosure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.disclosure-item {
  background: var(--color-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.disclosure-item:hover {
  border-color: var(--color-sky);
  box-shadow: var(--shadow-card);
}

.disclosure-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--color-sky-light);
}

.disclosure-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text);
}

.disclosure-info p {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ===== 問い合わせフォーム ===== */
.contact-section {
  background: transparent;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
}

.contact-form-wrap {
  background: var(--color-card);
  border: 1.5px solid rgba(208,195,172,0.55);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-required {
  display: inline-block;
  font-size: 0.72rem;
  background: var(--color-coral);
  color: var(--color-white);
  padding: 2px 8px;
  border-radius: var(--radius-xl);
  margin-left: 8px;
  vertical-align: middle;
}

.cf7-required-mark {
  color: #cc0000;
  font-weight: 700;
  margin-left: 3px;
}

.form-optional {
  display: inline-block;
  font-size: 0.72rem;
  background: var(--color-border);
  color: var(--color-text-light);
  padding: 2px 8px;
  border-radius: var(--radius-xl);
  margin-left: 8px;
  vertical-align: middle;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-sky);
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
  background: var(--color-white);
}

.form-control::placeholder {
  color: #AAAAAA;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}


.form-privacy {
  font-size: 0.82rem;
  color: var(--color-text-light);
  text-align: center;
  margin: 20px 0 24px;
}

.form-privacy a {
  color: var(--color-sky);
  text-decoration: underline;
}

.form-submit-btn {
  width: 100%;
  background: var(--color-coral);
  color: var(--color-white);
  border: none;
  padding: 16px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(255,107,107,0.35);
}

.form-submit-btn:hover {
  background: #e85555;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,107,0.45);
}

/* フォーム送信後メッセージ */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success .success-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

/* ===== フッター ===== */
.site-footer {
  background: #5A2C21;
  color: #F0E8DF;
  padding: 32px 0 0;
}

/* ブランド行：ロゴ＋（園名／住所）左、リンク群右 */
.footer-brand-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.footer-brand-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-white);
  font-family: var(--font-heading);
  line-height: 1.2;
}
.footer-brand-address {
  font-size: 0.8rem;
  color: #D9C4B2;
  line-height: 1.4;
}

/* リンク群（ブランド行右側） */
.footer-links-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2px 0;
}
.footer-links-inline a {
  font-size: 0.82rem;
  color: #D9C4B2;
  padding: 2px 4px;
  transition: color 0.2s;
}
.footer-links-inline a:hover { color: var(--color-white); }
.footer-sep {
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  padding: 0 2px;
}

.footer-bottom {
  padding: 14px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {

  .footer-brand-row { grid-template-columns: 1fr; }
  .footer-brand-logo { justify-content: center; }
  .footer-brand-text { align-items: center; text-align: center; }
  .footer-links-inline { justify-content: center; }
}

/* ===== シングル投稿 ===== */
.post-header {
  position: relative;
  overflow: hidden;
  background: #FDFCF8;
  padding: 56px 0;
  text-align: center;
}
.post-header::before {
  content: '';
  position: absolute;
  inset: -12px;
  background: var(--post-header-bg, url('assets/images/title-bg.jpg')) center / cover no-repeat;
  filter: blur(5px);
  opacity: 0.35;
  z-index: 0;
}
.post-header--soft-blur::before { filter: blur(2px); }
.post-header .container {
  position: relative;
  z-index: 1;
}

.post-header-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

.post-body h2, .post-body h3 {
  margin: 2rem 0 1rem;
  padding-left: 16px;
  border-left: 4px solid var(--color-sky);
}

.post-body img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.post-navigation {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

/* ===== お知らせ一覧 ===== */
.news-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.news-list-item {
  background: var(--color-card);
  border: 1.5px solid rgba(208,195,172,0.55);
  padding: 20px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background 0.2s;
}

.news-list-item:hover { background: var(--color-bg); }

.news-list-item a {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.2s;
}

.news-list-item a:hover { color: var(--color-sky); }

/* ===== ページネーション ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--color-border);
  color: var(--color-text);
  transition: all 0.2s;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--color-sky);
  border-color: var(--color-sky);
  color: var(--color-white);
}

/* ===== 経営情報ページ ===== */
.disclosure-page-section {
  background: var(--color-card);
  border: 1.5px solid rgba(208,195,172,0.55);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.disclosure-page-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0 0 16px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.disclosure-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.disclosure-table th,
.disclosure-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.disclosure-table th {
  font-weight: 700;
  background: #EAE6D8;
  color: var(--color-text-light);
  width: 34%;
}

.disclosure-table td { color: var(--color-text); }

/* ===== 入園案内: 入園の流れ ===== */
.guide-flow-course { margin-bottom: 52px; }
.guide-flow-course:last-child { margin-bottom: 0; }

.guide-flow-course h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-green-dark);
  border-bottom: 2px dotted var(--color-border);
  padding: 0 0 0.4em 1.1em;
  margin-bottom: 1.2em;
  position: relative;
}
.guide-flow-course h3::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 1em;
  background: var(--color-orange);
  border-radius: 2px;
}
.guide-flow-note {
  font-size: 0.82rem;
  color: var(--color-brown);
  font-weight: 400;
  margin-left: 0.5em;
}

table.guide-flow-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
table.guide-flow-table th {
  width: 110px;
  background: var(--color-orange);
  color: var(--color-brown);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
  padding: 0.75em 0.5em;
  border-radius: 8px 0 0 8px;
}
table.guide-flow-table td {
  padding: 0.75em 1.1em;
  background: var(--color-card);
  border: 2px solid var(--color-border);
  border-left: none;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  vertical-align: middle;
}
.guide-flow-note-txt {
  font-size: 0.83rem;
  color: var(--color-brown);
  margin: 0.4em 0 0.9em;
}
.guide-flow-arrow {
  text-align: center;
  padding: 4px 0;
  color: var(--color-border);
  font-size: 1.3rem;
  line-height: 1;
}

/* ===== 入園案内: 募集要項 ===== */
.recruit-spec-section {
  background: #F5F1E8;
  padding: 64px 0;
}
.recruit-spec-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.recruit-spec-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-green-dark);
  letter-spacing: 0.06em;
  margin-bottom: 40px;
}
.recruit-spec-title span {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--color-orange);
  vertical-align: middle;
  margin: 0 12px;
  border-radius: 1px;
}
.recruit-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
  gap: 28px;
}
.recruit-spec-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(208,195,172,0.55);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-soft);
}
.recruit-spec-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-green-dark);
  border-bottom: 2px solid var(--color-orange);
  padding-bottom: 0.4em;
  margin: 0 0 14px;
}
table.recruit-spec-table {
  width: 100%;
  border-collapse: collapse;
}
table.recruit-spec-table th,
table.recruit-spec-table td {
  padding: 0.65em 0.7em;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}
table.recruit-spec-table th {
  width: 90px;
  font-weight: 700;
  color: var(--color-brown);
  white-space: nowrap;
}
table.recruit-spec-table tr:last-child th,
table.recruit-spec-table tr:last-child td { border-bottom: none; }

@media (max-width: 768px) {
  table.guide-flow-table th { width: 80px; font-size: 0.82rem; }
  .recruit-spec-grid { grid-template-columns: 1fr; }
  .admission-course-grid { grid-template-columns: 1fr !important; }
}
.widget { margin-bottom: 32px; }

.widget-title {
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 16px;
  background: #FDFCF8;
  border-left: 4px solid var(--color-sky);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 16px;
}

.accordion-toggle {
  width: 100%;
  background: var(--color-white);
  border: none;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  color: var(--color-text);
  transition: background 0.2s;
}

.accordion-toggle:hover { background: var(--color-bg); }

.accordion-toggle .icon {
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: var(--color-sky);
  flex-shrink: 0;
}

.accordion-toggle.is-open .icon { transform: rotate(45deg); }

/* ===== レスポンシブ ===== */
@media (max-width: 1100px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    padding: 16px 24px 24px;
    z-index: 99;
  }

  .site-nav.is-open { display: block; }

  .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  /* 各項目を全幅の行にして破線の区切り線で仕切る */
  .site-nav > ul > li {
    width: 100%;
    border-bottom: 1px dashed var(--color-border);
  }
  .site-nav > ul > li:last-child {
    border-bottom: none;
  }

  .site-nav a { display: block; padding: 14px 10px; border-radius: 0; font-size: 1.1rem; }

  /* 子を持つ項目：矢印を右端に寄せる */
  .site-nav .menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .site-nav .menu-item-has-children > a::after {
    margin-left: auto;
  }

  /* サブメニューはモバイルでは静的に展開（インデント＋薄い区切り線） */
  .site-nav .sub-menu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    padding-top: 0;
    white-space: normal;
  }
  .site-nav .sub-menu-inner {
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--color-sky-light);
  }
  .site-nav .sub-menu a {
    padding: 12px 10px 12px 28px;
    font-size: 1rem;
  }

  /* お問い合わせボタンは全幅の行に */
  .site-nav .nav-contact-btn {
    border-bottom: none;
    margin-top: 14px;
  }
  .site-nav .nav-contact-btn a {
    text-align: center;
    padding: 13px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .hero-content  { order: 1; }
  .hero-visual   { order: 2; display: block !important; visibility: visible !important; margin-top: 0; width: 100%; align-self: stretch; }
  .hero-title { white-space: normal; font-size: clamp(1.6rem, 6vw, 2rem); }

  .contact-inner { grid-template-columns: 1fr; }
  .footer-bottom { text-align: center; }
  .site-footer { padding-bottom: 56px; } /* 下部固定バー(採用情報/お問い合わせ)に隠れないよう余白 */

  .disclosure-table th { width: 42%; }
  .section { padding: 48px 0; }
}

/* ============================================================
   園児の活動ページ用スタイル
   （参考: 永興藤尾こども園の構成）
============================================================ */

/* 導線写真カード */
.link-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.link-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(208,195,172,0.55);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}
.link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.link-card-thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.link-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.link-card:hover .link-card-thumb img { transform: scale(1.06); }
.link-card-body { padding: 16px 18px; }
.link-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-green);
}
.link-card-body p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .link-cards { grid-template-columns: 1fr 1fr; }
}

/* 公開文書リスト（PDF一覧） */
.doc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
}
.doc-list a:hover {
  border-color: var(--color-sky);
  background: var(--color-bg);
}
.doc-list .doc-icon { font-size: 1.2rem; flex-shrink: 0; }
.doc-list .doc-name { flex: 1; font-weight: 600; font-size: 0.92rem; }
.doc-list .doc-action {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-sky);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .doc-list .doc-action { display: none; }
}

/* ヒーロー・スライドショー（園のメインビジュアル） */
.hero-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 735 / 400;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--color-bg);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

/* ===== 年齢別タブ ===== */
.age-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.age-tab {
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-border);
  background: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s;
}

.age-tab:hover { border-color: var(--color-sky); }

.age-tab.is-active {
  background: var(--color-sky);
  border-color: var(--color-sky);
  color: var(--color-white);
}

.age-panel { display: none; }
.age-panel.is-active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn {

  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== タイムライン（一日の流れ） ===== */
.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 8px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 94px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: linear-gradient(180deg, var(--color-sun), var(--color-sky), var(--color-coral));
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
  position: relative;
}

.timeline-time {
  flex-shrink: 0;
  width: 56px;
  text-align: right;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-sky);
  padding-top: 14px;
}

.timeline-dot {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-coral);
  margin-top: 16px;
  z-index: 1;
}

.timeline-content {
  flex: 1;
  background: #FFFFFF;
  border: 1.5px solid rgba(208,195,172,0.55);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
}

.timeline-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ===== 保育の柱（活動カテゴリ） ===== */
.pillar-block { margin-bottom: 56px; }

.pillar-heading {
  text-align: center;
  margin-bottom: 28px;
}

.pillar-label {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 6px 22px;
  border-radius: var(--radius-xl);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.pillar-1 .pillar-label { background: var(--color-mint);         color: var(--color-green-dark); }
.pillar-2 .pillar-label { background: var(--color-sun-light);     color: #7A4A10; }
.pillar-3 .pillar-label { background: var(--color-coral-light);   color: var(--color-coral); }

.pillar-heading h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.activity-card {
  background: var(--color-card);
  border: 1.5px solid rgba(208,195,172,0.55);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s;
}

.activity-card:hover { transform: translateY(-4px); }

.activity-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--color-bg);
}

.activity-thumb-photo {
  height: 160px;
  padding: 0;
  overflow: hidden;
}
.activity-thumb-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.activity-card-body {
  padding: 18px 20px;
}

.activity-card-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.activity-card-body p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.activity-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-xl);
  background: var(--color-bg);
  color: var(--color-text-light);
}

.activity-tag-provider {
  background: var(--color-sky-light);
  color: var(--color-sky);
}

.activity-tag-frequency {
  background: var(--color-bg);
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
}

.activity-tag-target {
  background: var(--color-orange);
  color: var(--color-brown);
  font-weight: 700;
}

/* ===== 食育セクション ===== */
.shokuiku-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.shokuiku-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(208,195,172,0.55);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}



.shokuiku-card .icon {
  font-size: 2.2rem;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.shokuiku-card:nth-child(1) .icon { background: var(--color-mint); }
.shokuiku-card:nth-child(2) .icon { background: var(--color-sun-light); }
.shokuiku-card:nth-child(3) .icon { background: var(--color-coral-light); }
.shokuiku-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.shokuiku-card p { font-size: 0.95rem; color: var(--color-text); line-height: 1.7; margin-bottom: 0; opacity: 0.85; }

/* レスポンシブ */
@media (max-width: 768px) {
  .timeline::before { left: 74px; }
  .timeline-item { gap: 14px; }
  .timeline-time { width: 46px; font-size: 0.8rem; }
}

/* ============================================================
   園長挨拶・入園案内・マップ用スタイル
============================================================ */

/* ===== Googleマップ埋め込み ===== */
.map-embed {
  width: 100%;
  line-height: 0;
  border: 2px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(110, 95, 75, 0.10);
}
.map-embed iframe {
  display: block;
  width: 100%;
  border-radius: 0; /* 親要素のoverflow:hiddenでクリップするため不要 */
}

/* ===== 園長挨拶レイアウト ===== */
.greeting-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.greeting-photo {
  text-align: center;
}

.greeting-photo .photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background: var(--color-sky-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-sky);
  gap: 8px;
}

.greeting-photo .photo-placeholder span {
  font-size: 0.8rem;
  font-weight: 600;
}

.greeting-name {
  margin-top: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
}

.greeting-text p {
  font-size: 1.1rem;
  line-height: 2;
  margin-bottom: 1.2rem;
}

.greeting-philosophy {
  background: var(--color-card);
  border: 1.5px solid rgba(208,195,172,0.55);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  border: 2px solid var(--color-border);
}

.greeting-philosophy h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.greeting-philosophy p {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 0;
}

@media (max-width: 768px) {

  .greeting-layout { grid-template-columns: 1fr; gap: 24px; }
  .greeting-photo { max-width: 240px; margin: 0 auto; }
}

/* ============================================================
   アクセスページ・法人沿革
============================================================ */
/* アクセスの行き方カード */
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.access-card {
  background: var(--color-card);
  border: 1.5px solid rgba(208,195,172,0.55);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.access-card .access-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-sky-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.access-card:nth-child(2) .access-icon { background: var(--color-sun-light); }
.access-card:nth-child(3) .access-icon { background: var(--color-coral-light); }
.access-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.access-card p { font-size: 0.88rem; color: var(--color-text-light); line-height: 1.8; margin-bottom: 0; }

/* 法人沿革タイムライン */
.history-list {
  max-width: 720px;
  margin: 0 auto;
  border-left: 3px solid var(--color-border);
  padding-left: 0;
}
.history-item {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 14px 0 14px 24px;
  position: relative;
}
.history-item::before {
  content: '';
  position: absolute;
  left: -8px; top: 20px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-green-mid);
}
.history-date {
  flex-shrink: 0;
  width: 96px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-green-mid);
}
.history-text {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.7;
}

@media (max-width: 768px) {

  .access-grid { grid-template-columns: 1fr; }
  .history-item { flex-direction: column; gap: 4px; }
  .history-date { width: auto; }
}

/* ============================================================
   施設紹介・保育教諭紹介
============================================================ */
.facility-block { margin-bottom: 48px; }

.facility-group-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 5px solid var(--color-green-mid);
  color: var(--color-green-dark);
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.facility-item {
  margin: 0;
  background: var(--color-card);
  border: 1.5px solid rgba(208,195,172,0.55);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.facility-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.facility-item figcaption {
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
}

@media (max-width: 600px) {

  .facility-grid { grid-template-columns: 1fr 1fr; }
}

.effort-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.effort-card {
  background: var(--color-card);
  border: 1.5px solid rgba(208,195,172,0.55);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
}
.effort-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-green-dark);
}
.effort-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 12px;
}
.effort-card p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {

  .effort-cards { grid-template-columns: 1fr; }
  .effort-card > div[style*="grid"] { grid-template-columns: 1fr !important; }
}

/* ============================================================
   汎用タブ（園長挨拶・施設紹介の切り替え等）
============================================================ */
.tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.tab-btn {
  padding: 12px 36px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-border);
  background: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover { border-color: var(--color-green-mid); }

.tab-btn.is-active {
  background: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-white);
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeIn 0.4s ease; }

/* ============================================================
   Contact Form 7 をテーマのフォームデザインに合わせる
============================================================ */
/* 入力欄・選択欄・テキストエリア */
.contact-form-wrap .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-list-item-label):not([type="radio"]):not([type="checkbox"]) {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.contact-form-wrap .wpcf7-form-control:not(.wpcf7-submit):focus {
  outline: none;
  border-color: var(--color-sky);
  box-shadow: 0 0 0 3px rgba(90, 44, 33, 0.14);
  background: var(--color-white);
}

.contact-form-wrap textarea.wpcf7-form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-form-wrap select.wpcf7-form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23777' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ラベル（CF7はpタグやlabelで段組みされることが多い） */
.contact-form-wrap .wpcf7-form p {
  margin-bottom: 18px;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.9rem;
}

.contact-form-wrap .wpcf7-form label {
  display: block;
  font-weight: 600;
  color: var(--color-text);
}

/* 必須マーク */
.contact-form-wrap .wpcf7-not-valid-tip {
  color: var(--color-coral);
  font-size: 0.82rem;
  font-weight: 600;
}

/* エラー項目のハイライト */
.contact-form-wrap .wpcf7-not-valid {
  border-color: #E05870 !important;
  background-color: #FEF0F3 !important;
  box-shadow: 0 0 0 3px rgba(224, 88, 112, 0.15) !important;
  outline: none;
}

/* ラジオ・チェックボックス */
.contact-form-wrap .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 16px 6px 0;
}
.contact-form-wrap input[type="radio"],
.contact-form-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-sky);
  cursor: pointer;
}

/* 送信ボタン */
.contact-form-wrap .wpcf7-submit {
  width: 100%;
  background: var(--color-coral);
  color: var(--color-white);
  border: none;
  padding: 16px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(150, 55, 42, 0.3);
  margin-top: 8px;
}
.contact-form-wrap .wpcf7-submit:hover {
  filter: brightness(0.94);
  transform: translateY(-2px);
}

/* 送信結果メッセージ */
.contact-form-wrap .wpcf7-response-output {
  border-radius: var(--radius-sm);
  padding: 14px 18px !important;
  margin: 16px 0 0 !important;
  font-size: 0.88rem;
  font-weight: 600;
}
.contact-form-wrap .wpcf7 form.invalid .wpcf7-response-output,
.contact-form-wrap .wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: var(--color-coral);
  background: var(--color-coral-light);
  color: var(--color-coral);
}
.contact-form-wrap .wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--color-green-mid);
  background: var(--color-sky-light);
  color: var(--color-green-dark);
}

/* 送信中スピナー位置 */
.contact-form-wrap .wpcf7-spinner {
  margin: 12px auto 0;
  display: block;
}

/* ============================================================
   保育の特長（年齢別ブロック）
============================================================ */
.feature-age-block {
  background: var(--color-card);
  border: 1.5px solid rgba(208,195,172,0.55);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}
.feature-age-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--color-border);
}
.feature-age-badge {
  flex-shrink: 0;
  background: var(--color-green);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 20px;
  border-radius: var(--radius-xl);
}
.feature-age-head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}
.feature-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.feature-age-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}
.feature-age-body .feature-points {
  grid-template-columns: 1fr;
}
.feature-age-photo img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
}
.feature-point h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 6px;
  padding-left: 14px;
  position: relative;
}
.feature-point h4::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-orange);
}
.feature-point p {
  font-size: 0.96rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 700px) {
  .feature-age-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .feature-points { grid-template-columns: 1fr; }
  .feature-age-body { grid-template-columns: 1fr; }
}

/* ============================================================
   年間行事カード（月別：写真＋活動内容）
============================================================ */
.event-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.event-card {
  background: var(--color-card);
  border: 1.5px solid rgba(208,195,172,0.55);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s;
}
.event-card:hover { transform: translateY(-3px); }
.event-card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-bg);
}
.event-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.event-card-month {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--color-green);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 5px 16px;
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.event-card-body {
  padding: 16px 20px;
}
.event-card-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.event-card-body li {
  font-size: 1rem;
  color: var(--color-text);
  padding: 4px 0 4px 18px;
  position: relative;
}
.event-card-body li::before {
  content: '🌸';
  position: absolute;
  left: 0;
  font-size: 0.72rem;
}

@media (max-width: 900px) {
  .event-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .event-cards { grid-template-columns: 1fr; }
}

/* 食育カードの写真 */
.effort-card.has-photo {
  padding: 0;
  overflow: hidden;
}
.effort-card.has-photo .effort-card-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.effort-card.has-photo .effort-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.effort-card.has-photo .effort-card-text {
  padding: 22px 26px 26px;
}
.effort-card.has-photo .effort-card-text h3 {
  margin-bottom: 12px;
}

/* 食育 献立例カード */
.menu-example-intro {
  text-align: center;
  margin-top: 44px;
  margin-bottom: 24px;
}
.menu-example-title {
  font-size: 1.15rem;
  color: var(--color-coral);
  margin-bottom: 8px;
}
.menu-example-intro p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  margin: 0;
}
.menu-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.menu-card {
  margin: 0;
  background: var(--color-card);
  border: 1.5px solid rgba(208,195,172,0.55);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.menu-card-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.menu-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.menu-card figcaption {
  text-align: center;
  padding: 10px 8px;
  font-size: 0.88rem;
  color: var(--color-text);
  font-weight: 500;
}

@media (max-width: 700px) {
  .menu-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* フッター シルエット帯 */
.footer-silhouette {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}
.footer-silhouette img {
  width: 100%;
  height: auto;
  display: block;
}

/* セクション区切り線（全セクション共通） */
.features-section,
.contact-section,
.news-section {
  border-bottom: 1px solid rgba(160, 118, 90, 0.28);
}

/* トップページ：セクション区切り線をコンテナ幅に制限 */
body.home .section {
  border-bottom: none;
  position: relative;
}
body.home .section::after {
  content: '';
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(160, 118, 90, 0.28);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
body.home .section:last-of-type::after {
  display: none;
}

/* モバイル専用スライドショー（hero外・お知らせ前） */
/* モバイル専用スライドショーは使用しない（ヒーロー内スライドショーをモバイルでも表示） */
.hero-slideshow-mobile {
  display: none;
}

/* ============================================================
   サイド固定CTA（採用情報 / お問い合わせ）
   禅心福祉会サイトの右端固定カード(.side-bar)を踏襲し、
   永興藤尾こども園テーマのデザイントークンで再構築。
   ※ このブロックを style.css の末尾に貼り付けてください。
============================================================ */
.side-cta {
  position: fixed;
  top: 22%;
  right: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* 各カードを常に画面右端へ密着させる */
  gap: 12px;
  pointer-events: none; /* カード以外の余白部分はクリックを透過 */
}

.side-cta__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 56px;
  padding: 16px 0 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  overflow: hidden;
  pointer-events: auto; /* カードはクリック可能 */
  transition: width 0.25s ease, box-shadow 0.25s ease;
}

.side-cta__card:hover {
  width: 62px; /* 基準56px + 張り出し6px。調整時はこの値を変更 */
  box-shadow: 0 10px 28px rgba(110, 95, 75, 0.18);
}

.side-cta__icon {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
}

.side-cta__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.side-cta__card--recruit .side-cta__icon { color: var(--color-orange); }
.side-cta__card--visit   .side-cta__icon { color: var(--color-green); }

.side-cta__label {
  writing-mode: vertical-rl;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  color: var(--color-green-dark);
}

.side-cta__card--recruit .side-cta__label { color: var(--color-brown); }

.side-cta__more {
  display: block;
  width: 100%;
  padding: 9px 0;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--color-white);
}

.side-cta__card--recruit .side-cta__more { background: var(--color-orange); color: var(--color-brown); }
.side-cta__card--visit   .side-cta__more { background: var(--color-green); }

/* スマホ（768px以下）：縦カードを隠し、下部固定の横並びバーに切替 */
.side-cta-sp { display: none; }

@media (max-width: 768px) {

  .side-cta { display: none; }

  .side-cta-sp {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
  }

  .side-cta-sp a {
    flex: 1;
    padding: 10px 4px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    color: var(--color-white);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .side-cta-sp__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .side-cta-sp__icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }

  .side-cta-sp a.is-recruit { background: var(--color-orange); color: var(--color-brown); }
  .side-cta-sp a.is-visit   { background: var(--color-green); }
}

/* ============================================================
   園の概要テーブル：モバイルでは項目名と内容を縦並びにし、
   内容欄の幅をしっかり確保する（このテーブルのみに適用）
============================================================ */
@media (max-width: 768px) {
  .overview-table,
  .overview-table tbody,
  .overview-table tr,
  .overview-table th,
  .overview-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .overview-table tr {
    border-bottom: 1px solid var(--color-border);
  }
  .overview-table tr:last-child {
    border-bottom: none;
  }
  .overview-table th,
  .overview-table td {
    border-bottom: none;
  }
  .overview-table th {
    padding-bottom: 4px;
  }
  .overview-table td {
    padding-top: 4px;
  }
}

/* モバイルでは保育理念テキスト等の改行(br)を無効化し、自然に折り返す */
@media (max-width: 768px) {
  .pc-br { display: none; }
}
