@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


/* ==============================
   Opening（最初のロゴ・テキスト）
================================ */

html.no-scroll,
body.no-scroll {
  overflow: hidden !important;
}

/* opening本体 */
#opening {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh !important;
  background: #bae4c6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  text-align: center;
}

/* ロゴ */
.opening-logo {
  width: 200px;
  height: auto;
}

/* テキスト */
.opening-text {
  font-size: 36px;
  font-family: "Kosugi Maru", sans-serif;
  margin-top: 25px;
  color: #333;
  opacity: 0;
  animation: fadeInText 1s ease forwards;
  animation-delay: 0.5s;
}

/* 本体はopening終了まで隠す */
body:not(.loaded) .hero,
body:not(.loaded) .k-dogs-intro,
body:not(.loaded) .l-main,
body:not(.loaded) .intro-box {
  opacity: 0;
  visibility: hidden;
}

/* opening終了後 */
body.loaded .hero,
body.loaded .k-dogs-intro,
body.loaded .l-main,
body.loaded .intro-box {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease;
}

/* opening終了後にヘッダー表示 */
body.loaded #header{
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
}

/* ===============================
   2回目以降：ヒーローを即表示
=============================== */

html.opening-done .hero {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  transition: none !important;
}

/* タイトルアニメーション停止 */

html.opening-done .hero .main-title,
html.opening-done .hero .line1,
html.opening-done .hero .line2 {

  opacity: 1 !important;
  transform: none !important;

  animation: none !important;
  animation-delay: 0s !important;

  transition: none !important;
  transition-delay: 0s !important;

}

/* タイトル位置固定 */

html.opening-done .hero .main-title {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

/* ===============================
   opening後に白カードを少し遅らせる
=============================== */

body.loaded .k-dogs-intro{
  animation: introFade 0.8s ease forwards;
  animation-delay: .3s;
  opacity:0;
}

@keyframes introFade{
  from{
    opacity:0;
    transform:translateY(10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* フェードイン */
@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================
   opening　スマホ
========================= */
@media (max-width:767px){

#opening .opening-text{
    font-size:14px;
    padding: 0 16px;
  }

  .opening-line1{
    display: inline-block;
    white-space: nowrap;
    transform: scale(0.92);
    transform-origin: center;
  }

}

/* =========================
   opening（タブレット）
========================= */
/* タブレット */
@media (min-width:768px) and (max-width:1024px){

.opening-logo{
  width:250px !important;
}

#opening .opening-text{
  font-size:28px;
}

}

/* =================
   　ヘッダー
=================== */

/* オープニングはヘッダーを隠す */
#header {
  opacity: 0;
  transition: opacity 1s ease;
}

#header.visible {
  opacity: 1;
}

/* ナビ文字（フォント確定） */
/* ヘッダーメニューを縦並びにする */
.c-gnav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #222;
}

/* アイコン共通 */
.c-gnav a::before {
  content: "";
  width: 26px;
  height: 26px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}

/* HOME */
.c-gnav a[href$="/"]::before {
  background-image: url("https://kitakyu-dogs.com/wp-content/uploads/2026/01/home.png");
}

/* HOMEを強制的に表示 */
.c-gnav li:first-child {
  display: block !important;
}

/* イベント */
.c-gnav a[href*="event"]::before {
  background-image: url("https://kitakyu-dogs.com/wp-content/uploads/2025/12/event_icon.png");
}

/* ウチの子自慢 */
.c-gnav a[href*="jiman"]::before {
  background-image: url("https://kitakyu-dogs.com/wp-content/uploads/2025/12/camera.png");
}

/* 動物病院 */
.c-gnav a[href*="hospital"]::before {
  background-image: url("https://kitakyu-dogs.com/wp-content/uploads/2025/12/hospital_icon.png");
}

/* ドッグラン */
.c-gnav a[href*="run"]::before {
  background-image: url("https://kitakyu-dogs.com/wp-content/uploads/2026/01/run_icon.png");
}

/* ドッグサロン */
.c-gnav a[href*="salon"]::before {
  background-image: url("https://kitakyu-dogs.com/wp-content/uploads/2025/12/salon_icon.png");
}

/* カフェ */
.c-gnav a[href*="cafe"]::before {
  background-image: url("https://kitakyu-dogs.com/wp-content/uploads/2025/12/cafe_icon.png");
}

/* 買い物 */
.c-gnav a[href*="shopping"]::before {
  background-image: url("https://kitakyu-dogs.com/wp-content/uploads/2025/12/shopping_icon.png");
}

/* ペットホテル */
.c-gnav a[href*="hotel"]::before {
  background-image: url("https://kitakyu-dogs.com/wp-content/uploads/2025/12/1.png");
}

/* 保育園 */
.c-gnav a[href*="hoikuen"]::before {
  background-image: url("https://kitakyu-dogs.com/wp-content/uploads/2026/01/hoikuen-icon.png");
}

/* サブメニュー */
.c-gnav .sub-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    line-height: 1.6;
  }

.c-gnav .sub-menu a::before {
    margin-left: 10px;
    margin-right: 12px;
  }

/* 保育園（hoikuen）配下のサブメニューだけ */
.c-gnav li.menu-item-has-children > a[href*="hoikuen"] 
+ .sub-menu a { 
  font-size: 11px;
  gap: 17px;
  padding: 6px 14px;
  line-height: 1.5;
}

/* 保育園（親メニュー）だけ文字サイズを小さく */
.c-gnav > li > a[href*="hoikuen"] {
  font-size: 11px !important;
  line-height: 1.3;
}

/* アイコンの大きさ */
.c-gnav li.menu-item-has-children > a[href*="hoikuen"]
+ .sub-menu a::before {
  width: 20px;
  height: 20px;
}

/* 区切り線を入れる（最後以外） */
.c-gnav li:not(:last-child) {
  position: relative;
}

.c-gnav li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #222;
}

/* currentだけ色背景 */
.c-gnav .current-menu-item > a {
  background-color: rgba(143, 211, 166, 0.25); /* グリーン系・薄め */
}


/* オープニング後すぐのヘッダーも横並びに強制する */
.l-header.-parallel .l-header__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  flex-direction: row !important;
}

/* ロゴ左・メニュー右を固定 */
.l-header__logo {
  order: 1 !important;
}

.l-header__gnav {
  order: 2 !important;
}

/* PCでは非表示（スマホ専用メニュー） */
@media screen and (min-width: 961px) {
  .menu-sp-only {
    display: none !important;
  }
}

/* ハンバーガーメニュー下にロゴ追加 */
@media screen and (max-width: 960px) {
	
  .sp-bottom-logo-link {
    display: block;
    width: 100%;
    height: 220px;   /* ロゴ全体の高さに合わせる */
    position: absolute;
    bottom: 0;
    left: 0;
  }
	
 .p-spMenu__body .p-spMenu__list > li > a {
    border-bottom: 1px solid rgba(255,255,255,0.35);
    padding-top: 16px;
    padding-bottom: 16px;
    border-radius: 6px;
  }
	
  .p-spMenu__body > div > ul > li > a {
    font-weight: 700 !important;
  }

  .p-spMenu__body {
    position: relative;
  }
		
  .sp-menu-bottom-logo {
    text-align: center;
    padding: 40px 0 30px;
  }

  .sp-menu-bottom-logo a {
    text-decoration: none;
    color: #333;
    display: inline-block;
  }

  .sp-menu-bottom-logo img {
    width: 90px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    opacity: 0.8;
  }

  .sp-menu-bottom-logo span {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    font-family: "Bungee", sans-serif !important;
  }

}

@media screen and (min-width: 961px) {
  .c-gnav .menu-item:first-child {
    display: none;
  }
}

/* ===========================
   HOME（犬イラスト部分）
=========================== */
#post_slider {
  display: none !important;
}

.hero {
  height: 100vh;
  background-color: #bae4c6;
  background-image: url("https://kitakyu-dogs.com/wp-content/uploads/2026/03/top_img.webp");
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
}

.main-title {
  position: absolute;
  left: 50%;
  top:20px !important;
  transform: translateX(-50%);
  font-family: "Bungee", sans-serif !important;
  color: #fe5226;
  opacity: 0;
  z-index: 2;
}

.hero h1.main-title.line1 {
  top: 1.3% !important;
  font-size: 120px !important;
  animation: slideInCenter 1.2s ease-out forwards;
  animation-delay: 4.5s;
}

.hero h1.main-title.line2 {
  top: 16% !important;
  font-size: 120px !important;
  animation: slideInCenter 1.2s ease-out forwards;
  animation-delay: 5.0s;
}

@keyframes slideInCenter {
  0% { transform: translateX(-150%); opacity: 0; }
  100% { transform: translateX(-50%); opacity: 1; }
}

/* ===================================
   HOME（犬のイラスト）タブレット調整
===================================== */
@media (min-width: 768px) and (max-width: 900px){

.hero{
  background-size: 90% !important;
}

.hero h1.main-title.line1{
  font-size: 90px !important;
  top: 3% !important;
}

.hero h1.main-title.line2{
  font-size: 90px !important;
  top: 14% !important;
}

}

/* =====================
    KITAKYU DOGS!とは
======================= *

/* 外側のグリーン背景エリア */
.k-dogs-intro-wrap {
 padding: 10px 0 100px;
}

/* 紹介エリア全体 */
.k-dogs-intro {
  background-color: #fff;
  border-radius: 20px;
  max-width: 800px;
  margin: 0 auto !important;
  padding: 60px 40px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);  
  color: #333;
  font-family: "Kosugi Maru", sans-serif !important;
  display: block !important;
}

/* タイトルとロゴ */
.k-dogs-title {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e55d6e;
  font-size: 36px !important;
  font-weight: 800 !important;
  margin-bottom: 4px !important;
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
  letter-spacing: 1px;
  white-space: nowrap;
  font-family: "Bungee", "M PLUS 1p", sans-serif;
}

.k-dogs-logo {
  width: 90px;
  height: auto;
  margin-right: 15px;
}

/* 本文の太さと字体 */
.k-dogs-text p {
  font-size: 16px !important;
  line-height: 1.9;
  margin-bottom: 1.5em;
  font-weight: 500;
  text-align: center;
}

.k-dogs-heading{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.k-dogs-title{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:4px !important;
}

.kd-reading{
  margin-top:0;
  font-size:13px;
  color: #e55d6e;
  letter-spacing:2px;
  text-align:center;
  transform: translateY(-30px);
}

.k-dogs-highlight {
  font-weight: 700;
  background: linear-gradient(transparent 70%, #fdeff2 70%);
}

/* お願いBOX：細いピンク線で囲む */
.k-dogs-request-box {
  background-color: #fffafb;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid #e55d6e;
  margin-top: 20px;
}

.k-dogs-request-title {
  display: block;
  font-weight: 800;
  color: #e55d6e;
  font-size: 18px;
  text-align: center;
  margin-bottom: 15px;
}

.k-dogs-example {
  display: block;
  font-size: 13px;
  color: #999;
  margin-bottom: 20px;
}

/* Contact Form 7 を馴染ませる */
.k-dogs-form-wrapper input[type="text"],
.k-dogs-form-wrapper input[type="email"],
.k-dogs-form-wrapper textarea {
  width: 100%;
  border: 1px solid #fce4e8 !important;
  border-radius: 10px !important;
  padding: 12px !important;
  font-family: inherit !important;
  background: #fff !important;
}

.k-dogs-form-wrapper input[type="submit"] {
  display: block;
  margin: 20px auto 0;
  padding: 12px 50px;
  background-color: #e55d6e;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s;
}

.k-dogs-closing {
  margin-top: 25px;
  font-weight: 700;
  color: #e55d6e;
  font-size: 15px;
  line-height: 1.6;
}

/* アニメーション */
@keyframes fadeUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}


/* ==================
   情報シェアボタン
==================== */
/* チェックボックスは消す */
.k-dogs-toggle {
  display: none;
}

/* ボタンデザイン */
.k-dogs-btn {
  display: inline-block;
  background: #f478a3;
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.k-dogs-btn:hover {
  background: #f478a3;
}

/* ホバー */
.k-dogs-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #c44d5c;
}

/* 押したとき */
.k-dogs-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #c44d5c;
}

