@charset "UTF-8";
/* Common
------------------------------------------------------- */
html {
  font-size: 62.5%;
}

body {
  max-width: 768px;
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, sans-serif;
  font-size: 1.8rem;
  line-height: 1.8;
  color: #000;
  margin: 0 auto;
}

h1,
h2 {
  margin: 0;
  padding: 0;
}

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

video {
  max-width: 100%;
  width: 100%;
  height: auto;
  list-style-type: none;
}

ul,
li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.wrapper {
  max-width: 768px;
  width: 100%;
  margin: 0 auto;
}

.block {
  display: none;
}
.block-first {
  display: block;
}

/* Header
------------------------------------------------------- */
.header {
  position: relative;
  margin: 0;
  width: 100%;
}
.header-btn {
  position: absolute;
  bottom: 1%;
  left: 5%;
  width: 90%;
  cursor: pointer;
}

/* Button
------------------------------------------------------- */
.btn {
  width: 80%;
  margin: 0 auto;
  padding: 20px 0;
  cursor: pointer;
}

.btn-block {
  position: relative;
  z-index: 0;
  margin: 0;
}
.btn-block-btn1 {
  position: absolute;
  bottom: 23%;
  left: 7%;
  width: 86%;
}
.btn-block-btn2 {
  position: absolute;
  bottom: 38%;
  left: 7%;
  width: 86%;
}

/* Footer
------------------------------------------------------- */
.footer {
  padding: 0 3%;
  text-align: center;
}
.footer-text {
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 20px 0 0;
}
.footer-link {
  font-size: 1.2rem;
  margin: 20px 0 10px;
}
.footer-link a {
  text-decoration: underline;
  color: #3491bf;
}

@media screen and (min-width: 768px) {
  .footer-text {
    font-size: 1.4rem;
  }
  .footer-link {
    font-size: 1.4rem;
  }
}
/* Question
------------------------------------------------------- */
.question {
  padding: 0;
}
.question-inner {
  position: relative;
}
.question-q {
  width: 100%;
  margin: 0 auto 10px;
}
.question-q>h2 {
  margin: 0 auto;
}
.question-a {
  width: 80%;
  position: absolute;
  left: 10%;
  top: 65%;
}
.question-a ul {
  margin: 0 auto;
}
.question-a li {
  margin: 2vw 0;
}
.question-a input[type=checkbox],
.question-a input[type=radio] {
  display: none;
}
.question-a .question-text {
  width: 100%;
  display: block;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.question-a .question-text img {
  cursor: pointer;
}
.question-a input[type=radio]:checked+.question-text {
  opacity: 0.8;
}
.question-annotation {
  width: 90%;
  margin: 5px auto 0;
}
.question-annotation p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0 0 5px;
}
.question-annotation p:last-of-type {
  margin: 0;
}

#block-q1 .question-a {
  top: 65%;
}

#block-q2 .question-a {
  top: 51%;
}

#block-q3 .question-a {
  top: 52%;
}

@media screen and (min-width: 768px) {
  .question {
    padding: 0;
  }
  .question-a li {
    margin: 15px 0;
  }
  .question-annotation {
    width: 600px;
    margin: 10px auto 0;
  }
  .question-annotation p {
    font-size: 1.4rem;
    line-height: 1.5;
    margin: 0 0 10px;
  }
}
/* Animation
------------------------------------------------------- */
.active-animation {
  position: relative;
}

.active-animation::before {
  display: block;
  content: "";
  position: fixed;
  z-index: 998;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  background-color: #fff;
  -webkit-animation-name: page-switch-base;
  animation-name: page-switch-base;
  -webkit-animation-duration: 2.6s;
  animation-duration: 2.6s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.active-animation::after {
  display: block;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  background-color: #e08c8a;
  -webkit-animation-name: page-switch;
  animation-name: page-switch;
  -webkit-animation-duration: 1.3s;
  animation-duration: 1.3s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

@-webkit-keyframes page-switch-base {
  0% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: right;
    transform-origin: right;
    opacity: 1;
  }
  99% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  100% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    opacity: 0;
  }
}

@keyframes page-switch-base {
  0% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: right;
    transform-origin: right;
    opacity: 1;
  }
  99% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  100% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    opacity: 0;
  }
}
@-webkit-keyframes page-switch {
  0% {
    -webkit-transform-origin: right;
    transform-origin: right;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    background-color: #f6dcdb;
  }
  50% {
    -webkit-transform-origin: right;
    transform-origin: right;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    background-color: #f6dcdb;
  }
  51% {
    -webkit-transform-origin: left;
    transform-origin: left;
  }
  100% {
    -webkit-transform-origin: left;
    transform-origin: left;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
}
@keyframes page-switch {
  0% {
    -webkit-transform-origin: right;
    transform-origin: right;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    background-color: #f6dcdb;
  }
  50% {
    -webkit-transform-origin: right;
    transform-origin: right;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    background-color: #f6dcdb;
  }
  51% {
    -webkit-transform-origin: left;
    transform-origin: left;
  }
  100% {
    -webkit-transform-origin: left;
    transform-origin: left;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
}