The present invention relates to a compound of the following formula (I), which is useful as a renin inhibitor, or a pharmaceutically acceptable salt thereof.wherein R1ais a halogen atom, etc.; R1mis a hydrogen atom, etc.; G1is -N(R1b)-, etc.; G2is-CO-, etc.; G3is-C(R1c)(R1d)-,etc.; G4is an oxygen atom, etc.; R1bis an optionally substituted C1-6alkyl, etc.; R1cand R1dare independently the same or different, and each is a hydrogen atom, etc.; R2is a hydrogen atom, an optionally substituted C1-6alkyl etc.; R3a, R3b, R3cand R3dare independently the same or different, and each is a group: -A-B (said A is a single bond, etc., said B is a hydrogen atom, etc.), etc.; and n is 1, etc.本發明係提供一種可有效用作腎素抑制劑之下述式(I)之化合物、或其藥學上所容許之鹽:[式中,R1a為鹵素原子等;R1m為氫原子等;G1為-N(R1b)-等;G2為-CO-等;G3為-C(R1c)(R1d)-等;G4為氧原子等;R1b為可經取代之C1-6烷基等;R1c及R1d分別獨立,可相同或不同,為氫原子等;R2為氫原子、可經取代之C1-6烷基等;R3a、R3b、R3c、及R3d分別獨立,可相同或不同,為基團:-A-B(該A為單鍵等,該B為氫原子等。)等;n為1,等]。