/* フォーム初期非表示 */
.k-dogs-form-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s ease;
}

/* チェックされたら表示 */
.k-dogs-toggle:checked + .k-dogs-btn + .k-dogs-form-content {
  max-height: 1000px;
  opacity: 1;
  margin-top: 20px;
}

.k-dogs-toggle-area {
  text-align: center;
}

/* =================
   フォーム
=================== */
/* フォーム全体は左揃えに戻す */
.kd-form {
  text-align: left;
  font-weight: 500;
  line-height: 1.7;
}

/* ラベルも強制左寄せ */
.kd-form label,
.kd-form p {
  text-align: left;
}

/* ラベルを軽くする */
.kd-form label {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 16px;
  display: block;
}

/* 必須ラベル */
.kd-form .required {
  font-size: 12px;
  color: #e55d6e;
  font-weight: 700;
  margin-left: 6px;
}

/* チェックボックス間隔 */
.kd-form .wpcf7-list-item {
  margin-right: 14px;
}

/* 入力欄の余白を少し広げる */
.kd-form input,
.kd-form textarea,
.kd-form select {
  margin-top: 6px;
}

.form-note{
  display:block !important;
  width:100% !important;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: break-word;
}

.k-dogs-form-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s ease;
}

.k-dogs-toggle:checked + .k-dogs-btn + .k-dogs-form-content {
  max-height: 2000px; /* 1000より余裕もたせる */
  opacity: 1;
  margin-top: 20px;
}

