/* =========================================================
   smp_navi（バー型 追従リンク）— デザイン & レイアウト
   - 数量は可変。各ボタンは常に等幅（行ごとに均等割り）
   - 固定化の制御は JS（.is-fixed を付与）
   - ここでは見た目のみを定義
   ========================================================= */

/* スペーサー（固定時に JS が高さを付与してレイアウトシフトを防止） */
.smp-sticky__spacer { display:block; height:0; }

/* バー：通常時はそのままのブロック、固定時は背景/影のみ付与（位置はJSで設定） */
.smp-sticky {
  background: transparent;
      margin-bottom: 0px !important;
}
.smp-sticky.is-fixed {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  z-index: 9999;
}

/* 内側のパディング（必要に応じて調整） */
.smp-sticky__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 12px;
}

/* ▼ ボタン群：Grid で均等割り。数が増減しても等幅になり、狭い幅では自動改行 */
.smp-sticky__list {
  display: flex;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    gap: 6px;

}

/* li 自体に特別な幅指定は不要（Grid が制御） */
.smp-sticky__item {
  flex: 1;
  margin-bottom: 0;
  text-align: center;
  border: 1px solid #cecece;
  border-radius: 3px;
}

/* ボタンの見た目（ご提示の画像に合わせた白地＋グレーボーダー＋角丸） */
.smp-sticky__link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    padding: 7px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    transition: background .15s ease, border-color .15s ease, transform .08s ease;
    color: #333 !important;
}

/* ホバー/フォーカスの軽い反応 */
.smp-sticky__link:hover,
.smp-sticky__link:focus-visible {
  border-color: #c7c7cc;
  outline: none;
  text-decoration: none !important;
}

/* 押下時のわずかな沈み込み */
.smp-sticky__link:active {
  transform: translateY(1px);

  text-decoration: none !important;
}

/* 低モーション環境への配慮（任意） */
@media (prefers-reduced-motion: reduce) {
  .smp-sticky__link { transition: none !important; }
}
