/* すべての文字を EC-CUBE と同じゴシック系に統一 */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}


/* サイドバーとメインのラッパー */
.content-area {
  display: flex;
  align-items: stretch; /* 高さを揃える */
  background: #f5f2ed;  /* 全体の背景色 */
  min-height: calc(100vh - 180px); /* ヘッダー＋フッター分 */
}

/* メイン部分 */
.main-content {
  flex: 1;
  padding: 20px;
}

.header-right .header-item .text {
    font-size: 15px !important;
    font-weight: 520;
}

/* =========================
   カテゴリバー（黒帯）
========================= */

.category-bar {
  width: 100%;
  background: #111;
  padding: 8px 0;              /* ← ここで全体の高さを微調整 */
}

.category-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-main > li {
  position: relative;
}

/* ▼ 親カテゴリ（EC-CUBE の印象に寄せた本家版） */
.category-main > li > a {
  display: block;
  padding: 10px 10px;          /* ← EC-CUBE 側と揃えた縦幅 */
  color: #fff;
  text-decoration: none;
  font-size: 14px;             /* ← 文字サイズも揃える */
  font-weight: 500;            
  white-space: nowrap;
  line-height: 1;
}

.category-main > li > a:hover {
  text-decoration: underline;
}

/* ▼ ドロップダウン（サブメニュー） */
.category-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  padding: 0; /* ← 余白はリンク側で調整 */
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 999;
}

.category-sub li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-sub a {
  display: block;
  padding: 10px 12px;
  font-size: 13.0px;            /* ← EC-CUBE側とほぼ同じ“見え方” */
  color: #222;                  /* ← #1a1a1a より少し薄め（EC-CUBE寄せ） */
  font-weight: 400;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;

  /* 念のためフォントもEC-CUBEに揃える */
  font-family: "Helvetica Neue", Helvetica, Arial,
               "Noto Sans JP", "ヒラギノ角ゴ ProN",
               "Hiragino Kaku Gothic ProN", "メイリオ",
               Meiryo, sans-serif;
}

.category-sub a:hover {
  background: #f5f5f5;
}

/* ▼ ホバーでサブ開く */
.dropdown:hover .category-sub {
  display: block;
}
