Provided is a compound having a superior FLAP inhibitory action and useful as a prophylactic or therapeutic agent for arteriosclerosis and the like, and a salt thereof. The present invention relates to a compound represented by the formulawherein each symbol is as defined in the present DESCRIPTION, or a salt thereof.