@charset 'UTF-8';

.btn.-secondary.-active>.ico-font,.btn.-secondary.-active>.ico-font:last-child,.btn.-secondary.-active>b>.ico-font {
  color: #fff;
}

.apply-step-wrapper {
  line-height: 1.8;
  margin: 1.5em 0 0;
}

.apply-step-wrapper:first-child {
  margin-top: 0;
}

.apply-step-wrapper>.title {
  font-size: .18rem;
  font-weight: 700;
  line-height: 1.71111;
  position: relative;
  display: flex;
  margin-bottom: 10px;
  text-align: center;
  color: #ca2420;

  align-items: center;
  justify-content: center;
}

.apply-step {
  overflow: hidden;
  margin: 10px 0 0;
  counter-reset: step;
}

.apply-step>.step {
  position: relative;
  padding: 28px 15px 16px;
  border: 1px solid #42425a;
  background: #fff;
}

.apply-step>.step:before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  width: 50px;
  height: 50px;
  content: '';
  background: linear-gradient(135deg,#42425a 50%,transparent 50%);
}

.apply-step>.step:after {
  line-height: 1;
  position: absolute;
  z-index: 2;
  top: .5em;
  left: .5em;
  margin: auto;
  content: counter(step);
  counter-increment: step;
  color: #fff;
}

.apply-step>.step>* {
  flex: 1 1 0%;
}

@media print,screen and (min-width:768px) {
  .apply-step-wrapper>.title {
    font-size: .2rem;
    line-height: 1.64;
  }

  .apply-step {
    display: flex;

    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
  }

  .apply-step>.step {
    display: flex;
    width: calc(50% - 10px/2);
    text-align: center;

    align-items: center;
  }
}

@media print,screen and (min-width:1300px) {
  .apply-step>.step {
    width: calc(25% - 10px*3/4);
  }
}

@media screen and (max-width:767px) {
  .apply-step>.step {
    padding: 16px 25px;
  }

  .apply-step>.step+.step {
    margin-top: 10px;
  }

  .apply-step>.step img {
    width: 120px;
    height: auto;
  }
}

@media screen and (min-width:768px) and (max-width:1299px) {
  .apply-step>.step:nth-child(n+3) {
    margin-top: 10px;
  }
}
