PROBLEM TO BE SOLVED: To provide a cephem compound having wide antibacterial spectrum against various bacteria including gram-negative bacterium and/or gram-positive bacterium, and to provide a pharmaceutical composition containing the same.SOLUTION: There are provided: a compound represented by formula (I), where X is N, CH or C-Cl, T is S or the like, A and G are each a lower alkylene or the like, B is a single bond or the like, D is a single bond, -NR-CO-, -CO-NR-, -NR-CO-NR-, or the like, E is a lower alkylene which may be substituted, H is a single bond, or phenylene which may be substituted, R, R, Rand Rare each independently a hydrogen, a halogen, nitrile, or the like; an ester of the compound represented by the formula (I); a protected compound obtained by protecting an amino group on a ring in a 7-position side chain of the compound represented by the formula (I); and pharmaceutically acceptable salts and solvates of them.【課題】グラム陰性菌及び/又はグラム陽性菌を含む種々の細菌に対して、広範な抗菌スペクトルを有しするセフェム化合物、及びそれを含有する医薬組成物の提供。【解決手段】1)式:(XはN、CH又はC-Cl、TはS等、A及びGは低級アルキレン等、Bは単結合等、Dは単結合、-NR7-CO-、-CO-NR7-、-NR7-CO-NR7-等、Eは置換されていてもよい低級アルキレン、Hは単結合又は置換されていてもよいフェニレン、R3、R4、R5及びR6はそれぞれ独立して水素、ハロゲン、ニトリル等である)で示される化合物、エステル体、若しくはその7位側鎖の環上のアミノ基における保護体又はそれらの製薬上許容される塩若しくはそれらの溶媒和物。【選択図】なし