@charset "utf-8";
/* CSS Document */

.pc-style {
  display: block;
   @media screen and (max-width: 660px) {
    display: none;
   }
}
.sp-style {
  display: none;
   @media screen and (max-width: 660px) {
    display: block;
   }
}

body {
  overflow-x: hidden;
}

.sec-wrap {
  position: relative;
  width: 100%;
  text-align: center;
  margin: 10px 0 0 0;
    @media screen and (max-width: 660px) {
      width: 90%;
      margin: 0 5%;
      overflow: hidden;
  }
}
.quiz-title {
  max-width: 400px;
  width: 100%;
  font-size: clamp(1.5rem, 1.125rem + 1vw, 1.875rem);
  margin: 2rem auto;
  & img {
    display: block;
    width: 100%;
  }
}
.quiz__container {
  width: 100%;
  & a {
    display: inline-block;
    text-decoration: none;
    color: #62aaad;
    font-weight: bold;
    border: solid 1px #ccc;
    border-radius: 0.3rem;
    margin: 1rem 0 0;
    padding: 0.2rem 1rem;
  }
}

button:active, .question__btn button.active {
    background: #707070;
    color: #fff;
}

.question {
  width: 100%;
  display: inline-block;
  animation: fadeIn 0.8s ease 0s 1 normal;
}
.question__number {
  color: #d34284;
  display: inline-block;
  font-size: 1.5rem;
  border-bottom: dotted 1px #d34284;
  margin-bottom: 20px;
}

.question__btn button {
  max-width: 120px;
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease-in-out;
  color: #fff;
  letter-spacing: 0.1rem;
  background: #62aaad;
  border: none;
  border-radius: 0.3rem;
  margin: 0;
  padding: 0.5rem 1rem;
  & span {
    font-size: 1.75rem;
    font-weight: bold;
    margin-right: 0.5rem;
  }
}
.question__btn {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 1rem 0 2rem;
}
p.question__title {
  display: block;
  width: 100%;
  font-size: 1.125rem;
  text-align: center;
  position: relative;
  & strong {
    font-size: 1.25rem;
  }
}

figure.yes-or-no img {
  display: block;
  max-width: 300px;
  width: 100%;
  margin: 10px auto;
}

.result__container {
  flex-flow: column;
  max-width: 500px;
  width: 100%;
  aspect-ratio: 10/5;
  text-align: center;
  background: url('../images/result-bg.jpg')no-repeat;
  background-size: cover;
  background-position: center;
  margin: 2rem auto 0;
  & figure.trophy img {
    display: block;
    max-width: 180px;
    width: 100%;
    margin: 0 auto 30px;
  }
  & h1 {
    font-size: 1.75rem;
    line-height: 1.75rem;
  }
  & .result__container__text {
    display: block;
    font-size: 1.25rem;
    line-height: 4.8rem;
    margin: 0 0 -50px;
    & .score {
      font-size: 3.125rem;
    }
  }
  & p.page-transition {
  display: block;
  width: 100%;
  text-align: center;
  position: relative;
  margin: 2rem 0;
  }
}

@keyframes fadeIn {
  0% {
      opacity: 0;
      transform: translateY(25px);
  }
     100% {
     opacity: 1;
  }
}

/* 結果ページ
-------------------------*/
.result-area {
  max-width: 600px;
  width: 100%;
  margin: 0 auto 2rem;
  padding: 20px 0 0;
  & h1 {
    color: #eb6b56;
    font-size: 1.8rem;
    text-align: center;
    margin: 0 0 1rem;
  }
  & h1 span {
    color: #595757;
    font-size: 1.25rem;
    line-height: 2.0rem;
  }
  & span {
    display: block;
    font-size: 0.75rem;
    line-height: 1.2rem;
    margin-bottom: 20px;
  }
  & figure {
    width: 80%;
    cursor: pointer;
    margin: 0 auto;
  }
  & figure img {
    display: block;
    max-width: 100%;
    width: 100%;
  }
  @media screen and (max-width: 660px) {
    max-width: 90%;
    margin: 0 5%;
  }
}
.result-area__offer {
  font-size: 1.25rem;
  line-height: 1.8rem;
  text-align: center;
  margin: 20px 0 0;
  & strong {
    color: #eb6b56;
    font-size: 1.8rem;
  }
}
.result-area__text {
  width: 90%;
  font-size: clamp(1.125rem, 0.989rem + 0.68vw, 1.5rem);
  margin: 0 5%;
}
.coupon-code {
  color: #fff;
  text-align: center;
  cursor: pointer;
  background: #62aaad;
  border-radius: 0.2rem;
  margin: 20px 0 5px;
  padding: 0.5rem 2rem;
  & strong {
    position: relative;
    top: 0.1rem;
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
  }
}
.coupon-code:hover {
  background: #707070;
  transition: .8s;
}
.return-area {
  text-align: center;
}
.challenge-again-bt {
  display: inline-block;
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  text-align: center;
  background: #62aaad;
  border-radius: 0.2rem;
  margin: 0 0 2rem;
  padding: 0.5rem 1rem;
}
.challenge-again-bt:hover {
  background: #707070;
  transition: .8s;
}

.notes {
  font-size: 1.0rem;
  letter-spacing: 0.05rem;
  margin: 1rem 0 0;
}

/* ブレイクポイント
-------------------------*/
@media screen and (max-width: 1100px) {
}
@media screen and (max-width: 980px) {
}
@media screen and (max-width: 860px) {
}
@media screen and (max-width: 768px) {
}
@media screen and (min-width: 660px) {
}
@media screen and (max-width: 660px) {
}
@media screen and (max-width: 375px) {
}

