{"id":1248,"date":"2023-07-19T22:01:44","date_gmt":"2023-07-19T13:01:44","guid":{"rendered":"https:\/\/freefuntimes.com\/?p=1248"},"modified":"2023-07-19T22:01:47","modified_gmt":"2023-07-19T13:01:47","slug":"%e6%a8%aa%e4%b8%a6%e3%81%b3%e6%99%82%e3%81%ab%e7%89%b9%e5%ae%9a%e8%a6%81%e7%b4%a0%e3%81%ae%e9%ab%98%e3%81%95%e3%82%92%e6%8f%83%e3%81%88%e3%81%9f%e3%81%84%e5%a0%b4%e5%90%88%e3%81%ae%e5%ae%9f%e8%a3%85","status":"publish","type":"post","link":"https:\/\/freefuntimes.com\/?p=1248","title":{"rendered":"\u6a2a\u4e26\u3073\u6642\u306b\u7279\u5b9a\u8981\u7d20\u306e\u9ad8\u3055\u3092\u63c3\u3048\u305f\u3044\u5834\u5408\u306e\u5b9f\u88c5\uff08\u5099\u5fd8\u9332\uff09"},"content":{"rendered":"\n<p>\u4eca\u56de\u306f\u3001\u6a2a\u4e26\u3073\u6642\u306b\u7279\u5b9a\u306e\u8981\u7d20\u306e\u9ad8\u3055\u3092\u63c3\u3048\u305f\u3044\u5834\u5408\u306e\u5b9f\u88c5\u306b\u3064\u3044\u3066\u3001CSS\u3060\u3051\u3067\u5bfe\u5fdc\u3059\u308b\u65b9\u6cd5\u3001JS\u3092\u4f7f\u3063\u3066\u5bfe\u5fdc\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u5177\u4f53\u7684\u306b\u306f\u3001\u4e0b\u8a18\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd51\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\uff09<\/li><li>CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd52\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\u30fb\u3072\u5b6b\u8981\u7d20\uff09<\/li><li>JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3059\u30ab\u30e9\u30e0\u306e\u884c\u306b\u5fdc\u3058\u3066\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd5<\/li><li>JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3055\u306a\u3044\u30ab\u30e9\u30e0\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd5<\/li><\/ul>\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-col-ffffff-color has-col-c-3512-f-background-color has-text-color has-background\" href=\"https:\/\/freefuntimes.com\/demo\/0064_column_hight\/\" target=\"_blank\" rel=\"noreferrer noopener\">demo<\/a><\/div>\n<\/div>\n\n\n\n<p>\u305d\u308c\u3067\u306f\u5b9f\u88c5\u306b\u5165\u3063\u3066\u3044\u304d\u307e\u3059\u304c\u3001\u6700\u521d\u306b\u3059\u3079\u3066\u306e\u30b3\u30fc\u30c9\u3092\u7d39\u4ecb\u3057\u3066\u304b\u3089\u8a73\u7d30\u306b\u5165\u3063\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7420886115642360\" crossorigin=\"anonymous\"><\/script>\n<!-- \u5e83\u544a\uff12 -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-7420886115642360\" data-ad-slot=\"6763072797\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #382410;color:#382410\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #382410;color:#382410\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#html%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\" >HTML\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#css%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\" >CSS\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#javascript%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\" >JavaScript\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#css%e3%81%a7%e6%a8%aa%e4%b8%a6%e3%81%b3%e3%81%a7%e9%ab%98%e3%81%95%e3%82%92%e6%8f%83%e3%81%88%e3%82%8b%e6%96%b9%e6%b3%951%ef%bc%88%e8%a6%aa%e8%a6%81%e7%b4%a0%e3%83%bb%e5%ad%90%e8%a6%81%e7%b4%a0%e3%83%bb%e5%ad%ab%e8%a6%81%e7%b4%a0%ef%bc%89\" >CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd51\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\uff09<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#html%e8%a9%b3%e7%b4%b0\" >HTML\u8a73\u7d30<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#css%e8%a9%b3%e7%b4%b0\" >CSS\u8a73\u7d30<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#css%e3%81%a7%e6%a8%aa%e4%b8%a6%e3%81%b3%e3%81%a7%e9%ab%98%e3%81%95%e3%82%92%e6%8f%83%e3%81%88%e3%82%8b%e6%96%b9%e6%b3%952%ef%bc%88%e8%a6%aa%e8%a6%81%e7%b4%a0%e3%83%bb%e5%ad%90%e8%a6%81%e7%b4%a0%e3%83%bb%e5%ad%ab%e8%a6%81%e7%b4%a0%e3%83%bb%e3%81%b2%e5%ad%ab%e8%a6%81%e7%b4%a0%ef%bc%89\" >CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd52\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\u30fb\u3072\u5b6b\u8981\u7d20\uff09<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#html%e8%a9%b3%e7%b4%b0-2\" >HTML\u8a73\u7d30<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#css%e8%a9%b3%e7%b4%b0-2\" >CSS\u8a73\u7d30<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#js%e3%81%a7%e6%a8%aa%e4%b8%a6%e3%81%b3%e3%81%a7%e6%8a%98%e3%82%8a%e8%bf%94%e3%81%99%e3%82%ab%e3%83%a9%e3%83%a0%e3%81%ae%e8%a1%8c%e3%81%ab%e5%bf%9c%e3%81%98%e3%81%a6%e9%ab%98%e3%81%95%e3%82%92%e6%8f%83%e3%81%88%e3%82%8b%e6%96%b9%e6%b3%95\" >JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3059\u30ab\u30e9\u30e0\u306e\u884c\u306b\u5fdc\u3058\u3066\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd5<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#html%e8%a9%b3%e7%b4%b0-3\" >HTML\u8a73\u7d30<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#css%e8%a9%b3%e7%b4%b0-3\" >CSS\u8a73\u7d30<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#javascript%e8%a9%b3%e7%b4%b0\" >JavaScript\u8a73\u7d30<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#resizehandler%e3%81%ae%e4%b8%ad%e8%ba%ab%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\" >resizeHandler\u306e\u4e2d\u8eab\u306b\u3064\u3044\u3066<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#if%e6%96%87%e3%81%ae%e5%b7%a6%e5%81%b4%e3%80%8cindex_1_itemsperrow_0%e3%80%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\" >if\u6587\u306e\u5de6\u5074\u300c(index + 1) % itemsPerRow === 0\u300d\u306b\u3064\u3044\u3066<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#if%e6%96%87%e3%81%ae%e5%8f%b3%e5%81%b4%e3%80%8cindex_flexitemslength_%e2%80%93_1%e3%80%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\" >if\u6587\u306e\u53f3\u5074\u300cindex === flexItems.length &#8211; 1)\u300d\u306b\u3064\u3044\u3066<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#adjustheight%e3%81%ae%e4%b8%ad%e8%ba%ab%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\" >adjustHeight\u306e\u4e2d\u8eab\u306b\u3064\u3044\u3066<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#js%e3%81%a7%e6%a8%aa%e4%b8%a6%e3%81%b3%e3%81%a7%e6%8a%98%e3%82%8a%e8%bf%94%e3%81%95%e3%81%aa%e3%81%84%e3%82%ab%e3%83%a9%e3%83%a0%e3%81%a7%e9%ab%98%e3%81%95%e3%82%92%e6%8f%83%e3%81%88%e3%82%8b%e6%96%b9%e6%b3%95\" >JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3055\u306a\u3044\u30ab\u30e9\u30e0\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd5<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#html%e8%a9%b3%e7%b4%b0-4\" >HTML\u8a73\u7d30<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#css%e8%a9%b3%e7%b4%b0-4\" >CSS\u8a73\u7d30<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/freefuntimes.com\/?p=1248\/#javascript%e8%a9%b3%e7%b4%b0-2\" >JavaScript\u8a73\u7d30<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"html%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\"><\/span>HTML\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;!DOCTYPE html&gt;\n&lt;html lang=&quot;ja&quot;&gt;\n\n&lt;head&gt;\n  &lt;meta charset=&quot;UTF-8&quot;&gt;\n  &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;\n  &lt;title&gt;\u6a2a\u4e26\u3073\u306e\u3068\u304d\u306b\u8981\u7d20\u306e\u9ad8\u3055\u3092\u63c3\u3048\u308b&lt;\/title&gt;\n  &lt;link rel=&quot;stylesheet&quot; href=&quot;..\/reset.css&quot;&gt;\n  &lt;link rel=&quot;stylesheet&quot; href=&quot;style.css&quot;&gt;\n&lt;\/head&gt;\n\n&lt;body&gt;\n  &lt;!-- CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd51\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\uff09 --&gt;\n  &lt;section&gt;\n    &lt;div class=&quot;ly_inner&quot;&gt;\n      &lt;h2&gt;CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd51\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\uff09&lt;\/h2&gt;\n      &lt;div class=&quot;bl_flex&quot;&gt;\n        &lt;div class=&quot;bl_flex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_flex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_flex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_flex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_flex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_flex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n    &lt;\/div&gt;\n  &lt;\/section&gt;\n  &lt;!-- CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd52\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\u30fb\u3072\u5b6b\u8981\u7d20\uff09 --&gt;\n  &lt;section&gt;\n    &lt;div class=&quot;ly_inner&quot;&gt;\n      &lt;h2&gt;CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd52\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\u30fb\u3072\u5b6b\u8981\u7d20\uff09&lt;\/h2&gt;\n      &lt;p&gt;\u898b\u51fa\u3057\u3068\u30dc\u30bf\u30f3\u306e\u5916\u5074\u306b\u30bf\u30b0\u3092\u5897\u3084\u3057\u3066\u3044\u307e\u3059\u3002&lt;\/p&gt;\n      &lt;div class=&quot;bl_flex&quot;&gt;\n        &lt;div class=&quot;bl_flex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;div class=&quot;bl_content_inner&quot;&gt;\n            &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n            &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n          &lt;\/div&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_flex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;div class=&quot;bl_content_inner&quot;&gt;\n            &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n            &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n          &lt;\/div&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_flex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;div class=&quot;bl_content_inner&quot;&gt;\n            &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n            &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n          &lt;\/div&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_flex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;div class=&quot;bl_content_inner&quot;&gt;\n            &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n            &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n          &lt;\/div&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_flex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;div class=&quot;bl_content_inner&quot;&gt;\n            &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n            &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n          &lt;\/div&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_flex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;div class=&quot;bl_content_inner&quot;&gt;\n            &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n            &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n          &lt;\/div&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n    &lt;\/div&gt;\n  &lt;\/section&gt;\n  &lt;!-- CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u53b3\u5bc6\u306b\u306f\u63c3\u3048\u3089\u308c\u306a\u3044\u5834\u5408 --&gt;\n  &lt;section&gt;\n    &lt;div class=&quot;ly_inner&quot;&gt;\n      &lt;h2&gt;CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u53b3\u5bc6\u306b\u306f\u63c3\u3048\u3089\u308c\u306a\u3044\u5834\u5408&lt;\/h2&gt;\n      &lt;p&gt;\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u898b\u51fa\u3057\u3001\u30c6\u30ad\u30b9\u30c8\u306a\u3069\u8907\u6570\u306e\u8981\u7d20\u304c\u5165\u308b\u5834\u5408\u306f\u57fa\u672c\u7684\u306b\u3067\u304d\u307e\u305b\u3093\u3002&lt;br&gt;grid\u306esubgrid\u3092\u4f7f\u3048\u308b\u6642\u4ee3\u304c\u3084\u3063\u3066\u304d\u305f\u6642\u306b\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002&lt;\/p&gt;\n      &lt;div class=&quot;bl_flex&quot;&gt;\n        &lt;div class=&quot;bl_flex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;p&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_flex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;p&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_flex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;p&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n    &lt;\/div&gt;\n  &lt;\/section&gt;\n  &lt;!-- JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3059\u30ab\u30e9\u30e0\u306e\u884c\u306b\u5fdc\u3058\u3066\u9ad8\u3055\u3092\u63c3\u3048\u308b\u5834\u5408 --&gt;\n  &lt;section&gt;\n    &lt;div class=&quot;ly_inner&quot;&gt;\n      &lt;h2&gt;JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3059\u30ab\u30e9\u30e0\u306e\u884c\u306b\u5fdc\u3058\u3066\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd5&lt;\/h2&gt;\n      &lt;p&gt;\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002\u898b\u51fa\u3057\u3001\u30c6\u30ad\u30b9\u30c8\u3001\u30dc\u30bf\u30f3\u306e\u5916\u5074\u306b\u30bf\u30b0\u3092\u633f\u5165\u3057\u3066\u3082\u4f7f\u7528\u53ef\u80fd\u3067\u3059\u3002\u4eca\u56de\u306f\u5165\u308c\u3066\u3044\u307e\u305b\u3093\u3002&lt;\/p&gt;\n      &lt;div class=&quot;bl_jsflex&quot;&gt;\n        &lt;div class=&quot;bl_jsflex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_jsh3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;p class=&quot;el_text&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_jsflex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_jsh3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;p class=&quot;el_text&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_jsflex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_jsh3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;p class=&quot;el_text&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_jsflex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_jsh3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;p class=&quot;el_text&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_jsflex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_jsh3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;p class=&quot;el_text&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_jsflex_item&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_jsh3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;p class=&quot;el_text&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n    &lt;\/div&gt;\n  &lt;\/section&gt;\n  &lt;!-- JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3055\u306a\u3044\u30ab\u30e9\u30e0\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u5834\u5408 --&gt;\n  &lt;section&gt;\n    &lt;div class=&quot;ly_inner&quot;&gt;\n      &lt;h2&gt;JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3055\u306a\u3044\u30ab\u30e9\u30e0\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd5&lt;\/h2&gt;\n      &lt;p&gt;\u30b9\u30e9\u30a4\u30c0\u30fc\u3084\u30ab\u30eb\u30fc\u30bb\u30eb\u306e\u5834\u5408\u3067\u3082\u4f7f\u3048\u307e\u3059\u3002&lt;\/p&gt;\n      &lt;div class=&quot;bl_jsflex02&quot;&gt;\n        &lt;div class=&quot;bl_jsflex_item02&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_jsh3title02&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;p class=&quot;el_text02&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_jsflex_item02&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_jsh3title02&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;p class=&quot;el_text02&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_jsflex_item02&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_jsh3title02&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;p class=&quot;el_text02&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n    &lt;\/div&gt;\n  &lt;\/section&gt;\n  &lt;script src=&quot;style.js&quot;&gt;&lt;\/script&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"css%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\"><\/span>CSS\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>@charset &quot;utf-8&quot;;\n\n\/* base *\/\n*:focus-visible {\n  outline: -webkit-focus-ring-color auto 1px;\n}\n* {\n  box-sizing: border-box;\n  padding: 0;\n  margin: 0;\n}\n\na {\n  color: inherit;\n  text-decoration: none;\n}\n\nimg {\n  display: block;\n  width: 100%;\n  height: auto;\n  margin-bottom: 8px;\n}\n\nh2 {\n  font-size: 32px;\n  margin-bottom: 24px;\n  font-weight: bold;\n}\n.ly_inner {\n  padding: 80px 0;\n  width: min(1120px, 100%);\n  margin-inline: auto;\n}\n.bl_flex {\n  display: flex;\n  gap: 24px;\n  flex-wrap: wrap;\n}\na {\n  display: grid;\n  place-items: center;\n  border: 1px solid #000;\n  min-height: 40px;\n}\np {\n  margin-bottom: 16px;\n}\n\n\/* CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd51\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\uff09\n------------------------------------------------------ *\/\n.bl_flex_item {\n  width: calc((100% - 48px) \/ 3);\n  display: flex; \/* \u89aa\u8981\u7d20\u306bflex\u3092\u4f7f\u7528\u3057\u305f\u5b50\u8981\u7d20\u306b\u5bfe\u3057\u3066\u3082flex\u3092\u6307\u5b9a\u3059\u308b *\/\n  flex-direction: column; \/* \u7e26\u306b\u4e26\u3079\u308b\u305f\u3081\u306b\u6307\u5b9a *\/\n  background-color: #ccc;\n}\n.el_h3title {\n  font-size: 24px;\n  font-weight: bold;\n  margin-bottom: 16px;\n  flex-grow: 1; \/* \u5b50\u8981\u7d20\u306bflex\u3092\u6307\u5b9a\u3057\u305f\u3055\u3089\u306b\u5b50\u8981\u7d20\u306bflex-grow\u3092\u6307\u5b9a\u3059\u308b *\/\n}\n\/* CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd52\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\u30fb\u3072\u5b6b\u8981\u7d20\uff09\n------------------------------------------------------ *\/\n\/* \u65b9\u6cd51\u306e\u898b\u51fa\u3057\u3068\u30dc\u30bf\u30f3\u306e\u5916\u5074\u306b\u30c7\u30fc\u30bf\u304c\u5165\u308b\u5834\u5408 *\/\n.bl_content_inner {\n  padding: 16px;\n  display: flex; \/* \u89aa\u8981\u7d20\u306bflex\u3092\u4f7f\u7528\u3057\u305f\u5b50\u8981\u7d20\u306b\u5bfe\u3057\u3066\u3082flex\u3092\u6307\u5b9a\u3059\u308b *\/\n  flex-direction: column;\n  flex-grow: 1;\n}\n\n\/* \u3053\u3053\u304b\u3089JS\u7528\n------------------------------------------------------ *\/\n.bl_jsflex {\n  display: flex;\n  gap: 24px;\n  flex-wrap: wrap;\n}\n\n.bl_jsflex_item {\n  width: calc((100% - 48px) \/ 3);\n  background-color: #ccc;\n}\n.el_jsh3title {\n  font-size: 24px;\n  font-weight: bold;\n  margin-bottom: 16px;\n}\n.el_text {\n  font-size: 16px;\n}\n@media screen and (max-width: 767px) {\n  .bl_jsflex_item {\n    width: calc((100% - 24px) \/ 2);\n  }\n}\n\n.bl_jsflex02 {\n  display: flex;\n  gap: 24px;\n}\n.bl_jsflex_item02 {\n  width: calc((100% - 48px) \/ 3);\n  background-color: #ccc;\n}\n.el_jsh3title02 {\n  font-size: 24px;\n  font-weight: bold;\n  margin-bottom: 16px;\n}\n.el_text02 {\n  font-size: 16px;\n}\n<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"javascript%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\"><\/span>JavaScript\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>&quot;use strict&quot;;\n\n\/\/ JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3059\u30ab\u30e9\u30e0\u306e\u884c\u306b\u5fdc\u3058\u3066\u9ad8\u3055\u3092\u63c3\u3048\u308b\u5834\u5408\nfunction resizeHandler() {\n  const flexItems = document.querySelectorAll(&quot;.bl_jsflex_item&quot;);\n  let itemsPerRow = 3; \/\/ \u30c7\u30d5\u30a9\u30eb\u30c8\u306e1\u884c\u3042\u305f\u308a\u306e\u8981\u7d20\u6570\n\n  if (window.innerWidth &lt;= 767) {\n    itemsPerRow = 2; \/\/ 767px\u4ee5\u4e0b\u306e\u5834\u5408\u3001\u30ab\u30e9\u30e0\u6570\u30922\u306b\u8a2d\u5b9a\n  }\n\n  let currentRowItems = [];\n  let currentRow = 0;\n\n  flexItems.forEach((item, index) =&gt; {\n    item.style.height = &quot;&quot;; \/\/ \u5143\u306e\u9ad8\u3055\u3092\u30ea\u30bb\u30c3\u30c8\n\n    currentRowItems.push(item);\n\n    if ((index + 1) % itemsPerRow === 0 || index === flexItems.length - 1) {\n      adjustHeight(currentRowItems);\n      currentRowItems = [];\n      currentRow++;\n    }\n  });\n}\n\nfunction adjustHeight(targets) {\n  let maxTitleHeight = 0;\n  let maxTextHeight = 0;\n\n  targets.forEach((target) =&gt; {\n    const title = target.querySelector(&quot;.el_jsh3title&quot;);\n    const text = target.querySelector(&quot;.el_text&quot;);\n\n    title.style.height = &quot;&quot;; \/\/ \u30bf\u30a4\u30c8\u30eb\u306e\u9ad8\u3055\u3092\u30ea\u30bb\u30c3\u30c8\n    text.style.height = &quot;&quot;; \/\/ \u30c6\u30ad\u30b9\u30c8\u306e\u9ad8\u3055\u3092\u30ea\u30bb\u30c3\u30c8\n\n    maxTitleHeight = Math.max(maxTitleHeight, title.clientHeight);\n    maxTextHeight = Math.max(maxTextHeight, text.clientHeight);\n  });\n\n  targets.forEach((target) =&gt; {\n    const title = target.querySelector(&quot;.el_jsh3title&quot;);\n    const text = target.querySelector(&quot;.el_text&quot;);\n\n    title.style.height = maxTitleHeight + &quot;px&quot;;\n    text.style.height = maxTextHeight + &quot;px&quot;;\n  });\n}\n\nwindow.addEventListener(&quot;resize&quot;, resizeHandler);\nwindow.addEventListener(&quot;load&quot;, resizeHandler);\n\n\/\/ JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3055\u306a\u3044\u30ab\u30e9\u30e0\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u5834\u5408\nfunction resizeHandler02() {\n  const title = document.querySelectorAll(&quot;.el_jsh3title02&quot;);\n  const text = document.querySelectorAll(&quot;.el_text02&quot;);\n\n  let maxTitleHeight = 0;\n  let maxTextHeight = 0;\n\n  title.forEach((target) =&gt; {\n    target.style.height = &quot;&quot;;\n    const height = target.clientHeight;\n    maxTitleHeight = Math.max(maxTitleHeight, height);\n  });\n\n  text.forEach((target) =&gt; {\n    target.style.height = &quot;&quot;;\n    const height = target.clientHeight;\n    maxTextHeight = Math.max(maxTextHeight, height);\n  });\n\n  title.forEach((target) =&gt; {\n    target.style.height = maxTitleHeight + &quot;px&quot;;\n  });\n\n  text.forEach((target) =&gt; {\n    target.style.height = maxTextHeight + &quot;px&quot;;\n  });\n}\n\nwindow.addEventListener(&quot;resize&quot;, resizeHandler02);\nwindow.addEventListener(&quot;load&quot;, resizeHandler02);\n<\/code><\/pre><\/div>\n\n\n\n<p>\u4ee5\u4e0a\u304c\u3059\u3079\u3066\u306e\u30b3\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u3092\u3082\u3068\u306b\u30014\u3064\u306e\u65b9\u6cd5\u3092\u9806\u756a\u306b\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"css%e3%81%a7%e6%a8%aa%e4%b8%a6%e3%81%b3%e3%81%a7%e9%ab%98%e3%81%95%e3%82%92%e6%8f%83%e3%81%88%e3%82%8b%e6%96%b9%e6%b3%951%ef%bc%88%e8%a6%aa%e8%a6%81%e7%b4%a0%e3%83%bb%e5%ad%90%e8%a6%81%e7%b4%a0%e3%83%bb%e5%ad%ab%e8%a6%81%e7%b4%a0%ef%bc%89\"><\/span><strong>CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd51\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\uff09<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"html%e8%a9%b3%e7%b4%b0\"><\/span>HTML\u8a73\u7d30<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;!-- CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd51\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\uff09 --&gt;\n&lt;section&gt;\n  &lt;div class=&quot;ly_inner&quot;&gt;\n    &lt;h2&gt;CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd51\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\uff09&lt;\/h2&gt;\n    &lt;div class=&quot;bl_flex&quot;&gt;\n      &lt;div class=&quot;bl_flex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n        &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_flex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n        &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_flex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n        &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_flex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n        &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_flex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n        &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_flex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n        &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n      &lt;\/div&gt;\n    &lt;\/div&gt;\n  &lt;\/div&gt;\n&lt;\/section&gt;<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u3061\u3089\u306f\u898b\u3066\u3044\u305f\u3060\u304f\u3068\u308f\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u4e0b\u8a18\u306e\u69cb\u9020\u306b\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>bl_flex\uff08\u89aa\uff09<br>\u2517bl_flex_item\uff08\u5b50\uff09<br>\u3000\u2517img\uff08\u5b6b\uff09<br>\u3000\u2517h3\uff08\u5b6b\uff09<br>\u3000\u2517a\uff08\u5b6b\uff09<\/p>\n\n\n\n<p>\u4e0a\u8a18\u306fbl_flex\u3068\u3044\u3046\u89aa\u304b\u3089\u307f\u3066\u3001bl_flex_item\u304c\u5b50\u306e\u95a2\u4fc2\u3001img\u30fbh3\u30fba\u304c\u5b6b\u306e\u95a2\u4fc2\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u5b6b\u3067\u3042\u308b\u3001h3\u306e\u30c6\u30ad\u30b9\u30c8\u306e\u9ad8\u3055\u3092\u6a2a\u306b\u4e26\u3079\u305f\u6642\u306b\u5408\u308f\u305b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"css%e8%a9%b3%e7%b4%b0\"><\/span>CSS\u8a73\u7d30<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.bl_flex {\n  display: flex;\n  gap: 24px;\n  flex-wrap: wrap;\n}\na {\n  display: grid;\n  place-items: center;\n  border: 1px solid #000;\n  min-height: 40px;\n}\np {\n  margin-bottom: 16px;\n}\n.bl_flex_item {\n  width: calc((100% - 48px) \/ 3);\n  display: flex; \/* \u89aa\u8981\u7d20\u306bflex\u3092\u4f7f\u7528\u3057\u305f\u5b50\u8981\u7d20\u306b\u5bfe\u3057\u3066\u3082flex\u3092\u6307\u5b9a\u3059\u308b *\/\n  flex-direction: column; \/* \u7e26\u306b\u4e26\u3079\u308b\u305f\u3081\u306b\u6307\u5b9a *\/\n  background-color: #ccc;\n}\n.el_h3title {\n  font-size: 24px;\n  font-weight: bold;\n  margin-bottom: 16px;\n  flex-grow: 1; \/* \u5b50\u8981\u7d20\u306bflex\u3092\u6307\u5b9a\u3057\u305f\u3055\u3089\u306b\u5b50\u8981\u7d20\u306bflex-grow\u3092\u6307\u5b9a\u3059\u308b *\/\n}\n<\/code><\/pre><\/div>\n\n\n\n<p>\u30dd\u30a4\u30f3\u30c8\u306fbl_flex_item\u3067\u3059\u3002\u3053\u3053\u306b\u5bfe\u3057\u3066display\u3092flex\u3067\u6307\u5b9a\u3057\u3001\u6a2a\u306b\u4e26\u3070\u306a\u3044\u3088\u3046flex-direction\u3092column\u306b\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u306e\u3061\u306eh3\u306b\u5bfe\u3057\u3066flex-grow\u3092\u6307\u5b9a\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7d9a\u3044\u3066el_h3title\u306bflex-grow\u30921\u3068\u6307\u5b9a\u3059\u308c\u3070\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3056\u3063\u304f\u308a\u3044\u3046\u3068\u3001\u89aa\u306b\u3082\u5b50\u306b\u3082flex\u3092\u5f53\u3066\u3066\u3001\u5b6b\u306bflex-grow\u3068\u3044\u3046\u611f\u3058\u3067\u3059\u304b\u306d\u3002<br>\u7d9a\u3044\u3066\u306f\u3072\u5b6b\u8981\u7d20\u304c\u3042\u308b\u30d1\u30bf\u30fc\u30f3\u3082\u307f\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"css%e3%81%a7%e6%a8%aa%e4%b8%a6%e3%81%b3%e3%81%a7%e9%ab%98%e3%81%95%e3%82%92%e6%8f%83%e3%81%88%e3%82%8b%e6%96%b9%e6%b3%952%ef%bc%88%e8%a6%aa%e8%a6%81%e7%b4%a0%e3%83%bb%e5%ad%90%e8%a6%81%e7%b4%a0%e3%83%bb%e5%ad%ab%e8%a6%81%e7%b4%a0%e3%83%bb%e3%81%b2%e5%ad%ab%e8%a6%81%e7%b4%a0%ef%bc%89\"><\/span>CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd52\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\u30fb\u3072\u5b6b\u8981\u7d20\uff09<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"html%e8%a9%b3%e7%b4%b0-2\"><\/span>HTML\u8a73\u7d30<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;!-- JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3055\u306a\u3044\u30ab\u30e9\u30e0\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u5834\u5408 --&gt;\n  &lt;section&gt;\n    &lt;div class=&quot;ly_inner&quot;&gt;\n      &lt;h2&gt;JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3055\u306a\u3044\u30ab\u30e9\u30e0\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd5&lt;\/h2&gt;\n      &lt;p&gt;\u30b9\u30e9\u30a4\u30c0\u30fc\u3084\u30ab\u30eb\u30fc\u30bb\u30eb\u306e\u5834\u5408\u3067\u3082\u4f7f\u3048\u307e\u3059\u3002&lt;\/p&gt;\n      &lt;div class=&quot;bl_jsflex02&quot;&gt;\n        &lt;div class=&quot;bl_jsflex_item02&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_jsh3title02&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;p class=&quot;el_text02&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_jsflex_item02&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_jsh3title02&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;p class=&quot;el_text02&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;bl_jsflex_item02&quot;&gt;\n          &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n          &lt;h3 class=&quot;el_jsh3title02&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;p class=&quot;el_text02&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n    &lt;\/div&gt;\n  &lt;\/section&gt;\n  &lt;script src=&quot;style.js&quot;&gt;&lt;\/script&gt;\n  &lt;ins class=&quot;adsbygoogle&quot; style=&quot;display:block&quot; data-ad-client=&quot;ca-pub-7420886115642360&quot; data-ad-slot=&quot;6763072797&quot; data-ad-format=&quot;auto&quot; data-full-width-responsive=&quot;true&quot;&gt;&lt;\/ins&gt;\n  &lt;script&gt;\n    (adsbygoogle = window.adsbygoogle || []).push({});\n  &lt;\/script&gt;\n&lt;\/body&gt;\n\n&lt;\/html&gt;\n&lt;!-- CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd52\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\u30fb\u3072\u5b6b\u8981\u7d20\uff09 --&gt;\n&lt;section&gt;\n  &lt;div class=&quot;ly_inner&quot;&gt;\n    &lt;h2&gt;CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd52\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\u30fb\u3072\u5b6b\u8981\u7d20\uff09&lt;\/h2&gt;\n    &lt;p&gt;\u898b\u51fa\u3057\u3068\u30dc\u30bf\u30f3\u306e\u5916\u5074\u306b\u30bf\u30b0\u3092\u5897\u3084\u3057\u3066\u3044\u307e\u3059\u3002&lt;\/p&gt;\n    &lt;div class=&quot;bl_flex&quot;&gt;\n      &lt;div class=&quot;bl_flex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;div class=&quot;bl_content_inner&quot;&gt;\n          &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_flex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;div class=&quot;bl_content_inner&quot;&gt;\n          &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_flex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;div class=&quot;bl_content_inner&quot;&gt;\n          &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_flex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;div class=&quot;bl_content_inner&quot;&gt;\n          &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_flex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;div class=&quot;bl_content_inner&quot;&gt;\n          &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_flex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;div class=&quot;bl_content_inner&quot;&gt;\n          &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n          &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n    &lt;\/div&gt;\n  &lt;\/div&gt;\n&lt;\/section&gt;<\/code><\/pre><\/div>\n\n\n\n<p>\u524d\u56de\u3068\u306e\u9055\u3044\u306f\u3001\u4e0b\u8a18\u306bbl_content_inner\u304c\u8ffd\u52a0\u3055\u308c\u3001\u3055\u3089\u306b\u3072\u5b6b\u8981\u7d20\u307e\u3067\u73fe\u308c\u308b\u3053\u3068\u306b\u306a\u3063\u305f\u70b9\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;div class=&quot;bl_content_inner&quot;&gt;\n  &lt;h3 class=&quot;el_h3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n  &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n&lt;\/div&gt;<\/code><\/pre><\/div>\n\n\n\n<p>\u5148\u7a0b\u3068\u540c\u3058\u3088\u3046\u306b\u3001\u968e\u5c64\u3092\u8868\u3059\u3068\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>bl_flex\uff08\u89aa\uff09<br>\u2517bl_flex_item\uff08\u5b50\uff09<br>\u3000\u2517img\uff08\u5b6b\uff09<br>\u3000\u2517bl_content_inner\uff08\u5b6b\uff09<br>\u3000\u3000\u2517h3\uff08\u3072\u5b6b\uff09<br>\u3000\u3000\u2517a\uff08\u3072\u5b6b\uff09<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u3001\u3072\u5b6b\u3067\u3042\u308bh3\u306e\u9ad8\u3055\u3092\u6a2a\u306b\u4e26\u3093\u3060\u6642\u306b\u63c3\u3046\u3088\u3046\u306b\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"css%e8%a9%b3%e7%b4%b0-2\"><\/span>CSS\u8a73\u7d30<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>bl_flex {\n  display: flex;\n  gap: 24px;\n  flex-wrap: wrap;\n}\na {\n  display: grid;\n  place-items: center;\n  border: 1px solid #000;\n  min-height: 40px;\n}\np {\n  margin-bottom: 16px;\n}\n.bl_flex_item {\n  width: calc((100% - 48px) \/ 3);\n  display: flex; \/* \u89aa\u8981\u7d20\u306bflex\u3092\u4f7f\u7528\u3057\u305f\u5b50\u8981\u7d20\u306b\u5bfe\u3057\u3066\u3082flex\u3092\u6307\u5b9a\u3059\u308b *\/\n  flex-direction: column; \/* \u7e26\u306b\u4e26\u3079\u308b\u305f\u3081\u306b\u6307\u5b9a *\/\n  background-color: #ccc;\n}\n.el_h3title {\n  font-size: 24px;\n  font-weight: bold;\n  margin-bottom: 16px;\n  flex-grow: 1; \/* \u5b50\u8981\u7d20\u306bflex\u3092\u6307\u5b9a\u3057\u305f\u3055\u3089\u306b\u5b50\u8981\u7d20\u306bflex-grow\u3092\u6307\u5b9a\u3059\u308b *\/\n}\n\/* CSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd52\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\u30fb\u3072\u5b6b\u8981\u7d20\uff09\n------------------------------------------------------ *\/\n\/* \u65b9\u6cd51\u306e\u898b\u51fa\u3057\u3068\u30dc\u30bf\u30f3\u306e\u5916\u5074\u306b\u30c7\u30fc\u30bf\u304c\u5165\u308b\u5834\u5408 *\/\n.bl_content_inner {\n  padding: 16px;\n  display: flex; \/* \u89aa\u8981\u7d20\u306bflex\u3092\u4f7f\u7528\u3057\u305f\u5b50\u8981\u7d20\u306b\u5bfe\u3057\u3066\u3082flex\u3092\u6307\u5b9a\u3059\u308b *\/\n  flex-direction: column;\n  flex-grow: 1;\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u30dd\u30a4\u30f3\u30c8\u306f\u4e0b\u8a18\u3067\u3059\u3002<br>\u5148\u307b\u3069\u306e\u300cCSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd51\uff08\u89aa\u8981\u7d20\u30fb\u5b50\u8981\u7d20\u30fb\u5b6b\u8981\u7d20\uff09\u300d\u306e\u30b3\u30fc\u30c9\u306b\u4e0b\u8a18\u3092\u8ffd\u52a0\u3059\u308b\u3060\u3051\u3067\u3001\u5b9f\u73fe\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>.bl_content_inner {\n  padding: 16px;\n  display: flex; \/* \u89aa\u8981\u7d20\u306bflex\u3092\u4f7f\u7528\u3057\u305f\u5b50\u8981\u7d20\u306b\u5bfe\u3057\u3066\u3082flex\u3092\u6307\u5b9a\u3059\u308b *\/\n  flex-direction: column;\n  flex-grow: 1;\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u3053\u3068\u306fdisplay\u3092flex\u306b\u3001flex-direction\u3092column\u306b\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u3059\u3002\u5148\u307b\u3069\u3068\u540c\u69d8\u306e\u5bfe\u5fdc\u3067OK\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u304cCSS\u306e\u307f\u3067\u5b9f\u73fe\u3059\u308b\u65b9\u6cd5\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u5b9f\u306fh3\u306e\u3088\u3046\u306b\u63c3\u3048\u305f\u3044\u8981\u7d20\u304c1\u3064\u306e\u3068\u304d\u306b\u3057\u304b\u57fa\u672c\u7684\u306b\u306f\u4f7f\u3048\u307e\u305b\u3093\u3002\u4e00\u5fdc\u4f7f\u3048\u306a\u3044\u3068\u304d\u306e\u30c7\u30e2\u3082\u300cCSS\u3067\u6a2a\u4e26\u3073\u3067\u9ad8\u3055\u3092\u53b3\u5bc6\u306b\u306f\u63c3\u3048\u3089\u308c\u306a\u3044\u5834\u5408\u300d\u306e\u9805\u76ee\u3067\u8f09\u305b\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>CSS\u3060\u3051\u3067\u5bfe\u5fdc\u3059\u308b\u5f37\u5f15\u306a\u3084\u308a\u65b9\u3082\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u30b3\u30fc\u30c9\u304c\u8907\u96d1\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u7d39\u4ecb\u306f\u3057\u307e\u305b\u3093\u3002\u5f8c\u534a\u3067\u7d39\u4ecb\u3059\u308bJS\u3092\u7528\u3044\u305f\u65b9\u6cd5\u3067\u5bfe\u5fdc\u3059\u308b\u306e\u304c\u7121\u96e3\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7420886115642360\" crossorigin=\"anonymous\"><\/script>\n<!-- \u5e83\u544a\uff12 -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-7420886115642360\" data-ad-slot=\"6763072797\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<div style=\"height:38px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"js%e3%81%a7%e6%a8%aa%e4%b8%a6%e3%81%b3%e3%81%a7%e6%8a%98%e3%82%8a%e8%bf%94%e3%81%99%e3%82%ab%e3%83%a9%e3%83%a0%e3%81%ae%e8%a1%8c%e3%81%ab%e5%bf%9c%e3%81%98%e3%81%a6%e9%ab%98%e3%81%95%e3%82%92%e6%8f%83%e3%81%88%e3%82%8b%e6%96%b9%e6%b3%95\"><\/span>JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3059\u30ab\u30e9\u30e0\u306e\u884c\u306b\u5fdc\u3058\u3066\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u4eca\u56de\u306f\u3001PC\u5e45\u306f3\u30ab\u30e9\u30e0\u3001SP\u5e45\u306f2\u30ab\u30e9\u30e0\u3067\u5bfe\u5fdc\u3057\u3066\u304a\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u5e45\u3092\u4f38\u3073\u7e2e\u307f\u3055\u305b\u305f\u5834\u5408\u3067\u3082\u9ad8\u3055\u304c\u63c3\u3046\u3088\u3046\u306b\u5bfe\u5fdc\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002<br>\u305d\u308c\u3067\u306f\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"html%e8%a9%b3%e7%b4%b0-3\"><\/span>HTML\u8a73\u7d30<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;!-- JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3059\u30ab\u30e9\u30e0\u306e\u884c\u306b\u5fdc\u3058\u3066\u9ad8\u3055\u3092\u63c3\u3048\u308b\u5834\u5408 --&gt;\n&lt;section&gt;\n  &lt;div class=&quot;ly_inner&quot;&gt;\n    &lt;h2&gt;JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3059\u30ab\u30e9\u30e0\u306e\u884c\u306b\u5fdc\u3058\u3066\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd5&lt;\/h2&gt;\n    &lt;p&gt;\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002\u898b\u51fa\u3057\u3001\u30c6\u30ad\u30b9\u30c8\u3001\u30dc\u30bf\u30f3\u306e\u5916\u5074\u306b\u30bf\u30b0\u3092\u633f\u5165\u3057\u3066\u3082\u4f7f\u7528\u53ef\u80fd\u3067\u3059\u3002\u4eca\u56de\u306f\u5165\u308c\u3066\u3044\u307e\u305b\u3093\u3002&lt;\/p&gt;\n    &lt;div class=&quot;bl_jsflex&quot;&gt;\n      &lt;div class=&quot;bl_jsflex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;h3 class=&quot;el_jsh3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n        &lt;p class=&quot;el_text&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n        &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_jsflex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;h3 class=&quot;el_jsh3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n        &lt;p class=&quot;el_text&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n        &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_jsflex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;h3 class=&quot;el_jsh3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n        &lt;p class=&quot;el_text&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n        &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_jsflex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;h3 class=&quot;el_jsh3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n        &lt;p class=&quot;el_text&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n        &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_jsflex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;h3 class=&quot;el_jsh3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n        &lt;p class=&quot;el_text&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n        &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_jsflex_item&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;h3 class=&quot;el_jsh3title&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n        &lt;p class=&quot;el_text&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n        &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n      &lt;\/div&gt;\n    &lt;\/div&gt;\n  &lt;\/div&gt;\n&lt;\/section&gt;<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u3061\u3089\u306e\u5909\u66f4\u70b9\u306f\u3001h3\u306e\u898b\u51fa\u3057\u306e\u4e0b\u306b\u3001p\u306e\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u3063\u305f\u3053\u3068\u304f\u3089\u3044\u3067\u3059\u3002\u305d\u306e\u4ed6\u306f\u5909\u66f4\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"css%e8%a9%b3%e7%b4%b0-3\"><\/span>CSS\u8a73\u7d30<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.bl_jsflex {\n  display: flex;\n  gap: 24px;\n  flex-wrap: wrap;\n}\n\n.bl_jsflex_item {\n  width: calc((100% - 48px) \/ 3);\n  background-color: #ccc;\n}\n.el_jsh3title {\n  font-size: 24px;\n  font-weight: bold;\n  margin-bottom: 16px;\n}\n.el_text {\n  font-size: 16px;\n}\n@media screen and (max-width: 767px) {\n  .bl_jsflex_item {\n    width: calc((100% - 24px) \/ 2);\n  }\n}<\/code><\/pre><\/div>\n\n\n\n<p>CSS\u3082\u7279\u306b\u96e3\u3057\u3044\u3053\u3068\u306f\u3057\u3066\u304a\u308a\u307e\u305b\u3093\u3002\u3042\u3052\u308b\u3068\u3059\u308c\u3070calc\u306e\u3068\u3053\u308d\u3067\u3057\u3087\u3046\u304b\u3002<br>\u30ab\u30e9\u30e0\u306e\u5e45\u3092\u8a08\u7b97\u3057\u3084\u3059\u3044\u3088\u3046\u306b\u3001100%\u306e\u5e45\u304b\u3089\u4f59\u767d\u5206\u3092\u5f15\u304d\u3001\u30ab\u30e9\u30e0\u6570\u3067\u5272\u3063\u3066\u3044\u308b\u3060\u3051\u3067\u3059\u3002\u3042\u307e\u308a\u96e3\u3057\u3044\u3053\u3068\u306f\u3057\u3066\u304a\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u3061\u306a\u307f\u306bCSS\u306e\u307f\u3067\u5bfe\u5fdc\u3057\u305f\u3068\u304d\u306f\u3001\u5b50\u8981\u7d20\u306bflex\u306a\u3069\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306f\u4e0d\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u6df7\u4e71\u3057\u306a\u3044\u3088\u3046\u306b\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"javascript%e8%a9%b3%e7%b4%b0\"><\/span>JavaScript\u8a73\u7d30<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\/\/ JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3059\u30ab\u30e9\u30e0\u306e\u884c\u306b\u5fdc\u3058\u3066\u9ad8\u3055\u3092\u63c3\u3048\u308b\u5834\u5408\nfunction resizeHandler() {\n  const flexItems = document.querySelectorAll(&quot;.bl_jsflex_item&quot;);\n  let itemsPerRow = 3; \/\/ \u30c7\u30d5\u30a9\u30eb\u30c8\u306e1\u884c\u3042\u305f\u308a\u306e\u8981\u7d20\u6570\n\n  if (window.innerWidth &lt;= 767) {\n    itemsPerRow = 2; \/\/ 767px\u4ee5\u4e0b\u306e\u5834\u5408\u3001\u30ab\u30e9\u30e0\u6570\u30922\u306b\u8a2d\u5b9a\n  }\n\n  let currentRowItems = [];\n  let currentRow = 0;\n\n  flexItems.forEach((item, index) =&gt; {\n    item.style.height = &quot;&quot;; \/\/ \u5143\u306e\u9ad8\u3055\u3092\u30ea\u30bb\u30c3\u30c8\n\n    currentRowItems.push(item);\n\n    if ((index + 1) % itemsPerRow === 0 || index === flexItems.length - 1) {\n      adjustHeight(currentRowItems);\n      currentRowItems = [];\n      currentRow++;\n    }\n  });\n}\n\nfunction adjustHeight(targets) {\n  let maxTitleHeight = 0;\n  let maxTextHeight = 0;\n\n  targets.forEach((target) =&gt; {\n    const title = target.querySelector(&quot;.el_jsh3title&quot;);\n    const text = target.querySelector(&quot;.el_text&quot;);\n\n    title.style.height = &quot;&quot;; \/\/ \u30bf\u30a4\u30c8\u30eb\u306e\u9ad8\u3055\u3092\u30ea\u30bb\u30c3\u30c8\n    text.style.height = &quot;&quot;; \/\/ \u30c6\u30ad\u30b9\u30c8\u306e\u9ad8\u3055\u3092\u30ea\u30bb\u30c3\u30c8\n\n    maxTitleHeight = Math.max(maxTitleHeight, title.clientHeight);\n    maxTextHeight = Math.max(maxTextHeight, text.clientHeight);\n  });\n\n  targets.forEach((target) =&gt; {\n    const title = target.querySelector(&quot;.el_jsh3title&quot;);\n    const text = target.querySelector(&quot;.el_text&quot;);\n\n    title.style.height = maxTitleHeight + &quot;px&quot;;\n    text.style.height = maxTextHeight + &quot;px&quot;;\n  });\n}\n\nwindow.addEventListener(&quot;resize&quot;, resizeHandler);\nwindow.addEventListener(&quot;load&quot;, resizeHandler);\n<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u3053\u304c\u96e3\u89e3\u3067\u3059\u304c\u3001\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>function resizeHandler(){\n  \/\/ \u7701\u7565\n}\n\nfunction adjustHeight(targets){\n  \/\/ \u7701\u7565\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u307e\u305a\u4e0a\u8a18\u306e\u5927\u67a0\u306b\u3064\u3044\u3066\u3067\u3059\u304c\u3001\u95a2\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u305f\u3081\u306b\u66f8\u3044\u3066\u304a\u308a\u307e\u3059\u3002resizeHandler\u3084adjustHeight\u3001targets\u306f\u4efb\u610f\u306e\u540d\u524d\u306b\u3057\u3066\u3082\u52d5\u304d\u307e\u3059\u3002<br>\u305f\u3060\u3057\u3001\u540d\u524d\u3092\u5909\u66f4\u3057\u305f\u5834\u5408\u306f\u3001\u4e2d\u306e\u540c\u3058\u6587\u5b57\u5217\u306e\u540d\u524d\u3082\u5909\u66f4\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"resizehandler%e3%81%ae%e4%b8%ad%e8%ba%ab%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\"><\/span>resizeHandler\u306e\u4e2d\u8eab\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const flexItems = document.querySelectorAll(&quot;.bl_jsflex_item&quot;);\n  let itemsPerRow = 3; \/\/ \u30c7\u30d5\u30a9\u30eb\u30c8\u306e1\u884c\u3042\u305f\u308a\u306e\u8981\u7d20\u6570\n\n  if (window.innerWidth &lt;= 767) {\n    itemsPerRow = 2; \/\/ 767px\u4ee5\u4e0b\u306e\u5834\u5408\u3001\u30ab\u30e9\u30e0\u6570\u30922\u306b\u8a2d\u5b9a\n  }\n<\/code><\/pre><\/div>\n\n\n\n<p>const\u3067flexItems\uff08\u4efb\u610f\u306e\u540d\u524d\u3067\u53ef\uff09\u306e\u5909\u6570\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002bl_jsflex_item\u306eclass\u5168\u3066\u306b\u5bfe\u3057\u3066\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>let\u3067itemsPerRow\u30923\u3068\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306fPC\u5e45\u306e1\u884c\u306b\u5bfe\u3057\u3066\u306e\u8981\u7d20\u6570\u304c3\u306e\u6642\u306b\u52d5\u304f\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002<br>\u3053\u3053\u306b\u95a2\u9023\u3057\u3066\u3001if\u6587\u306e\u4e2d\u3067\u306fitemsPerRow\u30922\u3068\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306fSP\u5e45\u306e\u6642\u306b2\u30ab\u30e9\u30e0\u306b\u306a\u308b\u305f\u3081\u3001\u3053\u306e\u3068\u304d\u306b\u52d5\u304f\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306e\u6307\u5b9a\u3067\u3059\u3002767\u306e\u5024\u306f\u9069\u5b9c\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u7d9a\u3044\u3066\u4e0b\u8a18\u306b\u79fb\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>let currentRowItems = [];\n  let currentRow = 0;\n\n  flexItems.forEach((item, index) =&gt; {\n    item.style.height = &quot;&quot;; \/\/ \u5143\u306e\u9ad8\u3055\u3092\u30ea\u30bb\u30c3\u30c8\n\n    currentRowItems.push(item);\n\n    if ((index + 1) % itemsPerRow === 0 || index === flexItems.length - 1) {\n      adjustHeight(currentRowItems);\n      currentRowItems = [];\n      currentRow++;\n    }\n  });<\/code><\/pre><\/div>\n\n\n\n<p>\u307e\u305acurrentRowItems\u3067\u7a7a\u306e\u914d\u5217\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u7d9a\u3044\u3066currentRow\u30671\u756a\u76ee\u304b\u3089\u59cb\u307e\u308b\u3068\u3044\u3046\u3053\u3068\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>flexItems\u306b\u5bfe\u3057\u3066forEach\u3067\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3092\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u5f15\u6570\u306b\u306fitem\u3068index\uff08\u3069\u3061\u3089\u3082\u4efb\u610f\u306e\u540d\u524d\u3067\u53ef\uff09\u3092\u5165\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u8aad\u307f\u8fbc\u307e\u308c\u305f\u3068\u304d\u306e\u5143\u306e\u9ad8\u3055\u3092\u300citem style height\u300d\u306e\u3068\u3053\u308d\u3067\u30ea\u30bb\u30c3\u30c8\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>currentRowItems\u3092push\u3059\u308b\u3053\u3068\u3067\u3001\u5148\u307b\u3069\u7a7a\u306b\u3057\u3066\u3044\u305fcurrentRowItems\u306e\u914d\u5217\u306e\u4e2d\u306b\u5165\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"if%e6%96%87%e3%81%ae%e5%b7%a6%e5%81%b4%e3%80%8cindex_1_itemsperrow_0%e3%80%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\"><\/span>if\u6587\u306e\u5de6\u5074\u300c(index + 1) % itemsPerRow === 0\u300d\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>\u307e\u305a\u3001index\u3068\u3044\u3046\u306e\u306f0\u30011\u30012\u30013\u2026\u306e\u3088\u3046\u306b\u3001JavaScript\u306e\u5834\u5408\u306f0\u304b\u3089\u59cb\u307e\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3057HTML\u3067\u306f0\u304b\u3089\u59cb\u307e\u308a\u307e\u305b\u3093\u30021\u30012\u30013\u2026\u306e\u3088\u3046\u306b1\u304b\u3089\u59cb\u307e\u308a\u307e\u3059\u3002<br>\u3053\u306e\u30ba\u30ec\u3092\u89e3\u6d88\u3059\u308b\u305f\u3081\u306b\u3001\u300cindex+1\u300d\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3042\u3068\u306f\uff05\u306f\u5272\u308a\u7b97\u3092\u3057\u305f\u4f59\u308a\u3092\u8868\u3057\u307e\u3059\u306e\u3067\u3001PC\u5e45\u306e\u5834\u5408\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>1\u756a\u76ee\uff1a(0+1) \u00f7 3 = 1\/3\uff08\u4f59\u308a\u306f1\uff09<\/li><li>2\u756a\u76ee\uff1a(1+1) \u00f7 3 = 2\/3\uff08\u4f59\u308a\u306f2\uff09<\/li><li>3\u756a\u76ee\uff1a(2+1) \u00f7 3 = 3\uff08\u4f59\u308a\u306f0\uff09<\/li><\/ul>\n\n\n\n<p>\u3064\u307e\u308a\u300c=== 0\u300d\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3059\u306e\u306f\u3001\u4f59\u308a\u304c0\u3068\u306a\u308b3\u756a\u76ee\u30016\u756a\u76ee\u30019\u756a\u76ee\u306e\u3088\u3046\u306b3\u306e\u500d\u6570\u306e\u6642\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"if%e6%96%87%e3%81%ae%e5%8f%b3%e5%81%b4%e3%80%8cindex_flexitemslength_%e2%80%93_1%e3%80%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\"><\/span>if\u6587\u306e\u53f3\u5074\u300cindex === flexItems.length &#8211; 1)\u300d\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>\u3055\u304d\u307b\u3069index\u306b\u3064\u3044\u3066\u306f\u89e3\u8aac\u3057\u307e\u3057\u305f\u306e\u3067\u7701\u7565\u3057\u307e\u3059\u304c\u3001\u4eca\u5ea6\u306flength\u3068\u3044\u3046\u3082\u306e\u304c\u51fa\u3066\u304d\u307e\u3057\u305f\u3002\u3053\u308c\u306fflexItems\u306e\u5408\u8a08\u6570\u3092\u8868\u3057\u3066\u3044\u307e\u3059\u3002-1\u3068\u3057\u3066\u3044\u308b\u306e\u306f\u3001index\u306e\u305a\u308c\u3068\u5408\u308f\u305b\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u306eif\u306e\u5de6\u5074\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3057\u3066\u3044\u308c\u3070\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u5185\u5bb9\u3092\u63a2\u3057\u306b\u884c\u304d\u3001\u5de6\u5074\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3057\u3066\u3044\u306a\u304f\u3066\u3082\u53f3\u5074\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001if\u6587\u306e\u4e2d\u306b\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u5185\u5bb9\u3092\u63a2\u3057\u306b\u884c\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>adjustHeight\u306e\u90e8\u5206\u306f\u3001\u5225\u306e\u5834\u6240\u3067\u5b9a\u7fa9\u3057\u305f\u95a2\u6570\u3092\u5f15\u3063\u5f35\u3063\u3066\u304d\u3066\u3044\u307e\u3059\u3002\u5f8c\u307b\u3069\u51fa\u3066\u304d\u307e\u3059\u304c\u3001\u305d\u306e\u5185\u5bb9\u3092currentRowItems\u306e\u914d\u5217\u306e\u4e2d\u306b\u5165\u308c\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7d9a\u3044\u3066currentRowItems\u306b\u5bfe\u3057\u3001\u307e\u305f\u7a7a\u306e\u914d\u5217\u3092\u5165\u308c\u76f4\u3057\u3066\u3044\u308b\u306e\u306f\u3001\u73fe\u5728\u306e\u884c\u306e\u5bfe\u5fdc\u304c\u7d42\u308f\u3063\u305f\u305f\u3081\u3001\u6b21\u306e\u65b0\u3057\u3044\u884c\u306e\u5bfe\u5fdc\u3092\u59cb\u3081\u3089\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u3067\u3059\u3002\u30ea\u30bb\u30c3\u30c8\u3057\u3066\u3044\u308b\u3068\u6349\u3048\u308b\u3068\u3044\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6700\u5f8c\u306ecurrentRow++\u306b\u3064\u3044\u3066\u306f\u3001\u65b0\u3057\u3044\u884c\u306e\u5bfe\u5fdc\u306b\u79fb\u308b\u305f\u3081\u306b\u5897\u3084\u3057\u3066\u3044\u307e\u3059\u3002\u6700\u521d\u306e\u3088\u3046\u306b0\u304b\u3089\u59cb\u307e\u308a\u307e\u305b\u3093\u306e\u3067\u3001\u30ab\u30a6\u30f3\u30c8\u3092\u5897\u3084\u3057\u3066\u3044\u304f\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"adjustheight%e3%81%ae%e4%b8%ad%e8%ba%ab%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\"><\/span>adjustHeight\u306e\u4e2d\u8eab\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>  let maxTitleHeight = 0;\n  let maxTextHeight = 0;\n\n  targets.forEach((target) =&gt; {\n    const title = target.querySelector(&quot;.el_jsh3title&quot;);\n    const text = target.querySelector(&quot;.el_text&quot;);\n\n    title.style.height = &quot;&quot;; \/\/ \u30bf\u30a4\u30c8\u30eb\u306e\u9ad8\u3055\u3092\u30ea\u30bb\u30c3\u30c8\n    text.style.height = &quot;&quot;; \/\/ \u30c6\u30ad\u30b9\u30c8\u306e\u9ad8\u3055\u3092\u30ea\u30bb\u30c3\u30c8\n\n    maxTitleHeight = Math.max(maxTitleHeight, title.clientHeight);\n    maxTextHeight = Math.max(maxTextHeight, text.clientHeight);\n  });\n\n  targets.forEach((target) =&gt; {\n    const title = target.querySelector(&quot;.el_jsh3title&quot;);\n    const text = target.querySelector(&quot;.el_text&quot;);\n\n    title.style.height = maxTitleHeight + &quot;px&quot;;\n    text.style.height = maxTextHeight + &quot;px&quot;;\n  });<\/code><\/pre><\/div>\n\n\n\n<p>\u4eca\u56de\u306f\u3001\u9ad8\u3055\u3092\u63c3\u3048\u305f\u3044\u7b87\u6240\u304ch3\u3068p\u306e2\u7b87\u6240\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u305d\u308c\u305e\u308c\u306e\u9ad8\u3055\u3092\u6700\u521d\u306f0\u306b\u3059\u308b\u305f\u3081\u3001maxTitleHeight\u3001maxTextHeight\u306e2\u3064\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5148\u307b\u3069\u3068\u540c\u69d8\u306b\u3001forEach\u3092\u4f7f\u3044\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3092\u884c\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>const\u3067title\u3001text\u3092\u305d\u308c\u305e\u308c\u5b9a\u7fa9\u3057\u3001\u305d\u306e\u9ad8\u3055\u3092\u30ea\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3042\u3068\u306f\u305d\u308c\u305e\u308c0\u3067\u3042\u308bmaxTitleHeight\u3001maxTextHeight\u306e\u5024\u304c\u3001\u9806\u756a\u306b\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3055\u308c\u3066\u3044\u304f\u6642\u306b\u5024\u304c\u5909\u308f\u3063\u3066\u3044\u304f\u3088\u3046\u306b\u5ba3\u8a00\u3057\u3066\u3044\u307e\u3059\u3002Math.max\u306f2\u3064\u306e\u5024\u3092\u6bd4\u8f03\u3057\u3066\u5024\u304c\u5927\u304d\u3044\u65b9\u3092\u63a1\u7528\u3057\u307e\u3059\u3002<br>maxTitleHeight\u3067\u4f8b\u3048\u3066\u307f\u308b\u3068\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u611f\u3058\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>1\u56de\u76ee\u306e\u9ad8\u3055\uff1amaxTitleHeight\u21920\u3001title.clientHeight\u219220px\u300020px\u3092\u63a1\u7528<\/li><li>2\u56de\u76ee\u306e\u9ad8\u3055\uff1amaxTitleHeight\u219220px\u3001title.clientHeight\u219210px\u300020px\u3092\u63a1\u7528<\/li><li>3\u56de\u76ee\u306e\u9ad8\u3055\uff1amaxTitleHeight\u219220px\u3001title.clientHeight\u219240px\u300040px\u3092\u63a1\u7528<\/li><li>4\u56de\u76ee\u306e\u9ad8\u3055\uff1amaxTitleHeight\u219240px\u3001title.clientHeight\u219220px\u300040px\u3092\u63a1\u7528<\/li><\/ul>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u3001\u9ad8\u3044\u5024\u3092\u63a1\u7528\u3059\u308b\u3068maxTitleHeight\u306e\u5024\u304c\u3069\u3093\u3069\u3093\u66f8\u304d\u63db\u308f\u3063\u3066\u3044\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u9ad8\u3055\u306e\u6700\u5927\u5024\u304c\u5f97\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u30671\u3064\u76ee\u306eforEach\u304c\u7d42\u308f\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7d9a\u3044\u30662\u3064\u76ee\u306eforEach\u3067\u3059\u3002\u672c\u5f53\u306f\u307e\u3068\u3081\u3066\u8a18\u8f09\u3057\u305f\u3044\u3068\u3053\u308d\u3067\u3057\u305f\u304c\u3001\u4e0a\u624b\u304f\u52d5\u304b\u306a\u304b\u3063\u305f\u305f\u3081\u51e6\u7406\u3092\u5206\u3051\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002const\u306e\u5b9a\u7fa9\u306f\u5148\u307b\u3069\u3068\u540c\u69d8\u3067\u3059\u306e\u3067\u89e3\u8aac\u306f\u7701\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>title.style.height = maxTitleHeight + &quot;px&quot;;\ntext.style.height = maxTextHeight + &quot;px&quot;;<\/code><\/pre><\/div>\n\n\n\n<p>\u4e0a\u8a18\u306b\u3064\u3044\u3066\u306f\u3001el_jsh3title\u3068el_text\u306e\u9ad8\u3055\u3092\u6307\u5b9a\u3059\u308b\u305f\u3081\u306b\u8a18\u8ff0\u3057\u3066\u3044\u307e\u3059\u3002<br>maxTitleHeight\u3068maxTextHeight\u306e\u6700\u5927\u5024\u304c\u5165\u308b\u3053\u3068\u3067\u3001\u6a2a\u306b\u4e26\u3093\u3060\u3068\u304d\u306e\u9ad8\u3055\u304c\u63c3\u3046\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3067adjustHeight\u306e\u4e2d\u8eab\u304c\u5b8c\u6210\u3057\u3001\u6700\u521d\u306e\u65b9\u306b\u51fa\u3066\u304d\u305f\u4e0b\u8a18\u306e\u5834\u6240\u306b\u5165\u308b\u3088\u3046\u306b\u6307\u5b9a\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>adjustHeight(currentRowItems);<\/code><\/pre><\/div>\n\n\n\n<p>\u6700\u5f8c\u306e\u4e0b\u8a18\u90e8\u5206\u306f\u3001resizeHandler\u306e\u95a2\u6570\u3092\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u30ea\u30b5\u30a4\u30ba\u3055\u308c\u305f\u3068\u304d\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u3068\u304d\uff08resize\uff09\u3001\u30da\u30fc\u30b8\u306e\u8aad\u307f\u8fbc\u307f\u304c\u5b8c\u4e86\u3057\u305f\u6642\u70b9\u3067\u547c\u3073\u3055\u308c\u308b\u3068\u304d\uff08load\uff09\u3067\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>window.addEventListener(&quot;resize&quot;, resizeHandler);\nwindow.addEventListener(&quot;load&quot;, resizeHandler);<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u3067\u4ee5\u4e0a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"js%e3%81%a7%e6%a8%aa%e4%b8%a6%e3%81%b3%e3%81%a7%e6%8a%98%e3%82%8a%e8%bf%94%e3%81%95%e3%81%aa%e3%81%84%e3%82%ab%e3%83%a9%e3%83%a0%e3%81%a7%e9%ab%98%e3%81%95%e3%82%92%e6%8f%83%e3%81%88%e3%82%8b%e6%96%b9%e6%b3%95\"><\/span>JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3055\u306a\u3044\u30ab\u30e9\u30e0\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u3053\u3061\u3089\u306f\u30b9\u30e9\u30a4\u30c0\u30fc\u3084\u30ab\u30eb\u30fc\u30bb\u30eb\u306a\u3069\u3067\u7d50\u69cb\u4f7f\u3048\u308b\u3082\u306e\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u305d\u308c\u3067\u306f\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"html%e8%a9%b3%e7%b4%b0-4\"><\/span>HTML\u8a73\u7d30<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;!-- JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3055\u306a\u3044\u30ab\u30e9\u30e0\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u5834\u5408 --&gt;\n&lt;section&gt;\n  &lt;div class=&quot;ly_inner&quot;&gt;\n    &lt;h2&gt;JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3055\u306a\u3044\u30ab\u30e9\u30e0\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u65b9\u6cd5&lt;\/h2&gt;\n    &lt;p&gt;\u30b9\u30e9\u30a4\u30c0\u30fc\u3084\u30ab\u30eb\u30fc\u30bb\u30eb\u306e\u5834\u5408\u3067\u3082\u4f7f\u3048\u307e\u3059\u3002&lt;\/p&gt;\n    &lt;div class=&quot;bl_jsflex02&quot;&gt;\n      &lt;div class=&quot;bl_jsflex_item02&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;h3 class=&quot;el_jsh3title02&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n        &lt;p class=&quot;el_text02&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n        &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_jsflex_item02&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;h3 class=&quot;el_jsh3title02&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n        &lt;p class=&quot;el_text02&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n        &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;bl_jsflex_item02&quot;&gt;\n        &lt;img src=&quot;https:\/\/picsum.photos\/640\/360&quot; alt=&quot;\u753b\u50cf1&quot; width=&quot;640&quot; height=&quot;360&quot;&gt;\n        &lt;h3 class=&quot;el_jsh3title02&quot;&gt;\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057\u898b\u51fa\u3057&lt;\/h3&gt;\n        &lt;p class=&quot;el_text02&quot;&gt;\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u308a\u307e\u3059&lt;\/p&gt;\n        &lt;a href=&quot;&quot;&gt;\u30dc\u30bf\u30f3&lt;\/a&gt;\n      &lt;\/div&gt;\n    &lt;\/div&gt;\n  &lt;\/div&gt;\n&lt;\/section&gt;\n<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u3061\u3089\u306f\u524d\u56de\u3068\u307b\u307c\u540c\u69d8\u3067\u3059\u3002\u30af\u30e9\u30b9\u540d\u3060\u3051\u5909\u66f4\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"css%e8%a9%b3%e7%b4%b0-4\"><\/span>CSS\u8a73\u7d30<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.bl_jsflex02 {\n  display: flex;\n  gap: 24px;\n}\n.bl_jsflex_item02 {\n  width: calc((100% - 48px) \/ 3);\n  background-color: #ccc;\n}\n.el_jsh3title02 {\n  font-size: 24px;\n  font-weight: bold;\n  margin-bottom: 16px;\n}\n.el_text02 {\n  font-size: 16px;\n}\n<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u3061\u3089\u3082\u524d\u56de\u3068\u307b\u307c\u540c\u69d8\u3067\u3059\u3002\u30af\u30e9\u30b9\u540d\u3060\u3051\u5909\u66f4\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"javascript%e8%a9%b3%e7%b4%b0-2\"><\/span>JavaScript\u8a73\u7d30<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\/\/ JS\u3067\u6a2a\u4e26\u3073\u3067\u6298\u308a\u8fd4\u3055\u306a\u3044\u30ab\u30e9\u30e0\u3067\u9ad8\u3055\u3092\u63c3\u3048\u308b\u5834\u5408\nfunction resizeHandler02() {\n  const title = document.querySelectorAll(&quot;.el_jsh3title02&quot;);\n  const text = document.querySelectorAll(&quot;.el_text02&quot;);\n\n  let maxTitleHeight = 0;\n  let maxTextHeight = 0;\n\n  title.forEach((target) =&gt; {\n    target.style.height = &quot;&quot;;\n    const height = target.clientHeight;\n    maxTitleHeight = Math.max(maxTitleHeight, height);\n  });\n\n  text.forEach((target) =&gt; {\n    target.style.height = &quot;&quot;;\n    const height = target.clientHeight;\n    maxTextHeight = Math.max(maxTextHeight, height);\n  });\n\n  title.forEach((target) =&gt; {\n    target.style.height = maxTitleHeight + &quot;px&quot;;\n  });\n\n  text.forEach((target) =&gt; {\n    target.style.height = maxTextHeight + &quot;px&quot;;\n  });\n}\n\nwindow.addEventListener(&quot;resize&quot;, resizeHandler02);\nwindow.addEventListener(&quot;load&quot;, resizeHandler02);\n<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u3061\u3089\u3082\u524d\u56de\u306e\u30b3\u30fc\u30c9\u304c\u7406\u89e3\u3067\u304d\u3066\u3044\u308b\u3068\u3001\u554f\u984c\u306a\u304f\u8aad\u3093\u3067\u3044\u3051\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001\u89e3\u8aac\u306f\u7701\u7565\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3067\u4ee5\u4e0a\u3068\u306a\u308a\u307e\u3059\u3002\u9577\u3044\u3088\u3046\u3067\u3059\u304c\u3001\u30b3\u30fc\u30c9\u304c\u305f\u304f\u3055\u3093\u8cbc\u3063\u3066\u3042\u308b\u3060\u3051\u3067\u3059\u3002<br>\u6bce\u56de\u8abf\u3079\u308b\u306e\u304c\u624b\u9593\u3060\u306a\u3068\u601d\u3044\u66f8\u304b\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002\u53c2\u8003\u306b\u3057\u3066\u3044\u305f\u3060\u3051\u307e\u3059\u3068\u5b09\u3057\u3044\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306f\u3001\u6a2a\u4e26\u3073\u6642\u306b\u7279\u5b9a\u306e\u8981\u7d20\u306e\u9ad8\u3055\u3092\u63c3\u3048\u305f\u3044\u5834\u5408\u306e\u5b9f\u88c5\u306b\u3064\u3044\u3066\u3001CSS\u3060\u3051\u3067\u5bfe\u5fdc\u3059\u308b\u65b9\u6cd5\u3001JS\u3092\u4f7f\u3063\u3066\u5bfe\u5fdc\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":1249,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,33,34,36],"tags":[],"class_list":["post-1248","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web","category-html","category-css","category-javascript"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/posts\/1248"}],"collection":[{"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1248"}],"version-history":[{"count":4,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/posts\/1248\/revisions"}],"predecessor-version":[{"id":1253,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/posts\/1248\/revisions\/1253"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/media\/1249"}],"wp:attachment":[{"href":"https:\/\/freefuntimes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}