The present invention provides a compound represented by the formula (1) : wherein each symbol is as defined in the specification, or a salt thereof has an EP4 receptor antagonistic action, and is useful as an agent for the prophylaxis or treatment of EP4 receptor associated diseases (e.g., rheumatoid arthritis, aortic aneurysm, endometriosis, ankylosing spondylitis etc.) and the like.