.guide {
  display: grid;
  grid-template-columns: 1fr;
  margin: 20px 0 40px;
  z-index: 0;
}
.guide div {
  grid-column: 1 / 2;
}
.guide [class*="text"],
.guide .image5,
.guide .image6 {
  z-index: 1;
}
.guide img.desktop,
.guide img.mobile {
  width: 100%;
}
.guide .number-title {
  color: #53715c;
  display: flex;
  align-items: center;
}
.guide .number-title span:nth-child(1) {
  display: inline-block;
  flex: 0 0 42px;
  width: 42px;
  aspect-ratio: 1;
  background-color: #53715c;
  color: white;
  border-radius: 999px;
  text-align: center;
  margin-right: 5px;
}
.guide .number-title span:nth-child(2) {
  flex: 1 1 0;
}
.guide .back0-top-left {
  grid-row: text0-start / text0-middle;
  display: flex;
  align-items: end;
  transform: translateX(-100%);
}
.guide .back0-top {
  grid-row: text0-start / text0-middle;
  display: flex;
  align-items: end;
}
.guide .text0 {
  grid-row: text0-start / text0-end;
}
.guide .back0 {
  grid-row: text0-middle / text0-end;
}
.guide .back1-top {
  grid-row: text0-end / text1-start;
}
.guide .back1-top-left {
  grid-row: text0-end / text1-start;
  display: flex;
  align-items: end;
  transform: translateX(-100%);
}
.guide .text1 {
  grid-row: text1-start / text1-end;
}
.guide .back1 {
  grid-row: text1-start / text1-end;
}
.guide .back2-top {
  grid-row: text1-end / text2-start;
}
.guide .text2 {
  grid-row: text2-start / text2-end;
}
.guide .back2 {
  grid-row: text2-start / text2-end;
}
.guide .back3-top {
  grid-row: text2-end / text3-start;
}
.guide .text3 {
  grid-row: text3-start / text3-end;
}
.guide .back4-top {
  grid-row: text3-end / text4-start;
}
.guide .text4 {
  grid-row: text4-start / text4-end;
}
.guide .back4 {
  grid-row: text4-start / text4-end;
}
.guide .back4-bottom {
  grid-row: text4-end / bottom;
}
@media (min-width: 992px) {
  .guide {
    grid-template-rows: [text0-start] auto [text0-middle] auto [text0-end] auto [text1-start] auto [text1-end] auto [text2-start] auto [text2-end] auto [text3-start] auto [text3-middle1] auto [text3-middle2] auto [text3-end] auto [text4-start] auto [text4-end] auto [bottom];
  }
  .guide .mobile {
    display: none;
  }
  .guide .back0-top {
    display: flex;
    align-items: end;
  }
  .guide .text0 {
    margin: 0 0 -5% 0;
    padding: 0 0 0 10%;
  }
  .guide .back0 {
    background: url(../img/guide/section2.svg) repeat-y center;
    background-size: 100% auto;
  }
  .guide .text1 {
    margin: -5% 0 -5% 0;
    padding: 0 5% 0 0;
  }
  .guide .text1 .section1 {
    position: relative;
    padding: 0 22%;
  }
  .guide .text1 .image2 {
    position: absolute;
    left: 0;
    top: 10%;
    width: 20%;
  }
  .guide .text1 .image3 {
    position: absolute;
    right: 0;
    top: 0;
    width: 20%;
  }
  .guide .back1 {
    background: url(../img/guide/section4.svg) repeat-y center;
    background-size: 100% auto;
  }
  .guide .text2 {
    margin: -5% 0 0 0;
    padding: 0 5% 0 10%;
  }
  .guide .back2 {
    background: url(../img/guide/section2.svg) repeat-y center;
    background-size: 100% auto;
  }
  .guide .text3 {
    margin: -5% 0 -5% 0;
    padding: 0 5% 0 60%;
  }
  .guide .image5 {
    grid-row: text3-start / text3-middle1;
    margin: -15% 0 -5% 0;
    padding: 0 50% 0 10%;
  }
  .guide .image6 {
    grid-row: text3-middle2 / text3-end;
    margin: -5% 0 -5% 0;
    padding: 0 45% 0 20%;
  }
  .guide .image6 img {
    max-width: 80%;
  }
  .guide .back3-1 {
    grid-row: text3-start / text3-middle1;
    background: url(../img/guide/section7.svg) repeat-y center;
    background-size: 100% auto;
  }
  .guide .back3-2 {
    grid-row: text3-middle1 / text3-middle2;
    background: url(../img/guide/section4.svg) repeat-y center;
    background-size: 100% auto;
  }
  .guide .back3-3 {
    grid-row: text3-middle2 / text3-end;
    background: url(../img/guide/section4.svg) repeat-y center;
    background-size: 100% auto;
  }
  .guide .text4 {
    margin: -5% 0 -5% 0;
    padding: 0 30% 0 30%;
    position: relative;
  }
  .guide .text4 .image7 {
    position: absolute;
    left: 5%;
    bottom: -50%;
    width: 20%;
  }
  .guide .text4 .image8 {
    position: absolute;
    right: 0;
    bottom: -80%;
    width: 20%;
  }
  .guide .back4 {
    background: url(../img/guide/section10.svg) repeat-y center;
    background-size: 100% auto;
  }
}
@media (min-width: 992px) and (min-width: 1200px) {
  .guide .text1 .image2 {
    top: 0;
  }
}
@media (min-width: 992px) and (min-width: 1200px) {
  .guide .text1 .image3 {
    top: -30%;
  }
}
@media not all and (min-width: 992px) {
  .guide {
    grid-template-rows: [text0-start] auto [text0-middle] auto [text0-end] auto [text1-start] auto [text1-end] auto [text2-start] auto [text2-end] auto [text3-start] auto [text3-middle1] auto [text3-middle2] auto [text3-end] auto [text4-start] auto [text4-end] auto [bottom];
  }
  .guide .desktop {
    display: none;
  }
  .guide .back0-top {
    display: none;
  }
  .guide .back0 {
    display: none;
  }
  .guide .text1 {
    padding: 0 10% 0 0;
    margin: -5% 0 -5% 0;
  }
  .guide .text1 .section1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: center;
  }
  .guide .text1 .section1 .content {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }
  .guide .text1 .section1 .image2 {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    justify-self: center;
  }
  .guide .text1 .section1 .image3 {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    justify-self: center;
  }
  .guide .back1 {
    background: url(../img/guide/mobile-section4.svg) repeat-y center;
    background-size: 100% auto;
  }
  .guide .text2 {
    padding: 0 0 0 10%;
    margin: -5% 0 -5% 0;
  }
  .guide .back2 {
    background: url(../img/guide/mobile-section2.svg) repeat-y center;
    background-size: 100% auto;
  }
  .guide .text3 {
    grid-row: text3-start / text3-middle1;
    padding: 0 10% 0 0;
    margin: -5% 0 0 0;
  }
  .guide .image5 {
    grid-row: text3-middle1 / text3-middle2;
    padding: 0 10% 0 0;
  }
  .guide .image6 {
    grid-row: text3-middle2 / text3-end;
    padding: 0 10% 0 0;
    margin: 0 0 -15% 0;
  }
  .guide .image6 img {
    max-width: 80%;
  }
  .guide .back3-1 {
    grid-row: text3-start / text3-end;
    background: url(../img/guide/mobile-section4.svg) repeat-y center;
    background-size: 100% auto;
  }
  .guide .back3-2 {
    display: none;
  }
  .guide .back3-3 {
    display: none;
  }
  .guide .text4 {
    position: relative;
    padding: 0 0 0 10%;
    margin: -5% 0 -10% 0;
  }
  .guide .text4 .image7 {
    width: 40%;
    margin-left: 5%;
  }
  .guide .text4 .image8 {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40%;
    transform: translateY(50%);
  }
  .guide .back4 {
    background: url(../img/guide/mobile-section2.svg) repeat-y center;
    background-size: 100% auto;
  }
}
.steps {
  display: grid;
  margin: 20px auto 0 auto;
}
.steps .step1 {
  grid-area: step1;
}
.steps .step1 .circle {
  background-color: #a3becd;
}
.steps .step2 {
  grid-area: step2;
}
.steps .step2 .circle {
  background-color: #6692ac;
}
.steps .step3 {
  grid-area: step3;
}
.steps .step3 .circle {
  background-color: #4e87a3;
}
.steps .step4 {
  grid-area: step4;
}
.steps .step4 .circle {
  background-color: #006684;
}
.steps .step5 {
  grid-area: step5;
}
.steps .step5 .circle {
  background-color: #004d65;
}
.steps .arrow1 {
  grid-area: arrow1;
}
.steps .arrow2 {
  grid-area: arrow2;
}
.steps .arrow3 {
  grid-area: arrow3;
}
.steps .arrow4 {
  grid-area: arrow4;
}
.steps [class*="step"] {
  position: relative;
  width: 100%;
  padding: 5px;
  font-size: 18px;
  line-height: 1.5;
  color: white;
}
.steps [class*="step"] .content {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.steps [class*="step"] h4 {
  font-size: 20px;
  font-weight: normal;
  margin: 5px 0;
  color: white;
}
.steps [class*="step"] p {
  margin: 5px 0;
}
.steps [class*="step"] .circle {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  z-index: -1;
}
.steps [class*="arrow"] {
  position: relative;
}
.steps [class*="arrow"] img {
  position: absolute;
  width: 50%;
}
@media not all and (min-width: 576px) {
  .steps {
    grid-gap: 20px;
    max-width: 280px;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas: "step1" "step2" "step3" "step4" "step5";
  }
  .steps [class*="step"] {
    padding: 20px;
  }
  .steps [class*="arrow"] {
    display: none;
  }
}
@media (min-width: 576px) {
  .steps {
    margin: 40px auto 0 auto;
    max-width: 500px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas: "step1 ." "arrow1 step2" "step3 arrow2" "arrow3 step4" "step5 arrow4";
  }
  .steps [class*="step"] .circle {
    transform: scale(1.1);
  }
  .steps .arrow1 img {
    right: 10%;
    top: 10%;
  }
  .steps .arrow2 img {
    left: 10%;
    top: 10%;
    transform: scaleX(-1);
  }
  .steps .arrow3 img {
    right: 10%;
    top: 10%;
  }
  .steps .arrow4 img {
    left: 10%;
    top: 10%;
    transform: scaleX(-1);
  }
}
@media (min-width: 992px) {
  .steps {
    max-width: unset;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "step1 . step3 arrow3 step5" "arrow1 step2 arrow2 step4 arrow4";
  }
  .steps .arrow1 img {
    right: 10%;
    top: 10%;
  }
  .steps .arrow2 img {
    left: 10%;
    top: 10%;
    transform: rotate(-90deg);
  }
  .steps .arrow3 img {
    right: unset;
    top: unset;
    left: 10%;
    bottom: 10%;
    transform: rotate(90deg) scaleY(-1);
  }
  .steps .arrow4 img {
    left: 10%;
    top: 10%;
    transform: rotate(-90deg);
  }
}
