11A1B22A2B33A3B44A4B1234141A1B2A2B3A3B4A4B3A3B21Provided is a compound represented by formula (I) that has an antiviral effect. In formula (I): A represents CRR S or O; A represents CRR S or O; A represents CRR S or O; A represents CRR S or O [wherein the ring constituting atoms consisting of A A A A a nitrogen atom adjacent to A and a carbon atom adjacent to A include one or two hetero atoms; R and R independently represent hydrogen halogen alkyl etc.; R and R independently represent hydrogen halogen alkyl etc.; R and R independently represent hydrogen halogen alkyl etc.; R and R independently represent hydrogen halogen alkyl etc.; R and R may together form a non aromatic carbon ring or a non aromatic heteroring; X represents CH S or O; R s independently represent halogen hydroxy etc.; m is an integer of 0 2; and n is an integer of 1 2].