The purpose of the present invention is to provide a novel compound having ACC2 inhibition activity and to provide a pharmaceutical composition containing the compound. Provided are a compound represented by formula (I) and a pharmaceutically acceptable salt thereof. (In formula (I), R1 represents a substituted or unsubstituted fused aromatic heterocyclic group represented by formula (II) (in formula (II), ring B represents a 5-membered ring and ring C represents a 6-membered ring), ring A represents a substituted or unsubstituted nonaromatic carbocyclic ring or the like, -L1- represents -O-(CR6R7)m- or the like, -L2- represents -O-(CR6R7)n- or the like, each R6 independently represents hydrogen or the like, each R7 independently represents hydrogen or the like, each m independently represents an integer of 0, 1, 2, or 3, each n independently represents an integer of 1, 2, or 3, R2 represents a substituted or unsubstituted alkyl, R3 represents hydrogen or a substituted or unsubstituted alkyl, and R4 represents a substituted or unsubstituted alkyl carbonyl or the like).