Translation guide
The country Spain is referred to as スペイン in Japanese. This is a straightforward proper noun with no special grammatical considerations.
Referring to the nation of Spain in general contexts.
The standard Japanese name for Spain, used in all contexts.
Have you ever been to Spain?
I love Spanish food.