The wind gently touched the trees.

Literal

Wind [subject-が] softly grove [target-に] touched.

柔らかく触れた — 柔らかい (soft) in adverbial form + 触れる (to touch). A delicate, poetic image of wind caressing trees.