@charset "UTF-8";

* {
  box-sizing: border-box;
}
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.85;
  color: #2b2b2b;
  background-color: #f4f4f2;
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  height: auto;
}

/* ヘッダー */
.site-header {
  background-color: #1c1c1c;
  color: #fff;
  padding: 14px 20px;
  border-bottom: 3px solid #8b0000;
}
.header-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.site-logo {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.05em;
}
.header-link {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 13px;
  border: 1px solid #666;
  padding: 4px 12px;
  border-radius: 3px;
}
.header-link:hover {
  background-color: #333;
  color: #fff;
}

/* メイン枠 */
.container {
  max-width: 820px;
  margin: 24px auto 40px;
  background: #fff;
  padding: 32px 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-radius: 4px;
}

/* パンくずリスト */
.breadcrumb {
  font-size: 12px;
  color: #666;
  margin-bottom: 16px;
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.breadcrumb li {
  margin-right: 6px;
}
.breadcrumb li::after {
  content: ">";
  margin-left: 6px;
  color: #aaa;
}
.breadcrumb li:last-child::after {
  content: "";
}
.breadcrumb a {
  color: #555;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* 記事タイトル・日付 */
.post-date {
  font-size: 13px;
  color: #777;
  margin-bottom: 6px;
}
h1 {
  font-size: 23px;
  line-height: 1.45;
  border-bottom: 2px solid #222;
  padding-bottom: 14px;
  margin: 0 0 22px;
  color: #111;
}

/* 導入文・目次 */
.intro {
  background-color: #f8f7f4;
  border-left: 4px solid #444;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 15px;
}
.toc {
  background-color: #fafafa;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 38px;
}
.toc-title {
  font-weight: bold;
  font-size: 14px;
  margin: 0 0 8px;
  color: #222;
}
.toc ol {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
}
.toc li {
  margin-bottom: 4px;
}
.toc a {
  color: #1a4d80;
  text-decoration: none;
}
.toc a:hover {
  text-decoration: underline;
}

/* 記事ページ：商品ブロック */
.item-block {
  margin-bottom: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid #e5e5e5;
}
.item-block:last-of-type {
  border-bottom: none;
  margin-bottom: 20px;
  padding-bottom: 10px;
}
.brand-badge {
  display: inline-block;
  background-color: #8b0000;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.06em;
  padding: 2px 9px;
  border-radius: 2px;
  margin-bottom: 6px;
}
h2 {
  font-size: 19px;
  line-height: 1.4;
  border-left: 5px solid #222;
  padding-left: 12px;
  margin: 0 0 18px;
  color: #111;
}
.item-img {
  text-align: center;
  margin: 0 auto 18px;
  max-width: 600px;
}
.item-img img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 4px;
  border: 1px solid #eaeaea;
  display: block;
  margin: 0 auto;
}
.item-img a:hover img {
  opacity: 0.9;
}
.item-text {
  font-size: 15px;
  margin: 0 0 22px;
}

/* CTAボタン */
.btn-wrap {
  text-align: center;
}
.item-btn {
  display: inline-block;
  background-color: #8b0000;
  color: #fff;
  text-decoration: none;
  padding: 13px 32px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 15px;
  box-shadow: 0 3px 0 #5a0000;
}
.item-btn:hover {
  background-color: #a50000;
}

/* 絞り込み・検索バー */
.filter-bar {
  display: flex;
  margin: 20px 0 8px;
  flex-wrap: wrap;
}
.filter-select,
.filter-input {
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  margin-bottom: 8px;
}
.filter-select {
  min-width: 170px;
  margin-right: 10px;
  cursor: pointer;
}
.filter-input {
  flex: 1;
  min-width: 220px;
}
.filter-count {
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
}

/* 一覧ページ（日付 → 題目 → 画像／PC横4枚・スマホ2×2） */
.card-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 36px;
}
.card-item {
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background-color: #fff;
  margin-bottom: 22px;
  overflow: hidden;
}
.card-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.card-item a {
  display: block;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
}
.card-date {
  font-size: 13px;
  font-weight: bold;
  color: #666;
  margin-bottom: 4px;
}
.card-title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  color: #1a4d80;
  margin: 0 0 12px;
}
.card-item a:hover .card-title {
  color: #8b0000;
  text-decoration: underline;
}
.card-thumb-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 100%;
  margin-bottom: 0;
}
.card-thumb-grid img {
  width: 24%;
  height: auto;
  margin-bottom: 0;
  border-radius: 4px;
  border: 1px solid #eee;
  display: block;
}

