/*
  Skin Name: 北中野しあわせ猫の会スキン
  Description: 専用スキン
  Skin URI: https://wp-cocoon.com/
  Author: 北中野しあわせ猫の会
  Author URI: 
  Screenshot URI: 
  Version: 1.0.0
  Priority: 9999000000
*/
/*以下にスタイルシートを記入してください*/
@charset "UTF-8";

/* Google Fonts (Zen Maru Gothic) の読み込み */
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap');

/* ==========================================================================
   1. 全体基本設定
   ========================================================================== */
body {
    background-color: #f6f9f5 !important;
    color: #4a544c;
    font-family: 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ Pro W3", sans-serif !important;
    letter-spacing: 0.03em;
}

/* リンクカラー */
a {
    color: #589f66;
    transition: all 0.3s ease;
}
a:hover {
    color: #3b7447;
}

/* ==========================================================================
   2. ヘッダー・ナビゲーション
   ========================================================================== */
/*.header {
    background: linear-gradient(135deg, #eaf2e8 0%, #f7faf5 100%) !important;
    border-bottom: 3px dashed #b9d8bc !important;
    padding: 1em 0;
}*/
/* 親要素のヘッダー側（枠をしっかり固定する） */
#header {
	background-attachment: scroll !important;  /* パララックス等の動きをオフにして固定 */
  background-position: center center !important; /* 表示位置を中央に完全固定 */
  background-size: cover !important;          /* 常にヘッダー全体を覆う */
  position: relative !important; /* 絶対配置の基準にする */
  overflow: hidden;             /* 枠外にはみ出た白シートをバッサリ切る */
  padding: 1em 0;
}

/* 白シート（ヘッダーの中にぴったり収まる） */
#header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.45);
  z-index: 1;
  pointer-events: none; /* 下にあるリンク等のクリックを邪魔しない */
}

/* 中身（文字やロゴ）を白シートの上に出す */
#header-in {
  position: relative;
  z-index: 2;
}

/* タイトル文字に白い縁取り/影をつけてさらに読みやすく */
.site-name-text,
.tagline {
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9),
              -2px -2px 4px rgba(255, 255, 255, 0.9);
}


.site-name-text {
    font-size: 40px;
}

.logo-text
 {
    padding: 20px 0 0;
    font-size: 1em;
}

/* サイトタイトル */
.site-name-text {
    color: #134e35 !important;
    font-weight: 700;
}
/* サイトタイトルの前後に肉球を追加 */
.site-name-text-link::before,
.site-name-text-link::after {
    content: "\f1b0"; /* HTMLタグではなくUnicodeを指定 */
    font-family: "Font Awesome 5 Free"; /* Font Awesomeのフォントを指定 */
    font-weight: 900; /* fa-paw(Solid)を使う場合は 900 が必須 */
    display: inline-block;
    margin: 0 0.4em; /* タイトルテキストとの余白 */
    font-size: 1.5em;  /* 肉球の大きさを微調整 */
    opacity: 0.85;   /* 少しだけ透過して馴染ませる */
}

/* キャッチフレーズ */
.tagline {
    color: #2e7d32 !important;
}

/* グローバルナビゲーション */
.navi {
    background-color: #ffffff !important;
    border-top: 2px solid #e1efe2 !important;
    border-bottom: 2px solid #e1efe2 !important;
}

.navi-in a {
    color: #4a544c !important;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.2s ease;
    /*padding: 0.5em 1.2em !important;*/
}

.navi-in a:hover,
.navi-in .current-menu-item > a {
    background-color: #eaf4eb !important;
    color: #3b7447 !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   3. メインコンテンツ・カードデザイン
   ========================================================================== */
/* 記事カード・ブロックの枠線と角丸 */
.entry-card-wrap,
.sidebar .widget,
.article {
    background-color: #ffffff;
    border-radius: 18px !important;
    box-shadow: 0 4px 12px rgba(130, 160, 135, 0.12) !important;
	border: 2px solid #e2ebe0 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	padding: 10px
}

/* 記事カード（ホバー時） */
.entry-card-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(130, 160, 135, 0.22) !important;
    border-color: #c0dbc3 !important;
}