/* ========================
   KITAKYU DOGS!とは スマホ
=========================== */
@media screen and (max-width: 768px) {

  .k-dogs-intro-wrap {
  padding: 50px 0 30px;  /* 上下のグリーンの高さ */
}
	
/* KITAKYU DOGS!とは */
.k-dogs-intro {
    width: 87% !important;
    margin: 40px auto 60px !important; 
    padding: 40px 20px !important;
  }

  .k-dogs-title {
    font-size: 24px !important;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
	
.k-dogs-text p {
	text-align: left;
	}
	
 p.kd-reading {
    font-size: 10px !important;
    line-height: 1.4 !important;
    transform: translateY(-9px) !important;
  }

  .k-dogs-logo { width: 80px; margin: 0; }
  .k-dogs-text p { font-size: 15px; }
  .k-dogs-request-box { padding: 20px 15px; }

.k-dogs-request-content {
	text-align: left;
	}
	
.kd-form input[type="submit"] {
    width: 85%;          /* 横幅を少し小さく */
    padding: 12px 20px;  /* 高さを少し抑える */
    font-size: 15px;     /* 文字少し小さく */
    border-radius: 12px; /* 少し丸み抑えめ */
  }

 .k-dogs-content {
    padding-bottom: 40px !important;
  }

.kd-form input[type="submit"] {
    width: 70% !important;      /* 横幅を少し小さく */
    padding: 10px 16px !important; /* 高さをコンパクトに */
    font-size: 14px !important; /* 文字少し小さく */
    border-radius: 10px !important;
  }
	
.k-dogs-example {
	font-size: 12px;
　　word-break: break-word;
    overflow-wrap: break-word;
	}
	
.nowrap{
  white-space: nowrap;
}
		
}


@media screen and (min-width: 769px) {
  .form-note {
    white-space: nowrap;
  }
}

/* ==============================
   KITAKYU DOGS!とは タブレット
================================= */
/* タブレット */
@media (min-width:768px) and (max-width:1024px){

.k-dogs-intro-wrap{
  padding:80px 0 100px;
}

}

/* ==============
    NEWS
================= */
/* NEWS見出しのスタイル設定 */
h2.news-heading {
  font-size: 50px !important;
  color: #FE5226 !important;
  font-weight: 800 !important;
  letter-spacing: 3px !important;
  background: transparent !important;
  margin-bottom: 20px !important; /* 下との余白調整 */
}

.news-box {
  border: 3px solid #000; 

  border-radius: 16px;
  padding: 40px;
  background: #fff;
  margin: 180px auto 120px;
}

.news-wrap {
  padding: 60px 0 60px;
}


/* ==============
    NEWS スマホ
================= */
@media (max-width: 767px) {
  /* 1. フルワイドブロックが作る「見えない壁」を強制破壊 */
  .swell-block-fullWide__inner,
  .is-layout-constrained.wp-block-group-is-layout-constrained {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 2. グリーンボックス（news-box）を物理的に絞り込む */
  div.wp-block-group.news-box {
    width: 90% !important;
    max-width: none !important;
    margin: 40px auto !important;
    padding: 20px 15px !important;
    display: block !important;
    min-width: 0 !important;
  }

  /* 3. 見出しのサイズを箱に合わせる */
  h2.news-heading {
    font-size: 32px !important;
    text-align: left !important;
	letter-spacing:1px !important;
  }

.news-wrap { 
padding: 50px 0 50px !important;
 }

}

/* ===================
     HOME イベント 
===================== */
.home-event-pickup {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 16px;
}

.home-event-header {
  margin: 60px 0 30px; /* 上・下 */
}

/* セクションタイトル */
.home-event-title {
  font-size: 32px !important; /* 少し調整 */
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.home-event-title-icon {
  width: 45px;
  height: auto;
}

/* Swiper周り */
.home-event-swiper .swiper-wrapper {
  display: flex !important;
  align-items: stretch !important; /* これでスライドの高さを強制的に揃える */
}

.home-event-swiper .swiper-slide {
  height: auto !important; /* 中身のカードに高さを合わせる */
  display: flex !important;
}

/* --- Card本体 --- */
.home-event-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  width: 100%;
  border: 3px solid #000;
  box-sizing: border-box;
  transition: 0.3s;
  padding-top: 8px;
}

/* サムネイル全体を中央寄せ（縦・横） */
.event-thumb {
  height: 120px;
  padding: 0 !important;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;

}

.event-thumb img {
  width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  max-height: 100%;
  max-width: 170px;
  transform: translateY(15px);
}

/* テキストエリア */
.event-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* 内容の上半分（タイトルまで） */
.event-info-main {
  flex: 1; 
}

.event-date {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
  display: block;
}

.event-title {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  margin: 10px 0 !important;
  /* 2行で高さを固定 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em; 
}

.event-location {
  font-size: 13px;
  color: #666;
  margin: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

/* 下半分のタグエリア（常にカード最下部に固定） */
.event-meta {
  margin-top: auto; /* これが重要！ */
  padding-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.event-area, .event-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.event-area { background: #ffece3; color: #e9775d; }
.event-tag { background: #e6f4ee; color: #58ad8d; }

.event-wrap {
  padding: 10px 0 60px !important;
}


/* PC：3枚並び */
@media (min-width: 1024px) {
  .home-event-swiper .swiper-slide {
    width: calc(33.333% - 22px) !important;
    margin-right: 32px !important;
  }
}

@media (max-width: 767px) {
  .event-wrap {
    padding: 10px 0 50px !important;
   margin-top: 0 !important;
  }

}



/* ===============================
   HOME イベント「一覧はこちら→」
================================= */

.home-event-more {
  margin: 50px 0 0;
  text-align: center;
}

.home-event-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 999px;
  background: #888;      /* グレー */
  color: #fff;           /* 文字は白 */
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* → 矢印 */
.home-event-more-btn::after {
  content: "→";
  transition: transform 0.3s ease;
}

/* hover */
@media (hover: hover) {
  .home-event-more-btn:hover {
    background: #666;
  }

  .home-event-more-btn:hover::after {
    transform: translateX(4px);
  }
}



/* スマホ・タブレット（1023px以下） */
@media (max-width: 1023px) {
  .home-event-swiper .swiper-slide {
    width: 80% !important; /*の細長さを解消 */
    margin-right: 16px !important;
  }
  
  .home-event-title {
    font-size: 24px !important;
  }
  
  .event-title {
    font-size: 16px;
  }
}

/* Hover効果 */
@media (hover: hover) {
  .home-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  }
}


/* ===================
         MENU
===================== */
section.nav-section .nav-title {
  text-align: center;
  font-size: 70px !important;
  font-weight: 700 !important;
  margin-top: 40px !important;
  margin-bottom: 20px !important;
  letter-spacing: 4px !important;
  color: #555 !important;
  font-family: "Bungee", "Rounded M+ 1c", sans-serif !important ;
  line-height: 1.1 !important;
}

/* --- セクション --- */
.nav-section {
  background: #ffffff;
  padding: 60px 20px;
  border-radius: 24px;
  max-width: 1300px;
  margin: 60px auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding-bottom: 100px !important;
}

/* タイトル */
.nav-title {
  text-align: center;
  font-size: 70px;
  font-weight: 700;
  margin: 40px 0 20px;
  letter-spacing: 4px;
  color: #555;
  font-family: "Bungee", sans-serif;
  line-height: 1.1;
}

/* --- カード全体 --- */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- カード --- */
.nav-card {
  border-radius: 24px;
  padding: 32px 10px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 600;
  color: #444;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.nav-card.green span {
  white-space: nowrap;
  font-size: 14px;
}

/* hover（浮くだけ） */
.nav-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.14);
}

/* --- アイコン丸 --- */
.icon-bg {
  background: #fff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.icon-bg img {
  width: 36px;
  height: 36px;
}

/* PCでは改行を消す */ 
.sp-break br { 
	display: none !important;
}

/* --- 色 --- */
.pink   { background: #FFC8D8; }
.orange { background: #FFD0A8; }
.teal   { background: #9FDCC4; }
.blue   { background: #e1cfb9; }
.purple { background: #C7B3FF; }
.yellow { background: #FFE179; }
.cyan   { background: #b3dbea; }
.red    { background: #ffb4ab; }
.green  { background: #cde5bc; }

body.home .swell-block-fullWide {
  background-color: transparent !important;
}

.menu-wrap {
  padding: 120px 0 100px;
}


/* --- SP --- */
@media (max-width: 600px) {
  .nav-title {
    font-size: 42px;
  }

.menu-wrap {
 padding: 80px 0 80px !important;
 }

}

	
/* =================
   MENU　スマホ
=================== */
@media screen and (max-width: 768px) {
.nav-section {
    width: 90%; 
    max-width: none;
    margin: 40px auto;
    padding: 40px 16px ;
    border-radius: 18px;
    padding-bottom: 50px !important;
  }
		 
 section.nav-section h2.nav-title {
    font-size: 38px !important;
    margin-top: 16px !important;
    margin-bottom: 16px !important;
  }

  .nav-cards {
    display: grid !important;
    grid-template-columns: repeat(2,1fr) !important;
    gap:16px;
    padding: 0 !important;
    box-sizing: border-box;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

  .nav-card {
    width: 100%;
    aspect-ratio:1/1;
    padding: 20px 10px;
    box-sizing: border-box;
  }	

  .nav-card.green span {
    white-space: normal !important;
    font-size: 12px !important;
    line-height: 1.35;
    text-align: center;
  }

.sp-break br {
  display: inline !important;
}

.nav-card.green span { 
	font-size: 13px !important; 
	line-height: 1.35; 
	white-space: normal !important; 
	text-align: center;
}
		
}

/* =================
   MENU タブレット
=================== */
@media (min-width: 769px) and (max-width: 900px){

.nav-cards{
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
  max-width:850px;
}

.nav-card{
  padding:18px 8px;
  min-height:150px;
}

.icon-bg{
  width:52px;
  height:52px;
}

.icon-bg img{
  width:26px;
  height:26px;
}
	
.nav-section{
  margin-left:60px;
  margin-right:60px;
}


}

/* ================
   イベント HERO
================== */
.event-hero {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFC8D8;
  overflow: hidden;
  margin-bottom: 0 !important;
}

.event-hero-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* タイトル */
.event-hero-title {
  font-size: 44px;
  font-weight: 700;
  color: #444;
  font-family: "Zen Maru Gothic", "Rounded M+ 1c", sans-serif;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  position: relative;
  padding-top: 6px;
}

/* アイコン */
.event-icon {
  width: 80px;
  height: auto;
}

/* 右側画像 */
.event-hero-image {
  max-height: 250px;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.15));
}

/* トップページ用 微調整 */
.event-hero.is-top .event-hero-image {
  margin-left: -60px;
}


/* ========================
   イベント HERO（スマホ）
=========================== */
@media screen and (max-width: 768px) {

  .event-hero {
    height: 240px;
  }

  .event-hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px 0;
  }

  .event-hero-title {
    font-size: 22px !important;
    gap: 6px;
    margin-left: 30px !important;
  }

  .event-icon {
    width: 40px;
  }

  .event-hero-image {
    max-height: 140px;
    margin-left: -30px !important;
  }
	
}

/* =========================
   イベント 月カレンダー
========================= */

.event-calendar {
  padding: 80px 16px !important;
}

.event-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.calendar-arrow {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  opacity: 0.3;
  pointer-events: none;
}

.calendar-months {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.calendar-months::-webkit-scrollbar {
  display: none;
}

.month {
  min-width: 88px;
  padding: 14px 10px;
  border-radius: 10px;
  background: #f2f2f2;
  border: none;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
}

.month .year {
  display: block;
  font-size: 13px;
  color: #aaa;
}

.month .num {
  font-size: 26px;
  font-weight: 700;
  color: #222;
}

/* ALL */
.month[data-month="all"] {
  background: #000;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

/* active */
.month.is-active {
  background: #000;
}
.month.is-active .year,
.month.is-active .num {
  color: #fff;
}

.calendar-months {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.calendar-months::-webkit-scrollbar {
  display: none;
}

/* =================
   カレンダー スマホ
=================== */
@media (max-width: 768px) {

  .event-calendar-nav {
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* 左右の矢印を少し小さく */
  .calendar-arrow {
    flex: 0 0 32px;
    height: 40px;
    font-size: 20px;
  }

  /* 月リスト */
  .calendar-months {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    flex: 1; /* ← ここが大事。中央部分を広げる */
  }

  .calendar-months::-webkit-scrollbar {
    display: none;
  }

  /* 月ボタン：3つ見える幅 */
  .month {
    flex: 0 0 30% !important;   /* ← ここを 30% にすると3つが安定 */
    min-width: 30% !important;
    scroll-snap-align: start;
  }

  /* カレンダー全体の左右余白を詰める */
  .event-calendar-nav {
    padding-left: 0 !important;
    phttps://kitakyu-dogs.com/wp-admin/themes.phpadding-right: 0 !important;
  }

  /* 左右の矢印をさらにコンパクトに */
  .calendar-arrow {
    flex: 0 0 24px;   /* ← 32px → 24px に縮小 */
    height: 36px;
    font-size: 18px;
  }

  /* 月リストの左右余白をゼロに */
  .calendar-months {
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 6px !important;  /* ← gap も少し詰める */
  }

  /* 月ボタン：3つ見える幅を微調整 */
  .month {
    flex: 0 0 29% !important;
    min-width: 29% !important;
  }

  /* カレンダー全体の左右余白をゼロに */
  .event-calendar-nav {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: -4px;   /* ← さらに詰める裏技 */
    margin-right: -4px;  /* ← さらに詰める裏技 */
  }

  /* 矢印を最小サイズに */
  .calendar-arrow {
    flex: 0 0 20px;   /* ← 24px → 20px に縮小 */
    height: 34px;
    font-size: 16px;
  }

  /* 月リストの左右余白を完全にゼロに */
  .calendar-months {
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 4px !important;  /* ← 6px → 4px にしてさらに詰める */
  }

  /* 月ボタン：3つ見える幅をさらに微調整 */
  .month {
    flex: 0 0 28% !important;   /* ← 29% → 28% にして限界まで詰める */
    min-width: 28% !important;
  }

}

/* ===================
   イベント一覧 
===================== */
.event-list-page {
  padding: 24px 0 40px;
}

/* カード */
.event-row {
  max-width: 900px;
  margin: 0 auto 32px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border: 2px solid #000;
}

/* 中身 */
.event-row-link {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 100px !important;
  padding: 24px 32px 24px 60px;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

/* 画像 */
.event-row-thumb {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  margin-left: 40px !important;
}

.event-row-thumb img {
  width: 90% !important;
  height: 90% !important;
  object-fit: contain !important;
}

/* 本文 */
.event-row-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  writing-mode: horizontal-tb !important;
}

/* 日付 */
.event-row-date {
  font-size: 15px;
  color: #777;
  margin-bottom: 8px !important;
}

.event-row-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

/* 場所 */
.event-row-place {
  font-size: 15px;
  margin-bottom: 30px !important;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* タグ */
.event-row-meta {
  display: flex;
  gap: 8px;
}

/* 共通 */
.tag {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
}

/* 場所タグ */
.event-row .tag-place {
  background: #ffece3 !important;
  color: #e9775d !important;
}

.event-row .tag-event {
  background: #e6f4ee !important;
  color: #58ad8d !important;
}

.event-list-sp { display: none; }

/* ======================
   イベント一覧　スマホ
======================== */
@media (max-width: 768px) {

  /* PC用は非表示 */
  .event-list-pc {
    display: none !important;
  }

  /* スマホ用は表示 */
  .event-list-sp {
    display: block;
  }

  /* カード全体 */	
 .event-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto 16px; /* 中央寄せ */
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border: 2px solid #000;
  width: 85%;
  max-width: 420px;
}

  /* 画像 */
  .event-card-thumb img {
    width: 40%;
    height: 120px;
    display: block;
    object-fit: cover;
  }

  /* テキスト部分 */
  .event-card-body {
    padding: 12px 16px;
  }

  .event-card-date {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .event-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
    white-space: normal;
  }

  .event-card-place {
    font-size: 13px;
    margin-bottom: 10px;
    white-space: normal;
  }

  /* タグ */
  .event-card-meta {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .event-card-meta .tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 13px;
    background: #f2f2f2;
  }

.event-card-thumb img {
  width: 80%;
  height: 150px;
  object-fit: contain;   /* ← cover → contain に変更 */
  margin: 0 auto;
  display: block;
}

  /* 日付の余白を詰める */
  .event-card-date {
    margin-bottom: 2px !important; /* ← ここを調整 */
  }

  /* タイトルの余白を詰める */
  .event-card-title {
    margin-top: 0 !important;      /* ← デフォルトの余白を消す */
    margin-bottom: 6px !important; /* ← 下の余白も少しだけ */
    line-height: 1.4;              /* ← 行間も少し詰める */
  }

  /*場所タグ */
  .event-card-meta .tag-place {
    background: #ffece3 !important;
    color: #e9775d !important;
  }

  /* 撮影会・イベント・運動会などのイベント種別タグ */
  .event-card-meta .tag-event {
    background: #e6f4ee !important;
    color: #58ad8d !important;
  }

/* 一番最後のイベントカードだけ、下の余白を詰める */
.event-list-sp .event-card:last-child {
  margin-bottom: 30px !important; 
}

}

/* ====================
     ウチの子自慢
====================== */
/* 画像だけヒーロー */
.jiman-hero {
  padding: 40px 0;   /* 上下余白 */
  background: none;
  text-align: center;
}

.jiman-hero-inner img {
  width: 50%;        /* ← ここで縮小（70%でもOK） */
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.jiman-hero-inner {
  height: 100%;
}


/* ======================
   ウチの子自慢　スマホ
======================== */
@media screen and (max-width: 768px) {
.jiman-hero-inner img {
    width: 85%;   /* ← スマホは大きく */
  }

.wp-block-spacer.sp-margin-fix {
        height: 80px !important; /* スマホで見やすい高さ（お好みで調整）に固定 */
    }
	
.wp-block-grid{
  max-width: 92%;
}	
  
}

/* =======================
   ウチの子自慢 募集エリア
========================= */

.jiman-recruit {
  background: #fff;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.jiman-recruit-inner {
  max-width: 700px;
  width: 100%;
  text-align: center;
}

.jiman-recruit-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #444;
  font-family: "Zen Maru Gothic", sans-serif;
  white-space: nowrap;
}

.jiman-recruit-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #555;
}

.jiman-recruit-btn {
  display: inline-block;
  background: #f478a3;
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.jiman-recruit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* ==================================
   ウチの子自慢 募集エリア　スマホ
===================================== */
@media screen and (max-width: 768px) {

  .jiman-recruit {
    padding: 40px 16px;
  }

  .jiman-recruit-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .jiman-recruit-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .jiman-recruit-text {
    font-size: 15px;
    line-height: 1.8;
    margin: 0 auto 25px;
    padding: 0 10px;  /* ← これで左右均等余白 */
    white-space: nowrap;
  }
	
}

/* =====================
  ウチの子自慢　カード
======================== */

/* グリッド自体の横幅を固定解除 */
.wp-block-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important; /* 強制的に3等分 */
  gap: 20px !important;
}

/* カードに強制的に「3分の1の幅」を守らせる */
.wanko-card {
  width: 100% !important; 
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  /* 以前の装飾CSSはそのまま下に続けてOKです */
}

/* スマホでは1列にする設定（ここも大事です） */
@media screen and (max-width: 768px) {
  .wp-block-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =====================
  カード本体
======================== */
.wanko-card {
  background: #fffdf5;
  border: 3px solid #ffedab;
  border-radius: 20px;
  padding: 20px; /* 余白を少し詰めると収まりが良くなります */
  margin: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  height: 100%;  
  box-sizing: border-box; 
  width: auto !important;
}

/* 画像の高さも少し抑えると3枚並んだ時に綺麗です */
.wanko-card img {
  width: 100%;
  height: 180px !important; /* 220pxから少し小さく調整 */
  object-fit: cover;
  border-radius: 12px;
}


/* =====================
  写真
======================== */
.wanko-photo {
  position: relative;
  text-align: center;
  padding: 12px;
}

.wanko-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 15px;
  border: 5px solid #fff;
}

/* =====================
  リボン
======================== */
.ribbon {
  position: absolute;
  top: -10px;
  left: -10px;
  background: #ff85a1;
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: bold;
  transform: rotate(-10deg);
}

/* =====================
  情報エリア
======================== */
.wanko-info{
  display: flex;
  flex-direction: column;
  flex: 1;
}

.wanko-name {
  color: #d28a00;
  text-align: center;
  font-size: 1.5em;
  margin: 15px 0;
  border-bottom: 2px dashed #ffedab;
  padding-bottom: 10px;
}

/* =====================
  詳細（高さ揃えの要）
======================== */
.wanko-details{
  min-height: 110px; /* ←これで高さ揃う */
}

.detail-item{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
  background:#fff;
  padding:8px 15px;
  border-radius:10px;
}

/* ラベル */
.label{
  min-width: auto !important;
  white-space:nowrap;
  font-size: 0.9em;
  font-weight:bold;
  color:#888;
  margin-right: 5px;
}


/* 値 */
.value{
  font-size: 0.9em;
  flex:1;
  color:#333;
  white-space:nowrap;
}

/* Instagramだけ幅調整 */
.detail-item:last-child .label{
  min-width:120px;
}

/* =====================
  コメント（下揃え）
======================== */
.wanko-comment {
  margin-top: auto;
  background: #fff;
  padding: 14px;
  border-radius: 10px;
  position: relative;
}

.wanko-comment::before {
  content: "▼";
  position: absolute;
  top: -15px;
  left: 20px;
  color: #fff;
}

.wanko-comment p{
  margin:0;
  padding-left:10px;
  font-size:15px;
  line-height:1.6;
}

/* =====================
  リンク
======================== */
.detail-item a{
  color:#e1306c;
  text-decoration:none;
  font-weight:600;
}

.detail-item a:hover{
  text-decoration:underline;
}

/* =====================
  スマホ
======================== */
@media screen and (max-width:768px){

.wp-block-grid{
  max-width: 92%;
}

.wanko-photo img{
  height:300px;
}
	
  /* 写真を大きくする */
  .wanko-card img {
    height: 300px !important;    /* ← 180pxを300pxに強制上書き */
    min-height: 300px !important; 
    object-fit: cover !important;
  }

  /* 写真周りの余白を少し削って大きく見せる */
  .wanko-photo {
    padding: 5px !important;
  }

  /* 親要素（カラム全体）の並び順を逆転させる */
  .wp-block-columns {
    display: flex !important;
    flex-direction: column-reverse !important; /* ← これが魔法の1行！ */
  }

  /* 写真の大きさ設定（先ほどの設定） */
  .wanko-card img {
    height: 300px !important;
    object-fit: cover !important;
  }

.wanko-card .wanko-comment p,
  .wanko-comment p {
    font-size: 1.1rem !important; /* 1.1remからさらに大きく設定 */
    line-height: 1.6 !important;
    font-weight: 700 !important; /* 太さも最大級に */
    display: block !important;
    width: 100% !important;
    text-align: left !important;
  }
	
}

/* ====================
   動物病院ページ 共通CSS
====================== */

/* ──────────────────
   SWELLデフォルトタイトル完全非表示
────────────────── */
.entry-title,
.c-pageTitle,
.l-pageTitleArea,
.l-pageTitle,
.page-header,
.p-pageTitle,
.c-pageTitleWrap,
.page_header,
.l-pageHeader,
.page-header__inner,
.l-pageHeader__inner {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* ──────────────────
   余白リセット（ヒーロー直下を詰める）
────────────────── */
.l-main,
.l-contents,
.l-content,
.l-container,
.post_content,
.article-body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ページ上部の自動ページタイトルを非表示 */
.c-pageTitle {
  display: none !important;
}

/* =========================
   CLINIC HERO（共通）
========================= */

/* ヒーロー本体 */
.clinic-hero {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #bae4c6;
  overflow: hidden;
  margin-bottom: 0 !important;
}

/* 中身は必ず親に収める */
.clinic-hero-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* タイトル */
.clinic-hero-title {
  font-size: 50px;
  font-weight: 700;
  color: #444;
  font-family: "Zen Maru Gothic", "Rounded M+ 1c", sans-serif;
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  white-space: nowrap;
}

/* アイコン */
.paw-icon {
  width: 80px;
  height: auto;
}

/* 犬画像：高さ基準で統一 */
.clinic-hero-inner > img {
  max-height: 240px;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.15));
}

.clinic-hero.is-top .clinic-hero-inner > img {
    transform: translateX(-50px);
  }

/* 地域から動物病院を探す */
.clinic-section-title {
  text-align: center;
  font-size: 40px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  margin: 0 auto 25px;
  padding-top: 50px !important;
}

/* 見出しの上下余白を調整 */
.clinic-area-select {
  padding-top: 60px !important;
  padding-bottom: 0 !important;
}

/* 見出し本体 */
.clinic-area-select .clinic-section-title {
  margin: 0 0 40px;
  padding: 0;
}

/* 見出し自体の余白も削る */
.clinic-area-select h2 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* 見出しの下余白を強制で詰める */
body .post_content h2.clinic-section-title,
body .entry-content h2.clinic-section-title,
body .clinic-area-select h2.clinic-section-title {
  margin-bottom: 40px !important;
  padding-bottom: 40px !important;
}

/* 下の要素（カード側）の上マージンを潰す */
body .clinic-area-select .clinic-grid {
  margin-top: 0 !important;
}

/* ヒーローエリア（トップ画像）直下のフルワイドブロックの余白を消す */
.swell-block-fullWide.sp-py-20 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* 特定のブロック（clinic-hero-inner）の親にある余白を狙い撃ち */
.clinic-hero-inner {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ===================
 全ページ共通　地域カード
===================== */
.clinic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.clinic-card {
  background: #f0da6a;
  border-radius: 16px;
  border: 4px solid #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #333;
  font-size: 20px;
  transition: 0.25s;
  font-family: "Zen Maru Gothic", sans-serif;
  color: #6b4f2d;
}

.clinic-card:hover {
  background: #f5e37e !important;
  transform: translateY(-4px);
}

.clinic-icon {
  width: 60px;
  height: auto;
  filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.15));
}

.clinic-arrow {
  font-size: 26px;
  color: #fff;
}

/* ====================
 全ページ共通　各区ページ
====================== */
.clinic-list {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.clinic-list-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  color: #6b4f2d;
}

.clinic-name {
  font-size: 22px;
  margin-bottom: 10px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
}

.area-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.area-icon img {
  width: 34px;
  height: auto;
  opacity: 0.9;
}

/* 各区トップ：画像を左に寄せて余白を詰める */
.clinic-hero.area-hero .clinic-hero-inner > img {
  transform: translateX(-50px);
}

.clinic-card:hover .area-icon {
  transform: scale(1.08);
}

.clinic-card:hover .clinic-arrow {
  transform: translateX(6px);
}

.clinic-arrow {
  transition: transform 0.2s ease;
}

/* 病院名の下余白を詰める */
.clinic-name {
  margin-bottom: 8px !important;
}

.clinic-info {
  font-size: 16px;
  line-height: 1.8;
  font-family: "Zen Maru Gothic", sans-serif;
}

.clinic-info a {
  color: #333;
  text-decoration: underline;
}

.clinic-list .clinic-item {
  background: #f0da6a !important;
}

.list-item, .clinic-item { 
	background: #f0da6a; 
	border-radius: 16px; 
	border: 4px solid #fff; 
	padding: 20px 24px; 
	margin-bottom: 20px; 
	box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
}

.list-name, .clinic-name { 
	font-size: 22px; margin-bottom: 
	8px; font-family: "Zen Maru Gothic", sans-serif; 
	font-weight: 700; }

.list-info,
.clinic-info {
  font-size: 16px;
  line-height: 1.8;
  font-family: "Zen Maru Gothic", sans-serif;
}

.list-info a,
.clinic-info a {
  color: #333;
  text-decoration: underline;
}


/* ===================
    夜間動物病院（PC）
======================= */

.emergency-box.night {
  max-width: 600px;
  margin: 40px auto;
  background: #a9c7e8;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* 中身 */
.emergency-box.night .emergency-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px;
  justify-content: center;
}

/* 左：画像 */
.emergency-box.night .emergency-icon {
  width: 120px;
  flex-shrink: 0;
}

/* 中央：テキスト */
.emergency-box.night .emergency-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 6px;
}

.emergency-box.night .emergency-text p {
  font-size: 14px;
  color: #f3f6fb;
  opacity: 0.9;
}

/* 右：矢印 */
.emergency-box.night .emergency-arrow {
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #7aa2d6;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.emergency-box.night .emergency-arrow:hover {
  transform: translateX(4px);
}

.clinic-wrap {
  padding: 10px 0 10px;
}

/* フルワイドブロック内の上の余白（パディング）を解除 */
.swell-block-fullWide.sp-py-20 {
    padding-top: 0 !important;
}

/* もし上記で変わらない場合はこちら */
div.swell-block-fullWide.pc-py-20.sp-py-20 {
    padding-top: 0 !important;
}


/* =========================
    動物病院　スマホ
========================= */
@media screen and (max-width: 768px) {  
  .postid-1846 .swell-block-fullWide.sp-py-40 {
  padding-bottom: 0 !important;
}
	
/* トップの下の余白調整 */
    body .clinic-area-select{
    padding-top: 24px !important;
  }

.clinic-section-title {
  font-size: 20px !important;
}

  /* グリッド：1カラム */
  .clinic-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* カード本体 */
  .clinic-card {
    display: flex;
    align-items: center;
    gap: 28px !important;
    padding: 14px 18px !important;
  }

  /* 白丸 */
  .clinic-card .area-icon {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  /* アイコン */
  .clinic-card .area-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
  }

  /* 区名 */
  .clinic-card span {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    font-family: "Zen Maru Gothic", sans-serif;
    margin-left: 50px !important;
    margin-left: 0 !important; 
    text-align: center !important;         flex: 1;
  }

  /* 矢印 */
  .clinic-card .clinic-arrow {
    margin-left: auto;
    font-size: 20px;
  }
	
body .clinic-area-select h2.clinic-section-title {
 padding-bottom: 0 !important;
 margin-bottom: 40px !important
; }
		
body .clinic-list h2.clinic-section-title {
 margin-bottom: 40px !important;
 padding-bottom: 0 !important;
 }	
	
/* 夜間動物病院 */
.emergency-box.night {
    margin: 24px 16px;
    max-width: 100%;
  }

  .emergency-box.night .emergency-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 24px 28px;
  }

  .emergency-box.night .emergency-icon {
    width: 90px;
    flex-shrink: 0;
  }

  .emergency-box.night .emergency-text h3 {
    font-size: 18px;
    line-height: 1.4;
    text-align: left;
  }

  .emergency-box.night .emergency-arrow {
    font-size: 22px;
    margin-left: auto;
  }
	
body .clinic-area-select .clinic-grid {
  margin-top: 0 !important;
}

.clinic-list .wp-block-spacer {
    height: 0 !important;
    margin: 0 !important;
}
	
/* site-contact-noteが入っているブロックだけ余白 */
.swell-block-fullWide:has(.site-contact-note) {
    margin-bottom: 60px !important;
  }

.postid-1846 .swell-block-fullWide {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.postid-1846 .swell-block-fullWide.u-mb-0 {
  display: none !important;
}

.clinic-wrap {
  margin-bottom: 0 !important;
}

	
  /* =============================
     動物病院トップページ　スマホ
  ================================ */
 .clinic-hero.is-top {
    height: 240px;
  }

 .clinic-hero.is-top h1.clinic-hero-title {
    font-size: 26px !important;
  }

 .clinic-hero-title .paw-icon {
    width: 49px !important;
  }

 .clinic-hero.is-top .clinic-hero-inner > img {
    max-height: 150px;
    margin-left: -30px;
  }
	
.clinic-hero.is-top .clinic-hero-title {
  gap: 20px !important;
}


  /* ==========================
     動物病院各区トップ　スマホ
  ========================== */
.clinic-hero.area-hero {
    height: 240px;
  }

.clinic-hero.area-hero h1.clinic-hero-title {
    font-size: 21px !important;
  }

.clinic-hero.area-hero .paw-icon {
    width: 44px !important;
  }

 .clinic-hero.area-hero .clinic-hero-inner > img {
    max-height: 140px;
  }

  /* 夜間動物病院 全体 */
  .emergency-box.night {
    margin: 24px 16px;
    max-width: 100%;
  }

  /* 中身：横並びを維持 */
  .emergency-box.night .emergency-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 24px 28px;
  }
	
.emergency-title {
  white-space: nowrap;
  font-size: 14px; /* 少し小さく調整 */
}	
	
/* 各区トップ：画像を左に寄せて余白を詰める */
.clinic-hero.area-hero .clinic-hero-inner {
    gap: 14px;
  }

  .clinic-hero.area-hero .clinic-hero-inner > img {
    transform: translateX(-3px);
  }

  /* アイコン */
  .emergency-box.night .emergency-icon {
    width: 90px;
    flex-shrink: 0;
  }

  /* タイトル */
  .emergency-box.night .emergency-text h3 {
    font-size: 18px;
    line-height: 1.4;
    text-align: left;
  }
	
.clinic-hero.area-hero .paw-icon {
    margin-left: 40px !important;
  }
	
.clinic-hero.area-hero .clinic-hero-title {
  gap: 6px;
}

  /* 矢印 */
  .emergency-box.night .clinic-arrow {
    font-size: 22px;
    margin-left: auto;
  }

 .clinic-hero.is3-top .clinic-hero-inner > img {
    max-height: 150px;
    margin-left: -40px !important;
  }
		
}

 /* ========================
     動物病院　タブレット
  ========================== */
@media (min-width:768px) and (max-width:1024px){

.clinic-hero-inner{
  justify-content: center;
  transform: translateX(30px);
}

}

/* ====================
      ドッグラン
===================== */
/* ヒーロー本体 */
.dogrun-hero {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #E1CFB9;
  overflow: hidden;
  margin-bottom: 0 !important;
}

/* 中身 */
.dogrun-hero-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* タイトル */
.dogrun-hero-title {
  max-width: 180px;
  font-size: 44px;
  font-weight: 700;
  color: #444;
  font-family: "Zen Maru Gothic", "Rounded M+ 1c", sans-serif;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  white-space: nowrap;
  padding-top: 6px;
}

/* アイコン */
.dogrun-hero .paw-icon {
  width: 80px;
  height: auto;
}

/* 右側画像 */
.dogrun-hero-inner > img {
  max-height: 220px;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.15));
}

/* 【トップページ】：文字と画像の間 */
.dogrun-hero.is-top .dogrun-hero-inner > img {
  transform: translateX(-10px) !important;
}


/* 各区トップページ（3文字）：文字と画像の間 */
.dogrun-hero.is3-top .dogrun-hero-inner > img {
  transform: translateX(100px) !important;
}


/* 各区トップページ（4文字）：文字と画像の間 */
.dogrun-hero.is4-top .dogrun-hero-inner > img {
  transform: translateX(150px) !important;
}

/* 各区（近郊）トップページ：文字と画像の間 */
.dogrun-hero.area-hero .dogrun-hero-inner > img {
  transform: translateX(190px) !important;
}

/* 各区トップページ：アイコンと文字との間 */
 .dogrun-hero.area-hero .paw-icon {
    margin-right: 15px !important;
  }

/*  各区トップページ（3文字）：アイコンと文字との間 */
 .dogrun-hero.is3-top .paw-icon {
    margin-left: -50px !important;
    margin-right: 20px !important;
  }

/*  各区トップページ（4文字）：アイコンと文字との間 */
 .dogrun-hero.is4-top .paw-icon {
    margin-left: -50px !important;
    margin-right: 20px !important;
  }


/*  各区北九州近郊：アイコンと文字との間 */
 .dogrun-hero.area-hero .paw-icon {
    margin-right: 10px !important;
}

/* ドッグランページ：見出し下の余白を詰める */
.page-id-1328 section.clinic-area-select > h2.clinic-section-title {
  padding-bottom: 0 !important;
  margin-bottom: 12px !important;
}

/* ドッグランページ：注意文（dogrun-notice）自体の余白を詰める */
.page-id-1328 section.clinic-area-select > .dogrun-notice {
  margin-top: 0 !important;
  /* カフェに合わせて下の余白を 20px に上書き */
  padding-bottom: 20px !important; 
}

/* ドッグラン 注意事項：PC版の配置をカードに合わせる */
.dogrun-notice.center.left {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 8px;
  padding: 0 15px 15px !important;
  
  /* カード全体の並びと同じ最大幅を設定し、中央に配置する */
  max-width: 1100px;
  margin-left: auto !important;
  margin-right: auto !important;
  
  /* 左の余白を0にしてカードの左端と合わせる */
  padding: 4px 0 60px !important; 
}

/* テキストの設定 */
.dogrun-notice.center.left p {
  text-align: left !important;
  flex: 1;
  color: #6b5a2e;
  font-size: 18px;
}

/* アイコンのサイズをテキストに合わせる */
.dogrun-notice-icon {
  font-size: 18px;
  line-height: 1.8; /* pタグのline-heightと合わせると高さが揃います */
}

/* ▼ アニメーション */
.dogrun-notice.animate {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.dogrun-notice.animate.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ======================
    ドッグラン　スマホ
======================== */
@media screen and (max-width: 768px) {

.dogrun-hero {
    height: 240px;
  }

.dogrun-hero-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    padding-top: 10px;
    padding-bottom: 10px;
  }
	
.dogrun-hero-inner{
  justify-content:flex-start;
  margin-left: -40px;
}

.dogrun-hero-title {
    max-width: 160px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    font-size: 20px !important;
    margin-left: 16px !important;
    padding-top: 4px !important;
    flex-shrink: 0;
  }

.dogrun-hero .paw-icon {
    width: 40px !important;
    height: auto !important;
  }

 .dogrun-hero-inner > img {
  max-height: 135px;
}
	
.dogrun-area-page .dogrun-hero-inner {
    position: relative;
    padding-right: 110px;
  }
	
.wp-block-spacer { 
    height: 5px !important;
  }

.dogrun-hero-inner > img {
     flex-shrink: 0;
  }

/* 【トップページ】：文字と画像の間 */
.dogrun-hero.is-top .dogrun-hero-inner > img {
  transform: translateX(-20px) !important;
}

/* 各区トップページ（3文字）：文字と画像の間 */
.dogrun-hero.is3-top .dogrun-hero-inner > img {
  transform: translateX(30px) !important;
}

/* 各区トップページ（4文字）：文字と画像の間 */
.dogrun-hero.is4-top .dogrun-hero-inner > img {
  transform: translateX(30px) !important;
}

/* 各区（近郊）トップページ：文字と画像の間 */
.dogrun-hero.area-hero .dogrun-hero-inner > img {
  transform: translateX(55px) !important;
}

/* 各区トップページ：アイコンと文字との間 */
 .dogrun-hero.is-top .paw-icon {
    margin-left: 40px !important; 
    margin-right: 10px !important;
  }

/*  各区トップページ（3文字）：アイコンと文字との間 */
.dogrun-hero.is3-top .paw-icon {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

/*  各区トップページ（4文字）：アイコンと文字との間 */
.dogrun-hero.is4-top .paw-icon {
    margin-left: -5px !important;
    margin-right: 8px !important;
  }
	
.dogrun-notice.center.left {
    display: block !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    /* 下の余白を 40px から 20px（お好みで）に減らします */
    padding: 0 15px 20px !important; 
  }

.dogrun-notice-icon {
    display: none;
  }

.dogrun-notice.center.left p {
    font-size: 13px;
    line-height: 1.6;
    white-space: normal;
    overflow-wrap: anywhere;
  }

}

/* ========================
  ドッグラン　タブレット
========================== */
@media (min-width:768px) and (max-width:1024px){
.dogrun-hero {
    height: 270px;
  }

.dogrun-hero-inner > img {
  max-height: 200px;
  height: auto;	
}

/*  各区トップページ（3文字）：アイコンと文字との間 */
 .dogrun-hero.is3-top .paw-icon {
    margin-left: -30px !important;
    margin-right: 10px !important;
  }
	
/*  各区トップページ（近郊）：アイコンと文字との間 */
.dogrun-hero.area-hero .paw-icon {
    margin-left: -120px !important;
    margin-right: 10px !important;
  }
	
/* 各区（近郊）トップページ：文字と画像の間 */
.dogrun-hero.area-hero .dogrun-hero-inner > img {
  transform: translateX(80px) !important;
}	

	
}

/* ==================
    サロンページ 
 =================== */

/* ヒーロー本体 */
.salon-hero {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #C7B3FF;
  overflow: hidden;
  margin-bottom: 0 !important;
}

/* 中身 */
.salon-hero-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* タイトル */
.salon-hero-title {
  font-size: 44px;
  font-weight: 700;
  color: #444;
  font-family: "Zen Maru Gothic", "Rounded M+ 1c", sans-serif;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  white-space: nowrap;
  padding-top: 6px;
}

/* アイコン */
.salon-hero .paw-icon {
  width: 80px;
  height: auto;
}

/* 犬画像 */
.salon-hero-inner > img {
  max-height: 250px;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.15));
}

/* 各区トップページ：文字と画像の間 */
.salon-hero.is-top .salon-hero-inner > img {
  transform: translateX(-70px) !important;
}

/* 各区トップページ（3文字）：文字と画像の間 */
.salon-hero.is3-top .salon-hero-inner > img {
  transform: translateX(-70px) !important;
}

/* 各区トップページ（4文字）：文字と画像の間 */
.salon-hero.is4-top .salon-hero-inner > img {
  transform: translateX(-70px) !important;
}

/* 各区トップページ（近郊）：文字と画像の間 */
.salon-hero.area-hero .salon-hero-inner > img {
  transform: translateX(-70px) !important;
}

/* 各区トップページ：アイコンと文字との間 */
 .salon-hero .paw-icon {
    margin-right: 15px !important;
  }

/* ==================
    サロン　スマホ
===================== */
@media screen and (max-width: 768px) {
  .salon-hero {
    height: 240px;
  }

  .salon-hero-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .salon-hero-title {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    font-size: 19px !important;
    margin-left: 16px !important;
    padding-top: 4px !important;
  }

  .salon-hero .paw-icon {
    width: 42px !important;
    height: auto !important;
  }

  .salon-hero-inner > img {
  max-height: 150px;
}
	
  .wp-block-spacer { 
    height: 5px !important;
   }

  /* 各区トップページ：文字と画像の間 */
.salon-hero.is-top .salon-hero-inner > img {
  transform: translateX(-30px) !important;
}
	
/* 各区トップページ（3文字）：文字と画像の間 */
.salon-hero.is3-top .salon-hero-inner > img {
  transform: translateX(-5px) !important;
}

/* 各区トップページ（4文字）：文字と画像の間 */
.salon-hero.is4-top .salon-hero-inner > img {
  transform: translateX(0px) !important;
}

/* 各区（近郊）トップページ：文字と画像の間 */
.salon-hero.area-hero .salon-hero-inner > img {
  transform: translateX(0px) !important;
}

/* トップページ：アイコンと文字との間 */
 .salon-hero.is-top .paw-icon {
    margin-left: 30px !important;
    margin-right: 14px !important;
  }

/* トップページ（3文字）：アイコンと文字との間 */
 .salon-hero.is3-top .paw-icon {
    margin-left: 30px !important;
    margin-right: 8px !important;
  }

/* トップページ（4文字）：アイコンと文字との間 */
 .salon-hero.is4-top .paw-icon {
    margin-left: 15px !important;
    margin-right: 8px !important;
  }

/* トップページ（近郊）：アイコンと文字との間 */
 .salon-hero.area-hero .paw-icon {
    margin-left: 15px !important;
    margin-right: 8px !important;
  }
			
}

/* ==================
  サロン　タブレット
===================== */
/* サロン HERO タブレット */
@media (min-width:768px) and (max-width:1024px){

.salon-hero-inner{
  transform: translateX(40px);
}
	
.salon-hero {
    height: 270px;
  }	

}

/* ===============
      カフェ
================= */

/* CAFE HERO */
.cafe-hero {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFE179;
  overflow: hidden;
}

.cafe-hero-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* タイトル */
.cafe-hero-title {
  font-size: 46px;
  font-weight: 700;
  color: #444;
  font-family: "Zen Maru Gothic", "Rounded M+ 1c", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 14px !important;
  position: relative;
  white-space: nowrap;
  padding-top: 6px;
}

/* アイコン */
.cafe-hero .paw-icon {
  width: 80px;
  height: auto;
  transform: translateY(-10px);
}

/* メイン画像 */
.cafe-hero-inner > img {
  max-height: 260px;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.15));
}

/* トップページ：文字と犬画像の間 */
.cafe-hero.is-top .cafe-hero-inner > img {
    transform: translateX(-80px);
  }

 /* トップページ（3文字）：文字と画像の間 */
  .cafe-hero.is3-top .cafe-hero-inner > img {
    transform: translateX(-70px) !important;
  }


/* 各区のトップページ：文字と画像の間 */
.cafe-hero.area-hero .cafe-hero-inner > img {
	transform: translateX(-80px);
}

/* アイコンと文字の余白 */
.cafe-hero h1.cafe-hero-title .paw-icon {
  margin-right: 8px !important;
  display: inline-block;
  vertical-align: middle;
}

/* カフェページだけ：見出し下の余白調整 */
.page-id-1334 section.clinic-area-select > h2.clinic-section-title {
  padding-bottom: 0 !important;
  margin-bottom: 12px !important;
}

/* カフェページだけ：注意文の上余白 */
.page-id-1334 section.clinic-area-select > .cafe-notice {
  margin-top: 0 !important;
}

/* カフェ 注意事項 */
.cafe-notice.center.inline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 12px 0;
}

.cafe-notice.center.inline p {
  margin: 0;
  white-space: normal; 
  color: #6b5a2e;
  font-size: 18px;
  word-break: break-all;
}

.cafe-notice-icon {
  font-size: 18px;
  line-height: 1;
}

/* カフェ注意文 余白調整 */
.cafe-notice.center.inline {
  padding-top: 4px;
  padding-bottom: 60px;
}

.cafe-notice.center.left {
  padding-top: 4px;
  padding-bottom: 60px;
}

/* 初期状態：左に少しずらして透明 */
.cafe-notice.animate {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示されたら */
.cafe-notice.animate.is-visible {
  opacity: 1;
  transform: translateX(0);
}

br.sp-only {
  display: none;
}

/* =================
    カフェ スマホ
=================== */
@media screen and (max-width: 768px) {

  .cafe-hero {
    height: 240px;
  }

  .cafe-hero-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .cafe-hero-title {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    font-size: 22px !important;
    margin-left: 16px !important;
    padding-top: 4px !important;
  }

  .cafe-hero .paw-icon {
    width: 44px !important;
    height: auto !important;
    transform: translateY(-5px);
  }

  .cafe-hero-inner > img {
    max-height: 150px;
  }

  .wp-block-spacer { 
    height: 5px !important;
  }

  /* トップページ：文字と画像の間 */
  .cafe-hero.is-top .cafe-hero-inner > img {
    transform: translateX(-40px) !important;
  }

  /* トップページ（3文字）：文字と画像の間 */
  .cafe-hero.is3-top .cafe-hero-inner > img {
    transform: translateX(-10px) !important;
  }

  /* トップページ（4文字）：文字と画像の間 */
  .cafe-hero.is4-top .cafe-hero-inner > img {
    transform: translateX(0px) !important;
  }

  /* トップページ（近郊）：文字と画像の間 */
  .cafe-hero.area-hero .cafe-hero-inner > img {
    transform: translateX(0px) !important;
  }

  /* トップページ：アイコンと文字との間 */
  .cafe-hero.is-top .paw-icon {
    margin-left: 45px !important;
    margin-right: 14px !important;
  }

  /* トップページ（3文字）：アイコンと文字との間 */
  .cafe-hero.is3-top .paw-icon {
    margin-left: 30px !important;
    margin-right: 8px !important;
  }

  /* トップページ（4文字）：アイコンと文字との間 */
  .cafe-hero.is4-top .paw-icon {
    margin-left: 15px !important;
    margin-right: 8px !important;
  }

  /* トップページ（近郊）：アイコンと文字との間） */
  .cafe-hero.area-hero .paw-icon {
    margin-left: 15px !important;
    margin-right: 8px !important;
  }

.clinic-section-title {
  font-size: 18px !important;
}
	
  /* =====================
       カフェ 注意文
  ===================== */
  .cafe-notice {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    padding-left: 25px !important;
    padding-right: 15px !important;
    text-align: left !important;
    overflow: visible !important;
  }

  .cafe-notice-icon {
    display: none !important;
  }

  .cafe-notice p {
    font-size: 13px !important;
    line-height: 1.6;
    margin: 0;
    width: 100%;
    white-space: normal;
    word-break: break-word;
  }

  .cafe-notice p br {
    display: block;
    margin-bottom: 6px;
  }

  section.salon-list h2.clinic-section-title {
    margin-bottom: 18px !important;
    padding-bottom: 0 !important;
  }

.cafe-notice.center.inline {
  padding-bottom: 20px !important;
}

	
}

/* ====================
    カフェ タブレット
====================== */
/* カフェ HERO タブレット */
@media (min-width:768px) and (max-width:1024px){

.cafe-hero-inner{
  transform: translateX(40px);
}
	
.cafe-hero-inner > img {
   max-height: 200px;
  }

/* トップページ：文字と犬画像の間 */
.cafe-hero.is-top .cafe-hero-inner > img {
    transform: translateX(-60px);
  }	
	
.cafe-hero-inner {
    gap: 40px !important;
  }
	
	
}


/* ===============
      買い物
================= */

/* SHOPPING HERO */
.shopping-hero {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #b3dbea;
  overflow: hidden;
}

.shopping-hero-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* タイトル */
.shopping-hero-title {
  font-size: 46px;
  font-weight: 700;
  color: #444;
  font-family: "Zen Maru Gothic", "Rounded M+ 1c", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 14px !important;
  position: relative;
  white-space: nowrap;
  padding-top: 6px;
}

/* アイコン */
.shopping-hero .paw-icon {
  width: 80px;
  height: auto;
}

/* メイン画像 */
.shopping-hero-inner > img {
  max-height: 230px !important;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.15));
}

/* トップページ：文字と犬画像の間 */
.shopping-hero.is-top .shopping-hero-inner > img {
  transform: translateX(-50px);
}

/* トップページ（3文字）：文字と画像の間 */
  .shopping-hero.is3-top .shopping-hero-inner > img {
    transform: translateX(-55px) !important;
  }

  /* トップページ（4文字）：文字と画像の間 */
  .shopping-hero.is4-top .shopping-hero-inner > img {
    transform: translateX(-45px) !important;
  }

  /* トップページ（近郊）：文字と画像の間 */
  .shopping-hero.area-hero .shopping-hero-inner > img {
    transform: translateX(-40px) !important;
  }

  /* トップページ：アイコンと文字との間 */
  .shopping-hero.is-top .paw-icon {
    margin-left: 45px !important;
    margin-right: 14px !important;
  }

  /* トップページ（3文字）：アイコンと文字との間 */
  .shopping-hero.is3-top .paw-icon {
    margin-left: 30px !important;
    margin-right: 8px !important;
  }

  /* トップページ（4文字）：アイコンと文字との間 */
  .shopping-hero.is4-top .paw-icon {
    margin-left: 15px !important;
    margin-right: 8px !important;
  }

  /* トップページ（近郊）：アイコンと文字との間） */
  .shopping-hero.area-hero .paw-icon {
    margin-left: 15px !important;
    margin-right: 8px !important;
  }

/* 買い物ページだけ：見出し下の余白調整 */
.page-id-1337 section.clinic-area-select > h2.clinic-section-title {
  padding-bottom: 0 !important;
  margin-bottom: 12px !important;
}

/* 買い物 注意事項 */
.shopping-notice.center.inline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 12px 0;
}

.shopping-notice.center.inline p {
  margin: 0;
  white-space: normal; 
  color: #6b5a2e;
  font-size: 18px;
  word-break: break-all;
}

.shopping-notice-icon {
  font-size: 18px;
  line-height: 1;
}

/* 買い物ページだけ：注意文の下余白を詰める */
.page-id-1337 .shopping-notice.center.inline {
  padding-bottom: 20px !important;
}

/* アニメーション */
.shopping-notice.animate {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.shopping-notice.animate.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.sp-only {
  display: none;
}

/* =================
    買い物 スマホ
=================== */
@media screen and (max-width: 768px) {

  .shopping-hero {
    height: 240px;
  }

  .shopping-hero-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .shopping-hero-title {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    font-size: 22px !important;
    margin-left: 16px !important;
    padding-top: 4px !important;
  }

  .shopping-hero .paw-icon {
    width: 44px !important;
    height: auto !important;
  }

 .shopping-hero-inner > img {
    max-height: 135px !important;
  }
	
  .wp-block-spacer { 
    height: 5px !important;
  }

  .shopping-hero.is-top .shopping-hero-inner > img {
    transform: translateX(-40px) !important;
  }

.shopping-hero.is3-top .shopping-hero-inner > img {
  transform: translateX(-10px) !important;
}

.shopping-hero.is4-top .shopping-hero-inner > img {
  transform: translateX(-10px) !important;
}

  .shopping-hero.area-hero .shopping-hero-inner > img {
    transform: translateX(0px) !important;
  }

  .shopping-hero.is-top .paw-icon {
    margin-left: 45px !important;
    margin-right: 14px !important;
  }

  .shopping-hero.is3-top .paw-icon {
    margin-left: 30px !important;
    margin-right: 15px !important;
  }

  .shopping-hero.is4-top .paw-icon {
    margin-left: 15px !important;
    margin-right: 18px !important;
  }

  .shopping-hero.area-hero .paw-icon {
    margin-left: 15px !important;
    margin-right: 8px !important;
  }

  .clinic-section-title {
    font-size: 18px !important;
  }

.shopping-page section.clinic-area-select > h2.clinic-section-title {
  margin-bottom: 12px !important;
}

.shopping-page .cafe-notice {
  margin-top: 0 !important;
}

  /* 買い物 注意文 */
  .shopping-notice {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    padding-left: 25px !important;
    padding-right: 15px !important;
    text-align: left !important;
    overflow: visible !important;
  }

  .shopping-notice-icon {
    display: none !important;
  }

  .shopping-notice p {
    font-size: 13px !important;
    line-height: 1.6;
    margin: 0;
    width: 100%;
    white-space: normal;
    word-break: break-word;
  }

  .shopping-notice p br {
    display: block;
    margin-bottom: 6px;
  }

  section.shopping-list h2.clinic-section-title {
    margin-bottom: 18px !important;
    padding-bottom: 0 !important;
  }

  .shopping-notice.center.inline {
    padding-bottom: 20px !important;
  }

}


/* ===================
    買い物 タブレット
====================== */
@media (min-width: 768px) and (max-width: 1024px) {
.shopping-hero-inner > img {
    width: 190px !important;
    height: auto !important;
    max-height: none !important;
  }

}


/* ============================
      ペットホテルページ 
============================ */

/* ヒーロー本体 */
.pet-hotel-hero {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffb4ab;
  overflow: hidden;
  margin-bottom: 0 !important;
}

/* 中身 */
.pet-hotel-hero-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* タイトル */
.pet-hotel-hero-title {
  font-size: 44px;
  font-weight: 700;
  color: #444;
  font-family: "Zen Maru Gothic", "Rounded M+ 1c", sans-serif;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  white-space: nowrap;
  padding-top: 6px;
}

/* アイコン */
.pet-hotel-hero .paw-icon {
  width: 80px;
  height: auto;
}

/* 犬画像 */
.pet-hotel-hero-inner > img {
  max-height: 250px;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.15));
}

