To provide novel pesticides, especially insecticides or acaricides.A condensed heterocyclic compound represented by the formula (1) or its salt or an N-oxide thereof:wherein D substituted with —;S(O)nR1 is a ring represented by any one of D1, D2 and D3, Q is a ring represented by any one of Q1, Q2, Q3 and Q4, R1 is C1-C6 alkyl, C1-C6 haloalkyl, (C1-C6) alkyl optionally substituted with R1a, C2-C6 alkenyl, C2-C6 haloalkenyl, C2-C6 alkynyl, C2-C6 haloalkynyl, C3-C6 cycloalkyl, C3-C6 halocycloalkyl, C3-C6 cycloalkyl (C1-C6) alkyl, C3-C6 halocycloalkyl (C1-C6) alkyl or hydroxy (C1-C6) alkyl, R1a is C1-C8 alkoxycarbonyl, and n is an integer of 0, 1 or 2.