/* =========================================================
   ひばり保育園／つばめ保育園（社会福祉法人 ことり会・仮称） サンプル（案C: ほのぼの・柔らかい）
   テーマ値はすべて :root に集約。色・角丸を変える場合はここだけ編集する。
   ========================================================= */

@font-face {
  font-family: "Zen Maru Gothic";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/ZenMaruGothic-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Zen Maru Gothic";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/ZenMaruGothic-Bold.woff2") format("woff2");
}

:root {
  --color-primary: #d97f96;        /* 【差し替え】メインカラー（ローズピンク） */
  --color-primary-dark: #ad5a72;   /* 【差し替え】メインカラー濃色（ボタン背景・ホバー。白文字コントラスト4.5:1確保のためdesign-plan初期値#b96379から微調整） */
  --color-accent: #8fc7b4;         /* 【差し替え】アクセントカラー（ミント。差し色・アイコン用。文字色には使わない） */
  --color-sub1: #b7a8d4;           /* 【差し替え】サブカラー1（ラベンダー。バッジ・装飾） */
  --color-sub2: #fbe9c9;           /* 【差し替え】サブカラー2（クリーム。淡背景・装飾） */
  --color-bg: #fdf9f5;             /* 【差し替え】ページ背景色（桜貝ホワイト） */
  --color-bg-alt: #faeef0;         /* 【差し替え】セクション区切りの淡ピンク背景 */
  --color-surface: #ffffff;        /* 【差し替え】カード・面の色 */
  --color-text: #5c4a44;           /* 【差し替え】本文の文字色（黒は使わずソフト茶） */
  --color-text-muted: #8a746c;     /* 【差し替え】補足文の文字色 */
  --color-border: #f0dde1;         /* 【差し替え】罫線・枠線の色 */

  /* お知らせカテゴリ色（色だけに頼らず、必ず文字ラベルと併用する） */
  --cat-info-bg: #faeef0;
  --cat-info-border: #d97f96;
  --cat-event-bg: #e9f4ef;
  --cat-event-border: #8fc7b4;
  --cat-recruit-bg: #f1eef8;
  --cat-recruit-border: #b7a8d4;
  --cat-letter-bg: #fbe9c9;
  --cat-letter-border: #dba956;

  --radius: 20px;                  /* 【差し替え】角丸の大きさ（基本） */
  --radius-lg: 28px;               /* 【差し替え】写真などの大きめ角丸 */
  --radius-pill: 999px;            /* ボタン・バッジの完全ピル */
  --shadow-soft: 0 2px 8px rgba(92, 74, 68, 0.08);
  --shadow-mid: 0 6px 18px rgba(217, 127, 150, 0.14);

  --font-body: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif; /* 【差し替え】本文フォント */
  --font-heading: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif; /* 【差し替え】見出しフォント */
}

/* ---------- リセット・基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-text-size-adjust: 100%;
  padding-bottom: 76px; /* スマホ下部固定バーとの重なり回避 */
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary-dark); text-decoration-thickness: 2px; }
a:hover { opacity: 0.8; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 0.6em;
  color: var(--color-text);
}

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }

.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.2em; }

/* 装飾一括オフ（body.no-decoを付けると全て非表示） */
body.no-deco .deco { display: none; }
body.no-deco .cutout { display: none; }

.deco { color: var(--color-primary); }
.deco-flower { width: 26px; height: 26px; }
.deco-heart { width: 22px; height: 22px; }
.deco-dot-grid { width: 56px; height: 56px; }
.deco-ribbon { width: 30px; height: 30px; }
.deco-bubble { width: 34px; height: 30px; }
.deco-tiny-star { width: 16px; height: 16px; }
.deco-arch { width: 30px; height: 30px; }

