/* フッターのテキストウィジェット内SNS（#text-11）を横並びに */
#footer #text-11 .textwidget ul{
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

#footer #text-11 .textwidget li{
  margin: 0;
}
/* Instagram */
#footer #text-11 .textwidget a[href*="instagram"]:hover i {
  color: #e1306c;
}

/* X（旧Twitter） */
#footer #text-11 .textwidget a[href*="x.com"]:hover i,
#footer #text-11 .textwidget a[href*="twitter"]:hover i {
  color: #000000;
}

/* LINE */
#footer #text-11 .textwidget a[href*="line"]:hover i {
  color: #06c755;
}

/* Facebook */
#footer #text-11 .textwidget a[href*="facebook"]:hover i {
  color: #1877f2;
}
#footer #text-11 .textwidget a[href*="fb.com"]:hover i {
  color: #1877f2;
}
/* トップページ：ブログ一覧（最新の投稿ブロック）の「タイトル帯」背景色＆文字色 */
.home .wp-block-latest-posts__list.is-grid li .entry-title a,
.home .wp-block-latest-posts__list.is-grid li .wp-block-latest-posts__post-title {
  display: block;
  background: #4fa3d1; /* ←ここを好きな色に */
  color: #fff;
  padding: 14px 16px;
  text-decoration: none;
  font-weight: 700;
}
.home .wp-block-latest-posts__list.is-grid li .entry-title a:hover,
.home .wp-block-latest-posts__list.is-grid li .wp-block-latest-posts__post-title:hover {
  background: #3b8db7; /* ←ホバー時の色 */
  color: #fff;
}
/* トップページ：ブログ一覧タイトルを角丸にする */
.home .wp-block-latest-posts__list.is-grid li .entry-title a,
.home .wp-block-latest-posts__list.is-grid li .wp-block-latest-posts__post-title {
  border-radius: 12px;
}
/* トップページ：最新の投稿（grid）3件を確実に色分け */
.home .wp-block-latest-posts__list.is-grid li:nth-child(1) {
  background: #ec9191;
}

.home .wp-block-latest-posts__list.is-grid li:nth-child(2) {
  background: #93c9da;
}

.home .wp-block-latest-posts__list.is-grid li:nth-child(3) {
  background: #94e29c;
}

