TO FIND A THERAPEUTIC AND/OR PROPHYLACTIC AGENT FOR GASTROINTESTINAL DISORDERS AND SO ON, THE AGENT HAVING EXCELLENT ACTIVITY AND HIGH SAFETY. A COMPOUND REPRESENTED BY THE FOLLOWING GENERAL FORMULA (I) OR A PHARMACOLOGICALLY ACCEPTABLE SALT THEREOF. IN THE FORMULA, A REPRESENTS AN OPTIONALLY SUBSTITUTED PHENYLENE GROUP; B REPRESENTS AN OPTIONALLY SUBSTITUTED 4- TO 10-MEMBERED HETEROCYCLIC GROUP, AN OPTIONALLY SUBSTITUTED C6-C10 ARYL GROUP, OR AN OPTIONALLY SUBSTITUTED C3-C10 CYCLOALKYL GROUP; R1 REPRESENTS A HYDROGEN ATOM OR A C1-C3 ALKYL GROUP; R2 REPRESENTS A HYDROGEN ATOM OR A C1-C3 ALKYL GROUP; R3 REPRESENTS A C1-C6 ALKYL GROUP, A C3-C10 CYCLOALKYL GROUP, A C1-C3 ALKOXY C1-C3 ALKYL GROUP, OR A C1-C3 HYDROXYALKYL GROUP; R4 REPRESENTS A HYDROGEN ATOM, A C1-C6 ALKYL GROUP, OR A HALOGEN ATOM; N REPRESENTS AN INTEGER OF 1 TO 4; AND X REPRESENTS METHYLENE, -O-, -NH-, -N(C1-C3 ALKYL)-, -C(=O)-, -S-, -S(O)-, -S(O2)-, OR A SINGLE BOND.