{"id":23592,"date":"2025-11-13T04:21:13","date_gmt":"2025-11-13T04:21:13","guid":{"rendered":"https:\/\/ourdemy.dev\/?p=23592"},"modified":"2025-11-20T09:37:32","modified_gmt":"2025-11-20T09:37:32","slug":"what-is-a-grid-and-in-what-cases-should-i-use-it-to-arrange-elements-on-my-page","status":"publish","type":"post","link":"https:\/\/ourdemy.com\/ja\/what-is-a-grid-and-in-what-cases-should-i-use-it-to-arrange-elements-on-my-page\/","title":{"rendered":"\u30b0\u30ea\u30c3\u30c9\u3068\u306f\u4f55\u3067\u3001\u8981\u7d20\u3092\u914d\u7f6e\u3059\u308b\u969b\u306b\u306f\u3069\u306e\u3088\u3046\u306a\u5834\u5408\u306b\u4f7f\u7528\u3057\u307e\u3059\u304b\uff1f"},"content":{"rendered":"<div style=\"width: 100%; padding: 0 clamp(16px, 4vw, 64px); box-sizing: border-box;\">\n            <div style=\"position: relative; background-color: white; border-radius: 12px; border: 1px solid #f3f4f6; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); margin: 0 auto 16px auto; transition: all 0.2s; max-width: 800px;\">\n              <div style=\"display: flex; align-items: center; justify-content: space-between; padding: clamp(12px, 3vw, 16px) clamp(12px, 3vw, 16px) clamp(10px, 2.5vw, 12px) clamp(12px, 3vw, 16px);\">\n                <div style=\"display: flex; align-items: center; gap: 12px; flex: 1;\">\n                  <div style=\"position: relative; flex-shrink:0;\">\n                    <span style=\"background: linear-gradient(135deg, #a78bfa, #8b5cf6); color: white; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\">\n                      1\n                    <\/span>\n                  <\/div>\n                  <div style=\"display: flex; align-items: center; gap: 8px; flex-1; min-width: 0;\">\n                    <div style=\"font-size: 14px; color: #1f2937; line-height: 1.625; cursor: pointer; padding: 8px; border-radius: 4px; transition: all 0.2s; border: 1px solid transparent; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; flex: 1;\">\u30a8\u30ec\u30e1\u30f3\u30c8\u30d1\u30cd\u30eb\u3067<span style=\"background-color: #dbeafe; color: #1d4ed8; padding: 1px 4px; margin: 1px 0; border-radius: 4px; font-size: 12px; font-weight: 500; border: 1px solid #bfdbfe; display: inline-block; white-space: nowrap; vertical-align: baseline;\">Grid<\/span>\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u30c9\u30e9\u30c3\u30b0\u3057\u307e\u3059\u3002\n\u25cf\u3000\u30b0\u30ea\u30c3\u30c9\u306f\u30da\u30fc\u30b8\u3092\u884c\u3068\u5217\u306b\u5206\u5272\u3057\u3001\u67d4\u8edf\u306a2\u6b21\u5143\u306e\u914d\u7f6e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002\n\u25cf\u3000\u5546\u54c1\u4e00\u89a7\u3001\u30ae\u30e3\u30e9\u30ea\u30fc\u3001\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306a\u3069\u3001\u660e\u78ba\u306a\u69cb\u9020\u304c\u5fc5\u8981\u306a\u30b1\u30fc\u30b9\u306b\u6700\u9069\u3067\u3059\u3002<\/div>\n                  <\/div>\n                <\/div>\n              <\/div>\n              \n            <div style=\"padding: 0 16px 16px 16px;\">\n              <div style=\"position: relative; overflow: hidden; border-radius: 8px; border: 1px solid #e5e7eb; background-color: #f9fafb; width: 100%;\">\n                <img fetchpriority=\"high\" decoding=\"async\" width=\"1440\" height=\"1003\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-801964b78376fc4a-1763631418.gif\" class=\"wp-image-24756\" alt=\"Screenshot for step 1\" style=\"display: block; width: 100%; height: auto; object-fit: cover;\" \/>\n              <\/div>\n            <\/div>\n          \n            <\/div>\n          <\/div>\n        \n          <div style=\"width: 100%; padding: 0 clamp(16px, 4vw, 64px); box-sizing: border-box;\">\n            <div style=\"position: relative; background-color: white; border-radius: 12px; border: 1px solid #f3f4f6; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); margin: 0 auto 16px auto; transition: all 0.2s; max-width: 800px;\">\n              <div style=\"display: flex; align-items: center; justify-content: space-between; padding: clamp(12px, 3vw, 16px) clamp(12px, 3vw, 16px) clamp(10px, 2.5vw, 12px) clamp(12px, 3vw, 16px);\">\n                <div style=\"display: flex; align-items: center; gap: 12px; flex: 1;\">\n                  <div style=\"position: relative; flex-shrink:0;\">\n                    <span style=\"background: linear-gradient(135deg, #a78bfa, #8b5cf6); color: white; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\">\n                      2\n                    <\/span>\n                  <\/div>\n                  <div style=\"display: flex; align-items: center; gap: 8px; flex-1; min-width: 0;\">\n                    <div style=\"font-size: 14px; color: #1f2937; line-height: 1.625; cursor: pointer; padding: 8px; border-radius: 4px; transition: all 0.2s; border: 1px solid transparent; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; flex: 1;\">\u8a2d\u5b9a\u30d1\u30cd\u30eb\u3067 <span style=\"background-color: #dbeafe; color: #1d4ed8; padding: 1px 4px; margin: 1px 0; border-radius: 4px; font-size: 12px; font-weight: 500; border: 1px solid #bfdbfe; display: inline-block; white-space: nowrap; vertical-align: baseline;\">Columns<\/span> \u306e\u6570\u3092\u8a2d\u5b9a\u3057\u3066\u7e26\u65b9\u5411\u306b\u5206\u5272\u3057\u3001<span style=\"background-color: #dbeafe; color: #1d4ed8; padding: 1px 4px; margin: 1px 0; border-radius: 4px; font-size: 12px; font-weight: 500; border: 1px solid #bfdbfe; display: inline-block; white-space: nowrap; vertical-align: baseline;\">Rows<\/span> \u306e\u6570\u3092\u8a2d\u5b9a\u3057\u3066\u6a2a\u65b9\u5411\u306b\u5206\u5272\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u8981\u7d20\u3092\u5de6\u53f3\u30fb\u4e0a\u4e0b\u306b\u304d\u308c\u3044\u306b\u6574\u5217\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/div>\n                  <\/div>\n                <\/div>\n              <\/div>\n              \n            <div style=\"padding: 0 16px 16px 16px;\">\n              <div style=\"position: relative; overflow: hidden; border-radius: 8px; border: 1px solid #e5e7eb; background-color: #f9fafb; width: 100%;\">\n                <img decoding=\"async\" width=\"1440\" height=\"925\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-96e8aea672a4dc53-1763631421.gif\" class=\"wp-image-24758\" alt=\"Screenshot for step 2\" style=\"display: block; width: 100%; height: auto; object-fit: cover;\" \/>\n              <\/div>\n            <\/div>\n          \n            <\/div>\n          <\/div>\n        \n          <div style=\"width: 100%; padding: 0 clamp(16px, 4vw, 64px); box-sizing: border-box;\">\n            <div style=\"position: relative; background-color: white; border-radius: 12px; border: 1px solid #f3f4f6; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); margin: 0 auto 16px auto; transition: all 0.2s; max-width: 800px;\">\n              <div style=\"display: flex; align-items: center; justify-content: space-between; padding: clamp(12px, 3vw, 16px) clamp(12px, 3vw, 16px) clamp(10px, 2.5vw, 12px) clamp(12px, 3vw, 16px);\">\n                <div style=\"display: flex; align-items: center; gap: 12px; flex: 1;\">\n                  <div style=\"position: relative; flex-shrink:0;\">\n                    <span style=\"background: linear-gradient(135deg, #a78bfa, #8b5cf6); color: white; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\">\n                      3\n                    <\/span>\n                  <\/div>\n                  <div style=\"display: flex; align-items: center; gap: 8px; flex-1; min-width: 0;\">\n                    <div style=\"font-size: 14px; color: #1f2937; line-height: 1.625; cursor: pointer; padding: 8px; border-radius: 4px; transition: all 0.2s; border: 1px solid transparent; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; flex: 1;\"><span style=\"background-color: #dbeafe; color: #1d4ed8; padding: 1px 4px; margin: 1px 0; border-radius: 4px; font-size: 12px; font-weight: 500; border: 1px solid #bfdbfe; display: inline-block; white-space: nowrap; vertical-align: baseline;\">Row Gap<\/span> \u3068 <span style=\"background-color: #dbeafe; color: #1d4ed8; padding: 1px 4px; margin: 1px 0; border-radius: 4px; font-size: 12px; font-weight: 500; border: 1px solid #bfdbfe; display: inline-block; white-space: nowrap; vertical-align: baseline;\">Column Gap<\/span> \u306e\u5024\u3092\u8abf\u6574\u3057\u3066\u30bb\u30eb\u9593\u306e\u30b9\u30da\u30fc\u30b9\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3057\u307e\u3059\u3002\u6570\u5024\u3092\u76f4\u63a5\u5165\u529b\u3059\u308b\u304b\u77e2\u5370\u3067\u5fae\u8abf\u6574\u3057\u3001\u30d0\u30e9\u30f3\u30b9\u306e\u53d6\u308c\u305f\u8aad\u307f\u3084\u3059\u3044\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u5b9f\u73fe\u3057\u307e\u3059\u3002<\/div>\n                  <\/div>\n                <\/div>\n              <\/div>\n              \n            <div style=\"padding: 0 16px 16px 16px;\">\n              <div style=\"position: relative; overflow: hidden; border-radius: 8px; border: 1px solid #e5e7eb; background-color: #f9fafb; width: 100%;\">\n                <img decoding=\"async\" width=\"1440\" height=\"923\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-32e6ada8ba242fd6-1763631425.gif\" class=\"wp-image-24759\" alt=\"Screenshot for step 3\" style=\"display: block; width: 100%; height: auto; object-fit: cover;\" \/>\n              <\/div>\n            <\/div>\n          \n            <\/div>\n          <\/div>\n        \n          <div style=\"width: 100%; padding: 0 clamp(16px, 4vw, 64px); box-sizing: border-box;\">\n            <div style=\"position: relative; background-color: white; border-radius: 12px; border: 1px solid #f3f4f6; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); margin: 0 auto 16px auto; transition: all 0.2s; max-width: 800px;\">\n              <div style=\"display: flex; align-items: center; justify-content: space-between; padding: clamp(12px, 3vw, 16px) clamp(12px, 3vw, 16px) clamp(10px, 2.5vw, 12px) clamp(12px, 3vw, 16px);\">\n                <div style=\"display: flex; align-items: center; gap: 12px; flex: 1;\">\n                  <div style=\"position: relative; flex-shrink:0;\">\n                    <span style=\"background: linear-gradient(135deg, #a78bfa, #8b5cf6); color: white; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\">\n                      4\n                    <\/span>\n                  <\/div>\n                  <div style=\"display: flex; align-items: center; gap: 8px; flex-1; min-width: 0;\">\n                    <div style=\"font-size: 14px; color: #1f2937; line-height: 1.625; cursor: pointer; padding: 8px; border-radius: 4px; transition: all 0.2s; border: 1px solid transparent; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; flex: 1;\">\u30b0\u30ea\u30c3\u30c9\u306e\u69cb\u9020\u304c\u6574\u3063\u305f\u3089\u3001<span style=\"background-color: #dbeafe; color: #1d4ed8; padding: 1px 4px; margin: 1px 0; border-radius: 4px; font-size: 12px; font-weight: 500; border: 1px solid #bfdbfe; display: inline-block; white-space: nowrap; vertical-align: baseline;\">Text<\/span>\u3001<span style=\"background-color: #dbeafe; color: #1d4ed8; padding: 1px 4px; margin: 1px 0; border-radius: 4px; font-size: 12px; font-weight: 500; border: 1px solid #bfdbfe; display: inline-block; white-space: nowrap; vertical-align: baseline;\">Image<\/span>\u3001<span style=\"background-color: #dbeafe; color: #1d4ed8; padding: 1px 4px; margin: 1px 0; border-radius: 4px; font-size: 12px; font-weight: 500; border: 1px solid #bfdbfe; display: inline-block; white-space: nowrap; vertical-align: baseline;\">Button<\/span> \u306a\u3069\u306e\u8981\u7d20\u3092\u30bb\u30eb\u306b\u30c9\u30e9\u30c3\u30b0\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5404\u30a2\u30a4\u30c6\u30e0\u3092\u898f\u5247\u6b63\u3057\u304f\u914d\u7f6e\u3067\u304d\u3001\u7d71\u4e00\u611f\u306e\u3042\u308b\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/div>\n                  <\/div>\n                <\/div>\n              <\/div>\n              \n            <div style=\"padding: 0 16px 16px 16px;\">\n              <div style=\"position: relative; overflow: hidden; border-radius: 8px; border: 1px solid #e5e7eb; background-color: #f9fafb; width: 100%;\">\n                <img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"1013\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-5c87b5c37c13eafa-1763631432.gif\" class=\"wp-image-24761\" alt=\"Screenshot for step 4\" style=\"display: block; width: 100%; height: auto; object-fit: cover;\" \/>\n              <\/div>\n            <\/div>\n          \n            <\/div>\n          <\/div>","protected":false},"excerpt":{"rendered":"<p>1 \u30a8\u30ec\u30e1\u30f3\u30c8\u30d1\u30cd\u30eb\u3067Grid\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u30c9\u30e9\u30c3\u30b0\u3057\u307e\u3059\u3002 \u25cf\u3000\u30b0\u30ea\u30c3\u30c9\u306f\u30da\u30fc\u30b8\u3092\u884c\u3068\u5217\u306b\u5206\u5272\u3057\u3001\u67d4\u8edf\u306a2\u6b21\u5143\u306e\u914d\u7f6e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002 \u25cf\u3000\u5546\u54c1\u4e00\u89a7\u3001\u30ae\u30e3\u30e9\u30ea\u30fc\u3001\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306a\u3069\u3001\u660e\u78ba\u306a\u69cb\u9020\u304c\u5fc5\u8981\u306a\u30b1\u30fc\u30b9\u306b\u6700\u9069\u3067\u3059\u3002 2 \u8a2d\u5b9a\u30d1\u30cd\u30eb\u3067 Columns \u306e\u6570\u3092\u8a2d\u5b9a\u3057\u3066\u7e26\u65b9\u5411\u306b\u5206\u5272\u3057\u3001Rows \u306e\u6570\u3092\u8a2d\u5b9a\u3057\u3066\u6a2a\u65b9\u5411\u306b\u5206\u5272\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u8981\u7d20\u3092\u5de6\u53f3\u30fb\u4e0a\u4e0b\u306b\u304d\u308c\u3044\u306b\u6574\u5217\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 3 Row Gap \u3068 Column Gap \u306e\u5024\u3092\u8abf\u6574\u3057\u3066\u30bb\u30eb\u9593\u306e\u30b9\u30da\u30fc\u30b9\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3057\u307e\u3059\u3002\u6570\u5024\u3092\u76f4\u63a5\u5165\u529b\u3059\u308b\u304b\u77e2\u5370\u3067\u5fae\u8abf\u6574\u3057\u3001\u30d0\u30e9\u30f3\u30b9\u306e\u53d6\u308c\u305f\u8aad\u307f\u3084\u3059\u3044\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u5b9f\u73fe\u3057\u307e\u3059\u3002 4 \u30b0\u30ea\u30c3\u30c9\u306e\u69cb\u9020\u304c\u6574\u3063\u305f\u3089\u3001Text\u3001Image\u3001Button \u306a\u3069\u306e\u8981\u7d20\u3092\u30bb\u30eb\u306b\u30c9\u30e9\u30c3\u30b0\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5404\u30a2\u30a4\u30c6\u30e0\u3092\u898f\u5247\u6b63\u3057\u304f\u914d\u7f6e\u3067\u304d\u3001\u7d71\u4e00\u611f\u306e\u3042\u308b\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40,34],"tags":[],"class_list":["post-23592","post","type-post","status-publish","format-standard","hentry","category-customize-your-site","category-help-center"],"_links":{"self":[{"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/posts\/23592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/comments?post=23592"}],"version-history":[{"count":4,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/posts\/23592\/revisions"}],"predecessor-version":[{"id":24763,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/posts\/23592\/revisions\/24763"}],"wp:attachment":[{"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/media?parent=23592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/categories?post=23592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/tags?post=23592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}