Explanation
-이/가 아니라 corrects one noun with another inside one sentence: -이 아니라 after a consonant (학생이 아니라), -가 아니라 after a vowel (친구가 아니라), and the true item follows. It is the connective form of 아니다, so it never ends a sentence; for a full-clause contrast use -는 게 아니라. 대표가 아니라 친한 형으로서 걱정하는 거예요. — I'm worried not as the boss but as a close older brother.