The present invention provides a compound having a TrkA inhibitory activity or a pharmaceutically acceptable salt thereof. The present invention relates to a compound represented by Formula (I): wherein -L- is -C(=X)-, or the like, -Z- is -NR 5 -, or the like, -Z A - is -NR 5A -, or the like, B is substituted or unsubstituted aromatic carbocyclyl, or the like, Y is a single bond, or the like, the ring C is a substituted or unsubstituted aromatic heterocycle, or the like, R 2 is a hydrogen atom, or the like, and the group represented by is a group represented by Formula: or a pharmaceutically acceptable salt thereof, and a pharmaceutical composition comprising the same.