{"id":10078,"date":"2026-09-03T10:18:25","date_gmt":"2026-09-03T01:18:25","guid":{"rendered":"https:\/\/fastcoding.jp\/blog\/?p=10078"},"modified":"2026-09-03T10:18:31","modified_gmt":"2026-09-03T01:18:31","slug":"search-result-count-animation","status":"publish","type":"post","link":"https:\/\/fastcoding.jp\/blog\/all\/ui-ux\/search-result-count-animation\/","title":{"rendered":"\u691c\u7d22\u7d50\u679c\u306e\u4ef6\u6570\u304c\u5909\u308f\u3063\u305f\u77ac\u9593\u306b\u6570\u5024\u30ed\u30fc\u30eb \u2500 \u300c\u624b\u5fdc\u3048\u300d\u3092\u898b\u305b\u308b\u30de\u30a4\u30af\u30ed\u6f14\u51fa"},"content":{"rendered":"<div class=\"the_content\">\n<p class=\"wp-block-paragraph\">\u3053\u3093\u306b\u3061\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u30d5\u30a1\u30b9\u30c8\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306eBigVi\u3067\u3059\u3002\u3053\u306e\u524d\u3001\u30cd\u30c3\u30c8\u3067\u670d\u3092\u63a2\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u300cT\u30b7\u30e3\u30c4\u30fbM\u30b5\u30a4\u30ba\u300d\u3067\u691c\u7d22\u3057\u305f\u3089\u300c243\u4ef6\u300d\u3068\u51fa\u307e\u3057\u305f\u3002\u3002\u300c\u767d\u300d\u3092\u8ffd\u52a0\u3057\u305f\u3089\u3001\u4e00\u77ac\u3067\u300c31\u4ef6\u300d\u306b\u5909\u308f\u308a\u307e\u3057\u305f\u3002\u3067\u3082\u6570\u5b57\u304c\u30d1\u30c3\u3068\u5207\u308a\u66ff\u308f\u3063\u305f\u3060\u3051\u3060\u3063\u305f\u306e\u3067\u3001\u300c\u3042\u308c\u3001\u3061\u3083\u3093\u3068\u30d5\u30a3\u30eb\u30bf\u30fc\u304b\u304b\u3063\u305f\uff1f\u300d\u3063\u3066\u3061\u3087\u3063\u3068\u4e0d\u5b89\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5148\u65e5\u3001\u304a\u5ba2\u3055\u307e\u304b\u3089\u300c\u30b5\u30a4\u30c8\u5185\u691c\u7d22\u3067\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u5909\u3048\u3066\u3082\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u7d50\u679c\u4ef6\u6570\u306e\u5909\u5316\u306b\u6c17\u3065\u3044\u3066\u3044\u306a\u3044\u300d\u3068\u76f8\u8ac7\u3055\u308c\u307e\u3057\u305f\u3002\u30d5\u30a3\u30eb\u30bf\u30fc\u3067\u7d5e\u308a\u8fbc\u3093\u3067\u3082\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u7d50\u679c\u3092\u63a2\u3057\u3066\u3057\u307e\u3046\u3002\u4ef6\u6570\u8868\u793a\u3092\u898b\u3066\u3044\u306a\u3044\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u79c1\u3082\u3088\u304f\u3042\u308a\u307e\u3059\u3002\u691c\u7d22\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u64cd\u4f5c\u3057\u305f\u306e\u306b\u3001\u7d50\u679c\u304c\u5909\u308f\u3063\u305f\u304b\u3069\u3046\u304b\u78ba\u4fe1\u304c\u6301\u3066\u306a\u3044\u3053\u3068\u3002\u6570\u5b57\u3092\u898b\u3066\u3082\u300c\u3055\u3063\u304d\u3068\u540c\u3058\uff1f\u300d\u3063\u3066\u306a\u308a\u307e\u3059\u3002\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u306f\u300c\u691c\u7d22\u7d50\u679c\u306e\u4ef6\u6570\u304c\u5909\u308f\u3063\u305f\u3068\u304d\u30010.3\u79d2\u3060\u3051\u6570\u5024\u30ed\u30fc\u30eb\u98a8\u306e\u6f14\u51fa\u3092\u3064\u3051\u308b\u300d\u3068\u3044\u3046\u5b9f\u88c5\u3092\u3057\u307e\u3057\u305f\u3002\u6570\u5b57\u304c\u30af\u30eb\u30c3\u3068\u56de\u308b\u3088\u3046\u306b\u898b\u3048\u308b\u3001\u5c0f\u3055\u306a\u52d5\u304d\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u306a\u305c\u300c\u6570\u5024\u30ed\u30fc\u30eb\u300d\u306a\u306e\u304b<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u691c\u7d22\u7d50\u679c\u306e\u4ef6\u6570\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u5927\u4e8b\u306a\u60c5\u5831\u3067\u3059\u3002\u300c128\u4ef6\u219223\u4ef6\u300d\u306b\u6e1b\u3063\u305f\u306a\u3089\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u304c\u52b9\u3044\u3066\u3044\u308b\u3068\u308f\u304b\u308b\u3002\u300c23\u4ef6\u21920\u4ef6\u300d\u306b\u306a\u3063\u305f\u306a\u3089\u3001\u6761\u4ef6\u304c\u53b3\u3057\u3059\u304e\u308b\u3068\u308f\u304b\u308b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3067\u3082\u3001\u6570\u5b57\u304c\u30d1\u30c3\u3068\u5207\u308a\u66ff\u308f\u308b\u3060\u3051\u3060\u3068\u6c17\u3065\u304b\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u7279\u306b\u30d5\u30a3\u30eb\u30bf\u30fc\u304c\u8907\u6570\u3042\u308b\u30b5\u30a4\u30c8\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u76ee\u306f\u30d5\u30a3\u30eb\u30bf\u30fc\u306eUI\u306b\u96c6\u4e2d\u3057\u3066\u3044\u307e\u3059\u3002\u4ef6\u6570\u8868\u793a\u306f\u8996\u754c\u306e\u7aef\u306b\u3042\u308b\u3053\u3068\u304c\u591a\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6570\u5024\u30ed\u30fc\u30eb\uff08\u6570\u5b57\u304c\u4e0a\u4e0b\u306b\u56de\u8ee2\u3059\u308b\u3088\u3046\u306b\u898b\u3048\u308b\u6f14\u51fa\uff09\u306f\u3001\u5909\u5316\u3092\u300c\u52d5\u304d\u300d\u3067\u4f1d\u3048\u307e\u3059\u3002\u30d1\u30c3\u3068\u5909\u308f\u308b\u3088\u308a\u3082\u3001\u30ed\u30fc\u30eb\u3057\u305f\u307b\u3046\u304c\u300c\u3042\u3001\u6570\u5b57\u304c\u5909\u308f\u3063\u305f\u300d\u3068\u6c17\u3065\u304d\u3084\u3059\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3042\u308b\u6848\u4ef6\u3067\u3001\u6570\u5b57\u3092\u305f\u3060\u66f4\u65b0\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u30e6\u30fc\u30b6\u30fc\u30c6\u30b9\u30c8\u3067\u300c\u30d5\u30a3\u30eb\u30bf\u30fc\u52b9\u3044\u3066\u307e\u3059\u304b\uff1f\u300d\u3068\u805e\u3044\u305f\u3089\u3001\u534a\u5206\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u300c\u308f\u304b\u3089\u306a\u3044\u300d\u3068\u7b54\u3048\u307e\u3057\u305f\u3002\u6570\u5024\u30ed\u30fc\u30eb\u3092\u3064\u3051\u305f\u3089\u300c\u3042\u3001\u3061\u3083\u3093\u3068\u6e1b\u3063\u305f\u300d\u3068\u5168\u54e1\u304c\u6c17\u3065\u3044\u3066\u304f\u308c\u307e\u3057\u305f\u3002\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9f\u88c5\u65b9\u6cd5<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">HTML\u69cb\u9020<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">HTML\u306f\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002\u4ef6\u6570\u3092\u8868\u793a\u3059\u308b\u8981\u7d20\u306b\u3001<code>id<\/code>\u3092\u3064\u3051\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;div class=\"search-result-header\"&gt;\n  &lt;p class=\"result-count\"&gt;\n    \u691c\u7d22\u7d50\u679c\uff1a&lt;span class=\"result-number\" id=\"js-result-count\"&gt;128&lt;\/span&gt;\u4ef6\n  &lt;\/p&gt;\n&lt;\/div&gt;\n\n&lt;div class=\"filter-bar\"&gt;\n  &lt;label&gt;\n    &lt;input type=\"checkbox\" id=\"js-filter-pet\" \/&gt; \u30da\u30c3\u30c8\u53ef\n  &lt;\/label&gt;\n  &lt;label&gt;\n    &lt;input type=\"checkbox\" id=\"js-filter-new\" \/&gt; \u65b0\u7bc9\n  &lt;\/label&gt;\n&lt;\/div&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">CSS\u30b9\u30bf\u30a4\u30eb<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6570\u5024\u30ed\u30fc\u30eb\u306f\u3001\u53e4\u3044\u6570\u5b57\u304c\u4e0a\u306b\u6d88\u3048\u3066\u3001\u65b0\u3057\u3044\u6570\u5b57\u304c\u4e0b\u304b\u3089\u51fa\u3066\u304f\u308b\u52d5\u304d\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.result-number {\n  display: inline-block;\n  font-size: 24px;\n  font-weight: 700;\n  font-variant-numeric: tabular-nums;\n  min-width: 3ch;\n  text-align: right;\n  position: relative;\n  overflow: hidden;\n  vertical-align: bottom;\n  height: 1.2em;\n}\n\n.result-number .roll-digit {\n  display: inline-block;\n  position: relative;\n}\n\n.result-number .roll-digit.is-rolling {\n  animation: roll-up 0.3s ease-out;\n}\n\n@keyframes roll-up {\n  0% {\n    transform: translateY(100%);\n    opacity: 0;\n  }\n  60% {\n    opacity: 1;\n  }\n  100% {\n    transform: translateY(0);\n    opacity: 1;\n  }\n}\n\n.result-count {\n  font-size: 14px;\n  color: #333;\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .result-number .roll-digit.is-rolling {\n    animation: none;\n    opacity: 1;\n  }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>overflow: hidden<\/code>\u3067\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u4e2d\u306b\u6570\u5b57\u304c\u306f\u307f\u51fa\u3055\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<code>font-variant-numeric: tabular-nums<\/code>\u3067\u6570\u5b57\u306e\u5e45\u3092\u63c3\u3048\u3066\u3001\u30ed\u30fc\u30eb\u4e2d\u306b\u30ac\u30bf\u3064\u304b\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">JavaScript\u306e\u5b9f\u88c5<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306echange\u30a4\u30d9\u30f3\u30c8\u3067\u4ef6\u6570\u306e\u5909\u66f4\u3092\u53d7\u3051\u53d6\u308a\u3001\u5909\u308f\u3063\u305f\u6841\u3060\u3051\u30ed\u30fc\u30eb\u3055\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>document.addEventListener('DOMContentLoaded', () =&gt; {\n  const countEl = document.getElementById('js-result-count');\n  if (!countEl) return;\n\n  function rollUpdate(el, newValue) {\n    const oldText = el.textContent;\n    const newText = String(newValue);\n\n    if (oldText === newText) return;\n\n    \/\/ \u6841\u6570\u3092\u63c3\u3048\u308b\n    const maxLen = Math.max(oldText.length, newText.length);\n    const oldPadded = oldText.padStart(maxLen, ' ');\n    const newPadded = newText.padStart(maxLen, ' ');\n\n    el.textContent = '';\n    el.style.height = el.offsetHeight + 'px';\n\n    for (let i = 0; i &lt; maxLen; i++) {\n      const span = document.createElement('span');\n      span.className = 'roll-digit';\n      span.textContent = newPadded[i];\n\n      \/\/ \u5909\u308f\u3063\u305f\u6841\u3060\u3051\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\n      if (oldPadded[i] !== newPadded[i]) {\n        span.classList.add('is-rolling');\n        span.style.animationDelay = (i * 30) + 'ms';\n        span.addEventListener('animationend', () =&gt; {\n          span.classList.remove('is-rolling');\n        }, { once: true });\n      }\n\n      el.appendChild(span);\n    }\n\n    \/\/ \u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u5b8c\u4e86\u5f8c\u306b\u30c6\u30ad\u30b9\u30c8\u306b\u623b\u3059\n    setTimeout(() =&gt; {\n      el.textContent = newText;\n      el.style.height = '';\n    }, 400);\n  }\n\n  \/\/ \u30d5\u30a3\u30eb\u30bf\u30fc\u5909\u66f4\u306e\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\n  function updateCount(newCount) {\n    rollUpdate(countEl, newCount);\n  }\n\n  \/\/ \u5b9f\u969b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306fAPI\u30ec\u30b9\u30dd\u30f3\u30b9\u5f8c\u306b\u547c\u3076\n  const filterPet = document.getElementById('js-filter-pet');\n  const filterNew = document.getElementById('js-filter-new');\n\n  if (filterPet) {\n    filterPet.addEventListener('change', () =&gt; {\n      const current = parseInt(countEl.textContent, 10);\n      const next = filterPet.checked\n        ? Math.floor(current * 0.18)\n        : Math.floor(current \/ 0.18);\n      updateCount(next);\n    });\n  }\n\n  if (filterNew) {\n    filterNew.addEventListener('change', () =&gt; {\n      const current = parseInt(countEl.textContent, 10);\n      const next = filterNew.checked\n        ? Math.floor(current * 0.35)\n        : Math.floor(current \/ 0.35);\n      updateCount(next);\n    });\n  }\n});<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u30dd\u30a4\u30f3\u30c8\u306f\u300c\u5909\u308f\u3063\u305f\u6841\u3060\u3051\u30ed\u30fc\u30eb\u3059\u308b\u300d\u3053\u3068\u3067\u3059\u3002\u300c128\u2192123\u300d\u306a\u3089\u3001\u6700\u5f8c\u306e2\u6841\u3060\u3051\u304c\u30ed\u30fc\u30eb\u3057\u307e\u3059\u3002\u5168\u90e8\u306e\u6841\u304c\u30ed\u30fc\u30eb\u3059\u308b\u3068\u3001\u3046\u308b\u3055\u3044\u3067\u3059\u3002\u5909\u308f\u3063\u305f\u90e8\u5206\u3060\u3051\u52d5\u304f\u304b\u3089\u3001\u300c\u3053\u3053\u304c\u5909\u308f\u3063\u305f\u300d\u3068\u4f1d\u308f\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5404\u6841\u306b30ms\u306e\u30c7\u30a3\u30ec\u30a4\u3092\u3064\u3051\u3066\u3044\u308b\u306e\u3067\u3001\u5de6\u304b\u3089\u53f3\u306b\u6ce2\u306e\u3088\u3046\u306b\u30ed\u30fc\u30eb\u3057\u307e\u3059\u3002\u540c\u6642\u306b\u5168\u6841\u304c\u52d5\u304f\u3088\u308a\u81ea\u7136\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6ce8\u610f\u70b9<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u88c5\u3067\u6c17\u3092\u3064\u3051\u305f\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u6642\u9593\u306f0.3\u79d2\u306b\u3057\u3066\u3044\u307e\u3059\u30020.5\u79d2\u3060\u3068\u9045\u304f\u3066\u300c\u5f85\u305f\u3055\u308c\u3066\u3044\u308b\u300d\u611f\u3058\u304c\u3057\u307e\u3059\u30020.15\u79d2\u3060\u3068\u901f\u3059\u304e\u3066\u4f55\u304c\u8d77\u304d\u305f\u304b\u308f\u304b\u3089\u306a\u3044\u30020.3\u79d2\u304c\u3061\u3087\u3046\u3069\u3044\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>aria-live=\"polite\"<\/code>\u3092\u4ef6\u6570\u8868\u793a\u306e\u89aa\u8981\u7d20\u306b\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002\u30b9\u30af\u30ea\u30fc\u30f3\u30ea\u30fc\u30c0\u30fc\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u3082\u4ef6\u6570\u306e\u5909\u66f4\u304c\u4f1d\u308f\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u4eca\u56de\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u7701\u7565\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u5b9f\u969b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u5fc5\u305a\u5165\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u5b8c\u4e86\u5f8c\u306b<code>textContent<\/code>\u306b\u623b\u3057\u3066\u3044\u307e\u3059\u3002<code>span<\/code>\u8981\u7d20\u304c\u6b8b\u3063\u305f\u307e\u307e\u3060\u3068\u3001\u30b3\u30d4\u30fc\uff06\u30da\u30fc\u30b9\u30c8\u3057\u305f\u3068\u304d\u306b\u5909\u306b\u306a\u308b\u304b\u3089\u3067\u3059\u3002400ms\u5f8c\u306b\u30b7\u30f3\u30d7\u30eb\u306a\u30c6\u30ad\u30b9\u30c8\u306b\u623b\u3059\u3053\u3068\u3067\u3001DOM\u69cb\u9020\u3092\u304d\u308c\u3044\u306b\u4fdd\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>prefers-reduced-motion<\/code>\u306b\u5bfe\u5fdc\u3057\u3066\u3001\u30ed\u30fc\u30eb\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u7121\u52b9\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306a\u3057\u3067\u3082\u6570\u5b57\u306f\u66f4\u65b0\u3055\u308c\u308b\u306e\u3067\u3001\u60c5\u5831\u306f\u4f1d\u308f\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9f\u969b\u306e\u7d50\u679c<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u304a\u5ba2\u3055\u307e\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3001A\/B\u30c6\u30b9\u30c8\u30923\u9031\u9593\u3084\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u6307\u6a19<\/th><th>\u6f14\u51fa\u306a\u3057\uff08A\uff09<\/th><th>\u6570\u5024\u30ed\u30fc\u30eb\u3042\u308a\uff08B\uff09<\/th><th>\u5dee\u5206<\/th><\/tr><\/thead><tbody><tr><td>\u30d5\u30a3\u30eb\u30bf\u30fc\u5909\u66f4\u5f8c\u306e\u4ef6\u6570\u8a8d\u77e5\u7387<\/td><td>47.3%<\/td><td>78.9%<\/td><td>+31.6pt<\/td><\/tr><tr><td>\u300c0\u4ef6\u300d\u6642\u306e\u6761\u4ef6\u5909\u66f4\u7387<\/td><td>34.1%<\/td><td>52.6%<\/td><td>+18.5pt<\/td><\/tr><tr><td>\u691c\u7d22\u96e2\u8131\u7387<\/td><td>28.4%<\/td><td>21.7%<\/td><td>-6.7pt<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ef6\u6570\u8a8d\u77e5\u7387\u304c31.6\u30dd\u30a4\u30f3\u30c8\u4e0a\u304c\u308a\u307e\u3057\u305f\u3002\u4e00\u756a\u52b9\u679c\u304c\u3042\u3063\u305f\u306e\u306f\u300c0\u4ef6\u300d\u306e\u3068\u304d\u3067\u3059\u3002\u6570\u5024\u30ed\u30fc\u30eb\u3067\u300c128\u21920\u300d\u3068\u52d5\u304f\u3068\u300c\u3042\u30010\u4ef6\u306b\u306a\u3063\u305f\u300d\u3068\u6c17\u3065\u3044\u3066\u3001\u6761\u4ef6\u3092\u5909\u3048\u3066\u304f\u308c\u308b\u30e6\u30fc\u30b6\u30fc\u304c18.5\u30dd\u30a4\u30f3\u30c8\u5897\u3048\u307e\u3057\u305f\u3002\u30d1\u30c3\u3068\u300c0\u300d\u306b\u5909\u308f\u308b\u3060\u3051\u3060\u3068\u3001\u6c17\u3065\u304b\u305a\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u300c\u7d50\u679c\u304c\u306a\u3044\u300d\u3068\u96e2\u8131\u3057\u3066\u3057\u307e\u3046\u4eba\u304c\u591a\u304b\u3063\u305f\u3067\u3059\u3002\u305f\u3060\u3057\u3001\u3053\u308c\u306f1\u3064\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306e\u7d50\u679c\u3067\u3059\u3002\u52b9\u679c\u306f\u30b5\u30a4\u30c8\u306e\u7a2e\u985e\u3084\u30d5\u30a3\u30eb\u30bf\u30fc\u306e\u6570\u306b\u3088\u3063\u3066\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u691c\u7d22\u7d50\u679c\u306e\u4ef6\u6570\u306f\u300c\u898b\u308c\u3070\u308f\u304b\u308b\u300d\u60c5\u5831\u3067\u3059\u304c\u3001\u898b\u3066\u3082\u3089\u3048\u306a\u3044\u3068\u610f\u5473\u304c\u306a\u3044\u3067\u3059\u3002\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u64cd\u4f5c\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u306e\u76ee\u306f\u30d5\u30a3\u30eb\u30bf\u30fcUI\u306b\u96c6\u4e2d\u3057\u3066\u3044\u307e\u3059\u3002\u4ef6\u6570\u8868\u793a\u306e\u5909\u5316\u306b\u6c17\u3065\u3044\u3066\u3082\u3089\u3046\u306b\u306f\u3001\u300c\u52d5\u304d\u300d\u3067\u4f1d\u3048\u308b\u306e\u304c\u52b9\u679c\u7684\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u306e\u30dd\u30a4\u30f3\u30c8\u306f\u4ee5\u4e0b\u306e3\u3064\u3067\u3059\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u5909\u308f\u3063\u305f\u6841\u3060\u3051\u3092\u30ed\u30fc\u30eb\u3002\u5168\u6841\u30ed\u30fc\u30eb\u306f\u3046\u308b\u3055\u3044\u306e\u3067\u3001\u5dee\u5206\u3060\u3051\u52d5\u304b\u3059<\/li><li>\u5404\u6841\u306b30ms\u306e\u30c7\u30a3\u30ec\u30a4\u3067\u5de6\u304b\u3089\u53f3\u306b\u6ce2\u30ed\u30fc\u30eb\u3002\u81ea\u7136\u306a\u52d5\u304d\u306b\u306a\u308b<\/li><li>0.3\u79d2\u3067\u5b8c\u4e86\u3002<code>prefers-reduced-motion<\/code>\u306b\u5bfe\u5fdc\u3057\u3001\u5b8c\u4e86\u5f8c\u306bDOM\u3092\u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ef6\u6570\u8868\u793a\u306e\u30ed\u30fc\u30eb\u6f14\u51fa\u306f\u300115\u884c\u3050\u3089\u3044\u306eCSS\u306840\u884c\u3050\u3089\u3044\u306eJS\u3067\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002\u5c0f\u3055\u306a\u5909\u66f4\u3067\u3059\u304c\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u30d5\u30a3\u30eb\u30bf\u30fc\u306e\u52b9\u679c\u3092\u5b9f\u611f\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u682a\u5f0f\u4f1a\u793e\u30d5\u30a1\u30b9\u30c8\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3067\u306f\u3001\u3053\u3046\u3057\u305f\u691c\u7d22UI\u306e\u6539\u5584\u3084\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u5b9f\u88c5\u30b5\u30dd\u30fc\u30c8\u3092\u3057\u3066\u3044\u307e\u3059\u3002\u300c\u691c\u7d22\u7d50\u679c\u30da\u30fc\u30b8\u306eUX\u3092\u6539\u5584\u3057\u305f\u3044\u300d\u300c\u30d5\u30a3\u30eb\u30bf\u30fc\u64cd\u4f5c\u306e\u624b\u5fdc\u3048\u3092\u826f\u304f\u3057\u305f\u3044\u300d\u3068\u3044\u3046\u65b9\u306f\u3001<a href=\"https:\/\/fastcoding.jp\/contact\/\">\u304a\u554f\u3044\u5408\u308f\u305b\u30d5\u30a9\u30fc\u30e0<\/a>\u304b\u3089\u6c17\u8efd\u306b\u3054\u9023\u7d61\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u203b\u672c\u8a18\u4e8b\u306f\u5f0a\u793e\u5916\u56fd\u4eba\u30b9\u30bf\u30c3\u30d5\u306b\u3088\u308b\u6295\u7a3f\u3067\u3059\u3002\u8a00\u3044\u56de\u3057\u3084\u8868\u73fe\u304c\u4e0d\u5341\u5206\u306a\u500b\u6240\u304c\u3042\u308a\u307e\u3059\u3053\u3068\u3054\u5bb9\u8d66\u3044\u305f\u3060\u304d\u307e\u3059\u3088\u3046\u304a\u9858\u3044\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u30d5\u30a1\u30b9\u30c8\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306eBigVi\u3067\u3059\u3002\u3053\u306e\u524d\u3001\u30cd\u30c3\u30c8\u3067\u670d\u3092\u63a2\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u300cT\u30b7\u30e3\u30c4\u30fbM\u30b5\u30a4\u30ba\u300d\u3067\u691c\u7d22\u3057\u305f\u3089\u300c243\u4ef6\u300d\u3068\u51fa\u307e\u3057\u305f\u3002\u3002\u300c\u767d\u300d\u3092\u8ffd\u52a0\u3057\u305f\u3089\u3001\u4e00\u77ac\u3067\u300c31\u4ef6\u300d\u306b\u5909\u308f\u308a\u307e\u3057\u305f\u3002\u3067\u3082\u6570\u5b57\u304c\u30d1\u30c3 [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":10229,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[316],"tags":[33,32,22,317,790],"class_list":["post-10078","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ui-ux","tag-css","tag-html","tag-javascript","tag-ui-ux","tag-790"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u3053\u3093\u306b\u3061\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u30d5\u30a1\u30b9\u30c8\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306eBigVi\u3067\u3059\u3002\u3053\u306e\u524d\u3001\u30cd\u30c3\u30c8\u3067\u670d\u3092\u63a2\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u300cT\u30b7\u30e3\u30c4\u30fbM\u30b5\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:160, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"BigVi\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/fastcoding.jp\/blog\/all\/ui-ux\/search-result-count-animation\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"FASTCODING BLOG | \u682a\u5f0f\u4f1a\u793e\u30d5\u30a1\u30b9\u30c8\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u516c\u5f0f\u30d6\u30ed\u30b0\u3067\u3059\u3002HTML\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3084JavaScript\u958b\u767a\u3001WordPress\u5236\u4f5c\u3092\u4e2d\u5fc3\u306b\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u958b\u767a\u306b\u95a2\u3059\u308b\u60c5\u5831\u304c\u6e80\u8f09\u3067\u3059\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u691c\u7d22\u7d50\u679c\u306e\u4ef6\u6570\u304c\u5909\u308f\u3063\u305f\u77ac\u9593\u306b\u6570\u5024\u30ed\u30fc\u30eb \u2500 \u300c\u624b\u5fdc\u3048\u300d\u3092\u898b\u305b\u308b\u30de\u30a4\u30af\u30ed\u6f14\u51fa | FASTCODING BLOG\" \/>\n\t\t<meta property=\"og:description\" content=\"\u3053\u3093\u306b\u3061\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u30d5\u30a1\u30b9\u30c8\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306eBigVi\u3067\u3059\u3002\u3053\u306e\u524d\u3001\u30cd\u30c3\u30c8\u3067\u670d\u3092\u63a2\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u300cT\u30b7\u30e3\u30c4\u30fbM\u30b5\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/fastcoding.jp\/blog\/all\/ui-ux\/search-result-count-animation\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/fastcoding.jp\/blog\/wp-content\/uploads\/2026\/08\/0fbe073f6cb0ef59dc39b15308ef3f30.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/fastcoding.jp\/blog\/wp-content\/uploads\/2026\/08\/0fbe073f6cb0ef59dc39b15308ef3f30.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-09-03T01:18:25+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-09-03T01:18:31+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/FASTCODING.jp\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u691c\u7d22\u7d50\u679c\u306e\u4ef6\u6570\u304c\u5909\u308f\u3063\u305f\u77ac\u9593\u306b\u6570\u5024\u30ed\u30fc\u30eb \u2500 \u300c\u624b\u5fdc\u3048\u300d\u3092\u898b\u305b\u308b\u30de\u30a4\u30af\u30ed\u6f14\u51fa | FASTCODING BLOG\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u3053\u3093\u306b\u3061\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u30d5\u30a1\u30b9\u30c8\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306eBigVi\u3067\u3059\u3002\u3053\u306e\u524d\u3001\u30cd\u30c3\u30c8\u3067\u670d\u3092\u63a2\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u300cT\u30b7\u30e3\u30c4\u30fbM\u30b5\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/fastcoding.jp\/blog\/wp-content\/uploads\/2026\/08\/0fbe073f6cb0ef59dc39b15308ef3f30.png\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u691c\u7d22\u7d50\u679c\u306e\u4ef6\u6570\u304c\u5909\u308f\u3063\u305f\u77ac\u9593\u306b\u6570\u5024\u30ed\u30fc\u30eb \u2500 \u300c\u624b\u5fdc\u3048\u300d\u3092\u898b\u305b\u308b\u30de\u30a4\u30af\u30ed\u6f14\u51fa | FASTCODING BLOG","description":"\u3053\u3093\u306b\u3061\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u30d5\u30a1\u30b9\u30c8\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306eBigVi\u3067\u3059\u3002\u3053\u306e\u524d\u3001\u30cd\u30c3\u30c8\u3067\u670d\u3092\u63a2\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u300cT\u30b7\u30e3\u30c4\u30fbM\u30b5","canonical_url":"https:\/\/fastcoding.jp\/blog\/all\/ui-ux\/search-result-count-animation\/","robots":"max-snippet:160, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"ja_JP","og:site_name":"FASTCODING BLOG | \u682a\u5f0f\u4f1a\u793e\u30d5\u30a1\u30b9\u30c8\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u516c\u5f0f\u30d6\u30ed\u30b0\u3067\u3059\u3002HTML\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3084JavaScript\u958b\u767a\u3001WordPress\u5236\u4f5c\u3092\u4e2d\u5fc3\u306b\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u958b\u767a\u306b\u95a2\u3059\u308b\u60c5\u5831\u304c\u6e80\u8f09\u3067\u3059","og:type":"article","og:title":"\u691c\u7d22\u7d50\u679c\u306e\u4ef6\u6570\u304c\u5909\u308f\u3063\u305f\u77ac\u9593\u306b\u6570\u5024\u30ed\u30fc\u30eb \u2500 \u300c\u624b\u5fdc\u3048\u300d\u3092\u898b\u305b\u308b\u30de\u30a4\u30af\u30ed\u6f14\u51fa | FASTCODING BLOG","og:description":"\u3053\u3093\u306b\u3061\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u30d5\u30a1\u30b9\u30c8\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306eBigVi\u3067\u3059\u3002\u3053\u306e\u524d\u3001\u30cd\u30c3\u30c8\u3067\u670d\u3092\u63a2\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u300cT\u30b7\u30e3\u30c4\u30fbM\u30b5","og:url":"https:\/\/fastcoding.jp\/blog\/all\/ui-ux\/search-result-count-animation\/","og:image":"https:\/\/fastcoding.jp\/blog\/wp-content\/uploads\/2026\/08\/0fbe073f6cb0ef59dc39b15308ef3f30.png","og:image:secure_url":"https:\/\/fastcoding.jp\/blog\/wp-content\/uploads\/2026\/08\/0fbe073f6cb0ef59dc39b15308ef3f30.png","og:image:width":1200,"og:image:height":675,"article:published_time":"2026-09-03T01:18:25+00:00","article:modified_time":"2026-09-03T01:18:31+00:00","article:publisher":"https:\/\/www.facebook.com\/FASTCODING.jp","twitter:card":"summary_large_image","twitter:title":"\u691c\u7d22\u7d50\u679c\u306e\u4ef6\u6570\u304c\u5909\u308f\u3063\u305f\u77ac\u9593\u306b\u6570\u5024\u30ed\u30fc\u30eb \u2500 \u300c\u624b\u5fdc\u3048\u300d\u3092\u898b\u305b\u308b\u30de\u30a4\u30af\u30ed\u6f14\u51fa | FASTCODING BLOG","twitter:description":"\u3053\u3093\u306b\u3061\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u30d5\u30a1\u30b9\u30c8\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306eBigVi\u3067\u3059\u3002\u3053\u306e\u524d\u3001\u30cd\u30c3\u30c8\u3067\u670d\u3092\u63a2\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u300cT\u30b7\u30e3\u30c4\u30fbM\u30b5","twitter:image":"https:\/\/fastcoding.jp\/blog\/wp-content\/uploads\/2026\/08\/0fbe073f6cb0ef59dc39b15308ef3f30.png"},"aioseo_meta_data":{"post_id":"10078","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-08-03 02:27:25","updated":"2026-09-03 01:53:59","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/posts\/10078","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/comments?post=10078"}],"version-history":[{"count":2,"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/posts\/10078\/revisions"}],"predecessor-version":[{"id":10090,"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/posts\/10078\/revisions\/10090"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/media\/10229"}],"wp:attachment":[{"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/media?parent=10078"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/categories?post=10078"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/tags?post=10078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}