@charset "UTF-8";

input:placeholder-shown + .search-del {
  display: none;
}
.search-del::before, .search-del::after {
  width: 50%;
}

/* Icon */

.search-del{
  position: absolute;
  top: 50%;
  right: 36px;
  padding: 2px;
  width: 30px;
  height: 100%;
  transform: translateY(-50%);
  box-sizing: border-box;
}

.icon-del {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  box-sizing: content-box;
  width: 16px;
  height: 16px;
  text-indent: 200%;
  white-space: nowrap;
  overflow: hidden;
  color: #ffffff;
  background: #000000;
  border-radius: 50%;
  opacity: 0.3;
}


.icon-del::before, .icon-del::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  content: '';
  display: block;
  height: 2px;
  width: 60%;
  background-color: currentColor;
  pointer-events: none;
}

.search-del:hover .icon-del{
  opacity: 0.6;
}

.icon-del::before {
  transform: rotate(45deg);
}

.icon-del::after {
  transform: rotate(-45deg);
}

input[type="text"]:focus {
  outline: 2px solid #e5e5e5;
  outline-offset: -1px;
}

input::placeholder{
  color: #cccccc;
}


/* サジェスト */

.search-results{
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  max-height: 460px;
  background: #ffffff;
  box-shadow: 0 0 10px rgb(0 0 0 / 7%);
  outline: 1px solid #e5e5e5;
  outline-offset: -1px;
  border-radius: 0 0 3px 3px;
  overflow-y: scroll;
  z-index: 9;
}

.search-results-title{
  padding: 0 3% 12px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 1.5rem;
  font-weight: bold;
}

.search-results-listitem{
  padding: 0 3%;
}

.search-results-listitem:hover{
  background: #f5f5f5;
}

.search-results-listitem:not(:last-of-type) a{
  border-bottom: 1px solid #e5e5e5;
}

.search-results-listitem a{
  display: flex;
  padding: 16px 20px 15px 4px;
  font-size: 1.4rem;
}

.search-results-listitem a .num{
  margin: 0 0 0 auto;
  color: #999999;
}

.search-results-listitem a .word{
  width: calc(100% - 60px);
  color: #000000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arrow{
  position: relative;
}

.arrow:after{
  position: absolute;
  content: "";
  background: url(../../../img/common/sp-icon-arrow-right.png) center/contain no-repeat;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 10px;
}

/* デパートメントから探す */
.search-department-listitem{
  padding: 0 3%;
}

.search-department-listitem a{
  width: 100%;
  display: block;
  padding: 20px 20px 18px 0;
  box-sizing: border-box;
}

.search-department-listitem:first-of-type a{
  border-top: 1px solid #e5e5e5;
}

.search-department-listitem:not(:last-of-type) a{
  border-bottom: 1px solid #e5e5e5;
}

.search-department-title{
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
}

.search-department-txt{
  color: #999999;
  margin: 5px auto 0;
  font-size: 1.2rem;
}

.search-department-listitem:hover{
  background: #f5f5f5;
}


/* 検索結果 */
.search-results-content .content-header{
  position: relative;
  display: inline-block;
}

.search-results-tabs{
  position: relative;
}

.page-title-txt {
  word-break: break-word;
}

.search-results-num{
  display: inline-block;
  position: absolute;
  word-break: keep-all;
  left: calc(100% + 15px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #666666;
  font-weight: bold;
  letter-spacing: 0.3px;
  background: #f5f5f5;
  padding: 8px 20px 6px;
  border-radius: 3px;
}

.search-results-num:before{
  content: "";
  position: absolute;
  top: 50%;
  left: -18px;
  margin-top: -8px;
  border: 8px solid transparent;
  border-right: 12px solid #f5f5f5;
}

.search-results-tablist{
  border-bottom: 1px solid #e5e5e5;
}

.search-results-tabitem{
  display: inline-block;
  min-width: 130px;
  height: 40px;
  line-height: 40px;
  background: #f5f5f5;
  padding: 4px 18px 0;
  margin: 0 6px 0 0;
  border-radius: 6px 6px 0 0;
  vertical-align: bottom;
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  color: #999999;
  cursor: pointer;
}

.search-results-tabitem.active{
    height: 45px;
    line-height: 45px;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    position: relative;
    top: 1px;
}

.search-results-tabitem.active .search-results-tabitem-num{
  display: none;
}

.search-results-tabitem-num{
  margin: 0 0 0 4px;
  font-size: 1.3rem;
  font-weight: normal;
}

.search-results-content .status-switch{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.search-results-content .filter-content{
  display: block;
}

.search-results-content .filter-tab{
  display: flex;
  align-items: center;
}
