.portrait {
  margin-top: 115px;
}

.portrait__ttl {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #DC1E37;
  margin-bottom: 10px;
}

.portrait__unit {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.portrait__card {
  min-height: 198px;
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
  display: grid;
  place-items: center;
}

.portrait__card:nth-child(1),
.portrait__card:nth-child(4) {
  background: url(/jp/about/company/global_cs/recruit/img/info/img_portrait_bg_01.png) no-repeat center center / cover;
}

.portrait__card:nth-child(2),
.portrait__card:nth-child(3) {
  background: url(/jp/about/company/global_cs/recruit/img/info/img_portrait_bg_02.png) no-repeat center center / cover;
}

.portrait__card-txt {
  font-size: 20px;
  font-weight: 700;
  color: #FFF;
  text-align: center;
}

.want {
  margin-top: 113px;
}

.flow {
  margin-top: 113px;
  padding-bottom: 180px;
  background: url(/jp/about/company/global_cs/recruit/img/common/img_decoration_02.svg)no-repeat left 3.125vw bottom 95px / auto;
}

.flow__lead {
  font-size: 18px;
  font-weight: 700;
  max-width: 720px;
  letter-spacing: 0.1em;
}

.flow__unit {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.flow__item {
  height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  position: relative;
}

.flow__item:nth-child(1)::before {
  display: none;
}

.flow__item:nth-child(1) .flow__item-inr {
  background-color: rgba(220, 30, 55, .5);
}

.flow__item:nth-child(2) .flow__item-inr {
  background-color: rgba(220, 30, 55, .6);
}

.flow__item:nth-child(3) .flow__item-inr {
  background-color: rgba(220, 30, 55, .7);
}

.flow__item:nth-child(4) .flow__item-inr {
  background-color: rgba(220, 30, 55, .8);
}

.flow__item:nth-child(5) .flow__item-inr {
  background-color: rgba(220, 30, 55, .9);
}

.flow__item:nth-child(6) .flow__item-inr {
  background-color: rgba(220, 30, 55, 1);
}



.flow__item-inr {
  min-height: 180px;
  border-radius: 12px;
  width: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  place-items: center;
}

.flow__item-num {
  -webkit-text-stroke: 2px #FFF;
  text-stroke: 2px #FFF;
  paint-order: stroke;
  color: transparent;
  font-size: min(100px, 11vw);
  line-height: .76;
  margin-right: auto;
  font-family: 'DINNextLTPro-HeavyItalic', sans-serif;
}

.flow__item-ttl {
  font-size: min(20px, 2.222vw);
  font-weight: 700;
  color: #FFF;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.flow__item-stick {
  flex: 1;
  width: 1px;
  background-color: #DC1E37;
  position: relative;
  z-index: 1;
}

.flow__item::before,
.flow__item-stick::after {
  content: "";
  position: absolute;
}

.flow__item-stick::after {
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #DC1E37;
}

@media screen and (min-width: 661px) {
  .flow__item:nth-child(2n) {
    padding-top: 24px;
  }

  .flow__item::before {
    top: 100%;
    right: 50%;
    transform: translate(3px, -50%);
    width: calc(100% + 6px);
    height: 3px;
    background: url(/jp/about/company/global_cs/recruit/img/info/img_flow_dot.svg)repeat-x right center / auto 100%;
  }

}

@media screen and (max-width: 660px) {
  .portrait {
    margin-top: 55px;
  }

  .portrait__unit {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .portrait__card {
    min-height: 160px;
  }

  .portrait__card-txt {
    font-size: 16px;
  }

  .want {
    margin-top: 60px;
  }

  .flow {
    margin-top: 55px;
    padding-bottom: 60px;
  }

  .flow__lead {
    font-size: 16px;
  }

  .flow__unit {
    grid-template-columns: repeat(1, 1fr);
  }

  .flow__item {
    flex-direction: row-reverse;
    height: auto;
    align-items: center;
  }

  .flow__item:nth-child(2n) {
    padding-right: 24px;
  }

  .flow__item-inr {
    width: min(53vw, 400px);
  }

  .flow__item-num {
    font-size: 90px;
  }

  .flow__item-ttl {
    font-size: 18px;
  }

  .flow__item-stick {
    width: auto;
    height: 1px;
  }

  .flow__item-stick::after {
    left: 0;
    top: 50%;
  }

  .flow__item::before {
    left: 0;
    bottom: 50%;
    transform: translate(-50%, 3px);
    width: 3px;
    height: calc(100% + 6px);
    background: url(/jp/about/company/global_cs/recruit/img/info/img_flow_dot_ver.svg)repeat-y center bottom / 100% auto;
  }
}