Disclosed is a novel compound having a good antithrombotic effect and a low risk of bleeding. Disclosed is a pharmaceutical composition containing a compound of formula (I), a tautomer thereof, or an optical isomer thereof, or a pharmaceutically acceptable salt thereof, and the compound described above. The above-mentioned compound has an activity that inhibits the positive effect of factor Xa, and can be used in the manufacture of a medicament for preventing and / or treating a disease that inhibits the positive effect of factor Xa when the risk of bleeding is low. it can. [Chemical 1]【課題】良好な抗血栓症効果および低い出血リスクを有する新規化合物を提供すること。【解決手段】式(I)の化合物、その互変異性体、もしくはそれらの光学異性体、またはそれらの医薬として許容され得る塩、および上述の化合物を含有する医薬組成物が開示される。上述の化合物は、Xa因子の陽性効果を阻害する活性を有し、出血リスクが低い場合に第Xa因子の陽性効果を阻害する、疾患の予防および/または治療用医薬の製造に使用することができる。 【化1】