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

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

body {
  min-width: 320px;
  overflow-x: hidden;
}

@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: 24px 20px 35px;
  background: #FEE187 url(../img/bg_complete.png) no-repeat left top 232px / 100% auto;
}

.complete.bottom.ver2 {
  padding: 24px 20px 23px;
  background: #FEE187 url(../img/bg_complete02.png?3) no-repeat left top / 100% auto;
}

.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: 80px;
  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%;
}

/* 20260609 */
.is-br {
  display: none;
}
.complete.tk {
  width: auto;
}
.complete.bottom.ver2 .complete_cta {
  margin-top: 60px;
  margin-bottom: 20px;
}
.cv-ttl {
  font-size: 19px;
  line-height: 1.684;
  letter-spacing: 0.05em;
  font-weight: bold;
  color: #643210;
  text-align: center;
  margin-bottom: 13px;
}
.attention_wrap {
  background: #fff;
  border-radius: 6px;
  padding: 18px 15px 16px;
  min-height: 175px;
}
.atn-ttl {
  text-align: center;
  line-height: 1;
  font-size: 0;
  margin-bottom: 4px;
}
.atn-ttl span {
  position: relative;
  color: #F0184F;
  font-size: 19px;
  font-weight: bold;
  letter-spacing: 0.075em;
  line-height: 1.389;
  padding-left: 29px;
}
.atn-ttl span::before {
  position: absolute;
  content: '';
  background: url(../../assets/images/icn_attention.svg) no-repeat center / contain;
  width: 20px;
  height: 18px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
}
.atn-txt {
  font-size: 15px;
  line-height: 1.667;
  text-align: left;
  color: #333333;
  margin-bottom: 10px;
  font-weight: 400;
}
.atn-txt .is-fw {
  font-weight: bold;
  font-size: 15px;
}
.atnBtn_txt {
  text-align: center;
  margin-bottom: 0;
}
.atnBtn_txt a {
  display: inline-block;
}
.atnBtn_txt a span {
  color: #F0184F;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.667;
  position: relative;
  padding-right: 25px;
}
.atnBtn_txt a span::before {
  position: absolute;
  content: '';
  background: #F0184F url(../../assets/images/arw_btm.svg) no-repeat center / 9px 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  z-index: 9;
}
.flow_wrap {
  background: #FAF7F5;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
}
.flow_in {
  padding: 0 10px 31px;
}
.flow-ttl {
  background: #F0184F;
  position: relative;
  width: 100%;
  padding: 4px 10px 5px;
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  line-height: 1.66;
  letter-spacing: 0.075em;
  margin-bottom: 37px;
  box-sizing: border-box;
}
.flow-ttl::before {
  position: absolute;
  content: '';
  border-top: 22px solid #F0184F;
  border-right: 14px solid transparent;
  border-left: 14px solid transparent;
  left: 50%;
  transform: translateX(-50%);
  bottom: -21px;
  z-index: 9;
}
.flowLst_wrap {
  margin-bottom: 14px;
}
.flowLst_wrap li {
  background: #fff;
  border-radius: 6px;
  margin-bottom: 25px;
  padding: 16px 15px 22px;
  box-sizing: border-box;
}
.flowLst_wrap li:last-child {
  margin-bottom: 0;
}
.flowLst_ttl {
  font-size: 17px;
  font-weight: bold;
  line-height: 1;
  color: #F0184F;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}
.flowLst_ttl .num {
  font-size: 22px;
  line-height: 1;
  padding-right: 15px;
  margin-right: 13px;
  position: relative;
}
.flowLst_ttl .num::before {
  position: absolute;
  content: '';
  background: #F0184F;
  height: 23px;
  width: 1.5px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
}
.flowFlx_wrap {
  display: flex;
  gap: 17px;
  justify-content: center;
}
.flowImg_wrap {
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.flow-txt {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.538;
  text-align: left;
  color: #333333;
}
.caption {
  text-align: left;
  margin-bottom: 0;
}
.enquete .fv.ver2 {
  max-height: 100%;
}
.complete.bottom.ver2 .attention_wrap {
  min-height: auto;
}
@media (min-width: 500px) and (max-width: 959px) {
  .complete.bottom {
    background: #FEE187 url(../img/bg_complete.png) no-repeat left top 215px / 100% auto;
  }
}
@media only screen and (max-width: 420px) {
  .step_gakushi {
    padding: 21.429vw 4.762vw 0;
  }
  .step_gakushi > .step_list .step_goal {
    top: -14.286vw;
    width: 52.381vw;
    margin-left: -26.19vw;
  }
  .step_gakushi > .step_list {
    width: 80.952vw;
    padding: 0 4.762vw;
    margin: 0 auto 14.286vw;
  }
  .step_gakushi > .step_list .gif img{
    width: 11.905vw;
  }
  .step_gakushi > .step_list .gif.step_goal_act {
    left: 69.048vw;
    top: -16.667vw;
  }
  .complete_cta a {
    width: 80.952vw;
    background: #F0184F url(../img/icon_cta.png) no-repeat left 4.762vw top 4.762vw;
    background-size: 13.095vw auto;
    padding: 4.762vw 0 4.762vw 8.333vw;
    font-size: 4.762vw;
  }
  .complete_cta a:before {
    background: url(../img/ttl_cta.png) no-repeat left top / contain;
    width: 80.952vw;
    height: 30.952vw;
    top: -18.571vw;
  }
  .complete_cta a:after {
    width: 5.714vw;
    height: 5.714vw;
    border-radius: 7.143vw;
    top: 5vw;
    right: 3.571vw;
    background-size: 1.905vw auto;
  }
  .complete_cta a span {
    font-size: 4.286vw;
  }
  .complete.bottom.ver2 .complete_cta {
    margin-top: 14.286vw;
    margin-bottom: 4.762vw;
  }
}
@media only screen and (max-width: 380px) {
  .cv-ttl .is-br {
    display: block;
  }
}
@media only screen and (max-width: 370px) {
  .flowLst_ttl .is-br {
    display: block;
  }
  .flowLst_ttl {
    line-height: 1.3;
    text-align: left;
  }
}
@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);
  }
}
