@charset "UTF-8";
@font-face {
  font-family: ZenKakuGothic-Black;
  src: url("../fonts/ZenKakuGothicNew-Black.ttf");
}
@font-face {
  font-family: ZenKakuGothic-Bold;
  src: url("../fonts/ZenKakuGothicNew-Bold.ttf");
}
@font-face {
  font-family: ZenKakuGothic-Medium;
  src: url("../fonts/ZenKakuGothicNew-Medium.ttf");
}
@font-face {
  font-family: ZenKakuGothic-Regular;
  src: url("../fonts/ZenKakuGothicNew-Regular.ttf");
}
@font-face {
  font-family: ZenKakuGothic-Light;
  src: url("../fonts/ZenKakuGothicNew-Light.ttf");
}
@keyframes poyon {
  0% {
    transform: scale(0.8, 1.3) translate(0%, -40%);
  }
  10% {
    transform: scale(0.8, 1.3) translate(0%, -15%);
  }
  20% {
    transform: scale(1.4, 0.6) translate(0%, 30%);
  }
  30% {
    transform: scale(0.9, 1.1) translate(0%, -10%);
  }
  40% {
    transform: scale(0.95, 1.2) translate(0%, -30%);
  }
  50% {
    transform: scale(0.95, 1.2) translate(0%, -10%);
  }
  60% {
    transform: scale(1.1, 0.9) translate(0%, 5%);
  }
  70% {
    transform: scale(1, 1) translate(0%, 0%);
  }
  100% {
    transform: scale(1, 1.2) translate(0%, -30%);
  }
}
body {
  background-color: #FFFDDB;
  width: 100%;
  margin: 0;
  padding: 100px 0;
}

.container {
  width: 90%;
  max-width: 1359px;
  margin: auto;
  padding: 0;
}
@media only screen and (max-width: 786px) {
  .container {
    width: 95%;
  }
}

#quiz-container {
  padding-bottom: 30px;
}

.error-message {
  padding: 80px 0;
  font-size: 18px;
  text-align: center;
  line-height: 2;
}

.question-bar {
  position: fixed;
  top: 100px;
  width: 100vw;
  height: auto;
}
.question-bar img {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .question-bar {
    top: 68px;
  }
  .question-bar img {
    height: 8px;
    width: unset;
  }
}
/* CSS */
.loader-wrap {
  padding: 200px 0;
}

.loader-border {
  width: 100px;
  height: 100px;
  border: 10px solid transparent;
  border-radius: 50%;
  border-top-color: #3498db;
  border-bottom-color: #3498db;
  margin: auto;
  animation: spin-stretch 1.5s ease-in-out infinite;
}

.loading-txt {
  text-align: center;
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
}

@keyframes spin-stretch {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2); /* 少し大きく膨らむ */
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}
.diagnosis-content {
  width: calc(100% - 4rem);
  background-color: #FFFFFF;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2039215686);
  border-radius: 27px;
  padding: 5rem 2rem;
  margin: 50px auto 0;
  font-family: "ZenKakuGothic-Medium", sans-serif;
}
.diagnosis-content .flex {
  display: flex;
  justify-content: left;
  align-items: center;
}
.diagnosis-content div {
  display: block;
}

.diagnosis-question.container {
  padding: 4rem;
  width: calc(100% - 8rem);
}
@media only screen and (max-width: 786px) {
  .diagnosis-question.container {
    width: 100%;
    padding: 3vw;
  }
}

