/* setting */
@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
/* FLOW */
ul.step-list {
  padding: 0;
}

.flex-container li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  padding: 0 1rem 3rem 0;
}

.flex-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.down {
  background-color: #a3a7b3;
  height: 86%;
  position: relative;
  width: 7px;
  margin: 3vw 0 0 7.9vw;
}
.down:after {
  content: " ";
  height: 0;
  position: absolute;
  width: 0;
  border: 10px solid transparent;
  border-top-color: #a3a7b3;
  top: 100%;
  left: 50%;
  margin-left: -2.9vw;
}

@media screen and (min-width: 568px) {
  .down {
    background-color: #a3a7b3;
    height: 8rem;
    position: relative;
    width: 7px;
    margin: 1rem 0 0 2.3rem;
  }
}
@media screen and (min-width: 960px) {
  .down {
    height: 3rem;
  }
}
@media screen and (min-width: 568px) {
  .down:after {
    content: " ";
    height: 0;
    position: absolute;
    width: 0;
    border: 0.8rem solid transparent;
    border-top-color: #a3a7b3;
    top: 100%;
    left: 50%;
    margin-left: -0.8rem;
  }
}
.step-list {
  width: 100%;
  margin: 0;
  padding: 0;
}

.icon-wrap {
  width: 20%;
  height: auto;
  display: block;
}
.icon-wrap span {
  background-color: #a3a7b3;
  color: #fff;
  width: 17vw;
  height: 17vw;
  display: inline-block;
  border-radius: 50%;
  text-align: center;
  line-height: 17vw;
  vertical-align: middle;
  font-size: 1rem;
}

@media screen and (min-width: 568px) {
  .icon-wrap {
    width: 14%;
  }
}
.photo-wrap {
  width: 100%;
}

@media screen and (min-width: 568px) {
  .photo-wrap {
    width: 78%;
  }
}
@media screen and (min-width: 960px) {
  .photo-wrap {
    width: 28%;
  }
}
.text-wrap {
  width: 100%;
  padding: 0;
  margin-top: 1rem;
}

@media screen and (min-width: 568px) {
  .text-wrap {
    margin-top: 0rem;
  }

  .text-wrap span {
    font-size: 1rem;
    font-weight: bold;
    display: block;
  }
}
@media screen and (min-width: 568px) {
  .text-wrap p {
    margin-top: 0;
  }
}
@media screen and (min-width: 568px) {
  .text-wrap {
    padding: 0 0 1rem 1rem;
  }
}
.step-1,
.step-2,
.step-3,
.step-4 {
  width: 77%;
  display: block;
  padding: 0;
}

@media screen and (min-width: 568px) {
  .step-1,
.step-2,
.step-3,
.step-4 {
    width: 86%;
  }
}
section .step-list li:nth-of-type(2) .icon-wrap span {
  background-color: #90a1ca;
}
section .step-list li:nth-of-type(2) .down {
  background-color: #90a1ca;
}
section .step-list li:nth-of-type(2) .down:after {
  border-top-color: #90a1ca;
}
section .step-list li:nth-of-type(3) .icon-wrap span {
  background-color: #5d72b7;
}
section .step-list li:nth-of-type(3) .down {
  background-color: #5d72b7;
}
section .step-list li:nth-of-type(3) .down:after {
  border-top-color: #5d72b7;
}
section .step-list li:nth-of-type(4) .icon-wrap span {
  background-color: #3a53a2;
}
section .step-list li:nth-of-type(4) .down {
  display: none;
}
section .step-list li:nth-of-type(4) .down:after {
  display: none;
}

@media screen and (min-width: 568px) {
  ul.step-list {
    padding: 1rem;
  }

  .flex-container li:nth-of-type(4) {
    padding: 0 1rem 0 0;
  }

  .heading05 {
    font-weight: bold;
    padding: 1rem 0 0.5rem 0;
    font-size: 2.2rem;
  }

  .step-list {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .icon-wrap span {
    background-color: #a3a7b3;
    color: #fff;
    width: 5rem;
    height: 5rem;
    display: inline-block;
    border-radius: 50%;
    text-align: center;
    line-height: 5rem;
    vertical-align: middle;
    font-size: 1.3rem;
  }
}
@media screen and (min-width: 568px) and (min-width: 960px) {
  .icon-wrap span {
    font-size: 1.1rem;
  }
}
@media screen and (min-width: 568px) {
  .flex-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .photo-wrap img {
    width: 100%;
  }

  .text-wrap span {
    display: block;
    font-weight: bold;
  }
}