.wrapper {
  position: relative;
  width: 960px;
  margin: 0 auto;
}

p {
  margin: 0;
}

@media only screen and (max-width: 735px) {
  .wrapper {
    width: 100%;
  }
}

.mainImg .wrapper {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

@media only screen and (max-width: 735px) {
  .mainImg .wrapper {
    position: relative;
    width: 95%;
    margin: 0 auto;
  }
  .mainImg .img {
    margin-top: 20px;
    margin-bottom: 30px;
  }
}

.about {
  position: relative;
  padding-top: 75px;
  padding-bottom: 120px;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  margin-left: calc(-50vw + 50%);
  background: url(https://yamatojk.co.jp/wordpress/wp-content/themes/ymt_juken_orgtheme/img/free_consultation/bg_free_consultation01.png) repeat center/25px 1px;
}

.about .mainTit {
  margin-bottom: 35px;
  text-align: center;
}

.about .list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding: 50px;
  border: 12px solid #f58420;
  border-radius: 30px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: #fff;
}

.about .list .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  list-style: none;
  position: relative;
  width: calc(50% - 40px * 1/2);
  height: 80px;
  margin: 40px 40px 0 0;
  padding-left: 15px;
  border-radius: 40px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: #fba706;
  color: #fff;
  font-weight: bold;
  font-size: 26px;
  text-align: center;
}

.about .list .item .small {
  margin-left: -5px;
  font-weight: normal;
  font-size: 23px;
}

.about .list .item:nth-of-type(2n) {
  margin-right: 0;
}

.about .list .item:nth-of-type(-n + 2) {
  margin-top: 0;
}

.about .list .item::before {
  content: '';
  opacity: .3;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(255, 255, 255, 0)), to(white));
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, white 100%);
}

.about .list .item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 40px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 25px;
  height: 18px;
  background: url(https://yamatojk.co.jp/wordpress/wp-content/themes/ymt_juken_orgtheme/img/free_consultation/ico_about01.png) no-repeat center top/100% auto;
}

.about .illust {
  position: absolute;
  right: -125px;
  bottom: -60px;
  width: 215px;
  height: auto;
}

@media only screen and (max-width: 735px) {
  .about {
    padding-top: 25px;
    padding-bottom: 40px;
  }
  .about .mainTit {
    margin-bottom: 15px;
  }
  .about .list {
    padding: 10px 15px;
    border: 6px solid #f58420;
    border-radius: 15px;
  }
  .about .list .item {
    width: calc(50% - 10px * 1/2);
    height: 35px;
    margin: 7px 10px 0 0;
    padding-left: 15px;
    border-radius: 18px;
    font-size: 11px;
  }
  .about .list .item .small {
    font-size: 10px;
  }
  .about .list .item::after {
    left: 15px;
    width: 10px;
    height: 7px;
  }
  .about .illust {
    right: 0;
    bottom: -30px;
    width: 86px;
  }
}

@media only screen and (max-width: 374px) {
  .about .list .item {
    padding-left: 10px;
    font-size: 10px;
    letter-spacing: 0;
  }
  .about .list .item .small {
    -webkit-transform: scale(0.7);
            transform: scale(0.7);
    -webkit-transform-origin: left center;
            transform-origin: left center;
    margin-right: -20px;
  }
  .about .list .item::after {
    left: 10px;
  }
}

.relief {
  padding-top: 95px;
  padding-bottom: 95px;
}

.relief .mainTit {
  margin-bottom: 70px;
  text-align: center;
}

.relief .list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding: 0 30px;
}

.relief .list .item {
  list-style: none;
  width: calc(33.33% - 40px * 2/3);
  margin: 0 40px 0 0;
}

.relief .list .item:nth-of-type(3n) {
  margin-right: 0;
}

@media only screen and (max-width: 735px) {
  .relief {
    padding-top: 35px;
    padding-bottom: 35px;
  }
  .relief .mainTit {
    margin-bottom: 35px;
  }
  .relief .list {
    padding: 0 5px;
  }
  .relief .list .item {
    list-style: none;
    width: calc(33.33% - 5px * 2/3);
    margin: 0 5px 0 0;
  }
}

