風邪(かぜ) kazeが ga治(なお)る() naoruのに noni長(なが)く() nagakuかかった kakatta。 It took a long time to get over the cold. Literal Cold [subject-が] heal [purpose-のに] long took. 治るのに長くかかった uses 治る (intransitive 'to heal/get better'), distinct from 治す (transitive 'to cure'). のに here marks the purpose of the duration — 'for the cold to heal.' healthillness/cold~かかる (to take time/cost)
風邪(かぜ) kazeが ga治(なお)る() naoruのに noni長(なが)く() nagakuかかった kakatta。 It took a long time to get over the cold. Literal Cold [subject-が] heal [purpose-のに] long took. 治るのに長くかかった uses 治る (intransitive 'to heal/get better'), distinct from 治す (transitive 'to cure'). のに here marks the purpose of the duration — 'for the cold to heal.' healthillness/cold~かかる (to take time/cost)