{"id":15529,"date":"2026-07-14T05:37:49","date_gmt":"2026-07-13T20:37:49","guid":{"rendered":"https:\/\/genai-ai.co.jp\/ai-kanri\/?p=15529"},"modified":"2026-07-14T05:37:49","modified_gmt":"2026-07-13T20:37:49","slug":"cc-css-units-2","status":"publish","type":"post","link":"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/cc-css-units-2\/","title":{"rendered":"\u30102026\u5e747\u6708\u6700\u65b0\u3011CSS\u306e\u30b5\u30a4\u30ba\u6307\u5b9a\u306f\u3069\u308c\u304c\u3044\u3044\uff1fpx\u30fb%\u30fbem\u30fbrem\u30fbvw\u306e\u9055\u3044\u3068\u4f7f\u3044\u5206\u3051\u5b8c\u5168\u30ac\u30a4\u30c9"},"content":{"rendered":"\n<style>\n.g-flow-row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;align-items:center;}\n.g-flow-item{background:linear-gradient(135deg,#1a1a1a,#2a1015);color:#fff;border-radius:8px;padding:16px 14px;min-width:130px;flex:1;text-align:center;}\n.g-flow-arrow{color:#dc2626;font-size:20px;font-weight:700;}\n.g-card-row{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 32px;}\n.g-card-row>div{flex:1;min-width:220px;}\n@media(max-width:600px){\n  .g-flow-row{flex-direction:column;}\n  .g-flow-arrow{transform:rotate(90deg);}\n  .g-card-row{flex-direction:column;}\n  .g-card-row>div{min-width:100%;}\n}\n<\/style>\n\n\n\n<div style=\"margin:0 0 32px;\">\n  <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/07\/thumb-cc-css-units-1.jpg\" alt=\"\u30102026\u5e747\u6708\u6700\u65b0\u3011CSS\u306e\u30b5\u30a4\u30ba\u6307\u5b9a\u306f\u3069\u308c\u304c\u3044\u3044\uff1fpx\u30fb%\u30fbem\u30fbrem\u30fbvw\u306e\u9055\u3044\u3068\u4f7f\u3044\u5206\u3051\u5b8c\u5168\u30ac\u30a4\u30c9\" style=\"width:100%;height:auto;border-radius:12px;display:block;\">\n<\/div>\n\n\n\n<div style=\"background:#f8f9fa;border-radius:12px;padding:24px 28px;margin:0 0 32px;border-left:4px solid #dc2626;\">\n  <p style=\"font-size:15px;font-weight:700;color:#1a1a1a;margin:0 0 16px;\">\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9<\/p>\n  <ol style=\"margin:0;padding-left:20px;font-size:14px;line-height:2.2;list-style:none;\">\n    <li><a href=\"#sec-01\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">01<\/span>CSS\u306e\u5358\u4f4d\u2014\u2014\u300c\u7d76\u5bfe\u5024\u300d\u3068\u300c\u76f8\u5bfe\u5024\u300d\u306e2\u7a2e\u985e\u3092\u7406\u89e3\u3059\u308b<\/a><\/li>\n    <li><a href=\"#sec-02\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">02<\/span>px\u2014\u2014\u56fa\u5b9a\u30b5\u30a4\u30ba\u6307\u5b9a\u306e\u57fa\u672c\u3068\u6b63\u3057\u3044\u4f7f\u3044\u3069\u3053\u308d<\/a><\/li>\n    <li><a href=\"#sec-03\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">03<\/span>%\uff08\u30d1\u30fc\u30bb\u30f3\u30c8\uff09\u2014\u2014\u89aa\u8981\u7d20\u3092\u57fa\u6e96\u306b\u3057\u305f\u76f8\u5bfe\u6307\u5b9a<\/a><\/li>\n    <li><a href=\"#sec-04\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">04<\/span>em\u2014\u2014\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u57fa\u6e96\u306b\u3057\u305f\u76f8\u5bfe\u6307\u5b9a\u3068\u843d\u3068\u3057\u7a74<\/a><\/li>\n    <li><a href=\"#sec-05\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">05<\/span>rem\u2014\u2014\u30eb\u30fc\u30c8\u8981\u7d20\u3092\u57fa\u6e96\u306b\u3057\u305f\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u76f8\u5bfe\u6307\u5b9a<\/a><\/li>\n    <li><a href=\"#sec-06\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">06<\/span>vw\u30fbvh\u30fb\u305d\u306e\u4ed6\u306e\u5358\u4f4d\u2014\u2014\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u57fa\u6e96\u306e\u6307\u5b9a<\/a><\/li>\n    <li><a href=\"#sec-07\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">07<\/span>\u5358\u4f4d\u306e\u4f7f\u3044\u5206\u3051\u65e9\u898b\u8868\u2014\u2014\u30d7\u30ed\u304c\u9078\u3076\u5834\u9762\u5225\u63a8\u5968<\/a><\/li>\n    <li><a href=\"#sec-08\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">08<\/span>\u3010\u6bd4\u8f03\u3011CSS\u624b\u66f8\u304d vs Claude Code\u2014\u2014Web\u30b5\u30a4\u30c8\u5236\u4f5c\u306e\u6700\u77ed\u30eb\u30fc\u30c8<\/a><\/li>\n    <li><a href=\"#faq\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">FAQ<\/span>\u3088\u304f\u3042\u308b\u8cea\u554f<\/a><\/li>\n  <\/ol>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cCSS\u3067\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3059\u308b\u3068\u304d\u3001px\u3092\u4f7f\u3048\u3070\u3044\u3044\u306e\uff1f\u305d\u308c\u3068\u3082rem\u306e\u65b9\u304c\u3044\u3044\uff1f\u300d\u2014\u2014Web\u5236\u4f5c\u306e\u5165\u9580\u8005\u304c\u3064\u307e\u305a\u304f\u5178\u578b\u7684\u306a\u7591\u554f\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">CSS\u306b\u306f<strong>px\u30fb%\u30fbem\u30fbrem\u30fbvw\u30fbvh<\/strong>\u306a\u3069\u3001\u30b5\u30a4\u30ba\u6307\u5b9a\u306e\u305f\u3081\u306e\u5358\u4f4d\u304c\u8907\u6570\u3042\u308a\u307e\u3059\u3002\u3069\u308c\u3092\u4f7f\u3063\u3066\u3082\u4e00\u898b\u540c\u3058\u898b\u305f\u76ee\u306b\u306a\u308a\u307e\u3059\u304c\u3001<strong>\u753b\u9762\u30b5\u30a4\u30ba\u304c\u5909\u308f\u3063\u305f\u3068\u304d\uff08\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u5bfe\u5fdc\uff09\u3084\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u30d6\u30e9\u30a6\u30b6\u306e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u5909\u66f4\u3057\u305f\u3068\u304d<\/strong>\u306b\u3001\u305d\u306e\u9055\u3044\u304c\u9855\u8457\u306b\u73fe\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001CSS\u30b5\u30a4\u30ba\u6307\u5b9a\u306e\u4e3b\u8981\u5358\u4f4d\u3092\u5168\u3066\u6bd4\u8f03\u3057\u3001\u300c\u3069\u306e\u5834\u9762\u3067\u3069\u308c\u3092\u4f7f\u3046\u304b\u300d\u3068\u3044\u3046\u5224\u65ad\u57fa\u6e96\u3092\u660e\u78ba\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u5f8c\u534a\u3067\u306f\u3001<strong>Claude Code\u306bCSS\u3092\u66f8\u304b\u305b\u308b\u65b9\u6cd5<\/strong>\u3082\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">Web\u30b5\u30a4\u30c8\u3092\u81ea\u5206\u3067\u4f5c\u308d\u3046\u3068\u3057\u3066\u300cCSS\u306e\u5358\u4f4d\u304c\u591a\u3059\u304e\u3066\u308f\u304b\u3089\u306a\u3044\u300d\u3068\u8ae6\u3081\u305f\u4eba\u306f\u591a\u3044\u306f\u305a\u3067\u3059\u3002\u3067\u3082\u5b9f\u306f2026\u5e74\u73fe\u5728\u3001\u300cCSS\u3092\u66f8\u304f\u5fc5\u8981\u304c\u306a\u3044\u300d\u6642\u4ee3\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002Claude Code\u306b\u30c7\u30b6\u30a4\u30f3\u306e\u30a4\u30e1\u30fc\u30b8\u3092URL\u3084\u8a00\u8449\u3067\u4f1d\u3048\u308b\u3060\u3051\u3067\u3001CSS\u30b3\u30fc\u30c9\u304c\u5168\u90e8\u51fa\u3066\u304d\u307e\u3059\u3002\u4eca\u65e5\u306f\u4e21\u65b9\u5b66\u3073\u307e\u3057\u3087\u3046\u3002<\/div>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">CSS\u5358\u4f4d\u306e\u4f7f\u3044\u5206\u3051\u306f\u3001Web\u30b5\u30a4\u30c8\u306e\u300c\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\uff08\u30b9\u30de\u30db\u30fbPC\u4e21\u5bfe\u5fdc\uff09\u300d\u306b\u76f4\u7d50\u3057\u307e\u3059\u3002\u5358\u4f4d\u306e\u9078\u629e\u3092\u9593\u9055\u3048\u308b\u3068\u3001\u30b9\u30de\u30db\u3067\u898b\u305f\u3068\u304d\u306b\u6587\u5b57\u304c\u6975\u5c0f\u306b\u306a\u3063\u305f\u308a\u3001\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u5d29\u308c\u305f\u308a\u3057\u307e\u3059\u3002\u3053\u306e\u57fa\u790e\u77e5\u8b58\u306f\u4eca\u3067\u3082\u91cd\u8981\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u7d76\u5bfe\u5024\u3068\u76f8\u5bfe\u5024<\/strong>\u306e\u9055\u3044\u304c\u7406\u89e3\u3067\u304d\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>px\u30fb%\u30fbem\u30fbrem\u30fbvw<\/strong>\u305d\u308c\u305e\u308c\u306e\u7279\u6027\u3068\u4f7f\u3044\u3069\u3053\u308d\u304c\u308f\u304b\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3<\/strong>\u3067\u4f7f\u3046\u3079\u304d\u5358\u4f4d\u306e\u9078\u3073\u65b9\u304c\u660e\u78ba\u306b\u306a\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>Claude Code<\/strong>\u3067CSS\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b\u5177\u4f53\u7684\u306a\u624b\u9806\u304c\u308f\u304b\u308b<\/span><\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-css-units-2&#038;blog_slug=cc-css-units-2\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-css-units-2&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-01\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">01<\/span>\n  <span class=\"section-label\" style=\"display:block;\">UNIT TYPES<\/span>\n  <span class=\"section-title\" style=\"display:block;\">CSS\u306e\u5358\u4f4d\u2014\u2014\u300c\u7d76\u5bfe\u5024\u300d\u3068\u300c\u76f8\u5bfe\u5024\u300d\u306e2\u7a2e\u985e\u3092\u7406\u89e3\u3059\u308b<\/span>\n  <span class=\"section-desc\">\u5168\u3066\u306e\u5358\u4f4d\u306f\u3053\u306e2\u5206\u985e\u306b\u5165\u308b\u3002\u307e\u305a\u3053\u3053\u3092\u7406\u89e3\u3059\u308b<\/span>\n<\/h2>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>CSS\uff08Cascading Style Sheets\uff09<\/strong>\uff1aWeb\u30da\u30fc\u30b8\u306e\u898b\u305f\u76ee\uff08\u8272\u30fb\u30b5\u30a4\u30ba\u30fb\u30ec\u30a4\u30a2\u30a6\u30c8\u30fb\u30d5\u30a9\u30f3\u30c8\uff09\u3092\u5b9a\u7fa9\u3059\u308b\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u8a00\u8a9e\u3002HTML\u304c\u300c\u69cb\u9020\u300d\u3092\u62c5\u3046\u306e\u306b\u5bfe\u3057\u3001CSS\u306f\u300c\u898b\u305f\u76ee\u300d\u3092\u62c5\u3046\u3002\u3059\u3079\u3066\u306eWeb\u30b5\u30a4\u30c8\u306e\u8996\u899a\u7684\u306a\u30c7\u30b6\u30a4\u30f3\u306f\u3001CSS\u3067\u5236\u5fa1\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">CSS\u306e\u30b5\u30a4\u30ba\u6307\u5b9a\u5358\u4f4d\u306f\u5927\u304d\u304f<strong>\u300c\u7d76\u5bfe\u5024\u300d<\/strong>\u3068<strong>\u300c\u76f8\u5bfe\u5024\u300d<\/strong>\u306e2\u7a2e\u985e\u306b\u5206\u3051\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u5206\u985e<\/th><th>\u610f\u5473<\/th><th>\u4ee3\u8868\u7684\u306a\u5358\u4f4d<\/th><th>\u7279\u5fb4<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u7d76\u5bfe\u5024<\/td><td>\u56fa\u5b9a\u3055\u308c\u305f\u5927\u304d\u3055\u3002\u753b\u9762\u30b5\u30a4\u30ba\u306b\u4f9d\u5b58\u3057\u306a\u3044<\/td><td>px\uff08\u30d4\u30af\u30bb\u30eb\uff09<\/td><td>\u5e38\u306b\u540c\u3058\u30b5\u30a4\u30ba\u3067\u8868\u793a\u3055\u308c\u308b<\/td><\/tr>\n<tr><td>\u76f8\u5bfe\u5024<\/td><td>\u57fa\u6e96\u3068\u306a\u308b\u5024\u304b\u3089\u306e\u76f8\u5bfe\u7684\u306a\u5927\u304d\u3055<\/td><td>%\u30fbem\u30fbrem\u30fbvw\u30fbvh<\/td><td>\u753b\u9762\u30fb\u89aa\u8981\u7d20\u30fb\u30eb\u30fc\u30c8\u30d5\u30a9\u30f3\u30c8\u306b\u9023\u52d5\u3057\u3066\u5909\u5316\u3059\u308b<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c\u76f8\u5bfe\u5024\u304c\u826f\u3044\u30fb\u7d76\u5bfe\u5024\u304c\u60aa\u3044\u300d\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u305d\u308c\u305e\u308c\u306b\u9069\u5207\u306a\u4f7f\u3044\u3069\u3053\u308d\u304c\u3042\u308a\u3001<strong>\u4f7f\u3046\u5834\u9762\u306b\u3088\u3063\u3066\u4f7f\u3044\u5206\u3051\u308b<\/strong>\u306e\u304c\u6b63\u3057\u3044\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3<\/strong>\uff1aPC\u30fb\u30bf\u30d6\u30ec\u30c3\u30c8\u30fb\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u306a\u3069\u3001\u7570\u306a\u308b\u753b\u9762\u30b5\u30a4\u30ba\u306e\u30c7\u30d0\u30a4\u30b9\u3067\u9069\u5207\u306b\u8868\u793a\u3055\u308c\u308bWeb\u30c7\u30b6\u30a4\u30f3\u3002\u73fe\u5728\u306eWeb\u30b5\u30a4\u30c8\u306f\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u304c\u904e\u534a\u6570\u3092\u5360\u3081\u308b\u305f\u3081\u3001\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u306f\u5b9f\u8cea\u7684\u306b\u5fc5\u9808\u3002\u76f8\u5bfe\u5024\uff08%\u30fbrem\u30fbvw\u7b49\uff09\u3092\u4f7f\u3046\u3068\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u304c\u5bb9\u6613\u306b\u306a\u308b\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u7279\u306b\u8fd1\u5e74\u91cd\u8981\u306a\u306e\u304c<strong>\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3<\/strong>\u3078\u306e\u5bfe\u5fdc\u3067\u3059\u30022026\u5e74\u73fe\u5728\u3001Web\u30b5\u30a4\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306e60\u301c70%\u306f\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u304b\u3089\u3067\u3059\u3002px\u3067\u5168\u3066\u56fa\u5b9a\u30b5\u30a4\u30ba\u306b\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u30b9\u30de\u30db\u3067\u898b\u305f\u3068\u304d\u6587\u5b57\u304c\u5c0f\u3055\u3059\u304e\u3066\u30ba\u30fc\u30e0\u5fc5\u9808\u306b\u306a\u308b\u30b5\u30a4\u30c8\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-css-units-2&#038;blog_slug=cc-css-units-2\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-css-units-2&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-02\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">02<\/span>\n  <span class=\"section-label\" style=\"display:block;\">PX<\/span>\n  <span class=\"section-title\" style=\"display:block;\">px\u2014\u2014\u56fa\u5b9a\u30b5\u30a4\u30ba\u6307\u5b9a\u306e\u57fa\u672c\u3068\u6b63\u3057\u3044\u4f7f\u3044\u3069\u3053\u308d<\/span>\n  <span class=\"section-desc\">\u6700\u3082\u76f4\u611f\u7684\u306a\u5358\u4f4d\u3068\u3001\u4f7f\u3046\u3079\u304d\u5834\u9762\u30fb\u907f\u3051\u308b\u3079\u304d\u5834\u9762<\/span>\n<\/h2>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>px\uff08\u30d4\u30af\u30bb\u30eb\uff09<\/strong>\uff1aWeb\u30b5\u30a4\u30c8\u3092\u8868\u793a\u3059\u308b\u30e2\u30cb\u30bf\u30fc\u306e\u300c\u70b9\uff08\u30c9\u30c3\u30c8\uff09\u300d\u306e\u6570\u3092\u57fa\u6e96\u306b\u3057\u305f\u30b5\u30a4\u30ba\u6307\u5b9a\u30021px\u306f\u57fa\u672c\u7684\u306b\u753b\u9762\u306e1\u30c9\u30c3\u30c8\u306b\u76f8\u5f53\u3002\u7269\u7406\u7684\u306b\u56fa\u5b9a\u3055\u308c\u305f\u30b5\u30a4\u30ba\u306e\u305f\u3081\u3001\u753b\u9762\u30b5\u30a4\u30ba\u3084\u89aa\u8981\u7d20\u306e\u30b5\u30a4\u30ba\u306b\u5f71\u97ff\u3055\u308c\u306a\u3044\u300c\u7d76\u5bfe\u5024\u300d\u3068\u3057\u3066\u52d5\u4f5c\u3059\u308b\u3002\u6700\u3082\u76f4\u611f\u7684\u3067\u308f\u304b\u308a\u3084\u3059\u3044\u5358\u4f4d\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">px\u306f\u300c\u4f55px\uff1d\u4f55\u30bb\u30f3\u30c1\u300d\u3068\u3044\u3046\u76f4\u611f\u7684\u306a\u5909\u63db\u306f\u3067\u304d\u307e\u305b\u3093\u304c\u3001<strong>\u300c\u6307\u5b9a\u3057\u305f\u6570\u5024\u901a\u308a\u306e\u30b5\u30a4\u30ba\u3067\u5fc5\u305a\u8868\u793a\u3055\u308c\u308b\u300d<\/strong>\u3068\u3044\u3046\u4e88\u6e2c\u53ef\u80fd\u6027\u304c\u6700\u5927\u306e\u5f37\u307f\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2-1. px\u304c\u5411\u3044\u3066\u3044\u308b\u7528\u9014<\/h3>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u30dc\u30fc\u30c0\u30fc\uff08\u67a0\u7dda\uff09\u306e\u592a\u3055<\/strong>\uff1aborder: 1px solid #ccc \u2014 1px\u306e\u7d30\u3044\u7dda\u3092\u5e38\u306b\u4fdd\u3064<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u30a2\u30a4\u30b3\u30f3\u30fb\u30ed\u30b4\u306e\u30b5\u30a4\u30ba<\/strong>\uff1a\u56fa\u5b9a\u30b5\u30a4\u30ba\u3067\u8868\u793a\u3057\u305f\u3044\u753b\u50cf<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>padding\u306e\u7d30\u304b\u3044\u8abf\u6574<\/strong>\uff1a4px\u30fb8px\u30fb12px\u306a\u3069\u306e\u30b0\u30ea\u30c3\u30c9\u30b7\u30b9\u30c6\u30e0\u30d9\u30fc\u30b9\u306e\u4f59\u767d<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u30b7\u30e3\u30c9\u30a6\u30fb\u30a2\u30a6\u30c8\u30e9\u30a4\u30f3<\/strong>\uff1abox-shadow: 2px 2px 4px #000 \u2014 \u56fa\u5b9a\u306e\u5f71\u306e\u5927\u304d\u3055<\/span><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2-2. px\u3092\u907f\u3051\u308b\u3079\u304d\u5834\u9762<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\uff08font-size\uff09\u306b<strong>px\u3092\u4f7f\u3046\u3053\u3068\u306b\u306f\u6ce8\u610f\u304c\u5fc5\u8981<\/strong>\u3067\u3059\u3002\u591a\u304f\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u306f\u30e6\u30fc\u30b6\u30fc\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u304c\u3001px\u3067\u56fa\u5b9a\u3059\u308b\u3068\u3001\u305d\u306e\u30e6\u30fc\u30b6\u30fc\u8a2d\u5b9a\u304c\u7121\u8996\u3055\u308c\u307e\u3059\u3002\u8996\u899a\u969c\u5bb3\u306e\u3042\u308b\u30e6\u30fc\u30b6\u30fc\u304c\u30d5\u30a9\u30f3\u30c8\u3092\u5927\u304d\u304f\u8a2d\u5b9a\u3057\u3066\u3044\u3066\u3082\u3001px\u3067\u56fa\u5b9a\u3059\u308b\u3068\u52b9\u304b\u306a\u3044\u305f\u3081\u3001<strong>\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u306e\u554f\u984c<\/strong>\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#fef2f2;border:2px solid #dc2626;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:20px;\">&#9888;&#65039;<\/span>\n    <strong style=\"color:#dc2626;font-size:16px;\">\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u306bpx\u3092\u4f7f\u3046\u306e\u306f\u975e\u63a8\u5968<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">body\u30fbp\u30fbh1\u306a\u3069\u306e\u30c6\u30ad\u30b9\u30c8\u8981\u7d20\u306efont-size\u306bpx\u3092\u4f7f\u3046\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u8a2d\u5b9a\u3092\u4e0a\u66f8\u304d\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\uff08\u5229\u7528\u3057\u3084\u3059\u3055\uff09\u3092\u8003\u616e\u3059\u308b\u3068\u3001\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u306frem\u3092\u4f7f\u3046\u65b9\u304c\u6b63\u3057\u3044\u8a2d\u8a08\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">px\u306e\u4f7f\u3044\u65b9\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">px\u306f\u300c\u5e38\u306b\u540c\u3058\u30b5\u30a4\u30ba\u3067\u8868\u793a\u3057\u305f\u3044\u3082\u306e\u300d\u306b\u4f7f\u3046\u3002\u5177\u4f53\u7684\u306b\u306f\u300c\u67a0\u7dda\u30fb\u30b7\u30e3\u30c9\u30a6\u30fb\u30a2\u30a4\u30b3\u30f3\u30fb\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u306e\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u6307\u5b9a\u300d\u3002\u30c6\u30ad\u30b9\u30c8\u30fb\u30ec\u30a4\u30a2\u30a6\u30c8\u8981\u7d20\u306e\u30b5\u30a4\u30ba\u306b\u306f\u76f8\u5bfe\u5024\uff08rem\u30fb%\uff09\u3092\u4f7f\u3046\u65b9\u304c\u3001\u3088\u308a\u67d4\u8edf\u3067\u30a2\u30af\u30bb\u30b7\u30d6\u30eb\u306a\u30b5\u30a4\u30c8\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-css-units-2&#038;blog_slug=cc-css-units-2\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-css-units-2&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-03\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">03<\/span>\n  <span class=\"section-label\" style=\"display:block;\">PERCENTAGE<\/span>\n  <span class=\"section-title\" style=\"display:block;\">%\uff08\u30d1\u30fc\u30bb\u30f3\u30c8\uff09\u2014\u2014\u89aa\u8981\u7d20\u3092\u57fa\u6e96\u306b\u3057\u305f\u76f8\u5bfe\u6307\u5b9a<\/span>\n  <span class=\"section-desc\">\u89aa\u8981\u7d20\u306b\u4f9d\u5b58\u3059\u308b\u305f\u3081\u300c\u30b3\u30f3\u30c6\u30ca\u306e\u4e2d\u3067\u5272\u5408\u3092\u6c7a\u3081\u308b\u300d\u3068\u304d\u306b\u4f7f\u3046<\/span>\n<\/h2>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>%\uff08\u30d1\u30fc\u30bb\u30f3\u30c8\uff09<\/strong>\uff1a\u89aa\u8981\u7d20\u306e\u30b5\u30a4\u30ba\u3092100%\u3068\u3057\u3066\u3001\u305d\u306e\u4f55%\u306e\u30b5\u30a4\u30ba\u306b\u3059\u308b\u304b\u3092\u6307\u5b9a\u3059\u308b\u76f8\u5bfe\u5358\u4f4d\u3002\u300cwidth: 50%\u300d\u3068\u66f8\u304f\u3068\u89aa\u8981\u7d20\u306e\u5e45\u306e\u534a\u5206\u306b\u306a\u308b\u3002\u89aa\u8981\u7d20\u306e\u30b5\u30a4\u30ba\u304c\u5909\u308f\u308b\u3068\u81ea\u52d5\u7684\u306b\u8ffd\u5f93\u3059\u308b\u305f\u3081\u3001\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30ec\u30a4\u30a2\u30a6\u30c8\u3067\u975e\u5e38\u306b\u4fbf\u5229\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">%\u306f\u305d\u306e\u540d\u306e\u901a\u308a\u300c\u89aa\u8981\u7d20\u306e\u4f55\u30d1\u30fc\u30bb\u30f3\u30c8\u300d\u3068\u3044\u3046\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"css\" class=\"language-css\">\/* \u89aa\u8981\u7d20\uff08.container\uff09\u306e\u5e45\u306b\u5fdc\u3058\u3066\u81ea\u52d5\u8abf\u6574 *\/\n.container {\n    width: 1200px;  \/* \u56fa\u5b9a\u5e45\u306e\u89aa\u30b3\u30f3\u30c6\u30ca *\/\n}\n.half-width {\n    width: 50%;     \/* \u5e38\u306b\u89aa\u306e50%\uff1d600px *\/\n}\n\n\/* \u753b\u9762\u30b5\u30a4\u30ba\u306b\u5fdc\u3058\u3066\u5909\u5316 *\/\n.full-width {\n    width: 100%;    \/* \u5e38\u306b\u89aa\u8981\u7d20\u306e\u5e45\u3044\u3063\u3071\u3044 *\/\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">3-1. %\u304c\u5411\u3044\u3066\u3044\u308b\u7528\u9014<\/h3>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u30b3\u30f3\u30c6\u30ca\u306e\u5e45\u6307\u5b9a<\/strong>\uff1amax-width: 100% \u3067\u30b9\u30de\u30db\u5bfe\u5fdc\u3092\u78ba\u4fdd<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u30b0\u30ea\u30c3\u30c9\u30ec\u30a4\u30a2\u30a6\u30c8<\/strong>\uff1a\u8981\u7d20\u3092\u6a2a\u306b\u4e26\u3079\u308b\u5272\u308a\u4ed8\u3051\uff0833.33%\u00d73\u5217\u306a\u3069\uff09<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u753b\u50cf\u306e\u5e45<\/strong>\uff1aimg { width: 100%; } \u3067\u89aa\u8981\u7d20\u306b\u53ce\u307e\u308b\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u753b\u50cf<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u30d5\u30ec\u30c3\u30af\u30b9\u30a2\u30a4\u30c6\u30e0\u306e\u5e45<\/strong>\uff1aFlexbox\u3067\u5404\u8981\u7d20\u306e\u5e45\u3092\u5272\u5408\u3067\u7ba1\u7406<\/span><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3-2. %\u306e\u843d\u3068\u3057\u7a74\u2014\u2014\u9ad8\u3055\u6307\u5b9a\u306b\u306f\u6ce8\u610f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">height\uff08\u9ad8\u3055\uff09\u306b%\u3092\u6307\u5b9a\u3059\u308b\u306e\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002height: 50%\u306f\u300c\u89aa\u8981\u7d20\u306e\u9ad8\u3055\u306e50%\u300d\u3067\u3059\u304c\u3001<strong>\u89aa\u8981\u7d20\u306e\u9ad8\u3055\u304c\u660e\u793a\u7684\u306b\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u3068\u7121\u52b9<\/strong>\u306b\u306a\u308b\u30b1\u30fc\u30b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#fef2f2;border:2px solid #dc2626;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:20px;\">&#9888;&#65039;<\/span>\n    <strong style=\"color:#dc2626;font-size:16px;\">height: 100%\u304c\u52b9\u304b\u306a\u3044\u3068\u304d\u306e\u539f\u56e0<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">height: 100%\u3092\u6307\u5b9a\u3057\u3066\u3082\u6709\u52b9\u306b\u306a\u3089\u306a\u3044\u5834\u5408\u3001\u539f\u56e0\u306f\u89aa\u8981\u7d20\u30fb\u3055\u3089\u306b\u4e0a\u306e\u89aa\u8981\u7d20\u306b\u9ad8\u3055\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u307b\u3068\u3093\u3069\u3067\u3059\u3002html\u3068body\u306b\u3082\u300cheight: 100%\u300d\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u89e3\u6c7a\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300c%\u306f\u5e45\uff08width\uff09\u306b\u306f\u4f7f\u3044\u3084\u3059\u3044\u304c\u3001\u9ad8\u3055\uff08height\uff09\u306b\u306f\u5c11\u3057\u7656\u304c\u3042\u308b\u300d\u3068\u899a\u3048\u3066\u304a\u304f\u3068\u5b9f\u52d9\u3067\u8ff7\u308f\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u9ad8\u3055\u306e\u76f8\u5bfe\u6307\u5b9a\u306b\u306f%\u3088\u308avh\u3092\u4f7f\u3046\u306e\u304c\u30b9\u30de\u30fc\u30c8\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-css-units-2&#038;blog_slug=cc-css-units-2\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-css-units-2&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-04\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">04<\/span>\n  <span class=\"section-label\" style=\"display:block;\">EM<\/span>\n  <span class=\"section-title\" style=\"display:block;\">em\u2014\u2014\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u57fa\u6e96\u306b\u3057\u305f\u76f8\u5bfe\u6307\u5b9a\u3068\u843d\u3068\u3057\u7a74<\/span>\n  <span class=\"section-desc\">\u5f37\u529b\u3060\u304c\u300c\u7a4d\u307f\u91cd\u306a\u308a\uff08\u8907\u5408\uff09\u300d\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u306a\u5358\u4f4d<\/span>\n<\/h2>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>em<\/strong>\uff1a\u73fe\u5728\u306e\u8981\u7d20\u307e\u305f\u306f\u89aa\u8981\u7d20\u306efont-size\uff08\u6587\u5b57\u30b5\u30a4\u30ba\uff09\u30921em\u3068\u3057\u3066\u3001\u305d\u308c\u306e\u500d\u6570\u3067\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3059\u308b\u76f8\u5bfe\u5358\u4f4d\u3002\u300c1em = \u73fe\u5728\u306efont-size\u300d\u306a\u306e\u3067\u3001font-size: 16px\u306e\u8981\u7d20\u3067\u306f1em = 16px\u30012em = 32px\u306b\u306a\u308b\u3002\u30c6\u30ad\u30b9\u30c8\u306b\u95a2\u9023\u3059\u308b\u30b5\u30a4\u30ba\uff08\u884c\u9593\u30fb\u4f59\u767d\uff09\u306e\u6307\u5b9a\u306b\u9069\u3057\u3066\u3044\u308b\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">em\u306f\u300c\u6587\u5b57\u30b5\u30a4\u30ba\u306b\u6bd4\u4f8b\u3057\u305f\u30b5\u30a4\u30ba\u6307\u5b9a\u300d\u306b\u5411\u3044\u3066\u3044\u307e\u3059\u3002\u4f8b\u3048\u3070\u300c\u6587\u5b57\u30b5\u30a4\u30ba\u304c\u5909\u308f\u3063\u3066\u3082\u3001\u884c\u9593\u3084\u4f59\u767d\u304c\u6587\u5b57\u306b\u8ffd\u5f93\u3057\u3066\u307b\u3057\u3044\u300d\u3068\u3044\u3046\u30b1\u30fc\u30b9\u3067\u3059\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"css\" class=\"language-css\">p {\n    font-size: 16px;\n    line-height: 1.6em;  \/* 16px \u00d7 1.6 = 25.6px \u306e\u884c\u9593 *\/\n    padding: 1em;        \/* 16px \u00d7 1 = 16px \u306e\u5185\u5074\u4f59\u767d *\/\n}\n\n\/* font-size\u304c\u5909\u308f\u3063\u3066\u3082\u6bd4\u7387\u306f\u4fdd\u305f\u308c\u308b *\/\n.large-text {\n    font-size: 24px;\n    line-height: 1.6em;  \/* 24px \u00d7 1.6 = 38.4px \u306e\u884c\u9593\uff08\u81ea\u52d5\u8ffd\u5f93\uff09 *\/\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">4-1. em\u306e\u843d\u3068\u3057\u7a74\u2014\u2014\u300c\u8907\u5408\u300d\u306b\u3088\u308b\u4e88\u671f\u305b\u306c\u30b5\u30a4\u30ba\u5909\u52d5<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">em\u306e\u6700\u5927\u306e\u554f\u984c\u70b9\u306f\u3001<strong>\u30cd\u30b9\u30c8\uff08\u5165\u308c\u5b50\uff09\u69cb\u9020\u3067\u8907\u5408\u3059\u308b<\/strong>\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"css\" class=\"language-css\">\/* body: 16px *\/\nbody { font-size: 16px; }\n\n\/* .parent: 1.5em = 16 \u00d7 1.5 = 24px *\/\n.parent { font-size: 1.5em; }\n\n\/* .child: 1.5em = 24 \u00d7 1.5 = 36px \u2190 \u610f\u56f3\u305b\u305a\u5927\u304d\u304f\u306a\u308b *\/\n.child { font-size: 1.5em; }\n\n\/* .grandchild: 1.5em = 36 \u00d7 1.5 = 54px \u2190 \u3055\u3089\u306b\u5927\u304d\u304f\u306a\u308b *\/\n.grandchild { font-size: 1.5em; }<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cfont-size\u306b1.5em\u3092\u6307\u5b9a\u3057\u305f\u3060\u3051\u306a\u306e\u306b\u3001\u5165\u308c\u5b50\u304c\u6df1\u3044\u3068\u6587\u5b57\u304c\u7206\u767a\u7684\u306b\u5927\u304d\u304f\u306a\u308b\u300d\u3068\u3044\u3046\u554f\u984c\u3067\u3059\u3002\u3053\u306e\u300c\u8907\u5408\u300d\u306e\u305b\u3044\u3067\u3001<strong>font-size\u306e\u6307\u5b9a\u306bem\u3092\u4f7f\u3046\u306e\u306f\u907f\u3051\u305f\u65b9\u304c\u826f\u3044<\/strong>\u3068\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">em\u306fpadding\u30fbline-height\u306b\u4f7f\u3046\u306e\u304c\u30d9\u30b9\u30c8<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">font-size\u306b\u306frem\u3092\u4f7f\u3044\u3001padding\u3068line-height\u306bem\u3092\u4f7f\u3046\u306e\u304c\u73fe\u4ee3\u306eCSS\u8a2d\u8a08\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3067\u3059\u3002\u300c\u30c6\u30ad\u30b9\u30c8\u306e\u30b5\u30a4\u30ba\u306b\u9023\u52d5\u3057\u305f\u4f59\u767d\u30fb\u884c\u9593\u300d\u306fem\u3067\u3001\u300c\u30da\u30fc\u30b8\u5168\u4f53\u306e\u6587\u5b57\u30b5\u30a4\u30ba\u57fa\u6e96\u300d\u306frem\u3067\u7ba1\u7406\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-css-units-2&#038;blog_slug=cc-css-units-2\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-css-units-2&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-05\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">05<\/span>\n  <span class=\"section-label\" style=\"display:block;\">REM<\/span>\n  <span class=\"section-title\" style=\"display:block;\">rem\u2014\u2014\u30eb\u30fc\u30c8\u8981\u7d20\u3092\u57fa\u6e96\u306b\u3057\u305f\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u76f8\u5bfe\u6307\u5b9a<\/span>\n  <span class=\"section-desc\">em\u306e\u8907\u5408\u554f\u984c\u3092\u89e3\u6c7a\u3057\u305f\u300c\u73fe\u4ee3\u306e\u30c7\u30d5\u30a1\u30af\u30c8\u30b9\u30bf\u30f3\u30c0\u30fc\u30c9\u300d<\/span>\n<\/h2>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>rem\uff08Root EM\uff09<\/strong>\uff1a\u30eb\u30fc\u30c8\u8981\u7d20\uff08html\u8981\u7d20\uff09\u306efont-size\u30921rem\u3068\u3057\u3066\u6307\u5b9a\u3059\u308b\u76f8\u5bfe\u5358\u4f4d\u3002\u30d6\u30e9\u30a6\u30b6\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306f16px\uff08html { font-size: 16px; }\uff09\u306a\u306e\u3067\u30011rem = 16px\u3002em\u3068\u306e\u9055\u3044\u306f\u300c\u89aa\u8981\u7d20\u3067\u306f\u306a\u304fhtml\u306e\u6307\u5b9a\u3092\u57fa\u6e96\u306b\u3059\u308b\u300d\u70b9\u3002\u30cd\u30b9\u30c8\u3057\u3066\u3082\u8907\u5408\u3057\u306a\u3044\u305f\u3081\u3001em\u3088\u308a\u4e88\u6e2c\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">rem\u304c\u73fe\u4ee3CSS\u306e\u300c\u30c7\u30d5\u30a1\u30af\u30c8\u30b9\u30bf\u30f3\u30c0\u30fc\u30c9\u300d\u3068\u3057\u3066\u666e\u53ca\u3057\u305f\u7406\u7531\u306f\u3001<strong>\u300c\u5165\u308c\u5b50\u304c\u6df1\u304f\u306a\u3063\u3066\u3082\u5e38\u306bhtml\u8981\u7d20\u306efont-size\u3092\u57fa\u6e96\u306b\u3059\u308b\u300d<\/strong>\u305f\u3081\u3001\u8907\u5408\u554f\u984c\u304c\u8d77\u304d\u306a\u3044\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"css\" class=\"language-css\">\/* html\u8981\u7d20\u306efont-size\u3092\u57fa\u6e96\u5024\u3068\u3057\u3066\u8a2d\u5b9a *\/\nhtml {\n    font-size: 16px;  \/* 1rem = 16px *\/\n}\n\n\/* \u5165\u308c\u5b50\u304c\u6df1\u304f\u306a\u3063\u3066\u3082\u540c\u3058\u57fa\u6e96 *\/\n.parent { font-size: 1.5rem; }   \/* 16 \u00d7 1.5 = 24px *\/\n.child { font-size: 1.5rem; }    \/* 16 \u00d7 1.5 = 24px\uff08\u8907\u5408\u3057\u306a\u3044\uff01\uff09 *\/\n.grandchild { font-size: 1.5rem; } \/* 16 \u00d7 1.5 = 24px\uff08\u540c\u3058\uff09 *\/<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">5-1. rem\u306e\u4f7f\u3044\u3069\u3053\u308d<\/h3>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>font-size\uff08\u6587\u5b57\u30b5\u30a4\u30ba\uff09<\/strong>\uff1a\u5168\u3066\u306e\u898b\u51fa\u3057\u30fb\u672c\u6587\u30fb\u30e9\u30d9\u30eb\u306e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>padding\u3068margin\u306e\u57fa\u6e96\u5024<\/strong>\uff1aspacing \u30b9\u30b1\u30fc\u30eb\uff080.5rem\u30fb1rem\u30fb1.5rem\u30fb2rem\uff09<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u5e45\u30fb\u9ad8\u3055<\/strong>\uff1a\u56fa\u5b9a\u30b5\u30a4\u30ba\u304c\u6b32\u3057\u3044\u304c\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u3082\u78ba\u4fdd\u3057\u305f\u3044\u5834\u5408<\/span><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">5-2. rem\u306862.5%\u30c6\u30af\u30cb\u30c3\u30af<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">html { font-size: 62.5%; }\uff08=10px\uff09\u3068\u8a2d\u5b9a\u3059\u308b\u300c62.5%\u30c6\u30af\u30cb\u30c3\u30af\u300d\u304c\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a1rem = 10px\u306b\u306a\u308a\u3001\u300c1.6rem = 16px\u300d\u300c2.4rem = 24px\u300d\u3068\u8a08\u7b97\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"css\" class=\"language-css\">\/* 62.5%\u30c6\u30af\u30cb\u30c3\u30af\uff1a1rem = 10px \u306b\u3059\u308b *\/\nhtml {\n    font-size: 62.5%; \/* \u30c7\u30d5\u30a9\u30eb\u30c816px \u00d7 62.5% = 10px *\/\n}\n\nbody {\n    font-size: 1.6rem; \/* 10 \u00d7 1.6 = 16px *\/\n}\n\nh1 {\n    font-size: 3.2rem; \/* 10 \u00d7 3.2 = 32px *\/\n}\n\n\/* px\u3067\u8003\u3048\u3066rem\u3067\u66f8\u3051\u308b\u306e\u3067\u76f4\u611f\u7684 *\/<\/code><\/pre>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">\u73fe\u4ee3\u306eCSS\u8a2d\u8a08\uff1arem\u3092\u8ef8\u306b\u3057\u305f\u8a2d\u8a08\u306e\u6d41\u308c<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">html\u8981\u7d20\u306b\u57fa\u6e96font-size\u3092\u8a2d\u5b9a\u2192\u5168\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092rem\u3067\u6307\u5b9a\u2192\u4f59\u767d\u30fb\u884c\u9593\u306fem\u3067\u6307\u5b9a\u2192\u5e45\u306fmax-width + %\u307e\u305f\u306fvw\u3067\u6307\u5b9a\u2014\u2014\u3053\u306e\u8a2d\u8a08\u30d1\u30bf\u30fc\u30f3\u3092\u4f7f\u3046\u3068\u3001\u4e00\u7b87\u6240\uff08html font-size\uff09\u3092\u5909\u3048\u308b\u3060\u3051\u3067\u5168\u4f53\u306e\u30b9\u30b1\u30fc\u30eb\u5909\u66f4\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">rem\u304c\u666e\u53ca\u3057\u305f\u7406\u7531\u306f\u300c\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u5bfe\u5fdc\u300d\u3067\u3059\u3002\u8996\u899a\u969c\u5bb3\u306e\u3042\u308b\u30e6\u30fc\u30b6\u30fc\u304c\u30d6\u30e9\u30a6\u30b6\u306e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u5927\u304d\u304f\u8a2d\u5b9a\u3059\u308b\u3068\u3001rem\u3067\u6307\u5b9a\u3055\u308c\u305f\u30b5\u30a4\u30c8\u306f\u305d\u308c\u306b\u8ffd\u5f93\u3057\u3066\u5927\u304d\u304f\u8868\u793a\u3055\u308c\u307e\u3059\u3002px\u3067\u56fa\u5b9a\u3055\u308c\u305f\u30b5\u30a4\u30c8\u306f\u53cd\u5fdc\u3057\u307e\u305b\u3093\u3002\u30e6\u30fc\u30b6\u30fc\u3078\u306e\u601d\u3044\u3084\u308a\u304c\u5358\u4f4d\u9078\u629e\u306b\u73fe\u308c\u3066\u3044\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-css-units-2&#038;blog_slug=cc-css-units-2\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-css-units-2&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-06\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">06<\/span>\n  <span class=\"section-label\" style=\"display:block;\">VW VH<\/span>\n  <span class=\"section-title\" style=\"display:block;\">vw\u30fbvh\u30fb\u305d\u306e\u4ed6\u306e\u5358\u4f4d\u2014\u2014\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u57fa\u6e96\u306e\u6307\u5b9a<\/span>\n  <span class=\"section-desc\">\u753b\u9762\u30b5\u30a4\u30ba\u305d\u306e\u3082\u306e\u3092\u57fa\u6e96\u306b\u3059\u308b\u5f37\u529b\u306a\u30e2\u30c0\u30f3\u5358\u4f4d<\/span>\n<\/h2>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>vw\u30fbvh\uff08\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u5358\u4f4d\uff09<\/strong>\uff1avw\u306fViewport Width\uff08\u8868\u793a\u30a8\u30ea\u30a2\u306e\u5e45\uff09\u306e1%\u3001vh\u306fViewport Height\uff08\u8868\u793a\u30a8\u30ea\u30a2\u306e\u9ad8\u3055\uff09\u306e1%\u3092\u610f\u5473\u3059\u308b\u5358\u4f4d\u3002\u30d6\u30e9\u30a6\u30b6\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30b5\u30a4\u30ba\u305d\u306e\u3082\u306e\u3092\u57fa\u6e96\u306b\u3059\u308b\u305f\u3081\u3001\u753b\u9762\u5168\u4f53\u306b\u5bfe\u3057\u3066\u306e\u6bd4\u7387\u3067\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3067\u304d\u308b\u3002\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3\u3067\u975e\u5e38\u306b\u6709\u7528\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">vw\/vh\u306f\u300c\u30d6\u30e9\u30a6\u30b6\u306e\u8868\u793a\u30a8\u30ea\u30a2\uff08\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\uff09\u300d\u3092\u57fa\u6e96\u306b\u3057\u307e\u3059\uff1a<\/p>\n\n\n\n<table>\n<thead><tr><th>\u5358\u4f4d<\/th><th>\u610f\u5473<\/th><th>\u4f7f\u7528\u4f8b<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>vw<\/td><td>Viewport Width \u306e1%<\/td><td>100vw = \u753b\u9762\u5e45\u3044\u3063\u3071\u3044<\/td><\/tr>\n<tr><td>vh<\/td><td>Viewport Height \u306e1%<\/td><td>100vh = \u753b\u9762\u9ad8\u3055\u3044\u3063\u3071\u3044<\/td><\/tr>\n<tr><td>vmin<\/td><td>vw\u3068vh\u306e\u5c0f\u3055\u3044\u65b9<\/td><td>\u753b\u9762\u306e\u77ed\u8fba\u3092\u57fa\u6e96\u306b\u3057\u305f\u3044\u5834\u5408<\/td><\/tr>\n<tr><td>vmax<\/td><td>vw\u3068vh\u306e\u5927\u304d\u3044\u65b9<\/td><td>\u753b\u9762\u306e\u9577\u8fba\u3092\u57fa\u6e96\u306b\u3057\u305f\u3044\u5834\u5408<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h3 class=\"wp-block-heading\">6-1. vh\u306e\u5178\u578b\u7684\u306a\u4f7f\u3044\u3069\u3053\u308d<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">vh\u306e\u6700\u3082\u3088\u304f\u4f7f\u308f\u308c\u308b\u30b1\u30fc\u30b9\u306f<strong>\u300c\u753b\u9762\u5168\u4f53\u3092\u8986\u3046\u30d2\u30fc\u30ed\u30fc\uff08FV\uff09\u30bb\u30af\u30b7\u30e7\u30f3\u300d<\/strong>\u3067\u3059\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"css\" class=\"language-css\">\/* \u30d5\u30a1\u30fc\u30b9\u30c8\u30d3\u30e5\u30fc\u3092\u753b\u9762\u9ad8\u3055\u3044\u3063\u3071\u3044\u306b\u8868\u793a *\/\n.hero-section {\n    height: 100vh;       \/* \u753b\u9762\u306e\u9ad8\u3055100% *\/\n    width: 100%;\n    background-color: #1a1a1a;\n    display: flex;\n    align-items: center; \/* \u7e26\u65b9\u5411\u306b\u4e2d\u592e\u63c3\u3048 *\/\n}\n\n\/* \u30b9\u30de\u30db\u306e\u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u3092\u8003\u616e\u3057\u305f\u6307\u5b9a *\/\n.hero-section {\n    height: 100svh; \/* \u65b0\u3057\u3044\u5358\u4f4d\uff1a\u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u542b\u3080\u5b9f\u969b\u306e\u9ad8\u3055 *\/\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">6-2. vw\u306e\u4f7f\u3044\u3069\u3053\u308d\u3068\u6ce8\u610f\u70b9<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">vw\u306f\u30c6\u30ad\u30b9\u30c8\u306e\u30b5\u30a4\u30ba\u6307\u5b9a\u306b\u3082\u4f7f\u3048\u307e\u3059\u3002\u300cfluid typography\uff08\u6d41\u4f53\u30bf\u30a4\u30dd\u30b0\u30e9\u30d5\u30a3\uff09\u300d\u3068\u547c\u3070\u308c\u308b\u6280\u6cd5\u3067\u3001\u753b\u9762\u30b5\u30a4\u30ba\u306b\u5b8c\u5168\u306b\u9023\u52d5\u3057\u305f\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"css\" class=\"language-css\">\/* clamp()\u3092\u4f7f\u3063\u305ffluid typography *\/\nh1 {\n    \/* \u6700\u5c0f16px\u3001\u6700\u592748px\u3001\u753b\u9762\u5e45\u306b\u5fdc\u3058\u3066\u5909\u5316 *\/\n    font-size: clamp(1rem, 5vw, 3rem);\n}<\/code><\/pre>\n\n\n\n<div style=\"background:#fef2f2;border:2px solid #dc2626;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:20px;\">&#9888;&#65039;<\/span>\n    <strong style=\"color:#dc2626;font-size:16px;\">vw\u306b\u6a2a\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u554f\u984c<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">100vw\u306f\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u306e\u5e45\u3092\u542b\u3080\u5834\u5408\u304c\u3042\u308a\u3001\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u304c\u8868\u793a\u3055\u308c\u308b\u3068\u6a2a\u30b9\u30af\u30ed\u30fc\u30eb\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u5e45\u306e\u6307\u5b9a\u306b\u306f100vw\u3088\u308a100%\u3092\u512a\u5148\u3057\u3001vw\u306f\u7279\u6b8a\u306a\u30b1\u30fc\u30b9\u306e\u307f\u4f7f\u7528\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-css-units-2&#038;blog_slug=cc-css-units-2\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-css-units-2&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-07\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">07<\/span>\n  <span class=\"section-label\" style=\"display:block;\">QUICK REFERENCE<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u5358\u4f4d\u306e\u4f7f\u3044\u5206\u3051\u65e9\u898b\u8868\u2014\u2014\u30d7\u30ed\u304c\u9078\u3076\u5834\u9762\u5225\u63a8\u5968<\/span>\n  <span class=\"section-desc\">\u3069\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u4f55\u3092\u4f7f\u3046\u304b\u3092\u8868\u3067\u4e00\u6c17\u306b\u6574\u7406\u3059\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c\u7d50\u5c40\u3069\u308c\u3092\u4f7f\u3048\u3070\u3044\u3044\u306e\uff1f\u300d\u3068\u3044\u3046\u7591\u554f\u306b\u7b54\u3048\u308b\u65e9\u898b\u8868\u3067\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>CSS\u30d7\u30ed\u30d1\u30c6\u30a3<\/th><th>\u63a8\u5968\u5358\u4f4d<\/th><th>\u7406\u7531<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>font-size\uff08\u6587\u5b57\u30b5\u30a4\u30ba\uff09<\/td><td>rem<\/td><td>\u30d6\u30e9\u30a6\u30b6\u8a2d\u5b9a\u306b\u8ffd\u5f93\u3001\u8907\u5408\u3057\u306a\u3044<\/td><\/tr>\n<tr><td>line-height\uff08\u884c\u9593\uff09<\/td><td>em \u307e\u305f\u306f \u5358\u4f4d\u306a\u3057<\/td><td>\u6587\u5b57\u30b5\u30a4\u30ba\u306b\u9023\u52d5\u3057\u305f\u884c\u9593<\/td><\/tr>\n<tr><td>padding\u30fbmargin\uff08\u4f59\u767d\uff09<\/td><td>rem \u307e\u305f\u306f em<\/td><td>rem\uff1a\u30da\u30fc\u30b8\u5168\u4f53\u7d71\u4e00\u3001em\uff1a\u6587\u5b57\u30b5\u30a4\u30ba\u9023\u52d5<\/td><\/tr>\n<tr><td>width\uff08\u5e45\uff09<\/td><td>% \u307e\u305f\u306f vw<\/td><td>\u89aa\u8981\u7d20\u30fb\u753b\u9762\u5e45\u306b\u9023\u52d5\u3059\u308b\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc<\/td><\/tr>\n<tr><td>height\uff08\u9ad8\u3055\uff09<\/td><td>vh \u307e\u305f\u306fauto<\/td><td>\u753b\u9762\u9ad8\u3055\u57fa\u6e96\u30fb\u30b3\u30f3\u30c6\u30f3\u30c4\u4f9d\u5b58<\/td><\/tr>\n<tr><td>max-width\uff08\u6700\u5927\u5e45\uff09<\/td><td>px \u307e\u305f\u306f rem<\/td><td>\u56fa\u5b9a\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u30b3\u30f3\u30c6\u30ca\u306b<\/td><\/tr>\n<tr><td>border\uff08\u67a0\u7dda\uff09<\/td><td>px<\/td><td>\u7d30\u7dda\u306f\u5e38\u306b1px\u56fa\u5b9a\u304c\u6b63\u78ba<\/td><\/tr>\n<tr><td>box-shadow<\/td><td>px<\/td><td>\u5f71\u306e\u5927\u304d\u3055\u306f\u56fa\u5b9a\u5024\u304c\u76f4\u611f\u7684<\/td><\/tr>\n<tr><td>\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea<\/td><td>em \u307e\u305f\u306f px<\/td><td>em\u63a8\u5968\uff08\u30d6\u30e9\u30a6\u30b6\u30ba\u30fc\u30e0\u306b\u5bfe\u5fdc\uff09<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h3 class=\"wp-block-heading\">7-1. \u30d7\u30ed\u304c\u4f7f\u3046\u5358\u4f4d\u306e\u300c\u512a\u5148\u9806\u4f4d\u300d<\/h3>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\">\u307e\u305arem\u3067\u8a66\u3059<br>\uff08\u6700\u3082\u5b89\u5168\u30fb\u6c4e\u7528\uff09<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">\u5e45\/\u9ad8\u3055\u6bd4\u7387\u304c\u5fc5\u8981<br>\u2192%\u304bvw\/vh<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">\u6587\u5b57\u30b5\u30a4\u30ba\u9023\u52d5\u306e\u4f59\u767d<br>\u2192em<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">\u56fa\u5b9a\u304c\u5fc5\u8981\u306a\u7d30\u90e8<br>\u2192px<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u8ff7\u3063\u305f\u3089rem\u304b\u3089\u59cb\u3081\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002rem\u306f\u300chtml\u306e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u57fa\u6e96\u306b\u3057\u305f\u7d76\u5bfe\u5024\u306b\u8fd1\u3044\u76f8\u5bfe\u5024\u300d\u3068\u3057\u3066\u6a5f\u80fd\u3057\u3001\u4e88\u6e2c\u53ef\u80fd\u3067\u4fdd\u5b88\u3057\u3084\u3059\u3044CSS\u3092\u66f8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u79c1\u304cCSS\u3092\u66f8\u304f\u3068\u304d\u3001\u307e\u305a\u300crem\u30fb%\u30fbvh\u30677\u5272\u66f8\u3044\u3066\u3001\u3069\u3046\u3057\u3066\u3082\u56fa\u5b9a\u304c\u5fc5\u8981\u306a\u3068\u3053\u308d\u3060\u3051px\u3092\u4f7f\u3046\u300d\u3068\u3044\u3046\u6d41\u308c\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u9806\u756a\u3067\u66f8\u304f\u3068\u3001\u81ea\u7136\u3068\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u3055\u308c\u305fCSS\u304c\u3067\u304d\u4e0a\u304c\u308a\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-css-units-2&#038;blog_slug=cc-css-units-2\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-css-units-2&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-07b\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">08<\/span>\n  <span class=\"section-label\" style=\"display:block;\">COMMON MISTAKES<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u521d\u5fc3\u8005\u304c\u3084\u308a\u304c\u3061\u306aCSS\u5358\u4f4d\u306e\u5931\u6557\u30d1\u30bf\u30fc\u30f3\u3068\u6b63\u3057\u3044\u66f8\u304d\u65b9<\/span>\n  <span class=\"section-desc\">\u300c\u306a\u305c\u304b\u5d29\u308c\u308b\u300d\u306e7\u5272\u306f\u3053\u3053\u304c\u539f\u56e0<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">CSS\u306e\u30b5\u30a4\u30ba\u6307\u5b9a\u3067\u3088\u304f\u8d77\u304d\u308b\u300c\u306a\u305c\u304b\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u5d29\u308c\u308b\u300d\u300c\u30b9\u30de\u30db\u3067\u6587\u5b57\u304c\u5c0f\u3055\u3059\u304e\u308b\u300d\u3068\u3044\u3046\u554f\u984c\u306e\u5927\u534a\u306f\u3001\u5358\u4f4d\u306e\u4f7f\u3044\u65b9\u306b\u539f\u56e0\u304c\u3042\u308a\u307e\u3059\u3002\u4ee3\u8868\u7684\u306a\u5931\u6557\u30d1\u30bf\u30fc\u30f3\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">8-1. \u5168\u3066px\u3067\u66f8\u3044\u3066\u3057\u307e\u3046\u30d1\u30bf\u30fc\u30f3<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c\u56fa\u5b9a\u306e\u6570\u5024\u304c\u5b89\u5fc3\u300d\u3068\u3044\u3046\u7406\u7531\u3067font-size\u3082width\u3082\u5168\u3066px\u3067\u66f8\u3044\u3066\u3057\u307e\u3046\u5931\u6557\u3067\u3059\u3002\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3067\u898b\u305f\u3068\u304d\u3001\u30c6\u30ad\u30b9\u30c8\u304c\u6975\u5c0f\u3067\u8aad\u3081\u306a\u3044\u30b5\u30a4\u30c8\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"css\" class=\"language-css\">\/* NG: \u5168\u3066px\u56fa\u5b9a *\/\nbody { font-size: 16px; }\n.container { width: 1200px; }  \/* \u30b9\u30de\u30db\u3067\u306f\u306f\u307f\u51fa\u3059 *\/\n\n\/* OK: \u76f8\u5bfe\u5024\u3092\u6d3b\u7528 *\/\nhtml { font-size: 62.5%; }     \/* 1rem = 10px *\/\nbody { font-size: 1.6rem; }    \/* 16px\u76f8\u5f53 *\/\n.container { max-width: 1200px; width: 100%; }  \/* \u753b\u9762\u306b\u53ce\u307e\u308b *\/<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">8-2. em\u3092\u5165\u308c\u5b50\u306b\u4f7f\u3063\u3066\u6587\u5b57\u304c\u7206\u767a\u3059\u308b\u30d1\u30bf\u30fc\u30f3<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cem\u3092\u4f7f\u3048\u3070\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u3067\u304d\u308b\u300d\u3068\u805e\u3044\u3066\u3001font-size\u306bem\u3092\u4f7f\u3063\u305f\u3089\u5165\u308c\u5b50\u306b\u306a\u3063\u305f\u8981\u7d20\u306e\u6587\u5b57\u304c\u60f3\u5b9a\u5916\u306b\u5927\u304d\u304f\u306a\u3063\u305f\u3001\u3068\u3044\u3046\u5931\u6557\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"css\" class=\"language-css\">\/* NG: font-size\u306bem\u3092\u4f7f\u3063\u3066\u30cd\u30b9\u30c8\u3057\u305f\u5834\u5408 *\/\n.parent { font-size: 1.5em; }     \/* 16 \u00d7 1.5 = 24px *\/\n.child { font-size: 1.5em; }      \/* 24 \u00d7 1.5 = 36px \u2190 \u8907\u5408\uff01 *\/\n.grandchild { font-size: 1.5em; } \/* 36 \u00d7 1.5 = 54px \u2190 \u5927\u304d\u3059\u304e *\/\n\n\/* OK: font-size\u306b\u306frem\u3092\u4f7f\u3046 *\/\n.parent { font-size: 1.5rem; }     \/* \u5e38\u306b 16 \u00d7 1.5 = 24px *\/\n.child { font-size: 1.5rem; }      \/* \u5e38\u306b 16 \u00d7 1.5 = 24px *\/\n.grandchild { font-size: 1.5rem; } \/* \u5e38\u306b 16 \u00d7 1.5 = 24px *\/<\/code><\/pre>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">em\u306efont-size\u8907\u5408\u554f\u984c\u306f\u3001\u30d7\u30ed\u306e\u30c7\u30d9\u30ed\u30c3\u30d1\u30fc\u3067\u3082\u4e00\u5ea6\u306f\u30cf\u30de\u308b\u6709\u540d\u306a\u843d\u3068\u3057\u7a74\u3067\u3059\u3002\u300cem\u306fpadding\/line-height\u306b\u3001font-size\u306b\u306frem\u300d\u3068\u3044\u3046\u30eb\u30fc\u30eb\u3092\u6700\u521d\u304b\u3089\u5b88\u308b\u3060\u3051\u3067\u3001\u3053\u306e\u554f\u984c\u306f\u5b8c\u5168\u306b\u907f\u3051\u3089\u308c\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">8-3. height\u306b%\u3092\u4f7f\u3063\u3066\u9ad8\u3055\u304c\u52b9\u304b\u306a\u3044\u30d1\u30bf\u30fc\u30f3<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cheight: 50%\u3067\u89aa\u8981\u7d20\u306e\u534a\u5206\u306e\u9ad8\u3055\u306b\u3057\u305f\u3044\u300d\u3068\u66f8\u3044\u305f\u306e\u306b\u3001\u5168\u304f\u52b9\u304b\u306a\u3044\u30b1\u30fc\u30b9\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"css\" class=\"language-css\">\/* NG: \u89aa\u8981\u7d20\u306e\u9ad8\u3055\u304c\u672a\u6307\u5b9a\u3060\u3068height: %\u304c\u52b9\u304b\u306a\u3044 *\/\n.parent {\n    \/* height\u306e\u6307\u5b9a\u306a\u3057 *\/\n}\n.child {\n    height: 50%; \/* \u52b9\u304b\u306a\u3044\uff01 *\/\n}\n\n\/* OK: \u89aa\u8981\u7d20\u306b\u9ad8\u3055\u3092\u6307\u5b9a\u3059\u308b *\/\n.parent {\n    height: 400px; \/* \u307e\u305f\u306f height: 100vh *\/\n}\n.child {\n    height: 50%; \/* 400px \u00d7 50% = 200px *\/\n}\n\n\/* \u307e\u305f\u306f: vh\u3092\u4f7f\u3046 *\/\n.child {\n    height: 50vh; \/* \u753b\u9762\u9ad8\u3055\u306e50% *\/\n}<\/code><\/pre>\n\n\n\n<div style=\"background:#fef2f2;border:2px solid #dc2626;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:20px;\">&#9888;&#65039;<\/span>\n    <strong style=\"color:#dc2626;font-size:16px;\">height: 100%\u304c\u52b9\u304b\u306a\u3044\u3068\u304d\u306e\u30c1\u30a7\u30c3\u30af\u9805\u76ee<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">(1) \u89aa\u8981\u7d20\u306bheight\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d \/ (2) \u89aa\u8981\u7d20\u306e\u89aa\uff08\u7956\u5148\uff09\u3082\u78ba\u8a8d \/ (3) html\u3068body\u306bheight: 100%\u304c\u5fc5\u8981\u306a\u5834\u5408\u3082\u3042\u308b \/ \u8ff7\u3063\u305f\u3089height\u306b\u306fvh\u3092\u4f7f\u3046\u65b9\u304c\u78ba\u5b9f\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">8-4. vw\u3067\u6a2a\u30b9\u30af\u30ed\u30fc\u30eb\u304c\u51fa\u308b\u30d1\u30bf\u30fc\u30f3<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">width: 100vw\u3092\u4f7f\u3063\u305f\u3089\u3001\u53f3\u306b\u5c11\u3057\u6a2a\u30b9\u30af\u30ed\u30fc\u30eb\u304c\u51fa\u3066\u3057\u307e\u3063\u305f\u3001\u3068\u3044\u3046\u554f\u984c\u3067\u3059\u3002vw\u306f\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u306e\u5e45\u3092\u542b\u3080\u305f\u3081\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u5e45\u306b\u4f7f\u3046\u3068\u5fae\u5999\u306b\u306f\u307f\u51fa\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"css\" class=\"language-css\">\/* NG: vw\u306f\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u306e\u5e45\u3082\u542b\u3080\u5834\u5408\u304c\u3042\u308b *\/\n.full-width {\n    width: 100vw; \/* \u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u5206\u3060\u3051\u306f\u307f\u51fa\u3059\u3053\u3068\u304c\u3042\u308b *\/\n}\n\n\/* OK: \u6a2a\u5e45\u306b\u306f100%\u3092\u4f7f\u3046 *\/\n.full-width {\n    width: 100%; \/* \u89aa\u8981\u7d20\u306e\u5e45 = \u306f\u307f\u51fa\u3055\u306a\u3044 *\/\n}<\/code><\/pre>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u306e\u5e45\u554f\u984c\uff08vw\uff09<\/strong>\uff1aWindows\u30d6\u30e9\u30a6\u30b6\u3067\u306f\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u304cWeb\u30da\u30fc\u30b8\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u5e45\u306e\u5185\u5074\u306b\u8868\u793a\u3055\u308c\u308b\u305f\u3081\u3001width: 100vw\u304c\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u306e\u5e45\uff08\u901a\u5e3815\u301c20px\uff09\u3092\u8d85\u3048\u3066\u6a2a\u30b9\u30af\u30ed\u30fc\u30eb\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u304c\u3042\u308b\u3002\u6a2a\u5e45\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u306fwidth: 100%\u3092\u4f7f\u3044\u3001vw\u306f\u7e26\u65b9\u5411\u3084\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u306a\u3069\u7279\u5b9a\u306e\u7528\u9014\u306b\u9650\u5b9a\u3059\u308b\u306e\u304c\u7121\u96e3\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">8-5. \u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u306e\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u6307\u5b9a<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u306e\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u6307\u5b9a\u306b\u306fpx\u3068em\u306e\u4e21\u65b9\u304c\u5e83\u304f\u4f7f\u308f\u308c\u307e\u3059\u3002em\u3067\u66f8\u304f\u3068\u30d6\u30e9\u30a6\u30b6\u306e\u30ba\u30fc\u30e0\u306b\u5bfe\u3057\u3066\u3088\u308a\u6b63\u78ba\u306b\u52d5\u4f5c\u3057\u307e\u3059\u304c\u3001\u3069\u3061\u3089\u3082\u6709\u52b9\u306a\u9078\u629e\u3067\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u6307\u5b9a\u65b9\u6cd5<\/th><th>\u30b5\u30f3\u30d7\u30eb<\/th><th>\u7279\u5fb4<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>px\u6307\u5b9a<\/td><td>@media (max-width: 768px)<\/td><td>\u76f4\u611f\u7684\u3067\u308f\u304b\u308a\u3084\u3059\u3044\u3002\u6700\u3082\u666e\u53ca\u3057\u3066\u3044\u308b<\/td><\/tr>\n<tr><td>em\u6307\u5b9a<\/td><td>@media (max-width: 48em)<\/td><td>\u30d6\u30e9\u30a6\u30b6\u306e\u30ba\u30fc\u30e0\u30ec\u30d9\u30eb\u306b\u6b63\u78ba\u306b\u5bfe\u5fdc\u3059\u308b<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u306fpx\u3067\u3082em\u3067\u3082\u5b9f\u52d9\u7684\u306b\u306f\u554f\u984c\u306a\u3044<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u30c1\u30fc\u30e0\u306e\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u898f\u7d04\u306b\u5408\u308f\u305b\u308b\u306e\u304c\u6700\u5584\u3002\u500b\u4eba\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306fpx\u6307\u5b9a\u304c\u76f4\u611f\u7684\u3067\u8aad\u307f\u3084\u3059\u3044\u3002\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u3092\u53b3\u683c\u306b\u6c42\u3081\u3089\u308c\u308b\u30b5\u30fc\u30d3\u30b9\u3067\u306fem\u6307\u5b9a\u304c\u63a8\u5968\u3002<\/p>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-css-units-2&#038;blog_slug=cc-css-units-2\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-css-units-2&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-08\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">09<\/span>\n  <span class=\"section-label\" style=\"display:block;\">CLAUDE VS HANDWRITTEN<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u3010\u6bd4\u8f03\u3011CSS\u624b\u66f8\u304d vs Claude Code\u2014\u2014Web\u30b5\u30a4\u30c8\u5236\u4f5c\u306e\u6700\u77ed\u30eb\u30fc\u30c8<\/span>\n  <span class=\"section-desc\">CSS\u5358\u4f4d\u306e\u77e5\u8b58\u306f\u3042\u3063\u3066\u3082\u300c\u66f8\u304f\u300d\u5fc5\u8981\u306f\u306a\u3044\u6642\u4ee3\u306b\u306a\u3063\u305f<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u307e\u3067CSS\u5358\u4f4d\u306e\u4f7f\u3044\u5206\u3051\u3092\u89e3\u8aac\u3057\u307e\u3057\u305f\u304c\u3001\u5b9f\u969b\u306eWeb\u30b5\u30a4\u30c8\u5236\u4f5c\u3067\u306f<strong>\u300cClaude Code\u306bCSS\u3092\u66f8\u304b\u305b\u308b\u300d<\/strong>\u3068\u3044\u3046\u9078\u629e\u80a2\u304c\u73fe\u5b9f\u7684\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u6bd4\u8f03\u8ef8<\/th><th>CSS\u624b\u66f8\u304d<\/th><th>Claude Code\u3067\u751f\u6210<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u5b66\u7fd2\u30b3\u30b9\u30c8<\/td><td>\u9ad8\uff08px\/em\/rem\/vw\/flexbox\/grid\u7b49\u306e\u7fd2\u5f97\u304c\u5fc5\u8981\uff09<\/td><td>\u4f4e\uff08\u65e5\u672c\u8a9e\u3067\u30c7\u30b6\u30a4\u30f3\u3092\u8aac\u660e\u3059\u308b\u3060\u3051\uff09<\/td><\/tr>\n<tr><td>\u5236\u4f5c\u901f\u5ea6<\/td><td>\u9045\uff08\u66f8\u304f\u2192\u78ba\u8a8d\u2192\u4fee\u6b63\u3092\u7e70\u308a\u8fd4\u3059\uff09<\/td><td>\u901f\uff08\u4e00\u767a\u3067\u307b\u307c\u5b8c\u6210\u5f62\u304c\u51fa\u308b\u3053\u3068\u3082\uff09<\/td><\/tr>\n<tr><td>\u54c1\u8cea<\/td><td>\u719f\u7df4\u5ea6\u306b\u3088\u308b<\/td><td>\u73fe\u4ee3\u7684\u306a\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u8e0f\u307e\u3048\u305f\u30b3\u30fc\u30c9\u304c\u51fa\u308b<\/td><\/tr>\n<tr><td>\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/td><td>\u81ea\u7531\u5ea6\u304c\u9ad8\u3044<\/td><td>\u30b3\u30fc\u30c9\u3092\u8aad\u3093\u3067\u4fee\u6b63\u3067\u304d\u308c\u3070\u81ea\u7531<\/td><\/tr>\n<tr><td>\u30c8\u30e9\u30d6\u30eb\u6642<\/td><td>\u81ea\u529b\u3067\u30c7\u30d0\u30c3\u30b0<\/td><td>Claude Code\u306b\u300c\u3053\u306eCSS\u304c\u52b9\u304b\u306a\u3044\u300d\u3068\u76f8\u8ac7\u3059\u308b<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cCSS\u5358\u4f4d\u306e\u77e5\u8b58\u306f\u5fc5\u8981\u306a\u3044\u306e\u304b\uff1f\u300d\u3068\u3044\u3046\u7591\u554f\u3078\u306e\u7b54\u3048\u306f\uff1a<strong>\u300c\u751f\u6210\u3055\u308c\u305f\u30b3\u30fc\u30c9\u3092\u8aad\u3080\u6700\u4f4e\u9650\u306e\u7406\u89e3\u306f\u5fc5\u8981\u300d<\/strong>\u3067\u3059\u3002Claude Code\u304c\u51fa\u529b\u3057\u305fCSS\u3092\u78ba\u8a8d\u3057\u3001\u610f\u56f3\u901a\u308a\u306b\u52d5\u3044\u3066\u3044\u308b\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u305f\u3081\u306b\u306f\u3001px\u30fbrem\u30fb%\u306e\u57fa\u790e\u306f\u77e5\u3063\u3066\u304a\u304f\u4fa1\u5024\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:linear-gradient(135deg,#1a1a1a,#2a1015);border-radius:12px;padding:20px 24px;margin:24px 0;display:flex;align-items:center;gap:16px;color:#fff;\">\n  <span style=\"font-size:36px;\">&#127942;<\/span>\n  <div>\n    <div style=\"font-size:13px;color:#dc2626;font-weight:700;letter-spacing:1px;\">VERDICT<\/div>\n    <div style=\"font-size:18px;font-weight:800;\">Claude Code \u306b\u8ecd\u914d<\/div>\n    <div style=\"font-size:14px;color:rgba(255,255,255,0.7);margin-top:4px;\">Web\u30b5\u30a4\u30c8\u306eCSS\u5236\u4f5c\u30b9\u30d4\u30fc\u30c9\u306fClaude Code\u306b\u8ecd\u914d\u3002CSS\u5358\u4f4d\u306e\u77e5\u8b58\u306f\u300c\u8aad\u3080\u30fb\u78ba\u8a8d\u3059\u308b\u300d\u305f\u3081\u306e\u6700\u5c0f\u9650\u3067OK\u3002\u300c\u81ea\u5206\u3067\u5168\u90e8\u66f8\u304f\u300d\u5fc5\u8981\u306f\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u3002<\/div>\n  <\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">8-1. Claude Code\u3078\u306eCSS\u4f9d\u983c\u306e\u5b9f\u8df5\u4f8b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u969b\u306eClaude Code\u3078\u306e\u30b7\u30f3\u30d7\u30eb\u306a\u304a\u9858\u3044\u30d1\u30bf\u30fc\u30f3\uff1a<\/p>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u300c\u3053\u306eHTML\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u753b\u9762\u5e45\u3044\u3063\u3071\u3044\u3001\u9ad8\u3055100vh\u306e\u30d2\u30fc\u30ed\u30fc\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u3057\u3066CSS\u3092\u66f8\u3044\u3066\u300d<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u300ch1\u306e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092PC32px\u30fb\u30b9\u30de\u30db24px\u306b\u306a\u308b\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6CSS\u3092\u66f8\u3044\u3066\uff08rem\u3067\uff09\u300d<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u300c\u3053\u306ediv\u30923\u5217\u306e\u30b0\u30ea\u30c3\u30c9\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u3057\u3066\u3001\u30b9\u30de\u30db\u3067\u306f1\u5217\u306b\u306a\u308bCSS\u3092\u66f8\u3044\u3066\u300d<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u300c\u30d5\u30a9\u30fc\u30e0\u306einput\u306bborder\u3068focus\u6642\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u3064\u3051\u3066\u3001\u6587\u5b57\u30b5\u30a4\u30ba\u306frem\u4f7f\u3063\u3066\u300d<\/span><\/div>\n<\/div>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\">\u300c\u3053\u3046\u3044\u3046\u30c7\u30b6\u30a4\u30f3\u306b\u3057\u305f\u3044\u300d<br>\u3092\u65e5\u672c\u8a9e\u3067\u8aac\u660e<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">Claude Code\u304cCSS<br>\u30b3\u30fc\u30c9\u3092\u751f\u6210<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">\u30d6\u30e9\u30a6\u30b6\u3067\u78ba\u8a8d<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">\u8abf\u6574\u304c\u5fc5\u8981\u306a\u3089Claude Code\u306b<br>\u300c\u3053\u3053\u3092\u76f4\u3057\u3066\u300d\u3068\u76f8\u8ac7<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">\u5b8c\u6210<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f0a\u793eGENAI\u306eWeb\u30b5\u30a4\u30c8\u5236\u4f5c\u3082\u3001\u3053\u306e\u30d5\u30ed\u30fc\u3067\u9032\u3081\u3066\u3044\u307e\u3059\u3002\u30c7\u30b6\u30a4\u30ca\u30fc\u306e\u6307\u793a\u3092Claude Code\u306b\u4f1d\u3048\u3001\u751f\u6210\u3055\u308c\u305fCSS\u3092\u78ba\u8a8d\u30fb\u5fae\u8abf\u6574\u3059\u308b\u30b5\u30a4\u30af\u30eb\u3067\u3001\u5236\u4f5c\u5de5\u6570\u304c\u5f93\u6765\u306e1\/3\u7a0b\u5ea6\u306b\u306a\u308a\u307e\u3057\u305f\u3002CSS\u5358\u4f4d\u306e\u6df1\u3044\u77e5\u8b58\u304c\u306a\u304f\u3066\u3082\u3001\u300c\u4f55\u304b\u5909\u3060\u300d\u3068\u6c17\u3065\u304f\u8aad\u307f\u53d6\u308a\u529b\u304c\u3042\u308c\u3070\u5341\u5206\u6a5f\u80fd\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">Claude Code\u306fCSS\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u77e5\u3063\u3066\u3044\u307e\u3059\u3002\u300crem\u3068px\u3092\u3044\u3064\u4f7f\u3046\u3079\u304d\u304b\u300d\u3092\u81ea\u5206\u3067\u5224\u65ad\u3057\u3066\u4f7f\u3044\u5206\u3051\u3066\u304f\u308c\u307e\u3059\u3002\u300c\u79c1\u306fCSS\u304c\u66f8\u3051\u306a\u3044\u300d\u304b\u3089Web\u30b5\u30a4\u30c8\u3092\u6301\u3066\u306a\u3044\u6642\u4ee3\u306f\u7d42\u308f\u3063\u3066\u3044\u307e\u3059\u3002<\/div>\n<\/div>\n\n\ncc-css-units\n<div style=\"background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);border-radius:16px;padding:36px 32px;margin:48px 0 16px;color:#fff;\">\n  <p style=\"font-size:13px;font-weight:700;color:#dc2626;letter-spacing:2px;margin:0 0 12px;\">NEXT STEP<\/p>\n  <p style=\"font-size:22px;font-weight:800;line-height:1.5;margin:0 0 20px;\">\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9\u3092\u3001\u3042\u306a\u305f\u306e\u30d3\u30b8\u30cd\u30b9\u3067<br>\u5b9f\u8df5\u3057\u3066\u307f\u307e\u305b\u3093\u304b\uff1f<\/p>\n  <div style=\"background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12);border-radius:12px;padding:24px;max-width:560px;margin:0 auto;\">\n    <p style=\"font-size:13px;color:#dc2626;font-weight:700;margin:0 0 8px;\">AI\u6d3b\u7528\u3092\u81ea\u793e\u3067\u56de\u305b\u308b\u3088\u3046\u306b\u306a\u308a\u305f\u3044\u65b9\u3078<\/p>\n    <p style=\"font-size:20px;font-weight:800;margin:0 0 12px;\">AI\u9b3c\u7ba1\u7406<\/p>\n    <p style=\"font-size:14px;color:rgba(255,255,255,0.75);margin:0 0 20px;line-height:1.7;\">Claude Code\u30fbCowork\u5c0e\u5165\u652f\u63f4\u304b\u3089\u696d\u52d9\u8a2d\u8a08\u30fb\u793e\u5185\u6d78\u900f\u307e\u3067\u5b9f\u8df5\u30d9\u30fc\u30b9\u3067\u4f34\u8d70\u3002\u300c\u81ea\u793e\u3067\u56de\u305b\u308b\u7d44\u7e54\u300d\u309290\u65e5\u3067\u4f5c\u308b\u7d4c\u55b6\u8005\u5411\u3051\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3002<\/p>\n    <div style=\"text-align:center;\">\n      <a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&utm_medium=article&utm_campaign=<p>Claude Code\u3092\u4f7f\u3063\u305fWeb\u30b5\u30a4\u30c8\u5236\u4f5c\u30fbLP\u5236\u4f5c\u30fbCSS\u81ea\u52d5\u751f\u6210\u306e\u76f8\u8ac7\u306f\u3001GENAI\u306e\u516c\u5f0fLINE\u307e\u305f\u306fWeb\u30d5\u30a9\u30fc\u30e0\u304b\u3089\u304a\u6c17\u8efd\u306b\u3069\u3046\u305e\u3002<\/p>&utm_content=next-step-cta\" target=\"_blank\" rel=\"noopener\" style=\"display:inline-block;background:#dc2626;color:#fff;font-weight:700;font-size:15px;padding:14px 32px;border-radius:30px;text-decoration:none;\">AI\u9b3c\u7ba1\u7406\u3092\u8a73\u3057\u304f\u898b\u308b \u2192<\/a>\n    <\/div>\n  <\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">\u3088\u304f\u3042\u308b\u8cea\u554f<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Q. CSS\u306e\u30b5\u30a4\u30ba\u6307\u5b9a\u3067px\u3068rem\u306f\u3069\u3046\u4f7f\u3044\u5206\u3051\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u30b7\u30f3\u30d7\u30eb\u306a\u30eb\u30fc\u30eb\uff1a\u30c6\u30ad\u30b9\u30c8\uff08font-size\uff09\u3084\u4f59\u767d\uff08padding\/margin\uff09\u306b\u306frem\u3092\u4f7f\u3044\u3001\u67a0\u7dda\uff08border\uff09\u3084\u7d30\u304b\u3044\u56fa\u5b9a\u30b5\u30a4\u30ba\u306b\u306fpx\u3092\u4f7f\u3044\u307e\u3059\u3002rem\u3092\u4f7f\u3046\u3068\u30d6\u30e9\u30a6\u30b6\u306e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u8a2d\u5b9a\u306b\u8ffd\u5f93\u3059\u308b\u305f\u3081\u3001\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002px\u56fa\u5b9a\u3060\u3068\u30e6\u30fc\u30b6\u30fc\u306e\u30d5\u30a9\u30f3\u30c8\u8a2d\u5b9a\u304c\u7121\u8996\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. em\u3068rem\u306e\u9055\u3044\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. em\u306f\u300c\u73fe\u5728\u306e\u8981\u7d20\uff08\u307e\u305f\u306f\u89aa\u8981\u7d20\uff09\u306efont-size\u3092\u57fa\u6e96\u300d\u306b\u3059\u308b\u5358\u4f4d\u3067\u3059\u3002rem\u306f\u300chtml\u8981\u7d20\u306efont-size\uff08\u30eb\u30fc\u30c8\u8981\u7d20\uff09\u3092\u57fa\u6e96\u300d\u306b\u3057\u307e\u3059\u3002em\u3092\u5165\u308c\u5b50\u306e\u8981\u7d20\u306b\u4f7f\u3046\u3068\u3001\u30b5\u30a4\u30ba\u304c\u8907\u5408\u3057\u3066\u4e88\u671f\u305b\u305a\u5927\u304d\u304f\u306a\u308b\u554f\u984c\u304c\u3042\u308a\u307e\u3059\u3002rem\u306fhtml\u8981\u7d20\u3060\u3051\u3092\u57fa\u6e96\u306b\u3059\u308b\u306e\u3067\u8907\u5408\u3057\u307e\u305b\u3093\u3002\u73fe\u4ee3\u306eCSS\u8a2d\u8a08\u3067\u306f\u3001font-size\u306b\u306frem\u3092\u4f7f\u3046\u306e\u304c\u63a8\u5968\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. \u30b9\u30de\u30db\u5bfe\u5fdc\uff08\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\uff09\u306b\u3059\u308b\u306b\u306f\u3069\u306e\u5358\u4f4d\u3092\u4f7f\u3048\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3\u3067\u306f%\u30fbrem\u30fbvw\u30fbvh\u3092\u4e2d\u5fc3\u306b\u4f7f\u3044\u307e\u3059\u3002\u5e45\uff08width\uff09\u306b\u306f%\u304bvw\u3092\u4f7f\u3046\u3068\u753b\u9762\u30b5\u30a4\u30ba\u306b\u8ffd\u5f93\u3057\u307e\u3059\u3002\u30c6\u30ad\u30b9\u30c8\u30b5\u30a4\u30ba\u306frem\u3067\u6307\u5b9a\u3057\u3001\u753b\u9762\u30b5\u30a4\u30ba\u5225\u306bmedia query\u3067\u8abf\u6574\u3057\u307e\u3059\u3002px\u306fborder\u306a\u3069\u56fa\u5b9a\u304c\u5fc5\u8981\u306a\u7d30\u90e8\u306e\u307f\u4f7f\u3044\u3001\u5927\u304d\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u3084\u30c6\u30ad\u30b9\u30c8\u306b\u306f\u76f8\u5bfe\u5024\u3092\u4f7f\u3046\u306e\u304c\u57fa\u672c\u65b9\u91dd\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. CSS\u304c\u82e6\u624b\u3067\u3082Web\u30b5\u30a4\u30c8\u3092\u4f5c\u308c\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u306f\u3044\u3001Claude Code\u3092\u4f7f\u3048\u3070\u53ef\u80fd\u3067\u3059\u3002\u300c\u3053\u3093\u306a\u30c7\u30b6\u30a4\u30f3\u306b\u3057\u305f\u3044\u300d\u3092\u65e5\u672c\u8a9e\u3067\u8aac\u660e\u3059\u308b\u3068\u3001CSS\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3057\u3066\u304f\u308c\u307e\u3059\u3002CSS\u5358\u4f4d\u306e\u6df1\u3044\u77e5\u8b58\u304c\u306a\u304f\u3066\u3082\u3001\u751f\u6210\u3055\u308c\u305f\u30b3\u30fc\u30c9\u3092\u30d6\u30e9\u30a6\u30b6\u3067\u78ba\u8a8d\u3057\u3066\u300c\u3053\u3053\u304c\u9055\u3046\u300d\u3092\u4f1d\u3048\u76f4\u3059\u30b5\u30a4\u30af\u30eb\u3067\u3001\u30d7\u30ed\u54c1\u8cea\u306eWeb\u30b5\u30a4\u30c8\u304c\u4f5c\u308c\u307e\u3059\u3002\u5f0a\u793e\u3067\u3082\u3053\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3067LP\u5236\u4f5c\u5de5\u6570\u3092\u5927\u5e45\u524a\u6e1b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. vw\u3068vh\u306f\u3044\u3064\u4f7f\u3046\u306e\u304c\u9069\u5207\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. vh\u306f\u30d5\u30a1\u30fc\u30b9\u30c8\u30d3\u30e5\u30fc\uff08\u753b\u9762\u5168\u4f53\u3092\u8986\u3046\u30d2\u30fc\u30ed\u30fc\u30bb\u30af\u30b7\u30e7\u30f3\uff09\u306e\u9ad8\u3055\u6307\u5b9a\uff08height: 100vh\uff09\u306b\u6700\u3082\u3088\u304f\u4f7f\u308f\u308c\u307e\u3059\u3002vw\u306f\u300c\u753b\u9762\u5e45\u306b\u9023\u52d5\u3057\u305f\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u300d\u3084\u300c\u753b\u9762\u5e45\u3092\u5b8c\u5168\u306b\u4f7f\u3046\u30ec\u30a4\u30a2\u30a6\u30c8\u300d\u306b\u4fbf\u5229\u3067\u3059\u3002\u305f\u3060\u3057vw\u306f\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u306e\u5e45\u3092\u542b\u3080\u554f\u984c\u304c\u3042\u308b\u305f\u3081\u3001\u6a2a\u5e45\u306b\u306f100%\u306e\u65b9\u304c\u5b89\u5168\u306a\u30b1\u30fc\u30b9\u3082\u591a\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. CSS\u306efont-size\u306bpx\u3092\u4f7f\u3046\u306e\u306f\u306a\u305c\u826f\u304f\u306a\u3044\u306e\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u30d6\u30e9\u30a6\u30b6\u306b\u306f\u30e6\u30fc\u30b6\u30fc\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u8a2d\u5b9a\u3067\u304d\u308b\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\uff08\u9ad8\u9f62\u8005\u3084\u8996\u899a\u304c\u5f31\u3044\u65b9\u304c\u6587\u5b57\u3092\u5927\u304d\u304f\u3059\u308b\u305f\u3081\u306a\u3069\uff09\u3002\u3057\u304b\u3057font-size\u306bpx\u3092\u56fa\u5b9a\u5024\u3067\u6307\u5b9a\u3059\u308b\u3068\u3001\u3053\u306e\u8a2d\u5b9a\u304c\u4e0a\u66f8\u304d\u3055\u308c\u3066\u7121\u8996\u3055\u308c\u307e\u3059\u3002rem\u3067\u6307\u5b9a\u3059\u308b\u3068\u30d6\u30e9\u30a6\u30b6\u306e\u8a2d\u5b9a\u306b\u8ffd\u5f93\u3059\u308b\u305f\u3081\u3001\u3088\u308a\u591a\u304f\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u4f7f\u3044\u3084\u3059\u3044\u30b5\u30a4\u30c8\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306fWeb\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u306e\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u3067\u3082\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [\n    {\n      \"@type\": \"Question\",\n      \"name\": \"CSS\u306e\u30b5\u30a4\u30ba\u6307\u5b9a\u3067px\u3068rem\u306f\u3069\u3046\u4f7f\u3044\u5206\u3051\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u30b7\u30f3\u30d7\u30eb\u306a\u30eb\u30fc\u30eb\uff1a\u30c6\u30ad\u30b9\u30c8\uff08font-size\uff09\u3084\u4f59\u767d\uff08padding\/margin\uff09\u306b\u306frem\u3092\u4f7f\u3044\u3001\u67a0\u7dda\uff08border\uff09\u3084\u7d30\u304b\u3044\u56fa\u5b9a\u30b5\u30a4\u30ba\u306b\u306fpx\u3092\u4f7f\u3044\u307e\u3059\u3002rem\u3092\u4f7f\u3046\u3068\u30d6\u30e9\u30a6\u30b6\u306e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u8a2d\u5b9a\u306b\u8ffd\u5f93\u3059\u308b\u305f\u3081\u3001\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002px\u56fa\u5b9a\u3060\u3068\u30e6\u30fc\u30b6\u30fc\u306e\u30d5\u30a9\u30f3\u30c8\u8a2d\u5b9a\u304c\u7121\u8996\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"em\u3068rem\u306e\u9055\u3044\u306f\u4f55\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"em\u306f\u300c\u73fe\u5728\u306e\u8981\u7d20\uff08\u307e\u305f\u306f\u89aa\u8981\u7d20\uff09\u306efont-size\u3092\u57fa\u6e96\u300d\u306b\u3059\u308b\u5358\u4f4d\u3067\u3059\u3002rem\u306f\u300chtml\u8981\u7d20\u306efont-size\uff08\u30eb\u30fc\u30c8\u8981\u7d20\uff09\u3092\u57fa\u6e96\u300d\u306b\u3057\u307e\u3059\u3002em\u3092\u5165\u308c\u5b50\u306e\u8981\u7d20\u306b\u4f7f\u3046\u3068\u3001\u30b5\u30a4\u30ba\u304c\u8907\u5408\u3057\u3066\u4e88\u671f\u305b\u305a\u5927\u304d\u304f\u306a\u308b\u554f\u984c\u304c\u3042\u308a\u307e\u3059\u3002rem\u306fhtml\u8981\u7d20\u3060\u3051\u3092\u57fa\u6e96\u306b\u3059\u308b\u306e\u3067\u8907\u5408\u3057\u307e\u305b\u3093\u3002\u73fe\u4ee3\u306eCSS\u8a2d\u8a08\u3067\u306f\u3001font-size\u306b\u306frem\u3092\u4f7f\u3046\u306e\u304c\u63a8\u5968\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u30b9\u30de\u30db\u5bfe\u5fdc\uff08\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\uff09\u306b\u3059\u308b\u306b\u306f\u3069\u306e\u5358\u4f4d\u3092\u4f7f\u3048\u3070\u3044\u3044\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3\u3067\u306f%\u30fbrem\u30fbvw\u30fbvh\u3092\u4e2d\u5fc3\u306b\u4f7f\u3044\u307e\u3059\u3002\u5e45\uff08width\uff09\u306b\u306f%\u304bvw\u3092\u4f7f\u3046\u3068\u753b\u9762\u30b5\u30a4\u30ba\u306b\u8ffd\u5f93\u3057\u307e\u3059\u3002\u30c6\u30ad\u30b9\u30c8\u30b5\u30a4\u30ba\u306frem\u3067\u6307\u5b9a\u3057\u3001\u753b\u9762\u30b5\u30a4\u30ba\u5225\u306bmedia query\u3067\u8abf\u6574\u3057\u307e\u3059\u3002px\u306fborder\u306a\u3069\u56fa\u5b9a\u304c\u5fc5\u8981\u306a\u7d30\u90e8\u306e\u307f\u4f7f\u3044\u3001\u5927\u304d\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u3084\u30c6\u30ad\u30b9\u30c8\u306b\u306f\u76f8\u5bfe\u5024\u3092\u4f7f\u3046\u306e\u304c\u57fa\u672c\u65b9\u91dd\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"CSS\u304c\u82e6\u624b\u3067\u3082Web\u30b5\u30a4\u30c8\u3092\u4f5c\u308c\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u306f\u3044\u3001Claude Code\u3092\u4f7f\u3048\u3070\u53ef\u80fd\u3067\u3059\u3002\u300c\u3053\u3093\u306a\u30c7\u30b6\u30a4\u30f3\u306b\u3057\u305f\u3044\u300d\u3092\u65e5\u672c\u8a9e\u3067\u8aac\u660e\u3059\u308b\u3068\u3001CSS\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3057\u3066\u304f\u308c\u307e\u3059\u3002CSS\u5358\u4f4d\u306e\u6df1\u3044\u77e5\u8b58\u304c\u306a\u304f\u3066\u3082\u3001\u751f\u6210\u3055\u308c\u305f\u30b3\u30fc\u30c9\u3092\u30d6\u30e9\u30a6\u30b6\u3067\u78ba\u8a8d\u3057\u3066\u300c\u3053\u3053\u304c\u9055\u3046\u300d\u3092\u4f1d\u3048\u76f4\u3059\u30b5\u30a4\u30af\u30eb\u3067\u3001\u30d7\u30ed\u54c1\u8cea\u306eWeb\u30b5\u30a4\u30c8\u304c\u4f5c\u308c\u307e\u3059\u3002\u5f0a\u793e\u3067\u3082\u3053\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3067LP\u5236\u4f5c\u5de5\u6570\u3092\u5927\u5e45\u524a\u6e1b\u3057\u3066\u3044\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"vw\u3068vh\u306f\u3044\u3064\u4f7f\u3046\u306e\u304c\u9069\u5207\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"vh\u306f\u30d5\u30a1\u30fc\u30b9\u30c8\u30d3\u30e5\u30fc\uff08\u753b\u9762\u5168\u4f53\u3092\u8986\u3046\u30d2\u30fc\u30ed\u30fc\u30bb\u30af\u30b7\u30e7\u30f3\uff09\u306e\u9ad8\u3055\u6307\u5b9a\uff08height: 100vh\uff09\u306b\u6700\u3082\u3088\u304f\u4f7f\u308f\u308c\u307e\u3059\u3002vw\u306f\u300c\u753b\u9762\u5e45\u306b\u9023\u52d5\u3057\u305f\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u300d\u3084\u300c\u753b\u9762\u5e45\u3092\u5b8c\u5168\u306b\u4f7f\u3046\u30ec\u30a4\u30a2\u30a6\u30c8\u300d\u306b\u4fbf\u5229\u3067\u3059\u3002\u305f\u3060\u3057vw\u306f\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u306e\u5e45\u3092\u542b\u3080\u554f\u984c\u304c\u3042\u308b\u305f\u3081\u3001\u6a2a\u5e45\u306b\u306f100%\u306e\u65b9\u304c\u5b89\u5168\u306a\u30b1\u30fc\u30b9\u3082\u591a\u3044\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"CSS\u306efont-size\u306bpx\u3092\u4f7f\u3046\u306e\u306f\u306a\u305c\u826f\u304f\u306a\u3044\u306e\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u30d6\u30e9\u30a6\u30b6\u306b\u306f\u30e6\u30fc\u30b6\u30fc\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u8a2d\u5b9a\u3067\u304d\u308b\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\uff08\u9ad8\u9f62\u8005\u3084\u8996\u899a\u304c\u5f31\u3044\u65b9\u304c\u6587\u5b57\u3092\u5927\u304d\u304f\u3059\u308b\u305f\u3081\u306a\u3069\uff09\u3002\u3057\u304b\u3057font-size\u306bpx\u3092\u56fa\u5b9a\u5024\u3067\u6307\u5b9a\u3059\u308b\u3068\u3001\u3053\u306e\u8a2d\u5b9a\u304c\u4e0a\u66f8\u304d\u3055\u308c\u3066\u7121\u8996\u3055\u308c\u307e\u3059\u3002rem\u3067\u6307\u5b9a\u3059\u308b\u3068\u30d6\u30e9\u30a6\u30b6\u306e\u8a2d\u5b9a\u306b\u8ffd\u5f93\u3059\u308b\u305f\u3081\u3001\u3088\u308a\u591a\u304f\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u4f7f\u3044\u3084\u3059\u3044\u30b5\u30a4\u30c8\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306fWeb\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u306e\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u3067\u3082\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002\"\n      }\n    }\n  ]\n}\n<\/script>\n\n\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9 01CSS\u306e\u5358\u4f4d\u2014\u2014\u300c\u7d76\u5bfe\u5024\u300d\u3068\u300c\u76f8\u5bfe\u5024\u300d\u306e2\u7a2e\u985e\u3092\u7406\u89e3\u3059\u308b 02px\u2014\u2014\u56fa\u5b9a\u30b5\u30a4\u30ba\u6307\u5b9a\u306e\u57fa\u672c\u3068\u6b63\u3057\u3044\u4f7f\u3044\u3069\u3053\u308d 03%\uff08\u30d1\u30fc\u30bb\u30f3\u30c8\uff09\u2014\u2014\u89aa\u8981\u7d20\u3092\u57fa\u6e96\u306b\u3057\u305f\u76f8\u5bfe\u6307\u5b9a 04em\u2014\u2014\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u57fa\u6e96\u306b\u3057\u305f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":15528,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sitemap_hide":"","_veu_custom_css":"","vkexunit_cta_each_option":"","footnotes":"","rank_math_description":"CSS\u306e\u30b5\u30a4\u30ba\u6307\u5b9a\u5358\u4f4d\uff08px\u30fb%\u30fbem\u30fbrem\u30fbvw\uff09\u306e\u9055\u3044\u3068\u4f7f\u3044\u5206\u3051\u3092\u5b8c\u5168\u89e3\u8aac\u3002\u7d76\u5bfe\u5024\u3068\u76f8\u5bfe\u5024\u306e\u57fa\u790e\u304b\u3089\u3001\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3\u3067\u306e\u6b63\u3057\u3044\u4f7f\u3044\u65b9\u3001Claude Code\u3067CSS\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b\u65b9\u6cd5\u307e\u3067\u89e3\u8aac\u3057\u307e\u3059\u3002","rank_math_focus_keyword":"CSS \u30b5\u30a4\u30ba\u6307\u5b9a px em rem \u9055\u3044","rank_math_title":"\u30102026\u5e747\u6708\u6700\u65b0\u3011CSS\u306e\u30b5\u30a4\u30ba\u6307\u5b9a\u306f\u3069\u308c\u304c\u3044\u3044\uff1fpx\u30fb%\u30fbem\u30fbrem\u30fbvw\u306e\u9055\u3044\u3068\u4f7f\u3044\u5206\u3051\u5b8c\u5168\u30ac\u30a4\u30c9","pending_rewrite_html":"","pending_rewrite_id":"","pending_rewrite_kw":"","pending_rewrite_at":"","pending_rewrite_source":"","pending_rewrite_brief":"","pending_rewrite_evidence":"","approved_rewrite_html":"","approved_rewrite_id":"","approved_rewrite_kw":"","approved_rewrite_at":"","approved_rewrite_by":"","approved_rewrite_brief":"","approved_rewrite_evidence":"","rewrite_tracker_baseline":"","rewrite_tracker_7day":"","rewrite_tracker_14day":"","rewrite_tracker_30day":"","rewrite_tracker_notified":""},"categories":[3,2],"tags":[],"class_list":["post-15529","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-automation","category-claude-tips"],"_links":{"self":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/15529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/comments?post=15529"}],"version-history":[{"count":1,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/15529\/revisions"}],"predecessor-version":[{"id":15530,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/15529\/revisions\/15530"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media\/15528"}],"wp:attachment":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media?parent=15529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/categories?post=15529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/tags?post=15529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}