/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

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

button,
input,
textarea {
  font: inherit;
  border: none;
  outline: none;
}

html {
  box-sizing: border-box;
}

h1 {
  font-family: "Kaisei Opti", serif;
  font-weight: 400;
  font-style: normal;
  color: #e57373;
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.2;
}

/*common*/

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f8f0fd;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 calc(30 / 375 * 100vw);
}

.contents_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: calc(20 / 375 * 100vw) 0;
}

.common_button {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: calc(15 / 375 * 100vw);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(172, 245, 255), rgba(189, 115, 229));
  width: calc(250 / 375 * 100vw);
  margin-bottom: 3%;
}

p {
  font-size: 14px;
}

/*TOP*/
.mv_wrap {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  height: 85vh;
  text-align: center;
}

.mv_wrap img {
  width: calc(150 / 375 * 100vw);
}

#top_midashi {
  width: calc(300 / 375 * 100vw);
  position: absolute;
  top: calc(200 / 375 * 100vw);
  left: calc(38 / 375 * 100vw);
}

/* #dokukare {
  width: calc(70 / 375 * 100vw);
  position: absolute;
  top: calc(318 / 375 * 100vw);
  left: calc(155 / 375 * 100vw);
} */

#dokukare {
  width: calc(82 / 375 * 100vw);
  position: absolute;
  top: calc(293 / 375 * 100vw);
  left: calc(149 / 375 * 100vw);
  z-index: -1;
}

.woman_3 {
  position: absolute;
  top: calc(24 / 375 * 100vw);
  left: calc(39 / 375 * 100vw);
}

.woman_2 {
  position: absolute;
  top: calc(0 / 375 * 100vw);
  right: calc(30 / 375 * 100vw);
}

.woman_5 {
  position: absolute;
  top: calc(326 / 375 * 100vw);
  left: calc(-18 / 375 * 100vw);
}

.woman_4 {
  position: absolute;
  top: calc(381 / 375 * 100vw);
  left: calc(114 / 375 * 100vw);
}

.woman_1 {
  position: absolute;
  top: calc(340 / 375 * 100vw);
  right: calc(-18 / 375 * 100vw);
}

.top_button_area {
  text-align: center;
}

.common_button.top {
  position: relative;
}

.common_button.top img {
  width: calc(65 / 375 * 100vw);
  position: absolute;
  top: -12px;
  left: -26px;
  transform: rotate(-20deg);
}

/*question*/
#question_midashi {
  width: calc(220 / 375 * 100vw);
}

.question_icon {
  width: calc(80 / 375 * 100vw);
  margin-bottom: calc(40 / 375 * 100vw);
}

.question {
  font-size: 24px;
  margin-bottom: calc(20 / 375 * 100vw);
}

