/* ───────── 縦型バナー（6列→スマホ3列） ───────── */
.brand-wall{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.brand-wall .brand{
  position: relative;
  display: block;
  overflow: hidden;
}
.brand-wall .brand img{
  width: 100%;
  height: auto;
  display: block;
}

/* 黒幕（最初は非表示） */
.brand-wall .box_tate_note{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity .3s ease;
}

/* hoverで表示 */
.brand-wall .brand:hover .box_tate_note{
  opacity: 1;
}

/* テキストを中央に配置＆90度回転 */
.brand-wall .box_tate_txt{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center;
  white-space: nowrap;
}

/* テキストの見た目（サイズ調整済み） */
.brand-wall .box_tate_txt .catName{
  font-size: 12px;   /* ← 小さめに変更 */
  color: #fff;
  letter-spacing: .1em;
  line-height: 1.2;
}

/* &#8212;&#8212; レスポンシブ &#8212;&#8212; */
@media (max-width: 991px){
  .brand-wall{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px){
  .brand-wall{ grid-template-columns: repeat(3, 1fr); }
}
