<!-- tpcms-form: {
  "label": "05_★横長",
  "category": "03_コンテンツ",
  "fields": [
    { "key": "BG", "type":"radio", "label":"背景色", "options":[["", "つけない"],["bg1","薄いグレー"],["bg2","薄いオレンジ"],["bg3","濃いオレンジ"]]},
    { "key":"H2", "type":"text", "label":"大見出し"},
    { "key":"H2_HOSOKU", "type":"text", "label":"大見出しの補足・英語表記など"},
    { "key":"H2_TEXT", "type":"textarea", "label":"説明文が必要ならここに入力して下さい。"}
  ],
  "repeaters": [
    {
      "key": "ROWS",
      "label": "繰り返しブロック",
      "sort": true,
      "fields": [
        { "key": "POSITION", "type":"radio", "label":"画像を", "options":[["", "右に配置"],["reverse","左に配置"]]},
        { "key": "TITLE", "type": "text", "label": "タイトル" },
        { "key": "TEXT", "type": "textarea","label": "説明" },
        { "key": "FILE", "type": "file", "label": "画像", "image_max_width": 800, "image_quality": 82 },
        { "key": "LINK_URL", "type": "text", "label": "リンク先URL（空ならリンクなし）", "link_picker": true }
      ]
    }
  ]
} -->

<section class="{{BG}}">

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

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

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

<div class="text l">
{{#IF_TITLE}}<h2>{{TITLE}}</h2>{{/IF_TITLE}}
{{#IF_TEXT}}<p>{{TEXT}}</p>{{/IF_TEXT}}
{{#IF_LINK_URL}}<p class="c"><a href="{{LINK_URL}}" class="btn1 block">詳しくみる</a></p>{{/IF_LINK_URL}}
</div>
<!--/.text-->

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

</div>
{{/ROWS}}

</section>
