It is said that Isaniwa shrine was built right on the place where they were accommodated when they visited Dōgo Onsen, but later it was moved to its present-day site.
With time, the importance of the shrine grew, and during the medieval period it was one of the eight shrines selected as protectors for the Matsuyama castle.
EXIF info:
Nikon Df
Lens: 24-70mm F/2.8G
Focal Length: 24mm
Aperture: F/6.3
Shutter Speed: 1/800s
ISO Sensitivity: ISO 400