/* ==========================================
   検索フォーム：都道府県
========================================== */

.kin-pref-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  margin:8px 0 4px;
}

.kin-pref-item{
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:10px;
  background:#fff;
  line-height:1.2;
  width: calc(25% - 14px);
  min-width:150px;
}

.kin-pref-item input{
  margin:0;
}

/* タブレット */
@media (max-width: 900px){
  .kin-pref-item{
    width: calc(33.333% - 14px);
  }
}

/* スマホ */
@media (max-width: 600px){
  .kin-pref-item{
    width: calc(50% - 14px);
    min-width:0;
  }
}


/* ==========================================
   詳細項目
========================================== */

.kin-service-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  margin:8px 0 4px;
}

.kin-service-item{
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:10px;
  background:#fff;
  line-height:1.2;
  width: calc(33.333% - 14px);
  min-width:180px;
}

.kin-service-item input{
  margin:0;
}

/* タブレット：2列 */
@media (max-width: 900px){
  .kin-service-item{
    width: calc(50% - 14px);
  }
}

/* スマホ：1列 */
@media (max-width: 600px){
  .kin-service-item{
    width:100%;
    min-width:0;
  }
}


/* ==========================================
   検索ページ（page_id=1201）
========================================== */

body.page-id-1201 .kin-only-profile,
body.page-id-1201 .kin-only-report{
  display:none;
}

/* 目次を非表示 */
body.page-id-1201 .toc,
body.page-id-1201 .cocoon-toc,
body.page-id-1201 .entry-content .toc,
body.page-id-1201 .entry-content .cocoon-toc{
  display:none !important;
}


/* ==========================================
   検索ボタンエリア
========================================== */

.kin-search-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

/* 共通 */
.kin-btn-search,
.kin-btn-reset{
  display:inline-block;
  padding:14px 22px;
  min-width:140px;
  border-radius:12px;
  font-size:1.05em;
  font-weight:700;
  box-sizing:border-box;
  cursor:pointer;
  text-decoration:none;
}

/* 検索ボタン */
.kin-btn-search{
  background:#00552e;
  color:#fff;
  border:none;
}

/* リセット */
.kin-btn-reset{
  background:#00552e;
  color:#fff;
  border:none;
}

/* hover */
.kin-btn-search:hover,
.kin-btn-reset:hover{
  background:#ff9800;
  filter:none;
}


/* ==========================================
   詳細検索ボタン（ニューモーフィズム）
========================================== */

.custom-search-btn{
  display:inline-block;
  padding:14px 38px;
  background:#ffffff;
  color:#2b5c6b;
  border-radius:30px;
  text-decoration:none !important;
  font-weight:bold;
  font-size:20px;
  box-shadow:
    6px 6px 12px rgba(0,0,0,0.15),
   -6px -6px 12px rgba(255,255,255,0.7);
  transition:all 0.25s ease;
}

.custom-search-btn:hover{
  box-shadow:
    inset 3px 3px 6px rgba(0,0,0,0.15),
    inset -3px -3px 6px rgba(255,255,255,0.7);
  transform:translateY(1px);
  opacity:0.9;
}


/* ヘッダーのサイト名テキストを非表示にする */
.header-container .site-name-text{
  display:none !important;
}

/* 投稿表示画面の label を太字にする */
.single .entry-content label{
  font-weight:700 !important;
}


/* =====================================
   固定ページID 1537 専用設定
   サイドバーと同色に統一
   枠・影・角丸を削除
===================================== */

/* メイン背景をサイドバーと同色に */
body.page-id-1537 #wrap,
body.page-id-1537 #content,
body.page-id-1537 #main,
body.page-id-1537 .main,
body.page-id-1537 .main-scroll{
  background:#b8d1d8 !important;
}

/* 白いカード枠を削除 */
body.page-id-1537 .content-in,
body.page-id-1537 .article-in{
  box-shadow:none !important;
  border:none !important;
  border-radius:0 !important;
}

/* 画像周りの影・角丸を削除 */
body.page-id-1537 .wp-block-image,
body.page-id-1537 .wp-block-image img{
  box-shadow:none !important;
  border-radius:0 !important;
}

/* 見出しの水色バーが残っている場合だけ消す */
body.page-id-1537 h2{
  background:none !important;
  box-shadow:none !important;
  border:none !important;
}

/* 特定ページだけ見出し下を詰める */
.page-id-1607 .entry-content h2{
  margin-bottom:8px;
}

/* 買い物のクリアを消す */
.single-product .reset_variations{
  display:none !important;
}

/* 表組みを整える */
.woocommerce-checkout-review-order-table td.product-name{
  width:70% !important;
  vertical-align:top;
}

.price-table{
  width:100%;
  border-collapse:collapse;
  text-align:center;
}


/* ==========================================
   上部バー
========================================== */

#kc-topbar{
  position:sticky;
  top:0;
  width:100%;
  background:#0f2e4d;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  padding:8px 10px;
  box-sizing:border-box;
  z-index:9999;
}

.kc-btn,
#kc-topbar button{
  background:#fff;
  color:#0f2e4d;
  border:none;
  padding:6px 10px;
  border-radius:20px;
  font-size:12px;
  text-decoration:none;
  cursor:pointer;
  white-space:nowrap;
}

/* 管理バーがある時 */
body.admin-bar #kc-topbar{
  top:32px;
}

@media screen and (max-width: 782px){
  body.admin-bar #kc-topbar{
    top:46px;
  }
}

/* スマホで帯が崩れる場合は固定解除 */
@media screen and (max-width: 782px){
  #kc-topbar{
    position:static !important;
    top:auto !important;
  }
}


/* ==========================================
   ブックマークモーダル
========================================== */

#kc-bookmark-modal{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,.45);
  z-index:100001;
  display:none;
  justify-content:center;
  align-items:center;
  padding:20px;
  box-sizing:border-box;
}

.kc-bookmark-box{
  display:block;
  background:#fff;
  color:#333;
  width:92%;
  max-width:420px;
  border-radius:14px;
  padding:18px;
  box-sizing:border-box;
  box-shadow:0 8px 24px rgba(0,0,0,.2);
  position:relative;
  z-index:100002;
}

.kc-bookmark-box p{
  margin:0 0 10px;
  line-height:1.7;
}

.kc-bookmark-box button{
  background:#0f2d4a;
  color:#fff;
  border:none;
  border-radius:999px;
  padding:8px 14px;
  cursor:pointer;
}