#baikyaku{

}
.bai-sp{
  display: contents;
}
.baikyaku-wrap{
	max-width: 1000px;
	margin: auto;
}
.baikyaku-wrap h2{
    margin: 0 calc(49% - 49vw);
    background: url(/m/cmn_files/img_rwd/akiya-img/title-bg.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    height: 16vw;
    line-height: 16vw;
    font-size: 2rem;
}
.baikyaku-wrap h2>img{
    max-width: 500px;
    vertical-align: middle;
    height: 150px;
}
.baikyaku-wrap h3{
    background: #3e3a39;
    color: #fff;
    padding: 20px 50px;
    text-align: center;
    width: 65%;
    margin: 100px auto 150px;
    border-radius: 25px;
    font-size: 1.5rem;
    letter-spacing: 3px;
    position: relative;
}
.baikyaku-wrap h3 span{
    font-size: 2rem;
}
.baikyaku-wrap h3:after{
  content: "";
  position: absolute;
  right: 0;
  bottom: -20px;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #3e3a39 transparent transparent transparent;
  border-width: 20px 10px 0 10px;
}
.baikyaku-wrap .flex-wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.baikyaku-wrap .contents01,
.baikyaku-wrap .contents02,
.baikyaku-wrap .contents03{
    width: 32.5%;
    border: solid 2px;
    position: relative;
    padding: 30px 20px;
    box-sizing: border-box;
    text-align: center;
}
.baikyaku-wrap .contents01:before,
.baikyaku-wrap .contents02:before,
.baikyaku-wrap .contents03:before{
    content: url(/m/cmn_files/img_rwd/akiya-img/bai01.svg);
    position: absolute;
    top: -40px;
    right: 0;
    left: 0;
    width: 120px;
    margin: auto;
}
.baikyaku-wrap .contents02:before{
    content: url(/m/cmn_files/img_rwd/akiya-img/bai02.svg);
}
.baikyaku-wrap .contents03:before{
    content: url(/m/cmn_files/img_rwd/akiya-img/bai03.svg);
}
.baikyaku-wrap .contents01 span,
.baikyaku-wrap .contents02 span,
.baikyaku-wrap .contents03 span{
    font-size: 2rem;
    letter-spacing: 5px;
    color: #766951;
    font-weight: bold;
}
.baikyaku-wrap .contents01 p,
.baikyaku-wrap .contents02 p,
.baikyaku-wrap .contents03 p{
    margin-top: 30px;
    font-size: 1.3rem;
    line-height: 35px;
    letter-spacing: 1px;
    text-align: left;
}
.hr-title01{
    position: relative;
    border: solid 2px #b9aa84;
    margin: 150px auto 50px;
}
.hr-title01 span{
    position: absolute;
    top: -20px;
    background: #fff;
    font-size: 1.3rem;
    padding-right: 30px;
    letter-spacing: 3px;
    left: -3px;
}
.hr-title01 b{
    font-size: 2rem;
    padding-right: 10px;
}
.step-upper{
    display: flex;
    margin-bottom: -45px;
    position: relative;
    z-index: 1;
    width: 98.5%;
}
.step-upper li {
    width: calc(100%/7);
    text-align: center;
}
ul.step-upper img {
    max-width: 90px;
    max-height: 50px;
    padding-left: 10px;
}
.step{
  list-style-type: none;
  display:table;
  width:100%;
  padding:0;
  margin:0;
  overflow:hidden;
}
.step li{
  display:table-cell;
  position:relative;
  background: #f0e8d9;
  padding: 2em 0.5em 1em 1.2em;
  color: #000;
  vertical-align: middle;
  width: calc(97%/7);
  font-size: 1.105rem;
  height: 150px;
  line-height: 30px;
  font-weight: bold;
  text-align: center;
}
.step li:last-child{
  padding-right: 1em;
}
.step li:before,
.step li:after{
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  margin: auto;
}
.step li:before{
  top:-20px;
  right:-1em;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
  border-width: 100px 0 100px 1em;
  z-index: 1;
}
.step li:after{
  top:-20px;
  right:-.8em;
  border-style: solid;
  border-color: transparent transparent transparent #f0e8d9;
  border-width: 100px 0 100px 1em;
  z-index: 1;
}
.step-txt{
  font-size: 1.3rem;
  letter-spacing: 3px;
  margin-bottom: 50px;
  font-weight: bold;
}
.step-under{
  display: flex;
  flex-wrap: wrap;
  margin: 10px 0;
}
.step-under .left-wrap{
    width: 83.2%;
    text-align: center;
    background: #b5b5b6;
    margin-right: 3px;
    padding: 5px 0;
    color: #fff;
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 1rem;
}
.step-under .right-wrap{
    width: 13.8%;
    text-align: center;
    background: #898989;
    padding: 5px 0;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 10px;
    font-weight: bold;
}
.step-under p{
    font-size: 1rem;
    text-align: right;
    width: 98%;
    margin: 10px auto;
    letter-spacing: 3px;
}
.needs-wrap{
  	max-width: 1000px;
	  margin: 100px auto 30px;
}
.needs-wrap h4 img{
  width: 55%;
  display: block;
  margin: auto;
}
.needs-wrap ul{
  width: 95%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin: 30px auto 50px;
}
.needs-wrap li{
    border: solid 2px #a48b78;
    border-radius: 30px;
    padding: 10px 2vw;
    box-sizing: border-box;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}
.needs-wrap .flex-wrap{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}
.needs-wrap .flex-wrap:before{
    content: url(/m/cmn_files/img_rwd/akiya-img/chara.svg);
    position: absolute;
    width: 150px;
    z-index: 100;
    height: 150px;
    bottom: 50px;
    right: -30px;
}
.needs-wrap .contents{
  background-color: #f0e8d9;
  width: calc(98%/3);
  padding: 10px;
  box-sizing: border-box;
  font-size: 1rem;
  line-height: 30px;
  letter-spacing: 3px;
  margin-bottom: 13px;
}
.needs-wrap .contents img{
  max-width: 350px;
  margin-top: 5px;
}
.needs-wrap .flex-wrap .contents:last-child {
    width: 66.3%;
}
.needs-wrap .contents span{
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
/* .step li:nth-of-type(1):first-child{
  position: absolute;
  content: url(/m/cmn_files/img_rwd/akiya-img/step01.svg);
  top: -20px;
  width: 50px;
}
.step li:nth-of-type(2):first-child{
  position: absolute;
  content: url(/m/cmn_files/img_rwd/akiya-img/step02.svg);
  top: -20px;
  width: 50px;
}
.step li:nth-of-type(3):first-child{
  position: absolute;
  content: url(/m/cmn_files/img_rwd/akiya-img/step03.svg);
  top: -20px;
  width: 50px;
}
.step li:nth-of-type(4):first-child{
  position: absolute;
  content: url(/m/cmn_files/img_rwd/akiya-img/step04.svg);
  top: -20px;
  width: 50px;
}
.step li:nth-of-type(5):first-child{
  position: absolute;
  content: url(/m/cmn_files/img_rwd/akiya-img/step05.svg);
  top: -20px;
  width: 50px;
}
.step li:nth-of-type(6):first-child{
  position: absolute;
  content: url(/m/cmn_files/img_rwd/akiya-img/step06.svg);
  top: -20px;
  width: 50px;
}
.step li:nth-of-type(7):first-child{
  position: absolute;
  content: url(/m/cmn_files/img_rwd/akiya-img/step07.svg);
  top: -20px;
  width: 50px;
} */

@media screen and (max-width:767px) {
.pc-flow,  
.bai-sp{
  display: none;
}
    .baikyaku-wrap h2 {
        background-size: cover;
        background-position: 65%;
        height: 30vw;
        line-height: 30vw;
    }
    .baikyaku-wrap h2>img{
        width: 65%;
        height: auto;
    }
    .baikyaku-wrap h3{
        margin: 50px auto 70px;
        font-size: .8rem;
        padding: 10px 30px;
        width: 70%;
        line-height: 30px;
    }
    .baikyaku-wrap h3 span{
        font-size: 1rem;
    }
    .baikyaku-wrap .contents01 span,
    .baikyaku-wrap .contents02 span,
    .baikyaku-wrap .contents03 span{
        font-size: 1.3rem;
    }
    .baikyaku-wrap .contents01 p,
    .baikyaku-wrap .contents02 p,
    .baikyaku-wrap .contents03 p{
        font-size: .9rem;
        margin-top: 20px;
        line-height: 25px;
        letter-spacing: 0;
    }
    .baikyaku-wrap .contents01, .baikyaku-wrap .contents02 {
      width: 90%;
      margin: 0px auto 70px;
    }
    .baikyaku-wrap .contents03{
      width: 90%;
      margin: 0 auto;
    }

    .step-upper{
      margin-bottom: -15px;
    }
    ul.step-upper img{
      width: 65%;
      padding-left: 5px;
    }
    .step-txt{
      font-size: .9rem;
      width: 90%;
      margin: 0 auto 50px;
      line-height: 20px;
    }
    .hr-title01{
      width: 95%;
      margin: 100px auto 80px;
    }
    .hr-title01 span{
      font-size: 1rem;
      padding-right: 0px;
      width: 100%;
      line-height: 30px;
      background: unset;
    }
    .hr-title01 b{
      font-size: 1.3rem;
      background-color: #fff;
      padding: 10px 10px 10px 0;
    }
    .step li{
      font-size: .5rem;
      height: 70px;
      line-height: 15px;
    }
    .step li:before{
      border-width: 70px 0 70px 1em;
    }
    .step li:after{
      border-width: 70px 0 70px 1em;
    }
    .step-under .left-wrap{
      font-size: .8rem;
      width: 86%;
      margin-right: 1px;
      letter-spacing: 1px;
    }
    .step-under .right-wrap{
      font-size: .8rem;
      width: 13.7%;
      letter-spacing: 1px;
    }
    .step-under p{
      font-size: .5rem;
      text-align: center;
    }
    .needs-wrap{
      margin: 50px auto 30px;
    }
    .needs-wrap ul{
      width: 90%;
    }
    .needs-wrap h4 img{
      width: 90%;
    }
    .needs-wrap li{
      padding: 10px 4vw;
      font-size: 1rem;
      width: calc(90%/3);
      text-align: center;
    }
    .needs-wrap li:nth-of-type(4),
    .needs-wrap li:last-child {
      margin-top: 20px;
    }
    .needs-wrap li:last-child{
      width: auto;
    }
    .needs-wrap .flex-wrap{
      width: 95%;
      margin: auto;
    }
    .needs-wrap .contents{
      width: calc(98%/2);
      font-size: .8rem;
      letter-spacing: 1px;
      margin-bottom: 10px;
      line-height: 20px;
    }
    .needs-wrap .contents span {
      font-size: 1rem;
      letter-spacing: 1px;
    }
    .needs-wrap .flex-wrap:before {
      width: 100px;
      height: 150px;
      bottom: -40px;
      right: 10px;
    }

}