
<style>
#mainimg {
	background: var(--base-color) url("./uploads/{{MAINIMG_SH}}") no-repeat center center / cover;}
    
	/*画面420px以上の追加指定*/
	@media screen and (min-width:420px) {

	#mainimg {
		background: var(--base-color) url("./uploads/{{MAINIMG_PC}}") no-repeat center center / cover;
	}

	}

</style>

<div id="mainimg">
<div>

{{#IF_MAINIMG_TEXT}}
<div class="text">
<p>{{MAINIMG_TEXT}}</p>
</div>
{{/IF_MAINIMG_TEXT}}

<div class="btn">
{{#IF_MAINIMG_BTN1}}<p>{{#IF_MAINIMG_BTN1_LINK}}<a href="{{MAINIMG_BTN1_LINK}}">{{/IF_MAINIMG_BTN1_LINK}}{{MAINIMG_BTN1}}</a></p>{{/IF_MAINIMG_BTN1}}
{{#IF_MAINIMG_BTN2}}<p>{{#IF_MAINIMG_BTN2_LINK}}<a href="{{MAINIMG_BTN2_LINK}}">{{/IF_MAINIMG_BTN2_LINK}}{{MAINIMG_BTN2}}</a></p>{{/IF_MAINIMG_BTN2}}
</div>

</div>
</div>
