PROBLEM TO BE SOLVED: To provide pharmaceutical compositions containing a selective prostaglandin E2 (EP2) agonist excellent in safety and useful in treatment of immune disease, allergic disease, neuronal death, dysmenorrhea, preterm delivery, spontaneous abortion, baldness, eye disease, glaucoma, erectile dysfunction, arthritis, pulmonary disorder, pulmonary fibrosis, pulmonary emphysema, bronchitis, chronic obstructive respiratory disease, bone disease, cartilage injury, and the like.SOLUTION: A pharmaceutical composition contains a compound represented by formula (I). [The ring 1 is a 5- or 6-membered monocyclic aromatic ring R1 is -(CH2)p-COOH, or the like p is an integer from 0 to 4 X is -O-, -S-, -SO-, -SO2-, or -NH- R2 is H, or a C1-4 alkyl group R3 is H, or the like: E is -O-, -S-, -SO-, -SO2-, -CH2-, =CH-, or -NH- the ring 2 is a 3-15 membered cyclic group R4 is a C1-8 alkyl group, or the like and n is an integer from 0 to 5.]SELECTED DRAWING: NoneCOPYRIGHT: (C)2017,JPO&INPIT【課題】安全性に優れ、免疫疾患、アレルギー性疾患、神経細胞死、月経困難症、早産、流産、禿頭症、眼疾患、緑内障、勃起不全、関節炎、肺障害、肺線維症、肺気腫、気管支炎、慢性閉塞性呼吸器疾患、骨疾患、軟骨損傷等の治療に有用な選択的プロスタグランジンE2(EP2)アゴニストを含有する医薬組成物の提供。【解決手段】式(I)で示される化合物を含有する医薬組成物。[ring1は5又は6員単環式芳香環;R1は-(CH2)p-COOH等;pは0~4の整数;Xは-O-、-S-、-SO-、-SO2-又は-NH-;R2はH又はC1~4アルキル基;R3はH等:Eは-O-、-S-、-SO-、-SO2-、-CH2-、=CH-又は-NH-;ring2は3~15員環状基;R4はC1~8アルキル基等;nは0~5の整数]【選択図】なし