{"id":65776,"date":"2025-08-07T17:17:21","date_gmt":"2025-08-07T08:17:21","guid":{"rendered":"https:\/\/kinsta.com\/jp\/?p=65776&#038;preview=true&#038;preview_id=65776"},"modified":"2025-08-11T19:27:18","modified_gmt":"2025-08-11T10:27:18","slug":"style-block-variations-gutenberg","status":"publish","type":"post","link":"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/","title":{"rendered":"Gutenberg\u30b9\u30bf\u30a4\u30eb\/\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306e\u7de8\u96c6\u65b9\u6cd5"},"content":{"rendered":"<p>Gutenberg\u306f\u3001\u5f37\u529b\u304b\u3064\u9ad8\u5ea6\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308b\u30a8\u30c7\u30a3\u30bf\u30fc\u3078\u3068\u9032\u5316\u3057\u307e\u3057\u305f\u3002\u3059\u3050\u306b\u4f7f\u3048\u308b\u6a5f\u80fd\u3060\u3051\u3067\u306a\u304f\u3001\u8c4a\u5bcc\u306aAPI\u3092\u6d3b\u7528\u3057\u3066\u72ec\u81ea\u306e\u6a5f\u80fd\u3092\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u7c21\u5358\u306b\u7d44\u307f\u8fbc\u3081\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u62e1\u5f35\u6027\u306b\u3088\u308a\u3001\u9ad8\u5ea6\u306b\u30d1\u30fc\u30bd\u30ca\u30e9\u30a4\u30ba\u3055\u308c\u305f\u6a5f\u80fd\u8c4a\u5bcc\u306a\u30aa\u30f3\u30e9\u30a4\u30f3\u4f53\u9a13\u3092\u69cb\u7bc9\u3067\u304d\u3001\u9a5a\u304f\u307b\u3069\u67d4\u8edf\u306a\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u3042\u307e\u308a\u77e5\u3089\u308c\u3066\u3044\u306a\u3044\u3082\u306e\u306e\u975e\u5e38\u306b\u6709\u52b9\u306a2\u3064\u306eWordPress\u306e\u958b\u767a\u6a5f\u80fd\u2500\u300c\u30b9\u30bf\u30a4\u30eb\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\uff08\u30d6\u30ed\u30c3\u30af\u30b9\u30bf\u30a4\u30eb\u3068\u3082\u547c\u3070\u308c\u307e\u3059\uff09\u300d\u3068\u300c\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u300d\u2500\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306f\u305d\u306e\u4fbf\u5229\u3055\u304c\u76f4\u611f\u7684\u306b\u308f\u304b\u3089\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u5c11\u3057\u4f7f\u3063\u3066\u307f\u308c\u3070\u3059\u3050\u306b\u305d\u306e\u6709\u7528\u6027\u3092\u5b9f\u611f\u3067\u304d\u3001\u77ed\u6642\u9593\u3067\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u81ea\u7136\u306b\u7d44\u307f\u8fbc\u3081\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u5b9f\u969b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u901a\u3057\u3066\u300c\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u300d\u304c\u4f55\u304b\u3001\u305d\u3057\u3066\u3069\u306e\u3088\u3046\u306b\u6d3b\u7528\u3067\u304d\u308b\u306e\u304b\u3092\u5177\u4f53\u7684\u306b\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u8a18\u4e8b\u5185\u306e\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\uff06\u30da\u30fc\u30b9\u30c8\u3057\u3001\u6700\u5f8c\u306b\u5fc5\u8981\u306a\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u52a0\u3048\u308b\u3060\u3051\u3067\u3001\u3054\u81ea\u8eab\u306eWordPress\u30b5\u30a4\u30c8\u306b\u7c21\u5358\u306b\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u9032\u3080\u524d\u306b\u3001\u307e\u305a\u306f\u524d\u63d0\u6761\u4ef6\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<ul>\n<li><strong>\u30ed\u30fc\u30ab\u30ebWordPress\u958b\u767a\u74b0\u5883<\/strong>\uff1a\u3069\u306e\u74b0\u5883\u3067\u3082\u69cb\u3044\u307e\u305b\u3093\u304c\u3001Kinsta\u304c\u63d0\u4f9b\u3059\u308b\u30ed\u30fc\u30ab\u30eb\u958b\u767a\u30b9\u30a4\u30fc\u30c8\u306e<a href=\"https:\/\/kinsta.com\/jp\/devkinsta\/\">DevKinsta<\/a>\u3092\u5f37\u304f\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002\u4f7f\u3044\u3084\u3059\u304f\u3001\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067WordPress\u30b5\u30a4\u30c8\u3092\u3059\u3070\u3084\u304f\u7acb\u3061\u4e0a\u3052\u3066\u7ba1\u7406\u3067\u304d\u308b\u3088\u3046\u3001\u591a\u304f\u306e\u8a2d\u5b9a\u3084<a href=\"https:\/\/kinsta.com\/jp\/blog\/adminer\/\">\u6a5f\u80fd<\/a>\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/li>\n<li><strong>Node.js\u3068npm<\/strong>\uff1a\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306fReact\u3067\u69cb\u7bc9\u3055\u308c\u3066\u304a\u308a\u3001\u30d3\u30eb\u30c9\u51e6\u7406\u304c\u5fc5\u8981\u306a\u305f\u3081\u5fc5\u9808\u306e\u8981\u7d20\u3067\u3059\u3002<\/li>\n<li><strong>\u57fa\u672c\u7684\u306a\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u958b\u767a\u30b9\u30ad\u30eb<\/strong>\uff1aNode.js\u3001JavaScript\uff08React\u4f7f\u7528\uff09\u3001PHP\u3001CSS\u306e\u57fa\u672c\u7684\u306a\u7406\u89e3\u304c\u3042\u308b\u3068\u5f79\u7acb\u3061\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u975e\u5e38\u306b\u8907\u96d1\u3068\u3044\u3046\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u3042\u308b\u7a0b\u5ea6\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<a href=\"https:\/\/github.com\/carlodaniele\/image-hacker\" target=\"_blank\" rel=\"noopener noreferrer\">\u5b8c\u5168\u306a\u30b3\u30fc\u30c9\u306fGitHub\u3067\u516c\u958b<\/a>\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div><\/div><kinsta-auto-toc heading=\"Table of Contents\" exclude=\"last\" list-style=\"arrow\" selector=\"h2\" count-number=\"-1\"><\/kinsta-auto-toc>\n<h2>\u30d6\u30ed\u30c3\u30af\u30b9\u30bf\u30a4\u30eb\u5bfe\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3<\/h2>\n<p><strong>\u30d6\u30ed\u30c3\u30af\u30b9\u30bf\u30a4\u30eb<\/strong>\u3068<strong>\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3<\/strong>\u306f\u3001WordPress\u3067\u958b\u767a\u3092\u884c\u3046\u969b\u306b\u975e\u5e38\u306b\u6709\u52b9\u306a2\u3064\u306e\u6a5f\u80fd\u3067\u3059\u3002\u540d\u524d\u306f\u4f3c\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u305e\u308c\u306e\u76ee\u7684\u3084\u4f7f\u3044\u65b9\u306f\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u30d6\u30ed\u30c3\u30af\u30b9\u30bf\u30a4\u30eb<\/strong>\u306f\u300c\u30b9\u30bf\u30a4\u30eb\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u300d\u3068\u3082\u547c\u3070\u308c\u3001\u4e8b\u524d\u306b\u7528\u610f\u3055\u308c\u305fCSS\u30b9\u30bf\u30a4\u30eb\u306e\u30bb\u30c3\u30c8\u306b\u3088\u3063\u3066\u3001\u30d6\u30ed\u30c3\u30af\u306e\u898b\u305f\u76ee\u3092\u30ef\u30f3\u30af\u30ea\u30c3\u30af\u3067\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30b9\u30bf\u30a4\u30eb\u3092\u767b\u9332\u3059\u308b\u3068\u3001\u30d6\u30ed\u30c3\u30af\u306e\u30b5\u30a4\u30c9\u30d0\u30fc\u306b\u30dc\u30bf\u30f3\u304c\u8868\u793a\u3055\u308c\u3001\u30d6\u30ed\u30c3\u30af\u306b\u7d44\u307f\u8fbc\u307e\u308c\u305f\u30b9\u30bf\u30a4\u30eb\u30bb\u30c3\u30c8\u3092\u7c21\u5358\u306b\u9069\u7528\u3067\u304d\u307e\u3059\u3002\u30b9\u30bf\u30a4\u30eb\u306e\u30aa\u30f3\u30fb\u30aa\u30d5\u3092\u5207\u308a\u66ff\u3048\u305f\u308a\u3001\u30a8\u30c7\u30a3\u30bf\u30fc\u5185\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u30d7\u30ec\u30d3\u30e5\u30fc\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<figure id=\"attachment_196255\" aria-describedby=\"caption-attachment-196255\" style=\"width: 1698px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-196255 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2025\/06\/image-block-default-style-variations.jpg\" alt=\"WordPress\u6295\u7a3f\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u3001\u753b\u50cf\u3068\u30d6\u30ed\u30c3\u30af\u30b5\u30a4\u30c9\u30d0\u30fc\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\" width=\"1698\" height=\"1092\"><figcaption id=\"caption-attachment-196255\" class=\"wp-caption-text\">\u30b3\u30a2\u30d6\u30ed\u30c3\u30af\u306b\u306f\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306b\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u30672\u3064\u306e\u30b9\u30bf\u30a4\u30eb\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u304c\u3042\u308b<\/figcaption><\/figure>\n<p><strong>\u30b9\u30bf\u30a4\u30eb\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306f\u30d6\u30ed\u30c3\u30af\u306e\u5c5e\u6027\u3092\u5909\u66f4\u3057\u307e\u305b\u3093\u3002\u30d6\u30ed\u30c3\u30af\u306e\u30e9\u30c3\u30d1\u30fc\u8981\u7d20\u306bCSS\u30af\u30e9\u30b9\u3092\u5272\u308a\u5f53\u3066\u308b\u3053\u3068\u3067\u3001\u5916\u89b3\u3060\u3051\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/strong><\/p>\n<p>\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u5c5e\u6027\u3084\u5185\u90e8\u30d6\u30ed\u30c3\u30af\u3092\u542b\u3080\u30d7\u30ea\u30bb\u30c3\u30c8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f5c\u6210\u3067\u304d\u308b\u305f\u3081\u3001\u3055\u3089\u306b\u5f37\u529b\u306a\u6a5f\u80fd\u3067\u3059\u3002\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u30d6\u30ed\u30c3\u30af\u30a4\u30f3\u30b5\u30fc\u30bf\u30fc\u306b\u3082\u8868\u793a\u3055\u308c\u3001\u30b5\u30a4\u30c8\u8a2a\u554f\u8005\u306b\u306f\u3042\u305f\u304b\u3082\u500b\u5225\u306e\u30d6\u30ed\u30c3\u30af\u3067\u3042\u308b\u304b\u306e\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u3002<\/p>\n<p><strong>\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u30d6\u30ed\u30c3\u30af\u306e\u5916\u89b3\u3001\u521d\u671f\u8a2d\u5b9a\u3001\u69cb\u9020\u3092\u81ea\u7531\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u307e\u3059\u3002<\/strong><\/p>\n<p>\u305d\u308c\u3067\u306f\u3001\u3053\u308c\u3089\u306e\u6a5f\u80fd\u3092\u6d3b\u7528\u3057\u3066\u3001Gutenberg\u30d6\u30ed\u30c3\u30af\u3092\u6b21\u306e\u30ec\u30d9\u30eb\u3078\u5f15\u304d\u4e0a\u3052\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30dd\u30e9\u30ed\u30a4\u30c9\u52b9\u679c<\/h2>\n<p>\u305d\u308c\u3067\u306f\u3001\u3053\u3053\u304b\u3089\u5b9f\u969b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u59cb\u3081\u3066\u3044\u304d\u307e\u3059\u3002Gutenberg\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u3063\u3066\u3001\u30b3\u30a2\u306e\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u3092\u62e1\u5f35\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>\u30dd\u30e9\u30ed\u30a4\u30c9\u30b9\u30bf\u30a4\u30eb\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u88c5<\/strong>\uff1a\u8a2d\u5b9a\u30b5\u30a4\u30c9\u30d0\u30fc\u304b\u3089\u30ef\u30f3\u30af\u30ea\u30c3\u30af\u3067\u3001\u753b\u50cf\u306b\u9b45\u529b\u7684\u306a\u30dd\u30e9\u30ed\u30a4\u30c9\u52b9\u679c\u3092\u9069\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<\/li>\n<li><strong>\u30db\u30d0\u30fc\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u8ffd\u52a0<\/strong>\uff1a\u30dd\u30e9\u30ed\u30a4\u30c9\u30b9\u30bf\u30a4\u30eb\u306e\u753b\u50cf\u306b\u3001\u7e4a\u7d30\u306a\u30db\u30d0\u30fc\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u52a0\u3048\u3066\u6f14\u51fa\u3092\u5f37\u5316<\/li>\n<li><strong>\u300c\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30dd\u30e9\u30ed\u30a4\u30c9\u300d\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210<\/strong>\uff1a\u30d6\u30ed\u30c3\u30af\u30a4\u30f3\u30b5\u30fc\u30bf\u30fc\u304b\u3089\u3001\u30db\u30d0\u30fc\u52b9\u679c\u4ed8\u304d\u306e\u30dd\u30e9\u30ed\u30a4\u30c9\u753b\u50cf\u3092\u3042\u3089\u304b\u3058\u3081\u8a2d\u5b9a\u3055\u308c\u305f\u5f62\u3067\u3059\u3050\u306b\u633f\u5165\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<\/li>\n<\/ul>\n<p>\u305d\u308c\u3067\u306f\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<div><\/div><kinsta-auto-toc list-style=\"decimal\" selector=\"h3\" count-number=\"-1\" sub-toc=\"true\"><\/kinsta-auto-toc>\n<figure id=\"attachment_196838\" aria-describedby=\"caption-attachment-196838\" style=\"width: 1953px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-196838 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2025\/07\/front-end-animation.jpg\" alt=\"\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306b\u9069\u7528\u3055\u308c\u305f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u52b9\u679c\" width=\"1953\" height=\"1248\"><figcaption id=\"caption-attachment-196838\" class=\"wp-caption-text\">\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u52b9\u679c<\/figcaption><\/figure>\n<h3>\u74b0\u5883\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h3>\n<p>\u307e\u305a\u306f\u3001Node.js\u3092\u4f7f\u3063\u3066WordPress\u306e\u958b\u767a\u74b0\u5883\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30ed\u30fc\u30ab\u30eb\u306eWordPress\u958b\u767a\u74b0\u5883\u3068\u3001\u6700\u65b0\u7248\u306e<a href=\"https:\/\/kinsta.com\/jp\/blog\/how-to-install-node-js\/\">Node.js<\/a>\u304a\u3088\u3073<a href=\"https:\/\/kinsta.com\/jp\/blog\/what-is-npm\/\">npm<\/a>\u304c\u3059\u3067\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u307e\u3059\u3002\u8a2d\u5b9a\u306b\u4e0d\u5b89\u304c\u3042\u308b\u5834\u5408\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/gutenberg-plugin\/#how-to-create-a-block-editor-plugin-without-creating-a-custom-block\">Gutenberg\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u3063\u3066\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<h4>\u30b9\u30c6\u30c3\u30d71. \u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u57fa\u672c\u69cb\u9020\u3092\u4f5c\u308b<\/h4>\n<p>\u3053\u306e\u8aac\u660e\u3067\u306f\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u540d\u3092\u300c<strong>Image Hacker<\/strong>\u300d\u3068\u3057\u307e\u3059\u3002<\/p>\n<p><code>plugins<\/code>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u3001\u65b0\u3057\u304f<code>image-hacker<\/code>\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u306b\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30e1\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u3067\u3042\u308b<code>image-hacker.php<\/code>\u3068\u3001<code>src<\/code>\u3068\u3044\u3046\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u304c\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u57fa\u672c\u69cb\u9020\u306e\u4f8b\u3067\u3059\u3002<\/p>\n<pre><code>\/wp-content\/plugins\/\n\u2514\u2500\u2500 \/image-hacker\/\n\t\u251c\u2500\u2500 image-hacker.php\n\t\u2514\u2500\u2500 \/src\/<\/code><\/pre>\n<h4>\u30b9\u30c6\u30c3\u30d72. PHP\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3059\u308b<\/h4>\n<p>\u6b21\u306b\u3001WordPress\u304c\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u8a8d\u8b58\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092<code>image-hacker.php<\/code> \u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">&lt;?php\n\/**\n * Plugin Name: Image Hacker\n * Description: Adds new features to the core Image block\n * Version:     1.0.0\n * Author:      Your Name\n * License:     GPL-2.0-or-later\n * License URI: https:\/\/www.gnu.org\/licenses\/gpl-2.0.html\n * Text Domain: image-hacker\n *\/\n\nif ( ! defined( 'ABSPATH' ) ) {\n\texit; \/\/ \u76f4\u63a5\u30a2\u30af\u30bb\u30b9\u3055\u308c\u305f\u5834\u5408\u306f\u51e6\u7406\u3092\u7d42\u4e86\n}<\/code><\/pre>\n<h4>\u30b9\u30c6\u30c3\u30d73. npm\u306e\u521d\u671f\u5316\u3068\u4f9d\u5b58\u95a2\u4fc2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p>\u597d\u307f\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3092\u958b\u304d\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002\u305d\u3053\u306b\u79fb\u52d5\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-bash\">npm init -y<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u3063\u3066\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u3068\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u542b\u3080\u65b0\u3057\u3044<code>package.json<\/code>\u30d5\u30a1\u30a4\u30eb\u304c\u521d\u671f\u5316\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001WordPress\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u3001webpack\u3084Babel\u306a\u3069\u306e\u30d3\u30eb\u30c9\u30c4\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-bash\">npm install @wordpress\/plugins @wordpress\/scripts --save-dev<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001node\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u542b\u3080<code>node_modules<\/code> \u30d5\u30a9\u30eb\u30c0\u3068<code>package-lock.json<\/code> \u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u3082\u306e\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u753b\u50cf\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/vscode-extensions\/\">Visual Studio Code<\/a>\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u73fe\u5728\u306e\u69cb\u9020\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_196256\" aria-describedby=\"caption-attachment-196256\" style=\"width: 1880px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-196256\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2025\/06\/gutenberg-plugin-basic-structure.jpg\" alt=\"A screenshot of a Gutenberg plugin in Visual Studio Code\" width=\"1880\" height=\"759\"><figcaption id=\"caption-attachment-196256\" class=\"wp-caption-text\">Visual Studio Code\u306eGutenberg\u30d7\u30e9\u30b0\u30a4\u30f3<\/figcaption><\/figure>\n<p>\u6b21\u306b\u3001<code>package.json<\/code>\u3092\u958b\u304d\u3001<code>scripts<\/code>\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-json\">{\n\t\"name\": \"image-hacker\",\n\t\"version\": \"1.0.0\",\n\t\"main\": \"index.js\",\n\t\"scripts\": {\n\t\t\"build\": \"wp-scripts build\",\n\t\t\"start\": \"wp-scripts start\"\n\t},\n\t\"keywords\": [],\n\t\"author\": \"\",\n\t\"license\": \"ISC\",\n\t\"description\": \"\",\n\t\"devDependencies\": {\n\t\t\"@wordpress\/plugins\": \"^7.25.0\",\n\t\t\"@wordpress\/scripts\": \"^30.18.0\"\n\t}\n}<\/code><\/pre>\n<p>\u306a\u304a\u3001<code>devDependencies<\/code>\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u4e0a\u8a18\u3068\u7570\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u3001\u304a\u4f7f\u3044\u306e\u74b0\u5883\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5b9f\u969b\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<h4>\u30b9\u30c6\u30c3\u30d74. \u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b<\/h4>\n<p>\u6b21\u306b\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<code>src<\/code>\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3057\u3001\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><code>index.js<\/code><\/li>\n<li><code>style.scss<\/code><\/li>\n<li><code>editor.scss<\/code><\/li>\n<\/ul>\n<p>\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u69cb\u9020\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code>\/wp-content\/plugins\/\n\u2514\u2500\u2500 \/image-hacker\/\n\t\u251c\u2500\u2500 \/node-modules\/\n\t\u251c\u2500\u2500 image-hacker.php\n\t\u251c\u2500\u2500 package.json\n\t\u251c\u2500\u2500 package-lock.json\n\t\u2514\u2500\u2500 \/src\/\n\t\t\u251c\u2500\u2500 index.js\n\t\t\u251c\u2500\u2500 style.scss\n\t\t\u2514\u2500\u2500 editor.scss<\/code><\/pre>\n<p>WordPress\u306e\u7ba1\u7406\u753b\u9762\u3092\u958b\u304d\u3001\u300c<strong>\u30d7\u30e9\u30b0\u30a4\u30f3<\/strong>\u300d\u753b\u9762\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002\u300c<strong>Image Hacker<\/strong>\u300d\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u898b\u3064\u3051\u3001\u6709\u52b9\u5316\u3057\u307e\u3059\u3002<\/p>\n<aside role=\"note\" class=\"wp-block-kinsta-notice is-style-info\">\n            <h3>Info<\/h3>\n        <p><code>editor.scss<\/code>\u3067\u30a8\u30c7\u30a3\u30bf\u30fc\u5c02\u7528\u306e\u30d6\u30ed\u30c3\u30af\u30b9\u30bf\u30a4\u30eb\u3092\u5ba3\u8a00\u3057\u307e\u3059\u3002\u4e00\u65b9\u3001<code>style.scss<\/code>\u306b\u306f\u30a8\u30c7\u30a3\u30bf\u30fc\u3068\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u4e21\u65b9\u306e\u30d6\u30ed\u30c3\u30af\u30b9\u30bf\u30a4\u30eb\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001<code>editor.scss<\/code>\u30d5\u30a1\u30a4\u30eb\u306f\u4f7f\u7528\u3057\u307e\u305b\u3093\u3002<\/p>\n<\/aside>\n\n<h4>\u30b9\u30c6\u30c3\u30d75. \u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30bb\u30c3\u30c8\u3092\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u3059\u308b<\/h4>\n<p>\u6b21\u306b\u3001\u30e1\u30a4\u30f3\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u306b\u30d7\u30e9\u30b0\u30a4\u30f3\u30a2\u30bb\u30c3\u30c8\u3092\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<code>image-hacker.php<\/code> \u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-php\">\/**\n * \u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u30a2\u30bb\u30c3\u30c8\u3092\u8aad\u307f\u8fbc\u3080\n *\/\nfunction image_hacker_enqueue_editor_assets() {\n\t$asset_file = include( plugin_dir_path( __FILE__ ) . 'build\/index.asset.php');\n\n\t\/\/ \u5909\u66f4\u3092\u52a0\u3048\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8aad\u307f\u8fbc\u3080\n\twp_enqueue_script(\n\t\t'image-hacker-script',\n\t\tplugins_url( 'build\/index.js', __FILE__ ),\n\t\tarray( 'wp-plugins', 'wp-edit-post' ),\n\t\tfilemtime( plugin_dir_path( __FILE__ ) . 'build\/index.js' )\n\t);\n\n\t\/\/ \u30a8\u30c7\u30a3\u30bf\u30fc\u5c02\u7528\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\n\twp_enqueue_style(\n\t\t'image-hacker-editor-style',\n\t\tplugins_url( 'build\/editor.css', __FILE__ ),\n\t\t[],\n\t\tfilemtime( plugin_dir_path( __FILE__ ) . 'build\/editor.css' )\n\t);\n}\nadd_action( 'enqueue_block_editor_assets', 'image_hacker_enqueue_editor_assets' );\n\n\/**\n * \u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3068\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u30a2\u30bb\u30c3\u30c8\u3092\u8aad\u307f\u8fbc\u3080\n *\/\nfunction image_hacker_enqueue_assets() {\n\t$asset_file = include( plugin_dir_path( __FILE__ ) . 'build\/index.asset.php');\n\n\t\/\/ \u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3068\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u4e21\u65b9\u3067\u4f7f\u7528\u3059\u308b\u30b9\u30bf\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\n\twp_enqueue_style(\n\t\t'image-hacker-style',\n\t\tplugins_url( 'build\/style-index.css', __FILE__ ),\n\t\t[],\n\t\tfilemtime( plugin_dir_path( __FILE__ ) . 'build\/style-index.css' )\n\t);\n}\nadd_action( 'enqueue_block_assets', 'image_hacker_enqueue_assets' );<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u304c\u4f55\u3092\u3059\u308b\u304b\u3068\u3044\u3046\u3068\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li><code>enqueue_block_editor_assets<\/code>\u30a2\u30af\u30b7\u30e7\u30f3\u30d5\u30c3\u30af\u306f\u3001<code>index.js<\/code>\u30b9\u30af\u30ea\u30d7\u30c8\u3068<code>editor.css<\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u30a8\u30f3\u30ad\u30e5\u30fc<\/li>\n<li><code>enqueue_block_assets<\/code>\u30a2\u30af\u30b7\u30e7\u30f3\u30d5\u30c3\u30af\u306f<code>style.css<\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u30a8\u30f3\u30ad\u30e5\u30fc<\/li>\n<\/ul>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306b\u306f\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306e<code>\/build\/<\/code>\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308b<code>.js<\/code>\u3068<code>.css<\/code>\u306e\u30a2\u30bb\u30c3\u30c8\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3064\u307e\u308a\u3001\u3053\u308c\u3092\u52d5\u4f5c\u3055\u305b\u308b\u306b\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3067\u30d3\u30eb\u30c9\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">npm run build<\/code><\/pre>\n<p>\u307e\u305f\u3001<code>style.scss<\/code>\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092<code>index.js<\/code>\u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u305f\u5834\u5408\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u305f CSS\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u306f<code>style.css<\/code>\u3067\u306f\u306a\u304f<code>style-index.css<\/code>\u306b\u306a\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30d6\u30ed\u30c3\u30af\u30b9\u30bf\u30a4\u30eb\u306e\u767b\u9332<\/h3>\n<p>\u3053\u308c\u3067\u958b\u767a\u74b0\u5883\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306f\u5b8c\u4e86\u3067\u3059\u3002\u3044\u3088\u3044\u3088\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u672c\u984c\u306b\u5165\u308a\u3001\u30d6\u30ed\u30c3\u30af\u30b9\u30bf\u30a4\u30eb\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u767b\u9332\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><a href=\"https:\/\/developer.wordpress.org\/themes\/features\/block-style-variations\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30d6\u30ed\u30c3\u30af\u30b9\u30bf\u30a4\u30eb\u3092\u767b\u9332\u3059\u308b\u65b9\u6cd5<\/a>\u306f\u3044\u304f\u3064\u304b\u3042\u308a\u3001\u76ee\u7684\u3084\u597d\u307f\u306b\u3088\u3063\u3066\u9078\u629e\u304c\u7570\u306a\u308a\u307e\u3059\u3002\u4eca\u56de\u306fGutenberg\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u6210\u3057\u3066\u3044\u308b\u305f\u3081\u3001JavaScript\u3092\u4f7f\u3063\u305f\u65b9\u6cd5\u3092\u63a1\u7528\u3057\u307e\u3059\u3002<code>\/src\/index.js<\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-javascript\">\/\/ \u30d6\u30ed\u30c3\u30af\u30b9\u30bf\u30a4\u30eb\u3092\u767b\u9332\u3059\u308b\u95a2\u6570\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\nimport { registerBlockStyle } from '@wordpress\/blocks';\n\n\/\/ DOM\u306e\u8aad\u307f\u8fbc\u307f\u5b8c\u4e86\u6642\u306b\u306e\u307f\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u95a2\u6570\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\nimport domReady from '@wordpress\/dom-ready';\n\n\/\/ \u30d3\u30eb\u30c9\u51e6\u7406\u3067SCSS\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u3088\u3046\u6307\u793a\nimport '.\/style.scss';\n\n\/**\n * domReady\u3092\u4f7f\u3063\u3066\u3001DOM\u306e\u8aad\u307f\u8fbc\u307f\u304c\u5b8c\u4e86\u3057\u305f\u3068\u304d\u306b\u306e\u307f\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\n *\/\ndomReady(() =&gt; {\n\t\/\/ \u30b3\u30a2\u306e\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306b\u65b0\u3057\u3044\u30b9\u30bf\u30a4\u30eb\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u767b\u9332\n\tregisterBlockStyle('core\/image', {\n\t\tname: 'polaroid',\n\t\tlabel: 'Polaroid',\n\t});\n});<\/code><\/pre>\n<p><code>registerBlockStyle<\/code>\u3068<code>domReady<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001DOM\u304c\u5b8c\u5168\u306b\u8aad\u307f\u8fbc\u307e\u308c\u305f\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u306e\u307f\u30b9\u30bf\u30a4\u30eb\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u304c\u767b\u9332\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u8a73\u3057\u304f\u306f<a href=\"https:\/\/developer.wordpress.org\/block-editor\/reference-guides\/packages\/packages-dom-ready\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u516c\u5f0f\u60c5\u5831<\/a>\u304a\u3088\u3073<a href=\"https:\/\/developer.wordpress.org\/block-editor\/reference-guides\/block-api\/block-styles\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><code>Polaroid<\/code>\u30b9\u30bf\u30a4\u30eb\u9078\u629e\u306b\u3088\u308a\u3001\u81ea\u52d5\u3067<code>.is-style-polaroid<\/code>\u30af\u30e9\u30b9\u304c\u30d6\u30ed\u30c3\u30af\u306e\u30e9\u30c3\u30d1\u30fc\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u30b9\u30bf\u30a4\u30eb\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306eCSS\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<code>\/src\/style.scss<\/code>\u3092\u958b\u304d\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-css\">.wp-block-image.is-style-polaroid {\n\tpadding: 15px 15px 70px 15px;\n\tbackground-color: white;\n\tbox-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);\n\tmax-width: 360px;\n\ttransform: rotate(-3deg);\n\ttransition: transform 0.3s ease-in-out;\n\n\tfigure { \n\t\tmargin: 0 !important; \n\t}\n\t\n\timg { \n\t\tdisplay: block; \n\t\twidth: 100%; \n\t\theight: auto; \n\t}\n\t\n\tfigcaption {\n    \tposition: absolute; \n    \tbottom: 15px; \n    \tleft: 0; \n    \tright: 0;\n    \ttext-align: center; \n    \tfont-family: 'Permanent Marker', cursive;\n    \tcolor: #333; \n    \tfont-size: 18px;\n\t}\n}<\/code><\/pre>\n<p>\u30b3\u30fc\u30c9\u3092\u4fdd\u5b58\u3057\u3066<code>npm run build<\/code>\u3092\u5b9f\u884c\u3057\u3001WordPress\u7ba1\u7406\u753b\u9762\u306b\u79fb\u52d5\u3057\u307e\u3057\u3087\u3046\u3002\u65b0\u3057\u3044\u6295\u7a3f\u307e\u305f\u306f\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u3001\u753b\u50cf\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u753b\u50cf\u3092\u9078\u629e\u3057\u305f\u72b6\u614b\u3067\u3001\u30d6\u30ed\u30c3\u30af\u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u300c<strong>\u30b9\u30bf\u30a4\u30eb<\/strong>\u300d\u30e9\u30d9\u30eb\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u300c<strong>Polaroid\u300d<\/strong>\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<figure id=\"attachment_196692\" aria-describedby=\"caption-attachment-196692\" style=\"width: 1988px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-196692 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2025\/06\/style-variation.jpg\" alt=\"\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306e\u65b0\u3057\u3044\u30b9\u30bf\u30a4\u30eb\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\" width=\"1988\" height=\"1186\"><figcaption id=\"caption-attachment-196692\" class=\"wp-caption-text\">\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306e\u65b0\u3057\u3044\u30b9\u30bf\u30a4\u30eb\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3<\/figcaption><\/figure>\n<p>\u30ad\u30e3\u30d7\u30b7\u30e7\u30f3\u3092\u8ffd\u52a0\u3057\u3066\u6295\u7a3f\u3092\u4fdd\u5b58\u3057\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3067\u7d50\u679c\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u30a4\u30bf\u30ea\u30c3\u30af\u4f53\u306e\u30ad\u30e3\u30d7\u30b7\u30e7\u30f3\u304c\u4ed8\u3044\u305f\u30dd\u30e9\u30ed\u30a4\u30c9\u30b9\u30bf\u30a4\u30eb\u306e\u753b\u50cf\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_196903\" aria-describedby=\"caption-attachment-196903\" style=\"width: 1952px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-196903 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2025\/07\/is-style-polaroid.jpg\" alt=\"is_style_polaroid\u30af\u30e9\u30b9\u3092\u6301\u3064figure\u8981\u7d20\" width=\"1952\" height=\"1296\"><figcaption id=\"caption-attachment-196903\" class=\"wp-caption-text\">is_style_polaroid\u30af\u30e9\u30b9\u3092\u6301\u3064figure\u8981\u7d20<\/figcaption><\/figure>\n<aside role=\"note\" class=\"wp-block-kinsta-notice is-style-info\">\n            <h3>Info<\/h3>\n        <p>\u30bb\u30ec\u30af\u30bf\u306e\u7279\u6b8a\u6027\u304c\u9ad8\u3044\u305f\u3081\u3001<code>max-width<\/code>\u306a\u3069\u4e00\u90e8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u53cd\u6620\u3055\u305b\u305f\u3044\u5834\u5408\u306f\u3001<code>editor.scss<\/code>\u30d5\u30a1\u30a4\u30eb\u306b\u9069\u5b9c\u30b9\u30bf\u30a4\u30eb\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/aside>\n\n<h3>\u30ed\u30b8\u30c3\u30af\u306e\u69cb\u7bc9<\/h3>\n<p>\u6b21\u306b\u3001\u753b\u50cf\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u52b9\u679c\u3092\u52a0\u3048\u308b\u30ed\u30b8\u30c3\u30af\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002CSS\u306e<code>transform<\/code>\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3063\u3066\u7c21\u5358\u306a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002\u307e\u305a\u3001\u6b21\u306e\u30d6\u30ed\u30c3\u30af\u3092<code>src\/style.scss<\/code>\u306b\u8ffd\u52a0\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-css\">.wp-block-image.is-style-polaroid.has-image-animation:hover {\n\ttransform: rotate(0deg) scale(1.05);\n}<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306b\u3088\u308a\u3001\u30d6\u30ed\u30c3\u30af\u304c\u30dd\u30e9\u30ed\u30a4\u30c9\u753b\u50cf\u3067\u3042\u308a\u30c4\u30fc\u30eb\u30d0\u30fc\u306e\u30c8\u30b0\u30eb\u3067<code>has-image-animation<\/code>\u30af\u30e9\u30b9\u304c\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306b\u306e\u307f\u3001\u30db\u30d0\u30fc\u52b9\u679c\u304c\u9069\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u7d9a\u3044\u3066\u3001<code>figure<\/code>\u8981\u7d20\u3067\u3042\u308b\u753b\u50cf\u30b3\u30f3\u30c6\u30ca\u306bCSS\u30af\u30e9\u30b9\u3092\u8ffd\u52a0\u3059\u308b\u30ed\u30b8\u30c3\u30af\u304c\u5fc5\u8981\u3067\u3059\u3002\u305d\u306e\u305f\u3081\u306b\u3001\u3044\u304f\u3064\u304b\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3068\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001<code>src\/index.js<\/code>\u30d5\u30a1\u30a4\u30eb\u306b\u6b21\u306e\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-javascript\">import { addFilter } from '@wordpress\/hooks';<\/code><\/pre>\n<h4>\u30b9\u30c6\u30c3\u30d71. \u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306b\u65b0\u3057\u3044\u5c5e\u6027\u3092\u8ffd\u52a0\u3059\u308b<\/h4>\n<p>\u30b3\u30a2\u306e\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306b<code>addFilter<\/code>\u3092\u4f7f\u3044\u307e\u3059\u3002\u307e\u305a\u3001\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306b\u65b0\u3057\u3044<code>imageAnimation<\/code>\u5c5e\u6027\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-javascript\">function addImageAnimationAttribute( settings, name ) {\n\tif ( name !== 'core\/image' ) {\n\t\treturn settings;\n\t}\n\tsettings.attributes = {\n\t\t...settings.attributes,\n\t\timageAnimation: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: false,\n\t\t},\n\t};\n\treturn settings;\n}\n\naddFilter(\n\t'blocks.registerBlockType',\n\t'image-hacker\/add-image-animation-attribute',\n\taddImageAnimationAttribute\n);<\/code><\/pre>\n<p>\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570<code>addImageAnimationAttribute<\/code> \u306f2\u3064\u306e\u5f15\u6570\u3092\u53d6\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><code>settings<\/code> &#8211; \u73fe\u5728\u306e\u30d6\u30ed\u30c3\u30af\u5c5e\u6027\u306e\u914d\u5217<\/li>\n<li><code>name<\/code> &#8211; \u5c5e\u6027\u3092\u5909\u66f4\u3057\u305f\u3044\u30d6\u30ed\u30c3\u30af\u306e\u540d\u524d\u3092\u6307\u5b9a<\/li>\n<\/ul>\n<p>\u305d\u306e\u5f8c\u3001\u95a2\u6570\u306f\u66f4\u65b0\u3055\u308c\u305f\u5c5e\u6027\u306e\u914d\u5217\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<h4>\u30b9\u30c6\u30c3\u30d7 2. \u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306b\u30c8\u30b0\u30eb\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u8ffd\u52a0\u3059\u308b<\/h4>\n<p>\u6b21\u306b\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u6709\u52b9\u306b\u3059\u308b\u305f\u3081\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306e\u30c4\u30fc\u30eb\u30d0\u30fc\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001<code>index.js<\/code>\u30d5\u30a1\u30a4\u30eb\u306b\u6b21\u306e<code>import<\/code>\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-javascript\">import { createHigherOrderComponent } from '@wordpress\/compose';\nimport { Fragment } from '@wordpress\/element';\nimport { BlockControls } from '@wordpress\/block-editor';\nimport { ToolbarGroup, ToolbarButton } from '@wordpress\/components';\nimport { __ } from '@wordpress\/i18n';<\/code><\/pre>\n<p>\u6b21\u306b\u3001\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u5f8c\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-javascript\">const withPolaroidControls = createHigherOrderComponent((BlockEdit) =&gt; {\n\treturn (props) =&gt; {\n\t\tif (props.name !== 'core\/image') {\n\t\t\treturn &lt;BlockEdit {...props} \/&gt;;\n\t\t}\n\n\t\tconst { attributes, setAttributes, isSelected } = props;\n\t\tconst { imageAnimation, className, lightbox } = attributes;\n\n\t\treturn (\n\t\t\t&lt;Fragment&gt;\n\t\t\t\t&lt;BlockEdit {...props} \/&gt;\n\n\t\t\t\t&lt;BlockControls&gt;\n\t\t\t\t\t&lt;ToolbarGroup&gt;\n\t\t\t\t\t\t&lt;ToolbarButton\n\t\t\t\t\t\t\ticon=\"format-image\"\n\t\t\t\t\t\t\tlabel={__('Toggle Animation', 'image-hacker')}\n\t\t\t\t\t\t\tisActive={imageAnimation}\n\t\t\t\t\t\t\tonClick={() =&gt;\n\t\t\t\t\t\t\t\tsetAttributes({ imageAnimation: !imageAnimation })\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\/&gt;\n\t\t\t\t\t&lt;\/ToolbarGroup&gt;\n\t\t\t\t&lt;\/BlockControls&gt;\n\t\t\t&lt;\/Fragment&gt;\n\t\t);\n\t};\n}, 'withPolaroidControls');\n\naddFilter(\n\t'editor.BlockEdit',\n\t'image-hacker\/with-polaroid-controls',\n\twithPolaroidControls\n);<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li><code>createHigherOrderComponent<\/code> \u95a2\u6570\u306f<code>BlockEdit<\/code> \u3092\u30e9\u30c3\u30d7\u3059\u308b\u9ad8\u6b21\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\uff08<a href=\"https:\/\/developer.wordpress.org\/block-editor\/reference-guides\/packages\/packages-compose\/#createhigherordercomponent\" target=\"_blank\" rel=\"noopener noreferrer\">HOC<\/a>\uff09\u3092\u4f5c\u6210<\/li>\n<li>HOC\u306f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30c8\u3057\u3001\u305d\u308c\u304c\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u3067\u3042\u308b\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\uff08\u3053\u308c\u306b\u3088\u308a\u3001\u3059\u3079\u3066\u306e\u7de8\u96c6\u304c\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306b\u306e\u307f\u9069\u7528\u3055\u308c\u308b\uff09<\/li>\n<li>\u30c7\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u30ea\u30f3\u30b0\u4ee3\u5165\u3092\u4f7f\u7528\u3057\u3001<code>props<\/code> \u3001<code>attributes<\/code> \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304b\u3089\u5fc5\u8981\u306a\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u5c5e\u6027\u3092\u53d6\u308a\u51fa\u3059<\/li>\n<li>\u305d\u306e\u969b <a href=\"https:\/\/developer.wordpress.org\/block-editor\/getting-started\/fundamentals\/block-in-the-editor\/\" target=\"_blank\" rel=\"noopener noreferrer\"><code>BlockControls<\/code><\/a>, <a href=\"https:\/\/developer.wordpress.org\/block-editor\/reference-guides\/components\/toolbar-group\/\" target=\"_blank\" rel=\"noopener noreferrer\"><code>ToolbarGroup<\/code><\/a>, <a href=\"https:\/\/developer.wordpress.org\/block-editor\/reference-guides\/components\/toolbar-button\/\" target=\"_blank\" rel=\"noopener noreferrer\"><code>ToolbarButton<\/code><\/a>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3001\u30d6\u30ed\u30c3\u30af\u30c4\u30fc\u30eb\u30d0\u30fc\u306b<strong>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u5207\u308a\u66ff\u3048<\/strong>\u30dc\u30bf\u30f3\u3092\u8ffd\u52a0<\/li>\n<li><code>isActive<\/code> \u3067\u30c7\u30d5\u30a9\u30eb\u30c8\u72b6\u614b\u3092<code>imageAnimation<\/code>\u306b\u8a2d\u5b9a<\/li>\n<li><code>onClick<\/code>\u3067<code>imageAnimation<\/code> \u306e\u5024\u3092\u30c8\u30b0\u30eb<\/li>\n<\/ul>\n<figure id=\"attachment_196750\" aria-describedby=\"caption-attachment-196750\" style=\"width: 1668px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-196750 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2025\/07\/custom-block-toolbar-button.jpg\" alt=\"\u30d6\u30ed\u30c3\u30af\u30c4\u30fc\u30eb\u30d0\u30fc\u306b\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u304c\u8ffd\u52a0\u3055\u308c\u305f\u72b6\u614b\" width=\"1668\" height=\"588\"><figcaption id=\"caption-attachment-196750\" class=\"wp-caption-text\">\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u304c\u30d6\u30ed\u30c3\u30af\u30c4\u30fc\u30eb\u30d0\u30fc\u306b\u8ffd\u52a0\u3055\u308c\u305f\u69d8\u5b50<\/figcaption><\/figure>\n<p>\u3053\u308c\u3067\u5c5e\u6027\u3068\u30dc\u30bf\u30f3\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3082\u4f55\u3082\u8d77\u3053\u308a\u307e\u305b\u3093\u3002<\/p>\n<h4>\u30b9\u30c6\u30c3\u30d73. \u30e9\u30c3\u30d1\u30fc\u8981\u7d20\u306bCSS\u30af\u30e9\u30b9\u3092\u8ffd\u52a0\u3059\u308b<\/h4>\n<p>\u6b21\u306b\u3001\u753b\u50cf\u3092\u30e9\u30c3\u30d7\u3057\u3066\u3044\u308b<code>figure<\/code>\u8981\u7d20\u306b<code>has-image-animation<\/code>\u30af\u30e9\u30b9\u3092\u9069\u7528\u3057\u307e\u3059\u3002\u3053\u308c\u306e\u5b9f\u88c5\u306e\u305f\u3081\u306b\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3067\u753b\u50cf\u306bCSS\u30af\u30e9\u30b9\u3092\u5272\u308a\u5f53\u3066\u308b\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092<code>index.js<\/code>\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code class=\"language-javascript\">function addAnimationFrontendClass(extraProps, blockType, attributes) {\n\tif (blockType.name === 'core\/image' && attributes.imageAnimation) {\n\t\textraProps.className = `${extraProps.className || ''} has-image-animation`;\n\t}\n\treturn extraProps;\n}\n\naddFilter(\n\t'blocks.getSaveContent.extraProps',\n\t'image-hacker\/add-animation-frontend-class',\n\taddAnimationFrontendClass\n);<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306b\u3088\u308a\u3001<code>imageAnimation<\/code> \u5c5e\u6027\u304c<code>true<\/code> \u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3068\u304d\u3001<code>figure<\/code> \u8981\u7d20\u306b CSS \u30af\u30e9\u30b9<code>has-image-animation<\/code> \u304c\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306b\u3088\u308a\u4f55\u304c\u8d77\u3053\u308b\u306e\u304b\u3001\u8a73\u3057\u304f\u7406\u89e3\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<ul>\n<li><code>addFilter<\/code>\u30d5\u30c3\u30af\u306f\u3001\u30c7\u30fc\u30bf\u3084\u52d5\u4f5c\u3092\u5909\u66f4\u3059\u308b\u305f\u3081\u306b\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u30d7\u30ed\u30bb\u30b9\u306b\u30d5\u30c3\u30af\u3059\u308b<\/li>\n<li><code>blocks.getSaveContent.extraProps<\/code> \u306f\u5bfe\u8c61\u3068\u3057\u3066\u3044\u308b\u7279\u5225\u306a\u30d5\u30c3\u30af\uff08<code>extraProps<\/code> \u306f\u3001\u30e9\u30c3\u30d1\u30fc\u8981\u7d20\u306b\u7279\u5225\u306aHTML\u5c5e\u6027\u3092\u8ffd\u52a0\u3067\u304d\u308b\u7279\u5225\u306a\u30d5\u30c3\u30af\uff09<\/li>\n<li><code>image-hacker\/add-animation-class<\/code> \u306f\u30d5\u30a3\u30eb\u30bf\u30fc\u56fa\u6709\u306e\u540d\u524d<\/li>\n<li><code>addAnimationFrontendClass<\/code> \u306f\u3001\u3000<code>blocks.getSaveContent.extraProps<\/code> \u30d5\u30c3\u30af\u304c\u5b9f\u884c\u3055\u308c\u308b\u305f\u3073\u306b\u5b9f\u884c\u3055\u308c\u308b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306e\u540d\u524d\uff08\u3053\u306e\u95a2\u6570\u306f\u4ee5\u4e0b\u306e3\u3064\u306e\u5f15\u6570\u3092\u53d6\u308b\uff09<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li><code>extraProps<\/code>:<code>className<\/code> \u306e\u3088\u3046\u306a\u3001\u30d6\u30ed\u30c3\u30af\u306e\u30e9\u30c3\u30d1\u30fc\u8981\u7d20\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u542b\u3080\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/li>\n<li><code>blockType<\/code>\uff1a<code>name<\/code> (<code>core\/image<\/code>) \u306e\u3088\u3046\u306a\u30d6\u30ed\u30c3\u30af\u306e\u8a73\u7d30\u60c5\u5831\u3092\u4fdd\u6709\u3059\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/li>\n<li><code>attributes<\/code>\uff1a\u30d6\u30ed\u30c3\u30af\u5c5e\u6027\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/li>\n<\/ul>\n<\/li>\n<li>\u3053\u306e\u95a2\u6570\u306e\u30ed\u30b8\u30c3\u30af\u3067\u306f\u3001<code>blockType.name === 'core\/image'<\/code> \u3068<code>attributes.imageAnimation<\/code> \u304c<code>true<\/code> \u306e\u3068\u304d\u306e\u307f\u30b3\u30fc\u30c9\u304c\u5b9f\u884c\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b<\/li>\n<li>\u4e21\u65b9\u306e\u6761\u4ef6\u304c\u771f\u306e\u5834\u5408\u3001\u95a2\u6570\u306f\u65e2\u5b58\u306e\u30af\u30e9\u30b9\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b<code>has-image-animation<\/code> \u3092\u8ffd\u52a0\u3057\u305f\u65b0\u3057\u3044<code>props<\/code> \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3059<\/li>\n<\/ul>\n<p>\u3067\u306f\u3001\u5b9f\u969b\u306b\u8a66\u3057\u3066\u307f\u307e\u3059\u3002\u30b3\u30f3\u30c6\u30f3\u30c4\u306b\u753b\u50cf\u3092\u8ffd\u52a0\u3057\u3001\u30d6\u30ed\u30c3\u30af\u30b5\u30a4\u30c9\u30d0\u30fc\u304b\u3089Polaroid\u30b9\u30bf\u30a4\u30eb\u3092\u9078\u629e\u3057\u3001\u30d6\u30ed\u30c3\u30af\u30c4\u30fc\u30eb\u30d0\u30fc\u306e<strong>Toggle Animation<\/strong>\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\u6295\u7a3f\u3092\u4fdd\u5b58\u3057\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3067\u7d50\u679c\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u753b\u50cf\u306b\u30ab\u30fc\u30bd\u30eb\u3092\u5408\u308f\u305b\u308b\u3068\u3001\u753b\u50cf\u304c\u56de\u8ee2\u3059\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<figure id=\"attachment_196905\" aria-describedby=\"caption-attachment-196905\" style=\"width: 1954px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-196905 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2025\/07\/is-style-polaroid-has-image-animation.jpg\" alt=\"is_style_polaroid\u3068has_image_animation CSS\u30af\u30e9\u30b9\u304c\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306b\u8ffd\u52a0\u3055\u308c\u305f\u69d8\u5b50\" width=\"1954\" height=\"1184\"><figcaption id=\"caption-attachment-196905\" class=\"wp-caption-text\">is_style_polaroid\u3068has_image_animation CSS\u30af\u30e9\u30b9\u304c\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306b\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b<\/figcaption><\/figure>\n<h3>\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306e\u767b\u9332<\/h3>\n<p>\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u8907\u6570\u306e\u5c5e\u6027\u3084\u30cd\u30b9\u30c8\u3055\u308c\u305f\u30d6\u30ed\u30c3\u30af\u3092\u3042\u3089\u304b\u3058\u3081\u8a2d\u5b9a\u3057\u305f\u30d6\u30ed\u30c3\u30af\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3059\u3002WordPress\u306f\u3053\u308c\u3092\u72ec\u7acb\u3057\u305f\u30d6\u30ed\u30c3\u30af\u3068\u3057\u3066\u6271\u3044\u307e\u3059\u3002\u30d6\u30ed\u30c3\u30af\u30a4\u30f3\u30b5\u30fc\u30bf\u30fc\u3067\u9078\u629e\u3057\u3001\u30ab\u30b9\u30bf\u30e0\u30a2\u30a4\u30b3\u30f3\u3092\u4ed8\u3051\u3066\u8868\u793a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u3048\u3070\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30dd\u30e9\u30ed\u30a4\u30c9\u30b9\u30bf\u30a4\u30eb\u304c\u9069\u7528\u3055\u308c\u305f\u65b0\u3057\u3044\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306e\u30b9\u30c6\u30c3\u30d7\u3068\u3057\u3066\u3001<code>registerBlockVariation<\/code>\u95a2\u6570\u3092<code>\/src\/index.js<\/code>\u30d5\u30a1\u30a4\u30eb\u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-javascript\">import { registerBlockStyle, registerBlockVariation } from '@wordpress\/blocks';<\/code><\/pre>\n<p>\u6b21\u306b\u3001<code>registerBlockStyle<\/code> \u306e\u3059\u3050\u4e0b\u3001<code>domReady()<\/code> \u306e\u4e2d\u306b<code>registerBlockVariation<\/code> \u95a2\u6570\u306e\u547c\u3073\u51fa\u3057\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-javascript\">domReady(() =&gt; {\n\t\/\/ \u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306b\u30b9\u30bf\u30a4\u30eb\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u767b\u9332\n\tregisterBlockStyle('core\/image', {\n\t\tname: 'polaroid',\n\t\tlabel: 'Polaroid',\n\t});\n\n\t\/\/ \u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306e\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u767b\u9332\n\tregisterBlockVariation('core\/image', {\n\t\tname: 'animated-polaroid',\n\t\ttitle: 'Animated Polaroid',\n\t\ticon: 'image-filter',\n\t\tattributes: {\n\t\t\tclassName: 'is-style-polaroid',\n\t\t\timageAnimation: true,\n\t\t},\n\t\tscope: ['inserter'],\n\t});\n});<\/code><\/pre>\n<p><code>registerBlockVariation<\/code> \u95a2\u6570\u304c\u65e2\u5b58\u306e\u30d6\u30ed\u30c3\u30af\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30d6\u30ed\u30c3\u30af\u306e\u540d\u524d\u3068\u3001\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u5b9a\u7fa9\u3059\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002\uff08<a href=\"https:\/\/developer.wordpress.org\/news\/2023\/08\/an-introduction-to-block-variations\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u5165\u9580<\/a>\u3068<a href=\"https:\/\/developer.wordpress.org\/block-editor\/reference-guides\/block-api\/block-variations\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3API \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3082\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\uff09<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3001\u30d3\u30eb\u30c9\u3092\u5b9f\u884c\u3057\u3066\u5909\u66f4\u3092\u9069\u7528\u3057\u3001WordPress \u306e\u7ba1\u7406\u753b\u9762\u306b\u623b\u308a\u307e\u3059\u3002\u65b0\u3057\u3044\u6295\u7a3f\u3092\u4f5c\u6210\u3057\u3001\u30d6\u30ed\u30c3\u30af\u30a4\u30f3\u30b5\u30fc\u30bf\u30fc\u3067<strong>Animated Polaroid<\/strong>\u30d6\u30ed\u30c3\u30af\u3092\u691c\u7d22\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_196842\" aria-describedby=\"caption-attachment-196842\" style=\"width: 1362px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-196842 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2025\/07\/block-inserter.jpg\" alt=\"\u30d6\u30ed\u30c3\u30af\u30a4\u30f3\u30b5\u30fc\u30bf\u30fc\u5185\u306e\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\" width=\"1362\" height=\"876\"><figcaption id=\"caption-attachment-196842\" class=\"wp-caption-text\">\u30d6\u30ed\u30c3\u30af\u30a4\u30f3\u30b5\u30fc\u30bf\u30fc\u306e\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3<\/figcaption><\/figure>\n<aside role=\"note\" class=\"wp-block-kinsta-notice is-style-info\">\n            <h3>Info<\/h3>\n        <p>\u74b0\u5883\u306e\u8907\u96d1\u3055\u3084\u30bb\u30ec\u30af\u30bf\u306e\u7279\u6b8a\u6027\u306b\u3088\u308a\u3001\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u5185\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u751f\u6210\u3059\u308b\u30b3\u30fc\u30c9\u306f\u8ffd\u52a0\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081\u3001\u30a8\u30c7\u30a3\u30bf\u30fc\u4e0a\u3067\u306f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f\u52d5\u4f5c\u3057\u307e\u305b\u3093\u3002<\/p>\n<\/aside>\n\n<h3>\u30c6\u30b9\u30c8\u3068\u30c7\u30d0\u30c3\u30b0<\/h3>\n<p>\u30c6\u30b9\u30c8\u3092\u884c\u3044\u307e\u3057\u3087\u3046\u3002\u65b0\u3057\u3044\u6295\u7a3f\u306b1\u3064\u4ee5\u4e0a\u306e\u753b\u50cf\u3092\u8ffd\u52a0\u3057\u3001\u305d\u308c\u305e\u308c\u306b\u30dd\u30e9\u30ed\u30a4\u30c9\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528\u3057\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u6709\u52b9\u306b\u3057\u3066\u30ea\u30f3\u30af\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u3001Gallery\u30d6\u30ed\u30c3\u30af\u3067\u3082\u540c\u69d8\u306e\u30c6\u30b9\u30c8\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u52d5\u4f5c\u306f\u6982\u306d\u671f\u5f85\u901a\u308a\u3067\u3059\u304c\u3001\u30dd\u30e9\u30ed\u30a4\u30c9\u30b9\u30bf\u30a4\u30eb\u306e\u753b\u50cf\u306b\u30e9\u30a4\u30c8\u30dc\u30c3\u30af\u30b9\u52b9\u679c\u4ed8\u304d\u306e\u30ea\u30f3\u30af\u3092\u8a2d\u5b9a\u3057\u3066\u3082\u3001\u304d\u308c\u3044\u306a\u8868\u793a\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u3001WordPress\u306e\u30e9\u30a4\u30c8\u30dc\u30c3\u30af\u30b9\u6a5f\u80fd\u3068CSS\u30c8\u30e9\u30f3\u30b8\u30b7\u30e7\u30f3\u306e\u4e92\u63db\u6027\u306b\u3088\u308b\u554f\u984c\u3068\u8003\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u9577\u6642\u9593\u304b\u304b\u308b\u8907\u96d1\u306a\u30c7\u30d0\u30c3\u30b0\u3092\u907f\u3051\u308b\u305f\u3081\u3001\u30af\u30ea\u30c3\u30af\u6642\u306b\u62e1\u5927\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u7121\u52b9\u306b\u3057\u3001\u30e9\u30a4\u30c8\u30dc\u30c3\u30af\u30b9\u304c\u7121\u52b9\u3067\u3042\u308b\u3053\u3068\u3092\u77e5\u3089\u305b\u308b\u8b66\u544a\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u8ffd\u52a0\u30ea\u30bd\u30fc\u30b9\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306f<code>\/src\/index.js<\/code>\u30d5\u30a1\u30a4\u30eb\u3067\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u30ea\u30bd\u30fc\u30b9\u306e\u4e00\u89a7\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-javascript\">import { registerBlockStyle, registerBlockVariation } from '@wordpress\/blocks';\nimport domReady from '@wordpress\/dom-ready';\nimport { addFilter } from '@wordpress\/hooks';\nimport { createHigherOrderComponent } from '@wordpress\/compose';\nimport { Fragment, useEffect } from '@wordpress\/element';\nimport { InspectorControls, BlockControls } from '@wordpress\/block-editor';\nimport { PanelBody, Notice, ToolbarGroup, ToolbarButton } from '@wordpress\/components';\nimport { __ } from '@wordpress\/i18n';\nimport { useDispatch } from '@wordpress\/data';\nimport '.\/style.scss';<\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li><code>useEffect<\/code> \u3092<code>@wordpress\/element<\/code>\u304b\u3089\u30a4\u30f3\u30dd\u30fc\u30c8<\/li>\n<li><code>InspectorControls<\/code> \u3092<code>@wordpress\/block-editor<\/code>\u304b\u3089\u30a4\u30f3\u30dd\u30fc\u30c8\uff08<a href=\"https:\/\/github.com\/WordPress\/gutenberg\/blob\/HEAD\/packages\/block-editor\/src\/components\/inspector-controls\/README.md\" target=\"_blank\" rel=\"noopener noreferrer\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u53c2\u7167\u306e\u3053\u3068\uff09<\/li>\n<li><code>PanelBody<\/code>\u3068<code>Notice<\/code>\u3092<code>@wordpress\/components<\/code>\u304b\u3089\u30a4\u30f3\u30dd\u30fc\u30c8\uff08<a href=\"https:\/\/developer.wordpress.org\/block-editor\/reference-guides\/components\/panel\/\" target=\"_blank\" rel=\"noopener noreferrer\">docs<\/a>\u3092\u53c2\u7167\u306e\u3053\u3068\uff09<\/li>\n<li><code>useDispatch<\/code>\u3092<code>@wordpress\/data<\/code>\u304b\u3089\u30a4\u30f3\u30dd\u30fc\u30c8\uff08<a href=\"https:\/\/developer.wordpress.org\/news\/2022\/12\/application-state-managed-withdispatch-withselect-and-compose-101\/\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress\u958b\u767a\u8005\u30d6\u30ed\u30b0<\/a>\u3092\u53c2\u7167\u306e\u3053\u3068\uff09<\/li>\n<\/ul>\n<p>\u6b21\u306b\u3001<code>withPolaroidControls<\/code> \u95a2\u6570\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-javascript\">const withPolaroidControls = createHigherOrderComponent((BlockEdit) =&gt; {\n\treturn (props) =&gt; {\n\t\tif (props.name !== 'core\/image') {\n\t\t\treturn &lt;BlockEdit {...props} \/&gt;;\n\t\t}\n\n\t\tconst { attributes, setAttributes, isSelected } = props;\n\t\tconst { imageAnimation, className, lightbox } = attributes;\n\n\t\tconst isPolaroid = className?.includes('is-style-polaroid');\n\n\t\tconst { createNotice } = useDispatch('core\/notices');\n\n\t\tuseEffect(() =&gt; {\n\t\t\tif (isPolaroid && lightbox?.enabled) {\n\t\t\t\t\/\/ \u7af6\u5408\u3092\u9632\u3050\u305f\u3081\u306b\u30e9\u30a4\u30c8\u30dc\u30c3\u30af\u30b9\u3092\u7121\u52b9\u5316\n\t\t\t\tsetAttributes({ lightbox: { ...lightbox, enabled: false } });\n\n\t\t\t\t\/\/ \u5229\u7528\u8005\u306b\u4e00\u6642\u7684\u306a\u300c\u30b9\u30ca\u30c3\u30af\u30d0\u30fc\u300d\u901a\u77e5\u3092\u8868\u793a\n\t\t\t\tcreateNotice(\n\t\t\t\t\t'warning', \/\/ \u901a\u77e5\u306e\u7a2e\u985e\uff08info\u3001success\u3001warning\u3001error\uff09\n\t\t\t\t\t__('Lightbox disabled for Polaroid style.', 'image-hacker'),\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: 'snackbar',\n\t\t\t\t\t\tisDismissible: true,\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t}, [isPolaroid, lightbox]);\n\n\t\treturn (\n\t\t\t&lt;Fragment&gt;\n\t\t\t\t&lt;BlockEdit {...props} \/&gt;\n\n\t\t\t\t&lt;BlockControls&gt;\n\t\t\t\t\t&lt;ToolbarGroup&gt;\n\t\t\t\t\t\t&lt;ToolbarButton\n\t\t\t\t\t\t\ticon=\"format-image\"\n\t\t\t\t\t\t\tlabel={__('Toggle Animation', 'image-hacker')}\n\t\t\t\t\t\t\tisActive={imageAnimation}\n\t\t\t\t\t\t\tonClick={() =&gt;\n\t\t\t\t\t\t\t\tsetAttributes({ imageAnimation: !imageAnimation })\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\/&gt;\n\t\t\t\t\t&lt;\/ToolbarGroup&gt;\n\t\t\t\t&lt;\/BlockControls&gt;\n\n\t\t\t\t{isSelected && isPolaroid && (\n\t\t\t\t\t&lt;InspectorControls&gt;\n\t\t\t\t\t\t&lt;PanelBody title={__('Polaroid Style', 'image-hacker')}&gt;\n\t\t\t\t\t\t\t&lt;Notice status=\"info\" isDismissible={false}&gt;\n\t\t\t\t\t\t\t\t{__(\n\t\t\t\t\t\t\t\t\t'The \"Expand on click\" (lightbox) feature is disabled for this style to prevent visual conflicts.',\n\t\t\t\t\t\t\t\t\t'image-hacker'\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t&lt;\/Notice&gt;\n\t\t\t\t\t\t&lt;\/PanelBody&gt;\n\t\t\t\t\t&lt;\/InspectorControls&gt;\n\t\t\t\t)}\n\t\t\t&lt;\/Fragment&gt;\n\t\t);\n\t};\n}, 'withPolaroidControls');<\/code><\/pre>\n<ul>\n<li><code>useEffect<\/code>\u306fReact Hook\u3067\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u5916\u90e8\u30b7\u30b9\u30c6\u30e0\u3068\u540c\u671f\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30b3\u30fc\u30c9\u306f\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3055\u308c\u305f\u5f8c\u3001\u4f9d\u5b58\u914d\u5217<code>[isPolaroid, lightbox]<\/code>\u306e\u5024\u304c\u5909\u66f4\u3055\u308c\u308b\u305f\u3073\u306b\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002\u30c1\u30a7\u30c3\u30af\u304c\u5b9f\u884c\u3055\u308c\u308b\u306e\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304cPolaroid\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528\u307e\u305f\u306f\u524a\u9664\u3057\u305f\u3068\u304d\u3001\u307e\u305f\u306f\u30e9\u30a4\u30c8\u30dc\u30c3\u30af\u30b9\u3092\u6709\u52b9\u307e\u305f\u306f\u7121\u52b9\u306b\u3057\u305f\u3068\u304d\u3060\u3051\u3067\u3059\uff08<a href=\"https:\/\/react.dev\/reference\/react\/useEffect\" target=\"_blank\" rel=\"noopener noreferrer\">React\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u53c2\u7167\u306e\u3053\u3068\uff09\u3002<\/li>\n<li>\u6761\u4ef6<code>if (isPolaroid() && lightbox.enabled)<\/code> \u306b\u3088\u308a\u3001\u753b\u50cf\u306b Polaroid \u30b9\u30bf\u30a4\u30eb\u304c\u3042\u308a\u3001lightbox \u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u306b\u306e\u307f\u30b3\u30fc\u30c9\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>\u6761\u4ef6\u304c<code>true<\/code> \u306e\u5834\u5408\u3001\u30e9\u30a4\u30c8\u30dc\u30c3\u30af\u30b9\u306f\u7121\u52b9\u306b\u306a\u308a\u3001\u4e00\u6642\u7684\u306a\u8b66\u544a\u901a\u77e5\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff08<a href=\"https:\/\/developer.wordpress.org\/block-editor\/reference-guides\/data\/data-core-notices\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u901a\u77e5\u30c7\u30fc\u30bf<\/a>\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u3092\u53c2\u7167\u306e\u3053\u3068\uff09\u3002<\/li>\n<li>\u6761\u4ef6<code>isSelected && isPolaroid<\/code> \u306f\u3001\u30e9\u30a4\u30c8\u30dc\u30c3\u30af\u30b9\u304c\u7121\u52b9\u3067\u3042\u308b\u3053\u3068\u3092\u30e6\u30fc\u30b6\u30fc\u306b\u901a\u77e5\u3059\u308b\u305f\u3081\u306e\u65b0\u3057\u3044\u30d1\u30cd\u30eb\u3092\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u30c4\u30fc\u30eb\u30d0\u30fc\u306b\u751f\u6210\u3057\u307e\u3059\u3002\u30b9\u30ca\u30c3\u30af\u30d0\u30fc\u3068\u306f\u7570\u306a\u308a\u3001\u3053\u306e\u30d1\u30cd\u30eb\u306f\u6c38\u7d9a\u7684\u306a\u8b66\u544a\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<figure id=\"attachment_196858\" aria-describedby=\"caption-attachment-196858\" style=\"width: 2184px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-196858 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2025\/07\/enlarge-on-click-disabled.jpg\" alt=\"\u300c\u30af\u30ea\u30c3\u30af\u6642\u306b\u62e1\u5927\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\" width=\"2184\" height=\"1406\"><figcaption id=\"caption-attachment-196858\" class=\"wp-caption-text\">\u300c\u30af\u30ea\u30c3\u30af\u6642\u306b\u62e1\u5927\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u7121\u52b9\u306b\u306a\u308b<\/figcaption><\/figure>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001WordPress\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u958b\u767a\u8005\u5411\u3051\u6a5f\u80fd\u306e\u4e2d\u3067\u3082\u3001\u3068\u304f\u306b\u5b9f\u7528\u6027\u306e\u9ad8\u3044\u8981\u7d20\u3092\u5b9f\u969b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u901a\u3057\u3066\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u79c1\u305f\u3061\u306f\u30d7\u30ed\u30b0\u30ec\u30c3\u30b7\u30d6\u30a8\u30f3\u30cf\u30f3\u30b9\u30e1\u30f3\u30c8\u306e\u8003\u3048\u65b9\u306b\u6cbf\u3063\u3066\u3001\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306e\u30d6\u30ed\u30c3\u30af\u30b9\u30bf\u30a4\u30eb\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5229\u7528\u8005\u306f\u753b\u50cf\u3092\u624b\u8efd\u306b\u30af\u30e9\u30b7\u30c3\u30af\u306a\u30dd\u30e9\u30ed\u30a4\u30c9\u98a8\u306b\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u7d9a\u3044\u3066\u3001\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u306e\u30c4\u30fc\u30eb\u30d0\u30fc\u306b\u5c02\u7528\u30dc\u30bf\u30f3\u3092\u8ffd\u52a0\u3057\u3001\u9b45\u529b\u7684\u306a\u30db\u30d0\u30fc\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u52b9\u679c\u3092\u8a2d\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u3001\u30dd\u30e9\u30ed\u30a4\u30c9\u30b9\u30bf\u30a4\u30eb\u3068\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u8a2d\u5b9a\u304c\u6a19\u6e96\u3067\u9069\u7528\u3055\u308c\u308b\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u7528\u610f\u3057\u3001\u5168\u4f53\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u5f97\u305f\u77e5\u898b\u3068\u624b\u6cd5\u3092\u6d3b\u7528\u3057\u3066\u3001Gutenberg\u306e\u30b3\u30a2\u30d6\u30ed\u30c3\u30af\u306b\u9a5a\u304f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u52a0\u3048\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306b\u3054\u6d3b\u7528\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Gutenberg\u306f\u3001\u5f37\u529b\u304b\u3064\u9ad8\u5ea6\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d &#8230;<\/p>\n","protected":false},"author":36,"featured_media":65777,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kinsta_gated_content":false,"_kinsta_gated_content_redirect":"","footnotes":""},"tags":[],"topic":[826],"class_list":["post-65776","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","topic-wordpress-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.6 (Yoast SEO v24.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Gutenberg\u30b9\u30bf\u30a4\u30eb\/\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306e\u7de8\u96c6\u65b9\u6cd5<\/title>\n<meta name=\"description\" content=\"Gutenberg\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3001\u30b9\u30bf\u30a4\u30eb\u3084\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3067\u30d6\u30ed\u30c3\u30af\u306b\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Gutenberg\u30b9\u30bf\u30a4\u30eb\/\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306e\u7de8\u96c6\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"Gutenberg\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3001\u30b9\u30bf\u30a4\u30eb\u3084\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3067\u30d6\u30ed\u30c3\u30af\u306b\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/\" \/>\n<meta property=\"og:site_name\" content=\"Kinsta\u00ae\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-07T08:17:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-11T10:27:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2025\/08\/gutenberg-style-variations-and-block-variations.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1470\" \/>\n\t<meta property=\"og:image:height\" content=\"735\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Carlo Daniele\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:description\" content=\"Gutenberg\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3001\u30b9\u30bf\u30a4\u30eb\u3084\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3067\u30d6\u30ed\u30c3\u30af\u306b\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2025\/08\/gutenberg-style-variations-and-block-variations.png\" \/>\n<meta name=\"twitter:creator\" content=\"@carlodaniele\" \/>\n<meta name=\"twitter:site\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Carlo Daniele\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/\"},\"author\":{\"name\":\"Carlo Daniele\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/962dde02ea6f5df089b5d8d0853bbc63\"},\"headline\":\"Gutenberg\u30b9\u30bf\u30a4\u30eb\/\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306e\u7de8\u96c6\u65b9\u6cd5\",\"datePublished\":\"2025-08-07T08:17:21+00:00\",\"dateModified\":\"2025-08-11T10:27:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/\"},\"wordCount\":180,\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2025\/08\/gutenberg-style-variations-and-block-variations.png\",\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/\",\"url\":\"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/\",\"name\":\"Gutenberg\u30b9\u30bf\u30a4\u30eb\/\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306e\u7de8\u96c6\u65b9\u6cd5\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2025\/08\/gutenberg-style-variations-and-block-variations.png\",\"datePublished\":\"2025-08-07T08:17:21+00:00\",\"dateModified\":\"2025-08-11T10:27:18+00:00\",\"description\":\"Gutenberg\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3001\u30b9\u30bf\u30a4\u30eb\u3084\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3067\u30d6\u30ed\u30c3\u30af\u306b\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/#primaryimage\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2025\/08\/gutenberg-style-variations-and-block-variations.png\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2025\/08\/gutenberg-style-variations-and-block-variations.png\",\"width\":1470,\"height\":735},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kinsta.com\/jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress\u30b5\u30a4\u30c8\u958b\u767a\",\"item\":\"https:\/\/kinsta.com\/jp\/topics\/wordpress-development\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Gutenberg\u30b9\u30bf\u30a4\u30eb\/\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306e\u7de8\u96c6\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kinsta.com\/jp\/#website\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"name\":\"Kinsta\u00ae\",\"description\":\"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9\",\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kinsta.com\/jp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\",\"name\":\"Kinsta\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"width\":500,\"height\":500,\"caption\":\"Kinsta\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\",\"https:\/\/x.com\/Kinsta_JP\",\"https:\/\/www.instagram.com\/kinstahosting\/\",\"https:\/\/www.linkedin.com\/company\/kinsta\/\",\"https:\/\/www.pinterest.com\/kinstahosting\/\",\"https:\/\/www.youtube.com\/c\/Kinsta\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/962dde02ea6f5df089b5d8d0853bbc63\",\"name\":\"Carlo Daniele\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/429e5568f88110fd9a409b84cb22197e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/429e5568f88110fd9a409b84cb22197e?s=96&d=mm&r=g\",\"caption\":\"Carlo Daniele\"},\"description\":\"Carlo is a passionate lover of webdesign and front-end development. He has been playing with WordPress for more than 20 years, also in collaboration with Italian and European universities and educational institutions. He has written hundreds of articles and guides about WordPress, published both on Italian and international websites, as well as on printed magazines. You can find him on LinkedIn.\",\"sameAs\":[\"https:\/\/frammentidicodice.com\/\",\"https:\/\/x.com\/carlodaniele\"],\"url\":\"https:\/\/kinsta.com\/jp\/blog\/author\/carlodaniele\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Gutenberg\u30b9\u30bf\u30a4\u30eb\/\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306e\u7de8\u96c6\u65b9\u6cd5","description":"Gutenberg\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3001\u30b9\u30bf\u30a4\u30eb\u3084\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3067\u30d6\u30ed\u30c3\u30af\u306b\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/","og_locale":"ja_JP","og_type":"article","og_title":"Gutenberg\u30b9\u30bf\u30a4\u30eb\/\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306e\u7de8\u96c6\u65b9\u6cd5","og_description":"Gutenberg\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3001\u30b9\u30bf\u30a4\u30eb\u3084\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3067\u30d6\u30ed\u30c3\u30af\u306b\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","og_url":"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/","og_site_name":"Kinsta\u00ae","article_publisher":"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","article_published_time":"2025-08-07T08:17:21+00:00","article_modified_time":"2025-08-11T10:27:18+00:00","og_image":[{"width":1470,"height":735,"url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2025\/08\/gutenberg-style-variations-and-block-variations.png","type":"image\/png"}],"author":"Carlo Daniele","twitter_card":"summary_large_image","twitter_description":"Gutenberg\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3001\u30b9\u30bf\u30a4\u30eb\u3084\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3067\u30d6\u30ed\u30c3\u30af\u306b\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","twitter_image":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2025\/08\/gutenberg-style-variations-and-block-variations.png","twitter_creator":"@carlodaniele","twitter_site":"@Kinsta_JP","twitter_misc":{"\u57f7\u7b46\u8005":"Carlo Daniele","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/#article","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/"},"author":{"name":"Carlo Daniele","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/962dde02ea6f5df089b5d8d0853bbc63"},"headline":"Gutenberg\u30b9\u30bf\u30a4\u30eb\/\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306e\u7de8\u96c6\u65b9\u6cd5","datePublished":"2025-08-07T08:17:21+00:00","dateModified":"2025-08-11T10:27:18+00:00","mainEntityOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/"},"wordCount":180,"publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2025\/08\/gutenberg-style-variations-and-block-variations.png","inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/","url":"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/","name":"Gutenberg\u30b9\u30bf\u30a4\u30eb\/\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306e\u7de8\u96c6\u65b9\u6cd5","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/#primaryimage"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2025\/08\/gutenberg-style-variations-and-block-variations.png","datePublished":"2025-08-07T08:17:21+00:00","dateModified":"2025-08-11T10:27:18+00:00","description":"Gutenberg\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3001\u30b9\u30bf\u30a4\u30eb\u3084\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3067\u30d6\u30ed\u30c3\u30af\u306b\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/#primaryimage","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2025\/08\/gutenberg-style-variations-and-block-variations.png","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2025\/08\/gutenberg-style-variations-and-block-variations.png","width":1470,"height":735},{"@type":"BreadcrumbList","@id":"https:\/\/kinsta.com\/jp\/blog\/style-block-variations-gutenberg\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kinsta.com\/jp\/"},{"@type":"ListItem","position":2,"name":"WordPress\u30b5\u30a4\u30c8\u958b\u767a","item":"https:\/\/kinsta.com\/jp\/topics\/wordpress-development\/"},{"@type":"ListItem","position":3,"name":"Gutenberg\u30b9\u30bf\u30a4\u30eb\/\u30d6\u30ed\u30c3\u30af\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306e\u7de8\u96c6\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/kinsta.com\/jp\/#website","url":"https:\/\/kinsta.com\/jp\/","name":"Kinsta\u00ae","description":"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9","publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kinsta.com\/jp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/kinsta.com\/jp\/#organization","name":"Kinsta","url":"https:\/\/kinsta.com\/jp\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","width":500,"height":500,"caption":"Kinsta"},"image":{"@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","https:\/\/x.com\/Kinsta_JP","https:\/\/www.instagram.com\/kinstahosting\/","https:\/\/www.linkedin.com\/company\/kinsta\/","https:\/\/www.pinterest.com\/kinstahosting\/","https:\/\/www.youtube.com\/c\/Kinsta"]},{"@type":"Person","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/962dde02ea6f5df089b5d8d0853bbc63","name":"Carlo Daniele","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/429e5568f88110fd9a409b84cb22197e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/429e5568f88110fd9a409b84cb22197e?s=96&d=mm&r=g","caption":"Carlo Daniele"},"description":"Carlo is a passionate lover of webdesign and front-end development. He has been playing with WordPress for more than 20 years, also in collaboration with Italian and European universities and educational institutions. He has written hundreds of articles and guides about WordPress, published both on Italian and international websites, as well as on printed magazines. You can find him on LinkedIn.","sameAs":["https:\/\/frammentidicodice.com\/","https:\/\/x.com\/carlodaniele"],"url":"https:\/\/kinsta.com\/jp\/blog\/author\/carlodaniele\/"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/65776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/users\/36"}],"replies":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/comments?post=65776"}],"version-history":[{"count":15,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/65776\/revisions"}],"predecessor-version":[{"id":65811,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/65776\/revisions\/65811"}],"alternate":[{"embeddable":true,"hreflang":"en","title":"English","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/65776\/translations\/en"},{"embeddable":true,"hreflang":"it","title":"Italian","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/65776\/translations\/it"},{"embeddable":true,"hreflang":"fr","title":"French","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/65776\/translations\/fr"},{"embeddable":true,"hreflang":"de","title":"German","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/65776\/translations\/de"},{"embeddable":true,"hreflang":"ja","title":"Japanese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/65776\/translations\/jp"},{"embeddable":true,"hreflang":"nl","title":"Dutch","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/65776\/translations\/nl"},{"embeddable":true,"hreflang":"es","title":"Spanish","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/65776\/translations\/es"},{"embeddable":true,"hreflang":"pt","title":"Portuguese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/65776\/translations\/pt"},{"href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/65776\/tree"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media\/65777"}],"wp:attachment":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media?parent=65776"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/tags?post=65776"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/topic?post=65776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}