Cordoba (Spain) is about 135 km from the ocean.
If you're driving to a town near the beach or coastline, you could try Malaga.
How far is Sonoma from the ocean
How far is Sedona from the ocean
How far is Berkeley from the ocean
How far is Medford from the ocean
How far is Stinson Beach from the ocean
How far is Mount Shasta, CA from the ocean
How far is Norfolk from the ocean
How far is Anchorage from the ocean
How far is Buffalo from the ocean
How far is Fuerteventura from the ocean