.mainborder{
  margin-top: -10px;
  margin-bottom: 10px;
  width: 100%;                 
  background:#a02c2c;           
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  padding: 5px 10px;          
  box-sizing:border-box;
  letter-spacing: 0.02em;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN",
               "Yu Gothic", Meiryo, system-ui, sans-serif;
}

/* 左側の型番（太く大きく） */
.mainborder .code{
  font-weight: 800;
  /* 画像の高さ感に合わせたサイズ（幅に応じて微調整可能） */
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
}

/* 右側の日本語タイトル（やや小さめ） */
.mainborder .itemname{
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
}

/* 文字が潰れやすい環境向けの薄い縁取り（任意） */
.mainborder .code,
.mainborder .itemname{
  text-shadow:
    0 0 1px rgba(0,0,0,.15),
    0 0 2px rgba(0,0,0,.10);
}