@charset "UTF-8";

.search-html {
  height: 100%;
  overflow-y: hidden;
}

.search-body {
  height: 100%;
  overflow-y: hidden;
  position: relative;
}

.search.search-sp {
  overflow-y: auto;
  height: 100%;
  width: 100%;
  max-width: 800px;
  z-index: 100;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* ----- フォーム ----- */
.search .form-block {
  padding: 13px 15px 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
}

.search .form-block .search-input {
  background-image: url("../../../img/common/sp-icon-search.png");
  background-repeat: no-repeat;
  background-size: 15px auto;
  background-position: left 12px center;
  padding: 12px 15px 12px 38px;
  height: 42px;
  appearance: none;
  border: none;
  background-color: #eee;
}

input[type="search"] {
  appearance: searchfield;
}

input[type="search"]::-webkit-search-decoration {
  display: none;
}

input[type="search"]::-webkit-search-cancel-button {
  appearance: searchfield-cancel-button;
}

input[type="search"]:focus {
  outline: 0;
}

/* SP */
.search.search-sp .form-block .form-input {
  flex-grow: 1;
  display: block;
}

.search.search-sp .form-block .form-close {
  display: block;
  width: auto;
  overflow: hidden;
  font-size: 1.3rem;
  text-align: right;
  vertical-align: middle;
  padding: 15px;
  color: #999;
}

.search-sp .form-block .form-input {
  width: 76%;
  display: block;
  float: left;
}

.search-sp .form-block .form-close {
  display: block;
  float: right;
  width: 24%;
  overflow: hidden;
  font-size: 1.3rem;
  text-align: right;
  vertical-align: middle;
  padding: 13px 0;
}

/* ----- サジェスト ----- */
.search .search-suggest-block .suggest-switch-block {
  display: flex;
  flex-wrap: nowrap;
}

.search .search-suggest-block .suggest-switch-block .button-box {
  font-size: 1.3rem;
  color: #999;
  font-weight: bold;
  display: block;
  flex: 1;
  text-align: center;
  padding: 13px 0 10px;
  margin: 0;
  box-sizing: border-box;
}

.search .search-suggest-block .suggest-switch-block .button-box.active {
  color: #000;
  border-bottom: 2px solid #000;
}

/* ----- 商品カード ----- */

.product-buy-card {
  height: auto;
  background-color: #fff;
  padding: 8px 25px 10px 12px;
  background-image: url("../../../img/common/icon-arrow-right.png");
  background-size: 6px 12px;
  background-repeat: no-repeat;
  background-position: right 12px center;
  display: flex;
  flex-wrap: nowrap;
  text-decoration: none;
  align-items: center;
}

.product-buy-card .product-img-box {
  flex-basis: 30%;
  height: 58px;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.product-buy-card .product-img-box img {
  width: 100%;
  height: auto;
  position: absolute;
  inset: -5px 0 0;
  margin: auto;
}

.product-buy-card .product-description {
  flex-basis: 70%;
  margin: 0 0 0 12px;
}

.product-buy-card .product-description .name {
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.4;
  color: #000;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-height: 35px;
  letter-spacing: -0.5px;
  margin: 0 0 7px;
}

.product-buy-card .product-description .price {
  color: #ff0030;
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0;
  line-height: 1;
}

.product-buy-card .product-description .price-blank {
  color: #000;
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0;
  line-height: 1;
}

.product-buy-card .product-description .price span {
  font-size: 1rem;
  position: relative;
  top: -2px;
  left: 3px;
  background: #ff0030;
  border-radius: 2px;
  color: #fff;
  padding: 3px 5px 2px;
  margin: 0;
  line-height: 1;
}

.search .search-suggest-block li {
  border-bottom: 1px solid #e5e5e5;
}

/* ----- 検索履歴-SPweb ----- */
.search .result-history-sp {
  margin: 15px 15px 13px;
}

.search .result-history-sp .block-history-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search .result-history-sp .block-history-title .history-title {
  color: #000;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.5;
}

.search .result-history-sp .block-history-title .btn-delete-history {
  display: flex;
  align-items: center;
  gap: 3px;
  position: relative;
  color: #999;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.4;
}

.search .result-history-sp .block-history-title .btn-delete-history::before {
  content: "";
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  background: url("../../../img/common/icon-clear.png") no-repeat center / 100%;
}

.block-history-keyword-list {
  margin-top: 15px;
}

.history-keyword-list {
  display: flex;
  flex-wrap: wrap;
  row-gap: 15px;
  column-gap: 10px;
}

.history-keyword {
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  overflow: hidden;
  align-items: center;
  border-radius: 30px;
  border: 1px solid var(--primitive-gray-02-e-5-e-5-e-5, #e5e5e5);
  background: var(--primitive-gray-01-f-5-f-5-f-5, #f5f5f5);
}

.history-keyword a {
  box-sizing: border-box;
  height: 30px;
  padding: 6px 5px 4px 15px;
  color: #000;
  max-width: calc(100% - 26px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.4rem;
  line-height: 20px;
}

.history-keyword .clear {
  display: block;
  width: 26px;
  height: 30px;
  background: url("../../../img/common/icon-close-s.png") no-repeat 0 center /
    16px 16px;
}

/* ----- 最近の検索 ----- */

.search .result-history {
  margin: 20px 0 0;
  border-bottom: 1px solid #e5e5e5;
}

.search .result-history .title {
  font-size: 1.5rem;
  color: #000;
  font-weight: bold;
  padding: 0 15px;
  margin: 0 0 5px;
}

.search ul.text-list li {
  border-top: 1px solid #e5e5e5;
  background-image: url("../../../img/common/sp-icon-arrow-right.png");
  background-repeat: no-repeat;
  background-size: 7px 12px;
  background-position: right 15px center;
}

.search .text-list li a.text-list-block {
  padding: 12px 32px 12px 15px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  font-weight: normal;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.search .text-list li a.text-list-block .word {
  font-size: 1.4rem;
  line-height: 1.4;
  color: #000;
  padding: 0 10px 0 0;
}

.search .text-list li a.text-list-block .num {
  margin-left: auto;
  font-size: 1.3rem;
  line-height: 1.4;
  color: #999;
}

/* tsk-294-searchResult-suggestItemList */
.search .result-history .item-list li:first-child {
  border-top: 1px solid #e5e5e5;
}

.search .item-list li a.item-block {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px 10px;
  color: #000;
}

.search .item-list li a.item-block .img-box {
  width: 100px;
  height: auto;
}

.search .item-list li a.item-block .img-box img {
  width: 100%;
  height: auto;
}

.search .item-list li a.item-block .detail {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.search .item-list li a.item-block .detail .item-name {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--primary-black, #000);
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
}

.search .item-list li a.item-block .detail .sell-num {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 11px;
  margin-top: 4px;
  color: var(--primary-black, #000);
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.1;
}

.search .item-list li a.item-block .detail .sell-num.none {
  color: #999;
}

.search .item-list li a.item-block .detail .item-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 6px;
  color: var(--secondary-red, #ff0230);
  font-size: 1.6rem;
  font-weight: 900;
  font-weight: bold;
  line-height: 1;
}

.search .item-list li a.item-block .detail .item-price span.min-text {
  color: var(--secondary-red, #ff0230);
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1;
}

.search .item-list li a.item-block .detail .item-price span.min-text.none {
  height: 13px;
  font-size: 1.3rem;
  color: #999;
}

/* ----- 人気ランキング ----- */

.search .ranking-block {
  padding: 20px 15px 0;
}

.search .ranking-block ul.ranking {
  width: 100%;
}

.search .ranking-block ul.ranking li.ranking-list {
  width: calc(50% - 5px);
  float: left;
  margin: 0 10px 12px 0;
}

.search .ranking-block ul.ranking li.ranking-list:nth-child(even) {
  margin: 0 0 12px;
}

.search .ranking-block ul.ranking li.ranking-list a {
  display: block;
}

.search .ranking-block ul.ranking li.ranking-list .img-box {
  width: 100%;
  height: 110px;
  overflow: visible;
  display: block;
  position: relative;
  background: #f5f5f5;
}

.search .ranking-block ul.ranking li.ranking-list .img-box .inner {
  width: 100%;
  height: 110px;
  overflow: hidden;
  display: block;
  position: relative;
  border-radius: 5px;
}

.search .ranking-block ul.ranking li.ranking-list .img-box .inner img {
  width: 100%;
  height: auto;
  position: absolute;
  inset: 0;
  margin: auto;
}

.search .ranking-block ul.ranking li.ranking-list .img-box.num-icon::before {
  background-size: 31px 23px;
  background-repeat: no-repeat;
  display: block;
  width: 31px;
  height: 23px;
  position: absolute;
  top: -9px;
  left: -9px;
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
  font-weight: bold;
  line-height: 2.8;
  z-index: 10;
}

.search
  .ranking-block
  ul.ranking
  li.ranking-list
  .img-box.num-icon.num-1::before {
  content: "1";
  background-image: url("../../../img/common/sp-icon-ranking-1.png");
}

.search
  .ranking-block
  ul.ranking
  li.ranking-list
  .img-box.num-icon.num-2::before {
  content: "2";
  background-image: url("../../../img/common/sp-icon-ranking-2.png");
}

.search
  .ranking-block
  ul.ranking
  li.ranking-list
  .img-box.num-icon.num-3::before {
  content: "3";
  background-image: url("../../../img/common/sp-icon-ranking-3.png");
}

.search .ranking-block ul.ranking li.ranking-list .img-box.num-label::before {
  background: #000;
  display: block;
  width: 24px;
  height: 24px;
  position: absolute;
  top: -8px;
  left: -8px;
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
  font-weight: bold;
  line-height: 2.4;
  border-radius: 100px;
  z-index: 10;
}

.search
  .ranking-block
  ul.ranking
  li.ranking-list
  .img-box.num-label.num-4::before {
  content: "4";
}

.search
  .ranking-block
  ul.ranking
  li.ranking-list
  .img-box.num-label.num-5::before {
  content: "5";
}

.search
  .ranking-block
  ul.ranking
  li.ranking-list
  .img-box.num-label.num-6::before {
  content: "6";
}

.search
  .ranking-block
  ul.ranking
  li.ranking-list
  .img-box.num-label.num-7::before {
  content: "7";
}

.search
  .ranking-block
  ul.ranking
  li.ranking-list
  .img-box.num-label.num-8::before {
  content: "8";
}

.search
  .ranking-block
  ul.ranking
  li.ranking-list
  .img-box.num-label.num-9::before {
  content: "9";
}

.search
  .ranking-block
  ul.ranking
  li.ranking-list
  .img-box.num-label.num-10::before {
  content: "10";
}

.search .ranking-block ul.ranking li.ranking-list .text-box {
  margin: 8px 0 0;
}

.search .ranking-block ul.ranking li.ranking-list .text-box .item-name {
  font-size: 1.3rem;
  color: #000;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  height: 32px;
  font-weight: normal;
}

.search .ranking-block ul.ranking li.ranking-list .text-box .price {
  color: #ff0030;
  font-weight: bold;
  font-size: 1.4rem;
  margin: 4px 0 0;
  height: 15px;
}

/* ----- デパートメント別で探す ----- */

.search ul.department-list {
  width: 100%;
}

/* トグル */
.search .department-block .department-list li .toggle-button {
  cursor: pointer;
  padding: 15px 15px 13px;
  box-sizing: border-box;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.search .department-block .department-list li .toggle-content {
  display: none;
}

.search .department-block .department-list li .toggle-button .text-area {
  font-size: 1.4rem;
  color: #000;
  background: #fff;
  line-height: 1.4;
  display: block;
  background-image: url("../../../img/common/sp-icon-arrow-bottom.png");
  background-size: 12px 7px;
  background-repeat: no-repeat;
  background-position: right center;
  font-weight: bold;
}

.search .department-block .department-list li .toggle-button.bg02 .text-area {
  background-image: url("../../../img/common/sp-icon-arrow-top.png");
}

.search .department-block .department-list li .toggle-button .text-area span {
  font-size: 1.1rem;
  color: #999;
  line-height: 1.2;
  font-weight: normal;
}

/* スニーカーブランド */

.search ul.item-list li {
  border-bottom: 1px solid #e5e5e5;
}

.search .item-list li a.item-list-block {
  display: table;
  table-layout: fixed;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 15px 15px 0;
  background-image: url("../../../img/common/sp-icon-arrow-right.png");
  background-repeat: no-repeat;
  background-size: 7px 12px;
  background-position: right 15px center;
}

.search .item-list li .img-box {
  display: table-cell;
  vertical-align: top;
  width: 90px;
  height: 50px;
}

.search .item-list li .img-box .inner {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.search .item-list li .img-box .inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  margin: auto;
}

.search .item-list li .text-box {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
  padding: 0 20px 0 10px;
  box-sizing: border-box;
}

.search .item-list li .text-box .name {
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #000;
}

.search .item-list li .text-box .detail {
  font-size: 1.3rem;
  color: #ff0030;
  line-height: 1.3;
  padding: 3px 0 0;
  font-weight: bold;
}

/* スニーカーモデル */

.search .item-list li .popularity-models {
  width: 100%;
  padding: 0 9px 0 15px;
  box-sizing: border-box;
  margin: 0 0 12px;
}

.search .item-list li .popularity-models .list-models {
  width: calc(25% - 6px);
  float: left;
  display: block;
  margin: 12px 6px 0 0;
}

.search .item-list li .popularity-models .list-models .model-img {
  width: 100%;
  height: 56px;
  background: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  @media screen and (min-width: 800px) {
    height: auto;
  }
}

.search .item-list li .popularity-models .list-models .model-img img {
  width: 100%;
  height: auto;
  position: absolute;
  inset: 0;
  margin: auto;
  @media screen and (min-width: 800px) {
    position: relative;
  }
}

.search .item-list li .popularity-models .list-models .model-name {
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: bold;
  color: #000;
  text-align: center;
  margin: 5px 0 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  height: 15px;
}

/* スニーカー他ブランド */
.search ul.item-list li.b-none {
  border: none;
}

/* さがすタイトル */
.search .block-title {
  margin: 18px 15px 8px;
  font-size: 1.5rem;
  color: #000;
  font-weight: bold;
  line-height: 1.4;
}

/* ブランド一覧 */

.search .brands-list-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.search .brands-list-box li {
  width: 25%;
  box-sizing: border-box;
}

.search .brands-list-box li a {
  width: 100%;
  text-align: center;
  min-height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search .brands-list-box li a img {
  width: 80%;
  height: auto;
}

.search .categorys-list-box {
  border-top: 1px solid #e5e5e5;
}