.q-title-wrap .q-title-icon-wrap {
  width: 15%;
  max-width: 107px;
}
.q-title-wrap .q-title-icon-wrap img {
  width: 100%;
}
.q-title-wrap .q-title-inner-wrap {
  width: 80%;
  margin-left: 5%;
}
@media only screen and (max-width: 786px) {
  .q-title-wrap .q-title-inner-wrap .q-title {
    flex-wrap: wrap;
  }
}
.q-title-wrap .q-title-inner-wrap .q-title h2 {
  font-size: 85px;
  margin: 0;
  font-weight: 400;
  width: 24%;
}
@media print, screen and (max-width: 1600px) {
  .q-title-wrap .q-title-inner-wrap .q-title h2 {
    font-size: max(5.3125vw, 50px);
  }
}
@media print, screen and (max-width: 1300px) {
  .q-title-wrap .q-title-inner-wrap .q-title h2 {
    width: 30%;
  }
}
@media only screen and (max-width: 786px) {
  .q-title-wrap .q-title-inner-wrap .q-title h2 {
    width: 100%;
    font-size: max(7.6335877863vw, 35px);
  }
}
.q-title-wrap .q-title-inner-wrap .q-title p {
  font-size: 24px;
  margin-left: 3rem;
  width: calc(76% - 3rem);
}
@media print, screen and (max-width: 1300px) {
  .q-title-wrap .q-title-inner-wrap .q-title p {
    font-size: max(1.8461538462vw, 18px);
    width: 70%;
  }
}
@media only screen and (max-width: 786px) {
  .q-title-wrap .q-title-inner-wrap .q-title p {
    width: 100%;
    margin-left: 0;
    margin-bottom: 10px;
  }
}

.q-title-bar {
  width: 100%;
  height: 9px;
}
.q-title-bar-yellow {
  width: 20%;
  height: 9px;
  background-color: #FFF000;
}
.q-title-bar-blue {
  width: 20%;
  height: 9px;
  background-color: #23A4BD;
}
.q-title-bar-black {
  width: 80%;
  height: 2px;
  background-color: #4E4E4E;
}

#question-form {
  /* --- 必須設定: 標準ラジオボタンの非表示 --- */
  /* --- ラベルのコンテナ設定 --- */
  /* --- アイコンとテキストの縦並び設定 --- */
  /* --- カスタムアイコンのスタイル --- */
}
#question-form .question-form-flex {
  display: flex;
  max-width: 1080px;
  justify-content: space-between;
  margin: auto;
  align-items: flex-start;
  margin-top: 5rem;
}
#question-form .answer-label input[type=radio] {
  /* 標準のラジオボタンを完全に隠す */
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
#question-form .answer-label {
  /* ラベル全体をブロック要素にし、必要に応じて横に並べる場合は display: inline-block; を使用 */
  display: inline-block; /* 選択肢を横に並べる場合 */
  width: 18%;
  max-width: 200px;
}
#question-form .custom-content {
  /* アイコンとテキストを縦に並べる */
  display: flex;
  flex-direction: column;
  align-items: center;
}
#question-form .custom-icon {
  margin-bottom: 5px; /* アイコンとテキストの間にスペース */
  width: 70%;
  margin: auto;
}
#question-form .custom-icon img {
  width: 100%;
}
#question-form .custom-text {
  font-weight: normal;
  color: #FCDD63;
  text-align: center;
}
#question-form .custom-text.text-large {
  font-size: 45px;
}
@media only screen and (max-width: 786px) {
  #question-form .custom-text.text-large {
    font-size: max(5.7251908397vw, 26px);
  }
}
#question-form .custom-text.text-small {
  font-size: 25px;
}
@media only screen and (max-width: 786px) {
  #question-form .custom-text.text-small {
    font-size: max(3.1806615776vw, 16px);
  }
}
#question-form .answer-label {
  cursor: pointer;
}
#question-form .answer-label input[type=radio] + .custom-content .custom-icon .checked {
  display: none;
}
#question-form .answer-label input[type=radio]:checked + .custom-content .custom-icon .checked {
  display: block;
}
#question-form .answer-label input[type=radio]:checked + .custom-content .custom-icon .not-check {
  display: none;
}
#question-form .answer-label:hover {
  opacity: 0.7;
  transition: 0.5s;
}
#question-form .answer-label input[type=radio]:checked + .custom-content .custom-text {
  font-weight: bold;
}

