/*
Theme Name: 永興藤尾こども園
Theme URI: https://eikoufujio.jp/
Author: 社会福祉法人 禅心福祉会
Author URI: https://www.eikou-zenshin.ed.jp/
Description: 永興藤尾こども園の公式サイト用WordPressテーマ。保育理念「たくましく・やさしい・感謝のある子ども」を体現する、やさしく明るく元気な配色。お知らせ・お問い合わせフォーム・経営情報の開示・園児の活動紹介を備えています。
Version: 1.0.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-fujio
Tags: children, nursery, kindergarten, colorful, bright, blog
*/

/* ===== カラーパレット & カスタムプロパティ =====
   永興藤尾こども園 — 既存サイト(base.css)の配色を踏襲
   深緑を基調に、ベージュ茶・朱・オレンジを差し色とした
   落ち着き・たくましさ・安心感のある配色 */
:root {
  /* メイン：既存サイトのナビ深緑 #00561F とその系統 */
  --color-green:       #00561F;  /* メイン深緑（ナビ背景） */
  --color-green-mid:   #1B7318;  /* 見出し・帯の緑 */
  --color-green-dark:  #0A2F17;  /* 濃い緑（文字） */
  --color-green-line:  #045923;  /* 罫線の緑 */

  /* 差し色（既存サイトより） */
  --color-orange:      #FFAC50;  /* オレンジ（ボタン等のアクセント） */
  --color-vermilion:   #96372A;  /* 朱・赤茶（タブ等） */
  --color-vermilion2:  #943427;
  --color-brown:       #5A2C21;  /* 焦茶 */
  --color-beige:       #D0C3AC;  /* ベージュ茶（罫線・サブ文字） */
  --color-beige-light: #EFE9DD;
  --color-link:        #007597;  /* リンク水色 */

  /* 役割エイリアス（テーマ内の既存変数名に既存色を割り当て） */
  --color-sun:        var(--color-orange);   /* 元気：オレンジ */
  --color-sun-light:  #FBE9CC;
  --color-sky:        var(--color-green);     /* メイン：深緑 */
  --color-sky-light:  #E2EDE4;
  --color-coral:      var(--color-vermilion); /* たくましさ：朱赤茶 */
  --color-coral-light:#F1E0DC;
  --color-mint:       #CFE0C4;
  --color-mint-dark:  var(--color-green-mid);
  --color-leaf:       var(--color-green-mid);
  --color-lavender:   #C4B6E0;
  --color-white:      #FFFFFF;
  --color-bg:         #FBF8F1;   /* ベージュ寄りの温かいオフホワイト */
  --color-text:       #333333;   /* 既存サイトの基本文字色 */
  --color-text-light: #6E665C;
  --color-border:     #E3DCCC;   /* ベージュ系の罫線 */

  --font-heading: 'Noto Sans JP', sans-serif;
  --font-body:    'Noto Sans JP', sans-serif;
  /* 丸みのあるフラットデザイン */
  --radius-sm:  12px;
  --radius-md:  20px;
  --radius-lg:  28px;
  --radius-xl:  999px;
  --shadow-soft: 0 6px 24px rgba(110,95,75,0.10);
  --shadow-card: 0 3px 14px rgba(110,95,75,0.07);
}

/* ===== リセット & ベース ===== */
*, *::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; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  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;
}

/* ===== ヘッダー ===== */
.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 a {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
  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);
}

.nav-contact-btn a {
  background: var(--color-coral);
  color: var(--color-white) !important;
  padding: 10px 20px;
  border-radius: var(--radius-xl);
}

.nav-contact-btn a:hover {
  background: #e85555 !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;
  background: linear-gradient(135deg, #FBF4E6 0%, #E9F0E6 55%, #F3EADF 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}

/* 既存サイトのメインビジュアルを使う場合：
   assets/images/hero.jpg を置き、下の3行のコメントを外してください。
.hero {
  background: linear-gradient(135deg, rgba(255,248,231,0.85), rgba(232,248,245,0.85)), url('assets/images/hero.jpg') center/cover no-repeat;
}
*/

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: var(--color-sun-light);
  border-radius: 50%;
  opacity: 0.6;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: var(--color-sky-light);
  border-radius: 50%;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--color-sun);
  color: #8A5A20;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.35;
  color: var(--color-text);
  position: relative;
  padding-left: 20px;
}

