/* Result page
-------------------------------------------------*/
.re_box {
  padding-bottom: 80px;
}

@media all and (max-width: 1024px) {
  .re_box {
    padding-bottom: 60px;
  }
}

.re_box1 {
  padding: 50px 0 80px;
}

@media all and (max-width: 1024px) {
  .re_box1 {
    padding: 30px 0px 40px;
  }
}

.re_box1_img {
  width: 100%;
  height: 400px;
  background-image: url(../img/result/1.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media all and (max-width: 1024px) {
  .re_box1_img {
    height: 300px;
  }
  .re_box1_img img {
    width: 100%;
    max-width: 300px;
  }
}

@media all and (max-width: 768px) {
  .re_box1_img img {
    max-width: 260px;
  }
}

.re_box1_txt {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  color: #D9A300;
  padding-top: 50px;
}

@media all and (max-width: 1024px) {
  .re_box1_txt {
    font-size: 18px;
    padding-top: 30px;
  }
}

@media all and (max-width: 768px) {
  .re_box1_txt {
    font-size: 14px;
    padding: 20px 10px 0;
  }
}

.re_box2 {
  padding-bottom: 60px;
}

@media all and (max-width: 1024px) {
  .re_box2 {
    padding: 40px 20px 0;
  }
}

@media all and (max-width: 768px) {
  .re_box2 {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 30px 10px 0;
  }
}

.re_box2_ttl {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 30px;
}

@media all and (max-width: 1024px) {
  .re_box2_ttl {
    font-size: 16px;
    padding-bottom: 20px;
  }
}

@media all and (max-width: 768px) {
  .re_box2_ttl {
    font-size: 14px;
    padding: 0 10px 15px;
  }
}

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

.re_box2_item a {
  width: 24.7%;
  line-height: 60px;
  text-align: center;
  background-color: #FDFAF3;
  border: 1px solid #ddd;
  font-size: 14px;
  font-weight: bold;
  margin-right: 0.4%;
  margin-bottom: 0.4%;
}

@media all and (max-width: 1024px) {
  .re_box2_item a {
    line-height: 48px;
    font-size: 12px;
  }
}

@media all and (max-width: 768px) {
  .re_box2_item a {
    width: 49%;
    margin-right: 2%;
    margin-bottom: 2%;
    font-size: 11px;
    line-height: 44px;
  }
}

.re_box2_item a:nth-of-type(4n) {
  margin-right: 0;
}

@media all and (max-width: 768px) {
  .re_box2_item a:nth-of-type(4n) {
    margin-right: 2%;
  }
}

@media all and (max-width: 768px) {
  .re_box2_item a:nth-of-type(2n) {
    margin-right: 0;
  }
}
