@charset "UTF-8";
/* サジェストキーワード表示 (通常モード・ロールサジェストモード共通) */
.np-keyword-suggest * {
  box-sizing: border-box;
}

.np-keyword-suggest {
  color: #333;
  background: #fff;
  box-sizing: border-box;
  width: 500px;
  border: 1px solid #ccc;
  overflow-y: auto;
  max-height: 510px;
}

/* 上部検索窓用サジェストの幅 */
#linkRight .np-keyword-suggest {
  width: 302px;
  overflow-y: auto;
}

.np-keyword-suggest div {
  width: 100%;
}

.np-keyword-suggest .item {
  box-sizing: border-box;
  padding: 10px;
  cursor: pointer;
  word-wrap: normal;
  /* for IE */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  height: 50px;
}

.np-keyword-suggest .group:not(:last-child) {
  border-bottom: solid 1px #cccccc;
}

.np-keyword-suggest .title {
  line-height: 30px;
}

.np-keyword-suggest .title:before {
  box-sizing: border-box;
  font-size: 11px;
  color: #fff;
  margin-right: 8px;
  padding: 3px 8px;
  border-radius: 3px;
  content: "品名";
  background: #6e6e6e;
}

.np-keyword-suggest .query:before {
  box-sizing: border-box;
  font-size: 11px;
  color: #eee;
  margin-right: 8px;
  padding: 3px 8px;
  border-radius: 3px;
  content: "キーワード";
  background: #8fbc8f;
}

.np-keyword-suggest .path:before {
  box-sizing: border-box;
  font-size: 10px;
  color: #eee;
  margin-right: 8px;
  padding: 3px 8px;
  border-radius: 3px;
  content: "カテゴリ";
  background: #cc6633;
}

.np-keyword-suggest .path {
  font-size: 0.8em;
}

.np-keyword-suggest .narrow8:before {
  box-sizing: border-box;
  font-size: 11px;
  color: #eee;
  margin-right: 8px;
  padding: 3px 8px;
  border-radius: 3px;
  content: "品番";
  background: #4169e1;
}

/*
.np-keyword-suggest .path:before,
.np-keyword-suggest .narrow7:before,
.np-keyword-suggest .narrow8:before,
 */
.np-keyword-suggest .word:before,
.np-keyword-suggest .history:before,
.np-keyword-suggest .ranking:before,
.np-keyword-suggest .narrow1:before,
.np-keyword-suggest .narrow2:before,
.np-keyword-suggest .narrow3:before,
.np-keyword-suggest .narrow4:before,
.np-keyword-suggest .narrow5:before,
.np-keyword-suggest .narrow6:before,
.np-keyword-suggest .narrow9:before,
.np-keyword-suggest .narrow10:before,
.np-keyword-suggest .keyword1:before,
.np-keyword-suggest .keyword2:before,
.np-keyword-suggest .keyword3:before,
.np-keyword-suggest .keyword4:before,
.np-keyword-suggest .keyword5:before,
.np-keyword-suggest .keyword6:before,
.np-keyword-suggest .keyword7:before,
.np-keyword-suggest .keyword8:before,
.np-keyword-suggest .keyword9:before,
.np-keyword-suggest .keyword10:before {
  box-sizing: border-box;
  font-size: 11px;
  color: #bbb;
  margin-right: 8px;
  padding: 3px 8px;
  border-radius: 3px;
  position: absolute;
  bottom: 4px;
  left: 10px;
}

/*.np-keyword-suggest .query:before{content:"query";}*/
.np-keyword-suggest .word:before {
  content: "word";
}

.np-keyword-suggest .history:before {
  content: "検索履歴";
}

/*.np-keyword-suggest .path:before{content:"path";}*/
.np-keyword-suggest .narrow1:before {
  content: "narrow1";
}

.np-keyword-suggest .narrow2:before {
  content: "narrow2";
}

.np-keyword-suggest .narrow3:before {
  content: "narrow3";
}

.np-keyword-suggest .narrow4:before {
  content: "narrow4";
}

.np-keyword-suggest .narrow5:before {
  content: "narrow5";
}

.np-keyword-suggest .narrow6:before {
  content: "narrow6";
}

/*.np-keyword-suggest .narrow7:before{content:"narrow7";}*/
/*.np-keyword-suggest .narrow8:before{content:"narrow8";}*/
.np-keyword-suggest .narrow9:before {
  content: "narrow9";
}

.np-keyword-suggest .narrow10:before {
  content: "narrow10";
}

.np-keyword-suggest .keyword1:before {
  content: "keyword1";
}

.np-keyword-suggest .keyword2:before {
  content: "keyword2";
}

.np-keyword-suggest .keyword3:before {
  content: "keyword3";
}

.np-keyword-suggest .keyword4:before {
  content: "keyword4";
}

.np-keyword-suggest .keyword5:before {
  content: "keyword5";
}

.np-keyword-suggest .keyword6:before {
  content: "keyword6";
}

.np-keyword-suggest .keyword7:before {
  content: "keyword7";
}

.np-keyword-suggest .keyword8:before {
  content: "keyword8";
}

.np-keyword-suggest .keyword9:before {
  content: "keyword9";
}

.np-keyword-suggest .keyword10:before {
  content: "keyword10";
}

.np-keyword-suggest .ranking {
  height: 40px;
}

