Provided is an agent for treating or preventing urinary frequency, urinary urgency and urinary, incontinence which are associated with overactive bladder, a lower urinary tract disease such as interstitial cystitis and chronic prostatitis accompanied by lower urinary tract pain, and various diseases accompanied by pain. A novel azolecarboxamide derivative in which an azole ring such as thioazole or oxazole is bonded to a benzene ring, pyridine ring or pyrimidine ring through carboxamide was confirmed to have a potent trkA receptor-inhibitory activity and found to be an agent for treating or preventing lower urinary tract disease and various diseases accompanied by pain, which is excellent in efficacy and safety, and thus the present invention was accomplished.
Compounds having formula I,
or pharmaceutically acceptable salts, hydrates or N-oxides thereof are provided and are useful for binding to CXCR7, and treating diseases that are dependent, at least in part, on CXCR7 activity. Accordingly, the present invention provides in further aspects, compositions containing one or more of the above-noted compounds in admixture with a pharmaceutically acceptable excipient.