You could totally extend this up to Canada...
Tedesco
Essex
Turner Hill
Bass Rocks
Ould Newbury
Portsmouth CC
York
Portland CC
Prout's Neck
North Haven
Castine/Wawenock
Kebo Valley
Northeast Harbor
Grindstone Neck
Algonquin (St. Andrew's, NB)
I left out Myopia, because I think it's a bit more than 5mi inland, and also Samoset because I don't like it.
Then again, you could go the other way to Florida the same way I'm sure, and probably around to Texas. The ocean makes a good backdrop for golf, and attracts $$ to build great clubs!