Provided is a compound having TrkA-inhibiting activity, or a pharmaceutically acceptable salt thereof. The present invention pertains to a compound represented by formula (I) or a pharmaceutically acceptable salt thereof, and a pharmaceutical composition containing same. (In formula (I), -L- represents -C(=X)- or the like, -Z- represents -NR5- or the like, -ZA- represents -NR5A- or the like, B represents a substituted or unsubstituted aromatic carbocyclic group or the like, Y represents a single bond or the like, the ring C represents a substituted or unsubstituted aromatic heterocycle or the like, R2 represents a hydrogen atom or the like, and the group indicated by (AA) represents a group indicated by (BB).)L'invention concerne un composé possédant une activité inhibitrice ciblant TrkA, ou un sel pharmaceutiquement acceptable de ce dernier. La présente invention concerne un composé représenté par la formule (I) ou un sel pharmaceutiquement acceptable de ce dernier, et une composition pharmaceutique contenant ce dernier. (Dans la formule (I), -L- représente -C(= X)- ou similaire, -Z- représente -NR5- ou similaire, -ZA- représente -NR5A- ou similaire, B représente un groupe carbocyclique aromatique substitué ou non substitué, ou similaire, Y représente une liaison simple ou similaire, le cycle C représente un hétérocycle aromatique substitué ou non substitué, ou similaire, R2 représente un atome d'hydrogène ou similaire, et le groupe indiqué par (AA) représente un groupe indiqué par (BB).)本発明は、TrkA阻害活性を有する化合物またはその製薬上許容される塩を提供する。 式(I): (式中、-L-は-C(=X)-等、-Z-は-NR5-等、-ZA-は-NR5A-等、Bは置換若しくは非置換の芳香族炭素環式基等、Yは単結合等、環Cは置換若しくは非置換の芳香族複素環等、R2は水素原子等、(AA) で示される基は、式:(BB)で示される基である)で示される化合物またはその製薬上許容される塩、およびそれらを含有する医薬組成物に関する。