.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 検索ボックスのコンテナ */
.site-header .search-box {
  display: flex;
  align-items: center; /* ボタンが縦に伸びるのを防ぐ */
  gap: 5px;
  width: 320px;
  margin: 0;
  position: relative; /* サジェストリストの基準点 */
}

.site-header .search-box input {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  height: 38px; /* 高さを固定 */
}

.site-header .search-box button {
  height: 38px; /* 入力欄と高さを合わせる */
  padding: 0 15px;
  font-size: 0.85rem;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

/* ==========================================
   ヘッダー専用サジェストリスト（装飾）
   ========================================== */
.site-header .suggest-list {
  position: absolute;
  top: 42px; /* 入力欄のすぐ下 */
  left: 0;
  width: 100%; /* 入力欄＋ボタンの幅に合わせる、またはinputに合わせる */
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  z-index: 9999; /* 最前面に表示 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 300px;
  overflow-y: auto;
}

/* 各候補アイテム（装飾を適用） */
.site-header .suggest-list li,
.site-header .search-result-item {
  padding: 10px 15px;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
  text-align: left;
}

.site-header .suggest-list li:last-child {
  border-bottom: none;
}

.site-header .suggest-list li:hover {
  background-color: #f0f7ff;
  color: var(--primary);
}