:root{
  --green:#d21414;
  --border:#d9d9d9;
  --right-bg:#f4f4f4;
  --text:#111;
  --red:#d60000;
}

.benefits{
  width: 660px;          /* コンパクトに */
  max-width: 100%;       /* 小さい画面では縮む */
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
}

.row{
  display: flex;
  align-items: stretch;
}

.row + .row{
  border-top: 1px solid var(--border);
}

.badge{
  width: 130px;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  text-align: center;
  padding: 14px 10px;
  box-sizing: border-box;
  white-space: nowrap;
  border-radius: 0;
}

.content{
  flex: 1;
  background: var(--right-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  box-sizing: border-box;
  border-left: 1px solid var(--border); /* 左の緑との境界線 */
}

.line{
  display: flex;
  align-items: baseline;  /* 数字が大きくても縦位置を揃える */
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;    /* 折り返しは個別制御 */
}

.seg{
  white-space: nowrap;
}

.line .seg:first-child{
  width: 100%;
  text-align: center;
  margin-bottom: 4px;
}

.accent{
  color: var(--red);
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  white-space: nowrap;
}

.benefits + .ta-campaign-card-catch{
  width: 660px;
  max-width: 100%;
  margin: 12px auto 0;
  text-align: left;
}

.case-grid{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.case-item{
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.case-item .ta-campaign-card-text{
  margin-top: 0;
  margin-bottom: 5px;
  margin-top: 10px;
}
.case-item .ta-campaign-card-img{
  margin-top: 0;
  padding-top: 4px;
  height: 290px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.case-item .ta-campaign-card-img img{
  width: 100% !important;
  max-width: 540px;
  height: 100% !important;
  object-fit: contain;
  object-position: bottom;
  margin: 0;
  display: block;
}

@media (max-width: 600px){
  .pc,
  .ta-campaign-card-img img.pc,
  header img.pc{
    display: none !important;
  }
  .sp,
  .ta-campaign-card-img img.sp,
  header img.sp{
    display: block !important;
  }
  .case-grid{
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
  }
  .case-item{
    flex: 1 1 0;
    align-items: stretch;
    text-align: left;
  }
  .case-item .ta-campaign-card-text{
    text-align: left;
    margin-bottom: 2px;
  }
  .case-item .ta-campaign-card-img{
    justify-content: center;
    height: 155px;
    padding-top: 4px;
  }
  .case-item .ta-campaign-card-img img{
    max-width: 190px;
  }
}
@media (min-width: 601px){
  .pc,
  .ta-campaign-card-img img.pc,
  header img.pc{
    display: block !important;
  }
  .sp,
  .ta-campaign-card-img img.sp,
  header img.sp{
    display: none !important;
  }
}

@media (min-width: 601px){
  .ta-campaign-card-img img.pc{
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 0 auto;
  }
}

/* 画面が狭い時 */
@media (max-width: 600px){
  .benefits{
    width: 100%;
  }
  .badge{
    width: 110px;
    font-size: 20px;
  }
  .line{
    font-size: 18px;
    gap: 8px;
  }
  .accent{
    font-size: 28px;
  }
  .benefits + .ta-campaign-card-catch{
    width: 100%;
  }
}
