.cp_stepflow {
  font-size: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
  margin: 1.5em auto 0 auto;
  padding: 0 0 0 6em;
}

.wrap-contents {
  margin: 0 auto;
  text-align: center;
}

.button_1,
.button_2 {
  margin: -220px 0px 0px 30px;
  position: absolute;
}

/*タブのスタイル*/
.close_area {
  background: url("https://exrg-premium.shop/gold/lp_humanrise/smp/img/tab/bg.jpg")
    no-repeat bottom;
  width: 750px;
}

.tabs input:checked + .tab_item1,
.tabs input:checked + .tab_item3 {
  background: url("https://exrg-premium.shop/gold/lp_humanrise/smp/img/tab/tab_2course_ro.png")
    no-repeat bottom;
  background-size: 100% auto;
}

.tabs input:checked + .tab_item2,
.tabs input:checked + .tab_item4 {
  background: url("https://exrg-premium.shop/gold/lp_humanrise/smp/img/tab/tab_1course_ro.png")
    no-repeat bottom;
  background-size: 100% auto;
}

.tabs input:checked + .tab_item5,
.tabs input:checked + .tab_item6 {
  background: url("https://exrg-premium.shop/gold/lp_humanrise/smp/img/tab/tab_3course_ro.png")
    no-repeat bottom;
  background-size: 100% auto;
}

.tab_item1,
.tab_item3 {
  background: url("https://exrg-premium.shop/gold/lp_humanrise/smp/img/tab/tab_2course_ro_f2.png")
    no-repeat bottom;
  background-size: 100% auto;
  width: 300px;
  height: 150px;
  display: block;
  float: left;
  text-indent: -9999px;
}

.tab_item2,
.tab_item4 {
  background: url("https://exrg-premium.shop/gold/lp_humanrise/smp/img/tab/tab_1course_ro_f2.png")
    no-repeat bottom;
  background-size: 100% auto;
  width: 190px;
  height: 150px;
  margin-left: 13px;
  display: block;
  float: left;
  text-indent: -9999px;
}

.tab_item5,
.tab_item6 {
  background: url("https://exrg-premium.shop/gold/lp_humanrise/smp/img/tab/tab_3course_ro_f2.png")
    no-repeat bottom;
  background-size: 100% auto;
  width: 183px;
  height: 150px;
  display: block;
  float: left;
  text-indent: -9999px;
}

input[name="tab_item"],
input[name="tab_area2"],
input[name="tab_area"] {
  display: none;
}

.tabs,
.tabs2 {
  padding-bottom: 60px;
  padding-top: 20px;
  width: 700px;
  margin: 0 auto;
}

.tab_content {
  display: none;
  clear: both;
  overflow: hidden;
}

#osusume:checked ~ #osusume_content,
#otameshi:checked ~ #otameshi_content,
#osusume2:checked ~ #osusume2_content,
#course3:checked ~ #course3_content,
#course:checked ~ #course_content,
#otameshi2:checked ~ #otameshi2_content {
  display: block;
}

@media screen and (max-width: 640px) {
  .main {
    width: 100%;
  }

  .cp_stepflow {
    font-size: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 1.5em;
    padding: 0;
  }

  .button_1,
  .button_2 {
    width: 92%;
    text-align: center;
    margin: -7.5em 0 0 1em;
  }

  /*タブのスタイル*/
  .close_area {
    width: 100%;
  }

  .tabs,
  .tabs2 {
    width: 100%;
    padding-bottom: 20px;
    margin-top: -110px;
  }

  .tab_item1,
  .tab_item3 {
    background-size: 100%;
    width: 51%;
    height: 200px;
  }

  .tab_item2,
  .tab_item4 {
    background-size: 100%;
    width: 25%;
    height: 200px;
    margin-left: 7px;
  }
  .tab_item5,
  .tab_item6 {
    background-size: 100%;
    width: 20%;
    height: 200px;
  }
}
