The present invention provides a compound represented by formula (1): [wherein Q is an aromatic heterocycle represented by any of Q-1 to Q-5, W is an aromatic represented by W-1, W-2 or W-3. Group heterocycle, X is oxygen atom, R1a is hydrogen atom, halogen atom or C1-C6 alkyl, R1b is hydrogen atom, R1c is C1-C6 alkyl, R2a is halogen atom or C1-C6 alkyl, R2c is C1-C6 haloalkyl, R3 is a hydrogen atom, R4a is a hydrogen atom or C1-C6 alkyl, R4b is a hydrogen atom or C1-C6 alkyl, R4c is a hydrogen atom or C1-C6 alkyl, R4d is a hydrogen atom or C1 -C6 alkyl, R5a and R5b each independently represent a hydrogen atom or C1-C6 alkyl, R5c represents a hydrogen atom or C1-C6 alkyl, and n represents an integer of 0, 1, 2, or 3. And a pesticide containing them, particularly a herbicide.本発明は、式(1):[式中、QはQ-1からQ-5の何れかで示される芳香族複素環、WはW-1、W-2又はW-3で示される芳香族複素環、Xは酸素原子等、R1aは水素原子、ハロゲン原子又はC1~C6アルキル等、R1bは水素原子等、R1cはC1~C6アルキル、R2aはハロゲン原子又はC1~C6アルキル等、R2cはC1~C6ハロアルキル、R3は水素原子等、R4aは水素原子又はC1~C6アルキル等、R4bは水素原子又はC1~C6アルキル等、R4cは水素原子又はC1~C6アルキル等、R4dは水素原子又はC1~C6アルキル等、R5a及びR5bは各々独立して水素原子又はC1~C6アルキル等、R5cは水素原子又はC1~C6アルキル等、並びに、nは0,1,2又は3の整数を表す。]で表される複素環アミド化合物及びそれらを含有する農薬、特に除草剤を提供する。