@charset "UTF-8";

/* =========================================================
   Office Sort UI（共通）
   parts/office/sort-ui.php（.office-sort*）
   対象:
   - /office（CPTアーカイブ）
   - office_* タクソノミー一覧
   ========================================================= */

.office-sort {
  margin: 8px 0 18px;
}

.office-sort__inner {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.office-sort__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.72);
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.office-sort__btn + .office-sort__btn {
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.office-sort__btn:hover {
  background: #f8f8f8;
  color: rgba(0, 0, 0, 0.86);
  text-decoration: none;
}

.office-sort__btn.is-active {
  background: #eef1f4;
  color: #111;
  font-weight: 800;
}
