@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: 205px 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;
}
