.ggmap {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
  
.ggmap iframe,
.ggmap object,
.ggmap embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

/* 上段バー：ふじみ野・草加リンクだけ消す（安全） */
a[href*="/fujimino/"],
a[href*="/soka/"]{
  display: none !important;
}

/* ブログ一覧：カードはみ出し防止 */
#blog_list .item {
  overflow: hidden !important;
}
#blog_list h4.title {
  max-height: 82px !important;
  overflow: hidden !important;
}
#blog_list .meta {
  max-height: 40px !important;
  overflow: hidden !important;
}
#index_blog_list .item {
  overflow: hidden !important;
}
#index_blog_list h4.title {
  max-height: 82px !important;
  overflow: hidden !important;
}

/* ===== Blog Pagination Fix (CSS-only) ===== */
.page_navi ul.page-numbers {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
  list-style: none;
}
.page_navi ul.page-numbers li {
  display: none;
}
/* Show first 3 items */
.page_navi ul.page-numbers li:nth-child(-n+3) {
  display: block;
}
/* Show last 3 items */
.page_navi ul.page-numbers li:nth-last-child(-n+3) {
  display: block;
}
/* Show current page and neighbors via :has() */
.page_navi ul.page-numbers li:has(.current) {
  display: block;
}
.page_navi ul.page-numbers li:has(.current) + li {
  display: block;
}
.page_navi ul.page-numbers li:has(+ li .current) {
  display: block;
}
/* Ellipsis after 3rd item */
.page_navi ul.page-numbers li:nth-child(3)::after {
  content: "...";
  display: inline-block;
  margin-left: 8px;
  color: #999;
  font-size: 14px;
}
/* Ellipsis before last 3 (if not adjacent to first 3) */
.page_navi ul.page-numbers li:nth-last-child(3)::before {
  content: "...";
  display: inline-block;
  margin-right: 8px;
  color: #999;
  font-size: 14px;
}
/* Style page numbers */
.page_navi ul.page-numbers li a,
.page_navi ul.page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #ddd;
  color: #333;
}
/* Current page style */
.page_navi ul.page-numbers li span.current {
  background: #333;
  color: #fff;
  border-color: #333;
}
/* Next arrow after last visible item */
.page_navi ul.page-numbers::after {
  content: "\203A";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  font-size: 22px;
  font-weight: bold;
  background: #333;
  color: #fff;
  border-radius: 4px;
  margin-left: 4px;
}
