{"id":23583,"date":"2025-11-13T04:16:11","date_gmt":"2025-11-13T04:16:11","guid":{"rendered":"https:\/\/ourdemy.dev\/?p=23583"},"modified":"2025-11-20T09:36:03","modified_gmt":"2025-11-20T09:36:03","slug":"how-do-i-use-a-box-to-group-elements-together-and-control-its-padding","status":"publish","type":"post","link":"https:\/\/ourdemy.com\/ja\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/","title":{"rendered":"\u8981\u7d20\u3092\u307e\u3068\u3081\u3001\u30d1\u30c7\u30a3\u30f3\u30b0\u3092\u8abf\u6574\u3059\u308b\u305f\u3081\u306b\u30dc\u30c3\u30af\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;\">\u30da\u30fc\u30b8\u30a8\u30ea\u30a2\u3067\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u307e\u3068\u3081\u305f\u3044\u5834\u6240\u306b <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;\">Box<\/span> \u30a8\u30ec\u30e1\u30f3\u30c8\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\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 loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"906\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-b1422aa3080e4713-1763631339.gif\" class=\"wp-image-24741\" 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;\">Color<\/span> \u3092\u958b\u304d\u3001\u80cc\u666f\u8272\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\n\u25cf\u3000<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;\">Background Color<\/span> \u5185\u306e\u30ab\u30e9\u30fc\u30b9\u30a6\u30a9\u30c3\u30c1\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\n\u25cf\u3000\u30ab\u30e9\u30fc\u30d4\u30c3\u30ab\u30fc\u3084\u30b9\u30e9\u30a4\u30c0\u30fc\u3092\u4f7f\u3063\u3066\u8272\u76f8\u3001\u5f69\u5ea6\u3001\u660e\u5ea6\u3092\u8abf\u6574\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 loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"913\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-ff7d1f7f6c48ca7e-1763631342.gif\" class=\"wp-image-24742\" 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;\">Eyedropper<\/span> \u3092\u4f7f\u3063\u3066\u30da\u30fc\u30b8\u4e0a\u306e\u4efb\u610f\u306e\u8272\u3092\u9078\u3073\u3001\u30dc\u30c3\u30af\u30b9\u306e\u80cc\u666f\u306b\u9069\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u4ed6\u306e\u8981\u7d20\u3068\u8272\u3092\u5408\u308f\u305b\u305f\u308a\u88dc\u5b8c\u3057\u305f\u308a\u3059\u308b\u306e\u306b\u4fbf\u5229\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 loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"910\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-5f426ac9f66589cc-1763631347.gif\" class=\"wp-image-24743\" 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;\">\u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u7528\u306e\u80cc\u666f\u8272\u3092\u8a2d\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f <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;\">Dark Mode<\/span> \u30bf\u30d6\u306b\u5207\u308a\u66ff\u3048\u3001\u540c\u3058\u65b9\u6cd5\u3067\u8272\u3092\u9078\u629e\u3057\u3066\u8abf\u6574\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 loading=\"lazy\" decoding=\"async\" width=\"1304\" height=\"813\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-8bf135cc870f6ca0-1763631350.png\" class=\"wp-image-24744\" alt=\"Screenshot for step 4\" style=\"display: block; width: 100%; height: auto; object-fit: cover;\" srcset=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-8bf135cc870f6ca0-1763631350.png 1304w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-8bf135cc870f6ca0-1763631350-300x187.png 300w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-8bf135cc870f6ca0-1763631350-1024x638.png 1024w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-8bf135cc870f6ca0-1763631350-768x479.png 768w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-8bf135cc870f6ca0-1763631350-18x12.png 18w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-8bf135cc870f6ca0-1763631350-710x443.png 710w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-8bf135cc870f6ca0-1763631350-600x374.png 600w\" sizes=\"auto, (max-width: 1304px) 100vw, 1304px\" \/>\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                      5\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;\">\u5358\u8272\u306e\u4ee3\u308f\u308a\u306b\u30e1\u30c7\u30a3\u30a2\u80cc\u666f\u3092\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306f\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;\">Select Image<\/span> \u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30e1\u30c7\u30a3\u30a2\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u958b\u304d\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3059\u308b\u3068\u3001\u305d\u306e\u753b\u50cf\u304c\u30dc\u30c3\u30af\u30b9\u306e\u80cc\u666f\u3068\u3057\u3066\u9069\u7528\u3055\u308c\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=\"713\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-8fb1ab6c61022258-1763631351.gif\" class=\"wp-image-24745\" alt=\"Screenshot for step 5\" 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                      6\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;\">Padding<\/span> \u8a2d\u5b9a\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u307e\u3059\u3002\n\u25cf\u3000<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;\">top(\u4e0a)<\/span>\u30fb<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;\">bottom(\u4e0b)<\/span>\u30fb<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;\">left(\u5de6)<\/span>\u30fb<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;\">right(\u53f3)<\/span>\u306e\u5024\u3092\u77e2\u5370\u3067\u8abf\u6574\u3059\u308b\u304b\u3001\u76f4\u63a5\u6570\u5024\u3092\u5165\u529b\u3057\u307e\u3059\u3002\n\u25cf\u3000\u30d1\u30c7\u30a3\u30f3\u30b0\u306f\u30dc\u30c3\u30af\u30b9\u5185\u306e\u4f59\u767d\u3092\u5236\u5fa1\u3057\u3001\u8981\u7d20\u304c\u7aef\u306b\u5bc4\u308a\u3059\u304e\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u8aad\u307f\u3084\u3059\u3055\u3092\u78ba\u4fdd\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 loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"921\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-6134227a9c6e03d1-1763631354.gif\" class=\"wp-image-24746\" alt=\"Screenshot for step 6\" 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                      7\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;\">\u5fc5\u8981\u306b\u5fdc\u3058\u3066 <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;\">Anchor ID<\/span> \u3092\u5165\u529b\u3059\u308b\u3068\u3001\u3053\u306e\u30dc\u30c3\u30af\u30b9\u3078\u76f4\u63a5\u30b8\u30e3\u30f3\u30d7\u3059\u308b\u30ea\u30f3\u30af\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=\"1293\" height=\"809\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a2b0840c1355e067-1763631357.png\" class=\"wp-image-24747\" alt=\"Screenshot for step 7\" style=\"display: block; width: 100%; height: auto; object-fit: cover;\" srcset=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a2b0840c1355e067-1763631357.png 1293w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a2b0840c1355e067-1763631357-300x188.png 300w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a2b0840c1355e067-1763631357-1024x641.png 1024w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a2b0840c1355e067-1763631357-768x481.png 768w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a2b0840c1355e067-1763631357-18x12.png 18w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a2b0840c1355e067-1763631357-710x444.png 710w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a2b0840c1355e067-1763631357-600x375.png 600w\" sizes=\"auto, (max-width: 1293px) 100vw, 1293px\" \/>\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                      8\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;\">\u8907\u6570\u306e\u8981\u7d20\u3092\u4e26\u3079\u305f\u3044\u5834\u5408\u306f\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;\">Flex Display<\/span> \u3092\u6709\u52b9\u5316\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 loading=\"lazy\" decoding=\"async\" width=\"1307\" height=\"817\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a35a74c1519eebec-1763631358.png\" class=\"wp-image-24748\" alt=\"Screenshot for step 8\" style=\"display: block; width: 100%; height: auto; object-fit: cover;\" srcset=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a35a74c1519eebec-1763631358.png 1307w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a35a74c1519eebec-1763631358-300x188.png 300w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a35a74c1519eebec-1763631358-1024x640.png 1024w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a35a74c1519eebec-1763631358-768x480.png 768w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a35a74c1519eebec-1763631358-18x12.png 18w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a35a74c1519eebec-1763631358-710x444.png 710w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-a35a74c1519eebec-1763631358-600x375.png 600w\" sizes=\"auto, (max-width: 1307px) 100vw, 1307px\" \/>\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                      9\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;\">Flex Settings<\/span> \u3067\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u5236\u5fa1\u3057\u307e\u3059\u3002\n\u25cf\u3000<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;\">Flex Direction<\/span>\uff08Row \u307e\u305f\u306f Column\uff09\u3067\u3001\u8981\u7d20\u3092\u6a2a\u4e26\u3073\u304b\u7e26\u4e26\u3073\u306b\u3057\u307e\u3059\u3002\n\u25cf\u3000<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;\">Align Items<\/span> \u3067\u3001Column \u30ec\u30a4\u30a2\u30a6\u30c8\u6642\u306e\u7e26\u65b9\u5411\u306e\u6574\u5217\u3092\u8abf\u6574\u3057\u307e\u3059\u3002\n\u25cf\u3000<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;\">Justify Content<\/span> \u3067\u3001Row \u30ec\u30a4\u30a2\u30a6\u30c8\u6642\u306e\u6c34\u5e73\u65b9\u5411\u306e\u30b9\u30da\u30fc\u30b9\u914d\u5206\u3092\u8abf\u6574\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 loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"925\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-04844877a8151168-1763631359.gif\" class=\"wp-image-24749\" alt=\"Screenshot for step 9\" 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                      10\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;\">Flex Wrap<\/span> \u3092 <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;\">No Wrap<\/span>\uff081\u884c\u5185\u306b\u53ce\u3081\u308b\uff09\u307e\u305f\u306f <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;\">Wrap<\/span>\uff08\u8981\u7d20\u3092\u6298\u308a\u8fd4\u3057\u3066\u6b21\u306e\u884c\u306b\u914d\u7f6e\u3059\u308b\uff09\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u6700\u5f8c\u306b\u30d7\u30ec\u30d3\u30e5\u30fc\u3057\u3066\u5909\u66f4\u3092\u4fdd\u5b58\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 loading=\"lazy\" decoding=\"async\" width=\"1285\" height=\"746\" src=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-9b19e0bcbb343b56-1763631363.png\" class=\"wp-image-24750\" alt=\"Screenshot for step 10\" style=\"display: block; width: 100%; height: auto; object-fit: cover;\" srcset=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-9b19e0bcbb343b56-1763631363.png 1285w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-9b19e0bcbb343b56-1763631363-300x174.png 300w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-9b19e0bcbb343b56-1763631363-1024x594.png 1024w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-9b19e0bcbb343b56-1763631363-768x446.png 768w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-9b19e0bcbb343b56-1763631363-18x10.png 18w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-9b19e0bcbb343b56-1763631363-710x412.png 710w, https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-9b19e0bcbb343b56-1763631363-600x348.png 600w\" sizes=\"auto, (max-width: 1285px) 100vw, 1285px\" \/>\n              <\/div>\n            <\/div>\n          \n            <\/div>\n          <\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>1 \u30da\u30fc\u30b8\u30a8\u30ea\u30a2\u3067\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u307e\u3068\u3081\u305f\u3044\u5834\u6240\u306b Box \u30a8\u30ec\u30e1\u30f3\u30c8\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3057\u307e\u3059\u3002 2 \u8a2d\u5b9a\u30d1\u30cd\u30eb\u3067 Color \u3092\u958b\u304d\u3001\u80cc\u666f\u8272\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002 \u25cf\u3000Background Color \u5185\u306e\u30ab\u30e9\u30fc\u30b9\u30a6\u30a9\u30c3\u30c1\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002 \u25cf\u3000\u30ab\u30e9\u30fc\u30d4\u30c3\u30ab\u30fc\u3084\u30b9\u30e9\u30a4\u30c0\u30fc\u3092\u4f7f\u3063\u3066\u8272\u76f8\u3001\u5f69\u5ea6\u3001\u660e\u5ea6\u3092\u8abf\u6574\u3057\u307e\u3059\u3002 3 Eyedropper \u3092\u4f7f\u3063\u3066\u30da\u30fc\u30b8\u4e0a\u306e\u4efb\u610f\u306e\u8272\u3092\u9078\u3073\u3001\u30dc\u30c3\u30af\u30b9\u306e\u80cc\u666f\u306b\u9069\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u4ed6\u306e\u8981\u7d20\u3068\u8272\u3092\u5408\u308f\u305b\u305f\u308a\u88dc\u5b8c\u3057\u305f\u308a\u3059\u308b\u306e\u306b\u4fbf\u5229\u3067\u3059\u3002 4 \u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u7528\u306e\u80cc\u666f\u8272\u3092\u8a2d\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f Dark Mode \u30bf\u30d6\u306b\u5207\u308a\u66ff\u3048\u3001\u540c\u3058\u65b9\u6cd5\u3067\u8272\u3092\u9078\u629e\u3057\u3066\u8abf\u6574\u3057\u307e\u3059\u3002 5 \u5358\u8272\u306e\u4ee3\u308f\u308a\u306b\u30e1\u30c7\u30a3\u30a2\u80cc\u666f\u3092\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001Select Image \u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30e1\u30c7\u30a3\u30a2\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u958b\u304d\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3059\u308b\u3068\u3001\u305d\u306e\u753b\u50cf\u304c\u30dc\u30c3\u30af\u30b9\u306e\u80cc\u666f\u3068\u3057\u3066\u9069\u7528\u3055\u308c\u307e\u3059\u3002 6 Padding \u8a2d\u5b9a\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u307e\u3059\u3002 \u25cf\u3000top(\u4e0a)\u30fbbottom(\u4e0b)\u30fbleft(\u5de6)\u30fbright(\u53f3)\u306e\u5024\u3092\u77e2\u5370\u3067\u8abf\u6574\u3059\u308b\u304b\u3001\u76f4\u63a5\u6570\u5024\u3092\u5165\u529b\u3057\u307e\u3059\u3002 \u25cf\u3000\u30d1\u30c7\u30a3\u30f3\u30b0\u306f\u30dc\u30c3\u30af\u30b9\u5185\u306e\u4f59\u767d\u3092\u5236\u5fa1\u3057\u3001\u8981\u7d20\u304c\u7aef\u306b\u5bc4\u308a\u3059\u304e\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u8aad\u307f\u3084\u3059\u3055\u3092\u78ba\u4fdd\u3057\u307e\u3059\u3002 7 \u5fc5\u8981\u306b\u5fdc\u3058\u3066 Anchor ID \u3092\u5165\u529b\u3059\u308b\u3068\u3001\u3053\u306e\u30dc\u30c3\u30af\u30b9\u3078\u76f4\u63a5\u30b8\u30e3\u30f3\u30d7\u3059\u308b\u30ea\u30f3\u30af\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002 8 \u8907\u6570\u306e\u8981\u7d20\u3092\u4e26\u3079\u305f\u3044\u5834\u5408\u306f\u3001Flex Display \u3092\u6709\u52b9\u5316\u3057\u307e\u3059\u3002 9 Flex Settings \u3067\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u5236\u5fa1\u3057\u307e\u3059\u3002 \u25cf\u3000Flex Direction\uff08Row \u307e\u305f\u306f Column\uff09\u3067\u3001\u8981\u7d20\u3092\u6a2a\u4e26\u3073\u304b\u7e26\u4e26\u3073\u306b\u3057\u307e\u3059\u3002 \u25cf\u3000Align Items \u3067\u3001Column \u30ec\u30a4\u30a2\u30a6\u30c8\u6642\u306e\u7e26\u65b9\u5411\u306e\u6574\u5217\u3092\u8abf\u6574\u3057\u307e\u3059\u3002 \u25cf\u3000Justify Content \u3067\u3001Row \u30ec\u30a4\u30a2\u30a6\u30c8\u6642\u306e\u6c34\u5e73\u65b9\u5411\u306e\u30b9\u30da\u30fc\u30b9\u914d\u5206\u3092\u8abf\u6574\u3057\u307e\u3059\u3002 10 Flex Wrap \u3092 No Wrap\uff081\u884c\u5185\u306b\u53ce\u3081\u308b\uff09\u307e\u305f\u306f Wrap\uff08\u8981\u7d20\u3092\u6298\u308a\u8fd4\u3057\u3066\u6b21\u306e\u884c\u306b\u914d\u7f6e\u3059\u308b\uff09\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u6700\u5f8c\u306b\u30d7\u30ec\u30d3\u30e5\u30fc\u3057\u3066\u5909\u66f4\u3092\u4fdd\u5b58\u3057\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-23583","post","type-post","status-publish","format-standard","hentry","category-customize-your-site","category-help-center"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How do I use a Box to group elements together and control its padding? - Ourdemy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ourdemy.com\/ja\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How do I use a Box to group elements together and control its padding? - Ourdemy\" \/>\n<meta property=\"og:description\" content=\"1 \u30da\u30fc\u30b8\u30a8\u30ea\u30a2\u3067\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u307e\u3068\u3081\u305f\u3044\u5834\u6240\u306b Box \u30a8\u30ec\u30e1\u30f3\u30c8\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3057\u307e\u3059\u3002 2 \u8a2d\u5b9a\u30d1\u30cd\u30eb\u3067 Color \u3092\u958b\u304d\u3001\u80cc\u666f\u8272\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002 \u25cf\u3000Background Color \u5185\u306e\u30ab\u30e9\u30fc\u30b9\u30a6\u30a9\u30c3\u30c1\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002 \u25cf\u3000\u30ab\u30e9\u30fc\u30d4\u30c3\u30ab\u30fc\u3084\u30b9\u30e9\u30a4\u30c0\u30fc\u3092\u4f7f\u3063\u3066\u8272\u76f8\u3001\u5f69\u5ea6\u3001\u660e\u5ea6\u3092\u8abf\u6574\u3057\u307e\u3059\u3002 3 Eyedropper \u3092\u4f7f\u3063\u3066\u30da\u30fc\u30b8\u4e0a\u306e\u4efb\u610f\u306e\u8272\u3092\u9078\u3073\u3001\u30dc\u30c3\u30af\u30b9\u306e\u80cc\u666f\u306b\u9069\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u4ed6\u306e\u8981\u7d20\u3068\u8272\u3092\u5408\u308f\u305b\u305f\u308a\u88dc\u5b8c\u3057\u305f\u308a\u3059\u308b\u306e\u306b\u4fbf\u5229\u3067\u3059\u3002 4 \u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u7528\u306e\u80cc\u666f\u8272\u3092\u8a2d\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f Dark Mode \u30bf\u30d6\u306b\u5207\u308a\u66ff\u3048\u3001\u540c\u3058\u65b9\u6cd5\u3067\u8272\u3092\u9078\u629e\u3057\u3066\u8abf\u6574\u3057\u307e\u3059\u3002 5 \u5358\u8272\u306e\u4ee3\u308f\u308a\u306b\u30e1\u30c7\u30a3\u30a2\u80cc\u666f\u3092\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001Select Image \u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30e1\u30c7\u30a3\u30a2\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u958b\u304d\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3059\u308b\u3068\u3001\u305d\u306e\u753b\u50cf\u304c\u30dc\u30c3\u30af\u30b9\u306e\u80cc\u666f\u3068\u3057\u3066\u9069\u7528\u3055\u308c\u307e\u3059\u3002 6 Padding \u8a2d\u5b9a\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u307e\u3059\u3002 \u25cf\u3000top(\u4e0a)\u30fbbottom(\u4e0b)\u30fbleft(\u5de6)\u30fbright(\u53f3)\u306e\u5024\u3092\u77e2\u5370\u3067\u8abf\u6574\u3059\u308b\u304b\u3001\u76f4\u63a5\u6570\u5024\u3092\u5165\u529b\u3057\u307e\u3059\u3002 \u25cf\u3000\u30d1\u30c7\u30a3\u30f3\u30b0\u306f\u30dc\u30c3\u30af\u30b9\u5185\u306e\u4f59\u767d\u3092\u5236\u5fa1\u3057\u3001\u8981\u7d20\u304c\u7aef\u306b\u5bc4\u308a\u3059\u304e\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u8aad\u307f\u3084\u3059\u3055\u3092\u78ba\u4fdd\u3057\u307e\u3059\u3002 7 \u5fc5\u8981\u306b\u5fdc\u3058\u3066 Anchor ID \u3092\u5165\u529b\u3059\u308b\u3068\u3001\u3053\u306e\u30dc\u30c3\u30af\u30b9\u3078\u76f4\u63a5\u30b8\u30e3\u30f3\u30d7\u3059\u308b\u30ea\u30f3\u30af\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002 8 \u8907\u6570\u306e\u8981\u7d20\u3092\u4e26\u3079\u305f\u3044\u5834\u5408\u306f\u3001Flex Display \u3092\u6709\u52b9\u5316\u3057\u307e\u3059\u3002 9 Flex Settings \u3067\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u5236\u5fa1\u3057\u307e\u3059\u3002 \u25cf\u3000Flex Direction\uff08Row \u307e\u305f\u306f Column\uff09\u3067\u3001\u8981\u7d20\u3092\u6a2a\u4e26\u3073\u304b\u7e26\u4e26\u3073\u306b\u3057\u307e\u3059\u3002 \u25cf\u3000Align Items \u3067\u3001Column \u30ec\u30a4\u30a2\u30a6\u30c8\u6642\u306e\u7e26\u65b9\u5411\u306e\u6574\u5217\u3092\u8abf\u6574\u3057\u307e\u3059\u3002 \u25cf\u3000Justify Content \u3067\u3001Row \u30ec\u30a4\u30a2\u30a6\u30c8\u6642\u306e\u6c34\u5e73\u65b9\u5411\u306e\u30b9\u30da\u30fc\u30b9\u914d\u5206\u3092\u8abf\u6574\u3057\u307e\u3059\u3002 10 Flex Wrap \u3092 No Wrap\uff081\u884c\u5185\u306b\u53ce\u3081\u308b\uff09\u307e\u305f\u306f Wrap\uff08\u8981\u7d20\u3092\u6298\u308a\u8fd4\u3057\u3066\u6b21\u306e\u884c\u306b\u914d\u7f6e\u3059\u308b\uff09\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u6700\u5f8c\u306b\u30d7\u30ec\u30d3\u30e5\u30fc\u3057\u3066\u5909\u66f4\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ourdemy.com\/ja\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/\" \/>\n<meta property=\"og:site_name\" content=\"Ourdemy\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-13T04:16:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-20T09:36:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-f7599bf154ada167-1763631300.gif\" \/>\n\t<meta property=\"og:image:width\" content=\"1440\" \/>\n\t<meta property=\"og:image:height\" content=\"883\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/gif\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ourdemy.com\\\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ourdemy.com\\\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/ourdemy.com\\\/#\\\/schema\\\/person\\\/e7a7e53bb8a94cce8f134c3718702e42\"},\"headline\":\"How do I use a Box to group elements together and control its padding?\",\"datePublished\":\"2025-11-13T04:16:11+00:00\",\"dateModified\":\"2025-11-20T09:36:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ourdemy.com\\\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\\\/\"},\"wordCount\":324,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/ourdemy.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/ourdemy.com\\\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ourdemy.com\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/remote-img-f7599bf154ada167-1763631300.gif\",\"articleSection\":[\"Customize Your Site\",\"Help Center\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ourdemy.com\\\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ourdemy.com\\\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\\\/\",\"url\":\"https:\\\/\\\/ourdemy.com\\\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\\\/\",\"name\":\"How do I use a Box to group elements together and control its padding? - Ourdemy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ourdemy.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ourdemy.com\\\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ourdemy.com\\\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ourdemy.com\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/remote-img-f7599bf154ada167-1763631300.gif\",\"datePublished\":\"2025-11-13T04:16:11+00:00\",\"dateModified\":\"2025-11-20T09:36:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ourdemy.com\\\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ourdemy.com\\\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/ourdemy.com\\\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\\\/#primaryimage\",\"url\":\"https:\\\/\\\/ourdemy.com\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/remote-img-f7599bf154ada167-1763631300.gif\",\"contentUrl\":\"https:\\\/\\\/ourdemy.com\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/remote-img-f7599bf154ada167-1763631300.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ourdemy.com\\\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ourdemy.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How do I use a Box to group elements together and control its padding?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ourdemy.com\\\/#website\",\"url\":\"https:\\\/\\\/ourdemy.com\\\/\",\"name\":\"Ourdemy\",\"description\":\"Make your own online academy\",\"publisher\":{\"@id\":\"https:\\\/\\\/ourdemy.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ourdemy.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/ourdemy.com\\\/#organization\",\"name\":\"Ourdemy\",\"url\":\"https:\\\/\\\/ourdemy.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/ourdemy.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/ourdemy.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/ouracademy-02.svg\",\"contentUrl\":\"https:\\\/\\\/ourdemy.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/ouracademy-02.svg\",\"width\":3163,\"height\":884,\"caption\":\"Ourdemy\"},\"image\":{\"@id\":\"https:\\\/\\\/ourdemy.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ourdemy.com\\\/#\\\/schema\\\/person\\\/e7a7e53bb8a94cce8f134c3718702e42\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/042968b872d529b85b5b0faae638766460238b6758e95a7094fdb8c7c37635db?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/042968b872d529b85b5b0faae638766460238b6758e95a7094fdb8c7c37635db?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/042968b872d529b85b5b0faae638766460238b6758e95a7094fdb8c7c37635db?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/ourdemy.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How do I use a Box to group elements together and control its padding? - Ourdemy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ourdemy.com\/ja\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/","og_locale":"ja_JP","og_type":"article","og_title":"How do I use a Box to group elements together and control its padding? - Ourdemy","og_description":"1 \u30da\u30fc\u30b8\u30a8\u30ea\u30a2\u3067\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u307e\u3068\u3081\u305f\u3044\u5834\u6240\u306b Box \u30a8\u30ec\u30e1\u30f3\u30c8\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3057\u307e\u3059\u3002 2 \u8a2d\u5b9a\u30d1\u30cd\u30eb\u3067 Color \u3092\u958b\u304d\u3001\u80cc\u666f\u8272\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002 \u25cf\u3000Background Color \u5185\u306e\u30ab\u30e9\u30fc\u30b9\u30a6\u30a9\u30c3\u30c1\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002 \u25cf\u3000\u30ab\u30e9\u30fc\u30d4\u30c3\u30ab\u30fc\u3084\u30b9\u30e9\u30a4\u30c0\u30fc\u3092\u4f7f\u3063\u3066\u8272\u76f8\u3001\u5f69\u5ea6\u3001\u660e\u5ea6\u3092\u8abf\u6574\u3057\u307e\u3059\u3002 3 Eyedropper \u3092\u4f7f\u3063\u3066\u30da\u30fc\u30b8\u4e0a\u306e\u4efb\u610f\u306e\u8272\u3092\u9078\u3073\u3001\u30dc\u30c3\u30af\u30b9\u306e\u80cc\u666f\u306b\u9069\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u4ed6\u306e\u8981\u7d20\u3068\u8272\u3092\u5408\u308f\u305b\u305f\u308a\u88dc\u5b8c\u3057\u305f\u308a\u3059\u308b\u306e\u306b\u4fbf\u5229\u3067\u3059\u3002 4 \u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u7528\u306e\u80cc\u666f\u8272\u3092\u8a2d\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f Dark Mode \u30bf\u30d6\u306b\u5207\u308a\u66ff\u3048\u3001\u540c\u3058\u65b9\u6cd5\u3067\u8272\u3092\u9078\u629e\u3057\u3066\u8abf\u6574\u3057\u307e\u3059\u3002 5 \u5358\u8272\u306e\u4ee3\u308f\u308a\u306b\u30e1\u30c7\u30a3\u30a2\u80cc\u666f\u3092\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001Select Image \u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30e1\u30c7\u30a3\u30a2\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u958b\u304d\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3059\u308b\u3068\u3001\u305d\u306e\u753b\u50cf\u304c\u30dc\u30c3\u30af\u30b9\u306e\u80cc\u666f\u3068\u3057\u3066\u9069\u7528\u3055\u308c\u307e\u3059\u3002 6 Padding \u8a2d\u5b9a\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u307e\u3059\u3002 \u25cf\u3000top(\u4e0a)\u30fbbottom(\u4e0b)\u30fbleft(\u5de6)\u30fbright(\u53f3)\u306e\u5024\u3092\u77e2\u5370\u3067\u8abf\u6574\u3059\u308b\u304b\u3001\u76f4\u63a5\u6570\u5024\u3092\u5165\u529b\u3057\u307e\u3059\u3002 \u25cf\u3000\u30d1\u30c7\u30a3\u30f3\u30b0\u306f\u30dc\u30c3\u30af\u30b9\u5185\u306e\u4f59\u767d\u3092\u5236\u5fa1\u3057\u3001\u8981\u7d20\u304c\u7aef\u306b\u5bc4\u308a\u3059\u304e\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u8aad\u307f\u3084\u3059\u3055\u3092\u78ba\u4fdd\u3057\u307e\u3059\u3002 7 \u5fc5\u8981\u306b\u5fdc\u3058\u3066 Anchor ID \u3092\u5165\u529b\u3059\u308b\u3068\u3001\u3053\u306e\u30dc\u30c3\u30af\u30b9\u3078\u76f4\u63a5\u30b8\u30e3\u30f3\u30d7\u3059\u308b\u30ea\u30f3\u30af\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002 8 \u8907\u6570\u306e\u8981\u7d20\u3092\u4e26\u3079\u305f\u3044\u5834\u5408\u306f\u3001Flex Display \u3092\u6709\u52b9\u5316\u3057\u307e\u3059\u3002 9 Flex Settings \u3067\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u5236\u5fa1\u3057\u307e\u3059\u3002 \u25cf\u3000Flex Direction\uff08Row \u307e\u305f\u306f Column\uff09\u3067\u3001\u8981\u7d20\u3092\u6a2a\u4e26\u3073\u304b\u7e26\u4e26\u3073\u306b\u3057\u307e\u3059\u3002 \u25cf\u3000Align Items \u3067\u3001Column \u30ec\u30a4\u30a2\u30a6\u30c8\u6642\u306e\u7e26\u65b9\u5411\u306e\u6574\u5217\u3092\u8abf\u6574\u3057\u307e\u3059\u3002 \u25cf\u3000Justify Content \u3067\u3001Row \u30ec\u30a4\u30a2\u30a6\u30c8\u6642\u306e\u6c34\u5e73\u65b9\u5411\u306e\u30b9\u30da\u30fc\u30b9\u914d\u5206\u3092\u8abf\u6574\u3057\u307e\u3059\u3002 10 Flex Wrap \u3092 No Wrap\uff081\u884c\u5185\u306b\u53ce\u3081\u308b\uff09\u307e\u305f\u306f Wrap\uff08\u8981\u7d20\u3092\u6298\u308a\u8fd4\u3057\u3066\u6b21\u306e\u884c\u306b\u914d\u7f6e\u3059\u308b\uff09\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u6700\u5f8c\u306b\u30d7\u30ec\u30d3\u30e5\u30fc\u3057\u3066\u5909\u66f4\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002","og_url":"https:\/\/ourdemy.com\/ja\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/","og_site_name":"Ourdemy","article_published_time":"2025-11-13T04:16:11+00:00","article_modified_time":"2025-11-20T09:36:03+00:00","og_image":[{"width":1440,"height":883,"url":"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-f7599bf154ada167-1763631300.gif","type":"image\/gif"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"admin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ourdemy.com\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/#article","isPartOf":{"@id":"https:\/\/ourdemy.com\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/"},"author":{"name":"admin","@id":"https:\/\/ourdemy.com\/#\/schema\/person\/e7a7e53bb8a94cce8f134c3718702e42"},"headline":"How do I use a Box to group elements together and control its padding?","datePublished":"2025-11-13T04:16:11+00:00","dateModified":"2025-11-20T09:36:03+00:00","mainEntityOfPage":{"@id":"https:\/\/ourdemy.com\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/"},"wordCount":324,"commentCount":0,"publisher":{"@id":"https:\/\/ourdemy.com\/#organization"},"image":{"@id":"https:\/\/ourdemy.com\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/#primaryimage"},"thumbnailUrl":"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-f7599bf154ada167-1763631300.gif","articleSection":["Customize Your Site","Help Center"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ourdemy.com\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ourdemy.com\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/","url":"https:\/\/ourdemy.com\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/","name":"How do I use a Box to group elements together and control its padding? - Ourdemy","isPartOf":{"@id":"https:\/\/ourdemy.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ourdemy.com\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/#primaryimage"},"image":{"@id":"https:\/\/ourdemy.com\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/#primaryimage"},"thumbnailUrl":"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-f7599bf154ada167-1763631300.gif","datePublished":"2025-11-13T04:16:11+00:00","dateModified":"2025-11-20T09:36:03+00:00","breadcrumb":{"@id":"https:\/\/ourdemy.com\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ourdemy.com\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/ourdemy.com\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/#primaryimage","url":"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-f7599bf154ada167-1763631300.gif","contentUrl":"https:\/\/ourdemy.com\/wp-content\/uploads\/2025\/11\/remote-img-f7599bf154ada167-1763631300.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/ourdemy.com\/how-do-i-use-a-box-to-group-elements-together-and-control-its-padding\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ourdemy.com\/"},{"@type":"ListItem","position":2,"name":"How do I use a Box to group elements together and control its padding?"}]},{"@type":"WebSite","@id":"https:\/\/ourdemy.com\/#website","url":"https:\/\/ourdemy.com\/","name":"Ourdemy","description":"Make your own online academy","publisher":{"@id":"https:\/\/ourdemy.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ourdemy.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/ourdemy.com\/#organization","name":"Ourdemy","url":"https:\/\/ourdemy.com\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/ourdemy.com\/#\/schema\/logo\/image\/","url":"https:\/\/ourdemy.com\/wp-content\/uploads\/2023\/09\/ouracademy-02.svg","contentUrl":"https:\/\/ourdemy.com\/wp-content\/uploads\/2023\/09\/ouracademy-02.svg","width":3163,"height":884,"caption":"Ourdemy"},"image":{"@id":"https:\/\/ourdemy.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/ourdemy.com\/#\/schema\/person\/e7a7e53bb8a94cce8f134c3718702e42","name":"admin","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/042968b872d529b85b5b0faae638766460238b6758e95a7094fdb8c7c37635db?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/042968b872d529b85b5b0faae638766460238b6758e95a7094fdb8c7c37635db?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/042968b872d529b85b5b0faae638766460238b6758e95a7094fdb8c7c37635db?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/ourdemy.com"]}]}},"_links":{"self":[{"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/posts\/23583","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=23583"}],"version-history":[{"count":4,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/posts\/23583\/revisions"}],"predecessor-version":[{"id":24751,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/posts\/23583\/revisions\/24751"}],"wp:attachment":[{"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/media?parent=23583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/categories?post=23583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ourdemy.com\/ja\/wp-json\/wp\/v2\/tags?post=23583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}