/* =========================================================
mixin
=========================================================*/
/* =========================================================
contents
=========================================================*/
header {
  box-shadow: 0px 3px 5px 0 #ccc;
}

main {
  text-align: center;
  counter-reset: number 0;
}

@media only screen and (min-width: 960px) {
  main {
    width: 420px;
    margin: 0 auto;
    overflow: hidden;
  }
  main section {
    width: 100%;
    max-width: 420px;
  }
}

.step_gakushi {
  padding: 90px 20px 0;
}

.step_gakushi > .step_list {
  padding: 0 20px;
  margin: 0 auto 60px;
  position: relative;
  width: 340px;
}

.step_gakushi > .step_list .gif {
  position: absolute;
  top: -70px;
  left: 0;
}

.step_gakushi > .step_list .gif img {
  width: 50px;
}

.step_gakushi > .step_list .gif.step2_act {
  left: 0px;
  animation: move 2s forwards;
}

.step_gakushi > .step_list .gif.step3_act {
  left: 70px;
  animation: move 2s forwards;
}

.step_gakushi > .step_list .gif.step4_act {
  left: 145px;
  animation: move 2s forwards;
}

.step_gakushi > .step_list .gif.step5_act {
  left: 215px;
  animation: move 2s forwards;
}

.step_gakushi > .step_list .gif.step_goal_act {
  left: 290px;
}

.step_gakushi > .step_list .step_goal {
  position: absolute;
  left: 50%;
  top: -60px;
  width: 220px;
  margin-left: -110px;
  z-index: 6;
}

.step_gakushi > .step_list .step_goal img {
  width: 100%;
}

.step_gakushi > .step_list .step_item {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.step_gakushi > .step_list .step_item li {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 20px;
  position: relative;
  counter-increment: number 1;
}

.step_gakushi > .step_list .step_item li.is-current {
  background-color: #F0184F;
}

.step_gakushi > .step_list .step_item li.is-current:before {
  border: 1px solid #F0184F;
}

.step_gakushi > .step_list .step_item li.is-current::after {
  color: #F0184F;
}

.step_gakushi > .step_list .step_item li:after {
  content: "STEP" counter(number);
  position: absolute;
  left: -15px;
  bottom: -25px;
  text-align: center;
  display: inline-block;
  font-weight: bold;
  color: #ccc;
}

.step_gakushi > .step_list .step_item li:before {
  content: "";
  position: absolute;
  top: 4px;
  border: 1px solid #ccc;
  left: -63px;
  width: 70px;
}

.step_gakushi > .step_list .step_item li:first-child {
  background-color: #F0184F;
}

.step_gakushi > .step_list .step_item li:first-child::before {
  content: none;
}

.step_gakushi > .step_list .step_item li:first-child::after {
  color: #F0184F;
}

.answer_gakushi .answerIn dl.step_01 ul li {
  min-height: 140px;
}

.answer_gakushi .answerIn dl.step_02 ul li {
  min-height: 140px;
}

.answer_gakushi .answerIn dl.step_03 ul li {
  min-height: 160px;
}

.answer_gakushi .answerIn dl.step_04 ul li {
  min-height: 160px;
}

.answer_gakushi .answerIn dl.step_05 ul li {
  min-height: 160px;
}

.answer_gakushi .answerIn dl.step_01 dd li:nth-child(1) {
  background: url(../img/bg_answer_1.png) no-repeat center 10px;
  background-size: 100px auto;
}

.answer_gakushi .answerIn dl.step_01 dd li:nth-child(2) {
  background: url(../img/bg_answer_2.png) no-repeat center 10px;
  background-size: 100px auto;
}

.answer_gakushi .answerIn dl.step_01 dd li:nth-child(3) {
  background: url(../img/bg_answer_3.png) no-repeat center 10px;
  background-size: 100px auto;
}

.answer_gakushi .answerIn dl.step_01 dd li:nth-child(4) {
  background: url(../img/bg_answer_4.png) no-repeat center 10px;
  background-size: 100px auto;
}

.answer_gakushi .answerIn dl.step_01 dd li a {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 10px;
  height: 100%;
}

.answer_gakushi .answerIn dl.step_01 dd li a p {
  font-size: 1.3rem;
}

.answer_gakushi .answerIn dt {
  text-align: left;
  display: flex;
  justify-content: left;
  margin-bottom: 15px;
}

.answer_gakushi .answerIn dt p {
  font-size: 1.4rem;
  font-weight: bold;
  color: #F0184F;
  margin: 0;
  padding: 0;
}

.answer_gakushi .answerIn dt span {
  display: inline-block;
  padding: 10px;
  border-radius: 5px;
  margin-right: 10px;
  background-color: #F0184F;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
}

.answer_gakushi .answerIn dd ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.answer_gakushi .answerIn dd ul li {
  width: 48%;
  background: #fff;
  border: 3px solid #59595E;
  border-radius: 10px;
  margin-bottom: 20px;
  box-sizing: border-box;
  box-shadow: 0px 4px 3px 0px #eee;
  position: relative;
}

.answer_gakushi .answerIn dd ul li:nth-child(1) a:before {
  content: "A";
}

.answer_gakushi .answerIn dd ul li:nth-child(2) a:before {
  content: "B";
}

.answer_gakushi .answerIn dd ul li:nth-child(3) a:before {
  content: "C";
}

.answer_gakushi .answerIn dd ul li:nth-child(4) a:before {
  content: "D";
}

.answer_gakushi .answerIn dd ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 0px;
  height: 100%;
}

