Disclosed is a cephem compound represented by formula (I) [wherein X represents N, CH, or C-Cl; T represents S, or the like; A and G independently represent a lower alkylene, or the like; B represents a single bond, or the like; D represents a single bond, -NR