.deco-mint { color: var(--color-accent); }
.deco-lavender { color: var(--color-sub1); }
.deco-cream { color: #e0b563; }
.deco-pink { color: var(--color-primary); }

.deco-float { position: absolute; pointer-events: none; z-index: 0; }
.deco-float--tl { top: 10px; left: 4%; }
.deco-float--tr { top: 10px; right: 4%; }
.deco-float--bl { bottom: 10px; left: 6%; }
.deco-float--br { bottom: 10px; right: 6%; }
.section-title, .section-lead, .card-grid, .link-grid, .feature-grid, .media-block,
.hero-inner, .news-list, .table-scroll, .season-grid, .day-columns, .steps,
.gallery-grid, .voice-grid, .contact-form, .cta-band .btn, .tel-box {
  position: relative;
  z-index: 1;
}

/* ---------- スキップリンク ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 200;
  padding: 10px 20px;
  background: var(--color-primary-dark);
  color: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { top: 0; }

/* ---------- レイアウト共通 ---------- */
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 18px;
}

.section { padding-block: 44px; position: relative; }
.section-alt { background: var(--color-bg-alt); }

.section-title {
  font-size: 1.4rem;
  text-align: center;
  margin: 0 0 12px;
}

/* 見出し横イラスト：文字の左に並べる（高さは見出し文字の約1.2倍） */
.title-hook-wrap { display: inline-flex; align-items: center; gap: 0.4em; }
.section-title .cutout-hook,
.page-title .cutout-hook {
  height: 1.2em;
  width: auto;
  margin: 0;
  flex-shrink: 0;
}
/* 引っ掛け型見出し：インラインSVGアイコン版（h2の.section-title・h1の.page-title共通）。PNG版と同じく横並び表示に統一 */
.section-title .deco-hook,
.page-title .deco-hook {
  height: 1.2em;
  width: auto;
  margin: 0;
  flex-shrink: 0;
}

/* 見出し英字サブラベル（h2の下に中央揃えで表示。姉妹サイト design-a-sawayaka の section-title-en と同じ構造） */
.section-title-en {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(217, 127, 150, 0.65);
  margin: 0 0 28px;
}

.section-lead {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto 28px;
}

.section-more { text-align: center; margin-top: 26px; }
.text-center { text-align: center; }
.note { font-size: 0.85rem; color: var(--color-text-muted); }
.anchor-offset, [id] { scroll-margin-top: 140px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- スクロール出現（案3採用。§5仕様どおり） ---------- */
html.js .fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}
html.js .fade-in.is-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .fade-in { opacity: 1; transform: none; transition: none; }
}

/* 波形のセクション区切り（淡ピンクの面が上の白い面へゆるやかにうねる） */
.section--wave-top { margin-top: 44px; }
.deco-wave-top {
  position: absolute;
  bottom: 100%;
  left: 0;
  display: block;
  width: 100%;
  height: 44px;
  color: var(--color-bg-alt);
}
.section--wave-bottom { position: relative; margin-bottom: 44px; }
.deco-wave-bottom {
  position: absolute;
  top: 100%;
  left: 0;
  display: block;
  width: 100%;
  height: 44px;
  color: var(--color-bg-alt);
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-height: 48px;
  padding: 0.65em 1.6em;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--color-primary-dark);
  background: var(--color-primary-dark);
  color: #fff;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  text-align: center;
}
.btn:hover { opacity: 0.9; }
.btn-outline {
  background: var(--color-surface);
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-bg-alt); opacity: 1; }
.btn-accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text);
}
.btn-accent:hover { opacity: 0.85; }
.btn-block { width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.header-inner {
  max-width: 1100px;
  margin-inline: auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
}
.site-logo img { border-radius: 50%; flex-shrink: 0; }
.site-logo-text { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; line-height: 1.25; }
.site-logo-sub { display: block; font-size: 0.68rem; font-weight: 400; color: var(--color-text-muted); }
@media (max-width: 480px) {
  html[lang="en"] .site-logo-text { font-size: 0.9375rem; }
  html[lang="en"] .site-logo-sub { font-size: 0.625rem; }
}

/* ハンバーガーボタン */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 48px;
  min-height: 48px;
  padding: 6px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-primary-dark);
  cursor: pointer;
}
.nav-toggle-bars { display: block; width: 20px; }
.nav-toggle-bars span {
  display: block; height: 3px; margin: 4px 0; border-radius: 2px;
  background: var(--color-primary-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle-label { font-size: 0.62rem; font-weight: 700; }

/* グローバルナビ（JS無効時は常時表示。html.jsが付いた時だけ開閉式にする） */
.global-nav { width: 100%; }
.js .global-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 12px 24px rgba(92, 74, 68, 0.12);
  padding: 6px 18px 22px;
}
.js .global-nav.is-open { display: block; }

.global-nav-list { list-style: none; margin: 6px 0 0; padding: 0; }
.global-nav-list li { border-bottom: 1px dashed var(--color-border); }
.global-nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 6px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
}
.global-nav-list a[aria-current="page"] { color: var(--color-primary-dark); }
.nav-cta-item { border-bottom: none !important; padding-top: 10px; }
.nav-cta-item a {
  justify-content: center;
  background: var(--color-primary-dark);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
}

