The present invention relates to a cephem compound having an extensive antibacterial spectrum, in particular, a cephem compound represented by the formula (I) exhibiting a strong antimicrobial activity against a gram-negative bacterium produced by? -Lactamase, an ester compound Or a pharmaceutically acceptable salt thereof, or a solvate thereof, and a pharmaceutical composition containing the same. (Wherein X is N, CH or C-Cl, T is S, etc., A and G are lower alkylene etc., B is a single bond, D is a single bond, -NR 7 -CO-, NR 7 - or -NR 7 -CO-NR 7 -, etc., E it is may be lower alkylene, optionally substituted with F, which may be a single bond or optionally substituted phenylene, R 3, R 4, R 5 and R 6 Halogen, nitrile or -OR 8 and R 8 are each independently hydrogen or the like, and the formula: Is a saturated or unsaturated monocyclic or condensed cyclic quaternary ammonium group which may have at least one N atom and the broken line represents the bonding in the ring)본 발명은 광범한 항균 스펙트럼을 갖고, 특히 β-락타마제 생산 그램 음성균에 대하여 강한 항균 활성을 나타내는 화학식 (I)로 표시되는 세펨 화합물, 에스테르체 또는 그의 7위치 측쇄에 있는 환 상의 아미노기에 있어서의 보호체, 또는 그들의 제약상 허용되는 염 또는 그들의 용매화물, 및 그것을 함유하는 의약 조성물을 제공한다.(식 중, X는 N, CH 또는 C-Cl이고, T는 S 등, A 및 G는 저급 알킬렌 등, B는 단결합 등, D는 단결합, -NR7-CO-, -CO-NR7- 또는 -NR7-CO-NR7- 등, E는 치환되어 있을 수도 있는 저급 알킬렌, F는 단결합 또는 치환되어 있을 수도 있는 페닐렌, R3, R4, R5 및 R6은 각각 독립적으로 수소, 할로겐, 니트릴 또는 -OR8, R8은 각각 독립적으로 수소 등, 및 화학식:는 적어도 N 원자를 1개 이상 갖는 치환되어 있을 수도 있는 포화 또는 불포화의 단환식 또는 축합환식의 4급 암모늄기이고, 파선은 환내의 결합을 나타냄)