/* トップページ：文字と犬画像の間 */
.pet-hotel-hero.is-top .pet-hotel-hero-inner > img {
  margin-left: -50px;
}

/* 各区トップページ：文字と犬画像の間 */
.pet-hotel-hero.area-hero .pet-hotel-hero-inner > img {
  margin-left: -70px;
}

/* ポスター表示 */

.dog-photo{
  margin-top:8px;
}

.dog-photo summary{
  cursor:pointer;
  color:#2c7be5;
  list-style:none;
}

.dog-photo summary:hover{
  opacity:0.7;
}

.dog-photo img{
  margin-top:8px;
  max-width:240px;
  border-radius:8px;
  box-shadow:0 2px 6px rgba(0,0,0,0.15);
}


/* ==============================
       ペットホテル　スマホ
================================== */
@media screen and (max-width: 768px) {

  .pet-hotel-hero {
    height: 240px;
  }

  .pet-hotel-hero-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .pet-hotel-hero-title {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    font-size: 18px !important;
    margin-left: 16px !important;
    padding-top: 4px !important;
  }

  .pet-hotel-hero .paw-icon {
    width: 48px !important;
    height: auto !important;
  }

  /* =========================
    ホテル トップ HERO　スマホ
  ========================= */
  .pet-hotel-hero.is-top {
    height: 240px !important;
  }

  .pet-hotel-hero.is-top .pet-hotel-hero-title {
    font-size: 22px !important;
    gap: 6px !important;
  }

  .pet-hotel-hero.is-top .paw-icon {
    width: 40px !important;
  }

  .pet-hotel-hero.is-top .pet-hotel-hero-inner > img {
    margin-left: -30px;
    max-height: 200px !important;
  }

	.pet-hotel-hero.is-top .pet-hotel-hero-inner > img { 
		width: auto !important; 
		height: auto !important; 
		max-height: 160px !important;
	}
	
	/* ペットホテル トップページのみ：アイコンサイズ */
.pet-hotel-hero.is-top .pet-hotel-hero-title img.paw-icon {
  width: 55px !important;
  height: auto !important;
  max-width: none !important;
}


	
  /* =========================
     ホテル 各区 HERO　スマホ
  ========================= */
  .pet-hotel-hero.area-hero {
    height: 240px !important;
  }

  .pet-hotel-hero.area-hero .pet-hotel-hero-title {
    font-size: 20px !important;
    gap: 6px !important;
  }

  .pet-hotel-hero.area-hero .paw-icon {
    width: 36px !important;
  }

  .pet-hotel-hero.area-hero .pet-hotel-hero-inner > img {
/*     max-height: 110px !important; */
    margin-left: -40px;
  }
	
	/* 犬画像 */
.pet-hotel-hero.area-hero .pet-hotel-hero-inner > img {
  max-height: 170px;
  width: auto;
}
	
	/* 各区トップ：アイコンサイズ（最終確定版） */
.pet-hotel-hero.area-hero
.pet-hotel-hero-title
img.paw-icon {
  width: 65px !important;
  height: auto !important;
  max-width: none !important;
}


}