/* ---------- パンくず ---------- */
.breadcrumb { font-size: 0.82rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 12px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 4px; color: var(--color-text-muted); }
.breadcrumb [aria-current="page"] { color: var(--color-text-muted); }

/* ---------- 下層ページ見出し帯 ---------- */
.page-title-block {
  background: var(--color-bg-alt);
  padding-bottom: 30px;
  position: relative;
}
.page-title {
  font-size: 1.6rem;
  margin: 10px 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-title-sub { margin: 0; color: var(--color-text-muted); }

/* ---------- トップ: ヒーロー ---------- */
.hero {
  padding: 30px 18px 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-alt), var(--color-bg) 85%);
}
.hero-inner { max-width: 720px; margin: 0 auto; }

.hero-photo-frame {
  position: relative;
  width: min(72vw, 300px);
  aspect-ratio: 1 / 1;
  margin: 0 auto 22px;
}
.hero-photo-frame .deco-scallop-ring {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  color: var(--color-surface);
  filter: drop-shadow(0 6px 14px rgba(217, 127, 150, 0.22));
}
.hero-photo {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--color-surface);
}

.hero-catch {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 10px;
}
.hero-catch .accent { color: var(--color-primary-dark); }
.hero-sub { color: var(--color-text-muted); margin-bottom: 22px; }

.hero-buttons { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.hero-buttons .btn { width: min(100%, 300px); }

/* ---------- お知らせ ---------- */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-bottom: 1px dashed var(--color-border); }
.news-list a, .news-list .news-item {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  padding: 14px 6px; text-decoration: none; color: var(--color-text);
}
.news-date { font-size: 0.85rem; color: var(--color-text-muted); }
.news-title { flex: 1 1 100%; font-weight: 500; }

.chip {
  display: inline-block;
  min-width: 5.2em;
  text-align: center;
  padding: 2px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid;
  color: var(--color-text);
}
.chip-info { background: var(--cat-info-bg); border-color: var(--cat-info-border); }
.chip-event { background: var(--cat-event-bg); border-color: var(--cat-event-border); }
.chip-recruit { background: var(--cat-recruit-bg); border-color: var(--cat-recruit-border); }
.chip-letter { background: var(--cat-letter-bg); border-color: var(--cat-letter-border); }

/* ---------- カード ---------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--color-text);
  display: block;
}
.card img { width: 100%; border-radius: var(--radius) var(--radius) 0 0; }
.card-body { padding: 18px 20px 22px; }
.card-title, .card-body h3 { font-size: 1.08rem; margin-bottom: 6px; color: var(--color-primary-dark); }
.card-text, .card-body p { font-size: 0.92rem; color: var(--color-text-muted); margin: 0; }
.card-link { display: inline-flex; margin-top: 10px; font-weight: 700; color: var(--color-primary-dark); }

/* 主要導線（円形アイコンリンク） */
.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.link-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 18px 10px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-soft);
}
.link-card:hover { background: var(--color-bg-alt); opacity: 1; }
.link-card .icon-circle {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary-dark);
}