.answer_gakushi .answerIn dd ul li a:before {
  content: "";
  background: #3D97E5;
  font-size: 1.4rem;
  color: #fff;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  padding: 5px 10px;
  border-radius: 10px 0 10px 0;
  position: absolute;
  left: 5px;
  top: 5px;
  display: inline-block;
}

.answer_gakushi .answerIn dd ul li a p {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.3;
  margin: 0;
  padding: 0;
}

.answer_gakushi .answerIn dd ul li a p span {
  color: #F0184F;
  background: linear-gradient(transparent 50%, rgba(255, 250, 125, 0.86) 50%);
  font-size: inherit;
  font-weight: inherit;
}

.complete {
  width: 100vw;
  background: #FEE187 url(../img/bg_complete.png) no-repeat left top;
  background-size: 100% auto;
  padding-bottom: 40px;
}

.complete img {
  width: 100%;
}

.complete.bottom {
  padding-top: 10px;
}

.complete.top {
  padding: 10px 0 30px;
  background: none;
}

.complete.top .complete_cta {
  margin-top: 50px;
}

.complete .caption {
  font-size: 10px;
  line-height: 1.4;
  color: #666;
  text-align: left;
  padding: 0 20px;
}

.complete_cta {
  margin-top: 90px;
  text-align: center;
  width: 100%;
}

.complete_cta a {
  display: inline-block;
  width: 340px;
  margin: 0 auto;
  border-radius: 30px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  background: #F0184F url(../img/icon_cta.png) no-repeat left 20px top 20px;
  background-size: 55px auto;
  padding: 20px 0 20px 35px;
  position: relative;
  animation: btn_animate_rundom 2s infinite;
}

.complete_cta a span {
  font-size: 1.4rem;
  font-weight: inherit;
}

.complete_cta a:before {
  content: "";
  background: url(../img/ttl_cta.png) no-repeat left top;
  background-size: 100%;
  width: 340px;
  height: 130px;
  position: absolute;
  top: -78px;
  left: 0;
}

.complete_cta a:after {
  content: "";
  display: block;
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 30px;
  top: 21px;
  right: 15px;
  background: #fff url(../img/icon_arrow_right.png) no-repeat left 50% top 50%;
  background-size: 8px auto;
}

.reason {
  margin: 40px 0;
  padding: 0 20px;
}

.reason img {
  width: 80%;
}

@keyframes move {
  to {
    transform: translate(70px);
  }
}

@keyframes move_pc {
  to {
    transform: translate(80px);
  }
}

@keyframes dokidoki {
  0% {
    transform: scale(1.05);
  }
  5% {
    transform: scale(1);
  }
  95% {
    transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1.05);
  }
}

@keyframes btn_animation_push {
  0% {
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
    top: 0px;
  }
  10% {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.3);
    top: 3px;
  }
  20% {
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
    top: 0px;
  }
  30% {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.3);
    top: 3px;
  }
  40% {
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
    top: 0px;
  }
}

@keyframes btn_animate_rundom {
  0% {
    transform: scale(0.98);
  }
  40% {
    transform: scale(1.02);
  }
  60% {
    transform: scale(0.96);
  }
  80% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.97);
  }
}

@keyframes btn_animation_bound {
  0% {
    transform: scale(1.1);
  }
  5% {
    transform: scale(1);
  }
  95% {
    transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1.1);
  }
}
