<?php
/**
 * Title: Site query
 * Slug: realizer/query
 * Categories: realizer
 * Block Types: core/template-part/query
 */
?>
<!-- wp:query {"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[],"format":[]},"metadata":{"categories":["realizer"],"patternName":"realizer/query","name":"Query"},"align":"wide","layout":{"type":"default"}} -->
<div class="wp-block-query alignwide">
	<!-- wp:post-template {"align":"full","layout":{"type":"grid","columnCount":3,"minimumColumnWidth":null}} -->
		<!-- wp:group {"style":{"border":{"radius":{"topLeft":"4px","topRight":"4px","bottomLeft":"4px","bottomRight":"4px"}},"shadow":"var:preset|shadow|realizer-shadow","spacing":{"blockGap":"0"}},"layout":{"type":"default"}} -->
		<div class="wp-block-group" style="border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-shadow:var(--wp--preset--shadow--realizer-shadow)">
			<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"40/21","width":"","height":"","style":{"spacing":{"margin":{"top":"0","bottom":"0"}},"border":{"radius":{"topLeft":"4px","topRight":"4px"}}}} /-->
			<!-- wp:group {"style":{"spacing":{"padding":{"top":"1rem","bottom":"1rem","left":"1rem","right":"1rem"},"blockGap":"1rem"}},"layout":{"type":"default"}} -->
			<div class="wp-block-group" style="padding-top:1rem;padding-right:1rem;padding-bottom:1rem;padding-left:1rem">
				<!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|realizer-contrast"}}}},"textColor":"realizer-contrast","fontSize":"medium"} /-->
				<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"default"}} -->
				<div class="wp-block-group">
					<!-- wp:group {"style":{"spacing":{"blockGap":"1rem"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
					<div class="wp-block-group">
						<!-- wp:post-date {"metadata":{"bindings":{"datetime":{"source":"core/post-data","args":{"field":"date"}}}},"fontSize":"small"} /-->
						<!-- wp:post-date {"metadata":{"bindings":{"datetime":{"source":"core/post-data","args":{"field":"modified"}}}},"className":"wp-block-post-date__modified-date","fontSize":"small"} /-->
					</div>
					<!-- /wp:group -->
					<!-- wp:group {"style":{"spacing":{"blockGap":"1rem"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
					<div class="wp-block-group">
						<!-- wp:post-terms {"term":"category","style":{"elements":{"link":{"color":{"text":"var:preset|color|realizer-contrast"}}}},"textColor":"realizer-contrast","fontSize":"small"} /-->
						<!-- wp:post-terms {"term":"post_tag","style":{"elements":{"link":{"color":{"text":"var:preset|color|realizer-contrast"}}}},"textColor":"realizer-contrast","fontSize":"small"} /-->
					</div>
					<!-- /wp:group -->
				</div>
				<!-- /wp:group -->
			</div>
			<!-- /wp:group -->
		</div>
		<!-- /wp:group -->
	<!-- /wp:post-template -->
	<!-- wp:group {"align":"full","layout":{"type":"constrained"}} -->
	<div class="wp-block-group alignfull">
		<!-- wp:query-pagination {"paginationArrow":"chevron","showLabel":false,"align":"full","fontSize":"small","layout":{"type":"flex","justifyContent":"center"}} -->
			<!-- wp:query-pagination-previous /-->
			<!-- wp:query-pagination-numbers /-->
			<!-- wp:query-pagination-next /-->
		<!-- /wp:query-pagination -->
	</div>
	<!-- /wp:group -->
	<!-- wp:query-no-results {"align":"full"} -->
		<!-- wp:paragraph {"align":"center","placeholder":"クエリーが結果を返さない場合に表示するテキスト、またはブロックを追加してください。"} -->
		<p class="has-text-align-center"><?php echo __('Page not found', 'realizer'); ?></p>
		<!-- /wp:paragraph -->
		<!-- wp:search {"label":"<?php echo __('Search', 'realizer'); ?>","showLabel":false,"buttonText":"<?php echo __('Search', 'realizer'); ?>","style":{"border":{"radius":"4px"}}} /-->
		<!-- wp:buttons {"style":{"spacing":{"margin":{"top":"var:preset|spacing|50"}}},"layout":{"type":"flex","justifyContent":"center"}} -->
		<div class="wp-block-buttons" style="margin-top:var(--wp--preset--spacing--50)">
			<!-- wp:button {"className":"is-style-outline"} -->
			<div class="wp-block-button is-style-outline">
				<a class="wp-block-button__link wp-element-button" href="<?php echo esc_url(home_url('/')); ?>"><?php echo __('Return to HOME', 'realizer'); ?></a>
			</div>
			<!-- /wp:button -->
		</div>
		<!-- /wp:buttons -->
	<!-- /wp:query-no-results -->
</div>
<!-- /wp:query -->