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, R1a represents a hydrogen atom, a halogen atom, or a C1-C6 alkyl, or the like, R1b represents a hydrogen atom, or the like, R1c represents a C1-C6 alkyl, R2a represents a halogen atom, or a C1-C6 alkyl, or the like, R2c represents a C1-C6 haloalkyl, R3 represents a hydrogen atom, or the like, R4a represents a hydrogen atom, or a C1-C6 alkyl, or the like, R4b represents a hydrogen atom, or a C1-C6 alkyl, or the like, R4c represents a hydrogen atom, or a C1-C6 alkyl, or the like, R4d represents a hydrogen atom, or a C1-C6 alkyl, or the like, R5a and R5b each independently represent a hydrogen atom, or a C1-C6 alkyl, or the like, R5c represents a hydrogen atom, or a C1-C6 alkyl, or the like, and n represents the integer 0, 1, 2, or 3).