@charset "UTF-8";
/* ==============================
  base
============================== */
@import url("https://fonts.googleapis.com/css?family=EB+Garamond:400,400i");
@import url("https://fonts.googleapis.com/css?family=Caveat|Satisfy&display=swap");
@-webkit-keyframes svg_line {
  0% {
    stroke-dashoffset: 2500;
    fill-opacity: 0;
  }
  100% {
    stroke-dashoffset: 0;
    fill-opacity: 1;
  }
}
@keyframes svg_line {
  0% {
    stroke-dashoffset: 2500;
    fill-opacity: 0;
  }
  100% {
    stroke-dashoffset: 0;
    fill-opacity: 1;
  }
}

@-webkit-keyframes num_heart {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    background-image: url(../img/question/num_heart.svg);
  }
  50% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    background-image: url(../img/question/num_heart_checked.svg);
  }
}

@keyframes num_heart {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    background-image: url(../img/question/num_heart.svg);
  }
  50% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    background-image: url(../img/question/num_heart_checked.svg);
  }
}

@-webkit-keyframes num_heart_before {
  0% {
    background-image: url(../img/question/num_heart_checked.svg);
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.5, 1.5);
    transform: scale(1.5, 1.5);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes num_heart_before {
  0% {
    background-image: url(../img/question/num_heart_checked.svg);
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.5, 1.5);
    transform: scale(1.5, 1.5);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

html {
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "游ゴシック体", YuGothic, "Yu Gothic Medium", "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 62.5%;
  -webkit-font-feature-settings: "pkna" 1;
  font-feature-settings: "pkna" 1;
  height: 100%;
}

body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "游ゴシック体", YuGothic, "Yu Gothic Medium", "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  -webkit-font-feature-settings: "pkna" 1;
  font-feature-settings: "pkna" 1;
  font-size: 1.4rem;
  line-height: 1.5;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  overflow-x: hidden;
}

.first {
  position: relative;
  background-color: #edeff5;
}

.first::before, .first::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50vh;
  background-repeat: no-repeat;
  background-size: 100% auto;
  opacity: 0.5;
  content: '';
}

.first::before {
  top: 0;
  background-image: url(../img/question/bg01.jpg);
  background-position: top center;
}

@media screen and (min-width: 769px) {
  .first::before {
    background-position: bottom center;
  }
}

.first::after {
  bottom: 0;
  background-image: url(../img/question/bg02.jpg);
  background-position: bottom center;
}

@media screen and (min-width: 769px) {
  .first::after {
    background-position: top center;
  }
}

.header {
  position: relative;
}

.header__content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 10px 5% 0;
}

@media screen and (min-width: 769px) {
  .header__content {
    padding: 20px 0 0;
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    width: 500px;
  }
}

.header--img1 img, .header--img2 img {
  display: block;
  width: 100%;
}

.header--img1 {
  height: auto;
  width: 15%;
}

@media screen and (min-width: 769px) {
  .header--img1 {
    width: 10%;
  }
}

.header--img2 {
  position: relative;
  width: 85%;
}

@media screen and (min-width: 769px) {
  .header--img2 {
    width: 90%;
  }
}

