
.work_card_custom {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.work_card_custom .image_wrap_custom {
  width: 40%;
  aspect-ratio: 1 / 1.5;
  background-size: cover;
  background-position: center center;
}

.work_card_custom .text_wrap_custom {
  width: 60%;
  padding: 20px;
}

.work_card_custom .text_wrap_custom h3 {
  font-size: 18px;
  margin: 0;
  color: #000;
}
.work_list {
    margin: 0 -10px 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    /* -ms-flex-wrap: wrap; */
    /* -webkit-flex-wrap: wrap; */
    /* flex-wrap: nowrap; */
    flex-direction: column;
}
.work_card_custom {
  display: flex;
  flex-direction: row;
  align-items: stretch; /* ← stretchに変更 */
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  align-items: center;
}

.image_wrap_custom {
  flex: 0 0 40%; /* ← 幅指定を柔軟に制御 */
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center center;
}

.text_wrap_custom {
  flex: 1;
  padding: 20px;
  min-width: 0; /* ← これがとても大事！折り返しを許容 */
  overflow: hidden;
}


        .work_area .work_list {
            margin: 40px 0;
        }


@media screen and (max-width: 650px) {
  .work_area .work_list {
    margin: 20px 0;
  }
  .work_card_custom .text_wrap_custom h3 {
    line-height: 1.5;
  }
}
