@charset "UTF-8";

/* 高さを取っている不要なbrを消す */
noscript+br {
  display: none;
}

/* 空きセルのtableの余白を取る */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 空のtdは高さを0にする */
td:empty {
  height: 0;
  padding: 0;
}

/* カテゴリーのパンくずのリンク色を変更する */
td.sdtext a {
  text-decoration: none;
  color: #333333;
}

td.sdtext a:hover {
  text-decoration: underline;
}

/* 商品説明文のパンくずのリンク色を変更する */
.item_desc a {
  text-decoration: none;
  color: #333333;
}

.item_desc a:hover {
  text-decoration: underline;
}

.item_desc img {
  width: auto;
  max-width: 1010px;
}

/* DFPをヘッダーの下に表示させるため、ヘッダーをabsoluteで配置するための余白を作る */
#pagebody {
  position: relative;
  padding: 148px 0 0;
  /* ブラウザーによってSerifで表示される場合があるため上書きする */
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "HiraKakuProN-W3", "メイリオ", Meiryo, sans-serif;
}

/* DFPバナーの大きさを調整 */
div[id^="div-gpt-ad-"] {
  width: 1216px;
  margin: 12px 32px 0;
}

/* ヘッダーをabsoluteで配置して、DFPをヘッダー下に表示させる */
#headerContainer {
  position: absolute;
  top: 0;
  width: 100%;
}

/* RMSオリジナルのレイアウトのtableに入っている余白を消す */
#headerContainer+table td[width="20"] img[width="20"],
#headerContainer+table td[width="20"]:last-of-type {
  width: 0;
}

#contentsTable {
  margin-top: 24px;
}

#contentsTable td[width="100%"][align="center"] {
  padding-right: 32px;
  text-align: left;
}

/* ページ下のレコメンドとランキングの幅を調整する */
.ItemRecommendationBottomWrapper,
#rnkInShopPartsArea {
  width: 1010px !important;
}

/*----- カテゴリページ -----*/
span.category_itemtaxpostage {
  font-size: 10px;
}

span.category_itemprice {
  color: #bf0000;
  font-size: 24px;
  font-weight: bold;
  display: block;
}

#risFil a {
  color: #333;
}

span.subcategory_list {
  display: none !important;
}

a.subcategory_list {
  background: #f5f5f5 !important;
  padding: 12px 6px !important;
  margin: 0 0 5px 0 !important;
  display: block !important;
  color: #333 !important;
  font-size: 14px !important;
  text-align: center !important;
  text-decoration: none !important;
}

a.subcategory_list img {
  vertical-align: middle;
}

.block_introduction {
  padding: 16px;
}

.block_introduction li {
  width: auto;
  margin: 10px 10px 10px 0;
  padding: 0;
}

.block_introduction a {
  padding: 8px 16px;
  border: #ccc 1px solid;
  color: #333;
  text-decoration: none;
}
