.search-container {
  position: absolute;
  width: 93vw;
  top:55px;
}

#search-input {
  width: 100%;
  font-size: 1rem;
  padding: 0.6em 0.8em;
  border: 2px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  background-image: url(../img/search_icon.png);
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: auto 50%;
}

#suggestion-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  /* border: 1px solid #ccc; */
  border-top: none;
  z-index: 1000;
  max-height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

#suggestion-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  padding: 0.3em;
  /* border: 1px solid #eee;
  border-top: none; */
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.95rem;
}

#suggestion-list li:hover,
#suggestion-list li.active {
  background: #f0f8ff;
}

.icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.15em;
}

.text {
  flex-grow: 1;
  line-height: 1.4;
}

.label {
  font-weight: bold;
  font-size: 15px;
  line-height: 1.4;
}

.desc {
  color: #777;
  font-size: 0.79rem;
  line-height: 1.4;
}

mark {
  background-color: yellow;
  font-weight: bold;
  padding: 0 2px;
  vertical-align: baseline;
  font-size: 15px;
  line-height: 1.4;
}

.desc mark {
  font-size: 0.85rem;
}

/* スクロールバー非表示（Chrome・Safari） */
#suggestion-list::-webkit-scrollbar {
  display: none;
}

/* スクロールバー非表示（Firefox） */
#suggestion-list {
  scrollbar-width: none;
}

/* モバイル調整 */
@media (max-width: 768px) {
  .desc {
    display: none;
  }

  #suggestion-list {
    max-height: 240px;
  }
}

/* tablet style ----------------------------*/

@media (min-width : 701px) and (max-width: 950px) {

.search-container {
  width: 28%;
  position: relative;
  top:auto;
  margin-right: 2%;
}

#search-input {
  font-size: 14px;
}
}
/* pc style --------------------------------*/
@media screen and ( min-width : 951px ) {

.search-container {
  width: calc(100% - 630px);
  min-width: 150px;
  border: none;
  position: relative;
  top:auto;
  margin-right: 10px;
}

#search-input {
  font-size: 14px;
}
}