/* ========================================
   OgarMade カテゴリー別商品一覧（改善版）
======================================== */
.ogm-nav {
  display: flex;
  align-items: center; /* ← ロゴとリンクを縦中央に揃える */
  justify-content: center;
  gap: 8px;
  padding: 20px 0px;
  background: #f5f3ef;
  max-width: 1200px;
  margin: 0 auto;
}

.ogm-nav__link {
  color: #8B1A1A;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 8px 20px;
  border: 1.5px solid #8B1A1A;
  background-color: #fff;
  border-radius: 999px;
  transition: all 0.2s ease;
  display: inline-block;
}
.ogm-nav__logo {
  margin-right: auto; /* ← ロゴを左端に寄せる */
}
.ogm-nav__logo img {
  height: 36px;       /* ← 高さを調整 */
  width: auto;
  display: block;
}
.ogm-nav__link:hover {
  background: #8B1A1A;
  color: #fff;
}
.ogm-sections {
  font-family: 'Noto Sans JP', sans-serif;
  background: #f5f3ef;
  padding: 0 0 64px;
  max-width: 1200px;
  margin: 0 auto;
}
html {
  scroll-behavior: smooth;
}

/* セクション余白 */
.ogm-section {
  margin-bottom: 40px;
}

/* ヘッダー */
.ogm-section-header {
  width: 100%;
  margin-bottom: 20px;
}

.ogm-section-header img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px; /* ← ほんのり高級感 */
}

/* ======================
   商品グリッド
====================== */
.ogm-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ← 自動調整 */
  gap: 16px;
  padding: 0 16px;
}

/* ======================
   商品カード
====================== */
.ogm-product-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px 12px 18px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;

  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ホバーで浮く */
.ogm-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* 画像 */
.ogm-product-card__img {
  width: 100%;
  max-width: 160px;
  height: 160px;
  object-fit: contain;
}

/* キャッチコピー */
.ogm-product-card__catch {
  font-size: 12px;
  color: #333;
  margin-bottom: 14px;
  line-height: 1.6;

  /* 2行まで表示 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ボタン */
.ogm-product-card__btn {
  margin-top: auto; /* ← 下に揃える神設定 */

  display: block;
  width: 100%;
  background: #8B1A1A;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 9px 6px;
  border-radius: 999px;
  text-decoration: none;

  transition: all 0.2s ease;
}

.ogm-product-card__btn:hover {
  background: #a82020;
  transform: scale(1.03);
}

/* ======================
   レスポンシブ
====================== */
@media (max-width: 768px) {
  .ogm-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .ogm-nav {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .ogm-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 16px;
  }
}