/* 年別アーカイブ */
.archive-box {
  background-color: #fafafa;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  padding: 16px 20px;
  margin-top: 28px;
}
.archive-title {
  font-weight: bold;
  font-size: 14px;
  margin: 0 0 10px;
  color: #222;
}
.archive-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}
.archive-links li {
  margin-right: 10px;
  margin-bottom: 8px;
}
.archive-links a {
  display: inline-block;
  padding: 6px 14px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  color: #1a4d80;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
}
.archive-links a:hover {
  background-color: #f0f0f0;
  color: #8b0000;
}

/* ショップ案内 */
.shop-box {
  background-color: #f8f7f4;
  border: 1px solid #e2e0da;
  border-radius: 4px;
  padding: 18px 20px;
  margin-top: 30px;
  font-size: 14px;
}
.shop-box-title {
  font-weight: bold;
  margin: 0 0 6px;
  color: #111;
}
.shop-box p {
  margin: 0;
  color: #444;
}

/* 一覧ページ用：説明付きメーカーリンク一覧 */
.brand-guide {
  margin-top: 30px;
  padding: 20px 22px;
  background-color: #fafafa;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
}
.brand-guide-heading {
  font-size: 16px;
  border-left: 4px solid #8b0000;
  padding-left: 10px;
  margin: 0 0 16px;
  color: #111;
}
.brand-guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.brand-guide-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e6e6e6;
}
.brand-guide-list li:first-child {
  padding-top: 0;
}
.brand-guide-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.brand-guide-name {
  display: inline-block;
  font-size: 15px;
  font-weight: bold;
  color: #1a4d80;
  text-decoration: none;
  margin-bottom: 4px;
}
.brand-guide-name:hover {
  color: #8b0000;
  text-decoration: underline;
}
.brand-guide-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #444;
}

/* 記事ページ用：コンパクトなメーカーリンクボタン */
.brand-btn-box {
  margin-top: 28px;
  padding: 16px 20px;
  background-color: #fafafa;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
}
.brand-btn-title {
  font-size: 14px;
  font-weight: bold;
  color: #222;
  margin: 0 0 10px;
}
.brand-btn-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}
.brand-btn-list li {
  margin-right: 8px;
  margin-bottom: 8px;
}
.brand-btn-list a {
  display: inline-block;
  padding: 6px 13px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 13px;
  font-weight: bold;
  color: #222;
  text-decoration: none;
}
.brand-btn-list a:hover {
  background-color: #8b0000;
  border-color: #8b0000;
  color: #fff;
}

/* フッターナビ */
.footer-nav {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #1a4d80;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}
.footer-nav a:hover {
  text-decoration: underline;
}
.site-footer {
  text-align: center;
  font-size: 12px;
  color: #777;
  padding: 0 15px 30px;
}

/* スマホ対応（幅600px以下） */
@media (max-width: 600px) {
  .container {
    margin: 0;
    padding: 20px 16px;
    border-radius: 0;
    box-shadow: none;
  }
  h1 {
    font-size: 20px;
  }
  h2 {
    font-size: 17px;
  }
  .card-thumb-grid {
    margin-bottom: -8px;
  }
  .card-thumb-grid img {
    width: 49%;
    margin-bottom: 8px;
  }
  .item-btn {
    display: block;
    width: 100%;
    padding: 14px 10px;
  }
  .filter-select,
  .filter-input {
    width: 100%;
    min-width: 0;
    margin-right: 0;
  }
  .brand-guide {
    padding: 16px 14px;
  }
  .brand-btn-box {
    padding: 14px;
  }
}