{"id":1880,"date":"2025-08-04T16:00:11","date_gmt":"2025-08-04T07:00:11","guid":{"rendered":"https:\/\/route-zero.com\/recruit\/?post_type=route&#038;p=1880"},"modified":"2026-02-04T16:00:29","modified_gmt":"2026-02-04T07:00:29","slug":"css%e5%8d%98%e4%bd%8d%e4%bd%bf%e3%81%84%e5%88%86%e3%81%91%e3%83%81%e3%83%bc%e3%83%88%e3%82%b7%e3%83%bc%e3%83%88%ef%bd%9crem-px-vw%e3%81%a7%e8%bf%b7%e3%82%8f%e3%81%aa%e3%81%84%e6%b1%ba%e5%ae%9a","status":"publish","type":"route","link":"https:\/\/route-zero.com\/recruit\/route\/1880\/","title":{"rendered":"CSS\u5358\u4f4d\u4f7f\u3044\u5206\u3051\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8\uff5crem, px, vw\u3067\u8ff7\u308f\u306a\u3044\u6c7a\u5b9a\u7248"},"content":{"rendered":"<div>\n<h1>CSS\u5358\u4f4d\u306e\u4f7f\u3044\u5206\u3051\u3001\u3082\u3046\u8ff7\u308f\u306a\u3044\uff01rem, px, vw\u5b8c\u5168\u30ac\u30a4\u30c9<\/h1>\n<p>\n    \u300c\u30b9\u30de\u30db\u3067\u78ba\u8a8d\u3057\u305f\u3089\u3001PC\u3067\u7dba\u9e97\u3060\u3063\u305f\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u5d29\u308c\u3066\u308b\u2026\u300d<br \/>\n    \u79c1\u305f\u3061\u958b\u767a\u8005\u306a\u3089\u3001CSS\u306e<strong>px<\/strong>\u6307\u5b9a\u304c\u539f\u56e0\u3067\u305d\u3093\u306a\u5931\u6557\u3092\u7d4c\u9a13\u3057\u305f\u3053\u3068\u304c\u3001\u4e00\u5ea6\u306f\u3042\u308b\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002\n  <\/p>\n<p>\n    \u5148\u8f29\u304b\u3089\u300c\u3068\u308a\u3042\u3048\u305a<strong>rem<\/strong>\u3092\u4f7f\u3063\u3066\u304a\u3051\u3070\u5927\u4e08\u592b\u300d\u3068\u30a2\u30c9\u30d0\u30a4\u30b9\u3055\u308c\u305f\u3082\u306e\u306e\u3001\u300c\u306a\u305c<strong>px<\/strong>\u3067\u306f\u30c0\u30e1\u306a\u3093\u3060\u308d\u3046\uff1f\u300d\u300c<strong>rem<\/strong>\u3068<strong>em<\/strong>\u3001<strong>vw<\/strong>\u3063\u3066\u3001\u7d50\u5c40\u3069\u3046\u4f7f\u3044\u5206\u3051\u308c\u3070\u3044\u3044\u306e\uff1f\u300d\u3068\u3001\u81ea\u4fe1\u3092\u6301\u3063\u3066\u7b54\u3048\u3089\u308c\u306a\u3044\u3002\n  <\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u305d\u3093\u306a\u30e2\u30e4\u30e2\u30e4\u3092\u4e00\u7dd2\u306b\u89e3\u6d88\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u307f\u7d42\u3048\u308b\u9803\u306b\u306f\u3001<\/p>\n<ul>\n<li>\u306a\u305c\u5358\u4f4d\u306e\u4f7f\u3044\u5206\u3051\u304c\u91cd\u8981\u306a\u306e\u304b\u304c\u8ad6\u7406\u7684\u306b\u308f\u304b\u308b<\/li>\n<li>\u5b9f\u52d9\u3067\u3069\u306e\u5358\u4f4d\u3092\u9078\u3076\u3079\u304d\u304b\u81ea\u4fe1\u3092\u6301\u3063\u3066\u5224\u65ad\u3067\u304d\u308b<\/li>\n<li>\u3059\u3050\u306b\u4f7f\u3048\u308b\u300cCSS\u5358\u4f4d\u4f7f\u3044\u5206\u3051\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8\u300d\u304c\u624b\u306b\u5165\u308b<\/li>\n<\/ul>\n<p>\u3082\u3046\u5358\u4f4d\u306e\u6307\u5b9a\u3067\u8ff7\u3046\u306e\u306f\u7d42\u308f\u308a\u306b\u3057\u307e\u3057\u3087\u3046\u3002\u57fa\u672c\u304b\u3089\u6700\u65b0\u306e<strong>clamp()<\/strong>\u95a2\u6570\u307e\u3067\u3001\u3042\u306a\u305f\u306e\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u6b21\u306e\u30ec\u30d9\u30eb\u3078\u5f15\u304d\u4e0a\u3052\u308b\u77e5\u8b58\u3092\u3001\u9806\u3092\u8ffd\u3063\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<hr \/>\n<h2>\u307e\u305a\u306f\u7d50\u8ad6\uff01CSS\u5358\u4f4d\u4f7f\u3044\u5206\u3051\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8<\/h2>\n<p>\n    \u5fd9\u3057\u3044\u3042\u306a\u305f\u306e\u305f\u3081\u306b\u3001\u307e\u305a\u7d50\u8ad6\u304b\u3089\u3002<br \/>\n    \u3053\u306e\u300c\u4f7f\u3044\u5206\u3051\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8\u300d\u3092\u30d6\u30c3\u30af\u30de\u30fc\u30af\u3057\u3066\u3001\u65e5\u3005\u306e\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306b\u5f79\u7acb\u3066\u3066\u304f\u3060\u3055\u3044\u3002\u306a\u305c\u3053\u306e\u4f7f\u3044\u5206\u3051\u306b\u306a\u308b\u306e\u304b\u3001\u3068\u3044\u3046\u7406\u7531\u306f\u5f8c\u307b\u3069\u3058\u3063\u304f\u308a\u89e3\u8aac\u3057\u307e\u3059\u3002\n  <\/p>\n<h3>\u7528\u9014\u5225\u30fb\u63a8\u5968\u5358\u4f4d\u3068\u4f7f\u3044\u65b9\u306e\u30dd\u30a4\u30f3\u30c8<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u7528\u9014<\/th>\n<th>\u63a8\u5968\u5358\u4f4d<\/th>\n<th>\u30dd\u30a4\u30f3\u30c8<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>\u6587\u5b57\u30b5\u30a4\u30ba<\/strong> (<strong>font-size<\/strong>)<\/td>\n<td><strong>rem<\/strong><\/td>\n<td>\u30b5\u30a4\u30c8\u5168\u4f53\u306e\u57fa\u6e96\u3068\u306a\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u8a2d\u5b9a\u306b\u3082\u8ffd\u5f93\u3067\u304d\u308b\u57fa\u672c\u5358\u4f4d\u3002<\/td>\n<\/tr>\n<tr>\n<td><strong>\u4f59\u767d<\/strong> (<strong>margin<\/strong>, <strong>padding<\/strong>)<\/td>\n<td><strong>rem<\/strong><\/td>\n<td>\u6587\u5b57\u30b5\u30a4\u30ba\u3068\u9023\u52d5\u3055\u305b\u308b\u3053\u3068\u3067\u3001\u4e00\u8cab\u6027\u306e\u3042\u308b\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4fdd\u3066\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><strong>\u67a0\u7dda<\/strong> (<strong>border<\/strong>)<\/td>\n<td><strong>px<\/strong><\/td>\n<td>\u30c7\u30b6\u30a4\u30f3\u4e0a\u3001\u592a\u3055\u3092\u7d76\u5bfe\u306b\u56fa\u5b9a\u3057\u305f\u3044\u5834\u5408\u306b\u6700\u9069\u30021px\u306e\u7dda\u306a\u3069\u3002<\/td>\n<\/tr>\n<tr>\n<td><strong>\u30ec\u30a4\u30a2\u30a6\u30c8\u5e45<\/strong> (<strong>width<\/strong>, <strong>height<\/strong>)<\/td>\n<td><strong>%<\/strong>, <strong>rem<\/strong><\/td>\n<td>\u89aa\u8981\u7d20\u57fa\u6e96\u306a\u3089<strong>%<\/strong>\u3001\u30b5\u30a4\u30c8\u57fa\u6e96\u306a\u3089<strong>rem<\/strong>\u3002<strong>calc()<\/strong>\u3067\u306e\u4f75\u7528\u3082\u6709\u52b9\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><strong>\u753b\u9762\u3044\u3063\u3071\u3044\u306e\u8981\u7d20<\/strong><\/td>\n<td><strong>vw<\/strong>, <strong>vh<\/strong>, <strong>svh<\/strong><\/td>\n<td>\u30d2\u30fc\u30ed\u30fc\u30d8\u30c3\u30c0\u30fc\u306a\u3069\u3002\u30b9\u30de\u30db\u306eUI\u8003\u616e\u306a\u3089<strong>svh<\/strong>\u304c\u65b0\u5b9a\u756a\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><strong>\u6d41\u52d5\u7684\u306a\u6587\u5b57\u30fb\u4f59\u767d<\/strong><\/td>\n<td><strong>clamp()<\/strong><\/td>\n<td>\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u3067\u300c\u3044\u3044\u611f\u3058\u300d\u306b\u53ef\u5909\u3055\u305b\u305f\u3044\u9ad8\u5ea6\u306a\u8868\u73fe\u306b\u3002<\/td>\n<\/tr>\n<tr>\n<td><strong>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5185\u306e\u62e1\u7e2e<\/strong><\/td>\n<td><strong>em<\/strong><\/td>\n<td>\u30dc\u30bf\u30f3\u5185\u306e\u30a2\u30a4\u30b3\u30f3\u306a\u3069\u3001\u89aa\u8981\u7d20\u306e\u6587\u5b57\u30b5\u30a4\u30ba\u306b\u8ffd\u5f93\u3055\u305b\u305f\u3044\u6642\u306b\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u3053\u306e\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8\u306e\u4f7f\u3044\u65b9<\/h3>\n<p>\u3053\u306e\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8\u306f\u3001\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3067\u8ff7\u3063\u305f\u3068\u304d\u306b\u3044\u3064\u3067\u3082\u53c2\u7167\u3067\u304d\u308b\u300c\u65e9\u898b\u8868\u300d\u3068\u3057\u3066\u4f5c\u308a\u307e\u3057\u305f\u3002<\/p>\n<ol>\n<li><strong>\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3067\u8ff7\u3063\u305f\u3089\u3001\u307e\u305a\u3053\u306e\u8868\u3092\u898b\u308b\u3002<\/strong><\/li>\n<li><strong>\u63a8\u5968\u5358\u4f4d\u3092\u4f7f\u3063\u3066\u5b9f\u88c5\u3057\u3066\u307f\u308b\u3002<\/strong><\/li>\n<li>\n      <strong>\u300c\u306a\u305c\u305d\u306e\u5358\u4f4d\u306a\u306e\u304b\uff1f\u300d\u3068\u7591\u554f\u306b\u601d\u3063\u305f\u3089\u3001\u3053\u306e\u8a18\u4e8b\u306e\u7d9a\u304d\u3092\u8aad\u3093\u3067\u7406\u89e3\u3092\u6df1\u3081\u308b\u3002<\/strong>\n    <\/li>\n<\/ol>\n<p>\u3053\u306e\u30b5\u30a4\u30af\u30eb\u3092\u7e70\u308a\u8fd4\u3059\u3053\u3068\u3067\u3001\u81ea\u7136\u3068\u6700\u9069\u306a\u5358\u4f4d\u9078\u3073\u304c\u8eab\u306b\u3064\u3044\u3066\u3044\u304d\u307e\u3059\u3002\u305c\u3072\u3053\u306e\u30da\u30fc\u30b8\u3092\u30d6\u30c3\u30af\u30de\u30fc\u30af\u3057\u3066\u3001\u3042\u306a\u305f\u306e\u300c\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u304a\u5b88\u308a\u300d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<hr \/>\n<h2>\u306a\u305c<strong>px<\/strong>\u3060\u3051\u3067\u306f\u30c0\u30e1\u306a\u306e\u304b\uff1f\u5358\u4f4d\u304c\u91cd\u8981\u306a3\u3064\u306e\u7406\u7531<\/h2>\n<p>\n    \u300c\u306a\u305c<code>px<\/code>\u3060\u3051\u3060\u3068\u30c0\u30e1\u306a\u3093\u3060\u308d\u3046\uff1f\u300d<br \/>\n    \u305d\u306e\u7591\u554f\u3001\u3068\u3066\u3082\u5927\u5207\u3067\u3059\u3002\u7b54\u3048\u306f\u3001\u73fe\u4ee3\u306eWeb\u5236\u4f5c\u3067\u6c42\u3081\u3089\u308c\u308b3\u3064\u306e\u91cd\u8981\u306a\u8981\u7d20\u306b\u95a2\u4fc2\u3057\u3066\u3044\u307e\u3059\u3002\n  <\/p>\n<h3>1. \u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u306e\u5411\u4e0a<\/h3>\n<p>\n    <strong>px<\/strong>\u306f\u300c\u7d76\u5bfe\u5358\u4f4d\u300d\u3068\u547c\u3070\u308c\u3001\u753b\u9762\u4e0a\u306b\u30c9\u30c3\u30c8\u3092\u56fa\u5b9a\u7684\u306b\u914d\u7f6e\u3057\u307e\u3059\u3002<br \/>\n    \u3053\u308c\u306f\u4e00\u898b\u4fbf\u5229\u3067\u3059\u304c\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u30d6\u30e9\u30a6\u30b6\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u6587\u5b57\u30b5\u30a4\u30ba\u3092\u5909\u66f4\u3057\u3066\u3082\u3001<strong>px<\/strong>\u3067\u6307\u5b9a\u3055\u308c\u305f\u6587\u5b57\u306f\u5927\u304d\u3055\u304c\u5909\u308f\u308a\u307e\u305b\u3093\u3002<strong>rem<\/strong>\u306e\u3088\u3046\u306a\u300c\u76f8\u5bfe\u5358\u4f4d\u300d\u3092\u4f7f\u3048\u3070\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u8a2d\u5b9a\u306b\u5fdc\u3058\u3066\u6587\u5b57\u30b5\u30a4\u30ba\u304c\u9069\u5207\u306b\u62e1\u7e2e\u3055\u308c\u3001\u8ab0\u306b\u3068\u3063\u3066\u3082\u898b\u3084\u3059\u3044\u30b5\u30a4\u30c8\u306b\u306a\u308a\u307e\u3059\u3002\n  <\/p>\n<h3>2. \u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u306e\u5411\u4e0a<\/h3>\n<p>\n    \u30b5\u30a4\u30c8\u5168\u4f53\u306e\u30c7\u30b6\u30a4\u30f3\u3092\u4fee\u6b63\u3059\u308b\u5834\u9762\u3092\u60f3\u50cf\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n    \u300c\u5168\u4f53\u7684\u306b\u3082\u3046\u5c11\u3057\u4f59\u767d\u3092\u5e83\u3052\u3066\u307b\u3057\u3044\u300d\u3068\u3044\u3046\u8981\u671b\u304c\u3042\u3063\u305f\u6642\u3001<strong>px<\/strong>\u3067\u6307\u5b9a\u3057\u3066\u3044\u308b\u3068\u4f55\u5341\u3001\u4f55\u767e\u3068\u3044\u3046\u7b87\u6240\u306eCSS\u3092\u4e00\u3064\u3072\u3068\u3064\u4fee\u6b63\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u5927\u5909\u306a\u624b\u9593\u3068\u4fee\u6b63\u6f0f\u308c\u306e\u30ea\u30b9\u30af\u304c\u4f34\u3044\u307e\u3059\u3002<br \/>\n    \u4e00\u65b9\u3001<strong>rem<\/strong>\u3092\u4f7f\u3063\u3066\u3044\u308c\u3070\u3001\u57fa\u6e96\u3068\u306a\u308b\u30eb\u30fc\u30c8\u8981\u7d20\u306e<strong>font-size<\/strong>\u30921\u30f6\u6240\u5909\u66f4\u3059\u308b\u3060\u3051\u3067\u3001\u30b5\u30a4\u30c8\u5168\u4f53\u306e\u4f59\u767d\u3084\u6587\u5b57\u30b5\u30a4\u30ba\u3092\u4e00\u62ec\u3067\u8abf\u6574\u3067\u304d\u307e\u3059\u3002\n  <\/p>\n<p>\u300c\uff08\u4fdd\u5b88\u6027\u306e\u9ad8\u3044CSS\u306e\u66f8\u304d\u65b9\u306b\u3064\u3044\u3066\u306f\u300e<a href=\"https:\/\/route-zero.com\/recruit\/route\/1642\/\">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>\u300f\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\uff09\u300d<\/p>\n<h3>3. \u30c7\u30b6\u30a4\u30f3\u306e\u67d4\u8edf\u6027\u3068\u4e00\u8cab\u6027<\/h3>\n<p>\n    \u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3\u3067\u306f\u3001\u753b\u9762\u30b5\u30a4\u30ba\u306b\u5fdc\u3058\u3066\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u67d4\u8edf\u306b\u5909\u5316\u3055\u305b\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n    <strong>px<\/strong>\u3068\u3044\u3046\u56fa\u5b9a\u5024\u3060\u3051\u3067\u306f\u3001\u591a\u69d8\u306a\u30c7\u30d0\u30a4\u30b9\u30b5\u30a4\u30ba\u306b\u5bfe\u5fdc\u3059\u308b\u306e\u306f\u56f0\u96e3\u3067\u3059\u3002<strong>rem<\/strong>\u3084<strong>%<\/strong>\u3001<strong>vw<\/strong>\u3068\u3044\u3063\u305f\u76f8\u5bfe\u5358\u4f4d\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u8981\u7d20\u304c\u4e92\u3044\u306b\u95a2\u9023\u6027\u3092\u6301\u3061\u306a\u304c\u3089\u62e1\u7e2e\u3059\u308b\u305f\u3081\u3001\u3069\u306e\u753b\u9762\u30b5\u30a4\u30ba\u3067\u3082\u4e00\u8cab\u6027\u306e\u3042\u308b\u7f8e\u3057\u3044\u30c7\u30b6\u30a4\u30f3\u3092\u4fdd\u3061\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\n  <\/p>\n<p>\n    \u300c\uff08\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u306e\u57fa\u672c\u7684\u306a\u5b9f\u88c5\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u300e<a href=\"https:\/\/route-zero.com\/recruit\/route\/1287\">\u521d\u5fc3\u8005\u5411\u3051CSS\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u89e3\u8aac\uff5c2025\u5e74\u5bfe\u5fdc\u30fb\u30b5\u30f3\u30d7\u30eb\u4ed8\u304d\u3067\u30b9\u30de\u30db\u5bfe\u5fdc\u3092\u30de\u30b9\u30bf\u30fc<\/a\n    >\u300f\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\uff09\u300d\n  <\/p>\n<blockquote>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1a\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3<\/strong><br \/>\n      \u5e74\u9f62\u3084\u8eab\u4f53\u7684\u6761\u4ef6\u3001\u5229\u7528\u74b0\u5883\u306b\u304b\u304b\u308f\u3089\u305a\u3001\u8ab0\u3082\u304cWeb\u30b5\u30a4\u30c8\u3084\u60c5\u5831\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3084\u3059\u304f\u3059\u308b\u3053\u3068\u3002Web\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u3068\u3082\u547c\u3070\u308c\u308b\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1a\u7d76\u5bfe\u5358\u4f4d<\/strong><br \/>\n      <strong>px<\/strong>\u3084<strong>cm<\/strong>\u306e\u3088\u3046\u306b\u3001\u4ed6\u306e\u8981\u7d20\u306e\u30b5\u30a4\u30ba\u306b\u5f71\u97ff\u3055\u308c\u305a\u3001\u5e38\u306b\u7269\u7406\u7684\u306b\u56fa\u5b9a\u3055\u308c\u305f\u30b5\u30a4\u30ba\u3092\u6301\u3064\u5358\u4f4d\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1a\u76f8\u5bfe\u5358\u4f4d<\/strong><br \/>\n      <strong>rem<\/strong>\u3084<strong>%<\/strong>\u3001<strong>vw<\/strong>\u306e\u3088\u3046\u306b\u3001\u4ed6\u306e\u8981\u7d20\u306e\u30b5\u30a4\u30ba\u3084\u753b\u9762\u30b5\u30a4\u30ba\u3092\u57fa\u6e96\u306b\u3057\u3066\u5927\u304d\u3055\u304c\u6c7a\u307e\u308b\u5358\u4f4d\u3002\u67d4\u8edf\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u9069\u3057\u3066\u3044\u308b\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1a\u30eb\u30fc\u30c8\u8981\u7d20<\/strong><br \/>\n      HTML\u6587\u66f8\u306e\u6700\u4e0a\u4f4d\u306b\u3042\u308b\u8981\u7d20\u3001\u3064\u307e\u308a<strong>&lt;html&gt;<\/strong>\u30bf\u30b0\u306e\u3053\u3068\u3002<strong>rem<\/strong>\u5358\u4f4d\u306e\u57fa\u6e96\u3068\u306a\u308b\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u304c\u8a2d\u5b9a\u3055\u308c\u308b\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1a\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3<\/strong><br \/>\n      PC\u3001\u30bf\u30d6\u30ec\u30c3\u30c8\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u306a\u3069\u3001\u95b2\u89a7\u3059\u308b\u30c7\u30d0\u30a4\u30b9\u306e\u753b\u9762\u30b5\u30a4\u30ba\u306b\u5fdc\u3058\u3066\u3001Web\u30b5\u30a4\u30c8\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u3084\u30c7\u30b6\u30a4\u30f3\u3092\u6700\u9069\u5316\u3057\u3066\u8868\u793a\u3059\u308b\u624b\u6cd5\u3002\n    <\/p>\n<\/blockquote>\n<hr \/>\n<h2>\u6700\u521d\u306b\u899a\u3048\u308b\u3079\u304d4\u3064\u306e\u57fa\u672c\u5358\u4f4d<\/h2>\n<p>\u305d\u308c\u3067\u306f\u3001\u5b9f\u52d9\u3067\u5fc5\u9808\u3068\u306a\u308b4\u3064\u306e\u57fa\u672c\u5358\u4f4d\u306e\u5f79\u5272\u3068\u4f7f\u3044\u65b9\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3><strong>px<\/strong>\uff1a<strong>border<\/strong>\u306a\u3069\u300c\u7d76\u5bfe\u306b\u5909\u308f\u3063\u3066\u307b\u3057\u304f\u306a\u3044\u300d\u56fa\u5b9a\u5024\u306b<\/h3>\n<p>\n    <strong>px<\/strong>\uff08\u30d4\u30af\u30bb\u30eb\uff09\u306f\u3001\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u306e1\u30c9\u30c3\u30c8\u306b\u5bfe\u5fdc\u3059\u308b\u300c\u7d76\u5bfe\u5358\u4f4d\u300d\u3067\u3059\u3002<br \/>\n    \u5468\u56f2\u306e\u72b6\u6cc1\u306b\u5f71\u97ff\u3055\u308c\u305a\u3001\u5e38\u306b\u6307\u5b9a\u3055\u308c\u305f\u30b5\u30a4\u30ba\u3092\u4fdd\u3061\u307e\u3059\u3002\u3053\u306e\u300c\u5909\u308f\u3089\u306a\u3044\u300d\u7279\u6027\u306f\u3001<strong>border: 1px solid #000;<\/strong> \u306e\u3088\u3046\u306a\u3001\u3069\u3046\u3057\u3066\u3082\u30b5\u30a4\u30ba\u3092\u56fa\u5b9a\u3057\u305f\u3044\u90e8\u5206\u3067\u5f37\u307f\u3092\u767a\u63ee\u3057\u307e\u3059\u3002<br \/>\n    \u305f\u3060\u3057\u3001\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u3084\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u306e\u89b3\u70b9\u304b\u3089\u3001\u6587\u5b57\u30b5\u30a4\u30ba\u3084\u4e3b\u8981\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u591a\u7528\u3059\u308b\u306e\u306f\u907f\u3051\u308b\u3079\u304d\u3067\u3059\u3002\n  <\/p>\n<h3><strong>rem<\/strong>\uff1a\u30b5\u30a4\u30c8\u5168\u4f53\u306e\u57fa\u6e96\u3092\u4f5c\u308b\u300c\u57fa\u672c\u306e\u5358\u4f4d\u300d<\/h3>\n<p>\n    <strong>rem<\/strong>\uff08root em\uff09\u306f\u3001\u30eb\u30fc\u30c8\u8981\u7d20\uff08<strong>&lt;html&gt;<\/strong>\uff09\u306e<strong>font-size<\/strong>\u3092\u57fa\u6e96\u3068\u3059\u308b\u300c\u76f8\u5bfe\u5358\u4f4d\u300d\u3067\u3059\u3002<br \/>\n    \u30d6\u30e9\u30a6\u30b6\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f<strong>html<\/strong>\u306e<strong>font-size<\/strong>\u306f<strong>16px<\/strong>\u306a\u306e\u3067\u3001<strong>1rem = 16px<\/strong><br \/>\n    >\u3068\u306a\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001<strong>h2<\/strong>\u306e\u6587\u5b57\u30b5\u30a4\u30ba\u3092<strong>32px<\/strong>\u76f8\u5f53\u306b\u3057\u305f\u3051\u308c\u3070<strong>font-size: 2rem;<\/strong>\u3068\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n    \u3053\u306e<strong>rem<\/strong>\u3092\u57fa\u672c\u5358\u4f4d\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u30b5\u30a4\u30c8\u5168\u4f53\u306e\u30b9\u30b1\u30fc\u30eb\u8abf\u6574\u304c\u30eb\u30fc\u30c8\u8981\u7d20\u4e00\u304b\u6240\u306e\u5909\u66f4\u3060\u3051\u3067\u53ef\u80fd\u306b\u306a\u308a\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u304c\u98db\u8e8d\u7684\u306b\u5411\u4e0a\u3057\u307e\u3059\u3002\u73fe\u4ee3\u306eCSS\u8a2d\u8a08\u306e\u4e3b\u5f79\u3068\u8a00\u3048\u308b\u5358\u4f4d\u3067\u3059\u3002\n  <\/p>\n<h3><strong>em<\/strong>\uff1a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5185\u3067\u67d4\u8edf\u306b\u62e1\u7e2e\u3055\u305b\u305f\u3044\u3068\u304d\u306e\u8abf\u6574\u5f79<\/h3>\n<p>\n    <strong>em<\/strong>\u3082<strong>rem<\/strong>\u3068\u540c\u3058\u300c\u76f8\u5bfe\u5358\u4f4d\u300d\u3067\u3059\u304c\u3001\u3053\u3061\u3089\u306f\u81ea\u8eab\u306e<strong>font-size<\/strong>\u3001\u3082\u3057\u304f\u306f\u89aa\u8981\u7d20\u306e<strong>font-size<\/strong>\u3092\u57fa\u6e96\u306b\u3057\u307e\u3059\u3002<br \/>\n    \u89aa\u306b\u4f9d\u5b58\u3059\u308b\u305f\u3081\u5165\u308c\u5b50\u69cb\u9020\u3067\u8a08\u7b97\u304c\u8907\u96d1\u306b\u306a\u308a\u304c\u3061\u3067\u3059\u304c\u3001\u3046\u307e\u304f\u4f7f\u3048\u3070\u975e\u5e38\u306b\u4fbf\u5229\u3067\u3059\u3002<br \/>\n    \u4f8b\u3048\u3070\u3001\u30dc\u30bf\u30f3\u306e<strong>padding<\/strong>\u3092<strong>padding: 0.5em 1em;<\/strong><br \/>\n    >\u306e\u3088\u3046\u306b<strong>em<\/strong>\u3067\u6307\u5b9a\u3057\u3066\u304a\u304f\u3068\u3001\u305d\u306e\u30dc\u30bf\u30f3\u306e<strong>font-size<\/strong>\u3092\u5909\u66f4\u3059\u308b\u3060\u3051\u3067\u3001\u4f59\u767d\u3082\u3044\u3044\u611f\u3058\u306b\u62e1\u7e2e\u3057\u3066\u304f\u308c\u307e\u3059\u3002\n  <\/p>\n<h3><strong>%<\/strong>\uff1a\u89aa\u8981\u7d20\u306b\u5bfe\u3059\u308b\u5272\u5408\u3067\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u308b\u3068\u304d\u306e\u4e07\u80fd\u9078\u624b<\/h3>\n<p>\n    <strong>%<\/strong>\uff08\u30d1\u30fc\u30bb\u30f3\u30c8\uff09\u306f\u3001\u89aa\u8981\u7d20\u306e\u540c\u3058\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u3092\u57fa\u6e96\u3068\u3059\u308b\u300c\u76f8\u5bfe\u5358\u4f4d\u300d\u3067\u3059\u3002<br \/>\n    <strong>width: 50%;<\/strong><br \/>\n    >\u3068\u3059\u308c\u3070\u89aa\u8981\u7d20\u306e\u534a\u5206\u306e\u5e45\u306b\u306a\u308a\u307e\u3059\u3002\u7279\u306b\u3001\u30ab\u30e9\u30e0\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u3088\u3046\u306b\u89aa\u8981\u7d20\u306e\u5e45\u306b\u5bfe\u3057\u3066\u5b50\u8981\u7d20\u3092\u914d\u7f6e\u3057\u3066\u3044\u304f\u5834\u9762\u3067\u7d76\u5927\u306a\u52b9\u679c\u3092\u767a\u63ee\u3057\u307e\u3059\u3002\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3\u306b\u304a\u3051\u308b\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u57fa\u672c\u3092\u4f5c\u308b\u3001\u975e\u5e38\u306b\u91cd\u8981\u306a\u5358\u4f4d\u3067\u3059\u3002\n  <\/p>\n<p>\n    \u300c\uff08CSS\u3092\u4f7f\u3063\u305f\u5177\u4f53\u7684\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u624b\u6cd5\u306b\u3064\u3044\u3066\u306f\u300e<a href=\"https:\/\/route-zero.com\/recruit\/route\/1777\/\">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\n    >\u300f\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\uff09\u300d\n  <\/p>\n<blockquote>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1apx (\u30d4\u30af\u30bb\u30eb)<\/strong><br \/>\n      \u753b\u9762\u3092\u69cb\u6210\u3059\u308b\u6700\u5c0f\u5358\u4f4d\uff08\u30c9\u30c3\u30c8\uff09\u30921\u3068\u3059\u308b\u7d76\u5bfe\u5358\u4f4d\u3002\u74b0\u5883\u306b\u3088\u3089\u305a\u56fa\u5b9a\u7684\u306a\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3057\u305f\u3044\u5834\u5408\u306b\u7528\u3044\u308b\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1arem (root em)<\/strong><br \/>\n      \u30eb\u30fc\u30c8\u8981\u7d20\uff08<strong>&lt;html&gt;<\/strong>\u30bf\u30b0\uff09\u306e\u6587\u5b57\u30b5\u30a4\u30ba\u3092\u57fa\u6e96\u3068\u3059\u308b\u76f8\u5bfe\u5358\u4f4d\u3002\u30b5\u30a4\u30c8\u5168\u4f53\u306e\u30b5\u30a4\u30ba\u3092\u4e00\u62ec\u3067\u8abf\u6574\u3057\u3084\u3059\u304f\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u306b\u512a\u308c\u308b\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1aem<\/strong><br \/>\n      \u81ea\u8eab\u306e\u6587\u5b57\u30b5\u30a4\u30ba\u3001\u307e\u305f\u306f\u89aa\u8981\u7d20\u306e\u6587\u5b57\u30b5\u30a4\u30ba\u3092\u57fa\u6e96\u3068\u3059\u308b\u76f8\u5bfe\u5358\u4f4d\u3002\u7279\u5b9a\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5185\u3067\u5b8c\u7d50\u3059\u308b\u30b5\u30a4\u30ba\u8abf\u6574\u306b\u4fbf\u5229\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1a% (\u30d1\u30fc\u30bb\u30f3\u30c8)<\/strong><br \/>\n      \u89aa\u8981\u7d20\u306e\u30b5\u30a4\u30ba\u306b\u5bfe\u3059\u308b\u5272\u5408\u3092\u793a\u3059\u76f8\u5bfe\u5358\u4f4d\u3002\u89aa\u8981\u7d20\u306e\u5927\u304d\u3055\u306b\u5fdc\u3058\u3066\u53ef\u5909\u3059\u308b\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u7d44\u3080\u969b\u306b\u4f7f\u7528\u3059\u308b\u3002\n    <\/p>\n<\/blockquote>\n<hr \/>\n<h2>\u5fdc\u7528\u7de8\uff1a\u4e00\u6b69\u9032\u3093\u3060\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u8868\u73fe<\/h2>\n<p>\u57fa\u672c\u306e4\u5358\u4f4d\u3092\u30de\u30b9\u30bf\u30fc\u3057\u305f\u3089\u3001\u6b21\u306f\u3088\u308a\u9ad8\u5ea6\u306a\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u8868\u73fe\u3092\u53ef\u80fd\u306b\u3059\u308b\u30e2\u30c0\u30f3\u306a\u5358\u4f4d\u3092\u5b66\u3073\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3><strong>vw<\/strong>\/<strong>vh<\/strong>\uff1a\u753b\u9762\u30b5\u30a4\u30ba\u3044\u3063\u3071\u3044\u306b\u8981\u7d20\u3092\u5e83\u3052\u308b<\/h3>\n<p>\n    <strong>vw<\/strong>\uff08viewport width\uff09\u3068<strong>vh<\/strong>\uff08viewport height\uff09\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u8868\u793a\u9818\u57df\uff08\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\uff09\u306e\u5e45\u3068\u9ad8\u3055\u3092\u57fa\u6e96\u3068\u3059\u308b\u5358\u4f4d\u3067\u3059\u3002<strong>100vw<\/strong>\u306f\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u306e\u5e45\u5168\u4f53\u3092\u610f\u5473\u3057\u307e\u3059\u3002<br \/>\n    \u753b\u9762\u3044\u3063\u3071\u3044\u306b\u5e83\u304c\u308b\u30d2\u30fc\u30ed\u30fc\u30a4\u30e1\u30fc\u30b8\uff08<strong>height: 100vh;<\/strong>\uff09\u306a\u3069\u3001\u753b\u9762\u30b5\u30a4\u30ba\u3092\u57fa\u6e96\u3068\u3057\u305f\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u7c21\u5358\u306b\u5b9f\u73fe\u3067\u304d\u308b\u306e\u304c\u9b45\u529b\u3067\u3059\u3002\n  <\/p>\n<h3><strong>svh<\/strong>\/<strong>dvh<\/strong>\uff1a\u30b9\u30de\u30db\u306e\u30c4\u30fc\u30eb\u30d0\u30fc\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u65b0\u5358\u4f4d<\/h3>\n<p>\n    <strong>vh<\/strong>\u306b\u306f\u4e00\u3064\u554f\u984c\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u30b9\u30de\u30db\u3067\u898b\u305f\u3068\u304d\u3001\u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u306e\u8868\u793a\u30fb\u975e\u8868\u793a\u3067\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u306e\u9ad8\u3055\u304c\u5909\u308f\u308a\u3001<strong>100vh<\/strong>\u3067\u6307\u5b9a\u3057\u305f\u8981\u7d20\u304c\u30ac\u30bf\u3064\u3044\u3066\u3057\u307e\u3046\u306e\u3067\u3059\u3002<br \/>\n    \u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u306e\u304c<strong>svh<\/strong> (Small Viewport Height) \u3068 <strong>dvh<\/strong> (Dynamic Viewport Height) \u3067\u3059\u3002\n  <\/p>\n<ul>\n<li><strong>svh<\/strong>: \u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u306a\u3069\u304c<strong>\u8868\u793a\u3055\u308c\u305f\u72b6\u614b<\/strong>\u306e\u300c\u6700\u5c0f\u306e\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u300d\u3092\u57fa\u6e96\u306b\u3057\u307e\u3059\u3002<\/li>\n<li><strong>dvh<\/strong>: \u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u306e\u8868\u793a\u30fb\u975e\u8868\u793a\u306b<strong>\u5fdc\u3058\u3066\u52d5\u7684\u306b\u9ad8\u3055\u304c\u5909\u308f\u308b<\/strong>\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u3092\u57fa\u6e96\u306b\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u7279\u306b<strong>svh<\/strong>\u306f\u3001\u30d5\u30a1\u30fc\u30b9\u30c8\u30d3\u30e5\u30fc\u3067\u8981\u7d20\u5168\u4f53\u3092\u78ba\u5b9f\u306b\u898b\u305b\u305f\u3044\u5834\u5408\u306b\u5b89\u5b9a\u3057\u305f\u6319\u52d5\u3092\u63d0\u4f9b\u3057\u3066\u304f\u308c\u308b\u305f\u3081\u3001\u4eca\u5f8c\u306e\u30b9\u30de\u30db\u5bfe\u5fdc\u306e\u65b0\u305f\u306a\u30b9\u30bf\u30f3\u30c0\u30fc\u30c9\u3068\u306a\u308a\u3064\u3064\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3><strong>clamp()<\/strong>\uff1a\u5024\u3092\u300c\u3044\u3044\u611f\u3058\u300d\u306b\u53ef\u5909\u3055\u305b\u308b\u9b54\u6cd5<\/h3>\n<p><strong>clamp()<\/strong>\u306f\u5358\u4f4d\u3067\u306f\u306a\u304fCSS\u95a2\u6570\u3067\u3059\u304c\u3001\u5358\u4f4d\u306e\u4f7f\u3044\u5206\u3051\u306b\u304a\u3044\u3066\u9769\u547d\u7684\u306a\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u300c\u6700\u5c0f\u5024\u3001\u63a8\u5968\u5024\u3001\u6700\u5927\u5024\u300d\u306e3\u3064\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u5024\u3092\u3042\u308b\u7bc4\u56f2\u5185\u306b\u53ce\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><strong>font-size: clamp(1rem, 4vw, 2rem);<\/strong><\/p>\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306b\u6307\u5b9a\u3059\u308b\u3068\u3001<\/p>\n<ul>\n<li>\u57fa\u672c\u7684\u306b\u306f<strong>4vw<\/strong>\uff08\u753b\u9762\u5e45\u306e4%\uff09\u306e\u6587\u5b57\u30b5\u30a4\u30ba\u306b\u306a\u308b\u3002<\/li>\n<li>\u305f\u3060\u3057\u3001<strong>1rem<\/strong>\uff08\u4f8b\uff1a<strong>16px<\/strong>\uff09\u3088\u308a\u306f\u5c0f\u3055\u304f\u306a\u3089\u306a\u3044\u3002<\/li>\n<li>\u305d\u3057\u3066\u3001<strong>2rem<\/strong>\uff08\u4f8b\uff1a<strong>32px<\/strong>\uff09\u3088\u308a\u306f\u5927\u304d\u304f\u306a\u3089\u306a\u3044\u3002<\/li>\n<\/ul>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u753b\u9762\u5e45\u306b\u5fdc\u3058\u3066\u6ed1\u3089\u304b\u306b\u30b5\u30a4\u30ba\u304c\u5909\u5316\u3059\u308b\u300c\u6d41\u52d5\u7684\u306a\u30bf\u30a4\u30dd\u30b0\u30e9\u30d5\u30a3\u300d\u304c\u3001\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3092\u591a\u7528\u3059\u308b\u3053\u3068\u306a\u304f\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<blockquote>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1a\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8 (Viewport)<\/strong><br \/>\n      Web\u30da\u30fc\u30b8\u304c\u5b9f\u969b\u306b\u8868\u793a\u3055\u308c\u308b\u30d6\u30e9\u30a6\u30b6\u306e\u9818\u57df\u306e\u3053\u3068\u3002<strong>vw<\/strong>\u3084<strong>vh<\/strong>\u306a\u3069\u306e\u5358\u4f4d\u306f\u3001\u3053\u306e\u9818\u57df\u306e\u30b5\u30a4\u30ba\u3092\u57fa\u6e96\u3068\u3059\u308b\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1avw \/ vh<\/strong><br \/>\n      \u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u306e\u5e45 (width) \u307e\u305f\u306f\u9ad8\u3055 (height) \u3092100\u5206\u5272\u3057\u305f\u3082\u306e\u30921\u3068\u3059\u308b\u76f8\u5bfe\u5358\u4f4d\u3002<strong>100vw<\/strong>\u3067\u753b\u9762\u5e45\u5168\u4f53\u3092\u6307\u3059\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1asvh \/ dvh<\/strong><br \/>\n      \u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u306e\u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u306a\u3069\u306eUI\u8868\u793a\u3092\u8003\u616e\u3057\u305f\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u5358\u4f4d\u3002<strong>svh<\/strong>\u306fUI\u304c\u8868\u793a\u3055\u308c\u305f\u6700\u5c0f\u306e\u9818\u57df\u3001<strong>dvh<\/strong>\u306fUI\u306e\u8868\u793a\/\u975e\u8868\u793a\u306b\u5fdc\u3058\u3066\u52d5\u7684\u306b\u5909\u5316\u3059\u308b\u9818\u57df\u3092\u57fa\u6e96\u3068\u3059\u308b\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1aclamp()<\/strong><br \/>\n      CSS\u306e\u5024\u306b\u300c\u6700\u5c0f\u5024\u3001\u63a8\u5968\u5024\u3001\u6700\u5927\u5024\u300d\u3092\u8a2d\u5b9a\u3067\u304d\u308b\u95a2\u6570\u3002\u753b\u9762\u30b5\u30a4\u30ba\u306b\u5fdc\u3058\u3066\u5024\u3092\u6ed1\u3089\u304b\u306b\u5909\u5316\u3055\u305b\u3001\u4e00\u5b9a\u306e\u7bc4\u56f2\u5185\u306b\u53ce\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1a\u30bf\u30a4\u30dd\u30b0\u30e9\u30d5\u30a3<\/strong><br \/>\n      \u30c6\u30ad\u30b9\u30c8\u306e\u30d5\u30a9\u30f3\u30c8\u3001\u30b5\u30a4\u30ba\u3001\u884c\u9593\u3001\u914d\u7f6e\u306a\u3069\u3092\u30c7\u30b6\u30a4\u30f3\u3057\u3001\u8aad\u307f\u3084\u3059\u3055\u3084\u7f8e\u3057\u3055\u3092\u8ffd\u6c42\u3059\u308b\u3053\u3068\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1a\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea<\/strong><br \/>\n      \u753b\u9762\u5e45\u306a\u3069\u30c7\u30d0\u30a4\u30b9\u306e\u7279\u6027\u306b\u5fdc\u3058\u3066\u9069\u7528\u3059\u308bCSS\u3092\u5207\u308a\u66ff\u3048\u308b\u4ed5\u7d44\u307f\u3002\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3\u306e\u5b9f\u73fe\u306b\u4e0d\u53ef\u6b20\u306a\u6280\u8853\u3002\n    <\/p>\n<\/blockquote>\n<hr \/>\n<h2>FAQ\uff1a\u5b9f\u52d9\u3067\u3088\u304f\u3042\u308b\u7591\u554f\u3068\u7b54\u3048<\/h2>\n<h3>Q. <strong>line-height<\/strong>\u306b\u5358\u4f4d\u306f\u3064\u3051\u306a\u3044\u306e\u304c\u30d9\u30b9\u30c8\uff1f<\/h3>\n<p>\n    \u306f\u3044\u3002<strong>line-height<\/strong>\u306b\u306f<strong>1.5<\/strong>\u306e\u3088\u3046\u306b\u5358\u4f4d\u3092\u3064\u3051\u306a\u3044\u6570\u5024\u3067\u6307\u5b9a\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3067\u3059\u3002\u6307\u5b9a\u3057\u305f\u6570\u5024\u304c\u305d\u306e\u8981\u7d20\u81ea\u8eab\u306e<strong>font-size<\/strong>\u306b\u5bfe\u3059\u308b\u300c\u500d\u7387\u300d\u3068\u3057\u3066\u8a08\u7b97\u3055\u308c\u308b\u305f\u3081\u3001\u6587\u5b57\u30b5\u30a4\u30ba\u304c\u5909\u308f\u3063\u3066\u3082\u9069\u5207\u306a\u884c\u9593\u3092\u81ea\u52d5\u3067\u4fdd\u3063\u3066\u304f\u308c\u307e\u3059\u3002\n  <\/p>\n<h3>Q. \u5024\u304c<strong>0<\/strong>\u306e\u3068\u304d\u3001\u5358\u4f4d\u306f\u7701\u7565\u3067\u304d\u308b\uff1f<\/h3>\n<p>\u306f\u3044\u3001\u7701\u7565\u3067\u304d\u307e\u3059\u3002<strong>margin: 0;<\/strong>\u306e\u3088\u3046\u306b\u3001\u5024\u304c<strong>0<\/strong>\u306e\u5834\u5408\u306f\u5358\u4f4d\u306f\u4e0d\u8981\u3067\u3059\u3002<strong>0px<\/strong>\u3082<strong>0rem<\/strong>\u3082\u3001\u7d50\u5c40\u306f<strong>0<\/strong>\u3060\u304b\u3089\u3067\u3059\u3002<\/p>\n<h3>Q. <strong>calc()<\/strong>\u3067<strong>rem<\/strong>\u3068<strong>px<\/strong>\u306f\u6df7\u305c\u3066\u8a08\u7b97\u3067\u304d\u308b\uff1f<\/h3>\n<p>\u306f\u3044\u3001\u53ef\u80fd\u3067\u3059\u3002<strong>calc()<\/strong>\u95a2\u6570\u306f\u3001<strong>width: calc(100% &#8211; 4rem);<\/strong>\u306e\u3088\u3046\u306b\u3001\u7570\u306a\u308b\u5358\u4f4d\u3092\u7d44\u307f\u5408\u308f\u305b\u305f\u8a08\u7b97\u3092\u53ef\u80fd\u306b\u3059\u308b\u975e\u5e38\u306b\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<blockquote>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1aline-height<\/strong><br \/>\n      \u30c6\u30ad\u30b9\u30c8\u306e\u884c\u306e\u9ad8\u3055\u3092\u6307\u5b9a\u3059\u308b\u30d7\u30ed\u30d1\u30c6\u30a3\u3002\u5358\u4f4d\u306a\u3057\u306e\u6570\u5024\u3067\u6307\u5b9a\u3059\u308b\u3068\u3001\u81ea\u8eab\u306e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u57fa\u6e96\u3068\u3057\u305f\u500d\u7387\u3067\u8a08\u7b97\u3055\u308c\u308b\u305f\u3081\u3001\u67d4\u8edf\u306a\u884c\u9593\u8a2d\u5b9a\u304c\u53ef\u80fd\u306b\u306a\u308b\u3002\n    <\/p>\n<p>\n      <strong>\u7528\u8a9e\u89e3\u8aac\uff1acalc()<\/strong><br \/>\n      <strong>calc(100% &#8211; 20px)<\/strong>\u306e\u3088\u3046\u306b\u3001\u7570\u306a\u308b\u5358\u4f4d\u540c\u58eb\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u8a08\u7b97\u3067\u304d\u308bCSS\u306e\u95a2\u6570\u3002\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u5fae\u8abf\u6574\u306a\u3069\u3067\u975e\u5e38\u306b\u5f37\u529b\u3002\n    <\/p>\n<\/blockquote>\n<hr \/>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u4eca\u56de\u306f\u3001CSS\u306e\u5358\u4f4d\u306e\u4f7f\u3044\u5206\u3051\u306b\u3064\u3044\u3066\u3001\u57fa\u672c\u7684\u306a\u8003\u3048\u65b9\u304b\u3089\u5fdc\u7528\u307e\u3067\u3092\u7db2\u7f85\u7684\u306b\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002\u5927\u5207\u306a\u30dd\u30a4\u30f3\u30c8\u3092\u3082\u3046\u4e00\u5ea6\u632f\u308a\u8fd4\u308a\u307e\u3057\u3087\u3046\u3002<\/p>\n<ul>\n<li><strong>px<\/strong>\u306f\u7d76\u5bfe\u7684\u306a\u56fa\u5b9a\u5024\u3002<strong>border<\/strong>\u306a\u3069\u9650\u5b9a\u7684\u306b\u4f7f\u3046\u3002<\/li>\n<li><strong>rem<\/strong>\u306f\u30b5\u30a4\u30c8\u306e\u57fa\u6e96\u3002<strong>font-size<\/strong>\u3084<strong>margin<\/strong>\u306e\u57fa\u672c\u306f<strong>rem<\/strong>\u3067OK\u3002<\/li>\n<li><strong>em<\/strong>, <strong>%<\/strong>, <strong>vw<\/strong>\u306a\u3069\u306e\u76f8\u5bfe\u5358\u4f4d\u306f\u3001\u305d\u308c\u305e\u308c\u306e\u7279\u6027\u3092\u7406\u89e3\u3057\u3001\u9069\u6750\u9069\u6240\u3067\u4f7f\u3046\u3002<\/li>\n<li><strong>clamp()<\/strong>\u3084<strong>svh<\/strong>\u306a\u3069\u306e\u65b0\u3057\u3044\u6280\u8853\u3082\u7a4d\u6975\u7684\u306b\u53d6\u308a\u5165\u308c\u3001\u8868\u73fe\u306e\u5e45\u3092\u5e83\u3052\u308b\u3002<\/li>\n<\/ul>\n<p>\u300c\u306a\u305c\u3053\u306e\u5358\u4f4d\u3092\u9078\u3076\u306e\u304b\u300d\u305d\u306e\u7406\u7531\u3092\u4e00\u3064\u3072\u3068\u3064\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u3001\u3042\u306a\u305f\u306e\u66f8\u304fCSS\u306f\u3088\u308a\u5805\u7262\u3067\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u5192\u982d\u306e\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8\u3092\u53c2\u8003\u306b\u3001\u6b21\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067<strong>rem<\/strong>\u3092\u4e3b\u4f53\u3068\u3057\u305f\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306b\u6311\u6226\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u305c\u3072\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30da\u3057\u3066\u3001\u307e\u305a\u306f\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<hr \/>\n<\/div>\n","protected":false},"featured_media":1881,"template":"","_links":{"self":[{"href":"https:\/\/route-zero.com\/recruit\/wp-json\/wp\/v2\/route\/1880"}],"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\/1881"}],"wp:attachment":[{"href":"https:\/\/route-zero.com\/recruit\/wp-json\/wp\/v2\/media?parent=1880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}