This invention provides an agent comprising ALK inhibiting compounds for the prophylaxis or treatment of diseases in associated with ALK abnormal such as cancer, cancer metastasis, depression or cognitive impairment.The solution of this invention is achieved by a pharmaceutical composition comprising a compound represented by the following general formula (I), salts thereof and solvates thereof:[wherein, symbols are defined according to the definition in the specification.]本發明提供一種含有ALK抑制化合物,且有用於例如癌、癌轉移、憂鬱或知能障礙之ALK異常所伴隨之疾患的治療及預防藥。解決上述課題之手段係藉由一種含有下述通式(I)所示化合物、其鹽或其等之溶媒合物之醫藥組成物而達成:[式中的符號,參照說明書的定義]。