PROBLEM TO BE SOLVED: To provide an EP4 receptor antagonist having improved EP4 receptor modulator activity, and useful for treatment of pain and an inflammation conditions.SOLUTION: The compound is represented by formula (I) (wherein A represents a phenyl group or the like; B represents an aryl or the like; E represents a 1,4-phenylene group; Rand Rindependently represent a hydrogen atom or the like; Rand Rindependently represent a hydrogen atom or the like; Rrepresents -COH or the like; Rrepresents a 1-6C alkyl group or the like; and X represents a methylene group or the like).【課題】疼痛および炎症状態の治療に有用なEP4受容体モジュレータ活性が改善されたEP4受容体拮抗薬の提供。【解決手段】式(I)の化合物。(式中、Aはフェニル基などを表し、Bはアリールなどを表し、Eは1,4-フェニレン基を表し、R1およびR2は独立して水素原子などを表し、R3およびR4は独立して水素原子などを表し、R5は-CO2Hなどを表し、R6は1から6個の炭素原子を有するアルキル基などを表し、Xはメチレン基などを表す)【選択図】なし