#mainvis {
  background-image: url("../img/craftsman/mv.jpg");
  height: 300px;
  margin-bottom: 0;
}

.ctxt {
  line-height: 1.75em;
}

h2 {
  color: #00469b;
  font-size: 1.75rem;
  line-height: 1em;
  margin-bottom: 1.13em;
  text-align: center;
}

#mf1 {
  margin-bottom: 60px;
}
#mf1 .ttl {
  font-size: 2.31rem;
  margin-bottom: 1.75rem;
  color: #00469b;
  text-align: center;
}

#mf2 {
  padding-top: 60px;
  padding-bottom: 30px;
  background-color: #f3f4f5;
}
#mf2 .mf-inner {
  padding: 60px 70px 70px;
  background: #fff;
}
#mf2 .t1 {
  text-align: center;
  margin-bottom: 3.94em;
}
#mf2 .t2 {
  display: flex;
  flex-direction: row-reverse;
  margin-bottom: 40px;
  justify-content: space-between;
}
#mf2 .cimg {
  width: 400px;
  padding-bottom: 27.91%;
  background: url("../img/craftsman/mf2i1.jpg") top/100% no-repeat;
  flex-grow: 1;
  flex-shrink: 1;
}
#mf2 .t2 .ctxt {
  width: 25.94rem;
  flex-grow: 1;
  flex-shrink: 1;
  margin-right: 45px;
}

#mf3 {
  padding-bottom: 30px;
  background-color: #f3f4f5;
}
#mf3 .mf-inner {
  background: #fff;
  padding: 60px 70px 70px;
}
#mf3 ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -28px 11px 0;
}
#mf3 li {
  width: calc((100% - 112px) / 4);
  background: #f3f4f5;
  text-align: center;
  padding-bottom: 33px;
  margin-right: 28px;
  position: relative;
}
#mf3 li:after {
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 21px;
  border-color: transparent transparent transparent #00469b;
  top: 105px;
  left: calc(100% + 3px);
}
#mf3 li:last-child:after {
  content: none;
}
#mf3 .step {
  background: #00469b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 900;
  padding-bottom: 0.15em;
}
#mf3 .img {
  height: 137px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
}
#mf3 .fuki {
  margin-right: 0;
  margin-left: auto;
  width: 411px;
  height: 110px;
  background: url("../img/craftsman/mf3i5.png");
  color: #fff;
  font-size: 1.13rem;
  line-height: 1.33em;
  padding-top: 20px;
  text-align: center;
}
#mf3 .fuki span {
  display: block;
}

#mf4 {
  background-color: #f3f4f5;
  padding-bottom: 60px;
}
#mf4 .mf-inner {
  padding: 60px 70px 70px;
  background: #fff;
}
#mf4 h2 + div {
  display: flex;
}
#mf4 .cimg {
  width: 400px;
  padding-bottom: 28.26%;
  background: url("../img/craftsman/mf4i1.jpg") top/100% no-repeat;
  margin-right: 23px;
  flex-grow: 1;
  flex-shrink: 1;
}
#mf4 ul {
  display: flex;
  flex-wrap: wrap;
  width: 437px;
  flex-grow: 1;
  flex-shrink: 1;
  justify-content: space-between;
  margin: 0 -5px -5px;
}
#mf4 li {
  width: calc(50% - 5px);
  margin-bottom: 5px;
  margin-right: 5px;
  font-size: 1rem;
  line-height: 1em;
  background-color: #f3f4f5;
  display: flex;
  height: 2.69em;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.2em;
}

#mf5 {
  background: url("../img/craftsman/mf5bg.jpg") center center/cover;
  padding: 60px 0;
  margin-bottom: 110px;
}
#mf5 .fuki {
  width: 663px;
  height: 90px;
  background: url("../img/craftsman/mf5i1.png");
  color: #fff;
  font-size: 2.31rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.25em;
}
#mf5 .wh {
  background: #fff;
  border: solid 1px #00469b;
  padding: 55px 56px;
}
#mf5 h2 {
  text-align: left;
  font-size: 1.38rem;
  line-height: 1em;
}
#mf5 .l {
  font-size: 1.31rem;
}
#mf5 p {
  margin-bottom: 1.14em;
}

@media screen and (max-width: 850px) {
  #mainvis {
    background-image: url("../img/craftsman/mvs.jpg");
    height: 30vw;
  }

  h2 {
    font-size: 1.5rem;
    line-height: 1.4em;
  }

  #mf1 {
    margin-bottom: 8vw;
  }
  #mf1 .ttl {
    font-size: 1.88rem;
    line-height: 1.3em;
  }

  #mf2 {
    padding-top: 8vw;
    padding-bottom: 4vw;
  }
  #mf2 .mf-inner {
    padding: 6.67vw 4vw 9.33vw;
  }
  #mf2 .t1 {
    margin-bottom: 2em;
  }
  #mf2 .t2 {
    display: block;
    margin-bottom: 5.33vw;
  }
  #mf2 .cimg {
    width: 100%;
    padding-bottom: 60%;
    margin-bottom: 2em;
  }
  #mf2 .t2 .ctxt {
    width: 100%;
    margin-right: 0;
  }

  #mf3 {
    padding-bottom: 4vw;
  }
  #mf3 .mf-inner {
    padding: 6.67vw 4vw 9.33vw;
  }
  #mf3 ol {
    display: block;
    margin: 0 0 0.53vw 0;
  }
  #mf3 li {
    width: 100%;
    padding-bottom: 4vw;
    margin-right: 0;
    margin-bottom: 8vw;
  }
  #mf3 li:after {
    border-width: 5.33vw 5.33vw;
    border-color: #00469b transparent transparent transparent;
    top: calc(100% + 1vw);
    left: 0;
    right: 0;
    margin: auto;
  }
  #mf3 .img {
    height: auto;
  }
  #mf3 .fuki {
    width: 100%;
    height: 26.67vw;
    background-size: 100% 100%;
    font-size: 1rem;
    padding-top: 0vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  #mf4 {
    padding-bottom: 8vw;
  }
  #mf4 .mf-inner {
    padding: 5.33vw 4vw 9.33vw;
  }
  #mf4 h2 + div {
    display: block;
  }
  #mf4 .cimg {
    width: 100%;
    padding-bottom: 60.75%;
    margin-right: 0;
    margin-bottom: 0.67vw;
  }
  #mf4 ul {
    display: block;
    width: auto;
    margin: 0 0 -0.67vw;
  }
  #mf4 li {
    width: auto;
    margin-bottom: 0.67vw;
    margin-right: 0;
  }

  #mf5 {
    background-image: url("../img/craftsman/mf5bgs.jpg");
    padding: 8vw 0;
    margin-bottom: 13.33vw;
  }
  #mf5 .fuki {
    width: 100%;
    height: auto;
    background: #00469b;
    border-radius: 1.87vw;
    font-size: 1.2rem;
    margin-bottom: 2.67vw;
  }
  #mf5 .wh {
    padding: 4vw;
  }
  #mf5 h2 {
    font-size: 1.2rem;
    line-height: 1.3em;
  }
  #mf5 .l {
    font-size: 1.2rem;
  }
  #mf5 p {
    margin-bottom: 1.14em;
  }
}
