- if categories.present?
  %h3.related-categories 関連カテゴリ
  %ol.related-categories
    - categories.each do |category|
      - with_breadcrumb :category, category do
        %li
          = render 'application/breadcrumbs', options: {link_current: true, microdata: false}

- if categories.present?
  %h3.related-category__caption 関連カテゴリ
  %ol.related-category
    - categories.each do |category|
      - with_breadcrumb :category, category do
        %li.related-category__item
          = render 'application/breadcrumbs', options: {link_current: true, microdata: false}

Add class to apply style
Add class to apply style