/* =========================
       保育園
========================= */
/* セクション見出しの上マージンを消す */
.swl-section__title {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* ヒーロー本体 */
.hoikuen-hero {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #cde5bc;
  overflow: hidden;
  margin-bottom: 0 !important;
}

/* 中身 */
.hoikuen-hero-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* タイトル */
.hoikuen-hero-title {
  font-size: 44px;
  font-weight: 700;
  color: #444;
  font-family: "Zen Maru Gothic", "Rounded M+ 1c", sans-serif;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  white-space: nowrap;
  padding-top: 6px;
}

/* アイコン */
.hoikuen-hero .paw-icon {
  width: 80px;
  height: auto;
}

/* 犬画像 */
.hoikuen-hero-inner > img {
  max-height: 250px;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.15));
  transform: translateX(-30px);
}

/* ヒーロー直後の余白調整 */
.hoikuen-hero + .swell-block-fullWide {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* 各区トップ：『◯◯区の』を小さく＆グレーに（強制） */
.hoikuen-hero.area-hero
.hoikuen-hero-title
.hoikuen-area-title
.area-name {
  font-size: 30px !important;
  color: #444 !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
}



/* =========================
       保育園 スマホ
========================= */
@media screen and (max-width: 768px) {

  .hoikuen-hero {
    height: 240px;
  }

  .hoikuen-hero-inner {
    gap: 20px;
		padding-left: 32px;
    padding-right: 8px;
  }

  .hoikuen-hero h1.hoikuen-hero-title {
    font-size: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding-top: 0 !important;
		padding-left: 30px;
  }

  .hoikuen-hero-title .paw-icon {
    width: 40px !important;
    margin-right: 4px !important;
  }

  .hoikuen-hero-inner > img {
    max-height: 140px;
    height: auto !important;
    width: auto !important;
    flex-shrink: 0;
		margin-left: -15px;
  }
	
 /* スマホでは改行を有効 */
  br.sp-only {
    display: inline;
  }

 /* 自分でクラス名をつけたページだけ適用 */
.page-nursery .clinic-area-select .clinic-section-title {
    font-size: 18px !important;
}

section.clinic-list > h2.clinic-section-title {
    font-size: 17px !important;
  }

  /* 保育園トップページ */
  .hoikuen-hero.is-top {
    height: 240px;
  }

  .hoikuen-hero.is-top h1.hoikuen-hero-title {
    font-size: 20px !important;
  }

  .hoikuen-hero.is-top .paw-icon {
    width: 44px !important;
    margin-right: 8px !important;
  }

  .hoikuen-hero.is-top .hoikuen-hero-inner > img {
    max-height: 150px;
  }

  /* 各区の保育園トップページ */
  
  .hoikuen-hero.area-hero h1.hoikuen-hero-title {
    font-size: 20px !important;
    gap: 6px !important;
  }
	
.hoikuen-hero.area-hero
  .hoikuen-hero-title
  .hoikuen-area-title
  .area-name {
    font-size: 20px !important;
    letter-spacing: 0.02em;
  }

  .hoikuen-hero.area-hero .paw-icon {
    width: 44px !important;
    margin-right: 4px !important;
  }
	
/* 各区トップ：犬画像を少し右へ */
.hoikuen-hero.area-hero .hoikuen-hero-inner > img {
  margin-left: 30px;   /* ← 8〜20pxで調整 */
}

  .clinic-list .clinic-section-title {
    font-size: 16px;
  }
	
}


/* ====================
       フッター
==================== */
/* 全ページ共通：フッター直前の余白 */
.l-main,
.l-content,
.post_content {
    background-color: #fff !important;
    padding-bottom: 40px !important;
    margin-bottom: 0 !important;
}

/* ---------- 全体 ---------- */
.kd-footer {
  background: #838383;
  padding: 60px 20px 24px;
  color: #ffffff;
  font-size: 14px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* 中央コンテナ（PC） */
.kd-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 250px;
}

/* ------ 左：ロゴ＋テキスト ------- */
.kd-footer-about {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ロゴ */
.kd-footer-logo {
  height: 100px;
  width: auto;
  display: block;
}

/* テキストブロック */
.kd-footer-text h3 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
  line-height: 1.1;
  font-family: "Bungee", "M PLUS 1p", sans-serif;
  color: #ff6f85;
  text-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

.kd-footer-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  white-space: nowrap;
  margin-bottom: 30px !important;
}


/* フォローしてね */
.insta-text {
  color: #fff !important;
  font-size: 14px !important;
  margin: 0 0 4px 0 !important; /* ←ここで間調整 */
  line-height: 1.4;
}

/* フォローしてね！の余白を完全制御 */
.kd-footer-text .insta-text {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}


/* インスタアイコン側 */
.kd-footer-sns {
  margin-top: 2px !important;
  width: 100%; 
  display: flex;
  display: inline-block;
  margin: 0 auto; 
}

.kd-footer-sns img {
  display: block !important;
  width: 60px !important;
  margin: 0 !important;	
　text-align: center;
  transform: translateX(40px);
}

.kd-insta-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  margin: 0 !important;
  padding: 0 !important;
  margin-top: 6px;
}

