/* ================================
   KARiN.NOTES List — media layout
================================ */
body.notes-list-page,
body {
  padding: 0;
}

.blog-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 5% 80px;
  box-sizing: border-box;
  color: #1E3A5F;
}

.blog-heading {
  font-family: "Cormorant Garamond", "Hiragino Mincho ProN", serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  text-align: center;
  margin-bottom: 8px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.no-results {
  text-align: center;
  padding: 48px 0;
  color: #777;
}

/* 一覧カードのタグ：トップ「もっと見る →」と同系統のゴールド下線テキスト */
body.notes-list-page .notes-tags {
  gap: 16px;
  align-items: baseline;
}

body.notes-list-page .notes-tag {
  display: inline-block;
  padding: 0 0 3px;
  margin: 0;
  border-radius: 0;
  background: none;
  color: #1E3A5F;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  border-bottom: 1px solid #c0a062;
}

/* ===============================
   🏷 カテゴリフィルター（KARiN.デザイン）
=============================== */

.blog-filter {
  display: flex;
  justify-content: center; /* ← 中央寄せ */
  flex-wrap: wrap;
  gap: 14px;
  margin: 25px auto 40px;
  padding: 10px 0;
}

.filter-btn {
  display: inline-block;
  padding: 10px 24px;
  background: #f4f6fa;              /* 薄い上品なグレー系 */
  color: #1E3A5F;
  border-radius: 30px;              /* pill shape */
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
  border: 1px solid #dde3ec;
}

.filter-btn:hover {
  background: #e9eef5;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #1E3A5F;              /* KARiNネイビー */
  color: #fff;
  border-color: #1E3A5F;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

/* ===========================
   🔍 検索フォーム（全デバイス中央固定）
=========================== */

.blog-search {
  width: 100%;
  display: flex;
  justify-content: center;   /* 中央寄せ */
  align-items: center;
  margin: 40px auto 50px;
  padding: 0;
  gap: 12px;
}

.blog-search input[type="text"] {
  width: 280px;              /* 固定幅 */
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 30px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 1rem;
  transition: 0.2s ease;
  text-align: left;
}

.blog-search button {
  background: #ffffff;
  color: #1E3A5F;
  border: 1px solid rgba(30, 58, 95, 0.16);
  border-radius: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .blog-search button:hover {
    background: #1E3A5F;
    color: #ffffff;
    border-color: #1E3A5F;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    opacity: 1;
  }
}

/* 右下ホームボタン（既存と同じ） */
.home-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 40px;
  padding: 10px 16px 10px 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  text-decoration: none;
  color: #1E3A5F;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.25s;
  z-index: 1000;
}
.home-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.home-btn img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

/* スマホ：1列 */
@media (max-width: 768px) {
  .blog-filter {
    gap: 10px;
    padding: 6px 0;
  }
  .filter-btn {
    padding: 8px 18px;
    font-size: 0.9rem;
  }
  .home-btn {
    bottom: 15px;
    right: 15px;
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .home-btn img {
    width: 24px;
    height: 24px;
  }
}

/* 超小さい画面 */
@media (max-width: 480px) {
  .blog-thumb-wide {
    height: 180px;
  }
  .blog-search {
    gap: 10px;
    margin: 30px auto 40px;
  }

  .blog-search input[type="text"] {
    width: 220px;     /* 少し小さめに */
  }

  .blog-search button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* * {
  outline: 1px solid red !important;
} */


