Provided are heterocyclic amide compounds represented by formula (1), and an agricultural chemical, specifically a herbicide, which contains said compounds (in formula (1), Q represents an aromatic heterocycle indicated by any of Q1 to Q5, W represents an aromatic heterocycle indicated by W-1, W-2, or W-3, X represents an oxygen atom, or the like, R