/* タイトル部分を透過して親の色を見せる */
.home .wp-block-latest-posts__list.is-grid li .entry-title a,
.home .wp-block-latest-posts__list.is-grid li .wp-block-latest-posts__post-title {
  background: transparent !important;
  color: #333333;
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
}
/* トップページ：ブログ一覧カードを角丸にする */
.home .wp-block-latest-posts__list.is-grid li {
  border-radius: 16px;
  overflow: hidden; /* ← これが超重要 */
}
/* トップページ：ブログカード hoverで確実に浮かせる */
.home .wp-block-latest-posts__list.is-grid li {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.home .wp-block-latest-posts__list.is-grid li:hover {
  transform: translate3d(0, -4px, 0) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  z-index: 2;
}
/* ホバー時：矢印アイコンを表示 */
.home .wp-block-latest-posts__list.is-grid li {
  position: relative;
}

/* 矢印のベース */
.home .wp-block-latest-posts__list.is-grid li::before {
  content: "→";
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none; /* クリック邪魔しない */
}

/* ホバー時に表示 */
.home .wp-block-latest-posts__list.is-grid li:hover::before {
  opacity: 1;
  transform: translateX(0);
}
/* ホバー時：カード背景を少し明るく */
.home .wp-block-latest-posts__list.is-grid li {
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.home .wp-block-latest-posts__list.is-grid li:hover {
  filter: brightness(1.08);
}
/* カード全体をクリック可能にする（確実版） */
.home .wp-block-latest-posts__list.is-grid li {
  position: relative;
}

.home .wp-block-latest-posts__list.is-grid li a {
  position: static;
}

/* タイトルリンクをカード全体に広げる */
.home .wp-block-latest-posts__list.is-grid li a::after {
  content: "";
  position: absolute;
  inset: 0;
}
/* トップページ：ブログ一覧をフル幅＋読みやすい余白にする */
.home .wp-block-swell-post-list {
  max-width: 1200px;   /* 中身の最大幅（1100〜1200がおすすめ） */
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px; /* 左右の余白 */
  padding-right: 24px;
}
/**重なったテキストの背景を半透明に**/
.has-white-background-color {
	background-color:#fff9!important;
}


/* フッターSNSアイコン（Font Awesome）を大きくする */
footer .l-footer i.fa-brands {
  font-size: 32px;   /* ← 好きな大きさに変更 */
}
/* アイコン同士の間隔 */
footer .l-footer li {
  margin-right: 14px;
}
/* フッターSNSアイコンを確実に大きくする */
footer .l-footer .textwidget a i.fa-brands {
  font-size: 32px;
}
footer .l-footer .textwidget a {
  display: inline-block;
}

footer .l-footer .textwidget a i.fa-brands {
  font-size: 32px;
  line-height: 1;
}
/* フッターSNS：サイズが小さく戻らないように固定 */
#footer .textwidget a i.fa-brands{
  font-size: 32px !important;
  line-height: 1 !important;
}

/* クリックしやすく（任意） */
#footer .textwidget a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
/* フッターSNSアイコン：分かりやすいホバー演出 */
#footer .textwidget a i.fa-brands {
  font-size: 32px;
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

/* ホバー時 */
#footer .textwidget a:hover i.fa-brands {
  transform: translateY(-4px) scale(1.15);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  opacity: 0.9;
}
/* Googleマップで開く ボタン（確実に効く指定） */
.map-button-wrap {
  text-align: center;
  margin: 24px 0 40px;
}

.map-button-wrap a.map-button {
  display: inline-block;
  padding: 14px 26px;
  background-color: #4fa3d1;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.map-button-wrap a.map-button:hover {
  background-color: #3b8db9;
  transform: translateY(-2px);
}
/* アクセス情報（住所・電話） */
.access-info {
  text-align: center;
  margin: 0 0 16px;
}

.access-address {
  margin: 0 0 6px;
  line-height: 1.6;
}

.access-tel {
  margin: 0;
  font-weight: 600;
}

.access-tel a {
  color: inherit;
  text-decoration: none;
}

.access-tel a:hover {
  text-decoration: underline;
}
/* ===== スマホ固定CTA（フッター） ===== */
.sp-fixed-cta {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 10px;
  z-index: 9999;
}

.sp-fixed-cta .cta-btn {
  flex: 1;
  padding: 14px 0;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* お問い合わせ */
.sp-fixed-cta .cta-contact {
  background: #f3f6fb;
  color: #2c4a7a;
}

/* 電話 */
.sp-fixed-cta .cta-tel {
  background: #eaf6f1;
  color: #1f7a5a;
}

/* タップ時の反応 */
.sp-fixed-cta .cta-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* PCでは非表示 */
@media (min-width: 768px) {
  .sp-fixed-cta {
    display: none;
  }
}

/* ===== スマホ固定CTA（フッター） ===== */
.sp-fixed-cta {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 10px;
  z-index: 9999;
}

.sp-fixed-cta .cta-btn {
  flex: 1;
  padding: 14px 0;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* お問い合わせ */
.sp-fixed-cta .cta-contact {
  background: #f3f6fb;
  color: #2c4a7a;
}

/* 電話 */
.sp-fixed-cta .cta-tel {
  background: #eaf6f1;
  color: #1f7a5a;
}

/* タップ時の反応 */
.sp-fixed-cta .cta-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* PCでは非表示 */
@media (min-width: 768px) {
  .sp-fixed-cta {
    display: none;
  }
}
.card-box {
  border-radius: 16px;
  overflow: hidden;
}
