{"id":12337,"date":"2026-02-02T13:34:59","date_gmt":"2026-02-02T13:34:59","guid":{"rendered":"https:\/\/withcode.tech\/media\/?p=12337"},"modified":"2026-03-10T06:04:54","modified_gmt":"2026-03-10T06:04:54","slug":"css_containercueries","status":"publish","type":"post","link":"https:\/\/withcode.tech\/media\/css_containercueries\/","title":{"rendered":"\u3010\u5b9f\u6848\u4ef6\u3067\u4f7f\u3048\u308b\u3011\u65b0\u3057\u3044\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc | CSS\u306e\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u5b9f\u88c5\u65b9\u6cd5\u3092\u5fb9\u5e95\u89e3\u8aac"},"content":{"rendered":"<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" 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\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u5148\u751f\u3001\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3060\u3068\u30b5\u30a4\u30c9\u30d0\u30fc\u306b\u914d\u7f6e\u3057\u305f\u30ab\u30fc\u30c9\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u5d29\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u2026\u3082\u3063\u3068\u67d4\u8edf\u306b\u30b9\u30bf\u30a4\u30eb\u3092\u5207\u308a\u66ff\u3048\u308b\u65b9\u6cd5\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" 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\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30da\u30f3\u535a\u58eb<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u3088\u30fc\u304f\u805e\u304f\u3093\u3060\u305e\u3002\u4eca\u65e5\u306f\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3059\u308b\u305e\u3044\uff01\u89aa\u8981\u7d20\u306e\u30b5\u30a4\u30ba\u306b\u5fdc\u3058\u3066\u30b9\u30bf\u30a4\u30eb\u3092\u5207\u308a\u66ff\u3048\u308b\u6700\u65b0\u306eCSS\u6a5f\u80fd\u3058\u3083\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-14.48.08.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u305d\u3046\u3044\u3046\u6a5f\u80fd\u3082\u3042\u308b\u3093\u3067\u3059\u306d\uff01\u305c\u3072\u6559\u3048\u3066\u304f\u3060\u3055\u3044\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<p>\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3\u306e\u5b9f\u88c5\u306b\u304a\u3044\u3066\u3001\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u306f\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u5168\u4f53\u306e\u30b5\u30a4\u30ba\u3092\u57fa\u6e96\u306b\u30b9\u30bf\u30a4\u30eb\u3092\u5207\u308a\u66ff\u3048\u307e\u3059\u3002\u3057\u304b\u3057\u3001<span class=\"swl-marker mark_yellow\"><strong>\u30b5\u30a4\u30c9\u30d0\u30fc\u3068\u30e1\u30a4\u30f3\u30a8\u30ea\u30a2\u3067\u540c\u3058\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u914d\u7f6e\u3057\u305f\u3044\u5834\u5408<\/strong>\u3001<\/span>\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3060\u3051\u3067\u306f\u67d4\u8edf\u306a\u5bfe\u5fdc\u304c\u56f0\u96e3\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u3053\u3067\u767b\u5834\u3057\u305f\u306e\u304c\u3001<strong><span class=\"swl-marker mark_yellow\">\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\uff08Container Queries\uff09<\/span><\/strong>\u3067\u3059\u3002\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u3092\u4f7f\u3048\u3070\u3001<strong><span class=\"swl-marker mark_yellow\">\u89aa\u8981\u7d20\u306e\u30b5\u30a4\u30ba\u306b\u5fdc\u3058\u3066\u5b50\u8981\u7d20\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u52d5\u7684\u306b\u5909\u66f4<\/span><\/strong>\u3067\u304d\u3001\u3088\u308a\u67d4\u8edf\u3067\u30e2\u30b8\u30e5\u30fc\u30eb\u6307\u5411\u306e\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3\u304c\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306e\u57fa\u672c\u304b\u3089\u5b9f\u6848\u4ef6\u3067\u306e\u5c0e\u5165\u65b9\u6cd5\u3001\u5fdc\u7528\u30d1\u30bf\u30fc\u30f3\u307e\u3067\u3001\u5b9f\u88c5\u4f8b\u3092\u4ea4\u3048\u306a\u304c\u3089\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_announce\">\u300c\u5b66\u7fd2\u2192\u5c31\u8077\u300d\u306b\u3064\u306a\u3052\u305f\u53d7\u8b1b\u751f\u306e\u30ea\u30a2\u30eb\u306a\u4f53\u9a13\u8ac7\u3082\u516c\u958b\u4e2d\uff01<br>\u50cd\u304d\u65b9\u3092\u5909\u3048\u305f\u3044\u65b9\u306b\u3082\u97ff\u304f\u30b9\u30c8\u30fc\u30ea\u30fc\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_info\"><strong><strong>\u5409\u6c60\u3055\u3093<\/strong><\/strong><br>Web\u5236\u4f5c\u3092\u4f53\u7cfb\u7684\u306b\u5b66\u3073\u305f\u3044\u3068\u8003\u3048\u3001WithCode\u306b\u5165\u4f1a\u3055\u308c\u307e\u3057\u305f\u3002\u5352\u696d\u5f8c\u306f\u3001WithCode\u7d4c\u7531\u3067\u5b9f\u6848\u4ef6\u3092\u7d4c\u9a13\u3057\u305f\u307b\u304b\u3001\u3054\u81ea\u8eab\u3067\u3082\u6848\u4ef6\u3092\u7372\u5f97\u3002\u4eca\u5f8c\u306fWeb\u7cfb\u306e\u696d\u52d9\u306b\u643a\u308f\u308a\u305f\u3044\u3068\u3044\u3046\u601d\u3044\u304b\u3089\u8ee2\u8077\u6d3b\u52d5\u3092\u884c\u3044\u3001\u53d7\u8a17\u958b\u767a\u306e\u4f1a\u793e\u3078\u306e\u8ee2\u8077\u3092\u6210\u529f\u3055\u305b\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u8a73\u3057\u304f\u306f<a href=\"https:\/\/withcode.tech\/media\/interview_9\/\" title=\"\">\u3053\u3061\u3089\u306e\u8a18\u4e8b<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-withcode-media wp-block-embed-withcode-media\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/withcode.tech\/media\/interview_9\/\n<\/div><\/figure>\n\n\n\n<p class=\"is-style-balloon_box2\"><strong>\u5409\u6c60\u3055\u3093\u306e\u4e3b\u306a\u5236\u4f5c\u5b9f\u7e3e\u306f\u3053\u3061\u3089<\/strong><\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -external\" data-type=\"type3\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u4fe1\u7528\u529b\u5411\u4e0a\u3092\u76ee\u7684\u306b\u3057\u305f\u65b0\u898fHP\u5236\u4f5c<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/08\/\u5409\u6c60\u3055\u3093.webp\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/withcode.tech\/works\/hado\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u682a\u5f0f\u4f1a\u793eYOURDELT \u69d8<\/a>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u3068\u306f\uff1f<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" width=\"1536\" height=\"1024\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006374.jpg\" alt=\"\" class=\"wp-image-12874\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006374.jpg 1536w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006374-768x512.jpg 768w\" sizes=\"(max-width: 1536px) 100vw, 1536px\" \/><\/figure>\n<\/div>\n\n\n<p>\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\uff08Container Queries\uff09\u306f\u3001<strong><span class=\"swl-marker mark_yellow\">\u89aa\u8981\u7d20\uff08\u30b3\u30f3\u30c6\u30ca\uff09\u306e\u30b5\u30a4\u30ba\u306b\u57fa\u3065\u3044\u3066\u3001\u5b50\u8981\u7d20\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u5909\u66f4\u3067\u304d\u308bCSS\u6a5f\u80fd<\/span><\/strong>\u3067\u3059\u30022023\u5e74\u304b\u3089\u4e3b\u8981\u30d6\u30e9\u30a6\u30b6\u3067\u6b63\u5f0f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u305f\u6bd4\u8f03\u7684\u65b0\u3057\u3044\u6a5f\u80fd\u3067\u3001\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3\u306e\u65b0\u3057\u3044\u6a19\u6e96\u3068\u306a\u308a\u3064\u3064\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5f93\u6765\u306e\u554f\u984c\u70b9<\/h3>\n\n\n\n<p>\u5f93\u6765\u306e\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3067\u306f\u3001\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\uff08\u753b\u9762\u5168\u4f53\uff09\u306e\u30b5\u30a4\u30ba\u306b\u57fa\u3065\u3044\u3066\u30b9\u30bf\u30a4\u30eb\u3092\u5207\u308a\u66ff\u3048\u3066\u3044\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u5b9f\u969b\u306eWeb\u30b5\u30a4\u30c8\u3067\u306f\u3001<strong><span class=\"swl-marker mark_yellow\">\u540c\u3058\u753b\u9762\u5e45\u3067\u3082\u914d\u7f6e\u5834\u6240\u306b\u3088\u3063\u3066\u8981\u7d20\u306e\u5e45\u304c\u7570\u306a\u308b<\/span><\/strong>\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30e1\u30a4\u30f3\u30a8\u30ea\u30a2<\/strong>\uff1a\u5e45900px<\/li>\n\n\n\n<li><strong>\u30b5\u30a4\u30c9\u30d0\u30fc<\/strong>\uff1a\u5e45300px<\/li>\n<\/ul>\n\n\n\n<p>\u540c\u3058\u30ab\u30fc\u30c9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4e21\u65b9\u306b\u914d\u7f6e\u3057\u305f\u5834\u5408\u3001\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3060\u3051\u3067\u306f\u914d\u7f6e\u5834\u6240\u3054\u3068\u306b\u6700\u9069\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u5b9f\u73fe\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306b\u3088\u308b\u89e3\u6c7a<\/h3>\n\n\n\n<p>\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u3092\u4f7f\u3048\u3070\u3001<strong><span class=\"swl-marker mark_yellow\">\u30ab\u30fc\u30c9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u81ea\u8eab\u304c\u305d\u306e\u89aa\u8981\u7d20\u306e\u30b5\u30a4\u30ba\u3092\u5224\u65ad<\/span><\/strong>\u3057\u3001\u6700\u9069\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u81ea\u52d5\u7684\u306b\u5207\u308a\u66ff\u308f\u308a\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001<strong><span class=\"swl-marker mark_yellow\">\u914d\u7f6e\u5834\u6240\u306b\u4f9d\u5b58\u3057\u306a\u3044\u771f\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u6307\u5411\u8a2d\u8a08<\/span><\/strong>\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3068\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306e\u9055\u3044<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" width=\"1536\" height=\"1024\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006375.jpg\" alt=\"\" class=\"wp-image-12875\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006375.jpg 1536w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006375-768x512.jpg 768w\" sizes=\"(max-width: 1536px) 100vw, 1536px\" \/><\/figure>\n<\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.00.55.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3068\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306f\u3001\u5177\u4f53\u7684\u306b\u4f55\u304c\u9055\u3046\u3093\u3067\u3059\u304b\uff1f<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" 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\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30da\u30f3\u535a\u58eb<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u57fa\u6e96\u304c\u300c\u753b\u9762\u5168\u4f53\u300d\u304b\u300c\u89aa\u8981\u7d20\u300d\u304b\u306e\u9055\u3044\u3058\u3083\u3002\u5b9f\u4f8b\u3067\u898b\u3066\u3044\u3053\u3046\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\uff08Media Queries\uff09<\/h3>\n\n\n\n<p><strong>\u57fa\u6e96<\/strong>\uff1a\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\uff08\u753b\u9762\u5168\u4f53\uff09\u306e\u30b5\u30a4\u30ba<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* \u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u306e\u4f8b *\/\n.card {\n  display: flex;\n  flex-direction: column;\n}\n\n\/* \u753b\u9762\u5e45\u304c768px\u4ee5\u4e0a\u306e\u5834\u5408 *\/\n@media (min-width: 768px) {\n  .card {\n    flex-direction: row;\n  }\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u306e\u5834\u5408\u3001\u753b\u9762\u5e45\u304c768px\u4ee5\u4e0a\u306a\u3089\u3001\u3059\u3079\u3066\u306e<code>.card<\/code>\u8981\u7d20\u304c\u6a2a\u4e26\u3073\u306b\u306a\u308a\u307e\u3059\u3002\u30b5\u30a4\u30c9\u30d0\u30fc\u5185\u306e\u30ab\u30fc\u30c9\u3082\u5f37\u5236\u7684\u306b\u6a2a\u4e26\u3073\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u3001\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u5d29\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\uff08Container Queries\uff09<\/h3>\n\n\n\n<p><strong>\u57fa\u6e96<\/strong>\uff1a\u89aa\u8981\u7d20\uff08\u30b3\u30f3\u30c6\u30ca\uff09\u306e\u30b5\u30a4\u30ba<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* \u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306e\u4f8b *\/\n.card-container {\n  container-type: inline-size; \/* \u3053\u306e\u8981\u7d20\u3092\u30b3\u30f3\u30c6\u30ca\u3068\u3057\u3066\u5b9a\u7fa9 *\/\n}\n\n.card {\n  display: flex;\n  flex-direction: column;\n}\n\n\/* \u89aa\u8981\u7d20\u306e\u5e45\u304c480px\u4ee5\u4e0a\u306e\u5834\u5408 *\/\n@container (min-width: 480px) {\n  .card {\n    flex-direction: row;\n  }\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u306e\u5834\u5408\u3001<strong><span class=\"swl-marker mark_yellow\">\u89aa\u8981\u7d20\u306e\u5e45\u304c480px\u4ee5\u4e0a\u306e\u30ab\u30fc\u30c9\u306e\u307f<\/span><\/strong>\u304c\u6a2a\u4e26\u3073\u306b\u306a\u308a\u307e\u3059\u3002\u30b5\u30a4\u30c9\u30d0\u30fc\u5185\u306e\u30ab\u30fc\u30c9\uff08\u89aa\u5e45300px\uff09\u306f\u7e26\u4e26\u3073\u306e\u307e\u307e\u3001\u30e1\u30a4\u30f3\u30a8\u30ea\u30a2\u306e\u30ab\u30fc\u30c9\uff08\u89aa\u5e45900px\uff09\u3060\u3051\u304c\u6a2a\u4e26\u3073\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u6bd4\u8f03\u8868<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u9805\u76ee<\/th><th>\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea<\/th><th>\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea<\/th><\/tr><\/thead><tbody><tr><td><strong>\u57fa\u6e96<\/strong><\/td><td>\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\uff08\u753b\u9762\u5168\u4f53\uff09<\/td><td>\u89aa\u8981\u7d20\uff08\u30b3\u30f3\u30c6\u30ca\uff09<\/td><\/tr><tr><td><strong>\u30b9\u30bf\u30a4\u30eb\u9069\u7528\u7bc4\u56f2<\/strong><\/td><td>\u753b\u9762\u5168\u4f53\u306b\u4e00\u5f8b\u9069\u7528<\/td><td>\u30b3\u30f3\u30c6\u30ca\u3054\u3068\u306b\u500b\u5225\u9069\u7528<\/td><\/tr><tr><td><strong>\u67d4\u8edf\u6027<\/strong><\/td><td>\u4f4e\u3044<\/td><td>\u9ad8\u3044<\/td><\/tr><tr><td><strong>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u6307\u5411<\/strong><\/td><td>\u56f0\u96e3<\/td><td>\u5b9f\u73fe\u53ef\u80fd<\/td><\/tr><tr><td><strong>\u4f7f\u3044\u5206\u3051<\/strong><\/td><td>\u30b0\u30ed\u30fc\u30d0\u30eb\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u5909\u66f4<\/td><td>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5358\u4f4d\u306e\u8abf\u6574<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306e\u30e1\u30ea\u30c3\u30c8<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" width=\"1536\" height=\"1024\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006376.jpg\" alt=\"\" class=\"wp-image-12877\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006376.jpg 1536w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006376-768x512.jpg 768w\" sizes=\"(max-width: 1536px) 100vw, 1536px\" \/><\/figure>\n<\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-14.48.08.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306e\u30e1\u30ea\u30c3\u30c8\u3092\u77e5\u308a\u305f\u3044\u3067\u3059\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.09.27.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30da\u30f3\u535a\u58eb<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u3046\u3080\u3002\u3053\u3053\u3067\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306e5\u3064\u306e\u30e1\u30ea\u30c3\u30c8\u3092\u7d39\u4ecb\u3057\u3088\u3046\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">1. \u771f\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u6307\u5411\u8a2d\u8a08<\/h3>\n\n\n\n<p>\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u3092\u6d3b\u7528\u3059\u308b\u3068\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306f<strong><span class=\"swl-marker mark_yellow\">\u914d\u7f6e\u5834\u6240\u306b\u4f9d\u5b58\u305b\u305a\u3001\u81ea\u5f8b\u7684\u306b\u6700\u9069\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u9078\u629e<\/span><\/strong>\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5f93\u6765\u306e\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3067\u306f\u300c\u753b\u9762\u30b5\u30a4\u30ba\u300d\u306b\u3088\u3063\u3066\u898b\u305f\u76ee\u3092\u5909\u66f4\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u3067\u306f\u300c\u89aa\u8981\u7d20\u306e\u30b5\u30a4\u30ba\u300d\u306b\u5fdc\u3058\u3066\u30b9\u30bf\u30a4\u30eb\u3092\u5909\u5316\u3055\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u7d50\u679c\u3001\u540c\u3058\u30ab\u30fc\u30c9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30b5\u30a4\u30c9\u30d0\u30fc<\/li>\n\n\n\n<li>\u30e1\u30a4\u30f3\u30b3\u30f3\u30c6\u30f3\u30c4<\/li>\n\n\n\n<li>\u30d5\u30c3\u30bf\u30fc<\/li>\n\n\n\n<li>\u30e2\u30fc\u30c0\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6<\/li>\n<\/ul>\n\n\n\n<p>\u306a\u3069\u3001\u3069\u3053\u306b\u914d\u7f6e\u3057\u3066\u3082\u9069\u5207\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u304c<strong><span class=\"swl-marker mark_yellow\">\u771f\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5fd7\u5411\u8a2d\u8a08<\/span><\/strong>\u3067\u3059\u3002<br>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u74b0\u5883\u306b\u9069\u5fdc\u3059\u308bUI\u90e8\u54c1\u3068\u3057\u3066\u6a5f\u80fd\u3059\u308b\u305f\u3081\u3001\u5927\u898f\u6a21\u958b\u767a\u3084\u30de\u30a4\u30af\u30ed\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u69cb\u6210\u3068\u306e\u76f8\u6027\u3082\u975e\u5e38\u306b\u826f\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u30b3\u30fc\u30c9\u306e\u518d\u5229\u7528\u6027\u5411\u4e0a<\/h3>\n\n\n\n<p>\u914d\u7f6e\u5834\u6240\u3054\u3068\u306b\u5c02\u7528\u306eCSS\u30af\u30e9\u30b9\u3092\u7528\u610f\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u3001<strong><span class=\"swl-marker mark_yellow\">\u30b3\u30fc\u30c9\u306e\u4fdd\u5b88\u6027\u304c\u5927\u5e45\u306b\u5411\u4e0a<\/span><\/strong>\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* \u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u306e\u5834\u5408\uff08\u914d\u7f6e\u5834\u6240\u3054\u3068\u306b\u30af\u30e9\u30b9\u304c\u5fc5\u8981\uff09 *\/\n.card-main { \/* \u30e1\u30a4\u30f3\u30a8\u30ea\u30a2\u7528 *\/ }\n.card-sidebar { \/* \u30b5\u30a4\u30c9\u30d0\u30fc\u7528 *\/ }\n.card-footer { \/* \u30d5\u30c3\u30bf\u30fc\u7528 *\/ }\n\n\/* \u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306e\u5834\u5408\uff081\u3064\u306e\u30af\u30e9\u30b9\u3067\u5bfe\u5fdc\uff09 *\/\n.card { \/* \u3059\u3079\u3066\u306e\u5834\u6240\u3067\u4f7f\u7528\u53ef\u80fd *\/ }<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u30c7\u30b6\u30a4\u30f3\u30b7\u30b9\u30c6\u30e0\u3068\u306e\u76f8\u6027\u304c\u826f\u3044<\/h3>\n\n\n\n<p>Atomic Design\u3001BEM\u3001Utility First\uff08Tailwind\uff09\u306a\u3069\u306e\u8a2d\u8a08\u601d\u60f3\u3067\u306f\u3001\u300cUI\u3092\u90e8\u54c1\u5358\u4f4d\u3067\u7ba1\u7406\u3059\u308b\u300d\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306f\u3053\u306e\u601d\u60f3\u3068\u975e\u5e38\u306b\u76f8\u6027\u304c\u826f\u304f\u3001<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Molecule\u5358\u4f4d\u3067\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc<\/li>\n\n\n\n<li>Component\u5358\u4f4d\u3067\u81ea\u5df1\u5b8c\u7d50\u3057\u305f\u30b9\u30bf\u30a4\u30eb\u8a2d\u8a08<\/li>\n\n\n\n<li>Design Token\u3068\u306e\u7d44\u307f\u5408\u308f\u305b<\/li>\n<\/ul>\n\n\n\n<p>\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7279\u306b\u5927\u898f\u6a21\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30c7\u30b6\u30a4\u30f3\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u306e\u7d71\u4e00<\/li>\n\n\n\n<li>\u30d6\u30e9\u30f3\u30c9\u6a2a\u65adUI\u306e\u5171\u901a\u5316<\/li>\n\n\n\n<li>SaaS\u30d7\u30ed\u30c0\u30af\u30c8\u306e\u30b9\u30b1\u30fc\u30eb\u5bfe\u5fdc<\/li>\n<\/ul>\n\n\n\n<p>\u3068\u3044\u3063\u305f\u89b3\u70b9\u3067\u3001<strong><span class=\"swl-marker mark_yellow\">\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u306a\u30c7\u30b6\u30a4\u30f3\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u7bc9\u306b\u8ca2\u732e<\/span><\/strong>\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5358\u306a\u308b\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u6280\u8853\u3067\u306f\u306a\u304f\u3001<strong><span class=\"swl-marker mark_yellow\">\u8a2d\u8a08\u601d\u60f3\u3092\u9032\u5316\u3055\u305b\u308b\u6280\u8853<\/span><\/strong>\u3068\u8a00\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. \u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u30b3\u30b9\u30c8\u306e\u524a\u6e1b<\/h3>\n\n\n\n<p>\u5f93\u6765\u306e\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u8a2d\u8a08\u3067\u306f\u3001\u30ec\u30a4\u30a2\u30a6\u30c8\u5909\u66f4\u304c\u767a\u751f\u3059\u308b\u3068\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3092\u518d\u8abf\u6574<\/li>\n\n\n\n<li>\u7279\u5b9a\u30da\u30fc\u30b8\u306eCSS\u3092\u4fee\u6b63<\/li>\n\n\n\n<li>\u60f3\u5b9a\u5916\u306e\u30d6\u30ec\u30a4\u30af\u30dd\u30a4\u30f3\u30c8\u5d29\u308c<\/li>\n<\/ul>\n\n\n\n<p>\u306a\u3069\u306e\u4fee\u6b63\u30b3\u30b9\u30c8\u304c\u767a\u751f\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u3067\u306f\u3001<br><strong><span class=\"swl-marker mark_yellow\">\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u81ea\u8eab\u306e\u30b5\u30a4\u30ba\u6761\u4ef6\u3060\u3051\u3092\u5909\u66f4\u3059\u308b\u306e\u307f<\/span><\/strong>\u306e\u69cb\u9020\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30b5\u30a4\u30c9\u30d0\u30fc\u5e45\u304c\u5909\u66f4\u3055\u308c\u305f<\/li>\n\n\n\n<li>2\u30ab\u30e9\u30e0\u21923\u30ab\u30e9\u30e0\u306b\u5909\u66f4\u3055\u308c\u305f<\/li>\n\n\n\n<li>\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u30b5\u30a4\u30ba\u304c\u5909\u308f\u3063\u305f<\/li>\n<\/ul>\n\n\n\n<p>\u3068\u3044\u3063\u305f\u5834\u5408\u3067\u3082\u3001<br><strong><span class=\"swl-marker mark_yellow\">\u89aa\u30b3\u30f3\u30c6\u30ca\u306e\u5e45\u306b\u5fdc\u3058\u3066\u81ea\u52d5\u8abf\u6574\u3055\u308c\u308b\u305f\u3081\u3001\u5f71\u97ff\u7bc4\u56f2\u304c\u9650\u5b9a\u7684<\/span><\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306f\u9577\u671f\u904b\u7528\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u304a\u3044\u3066\u3001<br>\u958b\u767a\u30b3\u30b9\u30c8\u30fb\u6539\u4fee\u30b3\u30b9\u30c8\u306e\u524a\u6e1b\u306b\u76f4\u7d50\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5. \u3088\u308a\u76f4\u611f\u7684\u306a\u30b3\u30fc\u30c9<\/h3>\n\n\n\n<p>\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306e\u6700\u5927\u306e\u9b45\u529b\u306f\u3001\u30b3\u30fc\u30c9\u306e\u610f\u56f3\u304c\u660e\u78ba\u306b\u306a\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u5f93\u6765\uff1a<\/p>\n\n\n\n<p>\u300c\u753b\u9762\u5e45\u304c768px\u4ee5\u4e0a\u306a\u3089\u3053\u3046\u3059\u308b\u300d<\/p>\n\n\n\n<p>\u3068\u3044\u3046\u6761\u4ef6\u306f\u3001<br>\u306a\u305c\u305d\u306e\u30b5\u30a4\u30ba\u306a\u306e\u304b\u304c\u66d6\u6627\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u3067\u306f\uff1a<\/p>\n\n\n\n<p>\u300c\u3053\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c400px\u4ee5\u4e0a\u306b\u306a\u3063\u305f\u3089\u3053\u3046\u3059\u308b\u300d<br>\u3068\u3044\u3046\u8a18\u8ff0\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3064\u307e\u308a\u3001<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>UI\u306e\u632f\u308b\u821e\u3044\u304c\u8ad6\u7406\u7684\u306b\u306a\u308b<\/li>\n\n\n\n<li>\u6761\u4ef6\u304c\u610f\u5473\u30d9\u30fc\u30b9\u306b\u306a\u308b<\/li>\n\n\n\n<li>\u30b3\u30fc\u30c9\u306e\u53ef\u8aad\u6027\u304c\u5411\u4e0a\u3059\u308b<\/li>\n\n\n\n<li>\u65b0\u898f\u30e1\u30f3\u30d0\u30fc\u304c\u7406\u89e3\u3057\u3084\u3059\u3044<\/li>\n<\/ul>\n\n\n\n<p>\u3068\u3044\u3046\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7d50\u679c\u3068\u3057\u3066\u3001<br><strong><span class=\"swl-marker mark_yellow\">\u8a2d\u8a08\u610f\u56f3\u304c\u30b3\u30fc\u30c9\u306b\u305d\u306e\u307e\u307e\u8868\u73fe\u3055\u308c\u308b\u3001\u76f4\u611f\u7684\u3067\u7f8e\u3057\u3044CSS\u8a2d\u8a08<\/span><\/strong>\u304c\u5b9f\u73fe\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306e\u57fa\u672c\u5b9f\u88c5<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" width=\"1536\" height=\"1024\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006377.jpg\" alt=\"\" class=\"wp-image-12878\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006377.jpg 1536w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006377-768x512.jpg 768w\" sizes=\"(max-width: 1536px) 100vw, 1536px\" \/><\/figure>\n<\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-14.48.08.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306e\u5177\u4f53\u7684\u306a\u5b9f\u88c5\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.08.37.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30da\u30f3\u535a\u58eb<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u3044\u3044\u5fc3\u69cb\u3048\u3058\u3083\uff01\u3053\u3053\u3067\u306f\u30012\u3064\u306e\u30b9\u30c6\u30c3\u30d7\u306b\u5206\u3051\u3066\u89e3\u8aac\u3059\u308b\u305e\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u30b9\u30c6\u30c3\u30d71\uff1a\u89aa\u8981\u7d20\u3092\u30b3\u30f3\u30c6\u30ca\u3068\u3057\u3066\u5b9a\u7fa9<\/h3>\n\n\n\n<p>\u307e\u305a\u3001\u57fa\u6e96\u3068\u306a\u308b\u89aa\u8981\u7d20\u306b<code>container-type<\/code>\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.container {\n  container-type: inline-size; \/* \u6a2a\u5e45\u3092\u57fa\u6e96\u306b\u3059\u308b *\/\n}<\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">container-type\u306e\u5024<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>inline-size<\/strong>\uff1a\u6a2a\u5e45\u3092\u57fa\u6e96\uff08\u6700\u3082\u4e00\u822c\u7684\uff09<\/li>\n\n\n\n<li><strong>size<\/strong>\uff1a\u6a2a\u5e45\u3068\u9ad8\u3055\u306e\u4e21\u65b9\u3092\u57fa\u6e96<\/li>\n\n\n\n<li><strong>normal<\/strong>\uff1a\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u3092\u7121\u52b9\u5316\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\uff09<\/li>\n<\/ul>\n\n\n\n<p><strong>\u63a8\u5968<\/strong>\uff1a\u307b\u3068\u3093\u3069\u306e\u5834\u5408\u3001<code>inline-size<\/code>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b9\u30c6\u30c3\u30d72\uff1a\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u3092\u8a18\u8ff0<\/h3>\n\n\n\n<p>\u6b21\u306b\u3001<code>@container<\/code>\u30eb\u30fc\u30eb\u3067\u30b3\u30f3\u30c6\u30ca\u306e\u30b5\u30a4\u30ba\u306b\u5fdc\u3058\u305f\u30b9\u30bf\u30a4\u30eb\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* \u89aa\u8981\u7d20\u306e\u5e45\u304c480px\u4ee5\u4e0a\u306e\u5834\u5408 *\/\n@container (min-width: 480px) {\n  .card {\n    flex-direction: row;\n  }\n}\n\n\/* \u89aa\u8981\u7d20\u306e\u5e45\u304c768px\u4ee5\u4e0a\u306e\u5834\u5408 *\/\n@container (min-width: 768px) {\n  .card {\n    padding: 32px;\n    font-size: 1.2rem;\n  }\n}<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u5b8c\u5168\u306a\u5b9f\u88c5\u4f8b\uff1a\u30ab\u30fc\u30c9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<\/h3>\n\n\n\n<p class=\"codepen\" data-height=\"300\" data-pen-title=\"Untitled\" data-default-tab=\"html,result\" data-slug-hash=\"pvEveLm\" data-user=\"ddwkeakz-the-reactor\" style=\"height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\">\n  <span>See the Pen <a href=\"https:\/\/codepen.io\/ddwkeakz-the-reactor\/pen\/pvEveLm\">\n  Untitled<\/a> by \u305b\u3044\u3084 (<a href=\"https:\/\/codepen.io\/ddwkeakz-the-reactor\">@ddwkeakz-the-reactor<\/a>)\n  on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span>\n<\/p>\n<script async src=\"https:\/\/public.codepenassets.com\/embed\/index.js\"><\/script>\n\n\n\n<h4 class=\"wp-block-heading\">\u30b3\u30fc\u30c9\u89e3\u8aac<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>.card-container<\/strong>\uff1a<code>container-type: inline-size<\/code>\u3067\u30b3\u30f3\u30c6\u30ca\u3068\u3057\u3066\u5b9a\u7fa9<\/li>\n\n\n\n<li><strong>\u57fa\u672c\u30b9\u30bf\u30a4\u30eb<\/strong>\uff1a\u7e26\u4e26\u3073\u30ec\u30a4\u30a2\u30a6\u30c8\u3067\u5b9a\u7fa9\uff08\u30e2\u30d0\u30a4\u30eb\u30d5\u30a1\u30fc\u30b9\u30c8\uff09<\/li>\n\n\n\n<li><strong>@container (min-width: 480px)<\/strong>\uff1a\u30b3\u30f3\u30c6\u30ca\u5e45480px\u4ee5\u4e0a\u3067\u6a2a\u4e26\u3073\u306b\u5909\u66f4<\/li>\n\n\n\n<li><strong>@container (min-width: 768px)<\/strong>\uff1a\u30b3\u30f3\u30c6\u30ca\u5e45768px\u4ee5\u4e0a\u3067\u3055\u3089\u306b\u5927\u304d\u306a\u30b9\u30bf\u30a4\u30eb\u306b<\/li>\n<\/ul>\n\n\n\n<p class=\"is-style-big_icon_point\"><strong>\u30dd\u30a4\u30f3\u30c8\uff1a<\/strong> \u540c\u3058HTML\u3068CSS\u3067\u3001\u30e1\u30a4\u30f3\u30a8\u30ea\u30a2\uff08\u5e83\u3044\uff09\u3068\u30b5\u30a4\u30c9\u30d0\u30fc\uff08\u72ed\u3044\uff09\u306b\u914d\u7f6e\u3057\u305f\u30ab\u30fc\u30c9\u304c\u3001\u305d\u308c\u305e\u308c\u6700\u9069\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9f\u6848\u4ef6\u3067\u306e\u5c0e\u5165\u30d1\u30bf\u30fc\u30f3<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" width=\"1536\" height=\"1024\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006378.jpg\" alt=\"\" class=\"wp-image-12879\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006378.jpg 1536w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006378-768x512.jpg 768w\" sizes=\"(max-width: 1536px) 100vw, 1536px\" \/><\/figure>\n<\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.00.55.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u5b9f\u969b\u306e\u6848\u4ef6\u3067\u306f\u3001\u3069\u3093\u306a\u5834\u9762\u3067\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u3092\u4f7f\u3046\u3093\u3067\u3059\u304b\uff1f<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" 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\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30da\u30f3\u535a\u58eb<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u3088\u304f\u3042\u308b\u5b9f\u6848\u4ef6\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u7d39\u4ecb\u3059\u308b\u305e\u3044\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u30d1\u30bf\u30fc\u30f31\uff1a\u30d6\u30ed\u30b0\u30ab\u30fc\u30c9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<\/h3>\n\n\n\n<p>\u30d6\u30ed\u30b0\u8a18\u4e8b\u4e00\u89a7\u3001\u95a2\u9023\u8a18\u4e8b\u3001\u30b5\u30a4\u30c9\u30d0\u30fc\u306a\u3069\u3001<strong><span class=\"swl-marker mark_yellow\">\u3055\u307e\u3056\u307e\u306a\u5834\u6240\u3067\u4f7f\u3044\u307e\u308f\u3059\u30ab\u30fc\u30c9<\/span><\/strong>\u306b\u6700\u9069\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"codepen\" data-height=\"300\" data-pen-title=\"Untitled\" data-default-tab=\"html,result\" data-slug-hash=\"gbwbmjz\" data-user=\"ddwkeakz-the-reactor\" style=\"height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\">\n  <span>See the Pen <a href=\"https:\/\/codepen.io\/ddwkeakz-the-reactor\/pen\/gbwbmjz\">\n  Untitled<\/a> by \u305b\u3044\u3084 (<a href=\"https:\/\/codepen.io\/ddwkeakz-the-reactor\">@ddwkeakz-the-reactor<\/a>)\n  on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span>\n<\/p>\n<script async src=\"https:\/\/public.codepenassets.com\/embed\/index.js\"><\/script>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d1\u30bf\u30fc\u30f32\uff1a\u5546\u54c1\u30ab\u30fc\u30c9\u30b0\u30ea\u30c3\u30c9<\/h3>\n\n\n\n<p>EC\u30b5\u30a4\u30c8\u306e\u5546\u54c1\u4e00\u89a7\u3067\u3001<strong><span class=\"swl-marker mark_yellow\">\u8868\u793a\u30ab\u30e9\u30e0\u6570\u306b\u5fdc\u3058\u3066\u30ab\u30fc\u30c9\u306e\u8868\u793a\u5185\u5bb9\u3092\u5909\u66f4<\/span><\/strong>\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"codepen\" data-height=\"300\" data-pen-title=\"Untitled\" data-default-tab=\"html,result\" data-slug-hash=\"jEMEBeo\" data-user=\"ddwkeakz-the-reactor\" style=\"height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\">\n  <span>See the Pen <a href=\"https:\/\/codepen.io\/ddwkeakz-the-reactor\/pen\/jEMEBeo\">\n  Untitled<\/a> by \u305b\u3044\u3084 (<a href=\"https:\/\/codepen.io\/ddwkeakz-the-reactor\">@ddwkeakz-the-reactor<\/a>)\n  on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span>\n<\/p>\n<script async src=\"https:\/\/public.codepenassets.com\/embed\/index.js\"><\/script>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d1\u30bf\u30fc\u30f33\uff1a\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u30e1\u30cb\u30e5\u30fc<\/h3>\n\n\n\n<p>\u89aa\u8981\u7d20\u306e\u5e45\u306b\u5fdc\u3058\u3066\u3001<strong><span class=\"swl-marker mark_yellow\">\u30e1\u30cb\u30e5\u30fc\u306e\u8868\u793a\u5f62\u5f0f<\/span><\/strong>\u3092\u5207\u308a\u66ff\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"codepen\" data-height=\"300\" data-pen-title=\"Untitled\" data-default-tab=\"html,result\" data-slug-hash=\"QwKwvjL\" data-user=\"ddwkeakz-the-reactor\" style=\"height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\">\n  <span>See the Pen <a href=\"https:\/\/codepen.io\/ddwkeakz-the-reactor\/pen\/QwKwvjL\">\n  Untitled<\/a> by \u305b\u3044\u3084 (<a href=\"https:\/\/codepen.io\/ddwkeakz-the-reactor\">@ddwkeakz-the-reactor<\/a>)\n  on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span>\n<\/p>\n<script async src=\"https:\/\/public.codepenassets.com\/embed\/index.js\"><\/script>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d1\u30bf\u30fc\u30f34\uff1a\u30d5\u30a9\u30fc\u30e0\u30ec\u30a4\u30a2\u30a6\u30c8<\/h3>\n\n\n\n<p>\u89aa\u8981\u7d20\u306e\u5e45\u306b\u5fdc\u3058\u3066\u3001<strong><span class=\"swl-marker mark_yellow\">\u30d5\u30a9\u30fc\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u914d\u7f6e\u3092\u5909\u66f4<\/span><\/strong>\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"codepen\" data-height=\"300\" data-pen-title=\"Untitled\" data-default-tab=\"html,result\" data-slug-hash=\"PwGwmGV\" data-user=\"ddwkeakz-the-reactor\" style=\"height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\">\n  <span>See the Pen <a href=\"https:\/\/codepen.io\/ddwkeakz-the-reactor\/pen\/PwGwmGV\">\n  Untitled<\/a> by \u305b\u3044\u3084 (<a href=\"https:\/\/codepen.io\/ddwkeakz-the-reactor\">@ddwkeakz-the-reactor<\/a>)\n  on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span>\n<\/p>\n<script async src=\"https:\/\/public.codepenassets.com\/embed\/index.js\"><\/script>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b3\u30f3\u30c6\u30ca\u540d\uff08container-name\uff09\u306e\u6d3b\u7528\u65b9\u6cd5<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" width=\"1536\" height=\"1024\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006379.jpg\" alt=\"\" class=\"wp-image-12880\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006379.jpg 1536w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006379-768x512.jpg 768w\" sizes=\"(max-width: 1536px) 100vw, 1536px\" \/><\/figure>\n<\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-14.48.08.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u30b3\u30f3\u30c6\u30ca\u540d\u306e\u6d3b\u7528\u65b9\u6cd5\u3082\u77e5\u308a\u305f\u3044\u3067\u3059\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" 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\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30da\u30f3\u535a\u58eb<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u3046\u3080\u3002\u8907\u6570\u306e\u30b3\u30f3\u30c6\u30ca\u304c\u30cd\u30b9\u30c8\u3057\u3066\u3044\u308b\u5834\u5408\u3001<code>container-name<\/code>\u3067\u7279\u5b9a\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u6307\u5b9a\u3067\u304d\u308b\u305e\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u30b3\u30f3\u30c6\u30ca\u540d\u306e\u5b9a\u7fa9<\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.sidebar-container {\n  container-type: inline-size;\n  container-name: sidebar; \/* \u30b3\u30f3\u30c6\u30ca\u306b\u540d\u524d\u3092\u3064\u3051\u308b *\/\n}\n\n.card-container {\n  container-type: inline-size;\n  container-name: card;\n}<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u7279\u5b9a\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u5bfe\u8c61\u306b\u3057\u305f\u30af\u30a8\u30ea<\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* sidebar \u30b3\u30f3\u30c6\u30ca\u306e\u30b5\u30a4\u30ba\u306b\u5fdc\u3058\u305f\u30b9\u30bf\u30a4\u30eb *\/\n@container sidebar (min-width: 300px) {\n  .widget {\n    padding: 20px;\n  }\n}\n\n\/* card \u30b3\u30f3\u30c6\u30ca\u306e\u30b5\u30a4\u30ba\u306b\u5fdc\u3058\u305f\u30b9\u30bf\u30a4\u30eb *\/\n@container card (min-width: 480px) {\n  .card {\n    flex-direction: row;\n  }\n}<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b7\u30e7\u30fc\u30c8\u30cf\u30f3\u30c9\u8a18\u6cd5<\/h3>\n\n\n\n<p><code>container-type<\/code>\u3068<code>container-name<\/code>\u306f\u3001<code>container<\/code>\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u307e\u3068\u3081\u3066\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* \u500b\u5225\u6307\u5b9a *\/\n.container {\n  container-type: inline-size;\n  container-name: mycontainer;\n}\n\n\/* \u30b7\u30e7\u30fc\u30c8\u30cf\u30f3\u30c9 *\/\n.container {\n  container: mycontainer \/ inline-size;\n}<\/code><\/pre><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306e\u5fdc\u7528\u30c6\u30af\u30cb\u30c3\u30af<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" width=\"1536\" height=\"1024\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006380.jpg\" alt=\"\" class=\"wp-image-12881\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006380.jpg 1536w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006380-768x512.jpg 768w\" sizes=\"(max-width: 1536px) 100vw, 1536px\" \/><\/figure>\n<\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.00.55.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306e\u5fdc\u7528\u30c6\u30af\u30cb\u30c3\u30af\u306f\u5177\u4f53\u7684\u306b\u3069\u3093\u306a\u3082\u306e\u304c\u3042\u308b\u306e\u3067\u3059\u304b\uff1f<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.12.07.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30da\u30f3\u535a\u58eb<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u826f\u3044\u8cea\u554f\u3058\u3083\uff01\u3053\u3053\u3067\u306f\u3001\u4e3b\u306a\u5fdc\u7528\u30c6\u30af\u30cb\u30c3\u30af\u30923\u3064\u7d39\u4ecb\u3059\u308b\u305e\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">1. \u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u30e6\u30cb\u30c3\u30c8\uff08cqw\u3001cqh\uff09<\/h3>\n\n\n\n<p>\u30b3\u30f3\u30c6\u30ca\u306e\u30b5\u30a4\u30ba\u306b\u57fa\u3065\u3044\u305f\u76f8\u5bfe\u5358\u4f4d\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>cqw<\/strong>\uff1a\u30b3\u30f3\u30c6\u30ca\u5e45\u306e1%<\/li>\n\n\n\n<li><strong>cqh<\/strong>\uff1a\u30b3\u30f3\u30c6\u30ca\u9ad8\u3055\u306e1%<\/li>\n\n\n\n<li><strong>cqi<\/strong>\uff1a\u30b3\u30f3\u30c6\u30ca\u306e\u30a4\u30f3\u30e9\u30a4\u30f3\u30b5\u30a4\u30ba\uff08\u6a2a\u5e45\uff09\u306e1%<\/li>\n\n\n\n<li><strong>cqb<\/strong>\uff1a\u30b3\u30f3\u30c6\u30ca\u306e\u30d6\u30ed\u30c3\u30af\u30b5\u30a4\u30ba\uff08\u9ad8\u3055\uff09\u306e1%<\/li>\n\n\n\n<li><strong>cqmin<\/strong>\uff1acqi\u3068cqb\u306e\u5c0f\u3055\u3044\u65b9<\/li>\n\n\n\n<li><strong>cqmax<\/strong>\uff1acqi\u3068cqb\u306e\u5927\u304d\u3044\u65b9<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u5b9f\u88c5\u4f8b<\/h4>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.card-container {\n  container-type: inline-size;\n}\n\n.card-title {\n  \/* \u30b3\u30f3\u30c6\u30ca\u5e45\u306b\u5fdc\u3058\u3066\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u304c\u5909\u308f\u308b *\/\n  font-size: clamp(1rem, 5cqw, 2rem);\n}\n\n.card-image {\n  \/* \u30b3\u30f3\u30c6\u30ca\u5e45\u306e80% *\/\n  width: 80cqw;\n  height: 50cqw;\n}<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u8907\u6570\u6761\u4ef6\u306e\u7d44\u307f\u5408\u308f\u305b<\/h3>\n\n\n\n<p>\u8ad6\u7406\u6f14\u7b97\u5b50\uff08<code>and<\/code>\u3001<code>or<\/code>\u3001<code>not<\/code>\uff09\u3092\u4f7f\u3063\u3066\u3001\u8907\u96d1\u306a\u6761\u4ef6\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* AND\u6761\u4ef6\uff1a\u5e45\u304c400px\u4ee5\u4e0a\u304b\u3064600px\u4ee5\u4e0b *\/\n@container (min-width: 400px) and (max-width: 600px) {\n  .card {\n    background: lightblue;\n  }\n}\n\n\/* OR\u6761\u4ef6\uff1a\u5e45\u304c300px\u4ee5\u4e0b\u307e\u305f\u306f900px\u4ee5\u4e0a *\/\n@container (max-width: 300px), (min-width: 900px) {\n  .card {\n    border: 2px solid red;\n  }\n}\n\n\/* NOT\u6761\u4ef6\uff1a\u5e45\u304c500px\u4ee5\u4e0a\u3067\u306a\u3044\u5834\u5408 *\/\n@container not (min-width: 500px) {\n  .card {\n    padding: 8px;\n  }\n}<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u30a2\u30b9\u30da\u30af\u30c8\u6bd4\u3092\u57fa\u6e96\u306b\u3057\u305f\u5206\u5c90<\/h3>\n\n\n\n<p>\u30b3\u30f3\u30c6\u30ca\u306e\u30a2\u30b9\u30da\u30af\u30c8\u6bd4\u306b\u5fdc\u3058\u3066\u30b9\u30bf\u30a4\u30eb\u3092\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.media-container {\n  container-type: size; \/* width\u3068height\u306e\u4e21\u65b9\u3092\u57fa\u6e96\u306b\u3059\u308b *\/\n}\n\/* \u6a2a\u9577\u306e\u30b3\u30f3\u30c6\u30ca *\/\n@container (aspect-ratio &gt; 16\/9) {\n  .media-content {\n    display: flex;\n    flex-direction: row;\n  }\n}\n\/* \u7e26\u9577\u306e\u30b3\u30f3\u30c6\u30ca *\/\n@container (aspect-ratio &lt; 1\/1) {\n  .media-content {\n    display: flex;\n    flex-direction: column;\n  }\n}<\/code><\/pre><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d6\u30e9\u30a6\u30b6\u5bfe\u5fdc\u3068\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" width=\"1126\" height=\"746\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2026-03-03-15.34.25.jpg\" alt=\"\" class=\"wp-image-12776\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2026-03-03-15.34.25.jpg 1126w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2026-03-03-15.34.25-768x509.jpg 768w\" sizes=\"(max-width: 1126px) 100vw, 1126px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">\u30d6\u30e9\u30a6\u30b6\u5bfe\u5fdc\u72b6\u6cc1\uff082026\u5e742\u6708\u73fe\u5728\uff09<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u30d6\u30e9\u30a6\u30b6<\/th><th>\u5bfe\u5fdc\u30d0\u30fc\u30b8\u30e7\u30f3<\/th><th>\u5bfe\u5fdc\u72b6\u6cc1<\/th><\/tr><\/thead><tbody><tr><td>Chrome<\/td><td>105\u4ee5\u964d<\/td><td>\u5b8c\u5168\u5bfe\u5fdc<\/td><\/tr><tr><td>Edge<\/td><td>105\u4ee5\u964d<\/td><td>\u5b8c\u5168\u5bfe\u5fdc<\/td><\/tr><tr><td>Firefox<\/td><td>110\u4ee5\u964d<\/td><td>\u5b8c\u5168\u5bfe\u5fdc<\/td><\/tr><tr><td>Safari<\/td><td>16.0\u4ee5\u964d<\/td><td>\u5b8c\u5168\u5bfe\u5fdc<\/td><\/tr><tr><td>iOS Safari<\/td><td>16.0\u4ee5\u964d<\/td><td>\u5b8c\u5168\u5bfe\u5fdc<\/td><\/tr><tr><td>Samsung Internet<\/td><td>20\u4ee5\u964d<\/td><td>\u5b8c\u5168\u5bfe\u5fdc<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>2023\u5e74\u4ee5\u964d\u3001<strong><span class=\"swl-marker mark_yellow\">\u3059\u3079\u3066\u306e\u4e3b\u8981\u30d6\u30e9\u30a6\u30b6\u3067\u6b63\u5f0f\u30b5\u30dd\u30fc\u30c8<\/span><\/strong>\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5b9f\u6848\u4ef6\u3067\u3082\u5b89\u5fc3\u3057\u3066\u5c0e\u5165\u3067\u304d\u308b\u72b6\u6cc1\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\uff08\u4ee3\u66ff\u624b\u6bb5\uff09\u306e\u5b9f\u88c5<\/h3>\n\n\n\n<p>\u53e4\u3044\u30d6\u30e9\u30a6\u30b6\u5411\u3051\u306b\u3001\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u3092\u7528\u610f\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* \u57fa\u672c\u30b9\u30bf\u30a4\u30eb\uff08\u3059\u3079\u3066\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u9069\u7528\uff09 *\/\n.card {\n  display: flex;\n  flex-direction: column;\n}\n\n\/* \u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u30d6\u30e9\u30a6\u30b6\u306e\u307f *\/\n@supports (container-type: inline-size) {\n  .card-container {\n    container-type: inline-size;\n  }\n\n  @container (min-width: 480px) {\n    .card {\n      flex-direction: row;\n    }\n  }\n}\n\n\/* \u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u975e\u5bfe\u5fdc\u306e\u5834\u5408\u306f\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3067\u4ee3\u66ff *\/\n@supports not (container-type: inline-size) {\n  @media (min-width: 768px) {\n    .card {\n      flex-direction: row;\n    }\n  }\n}<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d7\u30ed\u30b0\u30ec\u30c3\u30b7\u30d6\u30a8\u30f3\u30cf\u30f3\u30b9\u30e1\u30f3\u30c8<\/h3>\n\n\n\n<p>\u57fa\u672c\u7684\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3067\u5b9f\u88c5\u3057\u3001\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u3067<strong><span class=\"swl-marker mark_yellow\">\u6bb5\u968e\u7684\u306b\u6a5f\u80fd\u3092\u8ffd\u52a0<\/span><\/strong>\u3059\u308b\u65b9\u6cd5\u3082\u6709\u52b9\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* \u30b9\u30c6\u30c3\u30d71\uff1a\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3067\u57fa\u672c\u30ec\u30a4\u30a2\u30a6\u30c8 *\/\n@media (min-width: 768px) {\n  .card {\n    flex-direction: row;\n  }\n}\n\n\/* \u30b9\u30c6\u30c3\u30d72\uff1a\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u3067\u3088\u308a\u67d4\u8edf\u306b *\/\n@container (min-width: 480px) {\n  .card {\n    flex-direction: row;\n  }\n}<\/code><\/pre><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u6700\u9069\u5316\u3059\u308b\u306b\u306f\uff1f<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" width=\"1536\" height=\"1024\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006382.jpg\" alt=\"\" class=\"wp-image-12882\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006382.jpg 1536w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006382-768x512.jpg 768w\" sizes=\"(max-width: 1536px) 100vw, 1536px\" \/><\/figure>\n<\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.00.55.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u6700\u9069\u5316\u3059\u308b\u306b\u306f\u3069\u3046\u3057\u305f\u3089\u826f\u3044\u3067\u3059\u304b\uff1f<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.12.07.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30da\u30f3\u535a\u58eb<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u3046\u3080\u3002\u4e3b\u306b3\u3064\u306e\u65b9\u6cd5\u304c\u6319\u3052\u308c\u3089\u308b\u3002\u9806\u3092\u8ffd\u3063\u3066\u8aac\u660e\u3059\u308b\u305e\u3044\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">1. \u904e\u5ea6\u306a\u30cd\u30b9\u30c8\u3092\u907f\u3051\u308b<\/h3>\n\n\n\n<p>\u30b3\u30f3\u30c6\u30ca\u3092\u6df1\u304f\u30cd\u30b9\u30c8\u3057\u3059\u304e\u308b\u3068\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u4f4e\u4e0b\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<strong><span class=\"swl-marker mark_yellow\">\u5fc5\u8981\u6700\u5c0f\u9650\u306e\u30cd\u30b9\u30c8<\/span><\/strong>\u306b\u7559\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* \u60aa\u3044\u4f8b\uff1a\u904e\u5ea6\u306a\u30cd\u30b9\u30c8 *\/\n.container1 { container-type: inline-size; }\n  .container2 { container-type: inline-size; }\n    .container3 { container-type: inline-size; }\n      .container4 { container-type: inline-size; }\n\n\/* \u826f\u3044\u4f8b\uff1a\u5fc5\u8981\u306a\u7b87\u6240\u306e\u307f *\/\n.main-container { container-type: inline-size; }\n  .card-container { container-type: inline-size; }<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2. container-type\u3092\u4f7f\u3044\u5206\u3051\u308b<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>inline-size<\/strong>\uff1a\u6a2a\u5e45\u306e\u307f\u3092\u76e3\u8996\uff08\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u826f\u3044\uff09<\/li>\n\n\n\n<li><strong>size<\/strong>\uff1a\u6a2a\u5e45\u3068\u9ad8\u3055\u306e\u4e21\u65b9\u3092\u76e3\u8996\uff08\u51e6\u7406\u30b3\u30b9\u30c8\u304c\u9ad8\u3044\uff09<\/li>\n<\/ul>\n\n\n\n<p>\u307b\u3068\u3093\u3069\u306e\u5834\u5408\u3001<code>inline-size<\/code>\u3067\u5341\u5206\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u9069\u5207\u306a\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u8a2d\u5b9a\u3059\u308b<\/h3>\n\n\n\n<p>\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u7d30\u304b\u304f\u8a2d\u5b9a\u3057\u3059\u304e\u308b\u3068\u3001\u518d\u8a08\u7b97\u306e\u30b3\u30b9\u30c8\u304c\u5897\u3048\u307e\u3059\u3002<strong><span class=\"swl-marker mark_yellow\">3\u301c4\u6bb5\u968e\u7a0b\u5ea6<\/span><\/strong>\u306b\u7559\u3081\u308b\u306e\u304c\u7406\u60f3\u7684\u3067\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" width=\"1536\" height=\"1024\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006383.jpg\" alt=\"\" class=\"wp-image-12883\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006383.jpg 1536w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/02\/1000006383-768x512.jpg 768w\" sizes=\"(max-width: 1536px) 100vw, 1536px\" \/><\/figure>\n<\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.00.55.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u3092\u4f7f\u7528\u3059\u308b\u306b\u3042\u305f\u3063\u3066\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u3053\u3068\u3082\u77e5\u308a\u305f\u3044\u3067\u3059\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.12.07.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30da\u30f3\u535a\u58eb<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong><strong><strong>\u3046\u3080\u3002\u3053\u3053\u3067\u306f\u3001\u4e3b\u306a\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u30923\u3064\u7d39\u4ecb\u3059\u308b\u305e\u3044\uff01<\/strong><\/strong><\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u554f\u984c1: \u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u304c\u52b9\u304b\u306a\u3044<\/h3>\n\n\n\n<p><strong>\u539f\u56e0\u3068\u89e3\u6c7a\u6cd5<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>container-type\u306e\u6307\u5b9a\u5fd8\u308c<\/strong> \u2192 \u89aa\u8981\u7d20\u306b<code>container-type<\/code>\u3092\u6307\u5b9a<\/li>\n\n\n\n<li><strong>\u30d6\u30e9\u30a6\u30b6\u304c\u975e\u5bfe\u5fdc<\/strong> \u2192 \u30d6\u30e9\u30a6\u30b6\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d<\/li>\n\n\n\n<li><strong>\u89aa\u8981\u7d20\u306e\u30b5\u30a4\u30ba\u304c0<\/strong> \u2192 \u89aa\u8981\u7d20\u306b\u660e\u793a\u7684\u306a\u30b5\u30a4\u30ba\u3092\u6307\u5b9a<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u554f\u984c2: \u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u5d29\u308c\u308b<\/h3>\n\n\n\n<p><strong>\u539f\u56e0\u3068\u89e3\u6c7a\u6cd5<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u306e\u5024\u304c\u4e0d\u9069\u5207<\/strong> \u2192 \u5b9f\u969b\u306e\u30b3\u30f3\u30c6\u30ca\u30b5\u30a4\u30ba\u3092\u78ba\u8a8d\u3057\u3066\u8abf\u6574<\/li>\n\n\n\n<li><strong>container-type\u304csize<\/strong> \u2192 <code>inline-size<\/code>\u306b\u5909\u66f4<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u554f\u984c3: \u53e4\u3044\u30d6\u30e9\u30a6\u30b6\u3067\u8868\u793a\u304c\u5d29\u308c\u308b<\/h3>\n\n\n\n<p><strong>\u539f\u56e0\u3068\u89e3\u6c7a\u6cd5<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u304c\u306a\u3044<\/strong> \u2192 <code>@supports<\/code>\u3068\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3067\u4ee3\u66ff\u5b9f\u88c5<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-14.48.08.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u3063\u3066\u3001\u672c\u5f53\u306b\u4fbf\u5229\u3067\u3059\u306d\uff01\u3053\u308c\u304b\u3089\u306e\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3\u306e\u6a19\u6e96\u306b\u306a\u308a\u305d\u3046\u3067\u3059\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.12.07.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30da\u30f3\u535a\u58eb<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u305d\u306e\u901a\u308a\u3058\u3083\uff01\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u3092\u4f7f\u3048\u3070\u3001\u771f\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u6307\u5411\u8a2d\u8a08\u304c\u5b9f\u73fe\u3067\u304d\u308b\u3093\u3058\u3083\u3002\u307e\u305a\u306f\u5c0f\u3055\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304b\u3089\u59cb\u3081\u3066\u3001\u5f90\u3005\u306b\u5b9f\u6848\u4ef6\u306b\u5c0e\u5165\u3057\u3066\u3044\u304f\u3093\u3058\u3083\u305e\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.06.05.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p><strong>\u306f\u3044\uff01\u6b21\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u30d6\u30ed\u30b0\u30ab\u30fc\u30c9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u5c0e\u5165\u3057\u3066\u307f\u307e\u3059\uff01\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\uff08Container Queries\uff09\u306e\u5b9f\u6848\u4ef6\u3067\u306e\u5c0e\u5165\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3001\u5b9f\u88c5\u4f8b\u3092\u4ea4\u3048\u306a\u304c\u3089\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u91cd\u8981\u306a\u30dd\u30a4\u30f3\u30c8\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-big_icon_point\"><strong>\u30fb\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306e\u7279\u5fb4<\/strong>\uff1a\u89aa\u8981\u7d20\u306e\u30b5\u30a4\u30ba\u3092\u57fa\u6e96\u306b\u30b9\u30bf\u30a4\u30eb\u3092\u5909\u66f4\u3067\u304d\u308b\u6700\u65b0\u306eCSS\u6a5f\u80fd<br><strong>\u30fb\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3068\u306e\u9055\u3044<\/strong>\uff1a\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u57fa\u6e96\u3067\u306f\u306a\u304f\u3001\u30b3\u30f3\u30c6\u30ca\u57fa\u6e96\u3067\u30b9\u30bf\u30a4\u30eb\u3092\u5207\u308a\u66ff\u3048<br><strong>\u30fb\u5b9f\u88c5\u65b9\u6cd5<\/strong>\uff1a<code>container-type<\/code>\u3067\u89aa\u8981\u7d20\u3092\u5b9a\u7fa9\u3057\u3001<code>@container<\/code>\u3067\u6761\u4ef6\u5206\u5c90<br><strong>\u30fb\u5b9f\u6848\u4ef6\u306e\u30d1\u30bf\u30fc\u30f3<\/strong>\uff1a\u30ab\u30fc\u30c9\u3001\u30b0\u30ea\u30c3\u30c9\u3001\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u3001\u30d5\u30a9\u30fc\u30e0\u306a\u3069\u5e45\u5e83\u304f\u6d3b\u7528\u53ef\u80fd<br><strong>\u30fb\u30d6\u30e9\u30a6\u30b6\u5bfe\u5fdc<\/strong>\uff1a2023\u5e74\u4ee5\u964d\u306e\u4e3b\u8981\u30d6\u30e9\u30a6\u30b6\u3067\u5b8c\u5168\u30b5\u30dd\u30fc\u30c8<br><strong>\u30fb\u6700\u9069\u5316<\/strong>\uff1a\u904e\u5ea6\u306a\u30cd\u30b9\u30c8\u3092\u907f\u3051\u3001<code>inline-size<\/code>\u3092\u512a\u5148\u7684\u306b\u4f7f\u7528<\/p>\n\n\n\n<p><strong><span class=\"swl-marker mark_yellow\">WithCode\u3067\u5b66\u3093\u3060HTML\u30fbCSS\u306e\u57fa\u790e\u77e5\u8b58\u306b\u3001\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306e\u6280\u8853\u3092\u7d44\u307f\u5408\u308f\u305b\u308c\u3070\u3001\u3069\u3093\u306a\u8907\u96d1\u306a\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3\u3067\u3082\u67d4\u8edf\u306b\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/span><\/strong><\/p>\n\n\n\n<p>\u30b3\u30f3\u30c6\u30ca\u30af\u30a8\u30ea\u306f\u3001\u771f\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u6307\u5411\u8a2d\u8a08\u3092\u5b9f\u73fe\u3059\u308b\u5f37\u529b\u306a\u6280\u8853\u3067\u3059\u3002\u305c\u3072\u5b9f\u969b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u6d3b\u7528\u3057\u3001\u4fdd\u5b88\u6027\u306e\u9ad8\u3044Web\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">WithCode\u3092\u4f53\u9a13\u3067\u304d\u308b\u521d\u7d1a\u30b3\u30fc\u30b9\u516c\u958b\u4e2d\uff01<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" width=\"600\" height=\"500\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/\u30d0\u30ca\u30fc_300\u00d7250_20240425.png\" alt=\"\" class=\"wp-image-2650\"\/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">\u521d\u7d1a\u30b3\u30fc\u30b9\uff08\u00a549,800\uff09\u304c\u5b8c\u5168\u7121\u6599\u306b\uff01<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u671f\u9593\uff1a<\/strong>1\u9031\u9593<\/li>\n\n\n\n<li><strong>\u5b66\u7fd2\u5185\u5bb9\uff1a<\/strong><br>\u30ed\u30fc\u30c9\u30de\u30c3\u30d7\/\u57fa\u790e\u77e5\u8b58\/\u74b0\u5883\u69cb\u7bc9\/HTML\/CSS\/LP\u30fb\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u4f5c\u6210<br><strong><span class=\"swl-marker mark_yellow\">\u2192 \u6b63\u3057\u3044\u5b66\u7fd2\u65b9\u6cd5\u3067\u300c\u78ba\u304b\u306a\u6210\u9577\u300d\u3092\u5b9f\u611f\u3067\u304d\u308b\u30ab\u30ea\u30ad\u30e5\u30e9\u30e0<\/span><\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u526f\u696d\u30fb\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u304c\u4e3b\u6d41\u306b\u306a\u3063\u3066\u3044\u308b\u4eca\u3053\u305d\u3001\u81ea\u3089\u306e\u30b9\u30ad\u30eb\u3067\u7a3c\u3052\u308b\u4eba\u6750\u3092\u76ee\u6307\u3057\u3066\u307f\u307e\u305b\u3093\u304b\uff1f<\/p>\n\n\n\n<p>\u672a\u7d4c\u9a13\u3067\u3082\u5fc3\u914d\u3059\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u521d\u7d1a\u30b3\u30fc\u30b9\u3092\u53d7\u8b1b\u3055\u308c\u308b\u65b9\u306e\u5927\u591a\u6570\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u672a\u7d4c\u9a13\u3067\u3059\u3002\u307e\u305a\u306f\u7121\u6599\u30ab\u30a6\u30f3\u30bb\u30ea\u30f3\u30b0\u3067\u3001\u60a9\u307f\u3084\u4e0d\u5b89\u3092\u304a\u805e\u304b\u305b\u304f\u3060\u3055\u3044\uff01<\/p>\n\n\n\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\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n","protected":false},"excerpt":{"rendered":"<p>\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3\u306e\u5b9f\u88c5\u306b\u304a\u3044\u3066\u3001\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u306f\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u5168\u4f53\u306e\u30b5\u30a4\u30ba\u3092\u57fa\u6e96\u306b\u30b9\u30bf\u30a4\u30eb\u3092\u5207\u308a\u66ff\u3048\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u30b5\u30a4\u30c9\u30d0\u30fc\u3068\u30e1\u30a4\u30f3\u30a8\u30ea\u30a2\u3067\u540c\u3058\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u914d\u7f6e\u3057\u305f\u3044\u5834\u5408\u3001\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3060\u3051\u3067\u306f\u67d4\u8edf\u306a\u5bfe\u5fdc\u304c\u56f0\u96e3\u3067\u3059 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":12561,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"swell_btn_cv_data":"","footnotes":""},"categories":[34,361],"tags":[61,66,172,388],"class_list":["post-12337","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming","category-css","tag-css","tag-web","tag-172","tag-388"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts\/12337","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/comments?post=12337"}],"version-history":[{"count":11,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts\/12337\/revisions"}],"predecessor-version":[{"id":12884,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts\/12337\/revisions\/12884"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/media\/12561"}],"wp:attachment":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/media?parent=12337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/categories?post=12337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/tags?post=12337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}