Provided is a medicament comprising a compound having antagonistic activity against EP4 receptor as an active ingredient to prevent and / or treat the diseases caused by activation of EP4 receptor. The present invention provides a compound represented by the following formula (I), salt thereof, N-oxide thereof, solvate thereof, prodrug thereof, which have antagonistic activity against EP4 receptor and are useful as a pharmaceutical ingredient to prevent and / or treat the diseases caused by activation of EP4 receptor. (Wherein all symbols represent the same meanings as symbols described in the specification).本發明提供一種藥劑,其有效成分係對於起因於EP4受體的活性化的疾病的預防及/或治療上,對EP4受體具有拮抗活性的化合物。以通式(I)表示的化合物、其鹽、其N-氧化物、其溶媒合物、或該等的前藥:(式中,全部的符號表示與說明書所述的符號相同的意義)。其等有用於作為對起因於EP4受體的活性化的疾病的預防及/或治療上,對EP4受體具有拮抗活性的藥劑成分。