gap flexの並びの上下左右の隙間問題を改善

下記は

ボックス間の縦横の隙間が20px。

横4列だから3つの隙間があります。3つの隙間×20px=60px。

ボックスは左右に密着。

test
test
test
test
test
test
test
test
<div class="flex">
  <div>test</div>
  <div>test</div>
  <div>test</div>
  <div>test</div>
  <div>test</div>
  <div>test</div>
  <div>test</div>
  <div>test</div>
</div>
.flex {
	display: flex;
	flex-wrap: wrap;
	gap: 20px
}
.flex div {
	background: #CDCDCD;
	width: calc((100% - 60px)/4) /*20pxの隙間が3つある。それを4分割*/
}