<!-- tpcms-form: {
  "label": "05_★横長",
  "category": "03_コンテンツ",
  "fields": [
    { "key":"H2", "type":"text", "label":"大見出し"},
    { "key":"H2_TEXT", "type":"textarea", "label":"説明文が必要ならここに入力して下さい。"}
  ],
  "repeaters": [
    {
      "key": "ROWS",
      "label": "繰り返しブロック",
      "sort": true,
      "fields": [
        { "key": "POSITION", "type": "select", "label": "画像を", "options": [["image-r", "右に配置"], ["image-l", "左に配置"]], "allow_empty":false },
        { "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 class="c">{{H2}}</h2>
{{/IF_H2}}

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

<div class="list-half">

{{#ROWS}}
<div class="list up">

<div class="text">
{{#IF_TITLE}}<h4>{{TITLE}}</h4>{{/IF_TITLE}}
{{#IF_TEXT}}<p>{{TEXT}}</p>{{/IF_TEXT}}
</div>

{{#IF_IMAGE}}
<div class="{{POSITION_HTML}}">
<figure><img src="./uploads/{{FILE}}" alt="{{TITLE}}"></figure>
</div>
{{/IF_IMAGE}}

</div>
{{/ROWS}}

</div>

</section>
