A coupler includes: a base to be fixed to an attached target; and an attachment body that is fixed to the attaching target and to be detachably joined to the base, in which: the base includes a joint surface to be joined to the attachment body, a magnet configured to magnetically ...