The present invention relates to a compound of formula (I): [Wherein each symbol is as defined in the present specification. ] Or a salt thereof. The compound has an EP4 receptor antagonistic action, and has an EP4 receptor-related disease (eg, rheumatoid arthritis, aortic aneurysm (eg, abdominal aortic aneurysm, thoracoabdominal aortic aneurysm, etc.), endometriosis, ankylosing It is useful as a preventive or therapeutic agent for vertebral spondylitis, inflammatory breast cancer and the like.本発明は、式(I):[式中、各記号は本明細書中で定義した通りである。]で表される化合物またはその塩を提供する。当該化合物は、EP4受容体拮抗作用を有し、EP4受容体関連疾患(例、関節リウマチ、大動脈瘤(例、腹部大動脈瘤、胸部大動脈瘤、胸腹部大動脈瘤等)、子宮内膜症、強直性脊椎炎、炎症性乳癌等)等の予防または治療剤として有用である。