.header--img2 img {
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  height: auto;
  -webkit-filter: drop-shadow(0px 0px 4px #fff) drop-shadow(1px 1px 4px #fff);
  filter: drop-shadow(0px 0px 4px #fff) drop-shadow(1px 1px 4px #fff);
}

.q_section {
  position: relative;
  width: 100%;
  height: 95vh;
  overflow-x: hidden;
  overflow-y: hidden;
}

@media screen and (min-width: 769px) {
  .q_section {
    height: 100vh;
  }
}

.q_section_item {
  position: absolute;
  top: 0;
  left: 50%;
  width: 80vw;
  height: 85%;
  background: #fff;
  opacity: 1;
  -webkit-transition: -webkit-transform 1s;
  transition: -webkit-transform 1s;
  transition: transform 1s;
  transition: transform 1s, -webkit-transform 1s;
  -webkit-box-shadow: 0 3px 10px 0 black;
  box-shadow: 0 3px 10px 0 black;
  border-radius: 5px;
}

@media screen and (min-width: 769px) {
  .q_section_item {
    width: 400px;
    height: 530px;
  }
}

.q_section_item.list_checked {
  opacity: 0;
}

.q_section_item--1 {
  background: #f8f2f9;
}

.q_section_item--2 {
  background: #f2f7ea;
}

.q_section_item--3 {
  background: #ebeff9;
}

.q_section_item--4 {
  background: #f6ece1;
}

.q_section_item--5 {
  background: #fffdf3;
}

.q_section__inner {
  padding: 20px;
}

@media screen and (min-width: 769px) {
  .q_section__inner {
    padding: 30px;
  }
}

.q_section__header {
  margin-bottom: 10px;
}

.list_current {
  -webkit-transform: translate(-50%, 10%) scale(1);
  transform: translate(-50%, 10%) scale(1);
  z-index: 5;
}

.list_sub1 {
  -webkit-transform: translate(42%, 5%) scale(0.75);
  transform: translate(42%, 5%) scale(0.75);
  z-index: 4;
  opacity: 0.7;
}

.list_sub2 {
  -webkit-transform: translate(-17.5%, -22%) scale(0.5);
  transform: translate(-17.5%, -22%) scale(0.5);
  z-index: 2;
  opacity: 0.5;
}

.list_sub3 {
  -webkit-transform: translate(-82.5%, -22%) scale(0.5);
  transform: translate(-82.5%, -22%) scale(0.5);
  z-index: 1;
  opacity: 0.5;
}

.list_sub4 {
  -webkit-transform: translate(-142%, 5%) scale(0.75);
  transform: translate(-142%, 5%) scale(0.75);
  z-index: 3;
  opacity: 0.7;
}

.num_heart {
  position: relative;
}

.num_heart--list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.num_heart--line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0 15px;
}

.num_heart--line svg {
  width: 100%;
}

.num_heart--line path {
  stroke: #ef5a5a;
  fill: none;
  stroke-width: 5;
  fill-opacity: 0;
  stroke-dasharray: 2500;
  stroke-dashoffset: 2500;
  stroke-linejoin: round;
}

@media screen and (min-width: 769px) {
  .num_heart--line path {
    stroke-width: 1;
  }
}

.num_heart--line.svg_on path {
  -webkit-animation: svg_line 4s ease-in-out alternate forwards;
  animation: svg_line 4s ease-in-out alternate forwards;
  -webkit-animation: svg_line 4s ease-in-out 0s forwards;
  animation: svg_line 4s ease-in-out 0s forwards;
}

.num_heart--item {
  position: relative;
  width: 22.5px;
  height: 22.5px;
  padding: 25px 0 15px;
  background-image: url(../img/question/num_heart.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.num_heart--item::before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: auto;
  right: auto;
  width: 100%;
  height: 100%;
  content: "";
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  z-index: -1;
}

.num_heart--item1 {
  margin-top: 0;
}

.num_heart--item1.item_checked {
  -webkit-animation: num_heart 0.5s ease-in-out 0s forwards;
  animation: num_heart 0.5s ease-in-out 0s forwards;
}

.num_heart--item1.item_checked::before {
  -webkit-animation: num_heart_before 1.5s ease-in-out 0s forwards;
  animation: num_heart_before 1.5s ease-in-out 0s forwards;
}

.num_heart--item2 {
  margin-top: 4px;
}

.num_heart--item2.item_checked {
  -webkit-animation: num_heart 0.5s ease-in-out 0.2s forwards;
  animation: num_heart 0.5s ease-in-out 0.2s forwards;
}

.num_heart--item2.item_checked::before {
  -webkit-animation: num_heart_before 1.5s ease-in-out 0.2s forwards;
  animation: num_heart_before 1.5s ease-in-out 0.2s forwards;
}

.num_heart--item3 {
  margin-top: 8px;
}

.num_heart--item3.item_checked {
  -webkit-animation: num_heart 0.5s ease-in-out 0.4s forwards;
  animation: num_heart 0.5s ease-in-out 0.4s forwards;
}

.num_heart--item3.item_checked::before {
  -webkit-animation: num_heart_before 1.5s ease-in-out 0.4s forwards;
  animation: num_heart_before 1.5s ease-in-out 0.4s forwards;
}

.num_heart--item4 {
  margin-top: 3px;
}

.num_heart--item4.item_checked {
  -webkit-animation: num_heart 0.5s ease-in-out 0.6s forwards;
  animation: num_heart 0.5s ease-in-out 0.6s forwards;
}

.num_heart--item4.item_checked::before {
  -webkit-animation: num_heart_before 1.5s ease-in-out 0.6s forwards;
  animation: num_heart_before 1.5s ease-in-out 0.6s forwards;
}

.num_heart--item5 {
  margin-top: 4px;
}

.num_heart--item5.item_checked {
  -webkit-animation: num_heart 0.5s ease-in-out 0.8s forwards;
  animation: num_heart 0.5s ease-in-out 0.8s forwards;
}

.num_heart--item5.item_checked::before {
  -webkit-animation: num_heart_before 1.5s ease-in-out 0.8s forwards;
  animation: num_heart_before 1.5s ease-in-out 0.8s forwards;
}

.num_text {
  text-align: center;
  font-family: 'Caveat', cursive;
  font-size: 2rem;
}

.question_title {
  text-align: left;
  margin-bottom: 20px;
}

.question_title img {
  height: 12px;
}

@media screen and (min-width: 769px) {
  .question_title img {
    height: 15px;
  }
}

.question_title--4 {
  margin-bottom: 10px;
}

.question_list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.question_list--1 .question_item {
  margin-bottom: 10px;
  border-radius: 7px;
  width: 47.5%;
  cursor: pointer;
}

@media screen and (min-width: 769px) {
  .question_list--1 .question_item {
    width: 42.5%;
  }
}

.question_list--2 .question_item {
  margin-bottom: 10px;
  border-radius: 7px;
  width: 47.5%;
  cursor: pointer;
}

@media screen and (min-width: 769px) {
  .question_list--2 .question_item {
    width: 42.5%;
  }
}

.question_list--3 .question_item {
  margin-bottom: 10px;
  border-radius: 7px;
  width: 47.5%;
  cursor: pointer;
}

@media screen and (min-width: 769px) {
  .question_list--3 .question_item {
    width: 42.5%;
  }
}

.question_list--4 .question_item {
  margin-bottom: 10px;
  width: 22.5%;
}

.question_list--5 {
  border-radius: 7px;
  border: 1px solid #555;
  overflow: hidden;
}

.question_list--5 .question_item {
  width: 50%;
  background: #fff;
}

.question_list--5 .question_item:nth-child(2n) {
  border-left: 1px solid #555;
}

.question_list--5 .question_item:nth-child(-n+2) {
  border-bottom: 1px solid #555;
}

.question_item {
  text-align: center;
  overflow: hidden;
  line-height: 1;
}

.question_item img {
  display: block;
  width: 100%;
}

.a_section {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 1500;
  height: 100%;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
  -webkit-transform: translate(0, 100%);
  transform: translate(0, 100%);
  -webkit-transition: 1s;
  transition: 1s;
  background: url(../img/answer/answer_bg.jpg) repeat;
}

.a_section.modal_on {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

.modal__inner {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.modal_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal_overlay.modal_on {
  display: block;
  z-index: 100;
}

.modal__inner {
  padding: 20px;
}

@media screen and (min-width: 769px) {
  .modal__header {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}

.modal__header img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.modal__header--img svg {
  width: 100%;
}

.modal__header--img path {
  stroke: #ef5a5a;
  fill: none;
  stroke-width: 4;
  fill-opacity: 0;
  stroke-dasharray: 2500;
  stroke-dashoffset: 2500;
  stroke-linejoin: round;
}

.modal__header--img.svg_on path {
  -webkit-animation: svg_line 4s ease-in-out alternate forwards;
  animation: svg_line 4s ease-in-out alternate forwards;
  -webkit-animation: svg_line 4s ease-in-out 0s forwards;
  animation: svg_line 4s ease-in-out 0s forwards;
}

@media screen and (min-width: 769px) {
  .modal__header--img_sp {
    display: none;
  }
}

.modal__header--img_pc {
  display: none;
}

@media screen and (min-width: 769px) {
  .modal__header--img_pc {
    display: block;
  }
}

.modal__header--message01 {
  padding-top: 20px;
}

.modal__header--message01 img {
  width: 70%;
  margin-bottom: 20px;
}

@media screen and (min-width: 769px) {
  .modal__header--message01 img {
    width: 30%;
  }
}

.modal__header--message02 > img:nth-child(1) {
  width: 90%;
  margin-bottom: 20px;
}

@media screen and (min-width: 769px) {
  .modal__header--message02 > img:nth-child(1) {
    width: 40%;
  }
}

@media screen and (min-width: 769px) {
  .modal__content {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}

.modal__content img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.modal__content--img {
  margin-bottom: 20px;
}

.modal__content--img img {
  width: 100%;
}

@media screen and (min-width: 769px) {
  .modal__content--img img {
    width: 70%;
  }
}

.modal__content--text img {
  width: 100%;
}

@media screen and (min-width: 769px) {
  .modal__content--text {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
  }
}

.modal__footer {
  padding: 20px 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

@media screen and (min-width: 769px) {
  .modal__footer {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}

.modal__footer .modal_sns {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
}

@media screen and (min-width: 769px) {
  .modal__footer .modal_sns {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
}

.modal__footer .modal_sns a {
  display: block;
}

.modal__footer .modal_sns img {
  display: block;
  width: 100%;
}

.modal__footer .modal_sns--text {
  width: 70px;
}

@media screen and (min-width: 769px) {
  .modal__footer .modal_sns--text {
    width: 100px;
  }
}

.modal__footer .modal_sns--ig {
  width: 30px;
}

.modal__footer .modal_sns--fb {
  width: 30px;
}

.modal__footer .modal_sns--tw {
  width: 30px;
}

.modal__footer .modal_sns--link {
  width: 35%;
  border-radius: 3px;
  border: 1px solid #5c452b;
  padding: 10px;
}

@media screen and (min-width: 769px) {
  .modal__footer .modal_sns--link {
    padding: 20px 50px;
  }
}

.footer {
  background: #000;
  color: #fff;
  padding: 5px 0;
  font-size: 1.2rem;
}
