%div#event-list.grayscale-bg
  - upcoming_events.each do |prefecture, events|
    %h2.event-region{id: prefecture}
      %a{href: "##{prefecture}", style: "color: black;"}= prefecture
    %ul.event-ul
      - events.each do |event|
        %li.event
          %header
            - if event[:event_title].include? 'オンライン'
              %div.event-ribbon
                %span オンライン
            %p.event-date= l(event[:event_date])
            %p.event-at= "#{event[:event_at].strftime('%k:%M')}"
          %p
            %a.event-url{ href: "#{event[:event_url]}" }
              %span= event[:event_title]
            %span= "(#{event[:dojo_name]})"
            - if event[:event_title].include? 'ポケモン'
              %div.event-tag-pokemon-cover
                %span.event-tag-pokemon ポケモン

%div#event-list.grayscale-bg
  - upcoming_events.each do |prefecture, events|
    %h2.event-region{id: prefecture}
      %a{href: "##{prefecture}", style: "color: black;"}= prefecture
    %ul.event-ul
      - events.each do |event|
        %li.event
          %header
            - if event[:event_title].include? 'オンライン' or event[:event_title].include? 'リモート'
              %div.event-ribbon
                %span オンライン
            %p.event-date= l(event[:event_date])
            %p.event-at= "#{event[:event_at].strftime('%k:%M')}"
          %p
            %a.event-url{ href: "#{event[:event_url]}" }
              %span= event[:event_title]
            %span= "(#{event[:dojo_name]})"
            - if event[:event_title].include? 'ポケモン'
              %div.event-tag-pokemon-cover
                %span.event-tag-pokemon ポケモン

Add 'リモート' to keywords to decorate ribbon in Events page
Add 'リモート' to keywords to decorate ribbon in Events page
