<!-- tpcms-form: {
  "label": "04_★横並びブロック",
  "category": "03_コンテンツ",
  "fields": [
    { "key":"H2", "type":"text", "label":"大見出し"},
    { "key":"H2_TEXT", "type":"textarea", "label":"説明文が必要ならここに入力して下さい。"}
  ],
  "repeaters": [
    {
      "key": "ROWS",
      "label": "繰り返しブロック",
      "sort": true,
      "fields": [
        { "key": "TITLE", "type": "text", "label": "見出し" },
        { "key": "TEXT", "type": "textarea","label": "説明" },
        { "key": "FILE", "type": "file", "label": "画像", "image_max_width": 800, "image_quality": 82 }
      ]
    }
  ]
} -->

<section>

{{#IF_H2}}
<h2>{{H2}}</h2>
{{/IF_H2}}

{{#IF_H2_TEXT}}<p>{{H2_TEXT}}</p>{{/IF_H2_TEXT}}

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

{{#ROWS}}

<div class="list-tpcms">
{{#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}}
<div class="text">
{{#IF_TITLE}}<h4>{{#IF_LINK_URL}}<a href="{{LINK_URL}}">{{/IF_LINK_URL}}{{TITLE}}{{#IF_LINK_URL}}</a>{{/IF_LINK_URL}}</h4>{{/IF_TITLE}}
{{#IF_TEXT}}<p>{{TEXT}}</p>{{/IF_TEXT}}
</div>
{{#IF_LINK_URL}}<p class="btn"><a href="{{LINK_URL}}">詳しくみる</a></p>{{/IF_LINK_URL}}
{{#IF_ICONS}}{{ICONS_SPANS_HTML}}{{/IF_ICONS}}
</div>

{{/ROWS}}

</div>

</section>
