The present invention provides a compound having anti-virus activity, especially inhibiting proliferation of infulenza virus, and preferably provides a substituted 3-hydroxy-4-pyridone derivatives showing the avtivity for inhibiting cap-dependent endonuclease.本發明提供具有抗病毒作用,尤其是具有抑制流行性感冒病毒增殖之活性的化合物,更佳為顯示抑制戴帽依存的內切核酸酶(endonuclease)活性之經取代3-羥基-4-吡啶酮衍生物。