.post-type-archive-before-after #content.l-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.ba-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.ba-item {
  min-width: 0;
  background-color: var(--white);
  box-shadow: 0 0 4px #00000026;
  padding: 24px;
}
.ba-item-img { position: relative; margin-bottom: 16px;}
.ba-img-box { display: flex;}
.ba-img-box img { aspect-ratio: 149 / 162; object-fit: cover;}
.ba-item figcaption {
  font-family: "Montserrat", sans-serif;
  color: var(--white);
  text-align: center;
  padding: 4px;
}
.ba-img-item--b figcaption { background-color: #ABABAB;}
.ba-img-item--a figcaption { background-color: var(--main);}
.ba-data-box {
  width: 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding-bottom: 32px;
  position: absolute;
  top: 0;
  left: 0; right: 0;
  margin: auto;
}
.ba-data-item {
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--white);
  color: var(--main);
  font-weight: 700;
  text-align: center;
  border-radius: 50%;
}
.ba-data-head { font-size: 8px;}
.ba-data-content { font-size: 14px;}
.ba-item-text {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 10px;
  font-size: 14px;
}
.ba-item-text dl { width: 100%;}
.ba-item-text dl.flex { display: flex; align-items: center;}
.ba-item-text dl.flex-half { width: max-content;}
.ba-item-text dt {
  min-width: 80px;
  max-width: max-content;
  background-color: var(--main);
  color: var(--white);
  line-height: 1;
  text-align: center;
  padding: 6px 12px;
}
.ba-item-text dl.flex dt { margin-right: 8px; margin-bottom: 0;}
.ba-item-text dl.full dd { margin: 10px 8px 0;}

@media (max-width: 959px) {
  .ba-box { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto;}
  .ba-item { padding: 18px 5%;}
}