/* アイキャッチ画像の角丸 */
.entry-card-thumb img,
.eyecatch img {
    border-radius: 12px !important;
}

/* カテゴリラベル */
.cat-label {
    background-color: #059669 !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    padding: 2px 8px !important;
}

.header-container, .main, .sidebar, .footer
 {
    background-color: transparent;
}

/* ==========================================================================
   4. 見出し（H2・H3）デザイン
   ========================================================================== */
/* H2 見出し */
.article h2 {
    background-color: #e2f0e3 !important;
    color: #3a563f !important;
    padding: 0.8em 1.2em !important;
    border-left: 8px solid #7cb385 !important;
    border-radius: 12px !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    position: relative;
}

.article h2::after {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1em;
    opacity: 0.7;
}

/* H3 見出し */
.article h3 {
    color: #436348 !important;
    border-bottom: 3px dashed #93c49c !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    padding-bottom: 6px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    background: transparent !important;
}

/* ==========================================================================
   5. サイドバー＆ウィジェット
   ========================================================================== */
.sidebar .widget-title {
    background-color: #dbead2 !important;
    color: #3b573e !important;
    border-radius: 12px !important;
    padding: 10px 15px !important;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    border: none !important;
}

/* サイドバー内部の余白調整 */
.sidebar .widget {
    padding: 1.25rem !important;
    margin-bottom: 1.5rem !important;
}

/* ==========================================================================
   6. ボタン＆吹き出しカスタムクラス
   ========================================================================== */
/* 緑のぷっくりボタン (.cute-btn) */
.btn-green,
.cute-btn {
    background: linear-gradient(to bottom, #83c28f, #6fae7b) !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 0 #548b5e !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
    display: inline-block;
    text-align: center;
    text-decoration: none !important;
    border: none !important;
    padding: 10px 24px;
}

.btn-green:hover,
.cute-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #548b5e !important;
    opacity: 0.95;
}

/* オレンジのアクセントボタン (.cute-btn-accent) */
.btn-orange,
.cute-btn-accent {
    background: linear-gradient(to bottom, #ffaa75, #f58d4e) !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 0 #c25f23 !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
    display: inline-block;
    text-align: center;
    text-decoration: none !important;
    border: none !important;
    padding: 10px 24px;
}

.btn-orange:hover,
.cute-btn-accent:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #c25f23 !important;
}

/* Cocoon吹き出し（スピーチバルーン）の枠線・丸み補正 */
.speech-balloon .speech-char-name {
    color: #1a4d2e !important;
    font-weight: 700;
}

.speech-balloon .speech-balloon-bubble {
    border-radius: 18px !important;
    border: 2px solid #cce2cf !important;
    background-color: #ffffff !important;
}

/* ==========================================================================
   7. フッター
   ========================================================================== */
.footer {
    background-color: #4b5e4f !important;
    color: #f3f8f4 !important;
    border-top: 4px solid #b9d8bc !important;
}

.footer a {
    color: #d1e7d5 !important;
}

.footer a:hover {
    color: #ffffff !important;
}
/* ==========================================================================
   8. コンセプトカード
   ========================================================================== */
/* コンセプトカード全体 */
.cat-concept-card {
  background: linear-gradient(135deg, #f2f9f3 0%, #ffffff 60%, #f4fbf5 100%);
  border: 2px solid #cce2cf;
  border-radius: 18px;
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(130, 160, 135, 0.12);
  margin-bottom: 24px;
  box-sizing: border-box;
}

/* ラベルバッジ */
.cat-concept-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
  margin-bottom: 12px;
}

/* 2行改行見出し */
.cat-concept-title {
  margin: 0 0 16px 0;
  line-height: 1.4;
  border: none !important;
  background: none !important;
  padding: 0 !important;
}

/*.cat-concept-title-line1 {
  display: block;
  color: #2d3748;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 6px;
}*/

/*.cat-concept-title-line2 {
  display: inline-block;
  color: #14532d;
  background: linear-gradient(to right, #d1fae5, #ecfdf5);
  padding: 4px 12px;
  border-radius: 8px;
  border-left: 5px solid #059669;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}*/

