Disclosed is a therapeutic and prophylactic agent containing an ALK inhibitory compound, which is effective for diseases associated with abnormal ALK, such as cancer, cancer metastasis, depression, or cognitive dysfunction. The object is to provide a pharmaceutical composition comprising a compound represented by the following general formula (I): [the symbols in the formula are defined in the description], a salt thereof or a solvate thereof. Achieved. [Selection figure] None【課題】ALK阻害化合物を含有する、ALKの異常を伴う疾患、例えばがん、がん転移、うつまたは認知機能障害に有効な治療および予防薬を提供すること。【解決手段】上記課題は、下記一般式(I):[式中の記号は、明細書の定義を参照のこと]で示される化合物、その塩またはそれらの溶媒和物を含む医薬組成物によって達成される。【選択図】なし