"friendly" is an adjective,but "environmentally" is an adverb used as adverbial.If "environmentally friendly" is in one phrase,in this phrase,"environmentally" modifies "friendly".The whole phrase means that the environment is frendly.
I hope you will make great progess in your study.