/* 本文 */
.cat-concept-text {
  font-size: 14px;
  line-height: 1.8;
  color: #4b5563;
  border-top: 1px dashed #cce2cf;
  padding-top: 16px;
  margin-bottom: 20px;
}

.cat-concept-text strong {
  color: #14532d;
  background-color: #dcfce7;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
}

/* ボタン */
.cat-concept-btn-wrap {
  text-align: left;
}

.cat-concept-btn {
  display: inline-block;
  background: linear-gradient(to bottom, #83c28f, #6fae7b);
  color: #ffffff !important;
  font-weight: bold;
  font-size: 13px;
  padding: 10px 24px;
  border-radius: 25px;
  box-shadow: 0 4px 0 #548b5e;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.cat-concept-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #548b5e;
  opacity: 0.95;
}

/* 背景装飾足跡 */
.cat-concept-bg-icon {
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 80px;
  color: #dbead2;
  opacity: 0.4;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* スマホ対応 */
@media (max-width: 640px) {
  .cat-concept-card {
    padding: 20px 16px;
  }
  .cat-concept-title-line1 {
    font-size: 17px;
  }
  .cat-concept-title-line2 {
    font-size: 18px;
  }
  .cat-concept-btn-wrap {
    text-align: center;
  }
}
/* ==========================================================================
   9. 運営情報ウィジェット
   ========================================================================== */
/* 運営情報ウィジェット カスタムCSS (WordPress/Cocoon対応) */
.kn-info-card {
    background-color: #ffffff;
    border-radius: 18px;
    text-align: center;
    font-family: 'Zen Maru Gothic', "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    color: #4a544c;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.kn-info-title {
    background-color: #dbead2;
    color: #3b573e;
    border-radius: 12px;
    padding: 10px 15px;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.kn-cat-box {
    position: relative;
    display: inline-block;
    margin: 8px 0 16px 0;
}

.kn-cat-img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #c0dbc3;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    display: block;
    margin: 0 auto;
}

.kn-cat-badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #589f66;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1.5px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.kn-info-details {
    background-color: #f2f8f3;
    border: 1px solid #d8e8da;
    border-radius: 12px;
    padding: 14px;
    text-align: left;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.kn-info-item {
    margin-bottom: 10px;
}

.kn-info-item:last-child {
    margin-bottom: 0;
}

.kn-info-item-border {
    padding-top: 8px;
    border-top: 1px dashed #d0e2d2;
}

.kn-info-label {
    color: #3b7447;
    font-weight: bold;
    font-size: 11px;
    display: block;
    margin-bottom: 2px;
}

.kn-info-text {
    margin: 0;
    color: #333333;
    font-weight: 500;
}

.kn-info-link {
    color: #3b7447;
    text-decoration: underline;
    word-break: break-all;
    font-weight: bold;
}

.kn-info-link:hover {
    color: #275231;
}

.kn-sns-section {
    padding-top: 4px;
}

.kn-sns-label {
    font-size: 11px;
    font-weight: bold;
    color: #666666;
    display: block;
    margin-bottom: 10px;
}

.kn-sns-list {
    display: flex;
    justify-content: center;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.kn-sns-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.kn-sns-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.kn-sns-btn svg {
    width: 1em;          /* 親要素の font-size (15px) に合わせる */
    height: 1em;
    fill: currentColor;  /* 親要素の color (白) を継承 */
}

.kn-sns-btn.insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.kn-sns-btn.x-twitter {
    background-color: #000000;
    font-size: 15px;
}

.kn-sns-btn.youtube {
    background-color: #FF0000;
}


.kn-sns-btn.facebook {
    background-color: #1877F2;
}
/* ==========================================================================
   10. ご支援お願いウィジェット
   ========================================================================== */
.support-widget-box {
    background: linear-gradient(135deg, #fffdfa 0%, #fff5ed 100%);
    border: 2px dashed #f5a068;
    border-radius: 18px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(245, 141, 78, 0.12);
    box-sizing: border-box;
    margin-bottom: 20px;
}
.support-widget-title {
    color: #d96b27;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}
.support-widget-text {
    color: #665247;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 14px;
}
.support-widget-btn {
    display: block;
    background: linear-gradient(to bottom, #ff9f59, #f27c38);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    padding: 10px 16px;
    border-radius: 25px;
    box-shadow: 0 4px 0 #bd5517;
    transition: all 0.2s ease;
}
.support-widget-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #bd5517;
    opacity: 0.95;
}

/* ==========================================================================
   11. 検索ボックスデザイン
   ========================================================================== */
/* 検索フォーム全体の配置と枠線 */
.search-box {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  background-color: #ffffff;
  border: 2px solid #c0dbc3;
  border-radius: 25px !important; /* 全体的に丸みを強調 */
  overflow: hidden;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* 検索フォームホバー・フォーカス時の挙動 */
.search-box:hover,
.search-box:focus-within {
  border-color: #589f66;
  box-shadow: 0 0 8px rgba(88, 159, 102, 0.25);
}

/* 入力テキストエリア */
.search-edit {
  flex: 1;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  padding: 10px 16px !important;
  font-size: 0.95rem;
  color: #4a544c;
  font-family: inherit;
}

.search-edit::placeholder {
  color: #a0b3a3;
}

/* 検索ボタン */
.search-submit {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #589f66 !important;
  padding: 0 16px !important;
  font-size: 1.05rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 検索ボタンホバー時 */
.search-submit:hover {
  color: #3b7447 !important;
  transform: scale(1.1);
}

/* ==========================================================================
   12. 保護猫絞り込み検索フォーム (.filter-form)
   ========================================================================== */
/* フォーム全体をカード風にする */
.filter-form {
  background-color: #ffffff;
  border: 2px solid #e2ebe0;
  border-radius: 18px !important;
  padding: 18px 20px;
  box-shadow: 0 4px 12px rgba(130, 160, 135, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
  margin-bottom: 24px;
}

/* ラベル＋セレクトのグループ */
.filter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 140px; /* スマホで自動で折り返せる幅設定 */
}

/* ラベル（性別・状態など） */
.filter-item label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #3b7447;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* セレクトボックスの装飾 */
.filter-item select {
  width: 100%;
  padding: 8px 12px;
  border: 2px solid #c0dbc3;
  border-radius: 12px !important;
  background-color: #fcfdfe;
  color: #4a544c;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.filter-item select:focus,
.filter-item select:hover {
  border-color: #589f66;
  background-color: #ffffff;
  box-shadow: 0 0 6px rgba(88, 159, 102, 0.2);
}

/* 「検索する」ボタン（ぷっくり緑ボタンのデザインを踏襲） */
.filter-submit {
  background: linear-gradient(to bottom, #83c28f, #6fae7b) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 25px !important;
  padding: 9px 24px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  font-family: inherit;
  box-shadow: 0 4px 0 #548b5e !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
  margin-top: 4px;
}

.filter-submit:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #548b5e !important;
  opacity: 0.95;
}

/* リセットリンク */
.filter-form a[href*="cat_list"] {
  color: #88998a !important;
  font-size: 0.85rem !important;
  text-decoration: underline;
  margin-left: 4px !important;
  padding-bottom: 8px;
  align-self: flex-end;
  transition: color 0.2s ease;
}

.filter-form a[href*="cat_list"]:hover {
  color: #e06a3b !important; /* ホバー時はやさしいオレンジにアクセント */
}

/* スマホ表示向けの調整 */
@media screen and (max-width: 599px) {
  .filter-form {
    padding: 16px;
    gap: 12px;
  }
  
  .filter-item {
    flex: 1 1 100%; /* スマホでは1行ずつ縦並びに */
  }

  .filter-submit {
    width: 100%; /* ボタンも押しやすいように全幅に */
    text-align: center;
  }

  .filter-form a[href*="cat_list"] {
    display: block;
    width: 100%;
    text-align: center;
    margin-left: 0 !important;
    padding-bottom: 0;
  }
}