It helps to remember…
ローマ (Roma/Rome) + 字 (ji, "character") = ローマ字 (romaji, "Roman characters")
漢 (Kan/Han*) + 字 (ji, "character") = 漢字 (kanji, "Chinese characters")
* The traditional name of China — specifically the Han dynasty, which is considered the golden age of China.