@keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

@-webkit-keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

img {
  max-width: 100%;
}

/* 診断チャート */
.m_pageHeader__diagnosis {
  margin-bottom: 0;
}
.m_pageHeader__diagnosis .m_pageHeader__header {
  margin-bottom: 0;
}

.diagnosis {
  box-sizing: border-box;
}

.diagnosis .diagnosis-cont ul li {
  list-style-type: none;
}

.quiz {
  background: linear-gradient(135deg, #FFEBC5, #FEF9EA);
  margin-top: 25px;
  position: relative;
  width: 100%;
  min-height: 485px;
}

.quiz * {
  box-sizing: border-box;
}

.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity .8s;
  overflow: hidden;
}

.screen:not(.is-current) {
  max-height: 0;
  opacity: 0;
  display: none;
}

.screen:not(.is-show) {
  z-index: -1;
}

.screen.is-show {
  z-index: 1;
}

.screen.is-current {
  opacity: 1;
  position: static;
  display: block;
  animation-duration: 0.5s;
  animation-name: fade-in;
  -moz-animation-duration: 0.5s;
  -moz-animation-name: fade-in;
  -webkit-animation-duration: 0.5s;
  -webkit-animation-name: fade-in;
}

.bg_wh {
  position: absolute;
  background-color: #fff;
  width: 860px;
  min-height: 404px;
  border-radius: 50px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.bg_wh__q {
  background-color: #fff;
  margin: 40px auto;
  width: 860px;
  min-height: 404px;
  border-radius: 50px;
}

.bg_wh__result {
  position: relative;
  padding: 30px 60px;
  text-align: center;
  background-color: #fff;
  margin: 40px auto;
  width: 670px;
  min-height: 405px;
}

.bg_wh__result::after {
  content: '';
  position: absolute;
  background-image: url(../img/leaf/select-guide/diagnosis/result_ic.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 102px;
  height: 102px;
  top: -20px;
  left: -35px;
}

.start .choice a {
  border-radius: 15px;
  background: #E65E02;
  padding: 15px 15px 15px 50px;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  width: 295px;
  display: block;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  top: 292px;
  left: 32%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .16);
}

.start .choice a:hover {
  text-decoration: none;
  -webkit-transform: translateY(5px);
  transform: translateY(5px);
}

.start .choice a::after {
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  right: 42px;
  top: 32%;
  background-image: url(../img/leaf/select-guide/diagnosis/ic_arrow_right.svg);
  background-repeat: no-repeat;
}

.start__title {
  padding: 0;
  text-align: center;
  width: 100%;
  font-size: 18px;
  font-weight: bold;
  position: absolute;
  color: #F18900;
  top: 47px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 1;
}

.start__mv {
  display: flex;
  padding: 0;
  text-align: center;
  width: 100%;
  font-weight: bold;
  position: absolute;
  width: 489px;
  height: 164px;
  top: 108px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 1;
}

.start__mv_title {
  width: 295px;
  height: auto;
  margin: auto 30px auto 0;
}
.start__mv_img {
  width: 164px;
  height: auto;
}

.screen.branch .question {
  padding: 25px;
  padding-bottom: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90px;
}

.screen.branch .question__icon {
  font-size: 26px;
  font-weight: bold;
  justify-content: center; 
  background-color: #E65E02;
  color: #fff;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  align-items: center;
  display: flex;
}

.screen.branch .question__title {
  font-size: 24px;
  font-weight: bold;
  padding-left: 20px;
  line-height: 1.3;
}

.screen.branch .question__title span {
  font-size: 18px;
}

.screen.branch .choices {
  padding: 0 25px;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.screen.branch .choice {
  width: calc(50% - 40px);
  margin: 0 15px 15px;
  display: block;
  flex-wrap: wrap;
}

.screen.branch .choice a {
  position: relative;
  border-width: 2px 2px 7px 2px;
  border-color: #FFD78D;
  border-style: solid;
  padding-left: 55px;
  padding-right: 30px;
  color: #333;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  font-size: 18px;
  font-weight: bold;
  width: 100%;
  height: 130px;
  min-height: 70px;
  text-decoration: none;
  text-align: left;
  transition: all .3s;
}

.screen.branch .choice a:hover {
  border-bottom-width: 2px;
  -webkit-transform: translateY(5px);
          transform: translateY(5px);
}

.screen.branch .choice a::after {
  content: '';
  width: 25px;
  height: 25px;
  position: absolute;
  left: 16px;
  background-image: url(../img/leaf/select-guide/diagnosis/ic_arrow_right_orange.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.screen.branch .pager {
  position: relative;
  text-align: center;
  display: block;
  margin-top: 20px;
}

.screen.branch .pager__btn {
  position: absolute;
  padding: 0;
  border: none;
  color: #AFA38A;
  font-size: 14px;
  font-weight: bold;
  background: none;
  top: 0;
  left: 15%;
  display: flex;
  transition: all .3s;
}

.screen.branch .pager__btn img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.screen.branch .pager__btn:hover {
  opacity: 0.7;
}

.screen.branch .pager__img {
  width: 156px;
  height: 18px;
  margin: auto;
}
.screen.branch .pager__txt {
  color: #F18900;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin-top: 5px;
}

/* result */
.result__head {
  font-size: 18px;
  font-weight: bold;
}

.result__title {
  margin-top: 13px;
  font-size: 20px;
  font-weight: bold;
}

.result__title span {
  font-size: 12px;
}

.result__logo {
  margin: 10px auto;
}

.result__txt {
  font-size: 16px;
  text-align: left;
}
.result__txt span {
  font-size: 12px;
}

.bg_wh__result .result__btn_in a {
  border-radius: 23px;
  padding: 10px 55px;
  margin: 25px auto 0;
  text-align: left;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  width: 400px;
  display: block;
  transition: all .3s;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
  position: relative;
}

.bg_wh__result .result__btn_in a:hover {
  text-decoration: none;
  -webkit-transform: translateY(5px);
          transform: translateY(5px);
}

.bg_wh__result .result__btn_in a::after {
  content: '';
  width: 25px;
  height: 25px;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-repeat: no-repeat;
  background-size: contain;
}

.bgc_leaf a{
  background-color: #33CC99;
}
.result__btn_in.bgc_leaf a::after {
  background-image: url(../img/leaf/select-guide/diagnosis/ic_arrow_leaf.svg);
}

.bgc_leaf_lightning a{
  background-color: #F8B530;
}
.result__btn_in.bgc_leaf_lightning a::after {
  background-image: url(../img/leaf/select-guide/diagnosis/ic_arrow_lightning.svg);
}

.bgc_leaf_eva a{
  background-color: #0AABC1;
}
.result__btn_in.bgc_leaf_eva a::after {
  background-image: url(../img/leaf/select-guide/diagnosis/ic_arrow_leaf_eva.svg)
}

.bgc_studio a {
  background-color: #e65d01;
}
.result__btn_in.bgc_studio a::after {
  background-image: url(../img/leaf/select-guide/diagnosis/ic_arrow_studio.svg)
}

.bgc_leaf_in_order a {
  background-color: #e6012e;
}
.result__btn_in.bgc_leaf_in_order a::after {
  background-image: url(../img/leaf/select-guide/diagnosis/ic_arrow_leaf_in_order.svg)
}

.bgc_option_display_custom a {
  background-color: #4260ad;
}
.result__btn_in.bgc_option_display_custom a::after {
  background-image: url(../img/leaf/select-guide/diagnosis/ic_arrow_option_display_custom.svg)
}

.bgc_stress a{
  background-color: #e6387b;
}
.result__btn_in.bgc_stress a::after {
  background-image: url(../img/leaf/select-guide/diagnosis/ic_arrow_stress_check.svg)
}

.result {
  position: relative;
}

.result .result__btn_out {
  display: flex;
  justify-content: center;
  background-color: #fff;
  padding: 20px 0;
}

.result .result__btn_out a{
  border-radius: 23px;
  border: 1px solid #E7660F;
  padding: 10px 20px 10px 50px;
  max-width: 205px;
  text-align: left;
  color: #E7660F;
  font-size: 15px;
  font-weight: bold;
  display: block;
  transition: all .3s;
  overflow: hidden;
  position: relative;
}

.result .result__btn_out a + a {
  margin-left: 12px;
}

.result .result__btn_out a:hover {
  text-decoration: none;
  -webkit-transform: translateY(5px);
          transform: translateY(5px);
}

.result .result__btn_out a::after {
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-image: url(../img/leaf/select-guide/diagnosis/ic_arrow_right_orange_result.svg);
  background-repeat: no-repeat;
  background-size: contain;
}




@media screen and (max-width: 768px) {
  .quiz {
    width: 100%;
    min-height: 665px;
  }

  .start__mv {
    display: block;
  }

  .bg_wh {
    position: absolute;
    width: 90%;
    min-height: 625px;
  }

  .start__mv_title {
    display: block;
    margin: 20px auto 0;
    width: 100%;
    max-width: 60vw;
  }

  .start__mv_img {
    display: block;
    margin: 20px auto 0;
    width: 100%;
    max-width: 20vw;
  }

  .start .choice a {
    padding: 15px 15px 15px 50px;
    font-size: 22px;
    font-weight: bold;
    width: 295px;
    top: 525px;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }

  .start .choice a:hover {
    text-decoration: none;
    transform: translate(-50%, -40%);
    -webkit-transform: translate(-50%, -40%);
    -ms-transform: translate(-50%, -40%);
  }

  .bg_wh__q {
    margin: 40px auto;
    width: 90%;
    height: 595px;
    border-radius: 20px;
  }
  .screen.branch .question {
    display: block;
  }
  .screen.branch .question__icon {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    font-size: 16px;
  }
  .screen.branch .question__title {
    padding-left: 0;
    margin-top: 20px;
    font-size: 20px;
  }
  .screen.branch .choices {
    display: block;
    margin-top: 15vw;
  }
  .screen.branch .choice {
    width: 90%;
    margin: 0 auto;
  }
  .screen.branch .choice a {
    height: 110px;
    font-size: 16px;
  }
  .screen.branch .choice a::after {
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
  }

  .screen.branch .choice + .choice {
    margin-top: 20px;
  }

  .screen.branch .pager {
    display: flex;
    margin-top: 50px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 80px auto 0;
  }
  .screen.branch .pager__img {
    width: 100%;
    max-width: 160px;
    height: 30px;
    display: flex;
    align-items: center;
  }
  .screen.branch .pager__txt {
    margin-left: 20px;
    margin-top: 0;
  }

  .screen.branch .pager__btn {
    display: block;
    width: 130px;
    top: -60px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .screen.branch .pager__btn img {
    display: block;
    margin: 0 auto 8px;
  }

  .bg_wh__result::after {
  width: 75px;
  height: 75px;
  top: -37px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

  .bg_wh__result {
    margin: 50px auto 30px;
    padding: 30px 20px;
    width: 90%;
    min-height: unset;
  }

  .result__title {
    display: block;
  }

  .result__head {
    margin-top: 25px;
    font-size: 16px;
  }
  .result__title {
    font-size: 20px;
  }
  .result__title span {
    font-size: 14px;
  }
  .result__txt {
    margin-top: 10vw;
    padding: 0 20px;
  }
  .result__logo {
    max-width: 400px;
    width: 100%;
    margin: 5vw auto 0;
  }
  .result__btn_in {
    padding: 0 10px;
  }

  .bg_wh__result .result__btn_in a {
    width: 100%;
    max-width: 400px;
    font-size: 16px;
    padding: 10px 50px 10px 20px;
    text-align: center;
    margin-top: 10vw;
  }
  .bg_wh__result .result__btn_in a::after {
    content: '';
    width: 25px;
    height: 25px;
    position: absolute;
    right: 8px;
    top: 50%;
  }

  .result .result__btn_out {
    display: block;
    min-width: 205px;
  }
  .result .result__btn_out a {
    margin: 0 auto;
  }

  .result .result__btn_out a + a {
    margin-left: auto;
    margin-top: 10px;
  }
}

@media screen and (max-width: 576px) {
  .quiz {
    height: 100%;
    min-height: 145vw;
  }
  .bg_wh {
    min-height: 135vw;
  }
  .bg_wh__q {
    margin: 20px auto;
    padding-bottom: 20px;
    height: 135vw;
    min-height: unset;
  }
  .bg_wh__result {
    padding: 30px 8px 20px;
  }

  .start__title {
    top: 10vw;
  }

  .start__mv {
    top: 35vw;
  }

  .start__mv_title {
    margin-top: 0;
  }

  .start__mv_img {
    max-width: 25vw;
    margin-top: 3vw;
  }

  .start .choice a {
    top: 111vw;
  }

  .screen.branch .question {
    padding-top: 5vw;
  }

  .screen.branch .question__title {
    font-size: 16px;
    margin-top: 5vw;
    height: 60px;
    display: -ms-flex;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .screen.branch .question__title span {
    font-size: 14px;
  }

  .screen.branch .choices {
    margin-top: 15vw;
  }
  .screen.branch .choice + .choice {
    margin-top: 15px;
  }

  .screen.branch .choice a {
    height: 90px;
    font-size: 14px;
  }
  .screen.branch .pager {
    margin-top: 19vw;
  }

  .result__head {
    margin-top: 10px;
  }
  .result__title {
    margin-top: 10px;
  }
  .result__logo {
    margin-top: 3vw;
  }
}



@media screen and (max-width: 350px) {
  .start__title {
    font-size: 16px;
    top: 10vw;
  }
  .start__mv {
    margin-top: 3vw;
    top: 10vw;
  }
  .start__mv_title {
    width: 100%;
    max-width: 80vw;
    margin-top: 20vw;
  }
  .start__mv_img {
    width: 30vw;
    margin-top: 3vw;
  }
  .start .choice a {
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    width: 80vw;
    text-align: center;
    left: 50%;
    top: 115vw;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }
  .start .choice a::after {
    content: '';
    width: 15px;
    height: 15px;
    position: absolute;
    right: 20px;
    top: 35%;
    background-image: url(../img/leaf/select-guide/diagnosis/ic_arrow_right.svg);
    background-repeat: no-repeat;
    background-size: contain;
  }
  .screen.branch .question {
    padding-top: 3vw;
  }
  .screen.branch .question__title {
    font-size: 14px;
  }
  .screen.branch .question__title span {
    font-size: 12px;
  }
  .screen.branch .choices {
    padding: 0;
    margin-top: 10vw;
  }
  .screen.branch .choice + .choice {
    margin-top: 2vw;
  }
  .screen.branch .choice a {
    font-size: 12px;
    height: unset;
    padding: 5px 20px 5px 40px;
  }
  .screen.branch .choice a::after {
    width: 15px;
    height: 15px;
  }
  .screen.branch .pager {
    margin-top: 20vw;
  }
  .screen.branch .pager__img {
    height: auto;
    max-width: 40vw;
  }
  .screen.branch .pager__txt {
    font-size: 14px;
  }
  .screen.branch .pager__btn {
    width: 45vw;
    font-size: 12px;
    top: -45px;
  }
  .screen.branch .pager__btn img {
    width: 15px;
    height: auto;
    margin-bottom: 5px;
  }
  .bg_wh__result {
    margin: 45px auto 30px;
  }
  .bg_wh__result::after {
    width: 65px;
    height: 65px;
  }
  .bg_wh__result .result__btn_in a {
    font-size: 11px;
    padding-right: 30px;
    padding-left: 15px;
    margin-top: 10vw;
  }
  .bg_wh__result .result__btn_in a::after {
    right: 0px;
    width: 20px;
    height: 20px;
  }
  .result__title {
    font-size: 16px;
  }
  .result__txt {
    font-size: 14px;
  }
}