.np-keyword-suggest .np-keyword-suggest-group-ranking:before {
  content: "キーワードランキング";
  font-size: 12px;
  display: block;
  height: 20px;
  padding: 10px;
  padding-bottom: 20px;
}

.np-keyword-suggest .item.selected {
  background-color: #eeeeee;
}

.np-keyword-suggest button.clearHistory {
  position: absolute;
  box-sizing: border-box;
  width: 25px;
  right: 5px;
  padding: 0;
  border: 0;
  line-height: 25px;
  font-weight: bold;
  border-radius: 50%;
  background-color: transparent;
  color: #F08080;
}

.np-keyword-suggest button.clearHistory:hover {
  background-color: #FFC1C1;
  color: #FFFFFF;
}

.np-keyword-suggest .item .highlight {
  color: #F90;
  font-weight: normal;
  text-decoration: none;
}

/* サジェスト商品詳細表示 (通常モード・ロールサジェストモード共通) */
.np-item-suggest-v2 {
  overflow: hidden;
  width: 120px;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #cccccc;
  text-align: center;
}

.np-item-suggest-v2 div.title {
  display: none;
}

.np-item-suggest-v2 .upper {
  display: block;
  width: 120px;
  overflow: hidden;
}

.suggest_upper_content div.suggest-item {
  margin: 10px auto;
  padding: 0;
  width: 120px;
  text-align: center;
}

.suggest_upper_content div.suggest-item:hover {
  background-color: #eee;
}

.suggest_upper_content .suggest_detail_image {
  text-align: center;
  width: 100px;
  height: 100px;
  margin: 5px;
}

.suggest_upper_content .image {
  max-width: 100px;
  max-height: 100px;
  height: auto;
  width: auto;
}

.suggest_upper_content a {
  text-decoration: none;
}

.suggest_upper_content .suggest_detail_title {
  margin: 5px;
  font-size: 0.8em;
  font-weight: normal;
  text-align: left;
}

/* サジェストキーワード表示 (ロールサジェストモード) */
#header_menu .title {
  border-left: none;
  text-align: left;
  margin: 0;
  padding: 10px 7px;
  margin: 0 3px 0 0;
  font-size: 1em;
  font-weight: bold;
  display: inline-block;
  height: auto;
  vertical-align: middle;
}

.np-suggest-container-mobile > .np-keyword-suggest {
  width: 100%;
  overflow-x: scroll;
  border-style: none;
  margin-bottom: 5px;
  background-color: rgba(255, 255, 255, 0.9);
}

.np-suggest-container-mobile > .np-keyword-suggest > .np-keyword-list {
  width: max-content;
  display: flex;
}

.np-suggest-container-mobile > .np-keyword-suggest div {
  width: auto;
  font-size: 12px;
  padding: 10px 7px;
  margin: 0 3px 0 0;
  height: auto;
  line-height: normal;
  background-color: #eee;
  border-radius: 0.5em;
}

.np-suggest-container-mobile > .np-keyword-suggest .item {
  background-color: #FFF;
}

.np-suggest-container-mobile > .np-keyword-suggest .item.selected {
  color: white;
  background-color: #009fcc;
}

.np-suggest-container-mobile > .np-keyword-suggest .item::before {
  content: normal;
}

.np-suggest-container-mobile > .np-keyword-suggest::-webkit-scrollbar {
  width: 5px !important;
  height: 5px !important;
}

.np-suggest-container-mobile > .np-keyword-suggest::-webkit-scrollbar-thumb {
  background: #009fcc !important;
  border-radius: 2.5px !important;
}

.np-suggest-container-mobile > .np-keyword-suggest::-webkit-scrollbar-track-piece {
  background: #eee !important;
  border-radius: 2.5px !important;
}

/* サジェスト商品詳細表示 (ロールサジェストモード) */
.np-suggest-container-mobile > .np-item-suggest-v2 {
  max-width: 100%;
  width: max-content;
  overflow: scroll;
  width: 100%;
  border-style: none;
  background-color: rgba(255, 255, 255, 0.9);
}

.np-suggest-container-mobile > .np-item-suggest-v2 .upper {
  width: auto;
  height: auto;
}

.np-suggest-container-mobile > .np-item-suggest-v2 .suggest_upper_area {
  display: none;
}

.np-suggest-container-mobile > .np-item-suggest-v2 .suggest_upper_content {
  overflow-x: scroll;
}

.np-suggest-container-mobile > .np-item-suggest-v2 .suggest_upper_content > ul {
  display: flex;
}

.np-suggest-container-mobile > .np-item-suggest-v2 .suggest_upper_content > ul > li {
  display: block;
  width: 117px;
  margin: 8px 2px;
  padding: 10px;
  border-radius: 5px;
  background-color: #eee;
}

.np-suggest-container-mobile > .np-item-suggest-v2 .suggest_upper_content::-webkit-scrollbar {
  width: 5px !important;
  height: 5px !important;
}

.np-suggest-container-mobile > .np-item-suggest-v2 .suggest_upper_content::-webkit-scrollbar-thumb {
  background: #009fcc !important;
  border-radius: 2.5px !important;
}

.np-suggest-container-mobile > .np-item-suggest-v2 .suggest_upper_content::-webkit-scrollbar-track-piece {
  background: #eee !important;
  border-radius: 2.5px !important;
}
