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

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

.np-keyword-suggest:empty {
  border: 0;
}

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

#search-box-area .search-box-sanwach .np-keyword-suggest {
  width: 570px;
  overflow-y: auto;
}

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

.np-keyword-suggest .item {
  box-sizing: border-box;
  padding: 12px 15px;
  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: 0.9em;
  color: #fff;
  margin-right: 8px;
  padding: 3px 8px;
  border-radius: 3px;
  content: "品名";
  background: #9498a0;
  min-width: 6.5em;
  text-align: center;
  display: inline-block;
  line-height: 1.4;
}

.np-keyword-suggest .query:before {
  box-sizing: border-box;
  font-size: 0.9em;
  color: #eee;
  margin-right: 8px;
  padding: 3px 8px;
  border-radius: 3px;
  content: "キーワード";
  background: #9182e1;
  min-width: 6.5em;
  text-align: center;
  display: inline-block;
  line-height: 1.4;
}

.np-keyword-suggest .path:before {
  box-sizing: border-box;
  font-size: 0.9em;
  color: #eee;
  margin-right: 8px;
  padding: 3px 8px;
  border-radius: 3px;
  content: "カテゴリ";
  background: #cc6633;
  min-width: 6.5em;
  text-align: center;
  display: inline-block;
  line-height: 1.4;
}

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

.np-keyword-suggest .narrow8:before {
  box-sizing: border-box;
  font-size: 0.9em;
  color: #eee;
  margin-right: 8px;
  padding: 3px 8px;
  border-radius: 3px;
  content: "品番";
  background: #4169e1;
  min-width: 6.5em;
  text-align: center;
  display: inline-block;
  line-height: 1.4;
}

/*
.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: #f1172a;
  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: 0 auto;
  padding: 0;
  width: 120px;
  text-align: center;
}

.suggest_upper_content div.suggest-item a {
  padding: 10px 0;
  display: block;
}

.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 10px;
}

.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 5px 5px 10px;
  font-size: 0.8em;
  font-weight: normal;
  text-align: left;
}

#header-box-sanwach .np-suggest-container-mobile .title,
#header_menu .np-suggest-container-mobile .title {
  line-height: 30px;
  border-left: 0;
  margin: 0;
  padding: 12px 15px;
  font-size: 1em;
  font-weight: normal;
  box-sizing: border-box;
}

#header-box-sanwach .np-suggest-container-mobile .title:before,
#header_menu .np-suggest-container-mobile .title:before {
  box-sizing: border-box;
  font-size: 0.9em;
  color: #fff;
  margin-right: 8px;
  padding: 3px 8px;
  border-radius: 3px;
  content: "品名";
  background: #9498a0;
  min-width: 6.5em;
  text-align: center;
  display: inline-block;
  line-height: 1.4;
  font-weight: normal;
}

.np-suggest-container-mobile > .np-keyword-suggest {
  width: 100%;
  margin-bottom: 5px;
  background-color: #fff;
  max-width: 100%;
  margin: 0 auto;
  min-height: 1px;
  max-height: 405px;
}

.np-suggest-container-mobile > .np-keyword-suggest .item.query + .item.title,
.np-suggest-container-mobile > .np-keyword-suggest .item.title + .item.narrow8 {
  border-top: solid 1px #ccc;
}

#header-box-sanwach .np-suggest-container-mobile .np-item-suggest-v2,
#header_menu .np-suggest-container-mobile .np-item-suggest-v2 {
  overflow: hidden;
  width: 100px;
  background-color: #fff;
  color: #000;
  border: 1px solid #ccc;
  text-align: center;
  position: absolute;
  top: 0;
  right: -webkit-calc(3% + 1px);
  right: calc(3% + 1px);
}

#header-box-sanwach .np-suggest-container-mobile .np-item-suggest-v2 div.title,
#header_menu .np-suggest-container-mobile .np-item-suggest-v2 div.title {
  display: none;
}

#header-box-sanwach .np-suggest-container-mobile .np-item-suggest-v2 .upper,
#header_menu .np-suggest-container-mobile .np-item-suggest-v2 .upper {
  display: block;
  width: 100px;
  overflow: hidden;
}

#header-box-sanwach .np-suggest-container-mobile .suggest_upper_content div.suggest-item,
#header_menu .np-suggest-container-mobile .suggest_upper_content div.suggest-item {
  margin: 0 auto;
  padding: 0;
  width: 100px;
  text-align: center;
}

#header-box-sanwach .np-suggest-container-mobile .suggest_upper_content div.suggest-item:hover,
#header_menu .np-suggest-container-mobile .suggest_upper_content div.suggest-item:hover {
  background-color: #eee;
}

#header-box-sanwach .np-suggest-container-mobile .suggest_upper_content .suggest_detail_image,
#header_menu .np-suggest-container-mobile .suggest_upper_content .suggest_detail_image {
  text-align: center;
  width: 80px;
  height: 80px;
  margin: 5px;
}

#header-box-sanwach .np-suggest-container-mobile .suggest_upper_content .suggest_detail_title,
#header_menu .np-suggest-container-mobile .suggest_upper_content .suggest_detail_title {
  margin: 5px;
}

#header-box-sanwach .np-suggest-container-mobile .suggest_upper_content .image,
#header_menu .np-suggest-container-mobile .suggest_upper_content .image {
  max-width: 80px;
  max-height: 80px;
  height: auto;
  width: auto;
}

/* 閉じるボタン */
#header-box-sanwach .np-suggest-container-mobile .np-suggest-close,
#header_menu .np-suggest-container-mobile .np-suggest-close {
  display: block;
  width: 5.2em;
  box-sizing: border-box;
  color: #333;
  text-align: center;
  padding: 5px 0;
  background: #d3d3d3 url(../svg/close_ico.svg) left 0.5em center no-repeat;
  background-size: 0.9em;
  font-size: 0.9em;
  line-height: 1.4;
  position: absolute;
  bottom: 10px;
  right: 10px;
  cursor: pointer;
}

#header-box-sanwach .np-suggest-container-mobile .np-suggest-close::before,
#header_menu .np-suggest-container-mobile .np-suggest-close::before {
  content: "閉じる";
  display: block;
  width: 100%;
  padding-left: calc(1.6em);
  box-sizing: border-box;
  text-align: left;
}

#header-box-sanwach .np-suggest-container-mobile::after,
#header_menu .np-suggest-container-mobile::after {
  content: "";
  display: block;
  background-color: #fff;
  width: 100%;
  height: 50px;
  margin-top: -2px;
  border: 1px solid #ccc;
  border-top: 0;
  box-sizing: border-box;
}

/* サジェストキーワード表示 (ロールサジェストモード) */
#search-form .np-suggest-container-mobile {
  z-index: 2000 !important;
}

#search-form .np-suggest-container-mobile > .np-keyword-suggest {
  width: 100%;
  overflow-x: scroll;
  border-style: none;
  margin-bottom: 5px;
  background-color: #ffffffe6;
}

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

#search-form .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;
}

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

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

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

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

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

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

/* サジェスト商品詳細表示 (ロールサジェストモード) */
#search-form .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);
}

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

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

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

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

#search-form .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;
}

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

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

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