{"id":28673,"date":"2026-09-20T18:07:22","date_gmt":"2026-09-20T09:07:22","guid":{"rendered":"https:\/\/motoki-design.co.jp\/wordpress\/?p=28673"},"modified":"2026-10-20T18:28:57","modified_gmt":"2026-10-20T09:28:57","slug":"website-contrast-check","status":"publish","type":"post","link":"https:\/\/motoki-design.co.jp\/wordpress\/website-contrast-check\/","title":{"rendered":"\u30b5\u30a4\u30c8\u306e\u6587\u5b57\u8272\u306e\u30b3\u30f3\u30c8\u30e9\u30b9\u30c8\u3092\u8abf\u3079\u308b\u65b9\u6cd5\uff5c\u5358\u8272\u80cc\u666f\u306e\u7c21\u6613\u30c1\u30a7\u30c3\u30af\u3068\u9650\u754c"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u6587\u5b57\u8272\u3068\u80cc\u666f\u8272\u306e\u5dee\u304c\u5c0f\u3055\u3044\u3068\u3001\u8aad\u3081\u308b\u4eba\u3068\u8aad\u3081\u306a\u3044\u4eba\u304c\u5206\u304b\u308c\u308b\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u5dee\u306f\u30b3\u30f3\u30c8\u30e9\u30b9\u30c8\u6bd4\u3068\u3044\u3046\u6570\u5024\u3067\u8868\u3055\u308c\u3001\u8a08\u7b97\u5f0f\u304c\u6c7a\u307e\u3063\u3066\u3044\u308b\u305f\u3081\u611f\u899a\u3067\u306f\u306a\u304f\u6570\u5b57\u3067\u5224\u65ad\u3067\u304d\u308b\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u3067\u306f\u3001\u8ffd\u52a0\u306e\u30c4\u30fc\u30eb\u3092\u5165\u308c\u305a\u306b\u30d6\u30e9\u30a6\u30b6\u30fc\u3060\u3051\u3067\u5358\u8272\u80cc\u666f\u306e\u5019\u88dc\u3092\u8abf\u3079\u308b\u65b9\u6cd5\u3068\u3001\u5224\u5b9a\u306e\u57fa\u6e96\u3092\u6574\u7406\u3059\u308b\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u6e2c\u8868\u306f2026\u5e749\u670820\u65e5\u306e\u65e7\u30b3\u30fc\u30c9\u306b\u3088\u308b\u8a18\u9332\u3067\u3042\u308a\u3001\u63b2\u8f09\u30b3\u30fc\u30c9\u306f2026\u5e7410\u67082\u65e5\u306b\u7956\u5148\u306e\u900f\u660e\u5ea6\u30fb\u80cc\u666f\u753b\u50cf\u3068\u56fa\u5b9a\u914d\u7f6e\u306e\u6271\u3044\u3092\u4fee\u6b63\u3057\u305f\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u57fa\u6e96\u306f2\u3064\u306b\u5206\u304b\u308c\u308b<\/h2>\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u3067\u6271\u3046\u306e\u306fWCAG 2.2\u306e\u9054\u6210\u57fa\u6e961.4.3\uff08\u30ec\u30d9\u30ebAA\uff09\u306b\u3042\u308b\u3001\u6587\u5b57\u306e\u6700\u4f4e\u30b3\u30f3\u30c8\u30e9\u30b9\u30c8\u3067\u3059\u3002\u4e0b\u9650\u306f\u6587\u5b57\u306e\u5927\u304d\u3055\u3068\u592a\u3055\u3067\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n\n\n<figure class=\"wp-block-table is-style-regular\"><table class=\"has-fixed-layout\"><thead><tr><th style=\"min-width:8em !important\">\u6587\u5b57\u306e\u6761\u4ef6<\/th><th>\u6c42\u3081\u3089\u308c\u308b\u6bd4<\/th><th>\u547c\u3073\u65b9<\/th><\/tr><\/thead><tbody><tr><td>\u901a\u5e38\u306e\u6587\u5b57<\/td><td>4.5\u5bfe1\u4ee5\u4e0a<\/td><td>\u5c0f\u3055\u3044\u6587\u5b57\u306e\u57fa\u6e96<\/td><\/tr><tr><td>24px\u4ee5\u4e0a<\/td><td>3\u5bfe1\u4ee5\u4e0a<\/td><td>\u5927\u304d\u3044\u6587\u5b57\u306e\u57fa\u6e96<\/td><\/tr><tr><td>\u7d0418.667px\u4ee5\u4e0a\u304b\u3064\u592a\u5b57<\/td><td>3\u5bfe1\u4ee5\u4e0a<\/td><td>\u5927\u304d\u3044\u6587\u5b57\u306e\u57fa\u6e96<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">\u6587\u5b57\u306e\u5927\u304d\u3055\u3068\u592a\u3055\u3067\u4e0b\u9650\u304c\u5909\u308f\u308b<\/figcaption><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u540c\u3058\u8272\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u3082\u3001\u5c0f\u3055\u3044\u6587\u5b57\u3067\u306f\u8db3\u308a\u305a\u3001\u5927\u304d\u3044\u898b\u51fa\u3057\u3067\u306f\u8db3\u308a\u308b\u3068\u3044\u3046\u72b6\u614b\u304c\u8d77\u3053\u308b\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u305d\u306e\u305f\u3081\u3001\u30da\u30fc\u30b8\u5168\u4f53\u30921\u3064\u306e\u5024\u3067\u5224\u65ad\u3067\u304d\u306a\u3044\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">1\u304b\u6240\u3060\u3051\u6e2c\u308b<\/h2>\n\n\n<p class=\"wp-block-paragraph\">\u6c17\u306b\u306a\u308b\u7b87\u6240\u304c\u6c7a\u307e\u3063\u3066\u3044\u308b\u306a\u3089\u3001Chrome\u306e\u958b\u767a\u8005\u30c4\u30fc\u30eb\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u6b21\u306fChrome\u3067\u306e\u624b\u9806\u3067\u3059\u3002<\/p>\n\n\n<ol class=\"wp-block-list\">\n\n<li>\u5bfe\u8c61\u306e\u6587\u5b57\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3066\u691c\u8a3c\u3092\u9078\u3076<\/li>\n\n\n<li>\u30b9\u30bf\u30a4\u30eb\u306e\u6b04\u3067color\u306e\u8272\u898b\u672c\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b<\/li>\n\n\n<li>\u80cc\u666f\u8272\u3092\u5224\u5b9a\u3067\u304d\u308b\u5834\u5408\u3001\u958b\u3044\u305f\u8272\u306e\u753b\u9762\u3067\u30b3\u30f3\u30c8\u30e9\u30b9\u30c8\u6bd4\u3092\u78ba\u8a8d\u3059\u308b<\/li>\n\n<\/ol>\n\n\n<p class=\"wp-block-paragraph\">\u6bd4\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u7b87\u6240\u3092\u5408\u683c\u3068\u5224\u65ad\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002\u80cc\u666f\u753b\u50cf\u306a\u3069\u304c\u3042\u308b\u5834\u5408\u306f\u80cc\u666f\u6761\u4ef6\u3092\u500b\u5225\u306b\u78ba\u8a8d\u3057\u307e\u3059\u3002\u64cd\u4f5c\u7b87\u6240\u306f<a href=\"https:\/\/developer.chrome.com\/docs\/devtools\/accessibility\/contrast\">Chrome\u306e\u516c\u5f0f\u8aac\u660e<\/a>\u3067\u3082\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u8272\u306e\u7d44\u307f\u5408\u308f\u305b\u3060\u3051\u3092\u5148\u306b\u6c7a\u3081\u305f\u3044\u3068\u304d\u306f\u3001<a href=\"https:\/\/motoki-design.co.jp\/tools\/contrast-check\/\">\u30ab\u30e9\u30fc\u30b3\u30f3\u30c8\u30e9\u30b9\u30c8\u5224\u5b9a<\/a>\u306b\u6587\u5b57\u8272\u3068\u80cc\u666f\u8272\u3092\u5165\u308c\u308b\u65b9\u6cd5\u3082\u3042\u308b\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u5165\u529b\u3057\u305f2\u8272\u306e\u78ba\u8a8d\u3068\u3001\u5b9f\u30da\u30fc\u30b8\u3067\u306e\u8868\u793a\u78ba\u8a8d\u306f\u5206\u3051\u3066\u884c\u3044\u307e\u3059\u3002\u5019\u88dc\u8272\u3092\u63a1\u7528\u3057\u305f\u3089\u3001\u5b9f\u969b\u306e\u80cc\u666f\u30fb\u6587\u5b57\u30b5\u30a4\u30ba\u30fb\u64cd\u4f5c\u72b6\u614b\u3067\u3082\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u30da\u30fc\u30b8\u5185\u306e\u5358\u8272\u80cc\u666f\u306e\u5019\u88dc\u3092\u307e\u3068\u3081\u3066\u63a2\u3059<\/h2>\n\n\n<p class=\"wp-block-paragraph\">\u958b\u767a\u8005\u30c4\u30fc\u30eb\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u6307\u5b9a\u3057\u305f\u30bf\u30b0\u306e\u6587\u5b57\u306b\u3064\u3044\u3066\u3001\u5358\u8272\u80cc\u666f\u306e\u5019\u88dc\u3092\u4f4e\u3044\u9806\u306b\u8868\u793a\u3059\u308b\u3002<\/p>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"js\"><code>(() =&gt; {\nfunction measure(root) {\n  function lum(c) {\n    const m = \/^rgba?\\(\\s*(\\d+(?:\\.\\d+)?)[, ]+\\s*(\\d+(?:\\.\\d+)?)[, ]+\\s*(\\d+(?:\\.\\d+)?)(?:\\s*[,\/]\\s*(\\d+(?:\\.\\d+)?))?\\s*\\)$\/.exec(c);\n    if (!m) return null;\n    if (m[4] !== undefined) { if (Number(m[4]) !== 1) return null; }\n    const v = m.slice(1, 4).map(Number).map(n =&gt; {\n      n \/= 255;\n      return n &lt;= 0.04045 ? n \/ 12.92 : Math.pow((n + 0.055) \/ 1.055, 2.4);\n    });\n    return 0.2126 * v[0] + 0.7152 * v[1] + 0.0722 * v[2];\n  }\n  function background(el) {\n    let e = el, color = null;\n    while (e) {\n      const s = getComputedStyle(e);\n      if (Number(s.opacity) !== 1 || s.filter !== &#x27;none&#x27; || s.mixBlendMode !== &#x27;normal&#x27; || s.backgroundImage !== &#x27;none&#x27;) return null;\n      if (color === null) {\n        const c = s.backgroundColor;\n        const transparent = c === &#x27;transparent&#x27; || \/^rgba\\(\\s*0,\\s*0,\\s*0,\\s*0\\s*\\)$\/.test(c);\n        if (!transparent) { if (lum(c) === null) return null; color = c; }\n      }\n      e = e.parentElement;\n    }\n    return color || &#x27;rgb(255, 255, 255)&#x27;;\n  }\n  const out = [], seen = new Set();\n  for (const el of root.querySelectorAll(&#x27;p,a,li,h1,h2,h3,span,button,time,small&#x27;)) {\n    const cs = getComputedStyle(el);\n    if (!el.getClientRects().length || cs.visibility !== &#x27;visible&#x27; || !el.textContent.trim()) continue;\n    const px = parseFloat(cs.fontSize) || 16, bg = background(el);\n    const key = cs.color + &#x27;|&#x27; + bg + &#x27;|&#x27; + px + &#x27;|&#x27; + cs.fontWeight;\n    const l1 = lum(cs.color), l2 = bg === null ? null : lum(bg);\n    const text = el.textContent.trim().slice(0, 20);\n    if (l1 === null || l2 === null) { out.push({text, ok:null, ratio:null, note:&#x27;\u624b\u52d5\u78ba\u8a8d\uff1a\u900f\u660e\u5ea6\u30fb\u753b\u50cf\u30fb\u672a\u5bfe\u5fdc\u8272\u306a\u3069&#x27;}); continue; }\n    if (seen.has(key)) continue;\n    seen.add(key);\n    const r = (Math.max(l1, l2) + 0.05) \/ (Math.min(l1, l2) + 0.05);\n    const large = px &gt;= 24 || (px &gt;= 14 * 96 \/ 72 ? parseInt(cs.fontWeight) &gt;= 700 : false);\n    out.push({ratio:Math.round(r * 100) \/ 100, need:large ? 3 : 4.5, ok:r &gt;= (large ? 3 : 4.5), px, w:cs.fontWeight, color:cs.color, bg, tag:el.tagName, text});\n  }\n  return out.sort((a, b) =&gt; (a.ratio === null ? Infinity : a.ratio) - (b.ratio === null ? Infinity : b.ratio));\n}\nconsole.table(measure(document).filter(x =&gt; x.ok !== true));\n})();<\/code><\/pre><\/div>\n\n<p class=\"wp-block-paragraph\">\u6570\u5024\u3092\u8a08\u7b97\u3067\u304d\u308b\u5019\u88dc\u306f\u3001\u6587\u5b57\u8272\u30fb\u80cc\u666f\u8272\u30fb\u6587\u5b57\u30b5\u30a4\u30ba\u30fb\u592a\u3055\u304c\u540c\u3058\u7d44\u307f\u5408\u308f\u305b\u30921\u4ef6\u306b\u307e\u3068\u3081\u308b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u624b\u52d5\u78ba\u8a8d\u306b\u306a\u3063\u305f\u7b87\u6240\u306f\u7701\u7565\u3057\u306a\u3044\u305f\u3081\u3001\u4ef6\u6570\u3092\u30da\u30fc\u30b8\u5168\u4f53\u306e\u5408\u5426\u6570\u3068\u306f\u6271\u308f\u306a\u3044\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u30b3\u30fc\u30c9\u306f\u6307\u5b9a\u30bf\u30b0\u306e\u8981\u7d20\u3092\u8abf\u3079\u308b\u88dc\u52a9\u3067\u3059\u3002\u5b50\u8981\u7d20\u3060\u3051\u8272\u304c\u9055\u3046\u6587\u5b57\u3001\u5165\u529b\u6b04\u306e\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\u3001iframe\u3084Shadow DOM\u5185\u306e\u6587\u5b57\u306a\u3069\u3092\u7db2\u7f85\u3057\u307e\u305b\u3093\u3002\u901a\u5e38\u8868\u793a\u3067\u5019\u88dc\u304c\u306a\u304f\u3066\u3082\u3001\u30db\u30d0\u30fc\u3084\u30ad\u30fc\u30dc\u30fc\u30c9\u30d5\u30a9\u30fc\u30ab\u30b9\u6642\u306e\u6587\u5b57\u3092\u5225\u9014\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">console.table\u306e\u884c\u3092 console.table(measure(document)) \u306b\u5909\u3048\u308b\u3068\u3001\u57fa\u6e96\u4ee5\u4e0a\u306e\u5019\u88dc\u3082\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u8868\u793a\u306eratio\u306f\u5c0f\u6570\u7b2c2\u4f4d\u306b\u4e38\u3081\u3066\u3044\u307e\u3059\u304c\u3001ok\u306e\u5224\u5b9a\u306b\u306f\u4e38\u3081\u308b\u524d\u306e\u5024\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u30024.499\u5bfe1\u306f4.5\u5bfe1\u672a\u6e80\u306a\u306e\u3067\u3001\u8868\u793a\u304c4.5\u3067\u3082\u5408\u683c\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u3002\u5883\u754c\u4ed8\u8fd1\u3067\u306f\u8868\u793a\u5024\u3060\u3051\u3067\u5224\u65ad\u305b\u305a\u3001ok\u3068\u5fc5\u8981\u5024need\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u3053\u306e\u30b3\u30fc\u30c9\u304c\u898b\u3066\u3044\u308b\u3082\u306e<\/h3>\n\n\n<ul class=\"wp-block-list\">\n\n<li>\u975e\u8868\u793a\u306e\u8981\u7d20\u3092\u9664\u5916\u3057\u3001\u56fa\u5b9a\u914d\u7f6e\u3082\u5019\u88dc\u306b\u542b\u3081\u308b\u3002\u7956\u5148\u306eopacity\u30fbfilter\u30fb\u6df7\u8272\u30fb\u80cc\u666f\u753b\u50cf\u304c\u3042\u308b\u5834\u5408\u306f\u624b\u52d5\u78ba\u8a8d\u306b\u5206\u3051\u308b<\/li>\n\n\n<li>\u80cc\u666f\u8272\u304c\u900f\u660e\u306a\u3089\u3001\u89aa\u3092\u305f\u3069\u3063\u3066\u6700\u521d\u306b\u898b\u3064\u304b\u3063\u305f\u8272\u3092\u4f7f\u3046<\/li>\n\n\n<li>\u3069\u3053\u306b\u3082\u8272\u304c\u7121\u3051\u308c\u3070\u767d\u3068\u307f\u306a\u3059<\/li>\n\n\n<li>24px\u4ee5\u4e0a\u3001\u307e\u305f\u306f\u7d0418.667px\u4ee5\u4e0a\u306e\u592a\u5b57\u3092\u5927\u304d\u3044\u6587\u5b57\u3068\u3057\u3066\u6271\u3046<\/li>\n\n<\/ul>\n\n\n<p class=\"wp-block-paragraph\">\u80cc\u666f\u306b\u753b\u50cf\u3084\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u3063\u3066\u3044\u308b\u7b87\u6240\u306f\u3001\u3053\u306e\u65b9\u6cd5\u3067\u306f\u6b63\u3057\u304f\u6e2c\u308c\u306a\u3044\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u305d\u306e\u5834\u5408\u306f\u3001\u6587\u5b57\u306e\u80cc\u5f8c\u306b\u6765\u308b\u80cc\u666f\u30921\u304b\u6240\u305a\u3064\u78ba\u304b\u3081\u307e\u3059\u3002\u6587\u5b57\u8272\u306fCSS\u306e\u6307\u5b9a\u5024\u3092\u57fa\u672c\u3068\u3057\u3001\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u306e\u6587\u5b57\u306e\u7e01\u306b\u3042\u308b\u3001\u306a\u3081\u3089\u304b\u306b\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u4e2d\u9593\u8272\u3092\u6587\u5b57\u8272\u3068\u3057\u3066\u63a1\u7528\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u5b9f\u969b\u306b\u6e2c\u3063\u3066\u51fa\u305f\u5024<\/h2>\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0b\u306f\u30012026\u5e749\u670820\u65e5\u306b\u65e7\u30b3\u30fc\u30c9\u3092\u904b\u7528\u30b5\u30a4\u30c8\u3067\u5b9f\u884c\u3057\u305f\u8a18\u9332\u3067\u3042\u308a\u3001\u73fe\u5728\u306e\u63b2\u8f09\u30b3\u30fc\u30c9\u306b\u3088\u308b\u518d\u6e2c\u5b9a\u7d50\u679c\u3067\u306f\u306a\u3044\u3002<\/p>\n\n\n<figure class=\"wp-block-table is-style-regular\"><table class=\"has-fixed-layout\"><thead><tr><th style=\"min-width:8em !important\">\u6587\u5b57\u8272<\/th><th>\u80cc\u666f\u8272<\/th><th>\u5927\u304d\u3055<\/th><th>\u6bd4<\/th><th>\u5224\u5b9a<\/th><\/tr><\/thead><tbody><tr><td>\u767d<\/td><td>\u30d4\u30f3\u30af\uff08rgb(255,102,196)\uff09<\/td><td>10px<\/td><td>2.64<\/td><td>4.5\u306b\u5c4a\u304b\u306a\u3044<\/td><\/tr><tr><td>\u767d<\/td><td>\u30d4\u30f3\u30af\uff08rgb(255,102,196)\uff09<\/td><td>16px<\/td><td>2.64<\/td><td>4.5\u306b\u5c4a\u304b\u306a\u3044<\/td><\/tr><tr><td>rgb(51,51,51)<\/td><td>rgb(253,253,253)<\/td><td>16px<\/td><td>12.42<\/td><td>\u8db3\u308a\u3066\u3044\u308b<\/td><\/tr><tr><td>\u767d<\/td><td>rgb(32,32,32)<\/td><td>16px<\/td><td>16.29<\/td><td>\u8db3\u308a\u3066\u3044\u308b<\/td><\/tr><tr><td>rgb(46,46,46)<\/td><td>rgb(227,227,227)<\/td><td>24px<\/td><td>10.58<\/td><td>\u8db3\u308a\u3066\u3044\u308b<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">2026\u5e749\u670820\u65e5\u306b\u5b9f\u6e2c\u3057\u305f\u5024<\/figcaption><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u672c\u6587\u306e\u8272\u306f\u5341\u5206\u306a\u5dee\u304c\u3042\u3063\u305f\u4e00\u65b9\u3067\u3001\u30d4\u30f3\u30af\u306e\u80cc\u666f\u306b\u767d\u6587\u5b57\u3092\u7f6e\u3044\u305f\u7b87\u6240\u304c2.64\u3068\u4f4e\u304f\u51fa\u305f\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u7d44\u307f\u5408\u308f\u305b\u306f\u3001\u8272\u304c\u76ee\u7acb\u3064\u305f\u3081\u898b\u3048\u3066\u3044\u308b\u3068\u611f\u3058\u3084\u3059\u3044\u304c\u3001\u6570\u5024\u3067\u306f\u8db3\u308a\u3066\u3044\u306a\u3044\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u76ee\u7acb\u3064\u3053\u3068\u3068\u8aad\u307f\u3084\u3059\u3044\u3053\u3068\u306f\u5225\u306a\u306e\u3067\u3001\u88c5\u98fe\u306b\u4f7f\u3046\u8272\u307b\u3069\u6e2c\u308b\u4fa1\u5024\u304c\u3042\u308b\u3002<\/p>\n\n\n<h3 class=\"wp-block-heading\">\u6e2c\u308c\u306a\u3044\u5024\u304c\u51fa\u308b\u3053\u3068\u304c\u3042\u308b<\/h3>\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u6e2c\u3067\u306f\u3001\u6bd4\u304c1.00\u3068\u3044\u3046\u5024\u3082\u51fa\u305f\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u65e7\u30b3\u30fc\u30c9\u3067\u306f\u3001\u534a\u900f\u660e\u306e\u80cc\u666f\u3067\u80cc\u5f8c\u306e\u8272\u3092\u542b\u3081\u306a\u3044\u305f\u3081\u8aa4\u3063\u305f\u5024\u306b\u306a\u308b\u5834\u5408\u304c\u3042\u3063\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u65b9\u3001\u4e0d\u900f\u660e\u306a\u540c\u8272\u3069\u3046\u3057\u306a\u30891.00\u304c\u6b63\u3057\u3044\u5024\u306b\u306a\u308b\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u534a\u900f\u660e\u306f\u91cd\u306a\u3063\u305f\u8272\u306e\u8a08\u7b97\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001\u4fee\u6b63\u7248\u3067\u306f\u6570\u5024\u306e\u5408\u5426\u3092\u51fa\u3055\u305a\u624b\u52d5\u78ba\u8a8d\u3068\u8868\u793a\u3059\u308b\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">1.00\u3084\u6975\u7aef\u306b\u4f4e\u3044\u5024\u304c\u51fa\u305f\u3068\u304d\u306f\u3001\u6587\u5b57\u8272\u3068\u80cc\u666f\u8272\u3001\u900f\u660e\u5ea6\u3001\u753b\u50cf\u306e\u6709\u7121\u3092\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6bd4\u3060\u3051\u3067\u539f\u56e0\u3092\u6c7a\u3081\u306a\u3044\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u8db3\u308a\u306a\u3044\u3068\u304d\u306e\u76f4\u3057\u65b9<\/h2>\n\n\n<p class=\"wp-block-paragraph\">\u8272\u306e\u5909\u66f4\u306f\u30b3\u30f3\u30c8\u30e9\u30b9\u30c8\u6bd4\u305d\u306e\u3082\u306e\u3092\u5909\u3048\u307e\u3059\u3002\u4e00\u65b9\u3001\u6587\u5b57\u30b5\u30a4\u30ba\u3084\u592a\u3055\u306e\u5909\u66f4\u306f\u3001\u9069\u7528\u3059\u308b\u4e0b\u9650\u3092\u5909\u3048\u308b\u65b9\u6cd5\u3067\u3059\u3002\u540c\u30582\u8272\u306a\u3089\u3001\u6587\u5b57\u3092\u5927\u304d\u304f\u3057\u3066\u3082\u6bd4\u305d\u306e\u3082\u306e\u306f\u4e0a\u304c\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n<figure class=\"wp-block-table is-style-regular\"><table class=\"has-fixed-layout\"><thead><tr><th style=\"min-width:8em !important\">\u3084\u308a\u65b9<\/th><th>\u52b9\u304d\u65b9<\/th><th>\u898b\u305f\u76ee\u3078\u306e\u5f71\u97ff<\/th><\/tr><\/thead><tbody><tr><td>\u6587\u5b57\u8272\u3068\u80cc\u666f\u8272\u306e\u660e\u6697\u5dee\u3092\u5e83\u3052\u308b<\/td><td>\u6bd4\u3092\u518d\u8a08\u7b97\u3059\u308b<\/td><td>\u6587\u5b57\u306e\u5370\u8c61\u304c\u5909\u308f\u308b<\/td><\/tr><tr><td>\u660e\u308b\u3044\u6587\u5b57\u306b\u5bfe\u3057\u3066\u80cc\u666f\u8272\u3092\u6697\u304f\u3059\u308b<\/td><td>\u6bd4\u3092\u518d\u8a08\u7b97\u3059\u308b<\/td><td>\u914d\u8272\u5168\u4f53\u306b\u5f71\u97ff\u3059\u308b<\/td><\/tr><tr><td>\u6587\u5b57\u309224px\u4ee5\u4e0a\u306b\u3059\u308b<\/td><td>\u57fa\u6e96\u304c3\u5bfe1\u306b\u4e0b\u304c\u308b<\/td><td>\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u5909\u308f\u308b<\/td><\/tr><tr><td>\u7d0418.667px\u4ee5\u4e0a\u3067\u592a\u5b57\u306b\u3059\u308b<\/td><td>\u57fa\u6e96\u304c3\u5bfe1\u306b\u4e0b\u304c\u308b<\/td><td>\u6587\u5b57\u304c\u592a\u304f\u306a\u308b<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">\u6bd4\u3092\u6e80\u305f\u3059\u305f\u3081\u306e\u9078\u629e\u80a2<\/figcaption><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u6bd4\u304c3\u5bfe1\u4ee5\u4e0a4.5\u5bfe1\u672a\u6e80\u306a\u3089\u3001\u5927\u304d\u3044\u6587\u5b57\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3059\u3053\u3068\u3067\u4e0b\u9650\u306b\u5c4a\u304f\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u4e0a\u306e\u767d\u3068\u30d4\u30f3\u30af\u306e\u4f8b\u306f2.64\u5bfe1\u306a\u306e\u3067\u3001\u5927\u304d\u304f\u3059\u308b\u3060\u3051\u3067\u306f3\u5bfe1\u306b\u3082\u5c4a\u304d\u307e\u305b\u3093\u3002\u6587\u5b57\u8272\u304b\u80cc\u666f\u8272\u3092\u5909\u3048\u3066\u518d\u8a08\u7b97\u3057\u307e\u3059\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u30b5\u30a4\u30ba\u3092\u5909\u3048\u305f\u5834\u5408\u306f\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3067\u306e\u6298\u308a\u8fd4\u3057\u3084\u30dc\u30bf\u30f3\u5185\u306e\u53ce\u307e\u308a\u3082\u78ba\u8a8d\u3057\u307e\u3059\u3002\u80cc\u666f\u306b\u8fd1\u3044\u8272\u3078\u8584\u304f\u3059\u308b\u3068\u6bd4\u304c\u4e0b\u304c\u308b\u305f\u3081\u3001\u898b\u305f\u76ee\u306e\u5370\u8c61\u3060\u3051\u3067\u4fee\u6b63\u3092\u7d42\u3048\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u6e2c\u3063\u305f\u7d50\u679c\u3092\u6b8b\u3057\u3066\u304a\u304f<\/h2>\n\n\n<p class=\"wp-block-paragraph\">\u914d\u8272\u306f\u5c11\u3057\u305a\u3064\u5909\u308f\u308b\u305f\u3081\u3001\u6e2c\u3063\u305f\u65e5\u3068\u5024\u3092\u6b8b\u3057\u3066\u304a\u304f\u3068\u6bd4\u3079\u3089\u308c\u308b\u3002<\/p>\n\n\n<ul class=\"wp-block-list\">\n\n<li>\u6e2c\u3063\u305f\u65e5<\/li>\n\n\n<li>\u8db3\u308a\u3066\u3044\u306a\u304b\u3063\u305f\u7d44\u307f\u5408\u308f\u305b\u306e\u6570<\/li>\n\n\n<li>\u3044\u3061\u3070\u3093\u4f4e\u304b\u3063\u305f\u6bd4\u3068\u3001\u305d\u306e\u8272\u306e\u7d44\u307f\u5408\u308f\u305b<\/li>\n\n\n<li>\u76f4\u3057\u305f\u3042\u3068\u306e\u6bd4<\/li>\n\n<\/ul>\n\n\n<p class=\"wp-block-paragraph\">\u8a18\u9332\u306b\u306fURL\u3001\u5bfe\u8c61\u306e\u898b\u51fa\u3057\u3084\u30dc\u30bf\u30f3\u540d\u3001\u753b\u9762\u5e45\u3001\u30d6\u30e9\u30a6\u30b6\u30fc\u3001\u901a\u5e38\u30fb\u30db\u30d0\u30fc\u30fb\u30ad\u30fc\u30dc\u30fc\u30c9\u30d5\u30a9\u30fc\u30ab\u30b9\u306a\u3069\u306e\u72b6\u614b\u3082\u6dfb\u3048\u307e\u3059\u3002\u624b\u52d5\u78ba\u8a8d\u304c\u6b8b\u3063\u305f\u7b87\u6240\u3092\u5217\u6319\u3057\u3001\u540c\u3058\u6761\u4ef6\u3067\u4fee\u6b63\u524d\u5f8c\u3092\u6bd4\u3079\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n<ul class=\"wp-block-list\">\n\n<li>\u57fa\u6e96\u306f\u901a\u5e38\u306e\u6587\u5b57\u30674.5\u5bfe1\u3001\u5927\u304d\u3044\u6587\u5b57\u30673\u5bfe1\u306b\u5206\u304b\u308c\u308b<\/li>\n\n\n<li>24px\u4ee5\u4e0a\u3001\u307e\u305f\u306f\u7d0418.667px\u4ee5\u4e0a\u306e\u592a\u5b57\u304c\u5927\u304d\u3044\u6587\u5b57\u306b\u3042\u305f\u308b<\/li>\n\n\n<li>\u958b\u767a\u8005\u30c4\u30fc\u30eb\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u3001\u6307\u5b9a\u30bf\u30b0\u306e\u5358\u8272\u80cc\u666f\u3092\u7c21\u6613\u78ba\u8a8d\u3067\u304d\u308b<\/li>\n\n\n<li>\u5b9f\u6e2c\u3067\u306f\u3001\u30d4\u30f3\u30af\u80cc\u666f\u306b\u767d\u6587\u5b57\u306e\u7d44\u307f\u5408\u308f\u305b\u304c2.64\u3068\u4f4e\u304f\u51fa\u305f<\/li>\n\n\n<li>\u6bd4\u3060\u3051\u3067\u539f\u56e0\u3092\u6c7a\u3081\u305a\u3001\u6587\u5b57\u8272\u30fb\u80cc\u666f\u8272\u30fb\u900f\u660e\u5ea6\u3092\u78ba\u8a8d\u3059\u308b<\/li>\n\n\n<li>\u30b5\u30a4\u30ba\u5909\u66f4\u3067\u6bd4\u81ea\u4f53\u306f\u4e0a\u304c\u3089\u306a\u3044\u30023\u5bfe1\u672a\u6e80\u306a\u3089\u3001\u5927\u304d\u3044\u6587\u5b57\u3067\u3082\u914d\u8272\u306e\u4fee\u6b63\u304c\u5fc5\u8981<\/li>\n\n<\/ul>\n\n\n<p class=\"wp-block-paragraph\">\u4e0b\u306e\u898b\u672c\u3067\u6570\u5024\u3068\u624b\u52d5\u78ba\u8a8d\u306e\u5206\u5c90\u3092\u8a66\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30da\u30fc\u30b8\u5168\u4f53\u306e\u8868\u793a\u6761\u4ef6\u3092\u7db2\u7f85\u3059\u308b\u9069\u5408\u8a66\u9a13\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u57fa\u6e96\u3068\u4f8b\u5916\u306f<a href=\"https:\/\/www.w3.org\/WAI\/WCAG22\/Understanding\/contrast-minimum.html\" target=\"_blank\" rel=\"noopener\">W3C\u306eWCAG 2.2\u30fb\u9054\u6210\u57fa\u6e961.4.3\u306e\u89e3\u8aac<\/a>\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u30ed\u30b4\u3084\u7121\u52b9\u306a\u64cd\u4f5c\u90e8\u54c1\u306a\u3069\u306e\u4f8b\u5916\u304c\u3042\u308a\u3001\u30a2\u30a4\u30b3\u30f3\u3084\u67a0\u7dda\u306a\u3069\u306e\u975e\u30c6\u30ad\u30b9\u30c8\u8981\u7d20\u306f\u5225\u306e\u57fa\u6e96\u3067\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u30b5\u30a4\u30c8\u306e\u5b9f\u88c5\u307e\u308f\u308a\u306f<a href=\"https:\/\/motoki-design.co.jp\/wordpress\/\">WAZA\u306e\u307e\u3068\u3081<\/a>\u306b\u3082\u7f6e\u3044\u3066\u3044\u308b\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">GitHub\u306e<a href=\"https:\/\/github.com\/MOTOKI-LLC\/WAZA-code\/tree\/main\/website-contrast-check\">MOTOKI-LLC\/WAZA-code<\/a>\u306f\u904e\u53bb\u306e\u4fdd\u7ba1\u7248\u3067\u3001\u3053\u306e\u8a18\u4e8b\u306e\u63b2\u8f09\u30b3\u30fc\u30c9\u3068\u306f\u540c\u671f\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u88dc\u52a9\u30b3\u30fc\u30c9\u3060\u3051\u3067\u30da\u30fc\u30b8\u5168\u4f53\u306eWCAG\u9069\u5408\u3092\u5224\u5b9a\u305b\u305a\u3001\u753b\u50cf\u30fb\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u30fb\u7956\u5148\u306eopacity\u30fb\u91cd\u306a\u308a\u30fb\u7591\u4f3c\u8981\u7d20\u30fb\u672a\u5bfe\u5fdc\u306e\u8272\u5f62\u5f0f\u30fb\u56fa\u5b9a\u914d\u7f6e\u306f\u5b9f\u753b\u9762\u3067\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2 class=\"wp-block-heading\">\u6e2c\u5b9a\u3067\u304d\u308b\u4f8b\u3068\u624b\u52d5\u78ba\u8a8d\u306b\u306a\u308b\u4f8b<\/h2><figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"924\" height=\"649\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-waza-design-reader-next-20261002-contrast-desktop.jpg\" alt=\"\u9ed2\u6587\u5b57\u3068\u767d\u80cc\u666f\u304c21\u5bfe1\u3001\u767d\u6587\u5b57\u3068\u767d\u80cc\u666f\u304c1\u5bfe1\u3001\u534a\u900f\u660e\u3068\u753b\u50cf\u3068\u89aa\u306e\u900f\u660e\u5ea6\u306f\u624b\u52d5\u78ba\u8a8d\u306b\u306a\u3063\u305f\u6e2c\u5b9a\u7d50\u679c\u3002\" class=\"wp-image-30217\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-waza-design-reader-next-20261002-contrast-desktop.jpg 924w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-waza-design-reader-next-20261002-contrast-desktop-382x268.jpg 382w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-waza-design-reader-next-20261002-contrast-desktop-812x571.jpg 812w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-waza-design-reader-next-20261002-contrast-desktop-768x540.jpg 768w\" sizes=\"(max-width: 924px) 100vw, 924px\" \/><figcaption class=\"wp-element-caption\">\u5358\u8272\u30fb\u534a\u900f\u660e\u30fb\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u30fb\u89aa\u306e\u900f\u660e\u5ea6\u3092\u6bd4\u8f03\u3057\u305f5\u4f8b\u306e\u5b9f\u753b\u9762\u3002\u4e0b\u306e\u898b\u672c\u3067\u306f\u6587\u5b57\u30b5\u30a4\u30ba\u3068\u56fa\u5b9a\u914d\u7f6e\u3082\u8a66\u305b\u307e\u3059\uff082026\u5e7410\u67082\u65e5\uff09\u3002<\/figcaption><\/figure>\n<p class=\"wp-block-paragraph\">\u300c\u898b\u672c\u3092\u6e2c\u308b\u300d\u306f\u3001\u3053\u306e\u7bc0\u306e9\u4f8b\u3060\u3051\u3092\u63b2\u8f09\u30b3\u30fc\u30c9\u3068\u540c\u3058\u95a2\u6570\u3067\u8abf\u3079\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6bd4\u304c1.00\u3067\u3082\u3001\u4e0d\u900f\u660e\u306a\u767d\u6587\u5b57\u3068\u767d\u80cc\u666f\u306a\u3089\u6b63\u3057\u3044\u8a08\u7b97\u7d50\u679c\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u900f\u660e\u5ea6\u3084\u753b\u50cf\u304c\u3042\u308b\u4f8b\u306f\u5408\u5426\u3092\u51fa\u3055\u305a\u3001\u624b\u52d5\u78ba\u8a8d\u3078\u5206\u3051\u307e\u3059\u3002<\/p>\n<div id=\"waza-contrast-examples\">\n<p style=\"color:#000;background:#fff;font-size:16px\">\u9ed2\u6587\u5b57\u30fb\u767d\u80cc\u666f<\/p>\n<p style=\"color:#fff;background:#fff;font-size:16px\">\u767d\u6587\u5b57\u30fb\u767d\u80cc\u666f\uff08\u8aad\u307f\u306b\u304f\u3044\u4f8b\uff09<\/p>\n<p style=\"color:rgba(0,0,0,.5);background:#fff;font-size:16px\">\u534a\u900f\u660e\u306e\u6587\u5b57<\/p>\n<p style=\"color:#000;background:linear-gradient(#fff,#aaa);font-size:16px\">\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u80cc\u666f<\/p>\n<div style=\"opacity:.5\"><p style=\"color:#000;background:#fff;font-size:16px\">\u89aa\u306e\u4e0d\u900f\u660e\u5ea650%<\/p><\/div>\n<p style=\"color:#000;background:#fff;font-size:18.66px;font-weight:700\">18.66px\u306e\u592a\u5b57<\/p>\n<p style=\"color:#000;background:#fff;font-size:18.667px;font-weight:700\">18.667px\u306e\u592a\u5b57<\/p>\n<p style=\"color:#000;background:#fff;font-size:24px;font-weight:400\">24px\u306e\u901a\u5e38\u6587\u5b57<\/p>\n<div style=\"position:relative;transform:translateZ(0);height:70px\"><p style=\"position:fixed;top:0;left:0;color:#000;background:#fff;font-size:17px\">\u56fa\u5b9a\u914d\u7f6e\u306e\u6587\u5b57\uff08\u898b\u672c\u5185\u306b\u914d\u7f6e\uff09<\/p><\/div>\n<\/div>\n<button type=\"button\" id=\"waza-contrast-run\">\u898b\u672c\u3092\u6e2c\u308b<\/button><pre id=\"waza-contrast-result\" role=\"status\" aria-live=\"polite\" style=\"white-space:pre-wrap;overflow-wrap:anywhere\">\u307e\u3060\u6e2c\u5b9a\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/pre>\n<style>#waza-contrast-run:focus-visible{outline:3px solid #94712c;outline-offset:3px}<\/style>\n<script>(() => {function measure(root) {\n  function lum(c) {\n    const m = \/^rgba?\\(\\s*(\\d+(?:\\.\\d+)?)[, ]+\\s*(\\d+(?:\\.\\d+)?)[, ]+\\s*(\\d+(?:\\.\\d+)?)(?:\\s*[,\/]\\s*(\\d+(?:\\.\\d+)?))?\\s*\\)$\/.exec(c);\n    if (!m) return null;\n    if (m[4] !== undefined) { if (Number(m[4]) !== 1) return null; }\n    const v = m.slice(1, 4).map(Number).map(n => {\n      n \/= 255;\n      return n <= 0.04045 ? n \/ 12.92 : Math.pow((n + 0.055) \/ 1.055, 2.4);\n    });\n    return 0.2126 * v[0] + 0.7152 * v[1] + 0.0722 * v[2];\n  }\n  function background(el) {\n    let e = el, color = null;\n    while (e) {\n      const s = getComputedStyle(e);\n      if (Number(s.opacity) !== 1 || s.filter !== 'none' || s.mixBlendMode !== 'normal' || s.backgroundImage !== 'none') return null;\n      if (color === null) {\n        const c = s.backgroundColor;\n        const transparent = c === 'transparent' || \/^rgba\\(\\s*0,\\s*0,\\s*0,\\s*0\\s*\\)$\/.test(c);\n        if (!transparent) { if (lum(c) === null) return null; color = c; }\n      }\n      e = e.parentElement;\n    }\n    return color || 'rgb(255, 255, 255)';\n  }\n  const out = [], seen = new Set();\n  for (const el of root.querySelectorAll('p,a,li,h1,h2,h3,span,button,time,small')) {\n    const cs = getComputedStyle(el);\n    if (!el.getClientRects().length || cs.visibility !== 'visible' || !el.textContent.trim()) continue;\n    const px = parseFloat(cs.fontSize) || 16, bg = background(el);\n    const key = cs.color + '|' + bg + '|' + px + '|' + cs.fontWeight;\n    const l1 = lum(cs.color), l2 = bg === null ? null : lum(bg);\n    const text = el.textContent.trim().slice(0, 20);\n    if (l1 === null || l2 === null) { out.push({text, ok:null, ratio:null, note:'\u624b\u52d5\u78ba\u8a8d\uff1a\u900f\u660e\u5ea6\u30fb\u753b\u50cf\u30fb\u672a\u5bfe\u5fdc\u8272\u306a\u3069'}); continue; }\n    if (seen.has(key)) continue;\n    seen.add(key);\n    const r = (Math.max(l1, l2) + 0.05) \/ (Math.min(l1, l2) + 0.05);\n    const large = px >= 24 || (px >= 14 * 96 \/ 72 ? parseInt(cs.fontWeight) >= 700 : false);\n    out.push({ratio:Math.round(r * 100) \/ 100, need:large ? 3 : 4.5, ok:r >= (large ? 3 : 4.5), px, w:cs.fontWeight, color:cs.color, bg, tag:el.tagName, text});\n  }\n  return out.sort((a, b) => (a.ratio === null ? Infinity : a.ratio) - (b.ratio === null ? Infinity : b.ratio));\n}\nconst button=document.getElementById('waza-contrast-run');\nbutton.addEventListener('click',() => {\n const rows=measure(document.getElementById('waza-contrast-examples'));\n document.getElementById('waza-contrast-result').textContent=rows.map(r => r.text+'\uff1a'+(r.ratio===null ? r.note : r.ratio+'\u5bfe1 \/ \u5fc5\u8981 '+r.need+'\u5bfe1 \/ '+(r.ok ? '\u57fa\u6e96\u4ee5\u4e0a' : '\u57fa\u6e96\u672a\u6e80'))).join(String.fromCharCode(10));\n});})();<\/script>\n<p class=\"wp-block-paragraph\">\u30b3\u30fc\u30c9\u306f\u5bfe\u8c61\u30da\u30fc\u30b8\u306e\u958b\u767a\u8005\u30c4\u30fc\u30eb\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u3078\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">functions.php\u3084\u8ffd\u52a0CSS\u3078\u306f\u8cbc\u308a\u4ed8\u3051\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5143\u306b\u623b\u3059\u305f\u3081\u306e\u30b5\u30a4\u30c8\u8a2d\u5b9a\u5909\u66f4\u306f\u306a\u304f\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u8868\u793a\u3092\u6d88\u305b\u3070\u7d42\u4e86\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u884c\u3059\u308b\u3068\u304d\u306f\u3001\u3053\u306e\u8a18\u4e8b\u306e\u63b2\u8f09\u30b3\u30fc\u30c9\u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u5b57\u8272\u306e\u30b3\u30f3\u30c8\u30e9\u30b9\u30c8\u3092Chrome\u3068\u88dc\u52a9\u30b3\u30fc\u30c9\u3067\u78ba\u8a8d\u3059\u308b\u65b9\u6cd5\u3002WCAG AA\u306e\u4e0b\u9650\u3001\u4e38\u3081\u8868\u793a\u306e\u8aad\u307f\u65b9\u3001\u5358\u8272\u80cc\u666f\u306e\u6e2c\u5b9a\u9650\u754c\u3001\u914d\u8272\u306e\u76f4\u3057\u65b9\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":28674,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","book_review_data":"","footnotes":"","ssp_meta_title":"\u6587\u5b57\u8272\u306e\u30b3\u30f3\u30c8\u30e9\u30b9\u30c8\u78ba\u8a8d\uff5cWCAG AA\u306e\u57fa\u6e96\u3068\u7c21\u6613\u30c1\u30a7\u30c3\u30af\u306e\u9650\u754c","ssp_meta_description":"\u6587\u5b57\u8272\u3068\u80cc\u666f\u8272\u306e\u30b3\u30f3\u30c8\u30e9\u30b9\u30c8\u3092\u8abf\u3079\u308b\u624b\u9806\u3002\u901a\u5e384.5\u5bfe1\u30fb\u5927\u304d\u3044\u6587\u5b573\u5bfe1\u306e\u57fa\u6e96\u3001\u30b3\u30fc\u30c9\u306e\u8868\u793a\u5024\u3001\u624b\u52d5\u78ba\u8a8d\u304c\u5fc5\u8981\u306a\u7bc4\u56f2\u3001\u4fee\u6b63\u5f8c\u306e\u8a18\u9332\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002"},"categories":[83],"tags":[],"area":[],"class_list":["post-28673","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tools"],"_links":{"self":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/28673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/comments?post=28673"}],"version-history":[{"count":13,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/28673\/revisions"}],"predecessor-version":[{"id":31904,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/28673\/revisions\/31904"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/media\/28674"}],"wp:attachment":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/media?parent=28673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/categories?post=28673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/tags?post=28673"},{"taxonomy":"area","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/area?post=28673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}