{"id":23596,"date":"2025-11-13T04:22:52","date_gmt":"2025-11-13T04:22:52","guid":{"rendered":"https:\/\/ourdemy.dev\/?p=23596"},"modified":"2025-11-20T09:39:49","modified_gmt":"2025-11-20T09:39:49","slug":"how-can-i-use-space-to-control-spacing-between-elements","status":"publish","type":"post","link":"https:\/\/ourdemy.com\/ja\/how-can-i-use-space-to-control-spacing-between-elements\/","title":{"rendered":"\u8981\u7d20\u9593\u306e\u9593\u9694\u3092\u8abf\u6574\u3059\u308b\u305f\u3081\u306b\u30b9\u30da\u30fc\u30b9\u3092\u4f7f\u3046\u306b\u306f\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;\">Space<\/span> \u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30da\u30fc\u30b8\u5185\u306b\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3057\u307e\u3059\u3002\n<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;\">Space<\/span> \u30a8\u30ec\u30e1\u30f3\u30c8\u306f\u3001\u8981\u7d20\u540c\u58eb\u306e\u9593\u306b\u4f59\u767d\u3092\u5165\u308c\u308b\u305f\u3081\u306e\u30b7\u30f3\u30d7\u30eb\u306a\u65b9\u6cd5\u3067\u3001\u30de\u30fc\u30b8\u30f3\u3092\u624b\u52d5\u3067\u8abf\u6574\u3059\u308b\u624b\u9593\u3092\u7701\u3051\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 fetchpriority=\"high\" decoding=\"async\" width=\"1440\" height=\"971\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-d23c508321bd4a34-1763631574.gif\" class=\"wp-image-24792\" 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;\"><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;\">Space<\/span> \u3092\u9078\u629e\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;\">height<\/span>\u3092\u8abf\u6574\u3057\u3066\u8981\u7d20\u9593\u306e\u9593\u9694\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3057\u307e\u3059\u3002\n\u3053\u308c\u306b\u3088\u308a\u3001\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u6574\u3044\u3001\u898b\u3084\u3059\u304f\u30d0\u30e9\u30f3\u30b9\u306e\u53d6\u308c\u305f\u30c7\u30b6\u30a4\u30f3\u306b\u306a\u308a\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=\"889\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a57ff8b4567f5316-1763631581.gif\" class=\"wp-image-24793\" alt=\"Screenshot for step 2\" 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\u3067 Space \u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30da\u30fc\u30b8\u5185\u306b\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3057\u307e\u3059\u3002 Space \u30a8\u30ec\u30e1\u30f3\u30c8\u306f\u3001\u8981\u7d20\u540c\u58eb\u306e\u9593\u306b\u4f59\u767d\u3092\u5165\u308c\u308b\u305f\u3081\u306e\u30b7\u30f3\u30d7\u30eb\u306a\u65b9\u6cd5\u3067\u3001\u30de\u30fc\u30b8\u30f3\u3092\u624b\u52d5\u3067\u8abf\u6574\u3059\u308b\u624b\u9593\u3092\u7701\u3051\u307e\u3059\u3002 2 Space \u3092\u9078\u629e\u3057\u3001height\u3092\u8abf\u6574\u3057\u3066\u8981\u7d20\u9593\u306e\u9593\u9694\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3057\u307e\u3059\u3002 \u3053\u308c\u306b\u3088\u308a\u3001\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u6574\u3044\u3001\u898b\u3084\u3059\u304f\u30d0\u30e9\u30f3\u30b9\u306e\u53d6\u308c\u305f\u30c7\u30b6\u30a4\u30f3\u306b\u306a\u308a\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-23596","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\/23596","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=23596"}],"version-history":[{"count":4,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/posts\/23596\/revisions"}],"predecessor-version":[{"id":24795,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/posts\/23596\/revisions\/24795"}],"wp:attachment":[{"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/media?parent=23596"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/categories?post=23596"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/tags?post=23596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}