Provided is a novel pest control agent, particularly a fungicide and nematicide. An oxime-substituted amide compound represented by formula (I) [where G1 represents a structure represented by G1-1 or the like G2 represents a structure represented by G2-2 or the like W represents an oxygen atom or the like X1 represents a halogen atom, methyl, trifluoromethyl, or the like X2, X3, X4, and X5 each independently represent a hydrogen atom, halogen atom, or the like Y1 and Y3 each independently represent a halogen atom, cyano, methyl, trifluoromethyl, C2-C6 alkynyl, or the like Y2 and Y4 each independently represent a hydrogen atom, halogen atom, or the like R1 represents a C1-C6 alkyl, C1-C4 haloalkyl, (C1-C4) alkyl substituted by R18, C3-C6 cycloalkyl, C3-C6 alkenyl, or the like R2 and R3 each independently represent a hydrogen atom, methyl, or the like R4 represents a hydrogen atom or the like R18 represents a C3-C6 cycloalkyl, phenyl, phenyl substituted by (Z)m, or the like Z represents a halogen atom or the like and m represents an integer 1, 2, or 3] or a salt thereof, and a pest control agent containing these.