.contents_wrap.question {
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.circle-button {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background-color: #e57373;
  color: white;
  border: none;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.answer_area {
  display: flex;
  align-items: center;
  flex-direction: column;
}

/*result*/
.result_head {
  background-color: #fff;
  padding: 4%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10%;
  border-radius: 15px;
  border: 2px solid #e57373;
}

.inview.is-show {
  opacity: 1;
  transition: opacity 0.5s ease-in;
}
.inview {
  opacity: 0;
}

.inview.fadein_up {
  opacity: 0;
  transform: translateY(80%);
  transition: transform 0.5s ease-in, opacity 0.5s ease-in;
}

.inview.fadein_up.is-show {
  transform: translateY(0);
  opacity: 1;
}

.head_wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  align-items: center;
}

.head_wrap_left {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.result_text {
  font-family: "Kaisei Opti", serif;
  font-size: 16px;
  line-height: 1.6;
}

.result_img {
  width: 50%;
  object-fit: contain;
}

.result_text.head {
  font-size: 14px;
  color: #9788df;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
}

.result_text.head::before {
  content: "";
  width: 30px;
  height: 1px;
  transform: rotate(60deg);
  box-sizing: border-box;
  background-color: #9788df;
}

.result_text.head::after {
  content: "";
  width: 30px;
  height: 1px;
  transform: rotate(-60deg);
  box-sizing: border-box;
  background-color: #9788df;
}

.tag {
  margin: 20px 0;
}

.tag p {
  color: #9788df;
  font-size: 12px;
}

.tag p.share {
  font-size: 14px;
  text-decoration: underline;
  text-align: center;
}

.poyooon {
  animation: poyooon 1.1s infinite alternate forwards;
}
@keyframes poyooon {
  0% {
    transform: scale(1, 1) translate(0%, 0%);
  }
  10% {
    transform: scale(1.1, 0.9) translate(0%, 5%);
  }
  40% {
    transform: scale(1.2, 0.8) translate(0%, 15%);
  }
  50% {
    transform: scale(1, 1) translate(0%, 0%);
  }
  60% {
    transform: scale(0.9, 1.2) translate(0%, -100%);
  }
  75% {
    transform: scale(0.9, 1.2) translate(0%, -20%);
  }
  85% {
    transform: scale(1.2, 0.8) translate(0%, 15%);
  }
  100% {
    transform: scale(1, 1) translate(0%, 0%);
  }
}

#pre_cta_text {
  font-size: 12.3px;
  margin-bottom: 10px;
}

.frame {
  font-size: 22px;
  /* padding: 0px; */
  position: relative;
  /* box-shadow: 0 0 1px 3px rgba(var(--primary-color), 0.6); */
  /* border-radius: 2em 7em 5em 7em / 10em 3em 1em 1em; */
  /* border: solid 1px #9788df; */
  color: #fff;
  background: #9788df;
  font-family: "Kaisei Opti", serif;
  text-align: center;
  margin: calc(20 / 375 * 100vw) 0 0 0;
  width: 100%;
  /* border-bottom: 2px solid; */
}

.frame::before {
  height: 10px;
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
}

.frame::before {
  top: -7px;
  background: linear-gradient(45deg, #9788df 5px, transparent 0),
    linear-gradient(315deg, #9788df 5px, transparent 0);
  background-size: 10px 10px;
}

.frame::after {
  height: 10px;
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
}

.frame::after {
  bottom: -7px;
  background: linear-gradient(236deg, #9788df 5px, transparent 0),
    linear-gradient(135deg, #9788df 5px, transparent 0);
  background-size: 10px 10px;
}

.fukidashi_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: calc(20 / 375 * 100vw) 0;
}

.result_icon {
  width: calc(90 / 375 * 100vw);
  height: calc(90 / 375 * 100vw);
}

.buruburu {
  display: inline-block;
  animation: hurueru 0.2s infinite;
}

@keyframes hurueru {
  0% {
    transform: translate(0px, 0px) rotateZ(0deg);
  }
  25% {
    transform: translate(2px, 2px) rotateZ(1deg);
  }
  50% {
    transform: translate(0px, 2px) rotateZ(0deg);
  }
  75% {
    transform: translate(2px, 0px) rotateZ(-1deg);
  }
  100% {
    transform: translate(0px, 0px) rotateZ(0deg);
  }
}

.fuwafuwa {
  animation: fuwafuwa 1s linear infinite;
}
/* fuwafuwa */
@keyframes fuwafuwa {
  0% {
    transform: translateY(0);
  }
  33.33333% {
    transform: translateY(10px);
  }
  66.66667% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
  }
}

.fukidashi {
  font-family: "Yomogi", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  background: #fff;
  padding: 2%;
  border-radius: 10px;
  max-width: calc(200 / 375 * 100vw);
  display: block;
  position: relative;
}

.fukidashi::after {
  content: "";
  display: block;
  position: absolute;
  top: calc(20 / 375 * 100vw);
  right: calc(100% - 1px);
  clip-path: polygon(100% 100%, 100% 0, 0 50%);
  width: calc(15 / 375 * 100vw);
  height: calc(15 / 375 * 100vw);
  background: #fff;
}

h3 {
  margin: calc(20 / 375 * 100vw) 0;
  font-size: 1rem;
  color: #e57373;
  text-align: center;
  line-height: 1.4;
}

.result_photo {
  aspect-ratio: 3/2;
  object-fit: cover;
  margin-bottom: 5%;
}

.result_egao {
  width: calc(76 / 375 * 100vw);
  margin: calc(20 / 375 * 100vw) 0;
}

.share {
  color: #9788df;
  text-decoration: underline;
}

.social-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.share-text {
  margin-right: 10px;
}

.share-buttons {
  display: flex;
  gap: 15px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s;
  font-size: 24px;
}

.share-button:hover {
  transform: scale(1.1);
}

.fa-x-twitter {
  color: #000;
}

.fa-line {
  color: #06c755;
}

.fa-facebook {
  color: #1877f2;
}

.fukidashi_02 {
  position: relative;
  width: fit-content;
  padding: 12px 16px;
  border: 2px solid #e57373;
  border-radius: 10px;
  margin-top: 20px;
}

.fukidashi_02 p {
  color: #e57373;
}

.fukidashi_02::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  background-color: #f8f0fd; /* 背景色と同じ色を指定 */
  rotate: 135deg;
  translate: -50%;
}
.fukidashi_02::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  border: 2px solid;
  border-color: #e57373 #e57373 transparent transparent;
  rotate: 135deg;
  translate: -50%;
}

.article_wrap {
  display: flex;
  flex-direction: column;
  gap: calc(39 / 375 * 100vw);
  margin: calc(40 / 375 * 100vw) 0;
}

.article_box {
  display: flex;
  justify-content: space-between;
  gap: calc(22 / 375 * 100vw);
}

.article_box p {
  max-width: 200px;
  flex: 1;
}

.article_photo_wrap {
  width: 100px;
  height: 75px;
}

.article_photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/************************************* モバイル専用 *******************************************/
.mobile-only {
  display: block;
}
.non-mobile-only {
  display: none;
}

/* Hide device-specific elements by default */
.ios-only,
.android-only {
  display: none;
}

/* Show iOS elements only on iOS devices */
.ios .ios-only {
  display: block;
}

/* Show Android elements only on Android devices */
.android .android-only {
  display: block;
}
/************************************* タブレット *******************************************/
@media (min-width: 768px) {
  /* タブレット以上では非表示 */
  .mobile-only {
    display: none;
  }
  .non-mobile-only {
    display: block;
  }

  /*top*/

  .mv_wrap img {
    width: calc(200 / 768 * 100vw);
  }

  #top_midashi {
    width: calc(300 / 768 * 100vw);
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -65%);
  }

  .woman_3 {
    position: absolute;
    top: calc(24 / 768 * 100vw);
    left: calc(39 / 768 * 100vw);
  }

  .woman_2 {
    position: absolute;
    top: calc(0 / 768 * 100vw);
    right: calc(30 / 768 * 100vw);
  }

  .woman_5 {
    position: absolute;
    top: calc(326 / 768 * 100vw);
    left: calc(-18 / 768 * 100vw);
  }

  .woman_4 {
    position: absolute;
    top: 24%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .woman_1 {
    position: absolute;
    top: calc(340 / 768 * 100vw);
    right: calc(-18 / 768 * 100vw);
  }
}