.q-progress-wrap {
  margin: 5rem auto;
}
.q-progress-wrap .q-progress-txt-wrap {
  display: flex;
  justify-content: center;
}
.q-progress-wrap .q-progress-txt-wrap span, .q-progress-wrap .q-progress-txt-wrap img {
  display: block;
}
.q-progress-wrap .q-progress-txt-wrap img {
  width: 32px;
  margin: 0 13px;
}
.q-progress-wrap .q-progress-txt-wrap span {
  font-size: 30px;
  letter-spacing: 0.2em;
}
@media only screen and (max-width: 786px) {
  .q-progress-wrap .q-progress-txt-wrap span {
    font-size: max(3.8167938931vw, 24px);
    text-align: center;
  }
}
.q-progress-wrap .q-progress-bar {
  margin-top: 3rem;
  height: 22px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  --progress-per: attr(data-q-progress-per unit(%) / 1);
  background-image: linear-gradient(to right, #FFF000 var(--progress-per), #ffffff var(--progress-per));
  /* アニメーションを滑らかにする（オプション） */
  transition: background-image 0.4s ease-out;
}
.q-progress-wrap .q-progress-bar-full {
  background-image: unset;
  background-color: #FFF000;
}

#navigation-buttons {
  display: flex;
  justify-content: center;
}
@media only screen and (max-width: 786px) {
  #navigation-buttons {
    flex-wrap: wrap;
  }
}
#navigation-buttons .test-button {
  background-color: #23A4BD;
  border: unset;
  padding: 8px 8px 10px 8px;
  border-radius: 31px;
  width: 45%;
  margin: auto 2.5%;
  max-width: 534px;
  height: 115px;
  cursor: pointer;
}
@media only screen and (max-width: 786px) {
  #navigation-buttons .test-button {
    height: 85px;
    width: 100%;
    margin-bottom: 10px;
  }
}
#navigation-buttons .test-button:hover {
  opacity: 0.7;
  transition: 0.5s;
}
#navigation-buttons .test-button .inner {
  border: 2px solid #FFFFFF;
  border-radius: 20px;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 1.5rem;
}
@media only screen and (max-width: 786px) {
  #navigation-buttons .test-button .inner {
    justify-content: center;
  }
}
#navigation-buttons .test-button .inner img {
  width: 50px;
  margin-right: 1.5rem;
}
@media only screen and (max-width: 786px) {
  #navigation-buttons .test-button .inner img {
    width: 35px;
  }
}
#navigation-buttons .test-button .inner span {
  font-size: 42px;
  color: #fff;
}
@media print, screen and (max-width: 1300px) {
  #navigation-buttons .test-button .inner span {
    font-size: max(3.2307692308vw, 28px);
  }
}
@media only screen and (max-width: 786px) {
  #navigation-buttons .test-button .inner span {
    font-size: max(4.4529262087vw, 23px);
  }
}
#navigation-buttons .test-button:first-child:last-child {
  width: 65%;
  max-width: 800px;
}
@media only screen and (max-width: 786px) {
  #navigation-buttons .test-button:first-child:last-child {
    width: 100%;
  }
}
#navigation-buttons .test-button:first-child:last-child .inner {
  justify-content: center;
}

.final-result-btn-wrap .rabit-icon-wrap {
  position: absolute;
  width: 107px;
  margin-left: 16rem;
  margin-top: -4.5rem;
}
@media print, screen and (max-width: 1300px) {
  .final-result-btn-wrap .rabit-icon-wrap {
    margin-left: 1vw;
  }
}
@media only screen and (max-width: 786px) {
  .final-result-btn-wrap .rabit-icon-wrap {
    width: 20vw;
    margin-left: 0;
  }
}
.final-result-btn-wrap .rabit-icon-wrap img {
  width: 100%;
}

.q-title-icon-wrap img, .rabit-icon-wrap img {
  animation: poyon 1.8s linear infinite;
}

