Hakone is very close to the ocean. It's basically about 5615 meters from the ocean depending on where you measure to the exact coastline.
If you're driving to a town near the beach or coastline, you could try Odawara.
How far is Ojai from the ocean
How far is Tiburon from the ocean
How far is Burbank, CA from the ocean
How far is Saint Petersburg, FL from the ocean
How far is Billings from the ocean
How far is Paso Robles from the ocean
How far is Cheyenne from the ocean
How far is Minneapolis from the ocean
How far is Whitefish from the ocean
How far is Surat Thani from the ocean