{"id":18469,"date":"2026-07-19T07:15:10","date_gmt":"2026-07-18T22:15:10","guid":{"rendered":"https:\/\/genai-ai.co.jp\/ai-kanri\/?p=18469"},"modified":"2026-07-19T07:15:10","modified_gmt":"2026-07-18T22:15:10","slug":"cc-css-position-absolute","status":"publish","type":"post","link":"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/cc-css-position-absolute\/","title":{"rendered":"\u30102026\u5e747\u6708\u6700\u65b0\u3011CSS\u306eposition:absolute\u3092\u5b8c\u5168\u89e3\u8aac\uff5crelative\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u30fbzIndex\u30fb\u5b9f\u8df5\u30d1\u30bf\u30fc\u30f3\u3068Claude Code\u6d3b\u7528"},"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-position-absolute.jpg\" alt=\"\u30102026\u5e747\u6708\u6700\u65b0\u3011CSS\u306eposition:absolute\u3092\u5b8c\u5168\u89e3\u8aac\uff5crelative\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u30fbzIndex\u30fb\u5b9f\u8df5\u30d1\u30bf\u30fc\u30f3\u3068Claude Code\u6d3b\u7528\" 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 #0ea5e9;\">\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:#0ea5e9;font-weight:700;margin-right:8px;\">01<\/span>position:absolute\u306e\u57fa\u672c\u52d5\u4f5c<\/a><\/li>\n    <li><a href=\"#sec-02\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#0ea5e9;font-weight:700;margin-right:8px;\">02<\/span>\u306a\u305crelative\u304c\u5fc5\u8981\u306a\u306e\u304b\uff08\u57fa\u6e96\u3068\u306a\u308b\u7956\u5148\u8981\u7d20\uff09<\/a><\/li>\n    <li><a href=\"#sec-03\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#0ea5e9;font-weight:700;margin-right:8px;\">03<\/span>top\u30fbright\u30fbbottom\u30fbleft\u306e\u6307\u5b9a\u65b9\u6cd5<\/a><\/li>\n    <li><a href=\"#sec-04\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#0ea5e9;font-weight:700;margin-right:8px;\">04<\/span>z-index\u3067\u91cd\u306a\u308a\u9806\u3092\u5236\u5fa1\u3059\u308b<\/a><\/li>\n    <li><a href=\"#sec-05\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#0ea5e9;font-weight:700;margin-right:8px;\">05<\/span>fixed\u30fbstatic\u30fbsticky\u3068\u306e\u9055\u3044<\/a><\/li>\n    <li><a href=\"#sec-06\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#0ea5e9;font-weight:700;margin-right:8px;\">06<\/span>\u5b9f\u8df5\u30d1\u30bf\u30fc\u30f3\uff08\u30d0\u30c3\u30b8\u30fb\u5439\u304d\u51fa\u3057\u30fb\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\uff09<\/a><\/li>\n    <li><a href=\"#sec-07\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#0ea5e9;font-weight:700;margin-right:8px;\">07<\/span>\u3088\u304f\u3042\u308b\u5931\u6557\u3068\u30c7\u30d0\u30c3\u30b0\u65b9\u6cd5<\/a><\/li>\n    <li><a href=\"#sec-08\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#0ea5e9;font-weight:700;margin-right:8px;\">08<\/span>Claude Code\u3067CSS\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b<\/a><\/li>\n    <li><a href=\"#faq\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#0ea5e9;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\">Web\u30c7\u30b6\u30a4\u30f3\u3067\u300c\u8981\u7d20\u3092\u7279\u5b9a\u306e\u4f4d\u7f6e\u306b\u91cd\u306d\u3066\u8868\u793a\u3057\u305f\u3044\u300d\u300c\u30dc\u30bf\u30f3\u306e\u53f3\u4e0a\u306b\u901a\u77e5\u30d0\u30c3\u30b8\u3092\u8868\u793a\u3057\u305f\u3044\u300d\u300c\u753b\u50cf\u306e\u4e0a\u306b\u30c6\u30ad\u30b9\u30c8\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u3092\u8868\u793a\u3057\u305f\u3044\u300d\u2014\u2014\u3053\u3046\u3057\u305f\u8868\u73fe\u306b\u4f7f\u3046\u306e\u304c<strong>position:absolute<\/strong>\u3067\u3059\u3002\u305f\u3060\u3057\u3001absolute\u306f\u5358\u72ec\u3067\u306f\u610f\u56f3\u901a\u308a\u306b\u52d5\u304b\u306a\u3044\u3053\u3068\u304c\u591a\u304f\u3001<strong>\u89aa\u8981\u7d20\u306eposition:relative<\/strong>\u3068\u30bb\u30c3\u30c8\u3067\u7406\u89e3\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001position:absolute\u306e\u57fa\u672c\u52d5\u4f5c\u304b\u3089\u3001relative\u304c\u5fc5\u8981\u306a\u7406\u7531\u30fbtop\/right\/bottom\/left\u306e\u6307\u5b9a\u30fbz-index\u306b\u3088\u308b\u91cd\u306a\u308a\u9806\u5236\u5fa1\u30fbfixed\u3068\u306e\u9055\u3044\u30fb\u30d0\u30c3\u30b8\u3084\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u306e\u5b9f\u8df5\u30d1\u30bf\u30fc\u30f3\u30fbClaude Code\u3092\u4f7f\u3063\u305fCSS\u306e\u81ea\u52d5\u751f\u6210\u307e\u3067\u89e3\u8aac\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\">position:absolute\u304c\u300c\u601d\u3063\u305f\u4f4d\u7f6e\u306b\u6765\u306a\u3044\u300d\u3068\u3044\u3046\u76f8\u8ac7\u3067\u307b\u307c100%\u306e\u539f\u56e0\u306f\u3001\u57fa\u6e96\u3068\u306a\u308bposition:relative\u306e\u89aa\u8981\u7d20\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u306a\u3044\u3053\u3068\u3067\u3059\u3002absolute\u3068relative\u306f\u5e38\u306b\u30bb\u30c3\u30c8\u3067\u899a\u3048\u3066\u304f\u3060\u3055\u3044\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>position:absolute\u306e<strong>\u57fa\u672c\u52d5\u4f5c<\/strong>\uff08\u901a\u5e38\u30d5\u30ed\u30fc\u304b\u3089\u5916\u308c\u308b\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>\u306a\u305cposition:relative\u304c\u5fc5\u8981<\/strong>\u306a\u306e\u304b\u3092\u57fa\u6e96\u8981\u7d20\u306e\u6982\u5ff5\u3067\u7406\u89e3<\/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>top\u30fbright\u30fbbottom\u30fbleft<\/strong>\u306e\u6307\u5b9a\u3068\u89aa\u8981\u7d20\u304b\u3089\u306e\u30aa\u30d5\u30bb\u30c3\u30c8\u8a08\u7b97<\/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>z-index<\/strong>\u3067\u8981\u7d20\u306e\u91cd\u306a\u308a\u9806\uff08\u524d\u5f8c\uff09\u3092\u5236\u5fa1\u3059\u308b\u65b9\u6cd5<\/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>fixed\u30fbstatic\u30fbsticky<\/strong>\u3068\u306e\u9055\u3044\u3068\u4f7f\u3044\u5206\u3051<\/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>\u30d0\u30c3\u30b8\u30fb\u5439\u304d\u51fa\u3057\u30fb\u30e2\u30fc\u30c0\u30eb\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u306a\u3069<strong>\u5b9f\u8df5\u30d1\u30bf\u30fc\u30f3<\/strong>\u306eCSS\u5b9f\u88c5<\/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>absolute\u304c\u52b9\u304b\u306a\u3044\u30fb\u305a\u308c\u308b<strong>\u3088\u304f\u3042\u308b\u5931\u6557<\/strong>\u3068\u30c7\u30d0\u30c3\u30b0\u6cd5<\/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\u306eposition\u6307\u5b9a\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b\u65b9\u6cd5<\/span><\/div>\n\n<\/div>\n\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;\">BASIC<\/span>\n  <span class=\"section-title\" style=\"display:block;\">position:absolute\u306e\u57fa\u672c\u52d5\u4f5c<\/span>\n  <span class=\"section-desc\">\u901a\u5e38\u30d5\u30ed\u30fc\u304b\u3089\u5916\u308c\u3066\u30da\u30fc\u30b8\u4e0a\u306e\u4efb\u610f\u306e\u4f4d\u7f6e\u306b\u914d\u7f6e\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>position:absolute\uff08\u7d76\u5bfe\u914d\u7f6e\uff09<\/strong>\uff1aCSS\u306eposition\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u306e1\u3064\u3002\u8a2d\u5b9a\u3057\u305f\u8981\u7d20\u3092\u300c\u901a\u5e38\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30d5\u30ed\u30fc\uff08HTML\u304c\u4e0a\u304b\u3089\u4e0b\u3078\u6d41\u308c\u308b\u30ec\u30a4\u30a2\u30a6\u30c8\uff09\u300d\u304b\u3089\u53d6\u308a\u9664\u304d\u3001\u6700\u3082\u8fd1\u304f\u306bposition\u304cstatic\u3067\u306a\u3044\uff08relative\/absolute\/fixed\/sticky\uff09\u7956\u5148\u8981\u7d20\u3092\u57fa\u6e96\u3068\u3057\u3066\u3001top\u30fbright\u30fbbottom\u30fbleft\u3067\u4f4d\u7f6e\u3092\u6307\u5b9a\u3059\u308b\u3002\u7d76\u5bfe\u914d\u7f6e\u3055\u308c\u305f\u8981\u7d20\u306f\u3001\u5f8c\u7d9a\u306e\u8981\u7d20\u306b\u5bfe\u3057\u3066\u30b9\u30da\u30fc\u30b9\u3092\u78ba\u4fdd\u3057\u306a\u3044\uff08\u5f8c\u7d9a\u8981\u7d20\u304c\u7d76\u5bfe\u914d\u7f6e\u8981\u7d20\u306e\u4e0b\u306b\u79fb\u52d5\u3057\u306a\u3044\uff09\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:13px;line-height:1.8;font-family:'Consolas','Courier New',monospace;white-space:pre;\">\/* position:absolute\u306e\u57fa\u672c *\/\n\n\/* \u57fa\u6e96\u3068\u306a\u308b\u89aa\u8981\u7d20\uff08relative\u3092\u8a2d\u5b9a\uff09 *\/\n.parent {\n  position: relative;  \/* \u57fa\u6e96\u3068\u3057\u3066\u306e\u5ba3\u8a00 *\/\n  width: 300px;\n  height: 200px;\n  background: #f0f4f8;\n  border: 1px solid #ccc;\n}\n\n\/* \u7d76\u5bfe\u914d\u7f6e\u3055\u308c\u308b\u5b50\u8981\u7d20 *\/\n.child {\n  position: absolute;\n  top: 20px;   \/* \u89aa\u306e\u4e0a\u7aef\u304b\u308920px *\/\n  right: 20px; \/* \u89aa\u306e\u53f3\u7aef\u304b\u308920px *\/\n  width: 60px;\n  height: 60px;\n  background: #3b82f6;\n  color: white;\n  border-radius: 50%;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}<\/pre>\n<\/div>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:13px;line-height:1.8;font-family:'Consolas','Courier New',monospace;white-space:pre;\"><!-- HTML\u306e\u4f8b -->\n<div class=\"parent\">\n  <p>\u901a\u5e38\u30d5\u30ed\u30fc\u306e\u30c6\u30ad\u30b9\u30c8<\/p>\n  <div class=\"child\">\u7d76\u5bfe<\/div>\n  <!-- .child\u306f\u89aa\u306e\u53f3\u4e0a\u306b\u914d\u7f6e\u3055\u308c\u3001\u901a\u5e38\u30d5\u30ed\u30fc\u306b\u5f71\u97ff\u3057\u306a\u3044 -->\n<\/div><\/pre>\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;\">absolute\u306f\u901a\u5e38\u30d5\u30ed\u30fc\u304b\u3089\u300c\u629c\u3051\u308b\u300d<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">position:absolute\u3092\u8a2d\u5b9a\u3057\u305f\u8981\u7d20\u306f\u901a\u5e38\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30d5\u30ed\u30fc\u304b\u3089\u5916\u308c\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u305d\u306e\u8981\u7d20\u304c\u3042\u3063\u305f\u30b9\u30da\u30fc\u30b9\u304c\u8a70\u307e\u308a\u3001\u524d\u5f8c\u306e\u8981\u7d20\u306fabsolute\u306e\u8981\u7d20\u3092\u7121\u8996\u3057\u3066\u30ec\u30a4\u30a2\u30a6\u30c8\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u304c\u300c\u6d88\u3048\u305f\u300d\u300c\u5f8c\u306e\u8981\u7d20\u304c\u4e0a\u306b\u305a\u308c\u305f\u300d\u3068\u611f\u3058\u308b\u539f\u56e0\u3067\u3059\u3002\u89aa\u8981\u7d20\u306e\u9ad8\u3055\u3082absolute\u5b50\u8981\u7d20\u306e\u9ad8\u3055\u3092\u8003\u616e\u3057\u306a\u304f\u306a\u308b\u305f\u3081\u3001\u89aa\u306eheight\u3092\u660e\u793a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n<\/div>\n\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;\">RELATIVE<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u306a\u305crelative\u304c\u5fc5\u8981\u306a\u306e\u304b\uff08\u57fa\u6e96\u3068\u306a\u308b\u7956\u5148\u8981\u7d20\uff09<\/span>\n  <span class=\"section-desc\">\u57fa\u6e96\u8981\u7d20\u304c\u306a\u3044\u3068viewport\uff08\u753b\u9762\u5168\u4f53\uff09\u304c\u57fa\u6e96\u306b\u306a\u308b<\/span>\n<\/h2>\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;\">\u89aa\u306bposition:relative\u304c\u306a\u3044\u3068viewport\u57fa\u6e96\u306b\u306a\u308b<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">position:absolute\u306e\u8981\u7d20\u306f\u3001DOM\u30c4\u30ea\u30fc\u3092\u4e0a\u306b\u9061\u3063\u3066\u300cposition\u304cstatic\u3067\u306a\u3044\u7956\u5148\u8981\u7d20\u300d\u3092\u63a2\u3057\u307e\u3059\u3002\u3082\u3057\u898b\u3064\u304b\u3089\u306a\u3044\u5834\u5408\u3001viewport\u306e\u5de6\u4e0a\u304c\u57fa\u6e96\uff080,0\uff09\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u304c\u300ctop:0; left:0;\u3067\u30da\u30fc\u30b8\u306e\u5de6\u4e0a\u9685\u306b\u884c\u3063\u3066\u3057\u307e\u3046\u300d\u3068\u3044\u3046\u554f\u984c\u306e\u539f\u56e0\u3067\u3059\u3002\u610f\u56f3\u3057\u305f\u89aa\u8981\u7d20\u3092\u57fa\u6e96\u306b\u3059\u308b\u306b\u306f\u3001\u305d\u306e\u89aa\u8981\u7d20\u306bposition:relative\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:13px;line-height:1.8;font-family:'Consolas','Courier New',monospace;white-space:pre;\">\/* \u57fa\u6e96\u306a\u3057: viewport\u306e\u5de6\u4e0a\u304c\u57fa\u6e96\u306b\u306a\u308b *\/\n.no-reference .child {\n  position: absolute;\n  top: 0;\n  left: 0;\n  \/* \u30da\u30fc\u30b8\u306e\u5de6\u4e0a\u9685\u306b\u914d\u7f6e\u3055\u308c\u3066\u3057\u307e\u3046 *\/\n}\n\n\/* \u57fa\u6e96\u3042\u308a: \u76f4\u8fd1\u306erelative\u89aa\u304c\u57fa\u6e96 *\/\n.wrapper {\n  position: relative; \/* \u2190 \u3053\u308c\u304c\u57fa\u6e96 *\/\n  width: 300px;\n  height: 200px;\n}\n.wrapper .child {\n  position: absolute;\n  top: 0;    \/* .wrapper\u306e\u4e0a\u7aef\u304b\u30890px *\/\n  left: 0;   \/* .wrapper\u306e\u5de6\u7aef\u304b\u30890px *\/\n}\n\n\/* \u30cd\u30b9\u30c8\u3055\u308c\u305f\u5834\u5408: \u6700\u3082\u8fd1\u3044non-static\u7956\u5148\u304c\u57fa\u6e96 *\/\n.grandparent {\n  position: relative; \/* \u57fa\u6e96 *\/\n}\n.parent {\n  \/* position\u6307\u5b9a\u306a\u3057 = static\u306e\u307e\u307e *\/\n}\n.child {\n  position: absolute;\n  \/* .parent\u3067\u306f\u306a\u304f.grandparent\u304c\u57fa\u6e96\u306b\u306a\u308b *\/\n}<\/pre>\n<\/div>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>absolute\u306e\u8981\u7d20\u3092\u767a\u898b<\/strong><br><span style=\"font-size:12px;\">DOM\u30c4\u30ea\u30fc\u3092\u4e0a\u3078\u9061\u308b<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u89aa\u8981\u7d20\u3092\u78ba\u8a8d<\/strong><br><span style=\"font-size:12px;\">position\u304cstatic\u304b<br>static\u4ee5\u5916\u304b\uff1f<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>static\u4ee5\u5916\u306a\u3089\u57fa\u6e96\u6c7a\u5b9a<\/strong><br><span style=\"font-size:12px;\">relative\/absolute\/<br>fixed\/sticky\u306a\u3089\u63a1\u7528<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u898b\u3064\u304b\u3089\u306a\u3051\u308c\u3070viewport<\/strong><br><span style=\"font-size:12px;\">\u30da\u30fc\u30b8\u5168\u4f53\u306e<br>\u5de6\u4e0a\u304c\u57fa\u6e96(0,0)<\/span><\/div>\n<\/div>\n\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;\">OFFSET<\/span>\n  <span class=\"section-title\" style=\"display:block;\">top\u30fbright\u30fbbottom\u30fbleft\u306e\u6307\u5b9a\u65b9\u6cd5<\/span>\n  <span class=\"section-desc\">\u57fa\u6e96\u8981\u7d20\u306e\u5404\u8fba\u304b\u3089\u306e\u30aa\u30d5\u30bb\u30c3\u30c8\u8ddd\u96e2\u3092\u6307\u5b9a\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>top\u30fbright\u30fbbottom\u30fbleft\uff08\u30aa\u30d5\u30bb\u30c3\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\uff09<\/strong>\uff1aposition:absolute\u306e\u8981\u7d20\u306e\u4f4d\u7f6e\u3092\u57fa\u6e96\u8981\u7d20\u304b\u3089\u306e\u8ddd\u96e2\u3067\u6307\u5b9a\u3059\u308bCSS\u30d7\u30ed\u30d1\u30c6\u30a3\u3002top:20px\u306f\u300c\u57fa\u6e96\u8981\u7d20\u306e\u4e0a\u7aef\u304b\u308920px\u4e0b\u300d\u3001right:10px\u306f\u300c\u57fa\u6e96\u8981\u7d20\u306e\u53f3\u7aef\u304b\u308910px\u5de6\u300d\u3001bottom:0\u306f\u300c\u57fa\u6e96\u8981\u7d20\u306e\u4e0b\u7aef\u3068\u540c\u3058\u9ad8\u3055\u300d\u3001left:50%\u306f\u300c\u57fa\u6e96\u8981\u7d20\u306e\u5de6\u7aef\u304b\u3089\u5e45\u306e50%\u306e\u4f4d\u7f6e\u300d\u3092\u610f\u5473\u3059\u308b\u3002top\u3068bottom\u3092\u540c\u6642\u306b\u6307\u5b9a\u3059\u308b\u3068\u8981\u7d20\u306e\u9ad8\u3055\u304c\u4f38\u7e2e\u3059\u308b\u5834\u5408\u304c\u3042\u308b\uff08height\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\uff09\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:13px;line-height:1.8;font-family:'Consolas','Courier New',monospace;white-space:pre;\">\/* \u5404\u8fba\u3078\u306e\u914d\u7f6e\u30d1\u30bf\u30fc\u30f3 *\/\n.parent {\n  position: relative;\n  width: 300px;\n  height: 200px;\n}\n\n\/* \u5de6\u4e0a\u9685 *\/\n.top-left {\n  position: absolute;\n  top: 0;\n  left: 0;\n}\n\n\/* \u53f3\u4e0a\u9685 *\/\n.top-right {\n  position: absolute;\n  top: 0;\n  right: 0;\n}\n\n\/* \u5de6\u4e0b\u9685 *\/\n.bottom-left {\n  position: absolute;\n  bottom: 0;\n  left: 0;\n}\n\n\/* \u53f3\u4e0b\u9685 *\/\n.bottom-right {\n  position: absolute;\n  bottom: 0;\n  right: 0;\n}\n\n\/* \u4e2d\u592e\u306b\u914d\u7f6e: transform\u3092\u4f7f\u3046\u65b9\u6cd5 *\/\n.center {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  transform: translate(-50%, -50%); \/* \u81ea\u5206\u81ea\u8eab\u306e50%\u3060\u3051\u623b\u3059 *\/\n}\n\n\/* \u30d1\u30fc\u30bb\u30f3\u30c8\u3067\u306e\u6307\u5b9a *\/\n.quarter {\n  position: absolute;\n  top: 25%;   \/* \u89aa\u306e\u9ad8\u3055\u306e25%\u5206\u4e0b *\/\n  left: 25%;  \/* \u89aa\u306e\u5e45\u306e25%\u5206\u53f3 *\/\n}\n\n\/* calc()\u3068\u306e\u7d44\u307f\u5408\u308f\u305b *\/\n.offset {\n  position: absolute;\n  top: calc(50% - 20px); \/* \u4e2d\u592e\u3088\u308a20px\u4e0a *\/\n}<\/pre>\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;\">\u4e2d\u592e\u914d\u7f6e\u306ftop:50% + transform:translate(-50%,-50%)\u304c\u5b9a\u756a<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u8981\u7d20\u3092\u57fa\u6e96\u8981\u7d20\u306e\u4e2d\u592e\u306b\u914d\u7f6e\u3059\u308b\u6700\u3082\u78ba\u5b9f\u306a\u65b9\u6cd5\u306f\u3001top:50%; left:50%\u3067\u307e\u305a\u57fa\u6e96\u306e\u4e2d\u5fc3\u306b\u8981\u7d20\u306e\u5de6\u4e0a\u89d2\u3092\u79fb\u52d5\u3055\u305b\u3001transform:translate(-50%,-50%)\u3067\u81ea\u5206\u81ea\u8eab\u306e\u30b5\u30a4\u30ba\u306e50%\u3060\u3051\u623b\u3059\u3053\u3068\u3067\u3059\u3002width\/height\u306b\u95a2\u4fc2\u306a\u304f\u5e38\u306b\u4e2d\u592e\u306b\u914d\u7f6e\u3067\u304d\u308b\u305f\u3081\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u3067\u3082\u5b89\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n\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;\">ZINDEX<\/span>\n  <span class=\"section-title\" style=\"display:block;\">z-index\u3067\u91cd\u306a\u308a\u9806\u3092\u5236\u5fa1\u3059\u308b<\/span>\n  <span class=\"section-desc\">\u6570\u5024\u304c\u5927\u304d\u3044\u307b\u3069\u524d\u9762\u306b\u8868\u793a\u3055\u308c\u308b\u3002\u540c\u4e00\u30b9\u30bf\u30c3\u30ad\u30f3\u30b0\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u5185\u3067\u306e\u6bd4\u8f03<\/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>z-index \u3068 \u30b9\u30bf\u30c3\u30ad\u30f3\u30b0\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8<\/strong>\uff1az-index\u306f\u8981\u7d20\u306e\u300c\u5965\u884c\u304d\u65b9\u5411\uff08Z\u8ef8\uff09\u300d\u306e\u9806\u5e8f\u3092\u6307\u5b9a\u3059\u308bCSS\u30d7\u30ed\u30d1\u30c6\u30a3\u3002\u5024\u304c\u5927\u304d\u3044\u307b\u3069\u524d\u9762\uff08\u4e0a\uff09\u306b\u8868\u793a\u3055\u308c\u308b\u3002\u305f\u3060\u3057z-index\u306fposition\u304cstatic\u3067\u306a\u3044\u8981\u7d20\u306b\u3057\u304b\u52b9\u679c\u304c\u306a\u304f\u3001\u307e\u305f\u540c\u3058\u300c\u30b9\u30bf\u30c3\u30ad\u30f3\u30b0\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u300d\u5185\u3067\u306e\u6bd4\u8f03\u306b\u306a\u308b\u3002\u30b9\u30bf\u30c3\u30ad\u30f3\u30b0\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306f\u3001z-index\u3092\u6307\u5b9a\u3057\u305fpositioned\u8981\u7d20\u3084\u3001opacity<1\u306e\u8981\u7d20\u3001transform\u30fbfilter\u30fbwill-change\u3092\u6301\u3064\u8981\u7d20\u306a\u3069\u304c\u65b0\u3057\u3044\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3092\u4f5c\u308b\u3002\u5225\u306e\u30b9\u30bf\u30c3\u30ad\u30f3\u30b0\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u5185\u306e\u8981\u7d20\u3068\u306fz-index\u3092\u6bd4\u3079\u3089\u308c\u306a\u3044\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:13px;line-height:1.8;font-family:'Consolas','Courier New',monospace;white-space:pre;\">\/* z-index\u306e\u57fa\u672c *\/\n\n\/* position:static\u306b\u306fz-index\u304c\u52b9\u304b\u306a\u3044 *\/\n.no-effect {\n  \/* position\u6307\u5b9a\u306a\u3057 = static\u306e\u307e\u307e *\/\n  z-index: 9999; \/* \u2190 \u52b9\u679c\u306a\u3057\uff01 *\/\n}\n\n\/* z-index\u304c\u6709\u52b9\u306b\u306a\u308b\u6761\u4ef6: positioned\u8981\u7d20 *\/\n.layer-a {\n  position: absolute;\n  z-index: 1;   \/* \u5f8c\u308d *\/\n  background: #f87171;\n}\n.layer-b {\n  position: absolute;\n  z-index: 2;   \/* .layer-a\u306e\u524d\u9762 *\/\n  background: #60a5fa;\n}\n.layer-c {\n  position: absolute;\n  z-index: 10;  \/* \u6700\u524d\u9762 *\/\n  background: #34d399;\n}\n\n\/* \u4e00\u822c\u7684\u306az-index\u306e\u8a2d\u8a08 *\/\n:root {\n  --z-base: 0;\n  --z-dropdown: 100;\n  --z-modal-overlay: 200;\n  --z-modal: 201;\n  --z-tooltip: 300;\n  --z-notification: 400;\n}\n\n.dropdown {\n  position: absolute;\n  z-index: var(--z-dropdown);\n}\n.modal-overlay {\n  position: fixed;\n  z-index: var(--z-modal-overlay);\n}<\/pre>\n<\/div>\n\n\n\n<table>\n<thead><tr><th>position\u5024<\/th><th>z-index\u306e\u52b9\u679c<\/th><th>\u4e3b\u306a\u7528\u9014<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>static\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\uff09<\/td><td>\u52b9\u679c\u306a\u3057<\/td><td>\u901a\u5e38\u306e\u30d6\u30ed\u30c3\u30af\u8981\u7d20<\/td><\/tr>\n<tr><td>relative<\/td><td>\u6709\u52b9<\/td><td>\u57fa\u6e96\u6307\u5b9a\u30fb\u5fae\u8abf\u6574<\/td><\/tr>\n<tr><td>absolute<\/td><td>\u6709\u52b9<\/td><td>\u7279\u5b9a\u4f4d\u7f6e\u3078\u306e\u914d\u7f6e\u30fb\u30d0\u30c3\u30b8<\/td><\/tr>\n<tr><td>fixed<\/td><td>\u6709\u52b9<\/td><td>\u30d8\u30c3\u30c0\u30fc\u30fb\u30e2\u30fc\u30c0\u30eb<\/td><\/tr>\n<tr><td>sticky<\/td><td>\u6709\u52b9<\/td><td>\u30b9\u30af\u30ed\u30fc\u30eb\u8ffd\u5f93<\/td><\/tr>\n<\/tbody>\n<\/table>\n\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;\">COMPARE<\/span>\n  <span class=\"section-title\" style=\"display:block;\">fixed\u30fbstatic\u30fbsticky\u3068\u306e\u9055\u3044<\/span>\n  <span class=\"section-desc\">position\u306e5\u3064\u306e\u5024\u3092\u6574\u7406\u3057\u3066\u4f7f\u3044\u5206\u3051\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>position:fixed<\/strong>\uff1a\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\uff08\u30d6\u30e9\u30a6\u30b6\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u8868\u793a\u9818\u57df\uff09\u3092\u57fa\u6e96\u3068\u3057\u3066\u56fa\u5b9a\u4f4d\u7f6e\u306b\u914d\u7f6e\u3059\u308bCSS\u306e\u5024\u3002\u30da\u30fc\u30b8\u3092\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u3082\u4f4d\u7f6e\u304c\u5909\u308f\u3089\u306a\u3044\u3002\u30d8\u30c3\u30c0\u30fc\u30fb\u30b5\u30a4\u30c9\u30ca\u30d3\u30fb\u30c1\u30e3\u30c3\u30c8\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306a\u3069\u300c\u5e38\u306b\u753b\u9762\u5185\u306b\u8868\u793a\u3057\u3066\u304a\u304d\u305f\u3044\u8981\u7d20\u300d\u306b\u4f7f\u3046\u3002absolute\u3068\u306e\u6700\u5927\u306e\u9055\u3044\u306f\u300c\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u3082\u52d5\u304b\u306a\u3044\u300d\u70b9\u3068\u300c\u57fa\u6e96\u304cviewpoint\u3067\u3042\u308b\u3053\u3068\uff08\u89aa\u306erelative\u306f\u7121\u52b9\uff09\u300d\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:13px;line-height:1.8;font-family:'Consolas','Courier New',monospace;white-space:pre;\">\/* position5\u7a2e\u306e\u6bd4\u8f03 *\/\n\n\/* 1. static\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\uff09: \u901a\u5e38\u30d5\u30ed\u30fc\u3002top\/left\u7b49\u306f\u7121\u52b9 *\/\n.static-example {\n  \/* position: static; \u306f\u7701\u7565\u53ef\u80fd *\/\n}\n\n\/* 2. relative: \u901a\u5e38\u30d5\u30ed\u30fc\u306e\u4f4d\u7f6e\u304b\u3089\u76f8\u5bfe\u7684\u306b\u79fb\u52d5\u3002\u5143\u306e\u5834\u6240\u306b\u30b9\u30da\u30fc\u30b9\u304c\u6b8b\u308b *\/\n.relative-example {\n  position: relative;\n  top: 10px;   \/* \u5143\u306e\u4f4d\u7f6e\u304b\u308910px\u4e0b\u306b\u305a\u308c\u308b\u3002\u30b9\u30da\u30fc\u30b9\u306f\u5143\u306e\u4f4d\u7f6e\u306e\u307e\u307e *\/\n  left: 20px;\n}\n\n\/* 3. absolute: \u6700\u8fd1\u975estatic\u306e\u7956\u5148\u3092\u57fa\u6e96\u3002\u901a\u5e38\u30d5\u30ed\u30fc\u304b\u3089\u5916\u308c\u308b *\/\n.absolute-example {\n  position: absolute;\n  top: 0;\n  right: 0;   \/* \u57fa\u6e96\u8981\u7d20\u306e\u53f3\u4e0a\u306b\u914d\u7f6e *\/\n}\n\n\/* 4. fixed: viewport\u3092\u57fa\u6e96\u3002\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u3082\u52d5\u304b\u306a\u3044 *\/\n.fixed-example {\n  position: fixed;\n  bottom: 20px;\n  right: 20px;  \/* \u753b\u9762\u53f3\u4e0b\u306b\u5e38\u306b\u8868\u793a *\/\n  z-index: 100;\n}\n\n\/* 5. sticky: \u901a\u5e38\u30d5\u30ed\u30fc\u3067\u52d5\u304d\u3001\u95be\u5024\u3092\u8d85\u3048\u305f\u3089fixed\u306e\u3088\u3046\u306b\u56fa\u5b9a *\/\n.sticky-example {\n  position: sticky;\n  top: 0;  \/* \u4e0a\u7aef\u307e\u3067\u6765\u305f\u3089\u56fa\u5b9a *\/\n  background: white;\n  z-index: 10;\n}<\/pre>\n<\/div>\n\n\n\n<table>\n<thead><tr><th>\u5024<\/th><th>\u30d5\u30ed\u30fc\u304b\u3089\u5916\u308c\u308b\u304b<\/th><th>\u57fa\u6e96<\/th><th>\u30b9\u30af\u30ed\u30fc\u30eb\u3067\u52d5\u304f\u304b<\/th><th>\u5178\u578b\u7684\u306a\u7528\u9014<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>static<\/td><td>\u5916\u308c\u306a\u3044<\/td><td>\u2212<\/td><td>\u52d5\u304f<\/td><td>\u901a\u5e38\u8981\u7d20\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\uff09<\/td><\/tr>\n<tr><td>relative<\/td><td>\u5916\u308c\u306a\u3044\uff08\u30b9\u30da\u30fc\u30b9\u6b8b\u308b\uff09<\/td><td>\u81ea\u5206\u306e\u5143\u306e\u4f4d\u7f6e<\/td><td>\u52d5\u304f<\/td><td>\u5fae\u8abf\u6574\u30fbabsolute\u306e\u57fa\u6e96<\/td><\/tr>\n<tr><td>absolute<\/td><td>\u5916\u308c\u308b<\/td><td>\u76f4\u8fd1non-static\u7956\u5148<\/td><td>\u52d5\u304f<\/td><td>\u30d0\u30c3\u30b8\u30fb\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4<\/td><\/tr>\n<tr><td>fixed<\/td><td>\u5916\u308c\u308b<\/td><td>viewport<\/td><td>\u52d5\u304b\u306a\u3044<\/td><td>\u30d8\u30c3\u30c0\u30fc\u30fb\u30c1\u30e3\u30c3\u30c8\u30dc\u30bf\u30f3<\/td><\/tr>\n<tr><td>sticky<\/td><td>\u5916\u308c\u306a\u3044<\/td><td>\u901a\u5e38\u30d5\u30ed\u30fc\u2192viewport<\/td><td>\u95be\u5024\u307e\u3067\u52d5\u304f<\/td><td>\u30c6\u30fc\u30d6\u30eb\u30d8\u30c3\u30c0\u30fc\u30fb\u30ca\u30d3<\/td><\/tr>\n<\/tbody>\n<\/table>\n\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;\">PATTERNS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u5b9f\u8df5\u30d1\u30bf\u30fc\u30f3\uff08\u30d0\u30c3\u30b8\u30fb\u5439\u304d\u51fa\u3057\u30fb\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\uff09<\/span>\n  <span class=\"section-desc\">absolute\u3092\u4f7f\u3046\u5b9a\u756aUI\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306eCSS\u5b9f\u88c5<\/span>\n<\/h2>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:13px;line-height:1.8;font-family:'Consolas','Courier New',monospace;white-space:pre;\">\/* \u30d1\u30bf\u30fc\u30f31: \u901a\u77e5\u30d0\u30c3\u30b8\uff08\u53f3\u4e0a\u306b\u8d64\u4e38\u6570\u5b57\uff09 *\/\n.icon-wrapper {\n  position: relative;  \/* \u30d0\u30c3\u30b8\u306e\u57fa\u6e96 *\/\n  display: inline-block;\n}\n.badge {\n  position: absolute;\n  top: -8px;\n  right: -8px;\n  width: 20px;\n  height: 20px;\n  background: #dc2626;\n  color: white;\n  font-size: 11px;\n  font-weight: bold;\n  border-radius: 50%;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n\/* \u30d1\u30bf\u30fc\u30f32: \u753b\u50cf\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u30c6\u30ad\u30b9\u30c8 *\/\n.image-card {\n  position: relative;\n  overflow: hidden;\n}\n.image-card img {\n  width: 100%;\n  display: block;\n}\n.overlay {\n  position: absolute;\n  bottom: 0;\n  left: 0;\n  right: 0;          \/* \u6a2a\u5e45\u3044\u3063\u3071\u3044 *\/\n  background: linear-gradient(transparent, rgba(0,0,0,0.7));\n  color: white;\n  padding: 32px 16px 16px;\n}\n\n\/* \u30d1\u30bf\u30fc\u30f33: \u30e2\u30fc\u30c0\u30eb\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4 *\/\n.modal-overlay {\n  position: fixed;   \/* viewport\u3092\u57fa\u6e96 *\/\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  background: rgba(0, 0, 0, 0.5);\n  z-index: 200;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n.modal-box {\n  position: relative; \/* \u00d7\u30dc\u30bf\u30f3\u306e\u57fa\u6e96 *\/\n  background: white;\n  border-radius: 12px;\n  padding: 32px;\n  max-width: 500px;\n  width: 90%;\n}\n.modal-close {\n  position: absolute;\n  top: 12px;\n  right: 12px;\n  cursor: pointer;\n  font-size: 20px;\n}<\/pre>\n<\/div>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>\u89aa\u8981\u7d20\u306brelative<\/strong><br><span style=\"font-size:12px;\">position: relative<br>\u3092\u8a2d\u5b9a\u3059\u308b<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u5b50\u8981\u7d20\u306babsolute<\/strong><br><span style=\"font-size:12px;\">position: absolute<br>+ top\/right\u7b49<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>z-index\u3067\u9806\u5e8f\u8abf\u6574<\/strong><br><span style=\"font-size:12px;\">\u91cd\u306a\u308a\u304c\u3042\u308b\u5834\u5408\u306f<br>z-index\u3092\u6307\u5b9a<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u5b8c\u6210<\/strong><br><span style=\"font-size:12px;\">\u30d0\u30c3\u30b8\u30fb\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u30fb<br>\u30e2\u30fc\u30c0\u30eb\u304c\u8868\u793a<\/span><\/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\">overflow\u3068absolute\u306e\u7d44\u307f\u5408\u308f\u305b\u306b\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002\u89aa\u8981\u7d20\u306boverflow:hidden;\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u3001absolute\u306e\u5b50\u8981\u7d20\u304c\u89aa\u306e\u5916\u5074\u306b\u98db\u3073\u51fa\u3057\u305f\u90e8\u5206\u304c\u30af\u30ea\u30c3\u30d4\u30f3\u30b0\u3055\u308c\u3066\u898b\u3048\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u30d0\u30c3\u30b8\u3092\u89aa\u8981\u7d20\u306e\u5916\u5074\u306b\u51fa\u3057\u305f\u3044\u5834\u5408\uff08top:-8px\u7b49\uff09\u306f\u3001\u89aa\u8981\u7d20\u306boverflow:hidden\u3092\u8a2d\u5b9a\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n\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;\">TROUBLESHOOT<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u3088\u304f\u3042\u308b\u5931\u6557\u3068\u30c7\u30d0\u30c3\u30b0\u65b9\u6cd5<\/span>\n  <span class=\"section-desc\">absolute\u304c\u52b9\u304b\u306a\u3044\u30fb\u305a\u308c\u308b\u539f\u56e0\u306e\u78ba\u8a8d\u624b\u9806<\/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>\u30b9\u30bf\u30c3\u30ad\u30f3\u30b0\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306e\u7f60<\/strong>\uff1az-index\u3067\u60f3\u5b9a\u901a\u308a\u306e\u91cd\u306a\u308a\u9806\u306b\u306a\u3089\u306a\u3044\u554f\u984c\u306e\u591a\u304f\u306f\u300c\u30b9\u30bf\u30c3\u30ad\u30f3\u30b0\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u300d\u304c\u539f\u56e0\u3002transform\u30fbfilter\u30fbopacity<1\u30fbwill-change\u306a\u3069\u3092\u6301\u3064\u8981\u7d20\u304c\u65b0\u3057\u3044\u30b9\u30bf\u30c3\u30ad\u30f3\u30b0\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3092\u4f5c\u308a\u3001\u305d\u306e\u4e2d\u306ez-index\u306f\u5916\u90e8\u306ez-index\u3068\u6bd4\u8f03\u3067\u304d\u306a\u304f\u306a\u308b\u3002\u4f8b\u3048\u3070\u89aa\u8981\u7d20\u306btransform:rotate(0deg)\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u305d\u306e\u5b50\u8981\u7d20\u306ez-index\u304c\u3044\u304f\u3089\u5927\u304d\u304f\u3066\u3082\u3001\u5225\u306e\u30b9\u30bf\u30c3\u30ad\u30f3\u30b0\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306e\u8981\u7d20\u306b\u8ca0\u3051\u308b\u3053\u3068\u304c\u3042\u308b\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:13px;line-height:1.8;font-family:'Consolas','Courier New',monospace;white-space:pre;\">\/* \u3088\u304f\u3042\u308b\u5931\u6557\u30d1\u30bf\u30fc\u30f3\u3068\u4fee\u6b63 *\/\n\n\/* \u5931\u65571: \u89aa\u306brelative\u3092\u5fd8\u308c\u3066viewport\u57fa\u6e96\u306b\u306a\u308b *\/\n\/* \u554f\u984c\u306e\u30b3\u30fc\u30c9 *\/\n.parent-no-relative {\n  \/* position\u6307\u5b9a\u306a\u3057 \u2192 static\u306e\u307e\u307e *\/\n}\n.child-absolute {\n  position: absolute;\n  top: 0; right: 0; \/* viewport\u306e\u53f3\u4e0a\u306b\u884c\u3063\u3066\u3057\u307e\u3046 *\/\n}\n\/* \u4fee\u6b63 *\/\n.parent-fixed {\n  position: relative; \/* \u2190 \u8ffd\u52a0 *\/\n}\n\n\/* \u5931\u65572: z-index\u304c\u52b9\u304b\u306a\u3044\uff08\u9759\u7684\u8981\u7d20\u306b\u6307\u5b9a\uff09 *\/\n\/* \u554f\u984c\u306e\u30b3\u30fc\u30c9 *\/\n.no-position {\n  z-index: 9999; \/* static\u306b\u306fz-index\u304c\u52b9\u304b\u306a\u3044 *\/\n}\n\/* \u4fee\u6b63: position:relative\u3092\u8ffd\u52a0 *\/\n.with-position {\n  position: relative;\n  z-index: 9999;\n}\n\n\/* \u5931\u65573: overflow:hidden\u3067\u5b50\u304c\u5207\u308c\u308b *\/\n\/* \u554f\u984c\u306e\u30b3\u30fc\u30c9 *\/\n.clipping-parent {\n  position: relative;\n  overflow: hidden; \/* \u2190 absolute\u306e\u5b50\u304c\u7bc4\u56f2\u5916\u3067\u5207\u308c\u308b *\/\n}\n.badge-outside {\n  position: absolute;\n  top: -8px; \/* \u89aa\u306e\u4e0a\u8fba\u3088\u308a\u4e0a\u306b\u51fa\u3088\u3046\u3068\u3059\u308b\u304c\u5207\u308c\u308b *\/\n}\n\/* \u30c7\u30d0\u30c3\u30b0: \u30d6\u30e9\u30a6\u30b6\u306eF12\u2192Elements\u3067Computed\u3092\u78ba\u8a8d\u3059\u308b *\/<\/pre>\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;\">F12\u2192Elements\u30bf\u30d6\u2192Computed\u3067position\u306e\u5b9f\u969b\u306e\u5024\u3092\u78ba\u8a8d\u3059\u308b<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">CSS\u306epositioning\u554f\u984c\u306e\u30c7\u30d0\u30c3\u30b0\u306f\u30d6\u30e9\u30a6\u30b6\u306eF12\uff08\u958b\u767a\u8005\u30c4\u30fc\u30eb\uff09\u304c\u6700\u901f\u3067\u3059\u3002Elements\uff08\u8981\u7d20\uff09\u30bf\u30d6\u3067\u8a72\u5f53\u8981\u7d20\u3092\u9078\u629e\u3057\u3001Styles\uff08\u30b9\u30bf\u30a4\u30eb\uff09\u30bf\u30d6\u3067\u3069\u306eCSS\u304c\u9069\u7528\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002Computed\u30bf\u30d6\u3067\u306fposition\u3084top\/left\u306e\u8a08\u7b97\u5f8c\u306e\u5b9f\u969b\u306e\u5024\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u300c\u610f\u56f3\u3057\u305f\u30b9\u30bf\u30a4\u30eb\u304c\u4ed6\u306eCSS\u3067\u4e0a\u66f8\u304d\u3055\u308c\u3066\u3044\u306a\u3044\u304b\u300d\u300c\u30b9\u30bf\u30a4\u30eb\u304c\u6253\u3061\u6d88\u3057\u7dda\u8868\u793a\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u304b\u300d\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\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;\">08<\/span>\n  <span class=\"section-label\" style=\"display:block;\">AI_ASSIST<\/span>\n  <span class=\"section-title\" style=\"display:block;\">Claude Code\u3067CSS\u306eposition\u6307\u5b9a\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b<\/span>\n  <span class=\"section-desc\">\u300c\u25cb\u25cb\u306eUI\u3092\u4f5c\u3063\u3066\u300d\u3068\u6307\u793a\u3059\u308b\u3060\u3051\u3067HTML+CSS\u304c\u5b8c\u6210<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Claude Code<\/strong>\u3092\u4f7f\u3048\u3070\u3001\u300c\u753b\u50cf\u306e\u53f3\u4e0a\u306b\u901a\u77e5\u30d0\u30c3\u30b8\u3092\u8868\u793a\u3057\u305f\u3044\u300d\u300c\u30e2\u30fc\u30c0\u30eb\u306e\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u3092\u4f5c\u308a\u305f\u3044\u300d\u3068\u3044\u3046\u6307\u793a\u3060\u3051\u3067\u3001position:relative+absolute\u3092\u6b63\u3057\u304f\u7d44\u307f\u5408\u308f\u305b\u305fHTML\u30fbCSS\u304c\u5373\u5ea7\u306b\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u3084\u308a\u305f\u3044UI<\/th><th>Claude Code\u3078\u306e\u6307\u793a\u4f8b<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u901a\u77e5\u30d0\u30c3\u30b8<\/td><td>\u300c\u30a2\u30a4\u30b3\u30f3\u306e\u53f3\u4e0a\u306b\u8d64\u3044\u4e38\u6570\u5b57\u30d0\u30c3\u30b8\u3092\u8868\u793a\u3059\u308bHTML+CSS\u3092\u66f8\u3044\u3066\u3002position\u3092\u4f7f\u3063\u3066\u5b9f\u88c5\u3057\u3066\u3002\u300d<\/td><\/tr>\n<tr><td>\u753b\u50cf\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4<\/td><td>\u300c\u753b\u50cf\u30ab\u30fc\u30c9\u3067\u3001\u753b\u50cf\u306e\u4e0b\u90e8\u306b\u30c6\u30ad\u30b9\u30c8\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\uff08\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u80cc\u666f+\u767d\u30c6\u30ad\u30b9\u30c8\uff09\u3092\u8868\u793a\u3059\u308bCSS\u3092\u66f8\u3044\u3066\u3002\u300d<\/td><\/tr>\n<tr><td>\u30e2\u30fc\u30c0\u30eb<\/td><td>\u300c\u753b\u9762\u5168\u4f53\u3092\u6697\u304f\u3059\u308b\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u3068\u3001\u4e2d\u592e\u306b\u30c0\u30a4\u30a2\u30ed\u30b0\u30dc\u30c3\u30af\u30b9\u3092\u8868\u793a\u3059\u308b\u30e2\u30fc\u30c0\u30eb\u306eHTML+CSS\u3092\u4f5c\u3063\u3066\u3002\u9589\u3058\u308b\u30dc\u30bf\u30f3\u4ed8\u304d\u3002\u300d<\/td><\/tr>\n<tr><td>\u5439\u304d\u51fa\u3057\uff08\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\uff09<\/td><td>\u300c\u30dc\u30bf\u30f3\u306b\u30db\u30d0\u30fc\u3057\u305f\u3068\u304d\u4e0a\u306b\u5439\u304d\u51fa\u3057\uff08\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\uff09\u3092\u8868\u793a\u3059\u308bCSS\u3092\u66f8\u3044\u3066\u3002absolute + :after\u7591\u4f3c\u8981\u7d20\u3067\u4e09\u89d2\u5f62\u3092\u4f5c\u3063\u3066\u3002\u300d<\/td><\/tr>\n<\/tbody>\n<\/table>\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\">position:absolute\u306f\u300c\u306a\u305c\u601d\u3063\u305f\u5834\u6240\u306b\u6765\u306a\u3044\u304b\u300d\u3068\u3044\u3046\u554f\u984c\u304c\u8d77\u304d\u3084\u3059\u3044\u3067\u3059\u304c\u3001Claude Code\u306b\u300c\u610f\u56f3\u3057\u305f\u52d5\u4f5c\u300d\u3092\u4f1d\u3048\u308c\u3070\u3001relative\u3068absolute\u3092\u6b63\u3057\u304f\u7d44\u307f\u5408\u308f\u305b\u305f\u30b3\u30fc\u30c9\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002\u300c\u89aa\u8981\u7d20\u3092\u57fa\u6e96\u306b\u3057\u3066\u25cb\u25cb\u3092\u53f3\u4e0a\u306b\u7f6e\u304d\u305f\u3044\u300d\u3068\u3044\u3046\u65e5\u672c\u8a9e\u306e\u6307\u793a\u3067\u5341\u5206\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n\n<div id=\"sec-09\"><\/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;\">CONCLUSION<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u307e\u3068\u3081\uff1aposition:absolute\u306e\u91cd\u8981\u30dd\u30a4\u30f3\u30c8<\/span>\n  <span class=\"section-desc\">relative\u89aa\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u30fbz-index\u30fb\u5b9f\u8df5\u30d1\u30bf\u30fc\u30f3\u306e\u6574\u7406<\/span>\n<\/h2>\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>position:absolute\u306f<strong>\u901a\u5e38\u30d5\u30ed\u30fc\u304b\u3089\u5916\u308c<\/strong>\u3066\u6700\u8fd1\u306enon-static\u7956\u5148\u8981\u7d20\u3092\u57fa\u6e96\u306b\u914d\u7f6e\u3055\u308c\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>\u89aa\u8981\u7d20\u306b<strong>position:relative<\/strong>\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u57fa\u6e96\u3092\u660e\u793a\uff08\u3057\u306a\u3044\u3068viewport\u57fa\u6e96\u306b\u306a\u308b\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>top\u30fbright\u30fbbottom\u30fbleft<\/strong>\u3067\u57fa\u6e96\u8981\u7d20\u306e\u5404\u8fba\u304b\u3089\u306e\u30aa\u30d5\u30bb\u30c3\u30c8\u8ddd\u96e2\u3092\u6307\u5b9a<\/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>\u4e2d\u592e\u914d\u7f6e<\/strong>\u306ftop:50%; left:50%; transform:translate(-50%,-50%)\u304c\u5b9a\u756a<\/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>z-index<\/strong>\u306fposition\u304cstatic\u4ee5\u5916\u306e\u8981\u7d20\u306b\u6709\u52b9\u3002\u6570\u5024\u304c\u5927\u304d\u3044\u307b\u3069\u524d\u9762<\/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>fixed<\/strong>\u3068\u306e\u9055\u3044\u306fviewport\u56fa\u5b9a\uff08\u30b9\u30af\u30ed\u30fc\u30eb\u3067\u52d5\u304b\u306a\u3044\uff09\u304b\u3069\u3046\u304b<\/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>overflow:hidden<\/strong>\u306e\u89aa\u306e\u4e2d\u3067\u5916\u5074\u306b\u51fa\u308babsolute\u306f\u30af\u30ea\u30c3\u30d4\u30f3\u30b0\u3055\u308c\u308b\u3053\u3068\u306b\u6ce8\u610f<\/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>\u306b\u300cUI\u306e\u898b\u305f\u76ee\u300d\u3092\u4f1d\u3048\u308c\u3070\u6b63\u3057\u3044position\u8a2d\u5b9a\u304c\u81ea\u52d5\u751f\u6210\u3055\u308c\u308b<\/span><\/div>\n\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">CSS\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u3082\u3063\u3068\u30b9\u30e0\u30fc\u30ba\u306b\u5b9f\u88c5\u3057\u305f\u3044\u65b9\u3078<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">position:absolute\u306b\u9650\u3089\u305a\u3001flexbox\u30fbgrid\u30fb\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u306a\u3069\u306eCSS\u30ec\u30a4\u30a2\u30a6\u30c8\u3092Claude Code\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u5b9f\u88c5\u901f\u5ea6\u304c\u5927\u5e45\u306b\u5411\u4e0a\u3057\u307e\u3059\u3002<br>AI\u9b3c\u7ba1\u7406\u3067\u306f\u3001Web\u958b\u767a\u30fb\u30c7\u30b6\u30a4\u30f3\u696d\u52d9\u306e\u52b9\u7387\u5316\u306b\u95a2\u3059\u308b\u7121\u6599\u76f8\u8ac7\u3092\u53d7\u3051\u4ed8\u3051\u3066\u3044\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\">CSS\u306e\u300c\u306a\u305c\u601d\u3063\u305f\u901a\u308a\u306b\u8868\u793a\u3055\u308c\u306a\u3044\u304b\u300d\u3068\u3044\u3046\u554f\u984c\u3082\u3001\u73fe\u72b6\u306e\u30b3\u30fc\u30c9\u3092Claude Code\u306b\u8cbc\u308a\u4ed8\u3051\u3066\u300c\u671f\u5f85\u3059\u308b\u8868\u793a\u306f\u3053\u3046\u3067\u3059\u300d\u3068\u4f1d\u3048\u308b\u3060\u3051\u3067\u539f\u56e0\u3068\u4fee\u6b63\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u308c\u307e\u3059\u3002\u30c7\u30d0\u30c3\u30b0\u52b9\u7387\u304c\u5287\u7684\u306b\u4e0a\u304c\u308a\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n\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=cc-css-position-absolute&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\u306eposition:absolute\u306e\u4f7f\u3044\u65b9\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. position:absolute\u306f\u8981\u7d20\u3092\u901a\u5e38\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30d5\u30ed\u30fc\u304b\u3089\u5916\u3057\u3066\u4efb\u610f\u306e\u4f4d\u7f6e\u306b\u914d\u7f6e\u3059\u308bCSS\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3059\u3002\u57fa\u672c\u306f\u2460\u57fa\u6e96\u306b\u3057\u305f\u3044\u89aa\u8981\u7d20\u306bposition:relative\u3092\u8a2d\u5b9a\u3001\u2461\u914d\u7f6e\u3057\u305f\u3044\u8981\u7d20\u306bposition:absolute\u3068top\/right\/bottom\/left\u3092\u6307\u5b9a\u3001\u3068\u3044\u30462\u30b9\u30c6\u30c3\u30d7\u3067\u3059\u3002\u4f8b: .parent{position:relative} .child{position:absolute; top:0; right:0;}\u3067\u3001.child\u304c.parent\u306e\u53f3\u4e0a\u306b\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. position:absolute\u304c\u52b9\u304b\u306a\u3044\u30fb\u601d\u3063\u305f\u5834\u6240\u306b\u6765\u306a\u3044\u539f\u56e0\u306f\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u6700\u3082\u591a\u3044\u539f\u56e0\u306f\u89aa\u8981\u7d20\u306bposition:relative\u304c\u306a\u3044\u3053\u3068\u3067\u3059\u3002relative\u304c\u306a\u3044\u3068\u3001DOM\u30c4\u30ea\u30fc\u3092\u3055\u304b\u306e\u307c\u3063\u3066position\u304cstatic\u3067\u306a\u3044\u7956\u5148\u8981\u7d20\u304c\u57fa\u6e96\u306b\u306a\u308a\u3001\u898b\u3064\u304b\u3089\u306a\u3051\u308c\u3070viewport\uff08\u753b\u9762\u306e\u5de6\u4e0a\uff09\u304c\u57fa\u6e96\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u89aa\u8981\u7d20\u306boverflow:hidden\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3068\u3001\u89aa\u306e\u7bc4\u56f2\u5916\u306b\u51fa\u305f\u90e8\u5206\u304c\u30af\u30ea\u30c3\u30d4\u30f3\u30b0\u3055\u308c\u307e\u3059\u3002\u30d6\u30e9\u30a6\u30b6\u306eF12\u2192Elements\u2192Computed\u3067position\u306e\u5b9f\u969b\u306e\u8a08\u7b97\u5024\u3092\u78ba\u8a8d\u3059\u308b\u306e\u304c\u6700\u901f\u306e\u30c7\u30d0\u30c3\u30b0\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. position:absolute\u3068position:fixed\u306e\u9055\u3044\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. absolute\u306f\u6700\u8fd1\u306enon-static\u7956\u5148\u8981\u7d20\u3092\u57fa\u6e96\u3068\u3057\u3001\u30da\u30fc\u30b8\u30b9\u30af\u30ed\u30fc\u30eb\u3068\u3068\u3082\u306b\u52d5\u304d\u307e\u3059\u3002fixed\u306fviewport\uff08\u30d6\u30e9\u30a6\u30b6\u30a6\u30a3\u30f3\u30c9\u30a6\uff09\u3092\u57fa\u6e96\u3068\u3057\u3001\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u3082\u4f4d\u7f6e\u304c\u5909\u308f\u308a\u307e\u305b\u3093\u3002\u30da\u30fc\u30b8\u5185\u306e\u7279\u5b9a\u4f4d\u7f6e\u306b\u8981\u7d20\u3092\u91cd\u306d\u305f\u3044\u5834\u5408\u306fabsolute\u3001\u5e38\u306b\u753b\u9762\u306b\u8868\u793a\u3057\u3066\u304a\u304d\u305f\u3044\uff08\u30d8\u30c3\u30c0\u30fc\u3001\u30c1\u30e3\u30c3\u30c8\u30dc\u30bf\u30f3\u306a\u3069\uff09\u5834\u5408\u306ffixed\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. z-index\u304c\u52b9\u304b\u306a\u3044\u5834\u5408\u306e\u539f\u56e0\u306f\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. z-index\u306fposition\u304cstatic\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\uff09\u306e\u8981\u7d20\u306b\u306f\u52b9\u679c\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u307e\u305aposition:relative\u307e\u305f\u306fabsolute\/fixed\/sticky\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305f\u3001z-index\u306f\u540c\u3058\u300c\u30b9\u30bf\u30c3\u30ad\u30f3\u30b0\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u300d\u5185\u3067\u306e\u6bd4\u8f03\u306b\u306a\u308a\u307e\u3059\u3002transform\u30fbfilter\u30fbopacity<1\u306a\u3069\u3092\u6301\u3064\u8981\u7d20\u304c\u65b0\u3057\u3044\u30b9\u30bf\u30c3\u30ad\u30f3\u30b0\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3092\u4f5c\u308b\u305f\u3081\u3001\u5225\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u5185\u306e\u8981\u7d20\u3068\u306fz-index\u304c\u6bd4\u8f03\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. absolute\u3067\u8981\u7d20\u3092\u4e2d\u592e\u914d\u7f6e\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u5b9a\u756a\u306e\u65b9\u6cd5\u306ftop:50%; left:50%\u3067\u57fa\u6e96\u8981\u7d20\u306e\u4e2d\u5fc3\u306b\u300c\u8981\u7d20\u306e\u5de6\u4e0a\u89d2\u300d\u3092\u79fb\u52d5\u3055\u305b\u3001transform:translate(-50%,-50%)\u3067\u81ea\u5206\u81ea\u8eab\u306e\u30b5\u30a4\u30ba\u306e50%\u3060\u3051\u623b\u3059\u3053\u3068\u3067\u3059\u3002.child{position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);}\u3068\u3044\u30461\u30bb\u30c3\u30c8\u3067\u3001width\u3084height\u306b\u95a2\u4fc2\u306a\u304f\u4e2d\u592e\u306b\u914d\u7f6e\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Claude Code\u3067CSS\u306eposition:absolute\u3092\u4f7f\u3063\u305f\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u3063\u3066\u3082\u3089\u3048\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u300c\u25cb\u25cb\u306eUI\u3092\u4f5c\u3063\u3066\u300d\u3068\u4f1d\u3048\u308b\u3060\u3051\u3067\u3001relative\u3068absolute\u3092\u6b63\u3057\u304f\u7d44\u307f\u5408\u308f\u305b\u305fHTML+CSS\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002\u4f8b: \u300c\u30ab\u30fc\u30c9\u53f3\u4e0a\u306b\u8d64\u3044\u901a\u77e5\u30d0\u30c3\u30b8\u3092\u8868\u793a\u3059\u308bHTML+CSS\u3092\u66f8\u3044\u3066\u3002position:absolute\u3067\u5b9f\u88c5\u3057\u3066\u3002\u300d\u306e\u3088\u3046\u306b\u6307\u793a\u3059\u308b\u3068\u3001\u89aa\u306brelative\u30fb\u30d0\u30c3\u30b8\u306babsolute\u304c\u8a2d\u5b9a\u3055\u308c\u305f\u52d5\u4f5c\u3059\u308b\u30b3\u30fc\u30c9\u304c\u8fd4\u3063\u3066\u304d\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\u306eposition:absolute\u306e\u4f7f\u3044\u65b9\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"position:absolute\u306f\u8981\u7d20\u3092\u901a\u5e38\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30d5\u30ed\u30fc\u304b\u3089\u5916\u3057\u3066\u4efb\u610f\u306e\u4f4d\u7f6e\u306b\u914d\u7f6e\u3059\u308bCSS\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3059\u3002\u57fa\u672c\u306f\u2460\u57fa\u6e96\u306b\u3057\u305f\u3044\u89aa\u8981\u7d20\u306bposition:relative\u3092\u8a2d\u5b9a\u3001\u2461\u914d\u7f6e\u3057\u305f\u3044\u8981\u7d20\u306bposition:absolute\u3068top\/right\/bottom\/left\u3092\u6307\u5b9a\u3001\u3068\u3044\u30462\u30b9\u30c6\u30c3\u30d7\u3067\u3059\u3002\u4f8b: .parent{position:relative} .child{position:absolute; top:0; right:0;}\u3067\u3001.child\u304c.parent\u306e\u53f3\u4e0a\u306b\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"position:absolute\u304c\u52b9\u304b\u306a\u3044\u30fb\u601d\u3063\u305f\u5834\u6240\u306b\u6765\u306a\u3044\u539f\u56e0\u306f\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u6700\u3082\u591a\u3044\u539f\u56e0\u306f\u89aa\u8981\u7d20\u306bposition:relative\u304c\u306a\u3044\u3053\u3068\u3067\u3059\u3002relative\u304c\u306a\u3044\u3068\u3001DOM\u30c4\u30ea\u30fc\u3092\u3055\u304b\u306e\u307c\u3063\u3066position\u304cstatic\u3067\u306a\u3044\u7956\u5148\u8981\u7d20\u304c\u57fa\u6e96\u306b\u306a\u308a\u3001\u898b\u3064\u304b\u3089\u306a\u3051\u308c\u3070viewport\uff08\u753b\u9762\u306e\u5de6\u4e0a\uff09\u304c\u57fa\u6e96\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u89aa\u8981\u7d20\u306boverflow:hidden\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3068\u3001\u89aa\u306e\u7bc4\u56f2\u5916\u306b\u51fa\u305f\u90e8\u5206\u304c\u30af\u30ea\u30c3\u30d4\u30f3\u30b0\u3055\u308c\u307e\u3059\u3002\u30d6\u30e9\u30a6\u30b6\u306eF12\u2192Elements\u2192Computed\u3067position\u306e\u5b9f\u969b\u306e\u8a08\u7b97\u5024\u3092\u78ba\u8a8d\u3059\u308b\u306e\u304c\u6700\u901f\u306e\u30c7\u30d0\u30c3\u30b0\u65b9\u6cd5\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"position:absolute\u3068position:fixed\u306e\u9055\u3044\u306f\u4f55\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"absolute\u306f\u6700\u8fd1\u306enon-static\u7956\u5148\u8981\u7d20\u3092\u57fa\u6e96\u3068\u3057\u3001\u30da\u30fc\u30b8\u30b9\u30af\u30ed\u30fc\u30eb\u3068\u3068\u3082\u306b\u52d5\u304d\u307e\u3059\u3002fixed\u306fviewport\uff08\u30d6\u30e9\u30a6\u30b6\u30a6\u30a3\u30f3\u30c9\u30a6\uff09\u3092\u57fa\u6e96\u3068\u3057\u3001\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u3082\u4f4d\u7f6e\u304c\u5909\u308f\u308a\u307e\u305b\u3093\u3002\u30da\u30fc\u30b8\u5185\u306e\u7279\u5b9a\u4f4d\u7f6e\u306b\u8981\u7d20\u3092\u91cd\u306d\u305f\u3044\u5834\u5408\u306fabsolute\u3001\u5e38\u306b\u753b\u9762\u306b\u8868\u793a\u3057\u3066\u304a\u304d\u305f\u3044\uff08\u30d8\u30c3\u30c0\u30fc\u3001\u30c1\u30e3\u30c3\u30c8\u30dc\u30bf\u30f3\u306a\u3069\uff09\u5834\u5408\u306ffixed\u3092\u4f7f\u3044\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"z-index\u304c\u52b9\u304b\u306a\u3044\u5834\u5408\u306e\u539f\u56e0\u306f\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"z-index\u306fposition\u304cstatic\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\uff09\u306e\u8981\u7d20\u306b\u306f\u52b9\u679c\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u307e\u305aposition:relative\u307e\u305f\u306fabsolute\/fixed\/sticky\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305f\u3001z-index\u306f\u540c\u3058\u300c\u30b9\u30bf\u30c3\u30ad\u30f3\u30b0\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u300d\u5185\u3067\u306e\u6bd4\u8f03\u306b\u306a\u308a\u307e\u3059\u3002transform\u30fbfilter\u30fbopacity<1\u306a\u3069\u3092\u6301\u3064\u8981\u7d20\u304c\u65b0\u3057\u3044\u30b9\u30bf\u30c3\u30ad\u30f3\u30b0\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3092\u4f5c\u308b\u305f\u3081\u3001\u5225\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u5185\u306e\u8981\u7d20\u3068\u306fz-index\u304c\u6bd4\u8f03\u3055\u308c\u307e\u305b\u3093\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"absolute\u3067\u8981\u7d20\u3092\u4e2d\u592e\u914d\u7f6e\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u5b9a\u756a\u306e\u65b9\u6cd5\u306ftop:50%; left:50%\u3067\u57fa\u6e96\u8981\u7d20\u306e\u4e2d\u5fc3\u306b\u300c\u8981\u7d20\u306e\u5de6\u4e0a\u89d2\u300d\u3092\u79fb\u52d5\u3055\u305b\u3001transform:translate(-50%,-50%)\u3067\u81ea\u5206\u81ea\u8eab\u306e\u30b5\u30a4\u30ba\u306e50%\u3060\u3051\u623b\u3059\u3053\u3068\u3067\u3059\u3002.child{position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);}\u3068\u3044\u30461\u30bb\u30c3\u30c8\u3067\u3001width\u3084height\u306b\u95a2\u4fc2\u306a\u304f\u4e2d\u592e\u306b\u914d\u7f6e\u3067\u304d\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Claude Code\u3067CSS\u306eposition:absolute\u3092\u4f7f\u3063\u305f\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u3063\u3066\u3082\u3089\u3048\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u300c\u25cb\u25cb\u306eUI\u3092\u4f5c\u3063\u3066\u300d\u3068\u4f1d\u3048\u308b\u3060\u3051\u3067\u3001relative\u3068absolute\u3092\u6b63\u3057\u304f\u7d44\u307f\u5408\u308f\u305b\u305fHTML+CSS\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002\u4f8b: \u300c\u30ab\u30fc\u30c9\u53f3\u4e0a\u306b\u8d64\u3044\u901a\u77e5\u30d0\u30c3\u30b8\u3092\u8868\u793a\u3059\u308bHTML+CSS\u3092\u66f8\u3044\u3066\u3002position:absolute\u3067\u5b9f\u88c5\u3057\u3066\u3002\u300d\u306e\u3088\u3046\u306b\u6307\u793a\u3059\u308b\u3068\u3001\u89aa\u306brelative\u30fb\u30d0\u30c3\u30b8\u306babsolute\u304c\u8a2d\u5b9a\u3055\u308c\u305f\u52d5\u4f5c\u3059\u308b\u30b3\u30fc\u30c9\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002\"\n      }\n    }\n  ]\n}\n<\/script>\n\n\n","protected":false},"excerpt":{"rendered":"<p>CSS\u306eposition:absolute\u3092\u5b8c\u5168\u89e3\u8aac\u3002relative\u3068\u306e\u89aa\u5b50\u95a2\u4fc2\u3067\u306a\u305crelative\u304c\u5fc5\u8981\u304b\u3001top\/right\/bottom\/left\u306e\u6307\u5b9a\u3001zIndex\u3067\u91cd\u306a\u308a\u9806\u3092\u5236\u5fa1\u3059\u308b\u65b9\u6cd5\u3001position:fixed\u3068\u306e\u9055\u3044\u3001\u30d0\u30c3\u30b8\u30fb\u5439\u304d\u51fa\u3057\u30fb\u30e2\u30fc\u30c0\u30eb\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u306e\u5b9f\u8df5\u30d1\u30bf\u30fc\u30f3\u3001Claude Code\u3067\u306e\u30b3\u30fc\u30c9\u81ea\u52d5\u751f\u6210\u307e\u3067\u5b9f\u4f8b\u4ed8\u304d\u3067\u89e3\u8aac\u3002<\/p>\n","protected":false},"author":1,"featured_media":18468,"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\u306eposition:absolute\u3092\u5b8c\u5168\u89e3\u8aac\u3002relative\u3068\u306e\u89aa\u5b50\u95a2\u4fc2\u3067\u306a\u305crelative\u304c\u5fc5\u8981\u304b\u3001top\/right\/bottom\/left\u306e\u6307\u5b9a\u3001zIndex\u3067\u91cd\u306a\u308a\u9806\u3092\u5236\u5fa1\u3059\u308b\u65b9\u6cd5\u3001position:fixed\u3068\u306e\u9055\u3044\u3001\u30d0\u30c3\u30b8\u30fb\u5439\u304d\u51fa\u3057\u30fb\u30e2\u30fc\u30c0\u30eb\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u306e\u5b9f\u8df5\u30d1\u30bf\u30fc\u30f3\u3001Claude Code\u3067\u306e\u30b3\u30fc\u30c9\u81ea\u52d5\u751f\u6210\u307e\u3067\u5b9f\u4f8b\u4ed8\u304d\u3067\u89e3\u8aac\u3002","rank_math_focus_keyword":"CSS position absolute \u4f7f\u3044\u65b9","rank_math_title":"\u30102026\u5e747\u6708\u6700\u65b0\u3011CSS\u306eposition:absolute\u3092\u5b8c\u5168\u89e3\u8aac\uff5crelative\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u30fbzIndex\uff5cAI\u9b3c\u7ba1\u7406","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-18469","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\/18469","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=18469"}],"version-history":[{"count":1,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/18469\/revisions"}],"predecessor-version":[{"id":18470,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/18469\/revisions\/18470"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media\/18468"}],"wp:attachment":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media?parent=18469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/categories?post=18469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/tags?post=18469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}