/* 特徴（正円写真） */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.feature-item { text-align: center; }
.feature-item img {
  width: 168px; height: 168px; object-fit: cover; border-radius: 50%;
  margin: 0 auto; border: 6px solid var(--color-surface); box-shadow: var(--shadow-mid);
}
.feature-item h3 { margin: 14px 0 6px; font-size: 1.05rem; color: var(--color-primary-dark); }
.feature-item p { font-size: 0.92rem; color: var(--color-text-muted); margin: 0; text-align: left; }

/* 写真＋文章の2段組 */
.media-block { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
/* ぐにゃっとした有機的な丸（ブロブ）に切り抜く写真（柔らかい白フチ＋ソフト影付き） */
.media-block .img-blob,
.img-blob {
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: #ffffff;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(183, 168, 212, 0.22), 0 2px 6px rgba(0, 0, 0, 0.04);
}
.img-blob--alt {
  border-radius: 42% 58% 48% 52% / 55% 45% 52% 48%;
}
.img-blob--soft {
  border-radius: 50% 50% 45% 55% / 55% 48% 52% 45%;
}
.media-block.circle img { border-radius: 50%; aspect-ratio: 1/1; object-fit: cover; max-width: 320px; margin: 0 auto; }
.media-block h3 { color: var(--color-primary-dark); margin-top: 0; }

/* ---------- 表 ---------- */
.table-scroll { overflow-x: auto; }
.data-table th, .data-table td {
  padding: 12px 14px; border: 1px solid var(--color-border);
  text-align: left; vertical-align: top; background: var(--color-surface); font-size: 0.95rem;
}
.data-table thead th, .data-table tbody th[scope="row"] {
  background: var(--color-bg-alt); color: var(--color-primary-dark); font-weight: 700; white-space: nowrap;
}
.data-table caption {
  text-align: left;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.data-table caption::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 1.1em;
  background: var(--color-primary);
  border-radius: 4px;
}

/* ---------- 園の一日（タイムライン） ---------- */
.day-columns { display: grid; grid-template-columns: 1fr; gap: 30px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--color-border); }
.timeline-time { flex: 0 0 4.4em; font-weight: 700; color: var(--color-primary-dark); }
.timeline-body strong { display: block; }
.timeline-body span { font-size: 0.88rem; color: var(--color-text-muted); }