.kd-footer-sns a {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}


/* ---------- 右：ナビ ---------- */
.kd-footer-nav {
  margin-top: 0;
}

.kd-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 40px;
 
}

.kd-footer-menu li {
  margin: 0;
  padding: 0;
}

.kd-footer-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
}

.kd-footer-menu a:hover {
  text-decoration: underline;
}

/* コピーライトをフッターと同色 */
.l-footer,
.l-footer__copy,
.l-footer__copy * {
  background-color: #838383 !important;
  color: #ffffff !important;
}

/* 余白・線を完全リセット */
.l-footer__copy {
  margin: 0 !important;
  padding: 16px 0 !important;
  border-top: none !important;
}



/* ===================
  フッター　スマホ
===================== */
@media screen and (max-width: 768px) {

/* ===== フッター前の余白調整 ===== */
  .l-main,
  .l-content,
  .post_content {
    padding-bottom: 0px !important;
    margin-bottom: 0 !important;
  }

  .kd-footer {
    padding: 32px 16px 24px;
  }

  .kd-footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .kd-footer-about {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .kd-footer-logo {
    height: 100px !important;
  }

.kd-footer-text h3 {
    text-shadow: 0 2px 6px rgba(0,0,0,0.15);
  }

  .kd-footer-text p {
    font-size: 13px;
    white-space: normal;
  }

  .kd-footer-menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    text-align: center;
  }

  .kd-footer-menu a {
    font-size: 13px;
  }
	
.kd-footer-sns {
    text-align: center;
  }

.kd-footer-sns img {
    margin: 0 auto !important;
    transform: none !important;
  }
	
.kd-insta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center !important; /* ←これが本命 */
  }
	
