Nounに合わせて; Noun1にあったNoun2

Usage

The literal meaning of Xに合わせて is "fitting/matching/adjusting something to X". It is often used to mean "making something suitable for X" or "according to X"

Nに合わせて making - suitable for N; according to N

N1にあったN2 N2 suitable for N1

Examples

病状に合わせて、いろいろな薬が使わせる。 Condition of the patient is suitable for using this medicine.
人々の生活の変化に合わせて、家族の形も変わってきました。 As people's lifestyles change, the structure of the family has also changed.