/* ---------- 年間行事（季節ブロック） ---------- */
.season-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.season-block {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  border-top: 8px solid var(--color-primary);
}
.season-spring { border-top-color: #e6a3b8; }
.season-summer { border-top-color: #8fc7b4; }
.season-autumn { border-top-color: #dba956; }
.season-winter { border-top-color: #b7a8d4; }
.season-block h3 { color: var(--color-primary-dark); }
.season-block ul { list-style: none; margin: 0; padding: 0; }
.season-block li { padding: 6px 0; border-bottom: 1px dashed var(--color-border); }
.season-block .month { font-weight: 700; color: var(--color-primary-dark); margin-right: 0.5em; }

/* ---------- ステップ ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li {
  counter-increment: step;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 20px 20px 20px 66px;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 16px; top: 20px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--color-primary); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps b, .steps strong { display: block; margin-bottom: 4px; color: var(--color-primary-dark); }
.steps p { margin: 0; font-size: 0.92rem; color: var(--color-text-muted); }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-item summary {
  display: flex; gap: 10px; align-items: baseline;
  padding: 16px 18px; font-weight: 700; cursor: pointer; min-height: 44px; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q"; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--color-primary); color: #fff; font-size: 0.9rem;
}
.faq-item summary::after { content: "＋"; margin-left: auto; color: var(--color-primary-dark); font-weight: 700; }
.faq-item[open] summary::after { content: "－"; }
.faq-answer { display: flex; gap: 10px; padding: 0 18px 18px; }
.faq-answer::before {
  content: "A"; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--color-accent); color: var(--color-text);
  font-size: 0.9rem; font-weight: 700;
}
.faq-answer p { margin: 2px 0 0; }

/* ---------- カレンダー枠（園庭開放） ---------- */
.calendar-box {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

/* ---------- 職員紹介カード ---------- */
.voice-grid { display: flex; flex-direction: column; gap: 28px; }
.voice-card { background: var(--color-surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 20px; }
.voice-img-wrap { width: 100%; flex: none; }
.voice-img-wrap img { width: 100%; height: 220px; object-fit: cover; border-radius: calc(var(--radius) - 4px); border: 3px solid var(--color-bg-alt); display: block; }
.voice-content { display: flex; flex-direction: column; justify-content: center; gap: 14px; flex: 1; }
.voice-header { border-bottom: 2px dashed var(--color-bg-alt); padding-bottom: 8px; }
.voice-name { font-weight: 700; font-size: 1.1rem; color: var(--color-primary-dark); display: block; }
.voice-role { font-size: 0.85rem; color: var(--color-text-muted); display: block; margin-top: 2px; }
.voice-card blockquote { margin: 0; font-size: 0.95rem; line-height: 1.7; }

/* ---------- ギャラリー ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; border-radius: var(--radius); }
.gallery-grid figcaption { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 4px; }

/* ---------- フォーム ---------- */
.contact-form {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-soft);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; }
.required-label {
  display: inline-block; margin-left: 8px; padding: 1px 10px; border-radius: var(--radius-pill);
  background: var(--color-primary-dark); color: #fff; font-size: 0.72rem; font-weight: 700; vertical-align: middle;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px; min-height: 44px; border: 2px solid var(--color-border);
  border-radius: var(--radius); font: inherit; background: var(--color-bg);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--color-primary); outline-offset: 1px;
}
.form-note { font-size: 0.85rem; color: var(--color-text-muted); }
.form-submit { text-align: center; margin-top: 8px; }
.turnstile-placeholder {
  border: 2px dashed var(--color-border); border-radius: var(--radius);
  padding: 16px; text-align: center; color: var(--color-text-muted); font-size: 0.85rem; margin-bottom: 20px;
}

/* ---------- 地図・アクセス ---------- */
.map-placeholder {
  display: flex; align-items: center; justify-content: center; min-height: 240px;
  border: 2px dashed var(--color-primary);
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  padding: 16px; text-align: center; color: var(--color-primary-dark); font-weight: 700;
}
.access-box { background: var(--color-surface); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-soft); }
.info-list { margin: 0; }
.info-list dt { font-weight: 700; color: var(--color-primary-dark); margin-top: 0.9em; }
.info-list dd { margin: 0.15em 0 0; }
.tel-large { font-size: 1.4rem; font-weight: 700; font-family: var(--font-heading); }
.tel-box { background: var(--color-surface); border: 2px solid var(--color-primary); border-radius: var(--radius); padding: 22px; text-align: center; }
.tel-box .tel-number { display: inline-flex; align-items: center; gap: 0.3em; font-size: 1.5rem; font-weight: 700; color: var(--color-primary-dark); text-decoration: none; }
.tel-box p { margin: 8px 0 0; font-size: 0.85rem; color: var(--color-text-muted); }

/* ---------- CTAバンド ---------- */
.cta-band { background: var(--color-bg-alt); text-align: center; }
.cta-band .btn { margin: 6px; width: min(100%, 300px); }

/* ---------- 記事（お知らせ詳細） ---------- */
.article { background: var(--color-surface); border-radius: var(--radius); padding: 26px 20px; box-shadow: var(--shadow-soft); }
.article-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.article h2 { font-size: 1.1rem; color: var(--color-primary-dark); margin-top: 1.6em; }
.article p { margin: 1em 0; }
.article-nav { margin-top: 24px; text-align: center; }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--color-bg-alt);
  margin-top: 6px;
  padding-top: 26px;
  position: relative;
}
/* フッター直前が白セクションのページのみ、波の区切りを付ける（.section--wave-topの汎用ルールをフッターにも適用するための優先度調整） */
.site-footer.section--wave-top { margin-top: 44px; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 20px 18px 16px; display: grid; gap: 26px; }
.footer-logo { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; color: var(--color-primary-dark); }
.footer-about p { margin: 0 0 4px; font-size: 0.92rem; }
.footer-sns { list-style: none; padding: 0; margin: 12px 0 0; display: flex; gap: 16px; font-size: 0.88rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 16px; font-size: 0.9rem; }
.footer-nav a { display: block; padding: 8px 0; text-decoration: none; color: var(--color-text); }
.footer-copy { text-align: center; margin: 4px 0 0; padding: 14px 18px; border-top: 1px solid var(--color-border); color: var(--color-text-muted); font-size: 0.78rem; }

/* ---------- 関連サイトリンク（園A・園B・法人の相互リンク） ---------- */
.footer-related-label { margin: 14px 0 4px; font-weight: 700; font-size: 0.82rem; color: var(--color-primary-dark); }
.footer-related { margin-top: 0; }

/* ---------- 切り抜き装飾（透過PNG。オリジナル水彩素材を控えめに配置） ---------- */
.cutout { pointer-events: none; }
.cutout-float { position: absolute; z-index: 0; pointer-events: none; opacity: 0.9; }
.cutout-float--tl { top: 10px; left: 3%; }
.cutout-float--tr { top: 10px; right: 3%; }
.cutout-dove { width: 64px; height: auto; }
.cutout-garland { display: block; width: min(80%, 380px); height: auto; margin: 4px auto 0; }

/* ---------- お問い合わせ：フォーム切り替えタブ ---------- */
.form-switch { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0 0 24px; padding: 0; list-style: none; }
.form-switch li { margin: 0; }
.form-switch .form-tab {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 46px; padding: 8px 24px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.95rem; font-family: inherit; cursor: pointer;
  background: var(--color-surface); color: var(--color-primary-dark); border: 2px solid var(--color-primary);
  transition: all 0.2s ease;
}
.form-switch .form-tab:hover { background: var(--color-bg-alt); opacity: 1; }
.form-switch .form-tab[aria-selected="true"] {
  background: var(--color-primary-dark); color: #fff; border-color: var(--color-primary-dark);
  box-shadow: 0 4px 12px rgba(92, 74, 68, 0.18);
}
.contact-block { margin-bottom: 32px; scroll-margin-top: 140px; }
.contact-block[hidden] { display: none !important; }
.contact-block h3 { color: var(--color-primary-dark); }

/* ---------- スマホ下部固定バー ---------- */
.mobile-fixed-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 12px rgba(92, 74, 68, 0.10);
}
.mobile-fixed-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.92rem; text-decoration: none;
}
.fixed-bar-tel { background: var(--color-surface); color: var(--color-primary-dark); border: 2px solid var(--color-primary-dark); }
.fixed-bar-visit { background: var(--color-primary-dark); color: #fff; border: 2px solid var(--color-primary-dark); }

/* =========================================================
   PC（768px以上）
   ========================================================= */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-fixed-bar { display: none; }

  .nav-toggle { display: none; }
  .header-inner { flex-wrap: nowrap; }
  .js .global-nav, .global-nav {
    display: flex; position: static; align-items: center; justify-content: flex-end;
    gap: 4px; width: auto; flex: 1; background: transparent; border: none; box-shadow: none; padding: 0;
  }
  .global-nav-list { display: flex; align-items: center; gap: 2px; }
  .global-nav-list li { border-bottom: none; }
  .global-nav-list a {
    padding: 9px 14px; font-size: 0.9rem; border-radius: var(--radius-pill);
    background: var(--color-surface); border: 1px solid var(--color-border);
  }
  .global-nav-list a:hover { background: var(--color-bg-alt); }
  .global-nav-list a[aria-current="page"] { background: var(--color-bg-alt); border-color: var(--color-primary); }
  .nav-cta-item { padding-top: 0; margin-left: 6px; }
  .nav-cta-item a { border: none; }

  .section { padding-block: 68px; }
  .section-title { font-size: 1.7rem; }

  .hero { padding: 44px 24px 56px; }
  .hero-catch { font-size: 2rem; }
  .hero-buttons { flex-direction: row; justify-content: center; }
  .hero-buttons .btn { width: auto; }

  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .link-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .season-grid { grid-template-columns: repeat(2, 1fr); }
  .day-columns { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .voice-card { flex-direction: row; align-items: center; padding: 32px; gap: 36px; }
  .voice-card:nth-child(even) { flex-direction: row-reverse; }
  .voice-img-wrap { width: 35%; max-width: 280px; }
  .voice-img-wrap img { height: 200px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .media-block { grid-template-columns: 1fr 1fr; gap: 40px; }
  .media-block.reverse > img,
  .media-block.reverse > .photo-tabs,
  .media-block.reverse > .deco-scallop-ring-wrap { order: 2; }

  .footer-inner { grid-template-columns: 1fr 1.3fr; padding: 30px 24px 18px; }
  .footer-nav ul { grid-template-columns: repeat(3, 1fr); }

  .contact-form { padding: 36px; }
  .article { padding: 36px 44px; }
  .page-title { font-size: 2rem; }
  .cutout-dove { width: 84px; }
}

/* ---------- 写真タブ切り替え（園の生活・年間行事） ---------- */
.photo-tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
.photo-tab {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  padding: 8px 18px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.photo-tab:hover { border-color: var(--color-primary); color: var(--color-primary-dark); }
.photo-tab:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.photo-tab[aria-selected="true"] {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  font-weight: 700;
}

/* ---------- アニメーション控えめ設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 言語切り替え サブバー（細い帯） ---------- */
.lang-bar {
  background: #faeef0;
  border-top: 1px solid #f3d7df;
  border-bottom: 1px solid #f3d7df;
  padding: 4px 16px;
}
.lang-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  max-width: 1100px;
  margin-inline: auto;
}
.lang-switch-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary, #ad5a72);
}
.lang-select {
  min-height: 28px;
  padding: 2px 8px;
  font: inherit;
  font-size: 0.85rem;
  color: inherit;
  background: #ffffff;
  border: 1px solid #e2b3c0;
  border-radius: 6px;
}

/* 英語表示時のタイトル見切れ防止・2段組み対応 */
html[lang="en"] .site-logo-text {
  white-space: normal;
  word-break: break-word;
  line-height: 1.25;
}

/* 本園・分園のカスタムレイアウト（PC 2カラム / スマホ 1カラム指定順序） */
.campus-layout-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 769px) {
  .campus-layout-container {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "photo tables"
      "info  map";
    gap: 24px;
  }
  .campus-part-photo  { grid-area: photo; }
  .campus-part-info   { grid-area: info; }
  .campus-part-tables { grid-area: tables; }
  .campus-part-map    { grid-area: map; }
}

@media (max-width: 768px) {
  .campus-layout-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .campus-part-photo  { order: 1; }
  .campus-part-tables { order: 2; }
  .campus-part-info   { order: 3; }
  .campus-part-map    { order: 4; }
}

/* ---------- 現在募集中の職種クイック案内 ---------- */
.job-nav-box {
  background: var(--color-surface);
  border: 2px solid var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-soft);
}
.job-nav-header {
  margin-bottom: 14px;
}
.job-nav-badge {
  display: inline-block;
  background: var(--color-bg-alt);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(173, 90, 114, 0.2);
}
.job-nav-sub {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 6px;
  margin-bottom: 0;
}
.job-nav-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .job-nav-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.job-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg);
  padding: 14px 18px;
  border-radius: calc(var(--radius) - 4px);
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.25s ease;
  border: 1.5px solid var(--color-bg-alt);
}
.job-nav-item:hover {
  background: var(--color-surface);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.job-nav-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--color-primary-dark);
}
.job-nav-action {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  white-space: nowrap;
}


