@charset "utf-8";

/*---------------------------------------------------------------------------------------------

ベース

---------------------------------------------------------------------------------------------*/

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  font-family: "Yu Gothic", "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Meiryo", sans-serif;
  color: #624223;
}

img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {

  body {
  }

}

/*---------------------------------------------------------------------------------------------

FLEX

---------------------------------------------------------------------------------------------*/

.flex {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
}

.al-start {
  -webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
}

.al-center {
  -webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.jt-center {
  -webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.jt-around {
  -ms-flex-pack: distribute;
	justify-content: space-around;
}

.jt-between {
  -webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.jt-start {
  -webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
}

.jt-end {
  -webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
}

.flex_wrap {
  -ms-flex-wrap: wrap;
  	flex-wrap: wrap;
}

@media screen and (max-width: 768px) {

  .sp_noflex {
    display: block;
  }

  .sp_wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

}

/*---------------------------------------------------------------------------------------------

PC

---------------------------------------------------------------------------------------------*/

@media screen and (min-width: 769px) {

  .onlyPC {
    display: block;
  }

  .onlySP {
    display: none !important;
  }

}

/*---------------------------------------------------------------------------------------------

SP

---------------------------------------------------------------------------------------------*/


@media screen and (max-width: 768px) {

  .onlyPC {
    display: none !important;
  }

  .onlySP {
    display: block;
  }

}


/*---------------------------------------------------------------------------------------------

フェードインアニメーション

---------------------------------------------------------------------------------------------*/


.view.on {
    opacity: 1;
    transform: translate(0px,0px);
    visibility: visible;
}
.view {
    transition: 1.2s;
    opacity: 1;
    transform: translate(0px,60px);
}


/*---------------------------------------------------------------------------------------------

ヘッダー

---------------------------------------------------------------------------------------------*/


.head_cont {
  width: 100%;
  padding: 20px;
  background: #FFF;
}

.head_cont img {
  max-width: 180px;
  display: block;
  text-align: center;
  margin: auto;
}


/*---------------------------------------------------------------------------------------------

フッター

---------------------------------------------------------------------------------------------*/


.foot_cont {
  width: 100%;
  padding: 20px;
  background: #FFF;
}

.foot_cont p {
  font-size: 1.6rem;
  text-align: center;
}

@media screen and (max-width: 768px) {

  .foot_cont p {
    font-size: 1.2rem;
  }

}

/*---------------------------------------------------------------------------------------------

メインコンテンツ

---------------------------------------------------------------------------------------------*/


.mv_cont {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("/assets/img/mv_bg.png") no-repeat;
  background-size: cover;
  background-position: center;
}

@media screen and (min-width: 1400px) {
  .mv_cont {
    background-position: bottom center;
  }
}

.mv_tit {
  position: absolute;
  width: 45%;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

@media screen and (min-width: 1400px) {
  .mv_tit {
    width: 30%;
  }
}

.mv_coution {
  position: absolute;
  font-size: 1.2rem;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

.mv_tit p {
  position: relative;
  font-size: 3.8rem;
  text-align: center;
  line-height: 1.6;
  z-index: 2;
  margin-top: 20px;
  word-break: auto-phrase;
}

.mv_tit p span {
  color: #DC000F;
}

.mv_h1 {
  position: relative;
  z-index: 2;
}

.mv_bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  z-index: 1;
}

.main_cont {
  width: 100%;
  height: auto;
  background: url("/assets/img/cont_bg.png");
  background-repeat: repeat;
  background-size: contain;
  padding-bottom: 80px;
}

.cont_block {
  position: relative;
  max-width: 1000px;
  margin: auto;
  margin-bottom: 60px;
  border: 10px solid;
  border-radius: 38px;
  padding: 50px;
  background: #FFF;
}

.close_wrap {
  border-radius: 27px;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0, 0.8);
  top: 0;
  left: 0;
}

.close_txt {
  width: 90%;
  color: #FFF;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

h2 {
  position: relative;
  margin-top: 45px;
}

h2 img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

h2 p {
  font-size: 3.6rem;
  color: #FFF;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.present_txt {
  max-width: 756px;
  margin: auto;
  margin-top: 150px;
}

.present_txt_box {
  width: 55%;
}

.present_txt_box p {
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1.8;
  margin-bottom: 20px;
}

.present_txt_box span {
  font-size: 2rem;
  line-height: 1.8;
  display: block;
  margin-bottom: 10px;
}

.present_txt img {
  max-width: 290px;
}

.sch_txt {
  max-width: 800px;
  margin: auto;
  margin-top: 150px;
}

.sch_txt p {
  font-size: 3.2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.coution_txt {
  max-width: 800px;
  margin: auto;
  margin-top: 150px;
}

.coution_txt p {
  font-size: 1.6rem;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 1.7rem;
  position: relative;
}

.coution_txt p::before {
  position: absolute;
  content: "●";
  font-size: 1.6rem;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.coution_txt ul {
  font-size: 1.6rem;
}

.coution_txt ul li {
  position: relative;
  line-height: 1.8;
  padding-left: 1.7rem;
}

.coution_txt ul li::before {
  position: absolute;
  content: "・";
  font-size: 1.6rem;
  top: 0;
  left: 0;
}

.quiz_head {
  margin: auto;
  margin-top: 120px;
  margin-bottom: 80px;
  font-size: 3.2rem;
  text-align: center;
  line-height: 1.8;
}

.quiz_box {
  border: 1px solid #624223;
  border-radius: 10px;
  margin-top: 120px;
}

.quiz_number {
  padding: 20px;
  background: #624223;
  color: #FFF;
  font-size: 2.8rem;
  text-align: center;
  border-radius: 8px 8px 0 0;
}

.quiz_txt {
  font-size: 2.6rem;
  text-align: center;
  margin: 40px auto;
}

.quiz_btn {
  margin-bottom: 40px;
}

.btn_wrap {
  width: 30%;
}

.yes_btn_wrap {
  max-width: 273px;
  width: 90%;
  height: 98px;
  position: relative;
  margin: 0 15px;
}

.yes_btn {
  width: 100%;
  height: 98px;
  background: #D56969;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  transition: .3s;
}

/* button.yes_btn:hover,
button.yes_btn:active {
  top: 5px;
} */

.yes_btn_wrap::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 98px;
  background: #A25656;
  border-radius: 12px;
  top: 5px;
  left: 0;
  z-index: 0;
}

.no_btn_wrap {
  max-width: 273px;
  width: 90%;
  height: 98px;
  position: relative;
  margin: 0 15px;
}

.no_btn {
  width: 100%;
  height: 98px;
  background: #5C93B1;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  transition: .3s;
}

/* button.no_btn:hover,
button.no_btn:active {
  top: 5px;
} */

.no_btn_wrap::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 98px;
  background: #3A6277;
  border-radius: 12px;
  top: 5px;
  left: 0;
  z-index: 0;
}

.answer_box {
  margin: auto;
  margin-top: 75px;
}

.answer_btn_wrap {
  position: relative;
  max-width: 516px;
  width: 100%;
  height: 82px;
  margin: auto;
}

.revenge_btn,
.form_btn {
  position: relative;
  width: 100%;
  height: 82px;
  border: 4px solid #624223;
  border-radius: 41px;
  background: #FFEFD3;
  z-index: 1;
}

.answer_btn {
  position: relative;
  width: 100%;
  height: 70px;
  border: 4px solid #624223;
  border-radius: 35px;
  background: #FFEFD3;
  z-index: 1;
}

.answer_btn_wrap::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 70px;
  border: 4px solid #624223;
  background: #624223;
  border-radius: 35px;
  top: 5px;
  left: 0;
  z-index: 0;
}

.revenge_btn p,
.form_btn p {
  width: 100%;
  font-size: 2.2rem;
  text-align: center;
  position: relative;
}

.answer_btn p {
  font-size: 1.8rem;
}

.answer_btn p::after,
.revenge_btn p::after,
.form_btn p::after {
  position: absolute;
  content: "";
  background: url("/assets/img/btn_next.svg") no-repeat;
  background-size: 100%;
  background-position: center;
  width: 42px;
  height: 42px;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  z-index: 1;
}

button.answer_btn:hover,
button.answer_btn:active,
button.revenge_btn:hover,
button.revenge_btn:active,
button.form_btn:hover,
button.form_btn:active {
  top: 5px;
}

input[type="radio"]:checked + .yes_btn {
  background: #A25656;
  top: 5px;
}

input[type="radio"]:checked + .no_btn {
  background: #3A6277;
  top: 5px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup {
    display: none; /* 初期状態では非表示 */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8); /* 半透明の黒背景 */
}

.popup.show {
    display: block;
    animation: fadeIn 0.5s; /* フェードインのアニメーションを追加 */
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: #FFF;
  padding: 30px;
  border: 10px solid #FFC55D;
  border-radius: 40px;
  max-width: 1000px;
  width: 80%;
  height: 70vh;
  text-align: center;
}

.result {
  position: absolute;
  top: -7%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  max-width: 270px;
}

.result_wrap {
  /* display: none; */
  width: 100%;
  height: 100%;
  overflow-y: scroll;
}

.result_ok_txt {
  font-size: 5rem;
  font-weight: bold;
  letter-spacing: .1em;
  color: #DC000F;
  margin-top: 30px;
}

.result_ng_txt {
  font-size: 5rem;
  font-weight: bold;
  letter-spacing: .1em;
  color: #466EAD;
  margin-top: 50px;
}

.result_copy {
  width: 42rem;
  position: relative;
  margin: 50px auto;
}

.result_copy::before {
  position: absolute;
  content: "";
  background: url("/assets/img/illsut_flag01.png") no-repeat;
  background-size: 100%;
  background-position: center;
  width: 112px;
  height: 112px;
  top: -15%;
  left: -28%;
}

.result_copy.ng::before {
  display: none;
}

.result_copy::after {
  position: absolute;
  content: "";
  background: url("/assets/img/illsut_flag02.png") no-repeat;
  background-size: 100%;
  background-position: center;
  width: 112px;
  height: 112px;
  top: -15%;
  right: -28%;
}

.result_copy.ng::after {
  display: none;
}

.result_copy_wrap {
  width: 40rem;
  position: relative;
  margin: auto;
}

.result_copy p {
  width: 100%;
  font-size: 5rem;
  font-weight: bold;
  letter-spacing: .1em;
  position: relative;
  margin: auto;
  z-index: 1;
}

.result_copy_wrap::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 16px;
  background: #FFC55D;
  bottom: 0;
  left: 0;
  z-index: 0;
}


.result_sub_txt {
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: .1em;
  margin-bottom: 60px;
}

.result_answer_box {
  margin-top: 60px;
  background: #FFEFD3;
  border-radius: 10px;
  padding-bottom: 20px;
}

.result_answer_txt {
  width: 100%;
  background: #624223;
  color: #FFF;
  font-size: 2.6rem;
  text-align: center;
  padding: 18px;
  border-radius: 8px 8px 0 0;
}

.result_answer {
  width: 85%;
  margin: 35px auto;
  font-size: 1.8rem;
}

.result_answer p {
  text-align: left;
  line-height: 1.5;
}

input[type="radio"] {
    display: none; /* ラジオボタン自体は非表示にする */
}

.answer_btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

button.answer_btn:disabled:hover {
  top: 0;
}

.ok_result, .ng_result, .safe_result {
  display: none;
}

@media screen and (max-width: 768px) {

  .head_cont img {
    max-width: 100px;
  }

  .mv_cont {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url("/assets/img/mv_bg_sp.png") no-repeat;
    background-size: cover;
    background-position: center;
  }

  .mv_tit {
    width: 80%;
  }

  .mv_tit p {
    font-size: 2.6rem;
  }

  .cont_block {
    width: 90%;
    border: 5px solid;
    padding: 20px;
    margin-bottom: 40px;
  }

  h2 {
    margin-top: 20px;
  }

  h2 p {
    font-size: 1.7rem;
  }

  .present_txt,
  .sch_txt,
  .coution_txt {
    width: 100%;
    margin-top: 60px;
  }

  .present_txt_box {
    width: 100%;
  }

  .present_txt_box p {
    font-size: 2rem;
  }

  .present_txt_box span {
    font-size: 1.4rem;
  }

  .present_txt img {
    max-width: 100%;
    display: block;
    margin: 20px auto;
  }

  .sch_txt p {
    font-size: 2rem;
    line-height: 1.8;
  }

  .quiz_head {
    margin-top: 60px;
    margin-bottom: 30px;
    font-size: 2rem;
  }

  .quiz_number {
    font-size: 2rem;
    padding: 12px;
  }

  .quiz_txt {
    font-size: 1.6rem;
    padding: 10px;
    margin: 20px auto;
    word-break: auto-phrase;
    line-height: 1.5;
  }

  .yes_btn_wrap,
  .no_btn_wrap {
    width: 45%;
    margin: 0 2%;
  }

  .answer_box {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .answer_btn p {
    font-size: 1.6rem;
  }

  .answer_btn p::after {
    width: 20px;
    height: 20px;
  }

  .answer_btn {
    height: 60px;
    border: 3px solid #624223;
    border-radius: 30px;
  }

  .answer_btn_wrap::before {
    height: 60px;
    border: 3px solid #624223;
    background: #624223;
    border-radius: 30px;
  }

  .popup-content {
    padding: 15px;
    border: 5px solid #FFC55D;
    width: 90%;
  }

  .result {
    width: 60%;
  }

  .result_ok_txt {
    font-size: 2rem;
  }

  .result_copy {
    width: 24rem;
  }

  .result_copy::before,
  .result_copy::after {
    display: none;
  }

  .result_copy_wrap {
    width: 24rem;
  }

  .result_copy p {
    font-size: 3rem;
  }

  .result_copy_wrap::before {
    height: 10px;
  }

  .result_sub_txt {
    font-size: 1.4rem;
    word-break: auto-phrase;
    margin-bottom: 30px;
  }

  .form_btn p,
  .revenge_btn p {
    font-size: 1.6rem;
  }

  .form_btn p::after,
  .revenge_btn p::after {
    width: 20px;
    height: 20px;
  }

  .form_btn,
  .revenge_btn {
    height: 60px;
    border: 3px solid #624223;
    border-radius: 30px;
  }

  .result_answer_txt {
    font-size: 1.8rem;
  }

  .result_answer {
    width: 90%;
  }

  .close_wrap {
    border-radius: 33px;
  }

  .btn_wrap {
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
  }

  .quiz_box {
    margin-top: 50px;
  }

}
