{"id":1694,"date":"2025-05-19T08:22:37","date_gmt":"2025-05-19T08:22:37","guid":{"rendered":"https:\/\/satokotadesign.com\/blog\/?p=1694"},"modified":"2025-05-19T08:24:07","modified_gmt":"2025-05-19T08:24:07","slug":"css_prefers-reduced-motion","status":"publish","type":"post","link":"https:\/\/satokotadesign.com\/blog\/css_prefers-reduced-motion\/","title":{"rendered":"CSS\u3067\u914d\u616e\u3042\u308bWeb\u4f53\u9a13\u3092\uff01prefers-reduced-motion\u306e\u4f7f\u3044\u65b9\u3068\u5b9f\u88c5\u4f8b\uff08\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u3084\u3081\u3055\u305b\u308b\uff09"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u9759\u5ca1\u770c\u6d5c\u677e\u5e02\u3067WEB\u30c7\u30b6\u30a4\u30ca\u30fc\u3092\u3057\u3066\u3044\u307e\u3059\u5c0f\u7027\u3067\u3059\u3002<\/p>\n<p>\u8fd1\u5e74\u3001Web\u30b5\u30a4\u30c8\u306b\u304a\u3051\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u6d3b\u7528\u304c\u4e00\u822c\u7684\u306b\u306a\u308a\u3001\u52d5\u304d\u306e\u3042\u308bUI\u304c\u30e6\u30fc\u30b6\u30fc\u4f53\u9a13\u306e\u5411\u4e0a\u306b\u4e00\u5f79\u8cb7\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3067\u3059\u304c\u3001<span class=\"sc_marker-animation\">\u3059\u3079\u3066\u306e\u4eba\u304c\u305d\u306e\u300c\u52d5\u304d\u300d\u3092\u5feb\u9069\u306b\u611f\u3058\u3066\u3044\u308b\u3068\u306f\u9650\u308a\u307e\u305b\u3093\u3002<\/span><\/p>\n<p>\u8996\u899a\u7684\u306a\u523a\u6fc0\u306b\u654f\u611f\u306a\u65b9\u306e\u4e2d\u306b\u306f\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066<span class=\"sc_marker-animation\">\u9154\u3044\u3084\u4e0d\u5feb\u611f\u3092\u899a\u3048\u308b\u30b1\u30fc\u30b9<\/span>\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u91cd\u8981\u306b\u306a\u308b\u306e\u304c\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u8a2d\u5b9a\u306b\u5fdc\u3058\u3066\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u6291\u5236\u3059\u308bCSS\u306e\u6a5f\u80fd\u3001<span class=\"sc_marker-animation\">prefers-reduced-motion<\/span>\u3067\u3059\u3002<br \/>\n\u4eca\u56de\u306f\u3001\u3053\u306e\u6a5f\u80fd\u306e\u57fa\u672c\u304b\u3089\u5b9f\u88c5\u4f8b\u307e\u3067\u3001\u521d\u5fc3\u8005\u306e\u65b9\u306b\u3082\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<hr class=\"diver-hr style-solid hr-content-text is-align-center\" style=\"color:#ccc;height:1px;background-image:linear-gradient(to right, #ccc, #ccc);\">\n<h2 class=\"sc_heading solid blue\">\n\t\t<span class=\"sc_title\" >prefers-reduced-motion\u3068\u306f\uff1f<\/span><br \/>\n\t<\/h2>\n<span class=\"fontbackground\" style=\"background:;\">prefers-reduced-motion<\/span>\u306f\u3001OS\u5074\u3067\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u300c\u30e2\u30fc\u30b7\u30e7\u30f3\u3092\u63a7\u3048\u305f\u3044\u300d\u610f\u5411\u3092CSS\u3067\u691c\u77e5\u3059\u308b\u305f\u3081\u306e\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3067\u3059\u3002<br \/>\n\u30e6\u30fc\u30b6\u30fc\u304cmacOS\u3084iOS\u3001Windows\u306a\u3069\u306e\u8a2d\u5b9a\u3067\u300c\u8996\u5dee\u52b9\u679c\u3092\u6e1b\u3089\u3059\u300d\u3084\u300c\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u6700\u5c0f\u9650\u306b\u3059\u308b\u300d\u3068\u6307\u5b9a\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u5bfe\u5fdc\u3057\u305f\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u304c\u57fa\u672c\u7684\u306a\u66f8\u304d\u65b9\u3067\u3059\u3002<\/p>\n<pre class=\"line-numbers\" ><code class=\"language-css\">@media (prefers-reduced-motion: reduce) {\r\n  * {\r\n    animation: none !important;\r\n    transition: none !important;\r\n  }\r\n}\r\n<\/code><\/pre>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u3059\u3079\u3066\u306e\u8981\u7d20\u306b\u5bfe\u3059\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3084\u30c8\u30e9\u30f3\u30b8\u30b7\u30e7\u30f3\u304c\u7121\u52b9\u5316\u3055\u308c\u3001\u3088\u308a\u9759\u7684\u306a\u8868\u793a\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<span class=\"sc_marker-animation\">\u30e6\u30fc\u30b6\u30fc\u306e\u5feb\u9069\u6027\u3092\u640d\u306a\u308f\u305a\u306b\u3001\u8ab0\u306b\u3068\u3063\u3066\u3082\u898b\u3084\u3059\u3044Web\u3092\u63d0\u4f9b\u3059\u308b<\/span>\u3068\u3044\u3046\u8996\u70b9\u304c\u6c42\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2 class=\"sc_heading solid blue\">\n\t\t<span class=\"sc_title\" >\u5b9f\u8df5\uff1a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u81ea\u52d5\u30aa\u30d5\u306b\u3059\u308b<\/span><br \/>\n\t<\/h2>\n<p>\u305f\u3068\u3048\u3070\u3001\u30de\u30a6\u30b9\u30db\u30d0\u30fc\u3067\u8981\u7d20\u304c\u30b9\u30e9\u30a4\u30c9\u3059\u308b\u3088\u3046\u306a\u52b9\u679c\u3092\u3064\u3051\u3066\u3044\u305f\u5834\u5408\u3067\u3082\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5236\u5fa1\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre class=\"line-numbers\" ><code class=\"language-css\">.box {\r\n  transition: transform 0.4s ease;\r\n}\r\n.box:hover {\r\n  transform: translateY(-10px);\r\n}\r\n@media (prefers-reduced-motion: reduce) {\r\n  .box {\r\n    transition: none;\r\n  }\r\n}\r\n<\/code><\/pre>\n<p>\u3053\u306e\u3088\u3046\u306bprefers-reduced-motion\u3092\u4f7f\u3048\u3070\u3001<span class=\"sc_marker-animation\">\u8a2d\u5b9a\u3092\u5207\u308a\u66ff\u3048\u308b\u3060\u3051\u3067\u52d5\u304d\u3092\u6291\u3048\u305f\u30b9\u30bf\u30a4\u30eb\u306b\u81ea\u52d5\u5bfe\u5fdc\u3067\u304d\u307e\u3059<\/span>\u3002<br \/>\nJavaScript\u306a\u3069\u3092\u4f7f\u308f\u305a\u306b\u3001CSS\u3060\u3051\u3067\u5b8c\u7d50\u3059\u308b\u306e\u3082\u5927\u304d\u306a\u30e1\u30ea\u30c3\u30c8\u3067\u3059\u3002<\/p>\n<h3 class=\"sc_heading bborder b blue\"><span class=\"sc_title\">\u4f7f\u3044\u3069\u3053\u308d\u306e\u5177\u4f53\u4f8b<\/span><\/h3>\n<div class=\"sc_designlist ul fa_check blue\">\n<ul>\n<li>\u30da\u30fc\u30b8\u9077\u79fb\u6642\u306e\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u30fb\u30d5\u30a7\u30fc\u30c9\u30a2\u30a6\u30c8\u52b9\u679c<\/li>\n<li>\u30b9\u30af\u30ed\u30fc\u30eb\u9023\u52d5\u3067\u52d5\u304f\u30d8\u30c3\u30c0\u30fc\u3084\u80cc\u666f<\/li>\n<li>\u30ab\u30eb\u30fc\u30bb\u30eb\u306a\u3069\u306e\u81ea\u52d5\u518d\u751f\u30b3\u30f3\u30c6\u30f3\u30c4<\/li>\n<li>\u5e38\u306b\u52d5\u304d\u7d9a\u3051\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u80cc\u666f<\/li>\n<\/ul>\n<\/div>\n<p>\u8996\u899a\u7684\u306b\u5f37\u3044\u6f14\u51fa\u306f\u3001\u9b45\u529b\u7684\u3067\u3042\u308b\u4e00\u65b9\u3067\u3001\u4eba\u306b\u3088\u3063\u3066\u306f\u76ee\u304c\u75b2\u308c\u305f\u308a\u6df7\u4e71\u3092\u62db\u304f\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002<br \/>\n<span class=\"sc_marker-animation\">\u52d5\u304d\u306b\u5bfe\u3057\u3066\u9078\u629e\u80a2\u3092\u6301\u305f\u305b\u308b\u3053\u3068\u3067\u3001\u30e6\u30cb\u30d0\u30fc\u30b5\u30eb\u306aWeb\u4f53\u9a13\u306b\u8fd1\u3065\u3051\u307e\u3059<\/span>\u3002<\/p>\n<h3 class=\"sc_heading bborder b blue\"><span class=\"sc_title\">\u3055\u3089\u306b\u4e00\u6b69\u9032\u3093\u3060\u5de5\u592b\uff1a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u5207\u308a\u66ff\u3048\u308b<\/span><\/h3>\n<p>\u5b8c\u5168\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u30aa\u30d5\u306b\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u300c\u63a7\u3048\u3081\u306a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u300d\u306b\u5207\u308a\u66ff\u3048\u308b\u3068\u3044\u3046\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5de5\u592b\u3059\u308b\u3053\u3068\u3067\u3001\u6f14\u51fa\u3092\u7dad\u6301\u3057\u3064\u3064\u30e6\u30fc\u30b6\u30fc\u306b\u914d\u616e\u3057\u305f\u4f53\u9a13\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre class=\"line-numbers\" ><code class=\"language-css\">\/* \u901a\u5e38\u306e\u52d5\u304d *\/\r\n.button {\r\n  transition: transform 0.3s ease;\r\n}\r\n.button:hover {\r\n  transform: scale(1.05);\r\n} \/* \u30e2\u30fc\u30b7\u30e7\u30f3\u8efd\u6e1b\u8a2d\u5b9a\u306e\u4eba\u306b\u306f\u8efd\u3081\u306b *\/\r\n@media (prefers-reduced-motion: reduce) {\r\n  .button:hover {\r\n    transform: scale(1.01);\r\n  }\r\n}\r\n<\/code><\/pre>\n<p>\u5b8c\u5168\u505c\u6b62\u3067\u306f\u306a\u304f<span class=\"sc_marker-animation\">\u300c\u7e2e\u5c0f\u6f14\u51fa\u300d<\/span>\u306e\u307f\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u30d6\u30e9\u30f3\u30c9\u30a4\u30e1\u30fc\u30b8\u3084UI\u306e\u52d5\u304d\u3082\u5b88\u308a\u3064\u3064\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u5feb\u9069\u6027\u306b\u3082\u914d\u616e\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">\u307e\u3068\u3081\uff1a\u914d\u616e\u3042\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u8a2d\u8a08\u3092<\/span><\/h2>\n<div class=\"sc_designlist ol radius solid blue\">\n<ol>\n<li><span class=\"sc_marker-animation\">prefers-reduced-motion\u306fCSS\u3060\u3051\u3067\u5b9f\u88c5\u3067\u304d\u308b\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u5bfe\u5fdc<\/span><\/li>\n<li><span class=\"sc_marker-animation\">\u5f37\u3044\u52d5\u304d\u306b\u914d\u616e\u3059\u308b\u3053\u3068\u3067\u3001\u8ab0\u3082\u304c\u5b89\u5fc3\u3057\u3066\u95b2\u89a7\u3067\u304d\u308bWeb\u306b<\/span><\/li>\n<li><span class=\"sc_marker-animation\">\u307e\u305a\u306f\u4e00\u90e8\u30b3\u30f3\u30c6\u30f3\u30c4\u304b\u3089\u5bfe\u5fdc\u3092\u59cb\u3081\u3066\u307f\u3088\u3046<\/span><\/li>\n<\/ol>\n<\/div>\n<p>\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u5bfe\u5fdc\u3068\u3044\u3046\u3068\u3001\u96e3\u3057\u305d\u3046\u306b\u611f\u3058\u308b\u65b9\u3082\u591a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001<strong>\u300c\u3067\u304d\u308b\u3068\u3053\u308d\u304b\u3089\u4e00\u6b69\u305a\u3064\u300d<\/strong>\u304c\u5927\u5207\u3067\u3059\u3002<\/p>\n<p>CSS\u306e\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3092\u6d3b\u7528\u3057\u3066\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u3084\u3055\u3057\u3044Web\u30b5\u30a4\u30c8\u3065\u304f\u308a\u3092\u76ee\u6307\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2 class=\"sc_heading solid red\"><span class=\"sc_title\">satokotadesign\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u5b9f\u65bd\u4e2d\uff01<\/span><\/h2>\n<div class=\"campaign_bnr\" style=\"margin:0 5%;\"><a href=\"https:\/\/hamameshi.jp\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/satokotadesign.com\/img\/bnr-hamameshi.webp\" alt=\"\u6d5c\u677e\u5e02\u306e\u98f2\u98df\u5e97\u9650\u5b9a\uff5c\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u7121\u6599\u4f5c\u6210\u30b5\u30fc\u30d3\u30b9\" style=\"border: 3px solid #00a08c;border-radius: 20px;\"><\/a><\/div>\n<div class=\"campaign_bnr\" style=\"margin:0 5%;\"><a href=\"https:\/\/satokotadesign.com\/contact\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" data-src=\"https:\/\/satokotadesign.com\/img\/bnr-onayami.png\" alt=\"\u3076\u3063\u3061\u3083\u3051\u7121\u6599\u76f8\u8ac7\u4f1a\uff01\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u5236\u4f5c\u306e\u60a9\u307f\u8a71\u3057\u3066\u307f\u307e\u305b\u3093\u304b\uff1f\" style=\"border: 3px solid #f02025;border-radius: 20px;\" class=\"lazyload\" \/><\/a><\/div>\n<div class=\"campaign_bnr\"  style=\"margin:0 5%;\"><a href=\"https:\/\/satokotadesign.com\/contact\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" data-src=\"https:\/\/satokotadesign.com\/img\/bnr-kansyasai.png\" alt=\"satokotadesign4\u5468\u5e74\u8a18\u5ff5\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\" style=\"border: 3px solid #4183fe;border-radius: 20px;\" class=\"lazyload\" \/><\/a><\/div>\n<p><figure id=\"attachment_475\" aria-describedby=\"caption-attachment-475\" style=\"width: 1500px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/satokotadesign.com\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/satokotadesign.com\/blog\/wp-content\/uploads\/2022\/10\/bnr.jpg\" alt=\"\u9759\u5ca1\u770c\u6d5c\u677e\u5e02\u3067\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u5236\u4f5c\u306a\u3089satokotadesign\" width=\"1500\" height=\"500\" class=\"size-full wp-image-475 lazyload\" data-srcset=\"https:\/\/satokotadesign.com\/blog\/wp-content\/uploads\/2022\/10\/bnr.jpg 1500w, https:\/\/satokotadesign.com\/blog\/wp-content\/uploads\/2022\/10\/bnr-500x167.jpg 500w, https:\/\/satokotadesign.com\/blog\/wp-content\/uploads\/2022\/10\/bnr-1024x341.jpg 1024w, https:\/\/satokotadesign.com\/blog\/wp-content\/uploads\/2022\/10\/bnr-768x256.jpg 768w\" data-sizes=\"auto, (max-width: 1500px) 100vw, 1500px\" \/><\/a><figcaption id=\"caption-attachment-475\" class=\"wp-caption-text\"><a href=\"https:\/\/satokotadesign.com\/contact\/\" target=\"_blank\" rel=\"noopener\">\u9759\u5ca1\u770c\u6d5c\u677e\u5e02\u3067\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u5236\u4f5c\u306a\u3089satokotadesign<\/a><\/figcaption><\/figure><\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u9759\u5ca1\u770c\u6d5c\u677e\u5e02\u3067WEB\u30c7\u30b6\u30a4\u30ca\u30fc\u3092\u3057\u3066\u3044\u307e\u3059\u5c0f\u7027\u3067\u3059\u3002 \u8fd1\u5e74\u3001Web\u30b5\u30a4\u30c8\u306b\u304a\u3051\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u6d3b\u7528\u304c\u4e00\u822c\u7684\u306b\u306a\u308a\u3001\u52d5\u304d\u306e\u3042\u308bUI\u304c\u30e6\u30fc\u30b6\u30fc\u4f53\u9a13\u306e\u5411\u4e0a\u306b\u4e00\u5f79\u8cb7\u3063\u3066\u3044\u307e\u3059\u3002 \u3067\u3059\u304c\u3001\u3059\u3079\u3066\u306e\u4eba\u304c\u305d\u306e\u300c\u52d5\u304d\u300d\u3092\u5feb\u9069\u306b\u611f\u3058\u3066\u3044\u308b\u3068\u306f\u9650\u2026<\/p>\n","protected":false},"author":1,"featured_media":1702,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[7],"tags":[9],"class_list":["post-1694","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web","tag-css"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts\/1694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/comments?post=1694"}],"version-history":[{"count":10,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts\/1694\/revisions"}],"predecessor-version":[{"id":1705,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts\/1694\/revisions\/1705"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/media\/1702"}],"wp:attachment":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/media?parent=1694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/categories?post=1694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/tags?post=1694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}