JSFiddle - React, Tailwind, and code Playground
HTML
<div class="comfirm_box">
<div class="comfirm">
<h2>最終確認</h2>
</div>
<ul class="yesno">
<li class="yes">
<img src="https://www.pakutaso.com/shared/img/thumb/KAZUKIhgfdrfgh_TP_V.jpg" alt="">
<h2>入場</h2>
<p>ああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ</p>
</li>
<li class="yes">
<img src="https://www.pakutaso.com/shared/img/thumb/KAZUKIhgfdrfgh_TP_V.jpg" alt="">
<h2>退場</h2>
<p>ああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ
</p>
</li>
</ul>
</div>
CSS
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
li {
list-style: none;
}
img {
width: 100%;
}
.comfirm_box {
display: flex;
flex-direction: column;
align-items: stretch;
}
.comfirm {
text-align: center;
padding: 15px;
color: #111;
background: whitesmoke;
}
.yesno {
grid-template-columns: 1fr 1fr;
margin: 50px;
display: grid;
grid-gap: 50px;
}
.yes {
color: #000000;
padding: 15px;
background-color: #fff;
border: 1px solid #111;
}