Japan's civil code hasn't caught up to evolving families.