.kessai-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  max-width: 100%;
  overflow-x: auto;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
  padding: 8px 0; /* 少し余白追加で見栄え調整 */
}

/* 全画像共通：上下ボーダー削除 */
.kessai-img {
  max-height: 150px;
  height: auto;
  width: auto;
  display: block;
  box-sizing: border-box;
  vertical-align: middle;
  flex-shrink: 0;
}

/* 左画像のみ：左線なしはそのまま */
.kessai-left {
  border-left: none;
}

/* テキストボックス：上下ボーダー削除、整形調整 */
.kessai-text {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 12px;
  font-size: 14px;
  line-height: 1.6;
  box-sizing: border-box;
  min-width: 220px;
  max-width: 300px;
  flex-shrink: 0;
  background-color: #fff;
}

/* モバイル表示はそのまま維持 */
@media screen and (max-width: 768px) {
  .kessai-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .kessai-img {
    max-height: 150px;
    margin: 0 auto;
  }

  .kessai-text {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}