.insta-text {
    text-align: center !important;
  }
	
}

/* ===================
  フッター　タブレット
===================== */
@media (min-width:769px) and (max-width:1024px){

.kd-footer-inner{
  gap:80px;
}

.kd-footer-logo{
  height:80px;
}

.kd-footer-text h3{
  font-size:26px;
}

}


/* ==========================================
  新規追加・変更・削除　お問い合わせフォーム　
============================================ */

.site-contact-note {
  margin: 40px auto 48px;
  padding: 0px 20px 20px;
  max-width: 850px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  color: #6b5a2e;
}

.site-contact-note p {
  margin-bottom: 14px;
  margin-bottom: 20px !important
}

.site-contact-link {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: #FFE179;
  color: #4a3b12;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-contact-link:hover {
  background: #ffdd55;
  transform: translateY(-1px);
}

/* 動物病院ページでもリンク色を固定 */
.site-contact-note,
.site-contact-note p {
  color: #6b5a2e !important;
}

.site-contact-note a,
.site-contact-note a:visited {
  color: #4a3b12 !important;
}

.swell-block-fullWide {
    padding-top: 0 !important;
}

.site-contact-note {
    margin-top: 0 !important;
    margin-bottom: 40px !important;
}

/* フッター直前のエリア全体の調整 */
.w-beforeFooter {
    margin-top: 20px !important;
    padding-bottom: 10px !important;
}

.contact-fullwide {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}

/* スマホで勝手に付く sp-py-20 / sp-py-40 を無効化 */
.contact-fullwide.sp-py-20,
.contact-fullwide.sp-py-40 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* HOME(page-id-123)だけフッター前余白を消す */
#body_wrap.home .l-main,
#body_wrap.home .l-content,
#body_wrap.home .post_content {
  padding-bottom: 0 !important;
}


/* ==================================================
   新規追加・変更・削除　お問い合わせフォーム　スマホ
==================================================== */
@media screen and (max-width: 768px) {

  .site-contact-note {
    text-align: left;
    font-size: 13px;
    line-height: 1.7;
    padding: 16px;
    margin: 28px auto 36px;
  }

  .site-contact-note p {
    margin-bottom: 16px;
  }

  .site-contact-link {
  display: block;
  width: 92%;
  margin: 0 auto;
  text-align: center;
  font-size: 11px;
  padding: 12px 5px !important;
  line-height: 1.4;
}
		
	.pc-only {
    display: none;
  }
	
}

