<!-- tpcms-form: {
  "label": "01_★横長（画像 ＋ テキスト）",
  "category": "03_コンテンツ",
  "fields": [
    { "key":"H2", "type":"text", "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 },
        { "key": "POSITION", "type":"radio", "label":"画像の配置場所", "options":[["text-l", "右"],["","左"]]},
        { "key": "LINK_URL", "type": "text", "label": "リンク先URL（空ならリンクなし）" }
      ]
    }
  ]
} -->

<section>

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

{{#ROWS}}
<div class="c2 blur">

<div class="text {{POSITION}}">
{{#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_IMAGE}}
<div class="image">
<figure>{{#IF_LINK_URL}}<a href="{{LINK_URL}}">{{/IF_LINK_URL}}<img src="./uploads/{{FILE}}" alt="{{TITLE}}">{{#IF_LINK_URL}}</a>{{/IF_LINK_URL}}</figure>
</div>
{{/IF_IMAGE}}

</div>
{{/ROWS}}

</section>
