{"id":1872,"date":"2025-08-13T09:50:47","date_gmt":"2025-08-13T00:50:47","guid":{"rendered":"https:\/\/route-zero.com\/recruit\/?post_type=route&#038;p=1872"},"modified":"2026-01-29T09:51:07","modified_gmt":"2026-01-29T00:51:07","slug":"svg%e3%81%a8%e3%81%af%ef%bc%9f%e5%88%9d%e5%bf%83%e8%80%85%e3%82%82%e5%a4%b1%e6%95%97%e3%81%97%e3%81%aa%e3%81%84%ef%bc%81png%e3%81%a8%e3%81%ae%e9%81%95%e3%81%84%e3%81%a8%e5%ae%9f%e8%a3%85%e6%89%8b","status":"publish","type":"route","link":"https:\/\/route-zero.com\/recruit\/route\/1872\/","title":{"rendered":"SVG\u3068\u306f\uff1f\u521d\u5fc3\u8005\u3082\u5931\u6557\u3057\u306a\u3044\uff01PNG\u3068\u306e\u9055\u3044\u3068\u5b9f\u88c5\u624b\u9806\u3092\u56f3\u89e3\u3067\u5fb9\u5e95\u89e3\u8aac"},"content":{"rendered":"<div>\n<h1>SVG\u3068\u306f\uff1f\u56f3\u89e3\u3067\u300c\u307c\u3084\u3051\u308b\u30ed\u30b4\u300d\u554f\u984c\u3092\u89e3\u6c7a\u3002PNG\u3068\u306e\u9055\u3044\u30fbHTML\u5b9f\u88c5\u30fb\u3064\u307e\u305a\u304d\u89e3\u6d88\u307e\u3067<\/h1>\n<p>\n    \u300c\u30ed\u30b4\u304c\u307c\u3084\u3051\u3066\u5148\u8f29\u306b\u6307\u6458\u3055\u308c\u305f\u2026\u300d<br \/>\n    <strong>SVG<\/strong>\u306e\u201c\u5ea7\u6a19\u201d\u3084<strong>CSS\u5236\u5fa1<\/strong>\u3067\u30cf\u30de\u3063\u305f\u7d4c\u9a13\u3001\u3042\u308a\u307e\u305b\u3093\u304b\uff1f<br \/>\n    \u79c1\u305f\u3061Web\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u521d\u3081\u3066SVG\u306b\u89e6\u308c\u308b\u3068\u304d\u3001<strong>viewBox<\/strong>\u3084<strong>fill<\/strong>\u306e\u6271\u3044\u3067\u8ff7\u3046\u306e\u306f\u201c\u3042\u308b\u3042\u308b\u201d\u3067\u3059\u3002<\/p>\n<p>    \u672c\u8a18\u4e8b\u3067\u306f\u3001<strong>\u30e9\u30b9\u30bf\u30fc\u753b\u50cf<\/strong>\u3068<strong>SVG<\/strong>\u306e\u9055\u3044\u304b\u3089\u3001HTML\u5b9f\u88c5\u3001\u3064\u307e\u305a\u304d\u30dd\u30a4\u30f3\u30c8\u306e\u5206\u89e3\u30fb\u30b3\u30fc\u30c9\u4f8b\u307e\u3067\u3001\u4e00\u6c17\u901a\u8cab\u3067\u300c\u8179\u843d\u3061\u300d\u3067\u304d\u308b\u5f62\u3067\u6574\u7406\u3057\u307e\u3059\u3002<br \/>\n    \u300c\u306a\u305c\u307c\u3084\u3051\u308b\uff1f\u300d\u300c\u306a\u305cCSS\u304c\u52b9\u304b\u306a\u3044\uff1f\u300d\u2026\u60a9\u307f\u306e\u6839\u672c\u306b\u3001\u73fe\u5834\u76ee\u7dda\u3067\u4f34\u8d70\u3057\u307e\u3059\u3002\n  <\/p>\n<blockquote>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1aSVG<\/strong><br \/>\n      Scalable Vector Graphics\u306e\u7565\u3002\u6570\u5024\u3084\u5ea7\u6a19\u3067\u5f62\u3092\u8a18\u8ff0\u3059\u308b\u30d9\u30af\u30bf\u30fc\u753b\u50cf\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3002\u62e1\u5927\u30fb\u7e2e\u5c0f\u3057\u3066\u3082\u52a3\u5316\u305b\u305a\u3001Web\u30ed\u30b4\u3084\u30a2\u30a4\u30b3\u30f3\u306b\u6700\u9069\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1a\u30e9\u30b9\u30bf\u30fc\u753b\u50cf<\/strong><br \/>\n      PNG\u3084JPG\u306a\u3069\u3001\u30d4\u30af\u30bb\u30eb\uff08\u70b9\uff09\u306e\u96c6\u307e\u308a\u3067\u69cb\u6210\u3055\u308c\u308b\u753b\u50cf\u3002\u62e1\u5927\u3059\u308b\u3068\u307c\u3084\u3051\u3084\u30ae\u30b6\u30ae\u30b6\u304c\u767a\u751f\u3057\u3084\u3059\u3044\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1a\u30d9\u30af\u30bf\u30fc\u753b\u50cf<\/strong><br \/>\n      \u6570\u5f0f\u3084\u5ea7\u6a19\u3067\u5f62\u3092\u8868\u73fe\u3059\u308b\u753b\u50cf\u5f62\u5f0f\u3002SVG\u3084AI\uff08Illustrator\u5f62\u5f0f\uff09\u306a\u3069\u304c\u8a72\u5f53\u3057\u3001\u62e1\u5927\u30fb\u7e2e\u5c0f\u3057\u3066\u3082\u753b\u8cea\u304c\u52a3\u5316\u3057\u306a\u3044\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1aviewBox<\/strong><br \/>\n      SVG\u5185\u3067\u63cf\u753b\u3059\u308b\u7bc4\u56f2\u3084\u5ea7\u6a19\u7cfb\u3092\u6307\u5b9a\u3059\u308b\u5c5e\u6027\u3002&#8221;viewBox=\\&#8221;0 0 100 100\\&#8221;&#8221;\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u3001\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u3084\u6bd4\u7387\u7dad\u6301\u306b\u91cd\u8981\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1afill<\/strong><br \/>\n      SVG\u8981\u7d20\u306e\u5857\u308a\u3064\u3076\u3057\u8272\u3092\u6307\u5b9a\u3059\u308b\u5c5e\u6027\u3002CSS\u3084\u5c5e\u6027\u3067\u8272\u3092\u5236\u5fa1\u3067\u304d\u308b\u3002\n    <\/p>\n<\/blockquote>\n<hr \/>\n<h2>SVG\u3068\u306f\uff1f\u753b\u50cf\u304c\u307c\u3084\u3051\u306a\u3044\u30d9\u30af\u30bf\u30fc\u306e\u4ed5\u7d44\u307f<\/h2>\n<p>\n    \u300c\u62e1\u5927\u3057\u305f\u3089\u30ae\u30b6\u30ae\u30b6\u300d\u300c\u30b9\u30de\u30db\u3067\u30ed\u30b4\u304c\u307c\u3084\u3051\u308b\u300d\u2015\u2015<br \/>\n    \u305d\u306e\u539f\u56e0\u306f<strong>\u30e9\u30b9\u30bf\u30fc\u753b\u50cf<\/strong>\uff08<strong>PNG<\/strong>\u30fb<strong>JPG<\/strong>\uff09\u306e\u4ed5\u7d44\u307f\u306b\u3042\u308a\u307e\u3059\u3002<br \/>\n    <strong>\u30e9\u30b9\u30bf\u30fc\u753b\u50cf<\/strong>\u306f\u30d4\u30af\u30bb\u30eb\uff08\u70b9\u306e\u96c6\u307e\u308a\uff09\u3067\u3067\u304d\u3066\u3044\u308b\u305f\u3081\u3001\u62e1\u5927\u6642\u306b\u8352\u304f\u898b\u3048\u307e\u3059\u3002<\/p>\n<p>    \u4e00\u65b9\u3001<strong>SVG<\/strong>\u306f<strong>\u30d9\u30af\u30bf\u30fc\u753b\u50cf<\/strong>\u3067\u3059\u3002<br \/>\n    <strong>\u6570\u5024\uff08\u5ea7\u6a19\u3084\u6570\u5f0f\uff09\u3067\u5f62\u3092\u8a18\u8ff0\u3059\u308b\u305f\u3081\u3001\u3069\u308c\u3060\u3051\u62e1\u5927\u30fb\u7e2e\u5c0f\u3057\u3066\u3082\u8f2a\u90ed\u304c\u6ed1\u3089\u304b<\/strong>\u3002<br \/>\n    \u30a4\u30e1\u30fc\u30b8\u306f\u300c\u30c9\u30c3\u30c8\u7d75\u300d\u3068\u300c\u8a2d\u8a08\u56f3\u300d\u306e\u9055\u3044\u2015\u2015<br \/>\n    \u30ed\u30b4\u3084\u30a2\u30a4\u30b3\u30f3\u306a\u3069\u3001\u3042\u3089\u3086\u308b\u30c7\u30d0\u30a4\u30b9\u3067\u30af\u30ea\u30a2\u306b\u898b\u305b\u305f\u3044\u8981\u7d20\u306b\u6700\u9069\u3067\u3059\u3002\n  <\/p>\n<p>\n    \uff08SVG\u3084Web\u753b\u50cf\u5f62\u5f0f\u306e\u4f7f\u3044\u5206\u3051\u306b\u3064\u3044\u3066\u306f\u300e<a href=\"https:\/\/route-zero.com\/recruit\/route\/1789\/\" target=\"_blank\" rel=\"noopener\">\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u5fb9\u5e95\u6bd4\u8f03\uff01React\u30fbVue\u30fbAngular\u9055\u3044\u3068\u9078\u3073\u65b9<\/a\n    >\u300f\u3082\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\uff09\n  <\/p>\n<blockquote>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1aPNG<\/strong><br \/>\n      Portable Network Graphics\u306e\u7565\u3002\u900f\u904e\u3084\u52a3\u5316\u3057\u306a\u3044\u4fdd\u5b58\u304c\u53ef\u80fd\u306a\u30e9\u30b9\u30bf\u30fc\u753b\u50cf\u5f62\u5f0f\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1aJPG<\/strong><br \/>\n      JPEG\u5f62\u5f0f\u3002\u5199\u771f\u3084\u8907\u96d1\u306a\u753b\u50cf\u306e\u5727\u7e2e\u306b\u9069\u3057\u305f\u30e9\u30b9\u30bf\u30fc\u753b\u50cf\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1a\u30d4\u30af\u30bb\u30eb<\/strong><br \/>\n      \u753b\u50cf\u3092\u69cb\u6210\u3059\u308b\u6700\u5c0f\u5358\u4f4d\u306e\u70b9\u3002\u30e9\u30b9\u30bf\u30fc\u753b\u50cf\u306f\u30d4\u30af\u30bb\u30eb\u306e\u96c6\u5408\u4f53\u3002\n    <\/p>\n<\/blockquote>\n<hr \/>\n<h2>\u3010\u6bd4\u8f03\u8868\u3011SVG vs PNG\/JPG \u5b9f\u52d9\u3067\u306e\u4f7f\u3044\u5206\u3051<\/h2>\n<p>\n    \u5168\u3066\u3092<strong>SVG<\/strong>\u306b\u3059\u3079\u304d\u2026\uff1f<br \/>\n    \u5b9f\u306f<strong>\u4f7f\u3044\u5206\u3051<\/strong>\u304c\u809d\u5fc3\u3067\u3059\u3002\n  <\/p>\n<table>\n<thead>\n<tr>\n<th>\u6bd4\u8f03\u9805\u76ee<\/th>\n<th>SVG\uff08\u30d9\u30af\u30bf\u30fc\uff09<\/th>\n<th>PNG\/JPG\uff08\u30e9\u30b9\u30bf\u30fc\uff09<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u62e1\u5927\u30fb\u7e2e\u5c0f<\/td>\n<td>\u52a3\u5316\u3057\u306a\u3044<\/td>\n<td>\u52a3\u5316\u3059\u308b\uff08\u307c\u3084\u3051\u30fb\u30ae\u30b6\u30ae\u30b6\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba<\/td>\n<td>\u5358\u7d14\u56f3\u5f62\u306a\u3089\u8efd\u91cf<\/td>\n<td>\u5199\u771f\u30fb\u8907\u96d1\u306a\u56f3\u306f\u8efd\u91cf\u5316\u3057\u3084\u3059\u3044\uff08JPG\u7b49\uff09<\/td>\n<\/tr>\n<tr>\n<td>CSS\/JS\u3067\u306e\u64cd\u4f5c<\/td>\n<td>\u8272\u30fb\u5f62\u306e\u5909\u66f4\u30fb\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u5bb9\u6613<\/td>\n<td>\u57fa\u672c\u7684\u306b\u4e0d\u53ef<\/td>\n<\/tr>\n<tr>\n<td>\u30c6\u30ad\u30b9\u30c8SEO<\/td>\n<td>\u30a4\u30f3\u30e9\u30a4\u30f3\u306a\u3089\u6709\u52b9<\/td>\n<td>alt\u5c5e\u6027\u306e\u307f<\/td>\n<\/tr>\n<tr>\n<td>\u6700\u9069\u306a\u7528\u9014<\/td>\n<td>\u30ed\u30b4\u30fb\u30a2\u30a4\u30b3\u30f3\u30fb\u5358\u7d14\u56f3\u5f62<\/td>\n<td>\u5199\u771f\u30fb\u8907\u96d1\u30a4\u30e9\u30b9\u30c8\u30fb\u30b0\u30e9\u30c7<\/td>\n<\/tr>\n<tr>\n<td>\u4e0d\u5411\u304d\u306a\u7528\u9014<\/td>\n<td>\u5199\u771f\u30fb\u8907\u96d1\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3<\/td>\n<td>\u30ed\u30b4\u30fb\u30a2\u30a4\u30b3\u30f3<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u5b9f\u52d9\u30d5\u30ed\u30fc<\/strong>\uff1a<\/p>\n<ul>\n<li><strong>\u30ed\u30b4\u30fb\u30a2\u30a4\u30b3\u30f3 \u2192 SVG<\/strong>\uff08\u8272\u5909\u3048\u30fb\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u3082\u7c21\u5358\uff09<\/li>\n<li><strong>\u5199\u771f \u2192 JPG\/WebP<\/strong>\uff08\u5bb9\u91cf\u91cd\u8996\uff09<\/li>\n<li><strong>\u900f\u904e\u30a4\u30e9\u30b9\u30c8 \u2192 PNG<\/strong>\uff08\u80cc\u666f\u900f\u660e\u5316\uff09<\/li>\n<li><strong>CSS\u3067\u8272\u30fb\u5f62\u3092\u5909\u3048\u305f\u3044 \u2192 SVG\u4e00\u629e<\/strong><\/li>\n<\/ul>\n<p>\u7528\u9014\u3054\u3068\u306b\u5224\u65ad\u3059\u308b\u3068\u3001\u8ff7\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>\n    \uff08\u753b\u50cf\u5727\u7e2e\u3084WebP\u306e\u6d3b\u7528\u306b\u3064\u3044\u3066\u306f\u300e<a href=\"https:\/\/route-zero.com\/recruit\/route\/1766\/\" target=\"_blank\" rel=\"noopener\">Web\u30d5\u30a9\u30f3\u30c8\u6700\u9069\u5316\u30c1\u30a7\u30c3\u30af\u30ea\u30b9\u30c8\uff5c\u306a\u305c\u9045\u3044\uff1f\u539f\u56e0\u3068\u30b5\u30d6\u30bb\u30c3\u30c8\u5316\u30fbfont-display\u5b8c\u5168\u89e3\u8aac<\/a\n    >\u300f\u3082\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\uff09\n  <\/p>\n<blockquote>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1aalt\u5c5e\u6027<\/strong><br \/>\n      \u753b\u50cf\u304c\u8868\u793a\u3067\u304d\u306a\u3044\u5834\u5408\u3084SEO\u5bfe\u7b56\u306e\u305f\u3081\u306b\u3001\u753b\u50cf\u306e\u5185\u5bb9\u3092\u8aac\u660e\u3059\u308b\u30c6\u30ad\u30b9\u30c8\u3092\u6307\u5b9a\u3059\u308bHTML\u5c5e\u6027\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1aWebP<\/strong><br \/>\n      Google\u304c\u958b\u767a\u3057\u305f\u753b\u50cf\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3002\u9ad8\u5727\u7e2e\u30fb\u9ad8\u753b\u8cea\u3067\u3001JPG\u3084PNG\u306e\u4ee3\u66ff\u3068\u3057\u3066\u4f7f\u308f\u308c\u308b\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1a\u30b0\u30e9\u30c7<\/strong><br \/>\n      \u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u306e\u7565\u3002\u8272\u304c\u6ed1\u3089\u304b\u306b\u5909\u5316\u3059\u308b\u8868\u73fe\u3002\n    <\/p>\n<\/blockquote>\n<hr \/>\n<h2>\u76ee\u7684\u5225\uff1aHTML\u3067SVG\u3092\u4f7f\u30463\u30d1\u30bf\u30fc\u30f3<\/h2>\n<p>\n    <strong>SVG<\/strong>\u3092Web\u306b\u8868\u793a\u3059\u308b\u65b9\u6cd5\u306f\u4e3b\u306b3\u3064\u2015\u2015<br \/>\n    \u305d\u308c\u305e\u308c\u306e\u7279\u5fb4\u3092\u6574\u7406\u3057\u307e\u3059\u3002\n  <\/p>\n<h3>1. <strong>&lt;img&gt;<\/strong>\u30bf\u30b0\u3067\u8868\u793a<\/h3>\n<pre><code>&lt;img src=\"logo.svg\" alt=\"\u30b5\u30a4\u30c8\u30ed\u30b4\"&gt;<\/code><\/pre>\n<ul>\n<li><strong>\u30e1\u30ea\u30c3\u30c8<\/strong>\uff1a\u624b\u8efd\u30fb\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u52b9\u304f<\/li>\n<li><strong>\u30c7\u30e1\u30ea\u30c3\u30c8<\/strong>\uff1a\u5185\u90e8\u306e\u8272\u3084\u5f62\u3092<strong>CSS\/JS\u3067\u5909\u66f4\u4e0d\u53ef<\/strong><\/li>\n<\/ul>\n<h3>2. \u30a4\u30f3\u30e9\u30a4\u30f3SVG<\/h3>\n<pre><code>&lt;svg viewBox=\"0 0 100 100\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"&gt;\r\n  &lt;circle cx=\"50\" cy=\"50\" r=\"50\" fill=\"blue\"\/&gt;\r\n&lt;\/svg&gt;<\/code><\/pre>\n<ul>\n<li><strong>\u30e1\u30ea\u30c3\u30c8<\/strong>\uff1a<strong>CSS\/JS\u3067\u64cd\u4f5c\u81ea\u7531<\/strong>\u30fb\u9ad8\u901f\u8868\u793a<\/li>\n<li><strong>\u30c7\u30e1\u30ea\u30c3\u30c8<\/strong>\uff1aHTML\u304c\u9577\u304f\u30fb\u30ad\u30e3\u30c3\u30b7\u30e5\u4e0d\u53ef<\/li>\n<\/ul>\n<blockquote>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1a\u30a4\u30f3\u30e9\u30a4\u30f3SVG<\/strong><br \/>\n      HTML\u5185\u306b\u76f4\u63a5SVG\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3059\u308b\u65b9\u6cd5\u3002CSS\u3084JS\u3067\u7d30\u304b\u304f\u5236\u5fa1\u3067\u304d\u308b\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1a\u30ad\u30e3\u30c3\u30b7\u30e5<\/strong><br \/>\n      \u4e00\u5ea6\u8aad\u307f\u8fbc\u3093\u3060\u30c7\u30fc\u30bf\u3092\u4e00\u6642\u4fdd\u5b58\u3057\u3001\u518d\u8868\u793a\u6642\u306e\u9ad8\u901f\u5316\u3084\u901a\u4fe1\u91cf\u524a\u6e1b\u3092\u56f3\u308b\u4ed5\u7d44\u307f\u3002\n    <\/p>\n<\/blockquote>\n<h3>3. <strong>&lt;object&gt;<\/strong>\u30bf\u30b0\u3067\u8aad\u307f\u8fbc\u307f<\/h3>\n<pre><code>&lt;object data=\"icon.svg\" type=\"image\/svg+xml\"&gt;&lt;\/object&gt;<\/code><\/pre>\n<ul>\n<li><strong>\u30e1\u30ea\u30c3\u30c8<\/strong>\uff1a\u90e8\u5206\u7684\u306a\u64cd\u4f5c\u304c\u53ef\u80fd\u30fb\u30ad\u30e3\u30c3\u30b7\u30e5\u6709\u52b9<\/li>\n<li><strong>\u30c7\u30e1\u30ea\u30c3\u30c8<\/strong>\uff1a\u5b9f\u88c5\u3084\u3084\u7169\u96d1\u3001\u5229\u7528\u4f8b\u306f\u5c11\u306a\u3081<\/li>\n<\/ul>\n<p>\n    <strong>\u7d50\u8ad6<\/strong>\uff1a<br \/>\n    \u30fb\u8272\u3084\u52d5\u304d\u3092\u5909\u3048\u308b\u5834\u5408\uff1d<strong>\u30a4\u30f3\u30e9\u30a4\u30f3SVG<\/strong><br \/>\n    \u30fb\u753b\u50cf\u3068\u3057\u3066\u9759\u7684\u306b\u898b\u305b\u308b\u5834\u5408\uff1d<strong>&lt;img&gt;\u30bf\u30b0<\/strong>\n  <\/p>\n<hr \/>\n<h2>\u3010\u6700\u91cd\u8981\u3011viewBox\u3067\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5d29\u308c\u3092\u9632\u3050<\/h2>\n<p>\n    <strong>viewBox<\/strong>\u3067\u3064\u307e\u305a\u3044\u305f\u2015\u2015<br \/>\n    \u305d\u3093\u306a\u7d4c\u9a13\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f\n  <\/p>\n<h3>width\/height\u3068viewBox\u306e\u95a2\u4fc2<\/h3>\n<ul>\n<li><strong>viewBox<\/strong>\u306f\u300cSVG\u753b\u50cf\u5185\u306e\u5207\u308a\u51fa\u3057\u7bc4\u56f2\u300d<br \/><strong>\u66f8\u5f0f\uff1aviewBox=&#8221;min-x min-y width height&#8221;<\/strong><\/li>\n<li><strong>width\/height<\/strong>\u306f\u300cHTML\u4e0a\u306e\u8868\u793a\u30b5\u30a4\u30ba\uff08\u984d\u7e01\uff09\u300d<\/li>\n<\/ul>\n<p>\n    \u4f8b\uff1a<strong>viewBox=&#8221;0 0 100 100&#8243;<\/strong><br \/>\n    \u2192\u5ea7\u6a19(0,0)\u304b\u3089\u5e45100,\u9ad8\u3055100\u3092\u5207\u308a\u51fa\u3059\n  <\/p>\n<p>\n    <strong>viewBox\u306e\u30a2\u30b9\u30da\u30af\u30c8\u6bd4<\/strong>\u3068<strong>width\/height<\/strong>\u304c\u30ba\u30ec\u308b\u3068\u3001<br \/>\n    \u610f\u56f3\u3057\u306a\u3044\u8868\u793a\u5d29\u308c\u304c\u767a\u751f\u3057\u307e\u3059\u3002\n  <\/p>\n<blockquote>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1a\u30a2\u30b9\u30da\u30af\u30c8\u6bd4<\/strong><br \/>\n      \u753b\u50cf\u3084\u753b\u9762\u306e\u7e26\u6a2a\u6bd4\u3002SVG\u306eviewBox\u3068width\/height\u306e\u6bd4\u7387\u304c\u7570\u306a\u308b\u3068\u8868\u793a\u304c\u5d29\u308c\u308b\u3002\n    <\/p>\n<\/blockquote>\n<h3>preserveAspectRatio\u3067\u6bd4\u7387\u3092\u5236\u5fa1<\/h3>\n<ul>\n<li><strong>preserveAspectRatio=&#8221;xMidYMid meet&#8221;<\/strong>\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\uff09<br \/>SVG\u3092\u4e2d\u592e\u914d\u7f6e\uff06\u30a2\u30b9\u30da\u30af\u30c8\u6bd4\u7dad\u6301<\/li>\n<li><strong>slice<\/strong>\u3092\u6307\u5b9a\u3059\u308b\u3068\u300c\u984d\u7e01\u300d\u5168\u4f53\u3092\u8986\u3046\uff08\u4f59\u767d\u306a\u3057\u3001\u306f\u307f\u51fa\u3057\u5207\u308a\u843d\u3068\u3057\uff09<\/li>\n<\/ul>\n<p>\u8a2d\u5b9a\u306e\u610f\u56f3\u3092\u7406\u89e3\u3059\u308c\u3070\u3001<strong>\u3069\u3093\u306a\u30c7\u30d0\u30a4\u30b9\u3067\u3082\u7dba\u9e97\u306b\u898b\u305b\u3089\u308c\u307e\u3059<\/strong>\u3002<\/p>\n<blockquote>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1apreserveAspectRatio<\/strong><br \/>\n      SVG\u306e\u8868\u793a\u6642\u306b\u30a2\u30b9\u30da\u30af\u30c8\u6bd4\u3084\u914d\u7f6e\u65b9\u6cd5\u3092\u5236\u5fa1\u3059\u308b\u5c5e\u6027\u3002&#8221;meet&#8221;\u306f\u4f59\u767d\u3042\u308a\u3001&#8221;slice&#8221;\u306f\u4f59\u767d\u306a\u3057\u3067\u5168\u4f53\u3092\u8986\u3046\u3002\n    <\/p>\n<\/blockquote>\n<hr \/>\n<h2>CSS\u3067SVG\u306e\u8272\u30fb\u5f62\u3092\u81ea\u5728\u306b\u5909\u3048\u308b\u65b9\u6cd5<\/h2>\n<p>\n    <strong>\u300cCSS\u304c\u52b9\u304b\u306a\u3044\uff01\u300d<\/strong><br \/>\n    3\u3064\u306e\u4e3b\u306a\u539f\u56e0\u3092\u6574\u7406\u3057\u307e\u3059\u3002\n  <\/p>\n<h3>1. <strong>&lt;img&gt;<\/strong>\u3067\u8aad\u307f\u8fbc\u3080\u3068\u64cd\u4f5c\u4e0d\u53ef<\/h3>\n<ul>\n<li><strong>&lt;img&gt;<\/strong>\u30bf\u30b0\u7d4c\u7531\u306eSVG\u306f\u3001\u5916\u90e8\u753b\u50cf\u6271\u3044\u3067<strong>\u5185\u90e8\u306bCSS\u304c\u5c4a\u304b\u306a\u3044<\/strong><\/li>\n<li>\u8272\u3092\u5909\u3048\u305f\u3044\u5834\u5408\u306f\u5fc5\u305a<strong>\u30a4\u30f3\u30e9\u30a4\u30f3SVG<\/strong>\u3092\u4f7f\u3046<\/li>\n<\/ul>\n<h3>2. SVG\u5185\u306e\u5c5e\u6027\u6307\u5b9a\u304c\u512a\u5148<\/h3>\n<ul>\n<li><strong>&lt;path fill=&#8221;#000000&#8243; &#8230; &gt;<\/strong>\u306a\u3069\u3001SVG\u5074\u306b\u76f4\u63a5\u5c5e\u6027\u304c\u3042\u308b\u3068CSS\u3088\u308a<strong>\u512a\u5148<\/strong><\/li>\n<li><strong>\u89e3\u6c7a\u7b56<\/strong>\uff1a\u5c5e\u6027\u3092\u524a\u9664 or <strong>fill: blue !important;<\/strong>\u3067\u4e0a\u66f8\u304d<\/li>\n<\/ul>\n<h3>3. CSS\u30bb\u30ec\u30af\u30bf\u306e\u8a18\u8ff0\u30df\u30b9<\/h3>\n<ul>\n<li>\u30af\u30e9\u30b9\u3084ID\u306e\u6307\u5b9a\u5fd8\u308c\u30fb\u8aa4\u308a\u3067\u300c\u52b9\u304b\u306a\u3044\u300d\u3053\u3068\u304c\u591a\u3044<\/li>\n<li>HTML\u540c\u69d8\u3001<strong>svg .my-circle { &#8230; }<\/strong>\u306a\u3069\u6b63\u78ba\u306b\u6307\u5b9a<\/li>\n<\/ul>\n<h4>\u57fa\u672c\u306e\u8a18\u8ff0\u4f8b<\/h4>\n<pre><code>svg .my-circle { fill: red; transition: fill 0.3s; }\r\nsvg:hover .my-circle { fill: blue; }\r\n<\/code><\/pre>\n<p>\n    \uff08CSS\u306e\u8a73\u7d30\u306a\u4f7f\u3044\u5206\u3051\u3084\u547d\u540d\u898f\u5247\u306b\u3064\u3044\u3066\u306f\u300e<a href=\"https:\/\/route-zero.com\/recruit\/route\/1642\/\" target=\"_blank\" rel=\"noopener\">CSS\u8a2d\u8a08\u3067\u4fdd\u5b88\u6027\u3068\u62e1\u5f35\u6027\u3092\u9ad8\u3081\u308b\u65b9\u6cd5\uff5cBEM\u30fbOOCSS\u30fbSMACSS\u5fb9\u5e95\u6bd4\u8f03<\/a\n    >\u300f\u3084\u300e<a href=\"https:\/\/route-zero.com\/recruit\/route\/1777\/\" target=\"_blank\" rel=\"noopener\">CSS Grid\u3068Flexbox\u5fb9\u5e95\u6bd4\u8f03\uff01\u9055\u3044\u30fb\u4f7f\u3044\u5206\u3051\u30fb\u9078\u3073\u65b9\u5b8c\u5168\u30ac\u30a4\u30c9\u30102025\u5e74\u7248\u3011<\/a>\u300f\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\uff09\n  <\/p>\n<blockquote>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1aCSS\u30bb\u30ec\u30af\u30bf<\/strong><br \/>\n      HTML\u3084SVG\u5185\u306e\u7279\u5b9a\u8981\u7d20\u3092\u9078\u629e\u3057\u3001\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528\u3059\u308b\u305f\u3081\u306e\u6307\u5b9a\u65b9\u6cd5\u3002\n    <\/p>\n<\/blockquote>\n<hr \/>\n<h2>React\/Vue\u3067SVG\u30a2\u30a4\u30b3\u30f3\u3092\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5316<\/h2>\n<p><strong>React<\/strong>\u306a\u3089\u4e0b\u8a18\u306e\u3088\u3046\u306b<strong>\u518d\u5229\u7528\u53ef\u80fd\u306aSVG\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<\/strong>\u306b\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code>\/\/ Icon.js\r\nconst Icon = ({ culor = 'black', size = 24 }) =&gt; (\r\n  &lt;svg\r\n    xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\r\n    width={size}\r\n    height={size}\r\n    viewBox=\"0 0 24 24\"\r\n    fill=\"none\"\r\n    stroke={culor}\r\n    strokeWidth=\"2\"\r\n    strokeLinecap=\"round\"\r\n    strokeLinejoin=\"round\"\r\n  &gt;\r\n    &lt;circle cx=\"12\" cy=\"12\" r=\"10\" \/&gt;\r\n    &lt;line x1=\"12\" y1=\"8\" x2=\"12\" y2=\"16\" \/&gt;\r\n    &lt;line x1=\"8\" y1=\"12\" x2=\"16\" y2=\"12\" \/&gt;\r\n  &lt;\/svg&gt;\r\n);\r\nexport default Icon;\r\n\/\/ App.js\r\nimport Icon from '.\/Icon';\r\nconst App = () =&gt; (\r\n  &lt;div&gt;\r\n    &lt;p&gt;\u30c7\u30d5\u30a9\u30eb\u30c8\u30ab\u30e9\u30fc\u306e\u30a2\u30a4\u30b3\u30f3&lt;\/p&gt;\r\n    &lt;Icon \/&gt;\r\n    &lt;p&gt;\u8272\u3068\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3057\u305f\u30a2\u30a4\u30b3\u30f3&lt;\/p&gt;\r\n    &lt;Icon culor=\"red\" size={48} \/&gt;\r\n  &lt;\/div&gt;\r\n);\r\n<\/code><\/pre>\n<p>\n    <strong>props\u3067\u8272\u3084\u30b5\u30a4\u30ba\u304c\u81ea\u7531\u81ea\u5728<\/strong>\u3002<br \/>\n    \u5927\u91cf\u306e\u30a2\u30a4\u30b3\u30f3\u3082\u52b9\u7387\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002\n  <\/p>\n<p>\n    \uff08React\u3084Vue\u306e\u5b9f\u8df5\u7684\u306a\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u306f\u300e<a href=\"https:\/\/route-zero.com\/recruit\/route\/1789\/\" target=\"_blank\" rel=\"noopener\">\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u5fb9\u5e95\u6bd4\u8f03\uff01React\u30fbVue\u30fbAngular\u9055\u3044\u3068\u9078\u3073\u65b9<\/a\n    >\u300f\u3084\u300e<a href=\"https:\/\/route-zero.com\/recruit\/route\/1502\/\" target=\"_blank\" rel=\"noopener\">Vue.js\u30fbReact\u6848\u4ef6\u306e\u53c2\u753b\u6e96\u50997\u9078\uff5cSES\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u3064\u307e\u305a\u304b\u306a\u3044\u305f\u3081\u306e\u77e5\u8b58<\/a>\u300f\u3082\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\uff09\n  <\/p>\n<blockquote>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1aprops<\/strong><br \/>\n      React\u3084Vue\u306a\u3069\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u5024\u3092\u6e21\u3059\u4ed5\u7d44\u307f\u3002\u8272\u3084\u30b5\u30a4\u30ba\u306a\u3069\u3092\u67d4\u8edf\u306b\u6307\u5b9a\u3067\u304d\u308b\u3002\n    <\/p>\n<\/blockquote>\n<hr \/>\n<h2>FAQ<\/h2>\n<ul>\n<li>\n      <strong>Q. SVG\u306fSEO\u306b\u6709\u52b9\uff1f<\/strong><br \/>\n      A. \u30a4\u30f3\u30e9\u30a4\u30f3SVG\u306a\u3089<strong>&lt;text&gt;<\/strong>\u3084<strong>&lt;title&gt;<\/strong>\u8981\u7d20\u304c<strong>Google\u306b\u8a8d\u8b58\u3055\u308c\u308b<\/strong>\u306e\u3067\u3001SEO\u52b9\u679c\u304c\u671f\u5f85\u3067\u304d\u307e\u3059\u3002\n    <\/li>\n<li>\n      <strong>Q. \u30a2\u30a4\u30b3\u30f3\u30d5\u30a9\u30f3\u30c8\u3068\u306e\u9055\u3044\u306f\uff1f<\/strong><br \/>\n      A. <strong>SVG<\/strong>\u306f\u8907\u6570\u8272\u30fb\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u30fb\u30bb\u30de\u30f3\u30c6\u30a3\u30c3\u30af\u5bfe\u5fdc\u306a\u3069\u3001<strong>\u73fe\u4ee3\u7684\u306a\u8981\u4ef6\u306b\u6700\u9069<\/strong>\u3002<br \/>\n      \u30a2\u30a4\u30b3\u30f3\u30d5\u30a9\u30f3\u30c8\u3088\u308a\u304a\u3059\u3059\u3081\u3067\u3059\u3002\n    <\/li>\n<li>\n      <strong>Q. Illustrator\u3084Figma\u306f\u5fc5\u9808\uff1f<\/strong><br \/>\n      A. \u3044\u3044\u3048\u3002<strong>&lt;circle&gt;<\/strong>\u3084<strong>&lt;rect&gt;<\/strong>\u3092\u624b\u66f8\u304d\u3067\u4f5c\u308b\u3053\u3068\u3082\u53ef\u80fd\u3002<br \/>\n      \u30aa\u30f3\u30e9\u30a4\u30f3\u306e\u7121\u6599\u30c4\u30fc\u30eb\u3082\u5145\u5b9f\u3002\n    <\/li>\n<li>\n      <strong>Q. \u8907\u96d1\u306a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3082\u3067\u304d\u308b\uff1f<\/strong><br \/>\n      A. <strong>CSS<\/strong>\u3084<strong>JS\u30e9\u30a4\u30d6\u30e9\u30ea\uff08GSAP\u7b49\uff09<\/strong>\u3067\u9ad8\u5ea6\u306a\u30a2\u30cb\u30e1\u3082\u5bfe\u5fdc\u53ef\u80fd\u3067\u3059\u3002\n    <\/li>\n<li>\n      <strong>Q. <strong>&lt;img&gt;<\/strong>\u7d4c\u7531\u3067\u8272\u3092\u5909\u3048\u305f\u3044\u6642\u306f\uff1f<\/strong><br \/>\n      A. <strong>filter: hue-rotate(&#8230;)<\/strong>\u7b49\u3067\u306e\u8272\u5909\u3048\u306f\u53ef\u80fd\u3067\u3059\u304c\u3001<strong>\u5236\u7d04\u304c\u591a\u304f\u304a\u3059\u3059\u3081\u3067\u304d\u307e\u305b\u3093<\/strong>\u3002<br \/>\n      <strong>\u30a4\u30f3\u30e9\u30a4\u30f3SVG\u3092\u63a8\u5968<\/strong>\u3057\u307e\u3059\u3002\n    <\/li>\n<\/ul>\n<hr \/>\n<h2>\u307e\u3068\u3081<\/h2>\n<ul>\n<li><strong>SVG\u306f\u62e1\u5927\u3057\u3066\u3082\u307c\u3084\u3051\u306a\u3044\u30d9\u30af\u30bf\u30fc\u753b\u50cf<\/strong><\/li>\n<li><strong>\u30ed\u30b4\u30fb\u30a2\u30a4\u30b3\u30f3\u306b\u306fSVG\u3001\u5199\u771f\u306b\u306fJPG\/PNG<\/strong><\/li>\n<li><strong>\u52d5\u7684\u64cd\u4f5c\u306f\u30a4\u30f3\u30e9\u30a4\u30f3SVG\u3001\u9759\u7684\u8868\u793a\u306f&lt;img&gt;\u30bf\u30b0<\/strong><\/li>\n<li><strong>viewBox\u30fbpreserveAspectRatio\u3067\u5d29\u308c\u9632\u6b62<\/strong><\/li>\n<li><strong>CSS\u304c\u52b9\u304b\u306a\u3044\u4e3b\u56e0\u306f&lt;img&gt;\u3084SVG\u5185\u5c5e\u6027<\/strong><\/li>\n<\/ul>\n<p>\n    \u300c\u30b9\u30de\u30db\u3067\u30ed\u30b4\u304c\u307c\u3084\u3051\u308b\u300d\u554f\u984c\u306f\u3001<strong>\u5ea7\u6a19\u30fb\u6bd4\u7387\u306e\u7406\u89e3<\/strong>\u3067\u5fc5\u305a\u89e3\u6c7a\u3057\u307e\u3059\u3002<br \/>\n    \u305c\u3072\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30da\u3057\u3066\u3001\u307e\u305a\u306f\u52d5\u304b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\n  <\/p>\n<hr \/>\n<\/div>\n","protected":false},"featured_media":1873,"template":"","_links":{"self":[{"href":"https:\/\/route-zero.com\/recruit\/wp-json\/wp\/v2\/route\/1872"}],"collection":[{"href":"https:\/\/route-zero.com\/recruit\/wp-json\/wp\/v2\/route"}],"about":[{"href":"https:\/\/route-zero.com\/recruit\/wp-json\/wp\/v2\/types\/route"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/route-zero.com\/recruit\/wp-json\/wp\/v2\/media\/1873"}],"wp:attachment":[{"href":"https:\/\/route-zero.com\/recruit\/wp-json\/wp\/v2\/media?parent=1872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}