.present {
  position: relative;
  padding-top: 80px;
  padding-bottom: 95px;
}

.present::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  margin-left: calc(-50vw + 50%);
  background: url(https://yamatojk.co.jp/wordpress/wp-content/themes/ymt_juken_orgtheme/img/free_consultation/bg_free_consultation01.png) repeat center/25px 1px;
}

.present::after {
  content: '';
  -webkit-clip-path: polygon(50% 100%, 0 0, 100% 0);
          clip-path: polygon(50% 100%, 0 0, 100% 0);
  position: absolute;
  bottom: -75px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 250px;
  height: 75px;
  background: url(https://yamatojk.co.jp/wordpress/wp-content/themes/ymt_juken_orgtheme/img/free_consultation/bg_free_consultation01.png) repeat center/25px 1px;
}

.present .mainTit {
  margin-bottom: 45px;
  text-align: center;
}

.present .set {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.present .set .img {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  width: 450px;
}

.present .set .area-txt {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}

.present .set .area-txt .txt {
  font-weight: bold;
  font-size: 22px;
}

.present .set .area-txt .strong {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, transparent), color-stop(50%, #fcc700), color-stop(80%, #fcc700), color-stop(80%, transparent));
  background: linear-gradient(transparent 50%, #fcc700 50%, #fcc700 80%, transparent 80%);
  font-size: 30px;
}

.present .garland01, .present .garland02 {
  position: absolute;
  top: 0;
  width: 362px;
  height: 173px;
}

.present .garland01 {
  left: -345px;
}

.present .garland02 {
  right: -345px;
}

@media only screen and (max-width: 735px) {
  .present {
    padding-top: 45px;
    padding-bottom: 35px;
  }
  .present::after {
    bottom: -30px;
    width: 110px;
    height: 30px;
  }
  .present .mainTit {
    margin-bottom: 25px;
    padding: 0 5px;
  }
  .present .set {
    display: block;
  }
  .present .set .img {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    width: 70%;
    margin: 0 auto 10px;
  }
  .present .set .area-txt {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  .present .set .area-txt .txt {
    font-weight: bold;
    font-size: 12px;
    text-align: center;
  }
  .present .set .area-txt .strong {
    font-size: 16px;
  }
  .present .garland01, .present .garland02 {
    width: 150px;
    height: 72px;
  }
  .present .garland01 {
    left: -45px;
  }
  .present .garland02 {
    right: -45px;
  }
}

.bnr {
  padding-top: 140px;
}

.bnr .mainTit {
  margin-bottom: 20px;
  color: #fa4708;
  font-weight: bold;
  font-size: 34px;
  text-align: center;
}

.bnr .mainTit .inner {
  position: relative;
}

.bnr .mainTit .inner::before, .bnr .mainTit .inner::after {
  content: '';
  position: absolute;
  top: 20px;
  width: 60px;
  height: 4px;
  background: #fa4708;
}

.bnr .mainTit .inner::before {
  left: -70px;
  -webkit-transform: rotate(55deg);
          transform: rotate(55deg);
}

.bnr .mainTit .inner::after {
  right: -70px;
  -webkit-transform: rotate(-55deg);
          transform: rotate(-55deg);
}

.bnr .img a {
  display: block;
  -webkit-transition: .3s opacity ease;
  transition: .3s opacity ease;
}

.bnr .img a:hover {
  opacity: .7;
}

@media only screen and (max-width: 735px) {
  .bnr {
    padding-top: 50px;
  }
  .bnr .mainTit {
    margin-bottom: 10px;
    font-size: 15px;
  }
  .bnr .mainTit .inner::before, .bnr .mainTit .inner::after {
    top: 10px;
    width: 26px;
    height: 2px;
  }
  .bnr .mainTit .inner::before {
    left: -20px;
  }
  .bnr .mainTit .inner::after {
    right: -20px;
  }
  .bnr .img a {
    display: block;
    -webkit-transition: .3s opacity ease;
    transition: .3s opacity ease;
  }
  .bnr .img a:hover {
    opacity: .7;
  }
}
