The present invention provides a pharmaceutical composition containing the following compound having antiviral action:P is hydrogen or a group to form a prodrug; A1is CR1AR1B, S or O; A2is CR2AR2B, S or O; A3is CR3AR3B, S or O; A4is each independently CR4AR4B, S or O; the number of hetero atoms among atoms constituting the ring which consists of A1, A2, A3, A4, nitrogen atom adjacent to A1and carbon atom adjacent to A4, is 1 or 2; R1Aand R1Bare each independently hydrogen, halogen, alkyl, or the like; R2Aand R2Bare each independently hydrogen, halogen, alkyl, or the like; R3Aand R3Bare each independently hydrogen, halogen, alkyl, or the like; R4 Aand R4Bare each independently hydrogen, halogen, alkyl, or the like; R3Aand R3Bmay be taken together with an adjacent carbon atom to form non-aromatic carbocycle or non-aromatic heterocycle; R1is fluorine; m is any integer of 1 to 2; and n is any integer of 1 to 2.本發明提供一種含有具有抗病毒作用之以下化合物之醫藥組合物。P為氫原子或形成前體之基; A1為CR1AR1B、S或O; A2為CR2AR2B、S或O; A3為CR3AR3B、S或O; A4分別獨立為CR4AR4B、S或O; 此處,由A1、A2、A3、A4、與A1鄰接之氮原子、及與A4鄰接之碳原子所構成之環之成環原子之雜原子之數為1個或2個; R1A及R1B分別獨立為氫、鹵素、或烷基等; R2A及R2B分別獨立為氫、鹵素、或烷基等; R3A及R3B分別獨立為氫、鹵素、或烷基等; R4A及R4B分別獨立為氫、鹵素、或烷基等; R3A及R3B可一起形成非芳香族碳環或非芳香族雜環; R1為氟原子; m為1~2之整數; n為1~2之整數)