{"id":13721,"date":"2026-06-22T18:01:38","date_gmt":"2026-06-22T18:01:38","guid":{"rendered":"https:\/\/withcode.tech\/media\/%e3%80%902026%e5%b9%b4%e6%9c%80%e6%96%b0%e3%80%91wordpress%e3%83%86%e3%83%bc%e3%83%9e%e3%81%ae%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%9e%e3%82%a4%e3%82%ba%e6%96%b9%e6%b3%95%ef%bd%9c%e5%88%9d%e5%bf%83\/"},"modified":"2026-09-21T05:28:49","modified_gmt":"2026-09-21T05:28:49","slug":"css-custom-properties","status":"publish","type":"post","link":"https:\/\/withcode.tech\/media\/css-custom-properties\/","title":{"rendered":"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u4f7f\u3044\u65b9\uff5c\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u306e\u5b9f\u8df5\u30ac\u30a4\u30c9"},"content":{"rendered":"\n<!-- withmedia-ketsuron -->\n<h2 class=\"wp-block-heading\">\u3053\u306e\u8a18\u4e8b\u306e\u7d50\u8ad6<\/h2><figure class=\"wp-block-image size-large\"><img decoding=\"async\" alt=\"\u3053\u306e\u8a18\u4e8b\u306e\u7d50\u8ad6\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/css-custom-properties-01-v2.jpg\"\/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08CSS\u5909\u6570\uff09\u306f\u3001\u958b\u767a\u8005\u304c\u81ea\u5206\u3067\u5b9a\u7fa9\u3067\u304d\u308bCSS\u5c02\u7528\u306e\u5909\u6570\u3067\u3001Sass\u3084Less\u306a\u3069\u306e\u30d7\u30ea\u30d7\u30ed\u30bb\u30c3\u30b5\u3092\u4f7f\u308f\u306a\u304f\u3066\u3082\u7d14\u7c8b\u306aCSS\u3060\u3051\u3067\u8272\u30fb\u30b5\u30a4\u30ba\u30fb\u4f59\u767d\u306a\u3069\u306e\u5024\u3092\u4e00\u5143\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002\u30d7\u30ed\u30d1\u30c6\u30a3\u540d\u306e\u5148\u982d\u306b\u300c&#8211;\u300d\u3092\u4ed8\u3051\u3066\u5b9a\u7fa9\u3057var()\u95a2\u6570\u3067\u53c2\u7167\u3057\u3001:root\u306b\u66f8\u3051\u3070\u30b5\u30a4\u30c8\u5168\u4f53\u3067\u4f7f\u3048\u308b\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u306b\u306a\u308a\u307e\u3059\u3002\u30d6\u30e9\u30a6\u30b6\u5b9f\u884c\u6642\u306b\u52d5\u7684\u306b\u5024\u3092\u5909\u3048\u3089\u308c\u308b\u305f\u3081\u3001\u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u5207\u308a\u66ff\u3048\u3084\u30c6\u30fc\u30de\u8a2d\u8a08\u3068\u306e\u76f8\u6027\u304c\u3088\u304f\u3001\u547d\u540d\u898f\u5247\u3092\u7d71\u4e00\u3057\u3066\u30c7\u30b6\u30a4\u30f3\u30c8\u30fc\u30af\u30f3\u30d5\u30a1\u30a4\u30eb\u306b\u96c6\u7d04\u3059\u308b\u3053\u3068\u3067\u4fdd\u5b88\u6027\u3068\u4e00\u8cab\u6027\u304c\u5927\u5e45\u306b\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n\n<div class=\"swell-block-balloon\">\n<div class=\"c-balloon -bln-left\" data-col=\"gray\">\n<div class=\"c-balloon__icon -square\"><img decoding=\"async\" alt=\"\" class=\"c-balloon__iconImg\" height=\"80px\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-14.40.37.jpg\" width=\"80px\"\/><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div>\n<div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\"><p><strong>CSS\u3063\u3066\u8272\u3084\u30b5\u30a4\u30ba\u3092\u4f55\u5ea6\u3082\u540c\u3058\u5024\u3067\u66f8\u3044\u3066\u3044\u3066\u3001\u4fee\u6b63\u3059\u308b\u305f\u3073\u306b\u5168\u90e8\u63a2\u3057\u3066\u76f4\u3059\u306e\u304c\u5927\u5909\u3067\u3059\u2026\u3002\u5909\u6570\u307f\u305f\u3044\u306a\u4ed5\u7d44\u307f\u3063\u3066CSS\u306b\u3082\u3042\u308b\u3093\u3067\u3059\u304b\uff1f<\/strong><\/p><span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div>\n<\/div>\n<\/div>\n<div class=\"swell-block-balloon\">\n<div class=\"c-balloon -bln-right\" data-col=\"gray\">\n<div class=\"c-balloon__icon -square\"><img decoding=\"async\" alt=\"\" class=\"c-balloon__iconImg\" height=\"80px\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.11.23.jpg\" width=\"80px\"\/><span class=\"c-balloon__iconName\">\u30da\u30f3\u535a\u58eb<\/span><\/div>\n<div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\"><p><strong>\u3082\u3061\u308d\u3093\u3042\u308a\u307e\u3059\uff01\u300cCSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3092\u4f7f\u3048\u3070\u3001\u8272\u30fb\u30b5\u30a4\u30ba\u30fb\u4f59\u767d\u306a\u3069\u306e\u5024\u3092\u4e00\u5143\u7ba1\u7406\u3067\u304d\u3066\u3001\u4fee\u6b63\u3082\u30e9\u30af\u30e9\u30af\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u5b9a\u7fa9\u306e\u66f8\u304d\u65b9\u304b\u3089\u30b9\u30b3\u30fc\u30d7\u30fb\u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u5207\u308a\u66ff\u3048\u307e\u3067\u3001\u5b9f\u4f8b\u3064\u304d\u3067\u4e01\u5be7\u306b\u89e3\u8aac\u3057\u307e\u3059\u3088\u3002<\/strong><\/p><span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div>\n<\/div>\n<\/div>\n<p class=\"wp-block-paragraph\">CSS\u3092\u66f8\u3044\u3066\u3044\u308b\u3068\u3001\u540c\u3058\u30ab\u30e9\u30fc\u30b3\u30fc\u30c9\u3084\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u4f55\u5341\u7b87\u6240\u306b\u3082\u7e70\u308a\u8fd4\u3057\u3066\u3057\u307e\u3044\u3001\u300c\u30c7\u30b6\u30a4\u30f3\u3092\u5c11\u3057\u5909\u3048\u308b\u3060\u3051\u3067\u4fee\u6b63\u304c\u5927\u91cf\u306b\u767a\u751f\u3059\u308b\u300d\u3068\u3044\u3046\u7d4c\u9a13\u3092\u3057\u305f\u3053\u3068\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002\u305d\u3093\u306a\u60a9\u307f\u3092\u89e3\u6c7a\u3059\u308b\u306e\u304c<strong>CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08CSS\u5909\u6570\uff09<\/strong>\u3067\u3059\u3002Sass\u3084Less\u3068\u3044\u3063\u305f\u30d7\u30ea\u30d7\u30ed\u30bb\u30c3\u30b5\u3092\u4f7f\u308f\u306a\u304f\u3066\u3082\u3001\u7d14\u7c8b\u306aCSS\u3060\u3051\u3067\u5024\u3092\u5909\u6570\u3068\u3057\u3066\u7ba1\u7406\u3067\u304d\u3001\u4fdd\u5b88\u6027\u30fb\u518d\u5229\u7528\u6027\u304c\u683c\u6bb5\u306b\u5411\u4e0a\u3057\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u57fa\u672c\u7684\u306a\u66f8\u304d\u65b9\u304b\u3089\u3001\u30b9\u30b3\u30fc\u30d7\u306e\u8003\u3048\u65b9\u3001\u30c6\u30fc\u30de\u5207\u308a\u66ff\u3048\u3078\u306e\u5fdc\u7528\u307e\u3067\u3001\u5b9f\u969b\u306e\u30b3\u30fc\u30c9\u3092\u4ea4\u3048\u306a\u304c\u3089\u4f53\u7cfb\u7684\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<h2 class=\"wp-block-heading\">CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u306f\uff1f\u57fa\u672c\u306e\u4ed5\u7d44\u307f\u3092\u304a\u3055\u3089\u3044<\/h2><figure class=\"wp-block-image size-large\"><img decoding=\"async\" alt=\"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u306f\uff1f\u57fa\u672c\u306e\u4ed5\u7d44\u307f\u3092\u304a\u3055\u3089\u3044\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/css-custom-properties-02-v2.jpg\"\/><\/figure>\n<p class=\"wp-block-paragraph\">CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u306f\u3001\u958b\u767a\u8005\u304c\u81ea\u5206\u3067\u5b9a\u7fa9\u3067\u304d\u308b\u300cCSS\u5c02\u7528\u306e\u5909\u6570\u300d\u3067\u3059\u3002\u6b63\u5f0f\u540d\u79f0\u306f <em>CSS Custom Properties for Cascading Variables<\/em> \u3068\u3044\u3044\u3001<strong><span class=\"swl-marker mark_yellow\">\u4e3b\u8981\u30d6\u30e9\u30a6\u30b6\u306f\u3059\u3079\u3066\u30b5\u30dd\u30fc\u30c8\u6e08\u307f\u3067\u3001\u73fe\u5728\u306e\u5b9f\u52d9\u3067\u3082\u6a19\u6e96\u7684\u306b\u4f7f\u308f\u308c\u308b\u6280\u8853<\/span><\/strong>\u3067\u3059\u3002\u30d7\u30ed\u30d1\u30c6\u30a3\u540d\u306e\u5148\u982d\u306b\u5fc5\u305a <code>--<\/code>\uff08\u30c0\u30d6\u30eb\u30cf\u30a4\u30d5\u30f3\uff09\u3092\u4ed8\u3051\u3066\u5b9a\u7fa9\u3057\u3001<code>var()<\/code> \u95a2\u6570\u3067\u53c2\u7167\u3057\u307e\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u57fa\u672c\u306e\u69cb\u6587<\/h3>\n<p class=\"wp-block-paragraph\">\u5b9a\u7fa9\u3068\u53c2\u7167\u306e\u57fa\u672c\u30d1\u30bf\u30fc\u30f3\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-javascript\" data-lang=\"JavaScript\"><code>\/* \u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5b9a\u7fa9 *\/\n:root {\n  --color-primary: #3a86ff;\n  --font-size-base: 16px;\n  --spacing-md: 24px;\n}\n\n\/* \u53c2\u7167\uff08var()\u95a2\u6570\u3092\u4f7f\u3046\uff09 *\/\n.button {\n  background-color: var(--color-primary);\n  font-size: var(--font-size-base);\n  padding: var(--spacing-md);\n}<\/code><\/pre><\/div>\n<p class=\"wp-block-paragraph\"><code>:root<\/code> \u306fHTML\u6587\u66f8\u5168\u4f53\u306e\u30eb\u30fc\u30c8\u8981\u7d20\uff08<code>&lt;html&gt;<\/code>\uff09\u3092\u6307\u3059\u7591\u4f3c\u30af\u30e9\u30b9\u3067\u3059\u3002\u3053\u3053\u306b\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u3067\u3001<strong>\u30b5\u30a4\u30c8\u5168\u4f53\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570<\/strong>\u3068\u3057\u3066\u6a5f\u80fd\u3057\u307e\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">Sass\u306a\u3069\u306e\u30d7\u30ea\u30d7\u30ed\u30bb\u30c3\u30b5\u3068CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u9055\u3044<\/h3>\n<figure class=\"wp-block-table\"><table>\n<thead><tr><th>\u6bd4\u8f03\u9805\u76ee<\/th><th>Sass\u5909\u6570\uff08$var\uff09<\/th><th>CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08&#8211;var\uff09<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0<\/td><td>\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\uff08\u9759\u7684\uff09<\/td><td>\u30d6\u30e9\u30a6\u30b6\u5b9f\u884c\u6642\uff08\u52d5\u7684\uff09<\/td><\/tr>\n<tr><td>JavaScript\u304b\u3089\u306e\u64cd\u4f5c<\/td><td>\u4e0d\u53ef<\/td><td>\u53ef\u80fd<\/td><\/tr>\n<tr><td>\u30b9\u30b3\u30fc\u30d7<\/td><td>\u30d5\u30a1\u30a4\u30eb\u30fb\u30d6\u30ed\u30c3\u30af\u30b9\u30b3\u30fc\u30d7<\/td><td>DOM\u30c4\u30ea\u30fc\u306b\u57fa\u3065\u304f\u30ab\u30b9\u30b1\u30fc\u30c9<\/td><\/tr>\n<tr><td>\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u5185\u3067\u306e\u518d\u5b9a\u7fa9<\/td><td>\u4e0d\u53ef<\/td><td>\u53ef\u80fd<\/td><\/tr>\n<tr><td>\u30d3\u30eb\u30c9\u30c4\u30fc\u30eb\u4e0d\u8981<\/td><td>\u8981Sass\u30b3\u30f3\u30d1\u30a4\u30e9<\/td><td>\u4e0d\u8981\uff08\u7d14\u7c8bCSS\uff09<\/td><\/tr>\n<\/tbody>\n<\/table><\/figure>\n<p class=\"wp-block-paragraph\">\u6700\u5927\u306e\u5dee\u306f\u300c<strong>\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u5024\u304c\u5909\u308f\u308b<\/strong>\u300d\u3068\u3044\u3046\u70b9\u3067\u3059\u3002JavaScript\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u5207\u308a\u66ff\u3048\u3084\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u5236\u5fa1\u306a\u3069\u3001\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306aUI\u306b\u3082\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<h2 class=\"wp-block-heading\">\u30b9\u30b3\u30fc\u30d7\u3092\u7406\u89e3\u3059\u308b\uff5c\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3068\u30ed\u30fc\u30ab\u30eb\u5909\u6570<\/h2><figure class=\"wp-block-image size-large\"><img decoding=\"async\" alt=\"\u30b9\u30b3\u30fc\u30d7\u3092\u7406\u89e3\u3059\u308b\uff5c\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3068\u30ed\u30fc\u30ab\u30eb\u5909\u6570\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/css-custom-properties-03-v2.jpg\"\/><\/figure>\n<p class=\"wp-block-paragraph\">CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001<strong><span class=\"swl-marker mark_yellow\">\u5b9a\u7fa9\u3057\u305f\u30bb\u30ec\u30af\u30bf\u30fc\u306e\u5b50\u5b6b\u8981\u7d20\u306b\u306e\u307f\u6709\u52b9\u3068\u3044\u3046\u300c\u30b9\u30b3\u30fc\u30d7\uff08\u6709\u52b9\u7bc4\u56f2\uff09\u300d\u3092\u6301\u3064<\/span><\/strong>\u306e\u304c\u7279\u5fb4\u3067\u3059\u3002\u3053\u306e\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u3001\u610f\u56f3\u3057\u306a\u3044\u5024\u306e\u4e0a\u66f8\u304d\u3092\u9632\u304e\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5358\u4f4d\u3067\u306e\u8a2d\u8a08\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30b3\u30fc\u30d7\uff08:root\u306b\u5b9a\u7fa9\uff09<\/h3>\n<p class=\"wp-block-paragraph\">\u30b5\u30a4\u30c8\u5168\u4f53\u3067\u5171\u901a\u3057\u3066\u4f7f\u3046\u5024\u306f <code>:root<\/code> \u306b\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u30d6\u30e9\u30f3\u30c9\u30ab\u30e9\u30fc\u30fb\u30d9\u30fc\u30b9\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u30fb\u5171\u901a\u30b9\u30da\u30fc\u30b7\u30f3\u30b0\u306a\u3069\u304c\u4ee3\u8868\u4f8b\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>:root {\n  --color-brand: #ff6b6b;\n  --color-text: #333333;\n  --color-bg: #ffffff;\n  --radius-base: 8px;\n}<\/code><\/pre><\/div>\n<h3 class=\"wp-block-heading\">\u30ed\u30fc\u30ab\u30eb\u30b9\u30b3\u30fc\u30d7\uff08\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5358\u4f4d\u3067\u5b9a\u7fa9\uff09<\/h3>\n<p class=\"wp-block-paragraph\">\u7279\u5b9a\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5185\u3060\u3051\u3067\u4f7f\u3046\u5024\u306f\u3001\u305d\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u30bb\u30ec\u30af\u30bf\u30fc\u306b\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3092\u4e0a\u66f8\u304d\u3057\u3066\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5185\u3060\u3051\u898b\u305f\u76ee\u3092\u5909\u3048\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-javascript\" data-lang=\"JavaScript\"><code>\/* \u30ab\u30fc\u30c9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5185\u3060\u3051\u80cc\u666f\u8272\u3092\u5909\u3048\u308b *\/\n.card {\n  --color-bg: #f8f9fa; \/* :root\u306e\u5024\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u4e0a\u66f8\u304d *\/\n  background-color: var(--color-bg);\n  border-radius: var(--radius-base);\n  padding: 24px;\n}<\/code><\/pre><\/div>\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a2d\u8a08\u30d1\u30bf\u30fc\u30f3\u306b\u3088\u308a\u3001<strong>\u30b0\u30ed\u30fc\u30d0\u30eb\u306a\u4e00\u8cab\u6027\u3092\u4fdd\u3061\u306a\u304c\u3089\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3054\u3068\u306e\u67d4\u8edf\u306a\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/strong>\u304c\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" href=\"https:\/\/withcode.tech\/reservation\/\" style=\"background-color:#ffbf00\"><strong>\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089\u7121\u6599\u30ab\u30a6\u30f3\u30bb\u30ea\u30f3\u30b0\u306b\u7533\u3057\u8fbc\u3080 \u2192<\/strong><\/a><\/div>\n<\/div>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<h2 class=\"wp-block-heading\">var()\u95a2\u6570\u306e\u5fdc\u7528\uff5c\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u5024\u3068\u8a08\u7b97\u5f0f\u3068\u306e\u7d44\u307f\u5408\u308f\u305b<\/h2><figure class=\"wp-block-image size-large\"><img decoding=\"async\" alt=\"var()\u95a2\u6570\u306e\u5fdc\u7528\uff5c\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u5024\u3068\u8a08\u7b97\u5f0f\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/css-custom-properties-04-v2.jpg\"\/><\/figure>\n<p class=\"wp-block-paragraph\">CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u53c2\u7167\u306b\u4f7f\u3046 <code>var()<\/code> \u95a2\u6570\u306b\u306f\u3001\u5909\u6570\u304c\u672a\u5b9a\u7fa9\u306e\u5834\u5408\u306b\u4f7f\u7528\u3059\u308b\u300c\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u5024\u300d\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001<code>calc()<\/code> \u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u67d4\u8edf\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u8a2d\u8a08\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u5024\u306e\u8a2d\u5b9a<\/h3>\n<p class=\"wp-block-paragraph\"><code>var()<\/code> \u306e\u7b2c2\u5f15\u6570\u306b\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u5909\u6570\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u306a\u3044\u74b0\u5883\u3067\u3082\u5b89\u5168\u306b\u30b9\u30bf\u30a4\u30eb\u304c\u9069\u7528\u3055\u308c\u308b\u305f\u3081\u3001<strong><span class=\"swl-marker mark_yellow\">\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f5c\u308b\u969b\u306b\u306f\u5fc5\u9808\u306e\u30c6\u30af\u30cb\u30c3\u30af<\/span><\/strong>\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-javascript\" data-lang=\"JavaScript\"><code>.button {\n  \/* --color-accent\u304c\u672a\u5b9a\u7fa9\u306e\u5834\u5408\u306f #ffbf00 \u3092\u4f7f\u7528 *\/\n  background-color: var(--color-accent, #ffbf00);\n  color: var(--color-button-text, #ffffff);\n}\n\n\/* \u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u306b\u5225\u306e\u5909\u6570\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd *\/\n.heading {\n  color: var(--color-heading, var(--color-text, #333));\n}<\/code><\/pre><\/div>\n<h3 class=\"wp-block-heading\">calc()\u3068\u306e\u7d44\u307f\u5408\u308f\u305b<\/h3>\n<p class=\"wp-block-paragraph\">\u5909\u6570\u3067\u57fa\u6e96\u5024\u3092\u5b9a\u7fa9\u3057\u3066\u304a\u304d\u3001<code>calc()<\/code> \u3067\u8a08\u7b97\u3059\u308b\u3053\u3068\u3067\u3001\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u306a\u30bf\u30a4\u30dd\u30b0\u30e9\u30d5\u30a3\u3084\u30b9\u30da\u30fc\u30b7\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-javascript\" data-lang=\"JavaScript\"><code>:root {\n  --spacing-unit: 8px;\n}\n\n.section {\n  padding: calc(var(--spacing-unit) * 4);    \/* 32px *\/\n  margin-bottom: calc(var(--spacing-unit) * 6); \/* 48px *\/\n}\n\n.icon {\n  width: calc(var(--spacing-unit) * 3);      \/* 24px *\/\n  height: calc(var(--spacing-unit) * 3);\n}<\/code><\/pre><\/div>\n<p class=\"wp-block-paragraph\">\u57fa\u6e96\u3068\u306a\u308b <code>--spacing-unit<\/code> \u3092\u5909\u3048\u308b\u3060\u3051\u3067\u3001\u95a2\u9023\u3059\u308b\u3059\u3079\u3066\u306e\u4f59\u767d\u304c\u81ea\u52d5\u7684\u306b\u66f4\u65b0\u3055\u308c\u307e\u3059\u3002\u30c7\u30b6\u30a4\u30f3\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u7bc9\u3084\u3001\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u306b\u975e\u5e38\u306b\u52b9\u679c\u7684\u3067\u3059\u3002<\/p>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<h2 class=\"wp-block-heading\">\u5b9f\u8df5\uff1a\u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u5207\u308a\u66ff\u3048\u3092CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u5b9f\u88c5\u3059\u308b<\/h2><figure class=\"wp-block-image size-large\"><img decoding=\"async\" alt=\"\u5b9f\u8df5\uff1a\u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u5207\u308a\u66ff\u3048\u3092CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u5b9f\u88c5\u3059\u308b\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/css-custom-properties-05-v2.jpg\"\/><\/figure>\n<p class=\"wp-block-paragraph\">CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u6700\u3082\u4ee3\u8868\u7684\u306a\u5fdc\u7528\u4f8b\u304c\u300c\u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u5207\u308a\u66ff\u3048\u300d\u3067\u3059\u3002<strong><span class=\"swl-marker mark_yellow\">\u30af\u30e9\u30b9\u306e\u4ed8\u3051\u66ff\u3048\u3060\u3051\u3067\u5168\u4f53\u306e\u30c6\u30fc\u30de\u30ab\u30e9\u30fc\u304c\u4e00\u62ec\u5909\u66f4\u3067\u304d\u308b<\/span><\/strong>\u306e\u306f\u3001\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306a\u3089\u3067\u306f\u306e\u30e1\u30ea\u30c3\u30c8\u3067\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">CSS\u306e\u307f\u3067\u5b9f\u88c5\u3059\u308b\u30d1\u30bf\u30fc\u30f3\uff08\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u4f7f\u7528\uff09<\/h3>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-javascript\" data-lang=\"JavaScript\"><code>:root {\n  --color-bg: #ffffff;\n  --color-text: #333333;\n  --color-surface: #f4f4f4;\n}\n\n\/* OS\u306e\u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u8a2d\u5b9a\u306b\u81ea\u52d5\u5bfe\u5fdc *\/\n@media (prefers-color-scheme: dark) {\n  :root {\n    --color-bg: #1a1a2e;\n    --color-text: #e0e0e0;\n    --color-surface: #16213e;\n  }\n}\n\nbody {\n  background-color: var(--color-bg);\n  color: var(--color-text);\n}\n\n.card {\n  background-color: var(--color-surface);\n}<\/code><\/pre><\/div>\n<h3 class=\"wp-block-heading\">JavaScript\u3067\u624b\u52d5\u5207\u308a\u66ff\u3048\u3059\u308b\u30d1\u30bf\u30fc\u30f3<\/h3>\n<p class=\"wp-block-paragraph\">\u30dc\u30bf\u30f3\u64cd\u4f5c\u3067\u30c6\u30fc\u30de\u3092\u5207\u308a\u66ff\u3048\u308b\u5834\u5408\u306f\u3001<code>data-theme<\/code> \u5c5e\u6027\u3084\u30af\u30e9\u30b9\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u65b9\u6cd5\u304c\u4e00\u822c\u7684\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* CSS\u3067\u30c6\u30fc\u30de\u3092\u5b9a\u7fa9 *\/\n:root {\n  --color-bg: #ffffff;\n  --color-text: #333333;\n}\n\n[data-theme=\"dark\"] {\n  --color-bg: #1a1a2e;\n  --color-text: #e0e0e0;\n}<\/code><\/pre><\/div>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-javascript\" data-lang=\"JavaScript\"><code>\/\/ JavaScript\u3067data-theme\u5c5e\u6027\u3092\u5207\u308a\u66ff\u3048\nconst toggleBtn = document.getElementById('theme-toggle');\ntoggleBtn.addEventListener('click', () =&gt; {\n  const current = document.documentElement.getAttribute('data-theme');\n  document.documentElement.setAttribute(\n    'data-theme',\n    current === 'dark' ? 'light' : 'dark'\n  );\n});<\/code><\/pre><\/div>\n<p class=\"wp-block-paragraph\">CSS\u5909\u6570\u306e\u5024\u3060\u3051\u3092\u5207\u308a\u66ff\u3048\u308b\u306e\u3067\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5074\u306eCSS\u306f\u4e00\u5207\u5909\u66f4\u4e0d\u8981\u3002<strong>\u30b3\u30fc\u30c9\u306e\u5909\u66f4\u7b87\u6240\u304c\u6700\u5c0f\u9650\u3067\u6e08\u307f\u3001\u30d0\u30b0\u304c\u767a\u751f\u3057\u306b\u304f\u3044\u8a2d\u8a08<\/strong>\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" href=\"https:\/\/withcode.tech\/reservation\/\" style=\"background-color:#ffbf00\"><strong>\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089\u7121\u6599\u30ab\u30a6\u30f3\u30bb\u30ea\u30f3\u30b0\u306b\u7533\u3057\u8fbc\u3080 \u2192<\/strong><\/a><\/div>\n<\/div>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<h2 class=\"wp-block-heading\">\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u306e\u305f\u3081\u306e\u547d\u540d\u898f\u5247\u3068\u7ba1\u7406\u30eb\u30fc\u30eb<\/h2><figure class=\"wp-block-image size-large\"><img decoding=\"async\" alt=\"\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u306e\u305f\u3081\u306e\u547d\u540d\u898f\u5247\u3068\u7ba1\u7406\u30eb\u30fc\u30eb\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/css-custom-properties-06-v2.jpg\"\/><\/figure>\n<p class=\"wp-block-paragraph\">\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5f37\u307f\u3092\u6700\u5927\u9650\u306b\u6d3b\u304b\u3059\u306b\u306f\u3001<strong><span class=\"swl-marker mark_yellow\">\u547d\u540d\u898f\u5247\u3068\u7ba1\u7406\u30eb\u30fc\u30eb\u3092\u6700\u521d\u306b\u6c7a\u3081\u3066\u304a\u304f\u3053\u3068\u304c\u4e0d\u53ef\u6b20<\/span><\/strong>\u3067\u3059\u3002\u30c1\u30fc\u30e0\u958b\u767a\u3067\u306f\u7279\u306b\u3001\u8ab0\u304c\u898b\u3066\u3082\u610f\u5473\u304c\u308f\u304b\u308b\u547d\u540d\u304c\u4fdd\u5b88\u6027\u3092\u5de6\u53f3\u3057\u307e\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u63a8\u5968\u3059\u308b\u547d\u540d\u30d1\u30bf\u30fc\u30f3<\/h3>\n<ul class=\"wp-block-list\">\n<li><strong>\u30ab\u30c6\u30b4\u30ea\u30fc-\u5f79\u5272-\u72b6\u614b\uff1a<\/strong><code>--color-primary<\/code>\u3001<code>--color-primary-hover<\/code>\u3001<code>--color-text-muted<\/code> \u306e\u3088\u3046\u306b\u30ab\u30c6\u30b4\u30ea\u30fc\u3092\u5148\u982d\u306b\u7f6e\u304f<\/li>\n<li><strong>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u30b9\u30b3\u30fc\u30d7\u5909\u6570\u306f\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u4ed8\u3051\u308b\uff1a<\/strong><code>--btn-bg<\/code>\u3001<code>--card-padding<\/code> \u306e\u3088\u3046\u306b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u540d\u3092\u63a5\u982d\u8f9e\u306b\u3059\u308b<\/li>\n<li><strong>\u30bb\u30de\u30f3\u30c6\u30a3\u30c3\u30af\u306a\u540d\u524d\u3092\u512a\u5148\uff1a<\/strong><code>--color-red<\/code> \u3088\u308a <code>--color-danger<\/code>\u3001<code>--color-blue<\/code> \u3088\u308a <code>--color-link<\/code> \u306e\u307b\u3046\u304c\u610f\u56f3\u304c\u4f1d\u308f\u308b<\/li>\n<li><strong>\u30b9\u30b1\u30fc\u30eb\u7cfb\u306f\u6570\u5024\u30b5\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u4f7f\u3046\uff1a<\/strong><code>--font-size-sm<\/code>\u30fb<code>--font-size-md<\/code>\u30fb<code>--font-size-lg<\/code> \u3084 <code>--spacing-2<\/code>\u30fb<code>--spacing-4<\/code> \u306a\u3069\u6bb5\u968e\u7684\u306b\u5b9a\u7fa9\u3059\u308b<\/li>\n<\/ul>\n<h3 class=\"wp-block-heading\">\u30c7\u30b6\u30a4\u30f3\u30c8\u30fc\u30af\u30f3\u3068\u3057\u3066\u7ba1\u7406\u3059\u308b<\/h3>\n<p class=\"wp-block-paragraph\">\u898f\u6a21\u306e\u5927\u304d\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u300c\u30c7\u30b6\u30a4\u30f3\u30c8\u30fc\u30af\u30f3\u300d\u3068\u3057\u30661\u30d5\u30a1\u30a4\u30eb\uff08\u4f8b\uff1a<code>tokens.css<\/code>\uff09\u306b\u96c6\u7d04\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* tokens.css *\/\n:root {\n  \/* ===== Color Tokens ===== *\/\n  --color-brand-primary: #3a86ff;\n  --color-brand-secondary: #ff6b6b;\n  --color-text-default: #333333;\n  --color-text-muted: #888888;\n  --color-bg-default: #ffffff;\n  --color-bg-surface: #f8f9fa;\n  --color-border: #dddddd;\n\n  \/* ===== Typography Tokens ===== *\/\n  --font-family-base: 'Noto Sans JP', sans-serif;\n  --font-size-xs: 12px;\n  --font-size-sm: 14px;\n  --font-size-md: 16px;\n  --font-size-lg: 20px;\n  --font-size-xl: 24px;\n  --font-size-2xl: 32px;\n  --line-height-base: 1.7;\n\n  \/* ===== Spacing Tokens ===== *\/\n  --spacing-1: 4px;\n  --spacing-2: 8px;\n  --spacing-4: 16px;\n  --spacing-6: 24px;\n  --spacing-8: 32px;\n  --spacing-12: 48px;\n\n  \/* ===== Border &amp; Radius ===== *\/\n  --radius-sm: 4px;\n  --radius-md: 8px;\n  --radius-lg: 16px;\n  --radius-full: 9999px;\n\n  \/* ===== Shadow ===== *\/\n  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);\n  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);\n}<\/code><\/pre><\/div>\n<p class=\"wp-block-paragraph\">\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u6700\u521d\u306b\u8aad\u307f\u8fbc\u3093\u3067\u304a\u3051\u3070\u3001\u3042\u3068\u306f\u3059\u3079\u3066\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304b\u3089\u30c8\u30fc\u30af\u30f3\u3092\u53c2\u7167\u3059\u308b\u3060\u3051\u3002<strong>\u30c7\u30b6\u30a4\u30f3\u5909\u66f4\u306e\u5f71\u97ff\u7bc4\u56f2\u304c\u660e\u78ba\u306b\u306a\u308a\u3001\u4fee\u6b63\u30b3\u30b9\u30c8\u3092\u5927\u5e45\u306b\u524a\u6e1b<\/strong>\u3067\u304d\u307e\u3059\u3002<\/p>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<h2 class=\"wp-block-heading\">\u3088\u304f\u3042\u308b\u843d\u3068\u3057\u7a74\u3068\u6ce8\u610f\u70b9<\/h2><figure class=\"wp-block-image size-large\"><img decoding=\"async\" alt=\"\u3088\u304f\u3042\u308b\u843d\u3068\u3057\u7a74\u3068\u6ce8\u610f\u70b9\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/css-custom-properties-07-v2.jpg\"\/><\/figure>\n<p class=\"wp-block-paragraph\">CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3046\u4e0a\u3067\u3001\u521d\u5fc3\u8005\u304c\u3064\u307e\u305a\u304d\u3084\u3059\u3044\u30dd\u30a4\u30f3\u30c8\u3092\u6574\u7406\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u6ce8\u610f\u3059\u3079\u304d3\u3064\u306e\u30dd\u30a4\u30f3\u30c8<\/h3>\n<ul class=\"wp-block-list\">\n<li><strong>\u5927\u6587\u5b57\u30fb\u5c0f\u6587\u5b57\u306f\u533a\u5225\u3055\u308c\u308b\uff1a<\/strong><code>--Color-Primary<\/code> \u3068 <code>--color-primary<\/code> \u306f\u5225\u306e\u5909\u6570\u3068\u3057\u3066\u6271\u308f\u308c\u307e\u3059\u3002\u547d\u540d\u306f\u7d71\u4e00\u30eb\u30fc\u30eb\u3067\u5c0f\u6587\u5b57\u30b1\u30d0\u30d6\u30b1\u30fc\u30b9\uff08<code>--color-primary<\/code>\uff09\u306b\u63c3\u3048\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002<\/li>\n<li><strong>shorthand\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u90e8\u5206\u7684\u306b\u4f7f\u3046\u5834\u5408\u306f\u6ce8\u610f\uff1a<\/strong><code>border: var(--border-width) solid var(--color-border)<\/code> \u306e\u3088\u3046\u306b\u5206\u5272\u3057\u3066\u8a18\u8ff0\u3057\u306a\u3044\u3068\u3001\u610f\u56f3\u3057\u306a\u3044\u7d50\u679c\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li><strong>\u672a\u5b9a\u7fa9\u306e\u5909\u6570\u306finherit\u3055\u308c\u306a\u3044\uff1a<\/strong>\u5909\u6570\u304c\u672a\u5b9a\u7fa9\u306e\u307e\u307e <code>var()<\/code> \u3067\u53c2\u7167\u3059\u308b\u3068\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u5168\u4f53\u304c\u7121\u52b9\uff08<code>unset<\/code>\u76f8\u5f53\uff09\u306b\u306a\u308a\u307e\u3059\u3002\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u304b\u3001<code>@property<\/code> \u30eb\u30fc\u30eb\u3067\u578b\u5b9a\u7fa9\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/li>\n<\/ul>\n<h3 class=\"wp-block-heading\">@property\u3067\u578b\u3092\u5b9a\u7fa9\u3059\u308b\uff08\u30e2\u30c0\u30f3\u306a\u66f8\u304d\u65b9\uff09<\/h3>\n<p class=\"wp-block-paragraph\"><strong><span class=\"swl-marker mark_yellow\">Chrome\u30fbEdge\u30fbSafari\u306a\u3069\u4e3b\u8981\u30d6\u30e9\u30a6\u30b6\u304c\u5bfe\u5fdc\u6e08\u307f\u306e <code>@property<\/code> \u3092\u4f7f\u3046\u3068\u3001\u5909\u6570\u306e\u578b\u30fb\u521d\u671f\u5024\u30fb\u7d99\u627f\u306e\u6709\u7121\u3092\u660e\u793a\u3067\u304d\u308b<\/span><\/strong>\u305f\u3081\u3001\u3088\u308a\u5805\u7262\u306a\u8a2d\u8a08\u304c\u5b9f\u73fe\u3057\u307e\u3059\u3002\u7279\u306bCSS\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\uff08<code>@keyframes<\/code>\uff09\u3067\u5909\u6570\u3092\u88dc\u9593\u3057\u305f\u3044\u5834\u5408\u306b\u6709\u52b9\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-javascript\" data-lang=\"JavaScript\"><code>@property --progress-value {\n  syntax: '&lt;number&gt;';\n  inherits: false;\n  initial-value: 0;\n}\n\n.progress-bar {\n  --progress-value: 75;\n  width: calc(var(--progress-value) * 1%);\n  transition: --progress-value 0.5s ease;\n}<\/code><\/pre><\/div>\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" href=\"https:\/\/withcode.tech\/reservation\/\" style=\"background-color:#ffbf00\"><strong>\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089\u7121\u6599\u30ab\u30a6\u30f3\u30bb\u30ea\u30f3\u30b0\u306b\u7533\u3057\u8fbc\u3080 \u2192<\/strong><\/a><\/div>\n<\/div>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2><figure class=\"wp-block-image size-large\"><img decoding=\"async\" alt=\"\u307e\u3068\u3081\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/css-custom-properties-08-v2.jpg\"\/><\/figure>\n<p class=\"wp-block-paragraph\">CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001Sass\u306a\u3069\u306e\u30d3\u30eb\u30c9\u30c4\u30fc\u30eb\u306b\u983c\u3089\u305a\u306b\u300c\u5024\u306e\u4e00\u5143\u7ba1\u7406\u300d\u300c\u52d5\u7684\u306a\u5909\u66f4\u300d\u300c\u30c6\u30fc\u30de\u8a2d\u8a08\u300d\u3092\u5b9f\u73fe\u3067\u304d\u308b\u5f37\u529b\u306a\u6a5f\u80fd\u3067\u3059\u3002\u6700\u521d\u306f\u5909\u6570\u306e\u5b9a\u7fa9\u3068\u53c2\u7167\u3060\u3051\u3092\u899a\u3048\u308b\u3060\u3051\u3067\u3082\u3001\u30b9\u30bf\u30a4\u30eb\u306e\u4fdd\u5b88\u6027\u306f\u683c\u6bb5\u306b\u4e0a\u304c\u308a\u307e\u3059\u3002\u307e\u305a\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u3068\u57fa\u672c\u30b9\u30da\u30fc\u30b7\u30f3\u30b0\u3092\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u304b\u3089\u59cb\u3081\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p class=\"is-style-big_icon_point wp-block-paragraph\"><strong>\u30fb\u30dd\u30a4\u30f3\u30c81<\/strong>\uff1aCSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306f <code>--\u30d7\u30ed\u30d1\u30c6\u30a3\u540d: \u5024<\/code> \u3067\u5b9a\u7fa9\u3057\u3001<code>var()<\/code> \u3067\u53c2\u7167\u3059\u308b\u3002<code>:root<\/code> \u306b\u66f8\u3051\u3070\u30b5\u30a4\u30c8\u5168\u4f53\u3067\u4f7f\u3048\u308b\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u306b\u306a\u308b<br\/><strong>\u30fb\u30dd\u30a4\u30f3\u30c82<\/strong>\uff1a\u30b9\u30b3\u30fc\u30d7\u306fDOM\u30c4\u30ea\u30fc\u306b\u57fa\u3065\u304f\u305f\u3081\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5358\u4f4d\u3067\u30ed\u30fc\u30ab\u30eb\u5909\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u3067\u67d4\u8edf\u306a\u4e0a\u66f8\u304d\u304c\u53ef\u80fd\u3002\u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u3084\u30c6\u30fc\u30de\u5207\u308a\u66ff\u3048\u3068\u306e\u76f8\u6027\u3082\u629c\u7fa4<br\/><strong>\u30fb\u30dd\u30a4\u30f3\u30c83<\/strong>\uff1a\u547d\u540d\u898f\u5247\u3092\u7d71\u4e00\u3057\u30c7\u30b6\u30a4\u30f3\u30c8\u30fc\u30af\u30f3\u30d5\u30a1\u30a4\u30eb\u306b\u96c6\u7d04\u3059\u308b\u3053\u3068\u3067\u3001\u30c1\u30fc\u30e0\u958b\u767a\u3067\u306e\u4fdd\u5b88\u6027\u30fb\u4e00\u8cab\u6027\u304c\u5927\u5e45\u306b\u5411\u4e0a\u3059\u308b<\/p>\n<p class=\"wp-block-paragraph\"><strong><span class=\"swl-marker mark_yellow\">CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u30de\u30b9\u30bf\u30fc\u3059\u308b\u3053\u3068\u306f\u3001\u300c\u4fee\u6b63\u306b\u5f37\u3044\u30b3\u30fc\u30c9\u300d\u3092\u66f8\u304f\u7b2c\u4e00\u6b69\u3002\u4eca\u65e5\u304b\u3089\u81ea\u5206\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u53d6\u308a\u5165\u308c\u3066\u3001\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u3092\u5b9f\u8df5\u3057\u3066\u307f\u307e\u3057\u3087\u3046\uff01<\/span><\/strong><\/p>\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<!-- withmedia-faq -->\n<h2 class=\"wp-block-heading\">\u3088\u304f\u3042\u308b\u8cea\u554f\uff08FAQ\uff09<\/h2><figure class=\"wp-block-image size-large\"><img decoding=\"async\" alt=\"\u3088\u304f\u3042\u308b\u8cea\u554f\uff08FAQ\uff09\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/css-custom-properties-09-v2.jpg\"\/><\/figure>\n\n\n<h3 class=\"wp-block-heading\">Q1. CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3069\u3046\u66f8\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n\n<p class=\"wp-block-paragraph\"><strong>A.<\/strong> \u30d7\u30ed\u30d1\u30c6\u30a3\u540d\u306e\u5148\u982d\u306b\u5fc5\u305a\u300c&#8211;\u300d\uff08\u30c0\u30d6\u30eb\u30cf\u30a4\u30d5\u30f3\uff09\u3092\u4ed8\u3051\u3066\u5b9a\u7fa9\u3057\u3001var()\u95a2\u6570\u3067\u53c2\u7167\u3057\u307e\u3059\u3002:root\u7591\u4f3c\u30af\u30e9\u30b9\u306b\u5b9a\u7fa9\u3059\u308b\u3068\u3001HTML\u6587\u66f8\u5168\u4f53\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3068\u3057\u3066\u6a5f\u80fd\u3057\u307e\u3059\u3002<\/p>\n\n\n<h3 class=\"wp-block-heading\">Q2. Sass\u5909\u6570\u3068CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u9055\u3044\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h3>\n\n\n<p class=\"wp-block-paragraph\"><strong>A.<\/strong> \u6700\u5927\u306e\u9055\u3044\u306f\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u5024\u304c\u5909\u308f\u308b\u70b9\u3067\u3059\u3002Sass\u5909\u6570\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u9759\u7684\u306b\u6c7a\u307e\u308aJavaScript\u304b\u3089\u64cd\u4f5c\u3067\u304d\u307e\u305b\u3093\u304c\u3001CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u30d6\u30e9\u30a6\u30b6\u5b9f\u884c\u6642\u306b\u52d5\u7684\u306b\u5909\u5316\u3057\u3001JavaScript\u304b\u3089\u64cd\u4f5c\u3067\u304d\u3001\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u5185\u3067\u306e\u518d\u5b9a\u7fa9\u3082\u53ef\u80fd\u3067\u3001\u30d3\u30eb\u30c9\u30c4\u30fc\u30eb\u3082\u4e0d\u8981\u3067\u3059\u3002<\/p>\n\n\n<h3 class=\"wp-block-heading\">Q3. \u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u306e\u5207\u308a\u66ff\u3048\u306b\u4f7f\u3048\u307e\u3059\u304b\uff1f<\/h3>\n\n\n<p class=\"wp-block-paragraph\"><strong>A.<\/strong> \u4f7f\u3048\u307e\u3059\u3002CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u6700\u3082\u4ee3\u8868\u7684\u306a\u5fdc\u7528\u4f8b\u304c\u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u5207\u308a\u66ff\u3048\u3067\u3059\u3002\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3067\u306e\u81ea\u52d5\u5207\u308a\u66ff\u3048\u3084\u3001data-theme\u5c5e\u6027\u3084\u30af\u30e9\u30b9\u3092\u4ed8\u3051\u66ff\u3048\u3066JavaScript\u3067\u624b\u52d5\u5207\u308a\u66ff\u3048\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u3001CSS\u5909\u6570\u306e\u5024\u3060\u3051\u3092\u5207\u308a\u66ff\u3048\u308b\u305f\u3081\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5074\u306eCSS\u306f\u5909\u66f4\u4e0d\u8981\u3067\u3059\u3002<\/p>\n\n\n<h3 class=\"wp-block-heading\">Q4. \u5909\u6570\u306e\u547d\u540d\u898f\u5247\u3067\u63a8\u5968\u3055\u308c\u308b\u30d1\u30bf\u30fc\u30f3\u306f\u3042\u308a\u307e\u3059\u304b\uff1f<\/h3>\n\n\n<p class=\"wp-block-paragraph\"><strong>A.<\/strong> \u300c\u30ab\u30c6\u30b4\u30ea\u30fc-\u5f79\u5272-\u72b6\u614b\u300d\uff08\u4f8b\uff1a&#8211;color-primary-hover\uff09\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u30b9\u30b3\u30fc\u30d7\u5909\u6570\u306b\u306f\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u4ed8\u3051\u308b\uff08\u4f8b\uff1a&#8211;btn-bg\uff09\u3001&#8211;color-red\u3088\u308a&#8211;color-danger\u306e\u3088\u3046\u306b\u30bb\u30de\u30f3\u30c6\u30a3\u30c3\u30af\u306a\u540d\u524d\u3092\u512a\u5148\u3059\u308b\u3001\u30b9\u30b1\u30fc\u30eb\u7cfb\u306f&#8211;font-size-sm\u306e\u3088\u3046\u306b\u6570\u5024\u30fb\u6bb5\u968e\u30b5\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u4f7f\u3046\u3001\u3068\u3044\u3063\u305f\u30d1\u30bf\u30fc\u30f3\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<h3 class=\"wp-block-heading\">Q5. \u4f7f\u3046\u4e0a\u3067\u306e\u6ce8\u610f\u70b9\u306f\u3042\u308a\u307e\u3059\u304b\uff1f<\/h3>\n\n\n<p class=\"wp-block-paragraph\"><strong>A.<\/strong> \u5927\u6587\u5b57\u30fb\u5c0f\u6587\u5b57\u306f\u533a\u5225\u3055\u308c\u308b\u305f\u3081\u5c0f\u6587\u5b57\u30b1\u30d0\u30d6\u30b1\u30fc\u30b9\u306b\u7d71\u4e00\u3059\u308b\u3001shorthand\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u90e8\u5206\u7684\u306b\u4f7f\u3046\u5834\u5408\u306f\u5206\u5272\u3057\u3066\u8a18\u8ff0\u3059\u308b\u3001\u672a\u5b9a\u7fa9\u306e\u5909\u6570\u3092var()\u3067\u53c2\u7167\u3059\u308b\u3068\u30d7\u30ed\u30d1\u30c6\u30a3\u5168\u4f53\u304c\u7121\u52b9\u306b\u306a\u308b\u305f\u3081\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u304b@property\u3067\u578b\u5b9a\u7fa9\u3059\u308b\u3001\u3068\u3044\u3063\u305f\u70b9\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<!-- withmedia-related -->\n<h2 class=\"wp-block-heading\">\u95a2\u9023\u8a18\u4e8b<\/h2><figure class=\"wp-block-image size-large\"><img decoding=\"async\" alt=\"\u95a2\u9023\u8a18\u4e8b\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/css-custom-properties-10-v2.jpg\"\/><\/figure>\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/withcode.tech\/media\/engineer_hard_work\">\u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u3011\u304d\u3064\u304f\u3066\u5927\u5909\uff01\u514b\u670d\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\uff01<\/a><\/li>\n<li><a href=\"https:\/\/withcode.tech\/media\/web_product_develop_difference\">\u3010\u3053\u3093\u306a\u306b\u9055\u3046\uff01\u3011Web\u5236\u4f5c\u3068Web\u958b\u767a\u306e\u9055\u3044\u3092\u6bd4\u8f03\uff01<\/a><\/li>\n<li><a href=\"https:\/\/withcode.tech\/media\/web-engineer-future\/\">\u3010\u73fe\u5f79IT\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u89e3\u8aac\u3011Web\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5c06\u6765\u306f\uff1f\u958b\u767a\u73fe\u5834\u306e\u73fe\u72b6\u3082\u5408\u308f\u305b\u3066\u89e3\u8aac\uff01<\/a><\/li>\n<li><a href=\"https:\/\/withcode.tech\/media\/wordpress-discord-integration\/\">WordPress\u3068Discord\u3092\u9023\u643a\u3055\u305b\u308b\u306b\u306f\uff1f\u52b9\u679c\u7684\u306a\u7d71\u5408\u65b9\u6cd5\u3092\u89e3\u8aac<\/a><\/li>\n<li><a href=\"https:\/\/withcode.tech\/media\/wordpress-custom-post-type\/\">WordPress\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u3068\u306f\uff1f\u30d7\u30e9\u30b0\u30a4\u30f3\u300cCustom Post Type UI\u300d\u3067\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\u3092\u5fb9\u5e95\u89e3\u8aac\uff01<\/a><\/li>\n<\/ul>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<!-- withmedia-references -->\n<h2 class=\"wp-block-heading\">\u53c2\u8003\u30ea\u30f3\u30af\uff08\u516c\u5f0f\u30fb\u4e00\u6b21\u60c5\u5831\uff09<\/h2><figure class=\"wp-block-image size-large\"><img decoding=\"async\" alt=\"\u53c2\u8003\u30ea\u30f3\u30af\uff08\u516c\u5f0f\u30fb\u4e00\u6b21\u60c5\u5831\uff09\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/css-custom-properties-11-v2.jpg\"\/><\/figure>\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/ja.wordpress.org\/support\/\" rel=\"noopener noreferrer\" target=\"_blank\">WordPress \u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a><\/li>\n<li><a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Web\/HTML\" rel=\"noopener noreferrer\" target=\"_blank\">MDN Web Docs \u2014 HTML<\/a><\/li>\n<li><a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Web\/CSS\" rel=\"noopener noreferrer\" target=\"_blank\">MDN Web Docs \u2014 CSS<\/a><\/li>\n<li><a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Web\/JavaScript\" rel=\"noopener noreferrer\" target=\"_blank\">MDN Web Docs \u2014 JavaScript<\/a><\/li>\n<\/ul>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<!-- addon:ilink-yb-v1 -->\n<p>\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044\uff1a<a href=\"https:\/\/withcode.tech\/media\/web-design-multiples-of-8\/\">8\u306e\u500d\u6570\u3067\u4f59\u767d\u3092\u7d71\u4e00\u3059\u308b\u30c7\u30b6\u30a4\u30f3\u8a2d\u8a08\u30ac\u30a4\u30c9<\/a><\/p>\n<h2 class=\"wp-block-heading\">AI\u30b9\u30ad\u30eb\u3067\u3001\u672a\u6765\u306e\u81ea\u5206\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\uff01<\/h2>\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/s.lmes.jp\/landing-qr\/2010578884-C5To3Fmv?uLand=phzKXf\" rel=\"noopener noreferrer\" target=\"_blank\"><img decoding=\"async\" width=\"1254\" height=\"1254\" alt=\"\u4eca\u306a\u3089\u5b8c\u5168\u7121\u6599\u3067AI\u3092\u5b66\u3079\u308b\uff01WithAI\" class=\"wp-image-18841\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/07\/withai-cta-banner.jpg\" style=\"max-width:600px;width:100%;height:auto\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/07\/withai-cta-banner.jpg 1254w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/07\/withai-cta-banner-768x768.jpg 768w\" sizes=\"(max-width: 1254px) 100vw, 1254px\" \/><\/a><\/figure>\n<h3 class=\"wp-block-heading\">\u4eca\u306a\u3089\u5b8c\u5168\u7121\u6599\u3067AI\u3092\u5b66\u3079\u308b\uff01<\/h3>\n<ul class=\"wp-block-list\">\n<li><strong>\u52d5\u753b\u3084\u5b9f\u8df5\u3067\u697d\u3057\u304f\u5b66\u3079\u308b<\/strong>\uff1a\u521d\u5fc3\u8005\u3067\u3082\u5b89\u5fc3\u306e\u30ab\u30ea\u30ad\u30e5\u30e9\u30e0<\/li>\n<li><strong>\u30b9\u30de\u30db\u30fbPC\u3069\u3061\u3089\u3067\u3082OK<\/strong>\uff1a\u597d\u304d\u306a\u6642\u9593\u306b\u5b66\u7fd2\u3067\u304d\u308b<\/li>\n<li><strong>\u6599\u91d1\u306f\u4e00\u5207\u30ca\u30b7<\/strong>\uff1a<span class=\"swl-marker mark_yellow\">0\u5186\u3067AI\u30b9\u30ad\u30eb\u304c\u8eab\u306b\u3064\u304f<\/span><\/li>\n<\/ul>\n<p>\u76ee\u7684\u306b\u5408\u308f\u305b\u3066\u9078\u3079\u308b\u300cAI\u526f\u696d\u300d\u300cAI\u8ee2\u8077\u300d\u300cAI\u6d3b\u7528\u300d\u306e3\u30b3\u30fc\u30b9\u3092\u7528\u610f\u3002\u526f\u53ce\u5165\u30fb\u30ad\u30e3\u30ea\u30a2\u30c1\u30a7\u30f3\u30b8\u30fb\u65e5\u5e38\u306e\u751f\u7523\u6027\u30a2\u30c3\u30d7\u307e\u3067\u3001\u3042\u306a\u305f\u306e\u30b4\u30fc\u30eb\u306b\u5408\u308f\u305b\u3066AI\u3092\u5b66\u3079\u307e\u3059\u3002<\/p>\n<p>\u4f1a\u54e1\u767b\u9332\u306f\u30ab\u30f3\u30bf\u30f330\u79d2\u3067\u5b8c\u4e86\u3057\u307e\u3059\u3002\u307e\u305a\u306f\u516c\u5f0fLINE\u304b\u3089\u3001\u7121\u6599\u3067AI\u5b66\u7fd2\u3092\u30b9\u30bf\u30fc\u30c8\u3057\u307e\u3057\u3087\u3046\uff01<\/p>\n<div class=\"wp-block-buttons\"><div class=\"wp-block-button\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" href=\"https:\/\/s.lmes.jp\/landing-qr\/2010578884-C5To3Fmv?uLand=phzKXf\" rel=\"noopener noreferrer\" style=\"background-color:#06c755\" target=\"_blank\"><strong>\u516c\u5f0fLINE\u304b\u3089\u5b66\u7fd2\u3092\u30b9\u30bf\u30fc\u30c8<\/strong><\/a><\/div><\/div>\n\n<!-- withmedia-faq-schema -->\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [\n    {\n      \"@type\": \"Question\",\n      \"name\": \"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3069\u3046\u66f8\u304d\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u30d7\u30ed\u30d1\u30c6\u30a3\u540d\u306e\u5148\u982d\u306b\u5fc5\u305a\u300c--\u300d\uff08\u30c0\u30d6\u30eb\u30cf\u30a4\u30d5\u30f3\uff09\u3092\u4ed8\u3051\u3066\u5b9a\u7fa9\u3057\u3001var()\u95a2\u6570\u3067\u53c2\u7167\u3057\u307e\u3059\u3002:root\u7591\u4f3c\u30af\u30e9\u30b9\u306b\u5b9a\u7fa9\u3059\u308b\u3068\u3001HTML\u6587\u66f8\u5168\u4f53\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3068\u3057\u3066\u6a5f\u80fd\u3057\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Sass\u5909\u6570\u3068CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u9055\u3044\u306f\u4f55\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u6700\u5927\u306e\u9055\u3044\u306f\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u5024\u304c\u5909\u308f\u308b\u70b9\u3067\u3059\u3002Sass\u5909\u6570\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u9759\u7684\u306b\u6c7a\u307e\u308aJavaScript\u304b\u3089\u64cd\u4f5c\u3067\u304d\u307e\u305b\u3093\u304c\u3001CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u30d6\u30e9\u30a6\u30b6\u5b9f\u884c\u6642\u306b\u52d5\u7684\u306b\u5909\u5316\u3057\u3001JavaScript\u304b\u3089\u64cd\u4f5c\u3067\u304d\u3001\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u5185\u3067\u306e\u518d\u5b9a\u7fa9\u3082\u53ef\u80fd\u3067\u3001\u30d3\u30eb\u30c9\u30c4\u30fc\u30eb\u3082\u4e0d\u8981\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u306e\u5207\u308a\u66ff\u3048\u306b\u4f7f\u3048\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u4f7f\u3048\u307e\u3059\u3002CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u6700\u3082\u4ee3\u8868\u7684\u306a\u5fdc\u7528\u4f8b\u304c\u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u5207\u308a\u66ff\u3048\u3067\u3059\u3002\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3067\u306e\u81ea\u52d5\u5207\u308a\u66ff\u3048\u3084\u3001data-theme\u5c5e\u6027\u3084\u30af\u30e9\u30b9\u3092\u4ed8\u3051\u66ff\u3048\u3066JavaScript\u3067\u624b\u52d5\u5207\u308a\u66ff\u3048\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u3001CSS\u5909\u6570\u306e\u5024\u3060\u3051\u3092\u5207\u308a\u66ff\u3048\u308b\u305f\u3081\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5074\u306eCSS\u306f\u5909\u66f4\u4e0d\u8981\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u5909\u6570\u306e\u547d\u540d\u898f\u5247\u3067\u63a8\u5968\u3055\u308c\u308b\u30d1\u30bf\u30fc\u30f3\u306f\u3042\u308a\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u300c\u30ab\u30c6\u30b4\u30ea\u30fc-\u5f79\u5272-\u72b6\u614b\u300d\uff08\u4f8b\uff1a--color-primary-hover\uff09\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u30b9\u30b3\u30fc\u30d7\u5909\u6570\u306b\u306f\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u4ed8\u3051\u308b\uff08\u4f8b\uff1a--btn-bg\uff09\u3001--color-red\u3088\u308a--color-danger\u306e\u3088\u3046\u306b\u30bb\u30de\u30f3\u30c6\u30a3\u30c3\u30af\u306a\u540d\u524d\u3092\u512a\u5148\u3059\u308b\u3001\u30b9\u30b1\u30fc\u30eb\u7cfb\u306f--font-size-sm\u306e\u3088\u3046\u306b\u6570\u5024\u30fb\u6bb5\u968e\u30b5\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u4f7f\u3046\u3001\u3068\u3044\u3063\u305f\u30d1\u30bf\u30fc\u30f3\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u4f7f\u3046\u4e0a\u3067\u306e\u6ce8\u610f\u70b9\u306f\u3042\u308a\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u5927\u6587\u5b57\u30fb\u5c0f\u6587\u5b57\u306f\u533a\u5225\u3055\u308c\u308b\u305f\u3081\u5c0f\u6587\u5b57\u30b1\u30d0\u30d6\u30b1\u30fc\u30b9\u306b\u7d71\u4e00\u3059\u308b\u3001shorthand\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u90e8\u5206\u7684\u306b\u4f7f\u3046\u5834\u5408\u306f\u5206\u5272\u3057\u3066\u8a18\u8ff0\u3059\u308b\u3001\u672a\u5b9a\u7fa9\u306e\u5909\u6570\u3092var()\u3067\u53c2\u7167\u3059\u308b\u3068\u30d7\u30ed\u30d1\u30c6\u30a3\u5168\u4f53\u304c\u7121\u52b9\u306b\u306a\u308b\u305f\u3081\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u304b@property\u3067\u578b\u5b9a\u7fa9\u3059\u308b\u3001\u3068\u3044\u3063\u305f\u70b9\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002\"\n      }\n    }\n  ]\n}\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u5b9a\u7fa9\u30fb\u53c2\u7167\u30fb\u30b9\u30b3\u30fc\u30d7\u30fb\u30c6\u30fc\u30de\u5207\u308a\u66ff\u3048\u307e\u3067\u5b9f\u4f8b\u4ed8\u304d\u3067\u89e3\u8aac\u3002\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u3092\u8eab\u306b\u3064\u3051\u305f\u3044\u65b9\u306b\u5411\u3051\u305f\u5b9f\u8df5\u30ac\u30a4\u30c9\u3067\u3059\u3002<\/p>\n","protected":false},"author":18,"featured_media":24821,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"swell_btn_cv_data":"","footnotes":"","vk-ltc-link":"","vk-ltc-target":""},"categories":[34],"tags":[],"class_list":["post-13721","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u5b9a\u7fa9\u30fb\u53c2\u7167\u30fb\u30b9\u30b3\u30fc\u30d7\u30fb\u30c6\u30fc\u30de\u5207\u308a\u66ff\u3048\u307e\u3067\u5b9f\u4f8b\u4ed8\u304d\u3067\u89e3\u8aac\u3002\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u3092\u8eab\u306b\u3064\u3051\u305f\u3044\u65b9\u306b\u5411\u3051\u305f\u5b9f\u8df5\u30ac\u30a4\u30c9\u3067\u3059\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"\u7530\u4e2d\u8aa0\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/withcode.tech\/media\/css-custom-properties\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"WithMedia\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u4f7f\u3044\u65b9\uff5c\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u306e\u5b9f\u8df5\u30ac\u30a4\u30c9\" \/>\n\t\t<meta property=\"og:description\" content=\"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u5b9a\u7fa9\u30fb\u53c2\u7167\u30fb\u30b9\u30b3\u30fc\u30d7\u30fb\u30c6\u30fc\u30de\u5207\u308a\u66ff\u3048\u307e\u3067\u5b9f\u4f8b\u4ed8\u304d\u3067\u89e3\u8aac\u3002\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u3092\u8eab\u306b\u3064\u3051\u305f\u3044\u65b9\u306b\u5411\u3051\u305f\u5b9f\u8df5\u30ac\u30a4\u30c9\u3067\u3059\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/withcode.tech\/media\/css-custom-properties\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/withcode.tech_-scaled.webp\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/withcode.tech_-scaled.webp\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-06-22T18:01:38+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-09-21T05:28:49+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@withcode_tech\" \/>\n\t\t<meta name=\"twitter:title\" content=\"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u4f7f\u3044\u65b9\uff5c\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u306e\u5b9f\u8df5\u30ac\u30a4\u30c9\" \/>\n\t\t<meta name=\"twitter:description\" content=\"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u5b9a\u7fa9\u30fb\u53c2\u7167\u30fb\u30b9\u30b3\u30fc\u30d7\u30fb\u30c6\u30fc\u30de\u5207\u308a\u66ff\u3048\u307e\u3067\u5b9f\u4f8b\u4ed8\u304d\u3067\u89e3\u8aac\u3002\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u3092\u8eab\u306b\u3064\u3051\u305f\u3044\u65b9\u306b\u5411\u3051\u305f\u5b9f\u8df5\u30ac\u30a4\u30c9\u3067\u3059\u3002\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@withcode_tech\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/withcode.tech_-scaled.webp\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-custom-properties\\\/#blogposting\",\"name\":\"CSS\\u30ab\\u30b9\\u30bf\\u30e0\\u30d7\\u30ed\\u30d1\\u30c6\\u30a3\\uff08\\u5909\\u6570\\uff09\\u306e\\u4f7f\\u3044\\u65b9\\uff5c\\u4fdd\\u5b88\\u3057\\u3084\\u3059\\u3044\\u30b9\\u30bf\\u30a4\\u30eb\\u8a2d\\u8a08\\u306e\\u5b9f\\u8df5\\u30ac\\u30a4\\u30c9\",\"headline\":\"CSS\\u30ab\\u30b9\\u30bf\\u30e0\\u30d7\\u30ed\\u30d1\\u30c6\\u30a3\\uff08\\u5909\\u6570\\uff09\\u306e\\u4f7f\\u3044\\u65b9\\uff5c\\u4fdd\\u5b88\\u3057\\u3084\\u3059\\u3044\\u30b9\\u30bf\\u30a4\\u30eb\\u8a2d\\u8a08\\u306e\\u5b9f\\u8df5\\u30ac\\u30a4\\u30c9\",\"author\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/author\\\/tanaka_editor\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/withcode.tech\\\/media\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/css-custom-properties-eyecatch-v2.jpg\",\"width\":1672,\"height\":941,\"caption\":\"css-custom-properties-eyecatch-v2\"},\"datePublished\":\"2026-06-22T18:01:38+00:00\",\"dateModified\":\"2026-09-21T05:28:49+00:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-custom-properties\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-custom-properties\\\/#webpage\"},\"articleSection\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-custom-properties\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/withcode.tech\\\/media\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/programming\\\/#listItem\",\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/programming\\\/#listItem\",\"position\":2,\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\",\"item\":\"https:\\\/\\\/withcode.tech\\\/media\\\/programming\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-custom-properties\\\/#listItem\",\"name\":\"CSS\\u30ab\\u30b9\\u30bf\\u30e0\\u30d7\\u30ed\\u30d1\\u30c6\\u30a3\\uff08\\u5909\\u6570\\uff09\\u306e\\u4f7f\\u3044\\u65b9\\uff5c\\u4fdd\\u5b88\\u3057\\u3084\\u3059\\u3044\\u30b9\\u30bf\\u30a4\\u30eb\\u8a2d\\u8a08\\u306e\\u5b9f\\u8df5\\u30ac\\u30a4\\u30c9\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-custom-properties\\\/#listItem\",\"position\":3,\"name\":\"CSS\\u30ab\\u30b9\\u30bf\\u30e0\\u30d7\\u30ed\\u30d1\\u30c6\\u30a3\\uff08\\u5909\\u6570\\uff09\\u306e\\u4f7f\\u3044\\u65b9\\uff5c\\u4fdd\\u5b88\\u3057\\u3084\\u3059\\u3044\\u30b9\\u30bf\\u30a4\\u30eb\\u8a2d\\u8a08\\u306e\\u5b9f\\u8df5\\u30ac\\u30a4\\u30c9\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/programming\\\/#listItem\",\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/#organization\",\"name\":\"WithCode\",\"description\":\"\\u6848\\u4ef6\\u7372\\u5f97\\u738798.4\\uff05\\u306eWithGroup\\u304c\\u904b\\u55b6\\u3059\\u308bIT\\u30e1\\u30c7\\u30a3\\u30a2\\u3002\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\\u30fbAI\\u30fbWeb\\u5236\\u4f5c\\u306e\\u5b66\\u7fd2\\u304b\\u3089\\u526f\\u696d\\u30fb\\u30ad\\u30e3\\u30ea\\u30a2\\u30c1\\u30a7\\u30f3\\u30b8\\u307e\\u3067\\u5b9f\\u8df5\\u7684\\u306a\\u60c5\\u5831\\u3092\\u767a\\u4fe1\\u3002\",\"url\":\"https:\\\/\\\/withcode.tech\\\/media\\\/\",\"telephone\":\"+81120526731\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/withcode.tech\\\/media\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/IMG_4237.png\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-custom-properties\\\/#organizationLogo\",\"width\":1000,\"height\":1000},\"image\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-custom-properties\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/twitter.com\\\/withcode_tech\\\/\",\"https:\\\/\\\/www.instagram.com\\\/withcode_officials\\\/\",\"https:\\\/\\\/www.tiktok.com\\\/@withcode_tech\\\/\",\"https:\\\/\\\/www.youtube.com\\\/@withcode8004\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/author\\\/tanaka_editor\\\/#author\",\"url\":\"https:\\\/\\\/withcode.tech\\\/media\\\/author\\\/tanaka_editor\\\/\",\"name\":\"\\u7530\\u4e2d\\u8aa0\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-custom-properties\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9f7a6e2c32d8658dcf9941decf32bc52f0dc424014a9ef5b3f92635c3f04ff60?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"\\u7530\\u4e2d\\u8aa0\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-custom-properties\\\/#webpage\",\"url\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-custom-properties\\\/\",\"name\":\"CSS\\u30ab\\u30b9\\u30bf\\u30e0\\u30d7\\u30ed\\u30d1\\u30c6\\u30a3\\uff08\\u5909\\u6570\\uff09\\u306e\\u4f7f\\u3044\\u65b9\\uff5c\\u4fdd\\u5b88\\u3057\\u3084\\u3059\\u3044\\u30b9\\u30bf\\u30a4\\u30eb\\u8a2d\\u8a08\\u306e\\u5b9f\\u8df5\\u30ac\\u30a4\\u30c9\",\"description\":\"CSS\\u30ab\\u30b9\\u30bf\\u30e0\\u30d7\\u30ed\\u30d1\\u30c6\\u30a3\\uff08\\u5909\\u6570\\uff09\\u306e\\u5b9a\\u7fa9\\u30fb\\u53c2\\u7167\\u30fb\\u30b9\\u30b3\\u30fc\\u30d7\\u30fb\\u30c6\\u30fc\\u30de\\u5207\\u308a\\u66ff\\u3048\\u307e\\u3067\\u5b9f\\u4f8b\\u4ed8\\u304d\\u3067\\u89e3\\u8aac\\u3002\\u4fdd\\u5b88\\u6027\\u306e\\u9ad8\\u3044\\u30b9\\u30bf\\u30a4\\u30eb\\u8a2d\\u8a08\\u3092\\u8eab\\u306b\\u3064\\u3051\\u305f\\u3044\\u65b9\\u306b\\u5411\\u3051\\u305f\\u5b9f\\u8df5\\u30ac\\u30a4\\u30c9\\u3067\\u3059\\u3002\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-custom-properties\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/author\\\/tanaka_editor\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/author\\\/tanaka_editor\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/withcode.tech\\\/media\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/css-custom-properties-eyecatch-v2.jpg\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-custom-properties\\\/#mainImage\",\"width\":1672,\"height\":941,\"caption\":\"css-custom-properties-eyecatch-v2\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-custom-properties\\\/#mainImage\"},\"datePublished\":\"2026-06-22T18:01:38+00:00\",\"dateModified\":\"2026-09-21T05:28:49+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/#website\",\"url\":\"https:\\\/\\\/withcode.tech\\\/media\\\/\",\"name\":\"WithCode Media\",\"description\":\"\\u6848\\u4ef6\\u7372\\u5f97\\u738798.4\\uff05\\u306eWithGroup\\u304c\\u904b\\u55b6\\u3059\\u308bIT\\u30e1\\u30c7\\u30a3\\u30a2\\u3002\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\\u30fbAI\\u30fbWeb\\u5236\\u4f5c\\u306e\\u5b66\\u7fd2\\u304b\\u3089\\u526f\\u696d\\u30fb\\u30ad\\u30e3\\u30ea\\u30a2\\u30c1\\u30a7\\u30f3\\u30b8\\u307e\\u3067\\u5b9f\\u8df5\\u7684\\u306a\\u60c5\\u5831\\u3092\\u767a\\u4fe1\\u3002\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u4f7f\u3044\u65b9\uff5c\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u306e\u5b9f\u8df5\u30ac\u30a4\u30c9","description":"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u5b9a\u7fa9\u30fb\u53c2\u7167\u30fb\u30b9\u30b3\u30fc\u30d7\u30fb\u30c6\u30fc\u30de\u5207\u308a\u66ff\u3048\u307e\u3067\u5b9f\u4f8b\u4ed8\u304d\u3067\u89e3\u8aac\u3002\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u3092\u8eab\u306b\u3064\u3051\u305f\u3044\u65b9\u306b\u5411\u3051\u305f\u5b9f\u8df5\u30ac\u30a4\u30c9\u3067\u3059\u3002","canonical_url":"https:\/\/withcode.tech\/media\/css-custom-properties\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/withcode.tech\/media\/css-custom-properties\/#blogposting","name":"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u4f7f\u3044\u65b9\uff5c\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u306e\u5b9f\u8df5\u30ac\u30a4\u30c9","headline":"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u4f7f\u3044\u65b9\uff5c\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u306e\u5b9f\u8df5\u30ac\u30a4\u30c9","author":{"@id":"https:\/\/withcode.tech\/media\/author\/tanaka_editor\/#author"},"publisher":{"@id":"https:\/\/withcode.tech\/media\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/css-custom-properties-eyecatch-v2.jpg","width":1672,"height":941,"caption":"css-custom-properties-eyecatch-v2"},"datePublished":"2026-06-22T18:01:38+00:00","dateModified":"2026-09-21T05:28:49+00:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/withcode.tech\/media\/css-custom-properties\/#webpage"},"isPartOf":{"@id":"https:\/\/withcode.tech\/media\/css-custom-properties\/#webpage"},"articleSection":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"},{"@type":"BreadcrumbList","@id":"https:\/\/withcode.tech\/media\/css-custom-properties\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/withcode.tech\/media\/#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/withcode.tech\/media\/","nextItem":{"@type":"ListItem","@id":"https:\/\/withcode.tech\/media\/programming\/#listItem","name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"}},{"@type":"ListItem","@id":"https:\/\/withcode.tech\/media\/programming\/#listItem","position":2,"name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","item":"https:\/\/withcode.tech\/media\/programming\/","nextItem":{"@type":"ListItem","@id":"https:\/\/withcode.tech\/media\/css-custom-properties\/#listItem","name":"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u4f7f\u3044\u65b9\uff5c\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u306e\u5b9f\u8df5\u30ac\u30a4\u30c9"},"previousItem":{"@type":"ListItem","@id":"https:\/\/withcode.tech\/media\/#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/withcode.tech\/media\/css-custom-properties\/#listItem","position":3,"name":"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u4f7f\u3044\u65b9\uff5c\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u306e\u5b9f\u8df5\u30ac\u30a4\u30c9","previousItem":{"@type":"ListItem","@id":"https:\/\/withcode.tech\/media\/programming\/#listItem","name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"}}]},{"@type":"Organization","@id":"https:\/\/withcode.tech\/media\/#organization","name":"WithCode","description":"\u6848\u4ef6\u7372\u5f97\u738798.4\uff05\u306eWithGroup\u304c\u904b\u55b6\u3059\u308bIT\u30e1\u30c7\u30a3\u30a2\u3002\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30fbAI\u30fbWeb\u5236\u4f5c\u306e\u5b66\u7fd2\u304b\u3089\u526f\u696d\u30fb\u30ad\u30e3\u30ea\u30a2\u30c1\u30a7\u30f3\u30b8\u307e\u3067\u5b9f\u8df5\u7684\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3002","url":"https:\/\/withcode.tech\/media\/","telephone":"+81120526731","logo":{"@type":"ImageObject","url":"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/IMG_4237.png","@id":"https:\/\/withcode.tech\/media\/css-custom-properties\/#organizationLogo","width":1000,"height":1000},"image":{"@id":"https:\/\/withcode.tech\/media\/css-custom-properties\/#organizationLogo"},"sameAs":["https:\/\/twitter.com\/withcode_tech\/","https:\/\/www.instagram.com\/withcode_officials\/","https:\/\/www.tiktok.com\/@withcode_tech\/","https:\/\/www.youtube.com\/@withcode8004\/"]},{"@type":"Person","@id":"https:\/\/withcode.tech\/media\/author\/tanaka_editor\/#author","url":"https:\/\/withcode.tech\/media\/author\/tanaka_editor\/","name":"\u7530\u4e2d\u8aa0","image":{"@type":"ImageObject","@id":"https:\/\/withcode.tech\/media\/css-custom-properties\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/9f7a6e2c32d8658dcf9941decf32bc52f0dc424014a9ef5b3f92635c3f04ff60?s=96&d=mm&r=g","width":96,"height":96,"caption":"\u7530\u4e2d\u8aa0"}},{"@type":"WebPage","@id":"https:\/\/withcode.tech\/media\/css-custom-properties\/#webpage","url":"https:\/\/withcode.tech\/media\/css-custom-properties\/","name":"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u4f7f\u3044\u65b9\uff5c\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u306e\u5b9f\u8df5\u30ac\u30a4\u30c9","description":"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u5b9a\u7fa9\u30fb\u53c2\u7167\u30fb\u30b9\u30b3\u30fc\u30d7\u30fb\u30c6\u30fc\u30de\u5207\u308a\u66ff\u3048\u307e\u3067\u5b9f\u4f8b\u4ed8\u304d\u3067\u89e3\u8aac\u3002\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u3092\u8eab\u306b\u3064\u3051\u305f\u3044\u65b9\u306b\u5411\u3051\u305f\u5b9f\u8df5\u30ac\u30a4\u30c9\u3067\u3059\u3002","inLanguage":"ja","isPartOf":{"@id":"https:\/\/withcode.tech\/media\/#website"},"breadcrumb":{"@id":"https:\/\/withcode.tech\/media\/css-custom-properties\/#breadcrumblist"},"author":{"@id":"https:\/\/withcode.tech\/media\/author\/tanaka_editor\/#author"},"creator":{"@id":"https:\/\/withcode.tech\/media\/author\/tanaka_editor\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/css-custom-properties-eyecatch-v2.jpg","@id":"https:\/\/withcode.tech\/media\/css-custom-properties\/#mainImage","width":1672,"height":941,"caption":"css-custom-properties-eyecatch-v2"},"primaryImageOfPage":{"@id":"https:\/\/withcode.tech\/media\/css-custom-properties\/#mainImage"},"datePublished":"2026-06-22T18:01:38+00:00","dateModified":"2026-09-21T05:28:49+00:00"},{"@type":"WebSite","@id":"https:\/\/withcode.tech\/media\/#website","url":"https:\/\/withcode.tech\/media\/","name":"WithCode Media","description":"\u6848\u4ef6\u7372\u5f97\u738798.4\uff05\u306eWithGroup\u304c\u904b\u55b6\u3059\u308bIT\u30e1\u30c7\u30a3\u30a2\u3002\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30fbAI\u30fbWeb\u5236\u4f5c\u306e\u5b66\u7fd2\u304b\u3089\u526f\u696d\u30fb\u30ad\u30e3\u30ea\u30a2\u30c1\u30a7\u30f3\u30b8\u307e\u3067\u5b9f\u8df5\u7684\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3002","inLanguage":"ja","publisher":{"@id":"https:\/\/withcode.tech\/media\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"WithMedia","og:type":"article","og:title":"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u4f7f\u3044\u65b9\uff5c\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u306e\u5b9f\u8df5\u30ac\u30a4\u30c9","og:description":"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u5b9a\u7fa9\u30fb\u53c2\u7167\u30fb\u30b9\u30b3\u30fc\u30d7\u30fb\u30c6\u30fc\u30de\u5207\u308a\u66ff\u3048\u307e\u3067\u5b9f\u4f8b\u4ed8\u304d\u3067\u89e3\u8aac\u3002\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u3092\u8eab\u306b\u3064\u3051\u305f\u3044\u65b9\u306b\u5411\u3051\u305f\u5b9f\u8df5\u30ac\u30a4\u30c9\u3067\u3059\u3002","og:url":"https:\/\/withcode.tech\/media\/css-custom-properties\/","og:image":"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/withcode.tech_-scaled.webp","og:image:secure_url":"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/withcode.tech_-scaled.webp","article:published_time":"2026-06-22T18:01:38+00:00","article:modified_time":"2026-09-21T05:28:49+00:00","twitter:card":"summary_large_image","twitter:site":"@withcode_tech","twitter:title":"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u4f7f\u3044\u65b9\uff5c\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u306e\u5b9f\u8df5\u30ac\u30a4\u30c9","twitter:description":"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u5b9a\u7fa9\u30fb\u53c2\u7167\u30fb\u30b9\u30b3\u30fc\u30d7\u30fb\u30c6\u30fc\u30de\u5207\u308a\u66ff\u3048\u307e\u3067\u5b9f\u4f8b\u4ed8\u304d\u3067\u89e3\u8aac\u3002\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u3092\u8eab\u306b\u3064\u3051\u305f\u3044\u65b9\u306b\u5411\u3051\u305f\u5b9f\u8df5\u30ac\u30a4\u30c9\u3067\u3059\u3002","twitter:creator":"@withcode_tech","twitter:image":"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/withcode.tech_-scaled.webp"},"aioseo_meta_data":[],"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/withcode.tech\/media\/\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u203a<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/withcode.tech\/media\/programming\/\" title=\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\">\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u203a<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u4f7f\u3044\u65b9\uff5c\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u306e\u5b9f\u8df5\u30ac\u30a4\u30c9\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/withcode.tech\/media\/"},{"label":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","link":"https:\/\/withcode.tech\/media\/programming\/"},{"label":"CSS\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306e\u4f7f\u3044\u65b9\uff5c\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08\u306e\u5b9f\u8df5\u30ac\u30a4\u30c9","link":"https:\/\/withcode.tech\/media\/css-custom-properties\/"}],"_links":{"self":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts\/13721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/comments?post=13721"}],"version-history":[{"count":15,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts\/13721\/revisions"}],"predecessor-version":[{"id":24822,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts\/13721\/revisions\/24822"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/media\/24821"}],"wp:attachment":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/media?parent=13721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/categories?post=13721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/tags?post=13721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}