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) n R 1 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, R 1 is C 1 -C 6 alkyl, C 1 -C 6 haloalkyl, (C 1 -C 6 ) alkyl optionally substituted with R 1a , C 2 -C 6 alkenyl, C 2 -C 6 haloalkenyl, C 2 -C 6 alkynyl, C 2 -C 6 haloalkynyl, C 3 -C 6 cycloalkyl, C 3 -C 6 halocycloalkyl, C 3 -C 6 cycloalkyl (C 1 -C 6 ) alkyl, C 3 -C 6 halocycloalkyl (C 1 -C 6 ) alkyl or hydroxy (C 1 -C 6 ) alkyl, R 1a is C 1 -C 8 alkoxycarbonyl, and n is an integer of 0, 1 or 2.