#final-result-btn {
  width: 85%;
  display: block;
  cursor: pointer;
  max-width: 1037px;
  margin: 5rem auto;
  background-color: #FFF000;
  border-radius: 94px;
  border: unset;
  padding: 2rem 3rem;
}
@media only screen and (max-width: 786px) {
  #final-result-btn {
    width: 100%;
    margin: 20px auto;
    padding: 20px;
  }
}
#final-result-btn .btn-txt-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1.5rem;
}
#final-result-btn .btn-txt-wrap span {
  font-size: 47px;
  letter-spacing: 0.2em;
}
@media print, screen and (max-width: 1300px) {
  #final-result-btn .btn-txt-wrap span {
    font-size: max(3.6153846154vw, 30px);
  }
}
@media only screen and (max-width: 786px) {
  #final-result-btn .btn-txt-wrap span {
    font-size: max(4.4529262087vw, 28px);
  }
}
#final-result-btn .btn-txt-wrap .icon-wrap {
  width: 51px;
}
#final-result-btn .btn-txt-wrap .icon-wrap img {
  width: 100%;
}
#final-result-btn .q-title-bar {
  max-width: 850px;
  width: 80%;
  margin: auto;
}

.result-content .result-over-title-wrap {
  width: 80%;
  max-width: 823px;
}
@media only screen and (max-width: 786px) {
  .result-content .result-over-title-wrap {
    width: 100%;
    font-size: max(3.8167938931vw, 25px);
  }
}
.result-content .result-over-title-wrap h2 {
  font-size: 40px;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
@media print, screen and (max-width: 1300px) {
  .result-content .result-over-title-wrap h2 {
    font-size: max(3.0769230769vw, 30px);
  }
}
@media only screen and (max-width: 786px) {
  .result-content .result-over-title-wrap h2 {
    font-size: max(3.8167938931vw, 20px);
  }
}
.result-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 4rem;
}
.result-content ul .genre-card {
  --genre-main-color: #CC7645;
  --genre-bg-color: #cc76452b;
  margin-bottom: 40px;
}
.result-content ul .genre-card.brown {
  --genre-main-color: #CC7645;
  --genre-bg-color: #cc76452b;
}
.result-content ul .genre-card.blue {
  --genre-main-color: #51BEC8;
  --genre-bg-color: #51bec82e;
}
.result-content ul .genre-card.green {
  --genre-main-color: #6CBC64;
  --genre-bg-color: #6bbc643f;
}
.result-content ul .genre-card.perple {
  --genre-main-color: #B292C2;
  --genre-bg-color: #b292c232;
}
.result-content ul .genre-card .title-wrap {
  font-size: min(3.2vw, 59px);
  font-weight: bold;
  color: var(--genre-main-color);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--genre-main-color);
}
@media only screen and (max-width: 786px) {
  .result-content ul .genre-card .title-wrap {
    font-size: max(3.5vw, 18px);
    justify-content: space-around;
  }
}
@media only screen and (max-width: 786px) {
  .result-content ul .genre-card .title-wrap .title-wrap-txt {
    display: block;
    text-align: center;
  }
}
.result-content ul .genre-card .title-wrap .title-wrap-txt .part-label, .result-content ul .genre-card .title-wrap .title-wrap-txt h3 {
  font-size: min(3vw, 48px);
}
@media only screen and (max-width: 786px) {
  .result-content ul .genre-card .title-wrap .title-wrap-txt .part-label, .result-content ul .genre-card .title-wrap .title-wrap-txt h3 {
    font-size: max(4vw, 16px);
  }
}
.result-content ul .genre-card .icon-wrap img {
  width: 59px;
  margin-left: 20px;
}
@media only screen and (max-width: 786px) {
  .result-content ul .genre-card .icon-wrap img {
    width: 45px;
  }
}
.result-content ul .genre-card .genre-content-list .content-item-box {
  margin-top: 5px;
  margin-bottom: 20px;
  border-radius: 30px;
  background-color: var(--genre-bg-color);
  padding: 60px 30px 40px;
}
@media only screen and (max-width: 786px) {
  .result-content ul .genre-card .genre-content-list .content-item-box {
    padding: 35px 20px;
  }
}
.result-content ul .genre-card .genre-content-list .content-item-box .content-title {
  background-color: var(--genre-main-color);
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  width: fit-content;
  min-width: 60%;
  padding: 10px 20px;
  text-align: center;
}
@media only screen and (max-width: 786px) {
  .result-content ul .genre-card .genre-content-list .content-item-box .content-title {
    font-size: 18px;
    padding: 10px;
  }
}
.result-content ul .genre-card .genre-content-list .content-item-box .genre-detail-wrap {
  max-width: 1000px;
  width: 90%;
  margin: auto;
  margin-top: 40px;
}
.result-content ul .genre-card .genre-content-list .content-item-box .genre-detail-wrap .genre-img-wrap {
  width: 100%;
  justify-content: space-between;
}
@media only screen and (max-width: 786px) {
  .result-content ul .genre-card .genre-content-list .content-item-box .genre-detail-wrap .genre-img-wrap {
    flex-wrap: wrap;
  }
}
.result-content ul .genre-card .genre-content-list .content-item-box .genre-detail-wrap .genre-img-wrap .img-wrap {
  width: 48%;
}
@media only screen and (max-width: 786px) {
  .result-content ul .genre-card .genre-content-list .content-item-box .genre-detail-wrap .genre-img-wrap .img-wrap {
    width: 100%;
    margin-top: 15px;
  }
}
.result-content ul .genre-card .genre-content-list .content-item-box .genre-detail-wrap .genre-img-wrap .img-wrap img {
  width: 100%;
}
.result-content ul .genre-card .genre-content-list .content-item-box .genre-detail-wrap .genre-desc-wrap {
  margin-top: 16px;
  font-size: 20px;
  line-height: 2;
}
@media only screen and (max-width: 786px) {
  .result-content ul .genre-card .genre-content-list .content-item-box .genre-detail-wrap .genre-desc-wrap {
    font-size: 16px;
  }
}
.result-content ul .genre-card .link-wrap a {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  max-width: 500px;
  border-radius: 50px;
  background-color: #FFF000;
  color: #333333;
  margin: 2rem auto;
  display: block;
  text-align: center;
  text-decoration: none;
  line-height: 2;
  font-size: 24px;
}
@media print, screen and (max-width: 1300px) {
  .result-content ul .genre-card .link-wrap a {
    font-size: max(1.8461538462vw, 20px);
    line-height: 50px;
  }
}
.result-content ul .genre-card .link-wrap a:hover {
  opacity: 0.7;
  transition: 0.5s;
  box-shadow: none;
}
.result-content ul .genre-card .link-wrap a:hover::after {
  margin-left: 8.2rem;
  transition: 0.5s;
}
.result-content ul .genre-card .link-wrap a::after {
    width: 18px;
    height: 20px;
    content: "";
    position: absolute;
    background-image: url(../images/test/arrow-3.png);
    background-size: cover;
    background-position: center;
    margin-left: 2rem;
    margin-top: 1.5rem;
}
@media print, screen and (max-width: 1300px) {
  .result-content ul .genre-card .link-wrap a::after {
    margin-top: 15px;
  }
}
@media only screen and (max-width: 786px) {
  .result-content ul .genre-card .link-wrap a::after {
    margin-left: 2rem;
  }
}
.result-content .bottom-message .bar {
  width: 100%;
}
.result-content .bottom-message .bar img {
  width: 100%;
}
.result-content .bottom-message .bottom-message-detail {
  width: 90%;
  max-width: 980px;
  margin: 2rem auto;
  flex-wrap: wrap;
  justify-content: space-around;
}
@media only screen and (max-width: 786px) {
  .result-content .bottom-message .bottom-message-detail {
    width: 100%;
  }
}
.result-content .bottom-message .bottom-message-detail .rabit-icon-wrap {
  width: 107px;
}
.result-content .bottom-message .bottom-message-detail .rabit-icon-wrap img {
  width: 100%;
}
.result-content .bottom-message .bottom-message-detail .txt {
  line-height: 3;
  font-size: 20px;
  width: calc(100% - 200px);
}
@media only screen and (max-width: 786px) {
  .result-content .bottom-message .bottom-message-detail .txt {
    width: 100%;
    line-height: 2;
    font-size: 18px;
  }
}

#navigation-buttons.result-page-button .test-button {
  text-decoration: none;
  max-width: 780px;
  width: 100%;
  justify-content: center;
  margin: 4rem auto;
}/*# sourceMappingURL=question.css.map */
.link-txt999 {
    text-align: center;
    width: 60%;
    font-size: 1.5rem;
    margin: 3rem auto;
}