PROBLEM TO BE SOLVED: To provide a compound that inhibits cap-dependent endonuclease and has anti-virus action.SOLUTION: The present invention provides a compound represented by formula (I) (Ais CRR, S or O; Ais CRR, S or O; Ais CRR, S or O; Ais CRR, S or O; where, the number of hetero atoms in ring-constitutive atoms comprising A, A, A, A, N adjacent to A, and C adjacent to Ais 1-2; R, R, R, R, R, R, Rand Rindependently represent H, halogen, or alkyl or the like; Rand Rmay form together a nonaromatic carbocycle or a nonaromatic heterocycle; X is CH, S or O; Rs independently represent halogen or hydroxy or the like; m is an integer of 0-2; n is 1 or 2).SELECTED DRAWING: None【課題】キャップ依存的エンドヌクレアーゼを阻外して、抗ウイルス作用を有する化合物の提供。【解決手段】式(I)で表される化合物。(A1はCR1AR1B、S又はO;A2はCR2AR2B、S又はO;A3はCR3AR3B、SまたはO;A4は、CR4AR4B、SまたはO;ここで、A1、A2、A3、A4、A1に隣接するN、及びA4に隣接するCから構成される環構成原子のヘテロ原子の数は、1~2個;R1A、R1B、R2A、R2B、R3A、R3B、R4A及びR4Bは夫々独立にH、ハロゲン、又はアルキル等;R3A及びR3Bは一緒になって非芳香族炭素環又は非芳香族複素環を形成してもよい;XはCH2、S又はO;R1は夫々独立にハロゲン又はヒドロキシ等;mは0~2の整数;nは1又は2)【選択図】なし