Skip the 45s altogether and use more grade for the sewer. You can get enough bend at each joint to line things up. If you need more joints to male the angles you can cut the pipes to 5 ft lengths and use couplings but you can probably just make the connections with standard lengths of pipe.
Contrary to some "old-plumbers tales" a steep grade on an individual service will not be a problem.
There are often maximum grades on municipal sewers to avoid high velocity at manholes and erosion that can occur in concrete pipes but there is not enough flow in yours to matter.
I have seen 45 degree slopes in internal plumbing and it isn't a problem.