/*************************************** デスクトップ　***************************************/
@media (min-width: 1024px) {
  .container {
    max-width: calc(768 / 1280 * 100vw);
    margin: 0 auto;
  }

  .contents_wrap {
    margin: calc(40 / 1280 * 100vw) 0;
  }

  /* top　*/
  .mv_wrap {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 85vh;
    text-align: center;
  }

  .mv_wrap img {
    width: calc(200 / 1280 * 100vw);
  }

  #top_midashi {
    width: calc(300 / 1280 * 100vw);
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -65%);
  }

  #dokukare {
    width: calc(90 / 1290 * 100vw);
    position: absolute;
    top: calc(366 / 1290 * 100vw);
    left: calc(501 / 1290 * 100vw);
    z-index: -1;
  }

  .woman_3 {
    position: absolute;
    top: calc(24 / 1280 * 100vw);
    left: calc(39 / 1280 * 100vw);
  }

  .woman_2 {
    position: absolute;
    top: calc(0 / 1280 * 100vw);
    right: calc(30 / 1280 * 100vw);
  }

  .woman_5 {
    position: absolute;
    top: calc(326 / 1280 * 100vw);
    left: calc(-18 / 1280 * 100vw);
  }

  .woman_4 {
    position: absolute;
    top: 24%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .woman_1 {
    position: absolute;
    top: calc(340 / 1280 * 100vw);
    right: calc(-18 / 1280 * 100vw);
  }

  .common_button.top img {
    width: calc(65 / 1280 * 100vw);
    position: absolute;
    top: -12px;
    left: -26px;
    transform: rotate(-20deg);
  }

  /* question　*/

  #question_midashi {
    width: calc(300 / 1920 * 100vw);
  }

  .question_icon {
    width: calc(100 / 1920 * 100vw);
    margin-bottom: calc(40 / 1920 * 100vw);
  }

  .common_button {
    padding: calc(19 / 1280 * 100vw) calc(200 / 1920 * 100vw);
    width: calc(500 / 1280 * 100vw);
  }

  /*result*/

  h1 {
    font-size: 2rem;
  }

  .result_photo {
    width: 400px;
  }

  .result_img {
    max-width: calc(300 / 1280 * 100vw);
  }

  .result_text {
    line-height: 1.6;
  }

  .result_text.head {
    font-size: 16px;
  }

  .frame {
    font-size: 22px;
    padding: 10px;
    margin: calc(80 / 1280 * 100vw) 0 0 0;
    width: 100%;
  }

  .fukidashi_wrap {
    width: 100%;
    margin: calc(20 / 1280 * 100vw) 0 calc(20 / 1280 * 100vw) 0;
    justify-content: space-around;
  }

  .result_icon {
    width: calc(90 / 1280 * 100vw);
    height: calc(90 / 1280 * 100vw);
  }

  .fukidashi {
    max-width: calc(350 / 1280 * 100vw);
    font-size: 12px;
  }

  .fukidashi::after {
    top: calc(20 / 1280 * 100vw);
    right: calc(100% - 1px);
    clip-path: polygon(100% 100%, 100% 0, 0 50%);
    width: calc(15 / 1280 * 100vw);
    height: calc(15 / 1280 * 100vw);
  }

  h3 {
    margin: calc(40 / 1280 * 100vw) 0;
  }

  .result_egao {
    width: calc(76 / 1280 * 100vw);
    margin: calc(20 / 1280 * 100vw) 0;
  }

  .article_wrap {
    gap: calc(39 / 1280 * 100vw);
    margin: calc(40 / 1280 * 100vw) 0;
    width: 100%;
  }

  .article_box {
    gap: calc(22 / 1280 * 100vw);
  }

  .article_box p {
    max-width: 400px;
    flex: 1;
  }

  .article_photo_wrap {
    width: 150px;
    height: 100px;
  }
}
