A 295-40-18 wants to see a 10.5" rim. On the front, they should really be on a 11.0" rim.
With a 10" rim, esp on the fronts, they may well feel a little sluggish /rubbery /un-responsive.
I tried 275-40-18 on 9" front rims..and didn't like the sluggishness. Then swapped to a 10"
front rim, huge improvement. IE: went from 1/2" below measuring width to 1/2" above measuring width.
You will still end up with a lot of tread width on the ground, so it will still work. You have to compromise somewhere.
Your tire height will end up aprx 27.29, that's close enough to oem 27.25" .