.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;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.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: var(--color-coral);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(255,107,107,0.4);
}

.btn-primary:hover {
  background: #e85555;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,107,0.5);
}

.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 {
  position: relative;
}

.hero-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.hero-emoji-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.emoji-item {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  font-size: 2rem;
  text-align: center;
}

.emoji-item:nth-child(1) { background: var(--color-sun-light); }
.emoji-item:nth-child(2) { background: var(--color-sky-light); }
.emoji-item:nth-child(3) { background: var(--color-coral-light); }
.emoji-item:nth-child(4) { background: var(--color-coral-light); }
.emoji-item:nth-child(5) { background: var(--color-mint); }
.emoji-item:nth-child(6) { background: var(--color-sun-light); }

/* ===== セクションタイトル ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  background: var(--color-sky-light);
  color: var(--color-sky);
  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: var(--color-white);
}

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

.news-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.news-card-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.news-card-thumb-placeholder {
  background: linear-gradient(135deg, var(--color-sky-light), var(--color-mint));
  width: 100%;
  height: 180px;
  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: linear-gradient(180deg, #FFFDF6 0%, #F0FBF8 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--color-white);
  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: var(--color-sky-light); }
.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.88rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ===== 経営情報セクション ===== */
.disclosure-section {
  background: var(--color-white);
}

.disclosure-intro {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.disclosure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.disclosure-item {
  background: var(--color-bg);
  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;
}

.disclosure-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-xl);
  background: var(--color-sky-light);
  color: var(--color-sky);
}

/* ===== 問い合わせフォーム ===== */
.contact-section {
  background: linear-gradient(135deg, #E9F0E6 0%, #FBF4E6 100%);
}

.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-white);
  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;
}

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

select.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;
}

.form-check-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  cursor: pointer;
}

.form-check input[type="radio"],
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-sky);
  cursor: pointer;
}

.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: #3D3D3D;
  color: #CCCCCC;
  padding: 56px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-text {
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.footer-nav h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: #AAAAAA;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--color-sky); }

.footer-bottom {
  border-top: 1px solid #555555;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #888888;
}

/* ===== シングル投稿 ===== */
.post-header {
  background: linear-gradient(135deg, var(--color-sky-light), var(--color-sun-light));
  padding: 56px 0;
  text-align: center;
}

.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-white);
  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-white);
  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: var(--color-bg);
  color: var(--color-text-light);
  width: 34%;
}

.disclosure-table td { color: var(--color-text); }

/* ===== ウィジェット ===== */
.widget { margin-bottom: 32px; }

.widget-title {
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 16px;
  background: linear-gradient(90deg, var(--color-sky-light), transparent);
  border-left: 4px solid var(--color-sky);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 16px;
}

/* ===== アコーディオン（FAQ等） ===== */
.accordion-item {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
}

.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); }

.accordion-body {
  display: none;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--color-text-light);
  background: var(--color-bg);
  line-height: 1.8;
}

.accordion-body.is-open { display: block; }

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .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: flex-start;
    gap: 4px;
  }

  .site-nav a { display: block; padding: 10px 12px; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }

  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .disclosure-table th { width: 42%; }
  .section { padding: 48px 0; }
}

/* ============================================================
   園児の活動ページ用スタイル
   （参考: 永興藤尾こども園の構成）
============================================================ */

/* 導線写真カード */
.link-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.link-card {
  background: var(--color-white);
  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.82rem;
  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; }
}

/* 写真ストリップ（給食など横並び写真） */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
@media (max-width: 768px) {
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip img:nth-child(3) { grid-column: 1 / -1; }
}

/* ヒーロー・スライドショー（園のメインビジュアル） */
.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-sky-light);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