/* ============================
   北九州近郊 アコーディオン
============================ */

/* 全体ラッパー */
.nearby-accordion {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0;
  max-width: 92%;
}

.accordion-area {
  max-width: 900px;
  width: 100%;
  margin: 0 auto 32px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 3px solid #fff;
  box-sizing: border-box;
}

/* 最後のエリアだけ余白なし */
.accordion-area:last-of-type {
  margin-bottom: 0;
}

/* summary（黄色バー） */
.accordion-title {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 35px 32px !important;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #444;
  background: #f0da6a;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

/* 開いた時 */
.accordion-area[open] .accordion-title {
  background: #d7c8ff;
}

/* details / summary のブラウザ既定を完全リセット */
.nearby-accordion details,
.-nearby-accordion summary {
  margin: 0;
  padding: 0;
}

/* デフォルト三角を消す */
.accordion-title::-webkit-details-marker,
.nearby-accordion summary::-webkit-details-marker {
  display: none;
}

/* 中身 */
.accordion-content {
  margin: 0;
  padding: 16px 12px 8px;
}

/* 店舗カード間 */
.accordion-content .clinic-item {
  margin-bottom: 16px;
}

/* 共通：画像の位置とサイズ */
.area-name {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* 画像と文字の間 */
}

/* 地域カード（全体） */
.clinic-card {
  background: #f0da6a;
  border-radius: 16px;
  border: 4px solid #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-size: 20px;
  transition: 0.25s;
  font-family: "Zen Maru Gothic", sans-serif;
  color: #6b4f2d;
  gap: 16px;
}

/* ホバー */
.clinic-card:hover {
  background: #FFF2C2;
  transform: translateY(-4px);
}


/* ============================
   エリアアコーディオン 共通
============================ */

.accordion-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px;
  background: #f0da6a;
  border-radius: 20px;
  cursor: pointer;
  box-sizing: border-box;
}

.accordion-title {
  position: relative;
}

/* テキストだけ中央寄せ */
.accordion-title .area-name {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}

/* 左側（肉球＋文字） */
.area-left {
  display: flex;
  align-items: center;
}

/* 肉球アイコン */
.area-paw {
  width: 52px;
  height: auto;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.15));
}

/* エリア名 */
.area-name {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 25px;
  font-weight: 700;
  color: #6b4f2d;
}

/* 右矢印 */
.area-arrow {
  font-size: 26px;
  color: #fff !important;
  transition: transform 0.25s ease;
}

/* open時 矢印回転 */
.accordion-area[open] .area-arrow {
  transform: rotate(90deg);
}

/* hover */
.accordion-title:hover {
  background: #f5e37e;
}

/* 左側（肉球＋文字） */
.area-left {
  display: flex;
  align-items: center;
}

/* 白丸 */
.area-paw-wrap {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* 肉球画像 */
.area-paw {
  width: 38px;
  height: auto;
}

/* 右矢印 */
.area-arrow {
  font-size: 28px;
  color: #6b4f2d;
}

/* アコーディオン間隔 */
.accordion-area {
  margin: 0 auto 32px !important;
  max-width: 900px;
}

.accordion-area summary {
  margin: 0 !important;
}

/* 各ページの色を変える */

/* 動物病院 */
.nearby-accordion.is-hospital .accordion-area[open] .accordion-title {
  background: #bae4c6;
}

/* カフェ */
.nearby-accordion.is-cafe .accordion-area[open] .accordion-title {
  background:#FFE179;
}

/* 買い物 */
.nearby-accordion.is-shopping .accordion-area[open] .accordion-title {
  background:#b3dbea;
}

/* ホテル */
.nearby-accordion.is-pet-hotel .accordion-area[open] .accordion-title {
  background:#ffb4ab;
}

/* 保育園 */
.nearby-accordion.is-hoikuen .accordion-area[open] .accordion-title {
  background:#CDE5BC;
}

/* ドッグラン */
.nearby-accordion.is-dogrun .accordion-area[open] .accordion-title {
  background:#E1CFB9;
}

/* ============================
 北九州近郊 アコーディオンスマホ
============================ */

@media screen and (max-width: 768px) {

  /* summary全体 */
  .accordion-title{
    position: relative;
    padding: 22px 18px !important;
  }

  /* 左側（肉球だけの箱） */
  .area-left{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 0 !important;
  }

  /* 白丸 */
  .area-paw-wrap{
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;          /* ← 余計なmargin-right等は全部0に */
    flex-shrink: 0;
  }

  /* 肉球 */
  .area-paw{
    width: 26px !important;
    height: auto;
  }

  /* 右矢印 */
  .area-arrow{
    font-size: 24px;
    flex-shrink: 0;
  }

  /* ★テキストを真ん中に固定 */
  .accordion-title .area-name{
    position: absolute !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    font-size: 17px !important;
    white-space: nowrap;
    text-align: center;
  }
}

/* ================
   　　投稿
================== */
/* 投稿本文ボックスだけ色変更 */
.single-post .post_content {
  background-color: #f3e3e3 !important;
  padding: 40px !important;
  border-radius: 6px;
}

/* ===================
   トップへ戻るボタン
====================== */
/* ① ベース（丸・肉球） */
#pagetop{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 70px !important;
  height: 70px !important;
  border-radius: 50% !important;
  overflow: hidden;
  background: #ffffff url("https://kitakyu-dogs.com/wp-content/uploads/2026/03/arrow.png") no-repeat center center !important;
  background-size: 65% !important;   /* 肉球の大きさ */
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

/* 元の矢印を消す */
#pagetop svg,
#pagetop i{
  display:none !important;
}

/* ② ↑を疑似要素で追加（最初は非表示） */
#pagetop::after{
  content: "↑";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  color: #333;
  background: rgba(255,255,255,.9);  /* うっすら白ベール */
  opacity: 0;
  transform: translateY(6px);
  transition: .25s ease;
}

/* ③ ホバーで出す */
#pagetop:hover::after{
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px){
  #pagetop::after{
    display: none !important;
  }
}

/* =========================
   プライバシーポリシー TOP
============================ */

.privacy-hero {
  background-color: #bae4c6;
  padding: 80px 20px;
  text-align: center;
}

.privacy-hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.privacy-logo {
  width: 120px;
  height: auto;
}

.privacy-title {
  font-family: "Bungee", sans-serif !important;
  font-size: 48px;
  margin: 0;
  color: #333;
  letter-spacing: 3px;
}

/* ========================
   お問い合わせフォーム
============================ */
.wpcf7 .jiman-form-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

/* Contact Form 7 全体の横幅を制限して中央に寄せる */
.wpcf7 {
    max-width: 600px; /* フォームの好みの横幅に合わせて調整してください */
    margin: 0 auto;   /* 左右のマージンをオートにして中央配置 */
}

/* 入力欄（input, textarea）も枠線いっぱいに広げる場合 */
.wpcf7 input[type="text"],
.wpcf7 textarea {
    width: 100%;
    box-sizing: border-box; /* 枠線がはみ出さないように設定 */
}

/* 送信ボタンのカスタマイズ */
.wpcf7 input[type="submit"] {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px 40px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    margin: 20px auto 0;
    border-radius: 5px;
}

/* マウスを乗せた時の動き（少し薄くする） */
.wpcf7 input[type="submit"]:hover {
    background-color: #333;    /* 少し明るい黒に */
    opacity: 0.8;              /* 透明度を少し下げる */
}

/* チェックボックスとテキストをきれいに横並びにする */
.wpcf7-list-item {
    display: flex;
    align-items: center;
    margin: 10px 0; /* 上下の余白 */
}

/* チェックボックスの右側に少し隙間を作る */
.wpcf7-list-item input {
    margin-right: 10px;
}

.wpcf7-form-control.wpcf7-radio label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* ================================
   お問い合わせフォーム　スマホ
==================================== */
@media screen and (max-width: 768px) {

 .wpcf7 .jiman-form-title { 
        font-size: 20px !important;
        white-space: nowrap;
        letter-spacing: -0.05em;
    }
	
  /* スマホの時だけ適用 */
  .wpcf7-list-item {
    display: flex;
    align-items: center;
    white-space: nowrap; /* 絶対に改行させない */
    font-size: 13px;      /* 文字を少し小さく（適宜調整してください） */
  }

  .wpcf7-list-item input {
    margin-right: 5px;   /* チェックボックス右の隙間を狭く */
  }

}


/* =========================
 プライバシーポリシー スマホ
============================ */
@media (max-width: 768px) {

  .privacy-hero {
    padding: 20px 20px;
    min-height: auto;          /* 高さ固定を解除 */
  }

  .privacy-hero-inner {
    flex-direction: row !important;   /* 強制横並び */
    justify-content: center;
    align-items: center;
    gap: 16px;
	flex-wrap: nowrap !important;
  }

  .privacy-logo {
    width: 80px;
  }

  .privacy-title {
    font-size: 18px !important;
    letter-spacing: 2px;
  }
	
/* プライバシーポリシー本文を中央カラム化 */
body.page-id-8129 .post_content > *:not(.privacy-hero) {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
	
	/* 最後の段落の下余白を消す */
.post_content p.u-mb-ctrl.u-mb-30:last-child {
    margin-bottom: 0 !important;
}

/* それでも空く場合は、その外側の要素も調整 */
.post_content {
    padding-bottom: 0 !important;
}
	
}

/* =====================
   　　投稿
======================== */

.insta-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-weight: bold;
}

.insta-icon {
  width: 20px;
  height: auto;
}

.insta-box {
  text-align: left;
}

/* ===============================
   タブレット・スマホ共通（構造）
================================ */
@media screen and (max-width: 960px) {
	
  /* Opening テキスト */
  .opening-text {
    font-size: 18px !important;
  }
	
 /* ヘッダーの高さ調整 */
  #header .l-header__inner {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* ロゴ（KITAKYU DOGS!） */
  #header .l-header__logo {
    order: 1;
  }

  /* 検索アイコン */
  #header .l-header__customBtn {
    order: 2;
    margin-right: 18px !important;  /* ← 検索とハンバーガーの間 */
  }

  /* ハンバーガーアイコン */
  #header .l-header__menuBtn {
    order: 3;
    margin-right: 4px !important;   /* ← 右端に余裕を持たせる */
  }

.menu-item-has-children > .sub-menu {
  display: none !important;
}
	
.menu-item-has-children.is-open > .sub-menu {
  display: block !important;
}
		
 .hero {
    height: 58vh;
    background-image: url('https://kitakyu-dogs.com/wp-content/uploads/2026/03/top_img.webp');
    background-size: 120% 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    width: 100%; 
  }
	
@media (max-width: 960px){
  .hero{
    height: 58vh;
    background-size: 120% 100%;
  }
}

@media (max-width: 767px){
  .hero{
    background-size: 110% !important;
  }
}	
	
/* KITAKYU */
  .hero h1.main-title.line1 {
    font-size: 8vh !important;
    top: 6vh !important;
  }

  /* DOGS!（間を少し広げる） */
  .hero h1.main-title.line2 {
    font-size: 8vh !important;
    top: 17vh !important;
  }
  
@keyframes slideInSm {
  0% { transform: translateX(-150%); opacity: 0; }
  100% { transform: translateX(-50%); opacity: 1; }
}
	
  .top-nav-wrap .nav-item {
  min-width: 140px;
  width: auto;
  flex-shrink: 0;
  justify-content: center;
}

}
	

/* PC */
@media (min-width: 961px) {
  .l-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}


