Pre-noun adjectival (rentaishi) used to modify a noun, indicating the most important or primary thing among a group. Often used in formal or explanatory contexts.
主な is a plain prenominal adjective meaning 'main' used directly before a noun, while 主要 is more formal and can function as both a noun and a な-adjective.