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 —;NR5—;, or the like, —;ZA—; is —;NR5A—;, 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, R2 is a hydrogen atom, or the like, and the group represented byis a group represented by Formula:or a pharmaceutically acceptable salt thereof, and a pharmaceutical composition comprising the same.