.account-opening-flow {
  box-sizing: border-box;
  width: 100%;
  margin: 22px auto 26px;
  padding: 22px 18px 14px;
  border: 1px solid #d9dfdc;
  border-radius: 14px;
  background: #fff;
  color: #1f2937; }
  .account-opening-flow *,
  .account-opening-flow *::before,
  .account-opening-flow *::after {
    box-sizing: border-box; }
  .account-opening-flow__title {
    margin: 0 0 18px;
    color: #064734;
    font-size: 26px;
    font-weight: 700 !important;
    line-height: 1.4;
    text-align: center; }
    .account-opening-flow__title > span {
      font-weight: 700 !important; }
  .account-opening-flow__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none; }
  .account-opening-flow__step {
    position: relative;
    min-width: 0;
    margin: 0 !important;
    padding: 43px 10px 16px;
    border: 1px solid #d9dfdc;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
    text-align: center; }
    .account-opening-flow__step:not(:last-child)::after {
      position: absolute;
      z-index: 2;
      top: 48%;
      right: -19px;
      width: 13px;
      height: 13px;
      border-top: 4px solid #a5aaa7;
      border-right: 4px solid #a5aaa7;
      content: '';
      transform: rotate(45deg); }
    .account-opening-flow__step h5 {
      margin: 8px 0 7px;
      color: #064734;
      font-size: 18px;
      font-weight: 700;
      line-height: 1.45; }
    .account-opening-flow__step p {
      margin: 0;
      font-size: 14px;
      line-height: 1.65; }
  .account-opening-flow__number {
    position: absolute;
    z-index: 1;
    top: 8px;
    left: 50%;
    display: flex;
    width: 62px;
    height: 62px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #17693e;
    box-shadow: 0 3px 0 rgba(6, 71, 52, 0.16);
    color: #fff;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
    transform: translate(-50%, -35%); }
    .account-opening-flow__number small {
      margin-bottom: 2px;
      font-size: 10px;
      letter-spacing: .04em; }
  .account-opening-flow__visual {
    display: flex;
    height: 130px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef7f1; }
    .account-opening-flow__visual img {
      display: block;
      width: auto;
      max-width: 116px;
      height: auto;
      max-height: 116px; }
  .account-opening-flow__note {
    margin: 15px 0 0;
    font-size: 13px;
    line-height: 1.6;
    text-align: center; }

@media screen and (max-width: 767px) {
  .account-opening-flow {
    margin: 18px auto 22px;
    padding: 18px 10px 12px;
    border-radius: 10px; }
    .account-opening-flow__title {
      margin-bottom: 16px;
      font-size: 5.1vw; }
    .account-opening-flow__product-name {
      display: block; }
    .account-opening-flow__separator {
      display: none; }
    .account-opening-flow__steps {
      grid-template-columns: minmax(0, 1fr);
      gap: 16px; }
    .account-opening-flow__step {
      display: grid;
      min-height: 122px;
      grid-template-columns: 94px minmax(0, 1fr);
      grid-template-rows: auto auto;
      align-content: center;
      padding: 14px 12px;
      text-align: left; }
      .account-opening-flow__step:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: -13px;
        left: 50%;
        display: block;
        width: 11px;
        height: 11px;
        transform: translateX(-50%) rotate(135deg); }
      .account-opening-flow__step h5 {
        grid-column: 2;
        align-self: end;
        margin: 0 0 5px;
        font-size: 4.2vw; }
      .account-opening-flow__step p {
        grid-column: 2;
        align-self: start;
        font-size: 3.35vw;
        line-height: 1.55; }
    .account-opening-flow__number {
      top: -12px;
      left: 10px;
      width: 46px;
      height: 46px;
      font-size: 20px;
      transform: none; }
      .account-opening-flow__number small {
        font-size: 8px; }
    .account-opening-flow__visual {
      width: 82px;
      height: 82px;
      grid-column: 1;
      grid-row: 1 / 3;
      align-self: center; }
      .account-opening-flow__visual img {
        max-width: 72px;
        max-height: 72px; }
    .account-opening-flow__note {
      font-size: 3vw;
      text-align: left; } }
