/* WordPress化で足したもの（アーティファクトに無い部分だけ）。2026-11-30 */

/* スマホのメニュー（アーティファクトではハンバーガーが未実装だった） */
@media (max-width: 900px) {
  .hd.is-open .gnav { display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 6px 20px 18px; box-shadow: 0 10px 24px rgba(70,80,50,.12);
    max-height: calc(100vh - 70px); overflow-y: auto; }
  .hd.is-open .gnav ul { flex-direction: column; gap: 0; }
  .hd.is-open .gnav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .hd.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hd.is-open .burger span:nth-child(2) { opacity: 0; }
  .hd.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .burger span { transition: transform .2s, opacity .2s; }
}
.gnav a[aria-current="page"] { color: var(--deep); }

/* ブログ一覧の絞り込み：ボタン→リンクにしたので同じ見た目に */
.chipnav a { display: inline-block; padding: .45em 1.15em; border-radius: 99px; background: var(--surface, #fff);
  border: 1px solid var(--line-strong); font-size: .85rem; text-decoration: none; font-weight: 700;
  color: var(--ink); transition: all .2s; }
.chipnav a:hover { background: var(--green-tint); border-color: var(--lime); }
.chipnav a[aria-current="page"] { background: var(--green); border-color: var(--green); color: #fff; }

/* 画像のない記事のサムネイル */
.blog__img--none { display: block; aspect-ratio: 4/3; background: var(--lime-tint); }

/* 記事本文（旧サイトの記事をそのまま表示するため） */
.post__body img { height: auto; }
.post__body .wp-block-image, .post__body figure { margin: 1.2em 0; }
.post__body .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.post__body .aligncenter img { margin: 0 auto; }
.post__body .wp-block-gallery, .post__body .blocks-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; list-style: none; padding: 0; }
.post__body .wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; }
.post__body iframe { max-width: 100%; }
.post__body table { border-collapse: collapse; max-width: 100%; }
.post__body td, .post__body th { border: 1px solid var(--line); padding: 6px 10px; }

/* 汎用ページ（アーティファクトの無い固定ページ） */
.pman-generic { max-width: 860px; margin: 0 auto; padding: 48px 0 72px; }
.pman-voice-body { margin-top: 8px; }

/* 旧サイトのブロック（記事内） */
.pman-sub { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.4em 0; }
.pman-sub__a { display: inline-block; padding: .35em 1em; border-radius: 99px; border: 1px solid var(--line-strong);
  font-size: .85rem; text-decoration: none; background: #fff; }
.pman-sub__a:hover { border-color: var(--green); color: var(--deep); }
.pman-btitle { font-weight: 900; font-size: 1.15rem; margin: 1.6em 0 .8em; padding-left: 11px; border-left: 4px solid var(--green); line-height: 1.5; }

/* フォーム送信エラー（WordPress化で追加） */
.pman-send-err { margin: 14px auto 0; max-width: 640px; padding: 12px 16px; border-radius: 10px;
  background: #fdecea; color: #a12a1a; font-weight: 700; font-size: .92rem; line-height: 1.7; text-align: left; }
.btns2 button[disabled] { opacity: .6; cursor: wait; }

/* 各園ページ：外観写真はトップの保育園一覧の小さい画像なので、大きく引き伸ばさない */
.info__ph { aspect-ratio: 1/1; max-width: 300px; }
.info--nophoto { grid-template-columns: 1fr; }
.info .info__ph { justify-self: center; width: 100%; }

/* 両サイドの縦帯を削除（11/30）：帯の分の余白も無くす */
:root { --rail: 0px; }
.rail { display: none !important; }

/* トップのバナー：インスタグラム1つだけ（11/30） */
.bnrs__grid--one { grid-template-columns: 1fr; max-width: 431px; }

/* トップの「2027年度入園申込み」と「生きる力の土台を育む」の背景＝当園についての #aim と同じ（11/30） */
.sec.sec--ground { background: #faf7e6; }

/* 11/30 はたらく子育て応援サポートのアコーディオン（料金表のバーと同じ形） */
.ptbl-tag--disc{background:#c6760e}
.disc-acc .nfee__grid{margin:0;padding:16px;border:2px solid #c6760e;border-top:0;border-radius:0 0 var(--r) var(--r);background:#fff}
