Disclosed is a compound represented by general formula (I), which has EP1 receptor antagonist activity, or a pharmacologically acceptable salt thereof. (In general formula (I), A represents a benzene ring or the like; Y represents a C1-6 alkylene group or the like; RN represents a hydrogen atom or a C1-6 alkyl group; R1 represents a hydrogen atom, a C1-6 alkyl group or the like; R2 represents an optionally substituted phenyl group, an optionally substituted five-membered aromatic heterocyclic group, an optionally substituted six-membered aromatic heterocyclic group or the like; R3 represents a halogen atom, a C1-6 alkoxy group or the like; R4 represents a hydrogen atom or the like; and R5 represents a hydrogen atom or the like.) The compound of general formula (I) is able to be used as an agent for treatment or prevention of LUTS, in particular symptoms of OABS.