<!-- tpcms-form: {
  "label": "04_★横並びブロック",
  "category": "03_コンテンツ",
  "fields": [
    { "key": "LINK", "type":"text", "label": "アンカーリンク（メニュー設定のスラッグと合わせる）" },
    { "key":"H2", "type":"text", "label":"大見出し"},
    { "key":"H2_HOSOKU", "type":"text", "label":"大見出しの補足・英語表記など"}
  ],
  "repeaters": [
    {
      "key": "ROWS",
      "label": "繰り返しブロック",
      "sort": true,
      "fields": [
        { "key": "TITLE", "type": "text", "label": "見出し" },
        { "key": "FILE", "type": "file", "label": "画像", "image_max_width": 800, "image_quality": 82 },
        { "key": "LINK_URL", "type": "text", "label": "リンク先URL（空ならリンクなし）" }
      ]
    }
  ]
} -->

<section id="{{LINK}}">

{{#IF_H2}}
<h2>
{{H2}}
{{#IF_H2_HOSOKU}}<span>{{H2_HOSOKU}}</span>{{/IF_H2_HOSOKU}}
</h2>
{{/IF_H2}}

<div class="list-grid-simple">

{{#ROWS}}

<div class="list">
{{#IF_IMAGE}}<figure>{{#IF_LINK_URL}}<a href="{{LINK_URL}}">{{/IF_LINK_URL}}<img src="./uploads/{{FILE}}" alt="">{{#IF_LINK_URL}}</a>{{/IF_LINK_URL}}</figure>{{/IF_IMAGE}}
{{#IF_TITLE}}<h4 class="c">{{#IF_LINK_URL}}<a href="{{LINK_URL}}">{{/IF_LINK_URL}}{{TITLE}}{{#IF_LINK_URL}}</a>{{/IF_LINK_URL}}</h4>{{/IF_TITLE}}
</div>

{{/ROWS}}

</div>

</section>

