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), R