/* 保育理念ワード（園長挨拶ページ等で使用） */
.philosophy-words {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.philosophy-word {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 10px 0;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
}

.philosophy-word::before {
  content: '🌿';
  margin-right: 8px;
  font-size: 1rem;
}

.philosophy-word:nth-child(1) { color: var(--color-coral); }
.philosophy-word:nth-child(2) { color: var(--color-sky); }
.philosophy-word:nth-child(3) { color: var(--color-mint-dark); }

/* ===== 年齢別タブ ===== */
.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: 70px;
  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: var(--color-white);
  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.85rem;
  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.78rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 10px;
}

.pillar-block:nth-child(1) .pillar-label { background: var(--color-coral-light); color: var(--color-coral); }
.pillar-block:nth-child(2) .pillar-label { background: var(--color-sky-light);   color: var(--color-sky); }
.pillar-block:nth-child(3) .pillar-label { background: var(--color-sun-light);   color: #8A5A20; }

.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-white);
  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-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.85rem;
  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);
}

/* ===== 食育セクション ===== */
.shokuiku-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.shokuiku-card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}

.shokuiku-card:nth-child(1) { background: var(--color-mint); }
.shokuiku-card:nth-child(2) { background: var(--color-sun-light); }
.shokuiku-card:nth-child(3) { background: var(--color-coral-light); }

.shokuiku-card .icon { font-size: 2.6rem; margin-bottom: 12px; }
.shokuiku-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.shokuiku-card p { font-size: 0.85rem; color: var(--color-text); line-height: 1.7; margin-bottom: 0; opacity: 0.85; }

/* ===== 年間行事 ===== */
.events-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.event-month {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--color-sky);
}

.event-month:nth-child(3n+1) { border-top-color: var(--color-coral); }
.event-month:nth-child(3n+2) { border-top-color: var(--color-sun); }
.event-month:nth-child(3n+3) { border-top-color: var(--color-sky); }

.event-month .month-label {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--color-coral);
  margin-bottom: 10px;
}

.event-month:nth-child(3n+2) .month-label { color: #8A5A20; }
.event-month:nth-child(3n+3) .month-label { color: var(--color-sky); }

.event-month ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-month li {
  font-size: 0.82rem;
  color: var(--color-text);
  padding-left: 16px;
  position: relative;
}

.event-month li::before {
  content: '🌼';
  position: absolute;
  left: 0;
  font-size: 0.7rem;
}

/* ===== 活動ギャラリー ===== */
.activity-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .timeline::before { left: 58px; }
  .timeline-item { gap: 14px; }
  .timeline-time { width: 46px; font-size: 0.8rem; }
}

/* ============================================================
   園長挨拶・入園案内・マップ用スタイル
============================================================ */

/* ===== Googleマップ埋め込み ===== */
.map-embed {
  width: 100%;
  line-height: 0;
}
.map-embed iframe {
  display: block;
  width: 100%;
}

/* ===== 園長挨拶レイアウト ===== */
.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 {
  line-height: 2;
  margin-bottom: 1.2rem;
}

.greeting-philosophy {
  background: var(--color-bg);
  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 {
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ===== 入園案内 年齢別特長（横並び行） ===== */
.feature-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
}

.feature-row-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-sun-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-row:nth-child(2n) .feature-row-icon { background: var(--color-sky-light); }
.feature-row:nth-child(3n) .feature-row-icon { background: var(--color-coral-light); }

.feature-row-body { flex: 1; }

.feature-row-age {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-xl);
  background: var(--color-mint);
  color: var(--color-mint-dark);
  margin-bottom: 8px;
}

.feature-row-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-row-body p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .greeting-layout { grid-template-columns: 1fr; gap: 24px; }
  .greeting-photo { max-width: 240px; margin: 0 auto; }
  .feature-row { flex-direction: column; gap: 14px; }
}

/* ============================================================
   アクセスページ・法人沿革
============================================================ */
/* アクセスの行き方カード */
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.access-card {
  background: var(--color-white);
  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-white);
  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-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.effort-nav a {
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  background: var(--color-white);
  border: 2px solid var(--color-border);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: all 0.2s;
}
.effort-nav a:hover {
  border-color: var(--color-green-mid);
  background: var(--color-sky-light);
}

.effort-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.effort-card {
  background: var(--color-white);
  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; }
}
