Ford Ranger OBDII codes P0171 and P0174

Is it possible that I have a hose leak around the gas tank itself? Some months before I really started to notice the mileage issue and well before the codes came on I got a strong wiff of gas for a couple of days after each fillup. Only once did I have spillage from underneath, so I didn’t really worry too much. Is there a hose or series of hoses that connects the tank and the engine in some way for vapor or intake purposes?

This is really more of a strong hunch than evidence. If this is correct, how much trouble is it to dop the tank? I have the luxury of time with this thing since I have another vehicle to use but have never done that before. Is it worth the hassle or should I just take it to somebody? Any ideas on the timeframe that I’m looking at for tank removal and reconnection?