adjective (な-adjective) modifying noun in attributive form
Analysis. Compound of 様 (sama, 'form/appearance') repeated twice with emphatic effect; the reduplication and な-ending create an adjective meaning 'of various forms'. The first 様 is counted using さ (archaic/poetic numeral prefix), hence さま-ざま.
Etymology. From Middle Japanese さまざま, an emphatic reduplication of さま (sama), from Old Japanese 様 (sama) 'form, appearance, manner'. No direct cognates in English or European languages; the reduplication device is native to Japanese, paralleling English constructions like 'this and that' or 'such and such'.
Dictionary entry by Claude.
Lite mode — plain HTML for e-readers and old browsers. Full version