@charset "UTF-8";
/* CSS Document */

body{
  background: url(../img/bg.jpg)center repeat;
  /*background-size: cover;*/
  /*スクロールバー非表示（IE・Edge）*/
  -ms-overflow-style: none;
  /*スクロールバー非表示（Firefox）*/
  scrollbar-width: none;
  /* overflow: hidden; */
}

/*コンテンツを縦にセンタリングする:*/
.vertical-center {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /*align-items: center;*/
  height: 100%;
}

/*スクロールバー非表示（Chrome・Safari）*/
.body::-webkit-scrollbar{
  display:none;
}

  body *{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

#contents {
    width: 100vw;
    /*height: 100%;*/
    /*height: 100%;*/
}

#contents *{
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #000;
  list-style: none;
  text-decoration: none;
  /* フェードイン・フェードアウト */
  /* transition: opacity 0.8s ease; */

  /* スライドイン・スライドアウト */
  transition: opacity 1s ease, transform 1s ease;

  /* フェードアップ・フェードダウン */
  /* transition: opacity 0.6s ease, transform 0.6s ease; */
}

img{
  width: 100%;
}

#contents .contents_wrap{
  opacity: 1;
}

#contents .contents_wrap h1{
  margin: 0;
}

@media screen and (min-width:751px) {
  #contents .contents_wrap .sp{
    display: none;
  }
}

@media screen and (max-width:750px) {
  #contents .contents_wrap .pc{
    display: none;
  }
}

#contents .btn{
  text-decoration: none;
  text-align: center;
  background-color: #6049cc;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 3em;
  box-sizing: border-box;
  font-size: 1.823vw;
  padding: 0.8em 1.5em;
  box-shadow: 8px 8px 7px 4px rgba(197, 158, 210, 0.4);
  margin: auto;
  border: none;
}

#contents .btn.btn_arrow{
  position: relative;
}

#contents .btn.btn_arrow::after{
  content:">";
  color: #fff;
  display: block;
  position: absolute;
  left: auto;
  right: 2.18vw;
}

#contents .btn span{
  display: block;
  text-align: center;
  font-weight: 500;
  color: #fff;
}

@media screen and (min-width:1920px) {
  #contents .btn{
    font-size: 35px;
  }

  #contents .btn.btn_arrow::after{
    right: 2.14vw;
  }
}

@media screen and (max-width:750px) {
  body{
    /*overflow: auto;*/
    /*min-height: 100dvh;*/
    min-height: 100%;
  }

  #contents {
    /*height: calc(100dvh - 15vw);*/
    min-height: calc(100vh - 60px);
    max-height: calc(100vh - 60px);
  }

  #contents .btn{
    font-size: 4.67vw;
  }

  #contents .btn.btn_arrow::after{
    right: 7.6vw;
  }
}

/*==== header ====*/
header{
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

header .logo{
  width: 330px;
  padding: 55px 60px;
}

@media screen and (min-width:1920px) {
  header .logo{
    width: 330px;
    padding: 55px 60px;
  }
}

@media screen and (max-width:750px) {
  header .logo{
    width: 62%;
    height: 60px;
    padding: 10px 10px 20px 15px;
    /*padding: 5.33vw 6.27vw;*/
  }
}


  /*==== index ====*/
body#index {
  /*overflow: hidden;*/
  min-height: 100dvh;
}
#contents.index{
  min-height: 100dvh;
}

#contents.index .contents_wrap{
  display: flex!important;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#contents.index .title{
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#contents.index .title h1{
  text-align: center;
  width: 38.18vw;
  max-width: 733px;
}

#contents.index .title a.btn_start{
  display: block;
  position: absolute;
  top: auto;
  bottom: 0;
  left: 50%;
  transform: translate(-50%,100%);
  margin-bottom: -4.95vw;
  width: 21.77vw;
  max-width: 418px;
}


@media screen and (min-width:1920px) {

  #contents.index .title a.btn_start{
    margin-bottom: -95px;
  }
}

@media screen and (max-width:750px) {
  #contents.index .title h1{
    width: 75.2vw;
    max-width: none;
  }

  #contents.index .title a.btn_start{
      margin-bottom: -17.33vw;
      width: 66.67vw;
      max-width: none;
  }
}


/* introsuction & question */
#contents.introduction {
  opacity: 1;
  display: block;
}

#contents.introduction .contents_wrap,
#contents.question .contents_wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100% - 187px);
}

#contents .contents_wrap .contents_box{
  background-color: rgba(255, 255, 255, 0.85);
  width: 70.72vw;
  margin: 0 auto;
  padding: 6.7vw 10.94vw 5.2vw;
  box-sizing: border-box;
  border-radius: 35px;
  position: relative;
}

#contents .contents_wrap .contents_box h2{
  font-size: 1.89vw;
  text-align: center;
  color: #6049cc;
  font-weight: 500;
  margin-bottom: 1em;
}

#contents .contents_wrap .contents_box h3{
  font-size: 2.5vw;
  text-align: center;
  font-weight: 500;
  margin-bottom: 1.8em;
  line-height: 2em;
}

#contents .contents_wrap .contents_box h4{
  font-size: 1.2vw;
  font-weight: 500;
  margin-bottom: 0.5em;
}

#contents .contents_wrap .contents_box p{
  font-size: 1.15vw;
  font-weight: 400;
  width: 78%;
  line-height: 2.28em;
  margin: 0 auto 5em;
}

#contents .contents_wrap .contents_box .btn.btn_arrow{
  width: 21.77vw;
  max-width: 418px;
}

@media screen and (min-width:1920px) {
  #contents .contents_wrap .contents_box{
    width: 1358px;
    padding: 130px 210px 100px;
  }
  
  #contents .contents_wrap .contents_box h2{
    font-size: 36px;
  }
  
  #contents .contents_wrap .contents_box h3{
    font-size: 48px;
  }
  
  #contents .contents_wrap .contents_box p{
    font-size: 22px;
  }
}

@media screen and (max-width:750px) {

  #contents.introduction .contents_wrap,
  #contents.question .contents_wrap{
    min-height: calc(100vh - 60px);
  }
  #contents .contents_wrap .contents_box{
    width: 89.33%;
    min-height: 100%;
    height: 100%;
    padding: 16vw 6vw 14.67vw;
    border-radius: 4.67vw;
  }
  
  #contents .contents_wrap .contents_box h2{
    font-size: 4vw;
  }
  
  #contents .contents_wrap .contents_box h3{
    font-size: 4.8vw;
    margin-bottom: 5vw;
  }
  
  #contents .contents_wrap .contents_box h4{
    font-size: 4vw;
  }
  
  #contents .contents_wrap .contents_box p{
    font-size: 3.2vw;
    width: 76.8vw;
    margin-bottom: 7.33vw;
  }

  #contents .contents_wrap .contents_box .btn.btn_arrow{
    width: 76.8vw;
    max-width: none;
  }
}


/*==== question ====*/

#contents .contents_wrap .contents_box textarea{
  width: 100%;
  border-color: #d5d5d5;
  border-radius: 10px;
  padding: 1em;
  margin-bottom: 2.6vw;
  outline:none;
}

#contents .contents_wrap .contents_box input[type=text]{
  width: 100%;
  border-radius: 10px;
  border: 1px #d5d5d5 solid;
  padding: 1em;
  margin-bottom: 2.6vw;
  outline:none;
}

#contents .contents_wrap .contents_box .checkbox{
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2em;
}

#contents .contents_wrap .contents_box .checkbox label{
  position: relative;
  /*width: 33%;*/
  width: 50%; /* 2列にする */
  margin: 0 0 0.5em 0;
  padding-left: 1em;
  cursor: pointer;
}

#contents .contents_wrap .contents_box .checkbox label span{
  position: relative;
  display: block;
  padding-left: 2em;
}

#contents .contents_wrap .contents_box .checkbox label span:before{
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border: 1px #d5d5d5 solid;
  /* border-radius: 9px; */
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 0;
}

#contents .contents_wrap .contents_box .checkbox label input[type=checkbox]:checked + span:after{
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background-color:#6049cc;
  position: absolute;
  left: 3px;
  top: 3px;
}

#contents .contents_wrap .contents_box .checkbox label input[type=checkbox]{
  opacity: 0;
  height: 0;
  visibility: hidden;
}

#contents .contents_wrap .contents_box .radiobox{
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 3em;
}

#contents .contents_wrap .contents_box .radiobox label{
  position: relative;
  /*width: 33%;*/
  width: 50%;
  margin: 0 0 0.5em 0;
  padding-left: 1em;
  cursor: pointer;
}

#contents .contents_wrap .contents_box .radiobox label span{
  position: relative;
  display: block;
  padding-left: 2em;
}

#contents .contents_wrap .contents_box .radiobox label span:before{
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border: 1px #d5d5d5 solid;
  border-radius: 9px;
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 0;
}

#contents .contents_wrap .contents_box .radiobox label input[type=radio]:checked + span:after{
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 9px;
  background-color:#6049cc;
  position: absolute;
  left: 3px;
  top: 3px;
}

#contents .contents_wrap .contents_box .radiobox label input[type=radio]{
  opacity: 0;
  height: 0;
  visibility: hidden;
}

#contents .contents_wrap .contents_box .progress_bar{
  position: absolute;
  top: 3.13vw;
  left: 3.13vw;
}

#contents .contents_wrap .contents_box .progress_bar .circle {
  position: relative;
  width: 6.77vw;
  height: 6.77vw;
  background: #6049cc;
  border-radius: 50%;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

#contents .contents_wrap .contents_box .progress_bar .circle::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -3.39vw;
  width: 6.77vw;
  height: 6.77vw;
  background: #d5d5d5;
  transform-origin: right 3.39vw;
  z-index: 2;
  /*animation: rotate-circle-left 2s linear forwards;*/
}

#contents .contents_wrap .contents_box .progress_bar .circle::after {
  content: "";
  display: block;
  position: absolute;
  top: 0px;
  left: 3.39vw;
  width: 6.77vw;
  height: 6.77vw;
  background: #d5d5d5;
  transform-origin: left 3.39vw;
  z-index: 3;
  /*animation: rotate-circle-right 2s linear forwards;*/
}

#contents .contents_wrap .contents_box .progress_bar .circle .circle-inner {
  position: absolute;
  top: 0.52vw;
  left: 0.52vw;
  width: 5.73vw;
  height: 5.73vw;
  padding-top: 1.3vw;
  background: #fff;
  border-radius: 50%;
  z-index: 4;
}

#contents .contents_wrap .contents_box .progress_bar .circle .circle-inner .now_num{
  font-size: 2.24vw;
  color: #6049cc;
  font-weight: 800;
  vertical-align: 0.1em;
  display: inline-block;
}

#contents .contents_wrap .contents_box .progress_bar .circle .circle-inner .total_num{
  font-size: 1.25vw;
  color: #727272;
  display: inline-block;
}

#contents .contents_wrap .contents_box #question_select{
  cursor: not-allowed;
  pointer-events: none;
  background-color: #727272;
}

#contents .contents_wrap .contents_box #question_btn{
  cursor: not-allowed;
  pointer-events: none;
  background-color: #727272;
}

#contents .contents_wrap .contents_box #question_btn.active{
  cursor: pointer;
  pointer-events: auto;
  background-color: #6049cc;
}

#contents .contents_wrap .contents_box .btn_before{
  width: 9.43vw;
  min-width: 90px;
  text-decoration: none;
  border: 2px solid #6049cc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.52vw;
  background-color: #fff;
  position: absolute;
  top: auto;
  bottom: 6vw;
  left: 11.98vw;
}

#contents .contents_wrap .contents_box .btn_before::before{
  content: "<";
  color: #6049cc;
}

#contents .contents_wrap .contents_box .btn_before span{
  font-size: 1vw;
  color: #6049cc;
}

/*Q1*/
#contents.question1 .contents_wrap .contents_box .progress_bar .circle::after{
  animation: rotate-circle-right1 2s linear forwards;
}

/*Q2*/
#contents.question2 .contents_wrap .contents_box .progress_bar .circle::after{
  animation: rotate-circle-right2 2s linear forwards;
}

/*Q3*/
#contents.question3 .contents_wrap .contents_box .progress_bar .circle::after{
  animation: rotate-circle-right3 2s linear forwards;
}

/*Q4*/
#contents.question4 .contents_wrap .contents_box .progress_bar .circle::after{
  animation: rotate-circle-right4 2s linear forwards;
}

/*Q5*/
#contents.question5 .contents_wrap .contents_box .progress_bar .circle::after{
  animation: rotate-circle-right5 2s linear forwards;
}

/*Q6*/
#contents.question6 .contents_wrap .contents_box .progress_bar .circle::before{
  animation: rotate-circle-left6 2s linear forwards;
}
#contents.question6 .contents_wrap .contents_box .progress_bar .circle::after{
  background: #6049cc;
}

/*Q7*/
#contents.question7 .contents_wrap .contents_box .progress_bar .circle::before{
  animation: rotate-circle-left7 2s linear forwards;
}
#contents.question7 .contents_wrap .contents_box .progress_bar .circle::after{
  background: #6049cc;
}

/*Q8*/
#contents.question8 .contents_wrap .contents_box .progress_bar .circle::before{
  animation: rotate-circle-left8 2s linear forwards;
}
#contents.question8 .contents_wrap .contents_box .progress_bar .circle::after{
  background: #6049cc;
}

/*Q9*/
#contents.question9 .contents_wrap .contents_box .progress_bar .circle::before{
  animation: rotate-circle-left9 2s linear forwards;
}
#contents.question9 .contents_wrap .contents_box .progress_bar .circle::after{
  background: #6049cc;
}

/*Q10*/
#contents.question10 .contents_wrap .contents_box .progress_bar .circle::before{
  animation: rotate-circle-left10 2s linear forwards;
}
#contents.question10 .contents_wrap .contents_box .progress_bar .circle::after{
  background: #6049cc;
}
  
@keyframes rotate-circle-right {
  0%   {
    transform: rotate(0deg);
    background: #d5d5d5;
  }
  50%  {
    transform: rotate(180deg);
    background: #d5d5d5;
  }
  50.01% {
    transform: rotate(360deg);
    background: #6049cc;
  }
  100% {
    transform: rotate(360deg);
    background: #6049cc;
  }
}

@keyframes rotate-circle-right1 {
  0%   {transform: rotate(0deg);}
  100% {transform: rotate(36deg);}
}

@keyframes rotate-circle-right2 {
  0%   {transform: rotate(36deg);}
  100% {transform: rotate(72deg);}
}

@keyframes rotate-circle-right3 {
  0%   {transform: rotate(72deg);}
  100% {transform: rotate(108deg);}
}

@keyframes rotate-circle-right4 {
  0%   {transform: rotate(108deg);}
  100% {transform: rotate(144deg);}
}

@keyframes rotate-circle-right5 {
  0%   {transform: rotate(144deg);}
  100% {transform: rotate(180deg);}
}
  
@keyframes rotate-circle-left {
  0%   { transform: rotate(0deg); }
  50%  { transform: rotate(0deg); }
  100% { transform: rotate(180deg); }
}

@keyframes rotate-circle-left6 {
  0%   { transform: rotate(0deg); }
  50%  { transform: rotate(0deg); }
  100% { transform: rotate(36deg); }
}

@keyframes rotate-circle-left7 {
  0%   { transform: rotate(36deg); }
  50%  { transform: rotate(36deg); }
  100% { transform: rotate(72deg); }
}

@keyframes rotate-circle-left8 {
  0%   { transform: rotate(72deg); }
  50%  { transform: rotate(72deg); }
  100% { transform: rotate(108deg); }
}

@keyframes rotate-circle-left9 {
  0%   { transform: rotate(108deg); }
  50%  { transform: rotate(108deg); }
  100% { transform: rotate(144deg); }
}

@keyframes rotate-circle-left10 {
  0%   { transform: rotate(144deg); }
  50%  { transform: rotate(144deg); }
  100% { transform: rotate(180deg); }
}


@media screen and (min-width:1920px) {
  #contents .contents_wrap .contents_box textarea{
    border-radius: 10px;
    margin-bottom: 50px;
  }

  #contents .contents_wrap .contents_box .progress_bar{
    position: absolute;
    top: 60px;
    left: 60px;
  }

  #contents .contents_wrap .contents_box .progress_bar .circle {
    width: 130px;
    height: 130px;
  }
  
  #contents .contents_wrap .contents_box .progress_bar .circle::before {
    top: 0;
    left: -65px;
    width: 130px;
    height: 130px;
    transform-origin: right 65px;
  }
  
  #contents .contents_wrap .contents_box .progress_bar .circle::after {
    content: "";
    top: 0px;
    left: 65px;
    width: 130px;
    height: 130px;
    transform-origin: left 65px;
  }
  
  #contents .contents_wrap .contents_box .progress_bar .circle .circle-inner {
    top: 10px;
    left: 10px;
    width: 110px;
    height: 110px;
    padding-top: 25px;
  }

  #contents .contents_wrap .contents_box .progress_bar .circle .circle-inner .now_num{
    font-size: 43px;
  }

  #contents .contents_wrap .contents_box .progress_bar .circle .circle-inner .total_num{
    font-size: 24px;
  }

  #contents .contents_wrap .contents_box .btn_before{
    width: 181px;
    border: 2px solid #6049cc;
    padding: 0.5em;
    bottom: 123px;
    left: 233px;
  }

  #contents .contents_wrap .contents_box .btn_before span{
    font-size: 19px;
    color: #6049cc;
  }
}
  
@media screen and (max-width:750px) {
  #contents.question .contents_wrap .contents_box{
    padding-bottom: 16vw;
  }

  #contents .contents_wrap .contents_box textarea{
    border-radius: 4.67vw;
    margin-bottom: 5.33vw;
  }

  #contents .contents_wrap .contents_box .progress_bar{
    position: absolute;
    top: 6.67vw;
    left: 6.67vw;
  }

  #contents .contents_wrap .contents_box .progress_bar .circle {
    width: 17.33vw;
    height: 17.33vw;
  }
  
  #contents .contents_wrap .contents_box .progress_bar .circle::before {
    top: 0;
    left: -8.67vw;
    width: 17.33vw;
    height: 17.33vw;
    transform-origin: right 8.67vw;
  }
  
  #contents .contents_wrap .contents_box .progress_bar .circle::after {
    content: "";
    top: 0px;
    left: 8.67vw;
    width: 17.33vw;
    height: 17.33vw;
    transform-origin: left 8.67vw;
  }
  
  #contents .contents_wrap .contents_box .progress_bar .circle .circle-inner {
    top: 1.34vw;
    left: 1.34vw;
    width: 14.67vw;
    height: 14.67vw;
    padding-top: 3.33vw;
  }

  #contents .contents_wrap .contents_box .progress_bar .circle .circle-inner .now_num{
    font-size: 5.73vw;
  }

  #contents .contents_wrap .contents_box .progress_bar .circle .circle-inner .total_num{
    font-size: 3.2vw;
  }

  #contents .contents_wrap .contents_box .btn_before{
    width: 26vw;
    border: 0.27vw solid #6049cc;
    padding: 0.2em 0.5em;
    bottom: 4vw;
    left: 50%;
    transform: translateX(-50%);
  }

  #contents .contents_wrap .contents_box .btn_before span{
    font-size: 2.56vw;
    color: #6049cc;
  }
}

/*==== result ====*/
#contents.result .contents_wrap{
  height: calc(100% - 187px);
}
#contents.result .contents_wrap .result_wrap,
#contents.result .contents_wrap .result_wrap ul{
  height: 100%;
}

#contents .contents_wrap .result_wrap{
  text-align: center;
  position: relative;
}

#contents .contents_wrap .result_wrap ul{
  display: flex;
  justify-content: center;
  align-items: center;
}

#contents .contents_wrap .result_wrap ul li{
  opacity: 0.6;
  width: 20%;
}

#contents .contents_wrap .result_wrap ul li.active{
  opacity: 1;
  position: relative;
  margin: 0 5vw;
}

#contents .contents_wrap .result_wrap ul li.active::after{
  content: "";
  /* background: url(../img/best_match.png) top left no-repeat;
  background-size: contain; */
  width: 14.84vw;
  height: 5.68vw;
  position: absolute;
  top: 2vw;
  left: 50%;
  transform: translateX(-100%);
}

#contents .contents_wrap .result_wrap .result_text_wrap{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#contents .contents_wrap .result_wrap .result_text_wrap .result_text{
  background-color: rgba(255, 255, 255, 0.85);
  width: 37.7vw;
  border-radius: 35px;
  padding: 4.17vw 2.34vw;
}

#contents .contents_wrap .result_wrap .result_text_wrap .result_text p{
  font-size: 2vw;
  line-height: 1.875;
  font-weight: 600;
  letter-spacing: -0.05em;
}

#contents .contents_wrap .result_wrap .result_text_wrap .result_text p span{
  font-weight: 600;
  color: #6049cc;
}

@media screen and (min-width:1920px) {

  #contents .contents_wrap .result_wrap ul li{
    width: 410px;
    margin: 0 0;
  }

  #contents .contents_wrap .result_wrap ul li.active{
    opacity: 1;
    position: relative;
  }

  #contents .contents_wrap .result_wrap ul li.active::after{
    content: "";
    width: 285px;
    height: 109px;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-100%);
  }


  #contents .contents_wrap .result_wrap .result_text_wrap .result_text{
    width: 724px;
    border-radius: 35px;
    padding: 80px 40px;
  }

  #contents .contents_wrap .result_wrap .result_text_wrap .result_text p{
    font-size: 38px;
  }

}
    
@media screen and (max-width:750px) {
  #contents.result .contents_wrap{
    height: calc(100% - 10vw);
  }

  #contents .contents_wrap .result_wrap{
    overflow: hidden;
    height: calc(100dvh - 20vw);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #contents .contents_wrap .result_wrap ul{
    width: 120vw;
    min-width: 120vw;
    position: relative;
    left: 50%;
    transform: translateX(-45%);
  }

  #contents .contents_wrap .result_wrap ul li{
    width: 40%;
    margin: 0 0;
  }

  #contents .contents_wrap .result_wrap ul li.active{
    margin: 0 0;
  }

  #contents .contents_wrap .result_wrap ul li.active::after{
    content: "";
    /* background: url(../img/best_match_sp.png) top left no-repeat; */
    /* background-size: contain; */
    width: 36.27vw;
    height: 15.73vw;
    position: absolute;
    top: -15vw;
    left: 50%;
    transform: translateX(-40%);
  }

  #contents .contents_wrap .result_wrap .result_text_wrap .result_text{
    width: 89.33vw;
    border-radius: 4.67vw;
    padding: 8vw 5.33vw;
  }

  #contents .contents_wrap .result_wrap .result_text_wrap .result_text p{
    font-size: 4.8vw;
  }
}

/*==== ai_top ====*/
#contents .contents_wrap .ai_choice_wrap{
  width: 100%;
  height: calc(100dvh - 187px);
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#contents .contents_wrap .ai_choice_wrap .slick-container {
  width: 100%;
  height: 100%;
  display: flex;
      justify-content: center;
      align-items: center;
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper{
  width: 100%;
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-arrow {
  background-color: #333;
  bottom: 0;
  height: 0;
  margin: auto;
  position: absolute;
  top: 0;
  width: 0;
}
#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .prev-arrow {
  width: 84px;
  height: 85px;
  background: url(../img/slider_arrow_l.png)top center no-repeat;
  left: 10%;
  border: none;
  z-index: 1;
}
#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .next-arrow {
  width: 84px;
  height: 85px;
  background: url(../img/slider_arrow_r.png)top center no-repeat;
  left: auto;
  right: 10%;
  border: none;
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide{
  overflow: visible;
  opacity: 0.5;
  transform: none;
  position: relative;
}


#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide.best::after{
  content: "";
  /* background: url(../img/best_match.png) top left no-repeat;
  background-size: contain; */
  width: 14.84vw;
  height: 5.68vw;
  position: absolute;
  top: 2vw;
  left: 50%;
  transform: translateX(-110%);
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide.slick-active{
  opacity: 1;
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents{
  width: 100%;
  position: relative;
  overflow: visible;
  padding: 0 5%;
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text{
  text-align: center;
  width: 19.63vw;
  height: 18.54vw;
  display: none;
  margin: auto;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 35px;
  padding: 2vw;
  border: 2px solid #fff;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide.slick-current .slide_contents .ai_info_wrap .ai_info_text{
  left: 50%;
  transform: translateX(-100%);
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide.slick-active .slide_contents .ai_info_wrap .ai_info_text{
  display: block;
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide.slick-active .slide_contents .ai_info_wrap .ai_info_text{
  opacity: 0;
  transition: 0.3s;
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide.slick-active .slide_contents:hover .ai_info_wrap .ai_info_text{
  opacity: 1;
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .ruby{
  color: #6049cc;
  font-size: 0.94vw;
  font-weight: 600;
  margin-bottom: 0.8em;
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .name{
  font-size: 1.82vw;
  margin-bottom: 0.4em;
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .occupation{
  font-size: 0.78vw;
  display: inline-block;
  border: 1px solid #595959;
  color: #595959;
  margin-bottom: 1em;
  padding: 0.2em 0.8em;
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .start_talk_btn{
  width: 100%;
  color: #fff;
  font-weight: 500;
  font-size: 1.24vw;
  margin-bottom: 0.6em;
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .start_talk_btn::after{
  right: 1.56vw;
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .prof_btn{
  width: 100%;
  color: #6049cc;
  background-color: #fff;
  font-weight: 500;
  font-size: 1.04vw;
  width: 90%;
  border: 1px solid #6049cc;
}

#contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .prof_btn span{
  color: #6049cc;
}

/*モーダル*/
#contents.ai_top .contents_wrap .profile_wrap{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  text-align: center;
  background: rgba(255,255,255,0.85);
  padding: 0;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
  z-index: 999;
}

#contents.ai_top .contents_wrap .profile_wrap.is-active{
  opacity: 1;
  visibility: visible;
}

#contents.ai_top .contents_wrap .profile_wrap .modal-container{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 96%;
  height: 100%;
}

/* モーダルを閉じるボタンの指定 */
#contents.ai_top .contents_wrap .profile_wrap .modal-close{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 3vw;
  right: 3vw;
  width: 4.17vw;
  height: 4.17vw;
  cursor: pointer;
  background: url(../img/modal_close_btn.png)top center no-repeat;
  background-size: contain;
}

/* モーダルのコンテンツ部分の指定 */
#contents.ai_top .contents_wrap .profile_wrap .modal-content{
  text-align: left;
  line-height: 1.8;
  padding: 20px;
}


/*モーダル内*/
/*#contents.ai_top .contents_wrap .profile_wrap .profile-container .profile_box{
  height: 100%;
}*/

#contents.ai_top .contents_wrap .profile_wrap .profile-container .profile_box {
  overflow: auto;
  scroll-snap-type: y mandatory;
  height: 100dvh;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#contents.ai_top .contents_wrap .profile_wrap .profile-container .profile_box::-webkit-scrollbar{
  display:none;
}

#contents.ai_top .contents_wrap .profile_wrap .profile-container .profile{
  scroll-snap-align: start;
  width: 85%;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

/*#contents.ai_top .contents_wrap .profile_wrap .profile-container .profile{
  width: 85%;
  height: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}*/

#contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card{
  display: flex;
  justify-content: center;
  align-items: center;
}

#contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info{
  width: 27.86vw;
}

#contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_photo{
  width: 49.27vw;
}

#contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info p.name{
  font-size: 1.82vw;
}

#contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info p.name span.ruby{
  font-size: 0.94vw;
  display: inline-block;
  vertical-align: text-bottom;
  color: #6049cc;
  font-weight: 600;
}

#contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info dl{
  display: flex;
  justify-content: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  font-size: 1.15vw;
}

#contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info dl dt{
  width: 35%;
}

#contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info dl dd{
  width: 65%;
}

#contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info
.modal_start_talk_btn{
  margin: 5% auto;
  width: 90%;
  padding: 0.5em;
}

/*menuとスクロール*/

#contents.ai_top .contents_wrap .profile_wrap .profile-container .modal_menu{
  position: absolute;
  top: 40dvh;
  left: 1%;
  overflow: visible;
}

#contents.ai_top .contents_wrap .profile_wrap .profile-container .modal_menu ul li{
  font-size: 0.83vw;
  margin-bottom: 1em;
}

#contents.ai_top .contents_wrap .profile_wrap .profile-container .modal_menu ul li.active{ 
  font-size: 1.15vw;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#contents.ai_top .contents_wrap .profile_wrap .profile-container .modal_menu ul li::before{
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid #6049cc;
  background-color: #fff;
  border-radius: 1em;
  margin-right: 10px;
}

#contents.ai_top .contents_wrap .profile_wrap .profile-container .modal_menu ul li.active::before{
  background-color: #6049cc;
}

#contents.ai_top .contents_wrap .profile_wrap .profile-container .modal_menu .scroll_arrow{
  width: 20px;
  margin-top: 10dvh;
}



@media screen and (min-width:1920px) {  
  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text{
    width: 377px;
    height: 356px;
    border-radius: 35px;
    padding: 40px;
  }
  

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .ruby{
    font-size: 18px;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .name{
    font-size: 35px;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .occupation{
    font-size: 15px;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .start_talk_btn{
    font-size: 24px;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .start_talk_btn::after{
    right: 30px;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .prof_btn{
    font-size: 20px;
  }

  /*モーダル内*/
  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile{
    width: 1380px;
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info{
    width: 530px;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_photo{
    width: 946px;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info p.name{
    font-size: 35px;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info p.name span.ruby{
    font-size: 18px;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info dl{
    font-size: 22px;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info dl dt{
    width: 35%;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info dl dd{
    width: 65%;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info
  .modal_start_talk_btn{
    margin: 5% auto;
    width: 90%;
    padding: 0.5em;
    font-size: 35px;
  }

  /*menuとスクロール*/

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .modal_menu{
    position: absolute;
    top: 40dvh;
    left: 1%;
    overflow: visible;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .modal_menu ul li{
    font-size: 16px;
    margin-bottom: 1em;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .modal_menu ul li.active{ 
    font-size: 22px;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .modal_menu .scroll_arrow{
    width: 20px;
    margin-top: 10dvh;
  }

}

@media screen and (max-width:750px) {
  #contents .contents_wrap .ai_choice_wrap{
    width: 100%;
    height: calc(100dvh - 14.2vw);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container {
    /*margin-top: calc(100dvh - 90vw);*/
    height: 100%;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper,
  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-list,
  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-list .slick-track{
    height: 100%;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .prev-arrow {
    width: 9.6vw;
    height: 9.6vw;
    background: url(../img/slider_arrow_l.png)top center no-repeat;
    background-size: contain;
    left: 10%;
    border: none;
    z-index: 99;
  }
  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .next-arrow {
    width: 9.6vw;
    height: 9.6vw;
    background: url(../img/slider_arrow_r.png)top center no-repeat;
    background-size: contain;
    left: auto;
    right: 10%;
    border: none;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide{
    overflow: visible;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide.best::after{
    content: "";
    /* background: url(../img/best_match_sp.png) top left no-repeat;
    background-size: contain; */
    width: 36.27vw;
    height: 15.73vw;
    position: absolute;
    top: auto;
    bottom: 50%;
    left: 50%;
    transform: translateX(-40%);
    margin-bottom: 37vw;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents{
    height: 100%;
    display: flex;
      justify-content: center;
      align-items: center;
      padding: 0;
      margin: 0;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap{
    overflow: visible;
    display: block;
    position: absolute;
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: auto;
    z-index: 99;
    opacity: 0;
    transition: 0.5s;
    transition-delay: 0.5s;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide.slick-current .slide_contents .ai_info_wrap{
    opacity: 1;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text{
    text-align: center;
    width: 100%;
    height: 100%;
    display: none;
    margin: auto;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 4.67vw 4.67vw 0 0;
    padding: 7.33vw 2vw 8vw;
    border: 2px solid #fff;
    position: relative;
    top: auto;
    bottom: 0;
    left: 0;
    transform: translateX(0);
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide.slick-current .slide_contents .ai_info_wrap .ai_info_text{
    display: block;
    opacity: 1;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide.slick-current .slide_contents .ai_info_wrap .ai_info_text{
    left: 0;
    transform: translateX(0);
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .ruby{
    color: #6049cc;
    font-size: 2.4vw;
    font-weight: 600;
    margin-bottom: 0.8em;
    position: absolute;
    top: 10vw;
    left: 50%;
    margin-left: 7vw;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .name{
    font-size: 4.8vw;
    text-align: left;
    width: 60%;
    margin: 0 auto 0.4em;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .occupation{
    font-size: 2.13vw;
    display: inline-block;
    border: 1px solid #595959;
    color: #595959;
    margin-bottom: 1em;
    padding: 0.2em 0.8em;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .start_talk_btn{
    width: 80%;
    font-size: 4.67vw;
    margin-bottom: 0.6em;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .start_talk_btn::after{
    right: 7.73vw;
  }

  #contents .contents_wrap .ai_choice_wrap .slick-container .slick-wrapper .slick-slide .slide_contents .ai_info_wrap .ai_info_text .prof_btn{
    width: 100%;
    color: #6049cc;
    background-color: #fff;
    font-weight: 500;
    font-size: 4.67vw;
    width: 80%;
    border: 1px solid #6049cc;
  }

  /*モーダル*/

  #contents.ai_top .contents_wrap .profile_wrap .modal-container{
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 96%;
    height: 100%;
  }

    /* モーダルを閉じるボタンの指定 */
    #contents.ai_top .contents_wrap .profile_wrap .modal-close{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 3vw;
    right: 3vw;
    width: 4.17vw;
    height: 4.17vw;
    cursor: pointer;
    background: url(../img/modal_close_btn.png)top center no-repeat;
    background-size: contain;
  }

  /* モーダルのコンテンツ部分の指定 */
  #contents.ai_top .contents_wrap .profile_wrap .modal-content{
    text-align: left;
    line-height: 1.8;
    padding: 20px;
  }


  /*モーダル内*/
  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile_box {
    overflow: auto;
    scroll-snap-type: x mandatory;
    height: auto;
    display: flex;
    justify-content:space-between;
    align-items: flex-start;
    width: auto;
    -ms-overflow-style: none;
    scrollbar-width: none; /* Firefox用 */
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile_box::-webkit-scrollbar {
    display: none; /* 標準のスクロールバーを非表示 */
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile{
    width: 100%;
    min-height: 100%;
    height: auto;
    padding: 20% 7.5% 10%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card{
    display: block;
    justify-content: center;
    align-items: center;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info{
    width: 78.67vw;
    margin: auto;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_photo{
    width: 89.33vw;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info p.name{
    font-size: 4.8vw;
    margin-bottom: 2vw;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info p.name span.ruby{
    font-size: 2.4vw;
    display: inline-block;
    vertical-align: text-bottom;
    color: #6049cc;
    font-weight: 600;
    margin-left: 1em;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info dl{
    display: flex;
    flex-wrap: wrap;
    font-size: 3.2vw;
    border-top: 1px solid #eeeeee;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info dl dt{
    width: 25%;
    border-bottom: 1px solid #eeeeee;
    padding: 1em 0;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info dl dd{
    width: 75%;
    border-bottom: 1px solid #eeeeee;
    text-align: right;
    padding: 1em 0
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info .description{
    font-size: 3.2vw;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .profile .profile_card .profile_info
  .modal_start_talk_btn{
    margin: 5% auto;
    width: 90%;
    padding: 0.5em;
  }

  /*menuとスクロール*/

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .modal_menu{
    position: absolute;
    top: 40dvh;
    left: 1%;
    overflow: visible;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .modal_menu ul li{
    font-size: 0.83vw;
    margin-bottom: 1em;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .modal_menu ul li.active{ 
    font-size: 1.15vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .modal_menu ul li::before{
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid #6049cc;
    background-color: #fff;
    border-radius: 1em;
    margin-right: 10px;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .modal_menu ul li.active::before{
    background-color: #6049cc;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .modal_menu .scroll_arrow{
    width: 20px;
    margin-top: 10dvh;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .custom-scrollbar_wrap{
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background-color: #f1f1f1;
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 10%;
  }

  #contents.ai_top .contents_wrap .profile_wrap .profile-container .custom-scrollbar_wrap .custom-scrollbar {
    width: 50px; /* 初期幅（JavaScriptで自動調整） */
    height: 100%;
    background: #bcb2e7;
    border-radius: 4px;
    transition: width 0.2s, transform 0.2s;
  }
}

/*==== talk ====*/
#contents .change{
  position: absolute;
  top:50px;
  left: auto;
  right: 50px;
  font-size: 16px;
  z-index: 100;
} 

#contents.talk .contents_wrap {
  height: 100dvh;
  margin-top: -132px;
}

#contents .contents_wrap .talk_a_wrap,
#contents .contents_wrap .talk_b_wrap{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}

#contents .contents_wrap .talk_b_wrap{
  justify-content: space-between;
}

#contents .contents_wrap .talk_a_wrap .talk_a_img,
#contents .contents_wrap .talk_b_wrap .talk_b_img{
  width: 29.89vw;
  margin-right: 1.56%;
  position: relative;
  overflow: visible;
}
#contents .contents_wrap .talk_a_wrap .off{
  opacity: 0;
  transform: 'translateX(-100%)';
}

#contents .contents_wrap .talk_b_wrap .talk_b_img{
  max-width: 600px;
  margin-right: 0;
}

#contents .contents_wrap .talk_b_wrap .talk_b_img.right{
  text-align: right;
}

#contents .contents_wrap .talk_b_wrap .talk_b_img.left img{
  width: 90%;
  min-width: 287px;
  max-width: 574px;
}

#contents .contents_wrap .talk_b_wrap .talk_b_img.right img{
  width: 100%;
  min-width: 287px;
  max-width: 574px;
  margin-bottom: -3vw;
}

#contents.talk .contents_wrap .name_block{
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
}

#contents.talk .contents_wrap .talk_b_wrap .talk_b_img .name_block{
  position: absolute;
  top: 0;
  left: 50%;
  margin-top: -5vw;
  transform: translateX(-50%);
}

#contents.talk .contents_wrap .name_block .ruby{
  font-size: 0.938vw;
  color: #6049cc;
  font-weight: 600;
}

#contents.talk .contents_wrap .name_block .name{
  font-size: 1.82vw;
  margin-top: 0.3em;
}

#contents.talk .contents_wrap .talk_text{
  width: 53.38%;
  height: 100%;
  margin-top: -132px;
  padding-right: 100px;
  position: relative;
  z-index: 99;
}

#contents.talk .contents_wrap .talk_b_wrap .talk_text{
  padding-right: 0;
}

#contents .contents_wrap .talk_text .fukidashi_block{
  height: calc(100dvh - 200px);
  overflow-x: hidden;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#contents .contents_wrap .talk_text .fukidashi_block::-webkit-scrollbar{
  display:none;
}

#contents .contents_wrap .talk_text .talk_fukidashi{
  width: 100%;
}

#contents .contents_wrap .talk_text .fukidashi_block{
  display: flex;
  flex-direction: column-reverse;
}

#contents .contents_wrap .talk_text .talk_fukidashi.avatar_black{
  text-align: right;
}

#contents .contents_wrap .talk_text .talk_fukidashi.user{
  text-align: right;
}

#contents.talk_a .contents_wrap .talk_text .talk_fukidashi.user p{
  background-color: #6049cc;
  color: #fff;
}

#contents .contents_wrap .talk_text .talk_fukidashi p{
  display: inline-block;
  width: auto;
  max-width: 70%;
  border-radius: 20px;
  background-color: #fff;
  padding: 1em;
  margin-bottom: 2em;
  text-align: left;
}

#contents .contents_wrap .talk_text form{
  position: relative;
}

#contents .contents_wrap .talk_text textarea{
  width: 100%;
  height: 160px;
  border-radius: 20px;
  padding: 1em;
  margin: 0 auto 40px;
  resize: none;
  outline:none;
}

#contents .contents_wrap .talk_text .icon{
  width: 30px;
  display: block;
  position: absolute;
  top: auto;
  left: auto;
  bottom: 55px;
  right: 15px;
}

@media screen and (min-width:1920px) { 

  #contents .contents_wrap .talk_a_wrap{
    width: 1630px;
    margin: auto;
  }

  #contents .contents_wrap .talk_a_wrap .talk_a_img{
    width: 574px;
    margin-right: 5%;
    position: relative;
  }

  #contents .contents_wrap .talk_a_wrap .talk_a_img .name_block{
    position: absolute;
    top: 0;
    left: 0;
  }

  #contents .contents_wrap .talk_a_wrap .talk_a_img .name_block .ruby{
    font-size: 18px;
    color: #6049cc;
    font-weight: 600;
  }

  #contents .contents_wrap .talk_a_wrap .talk_a_img .name_block .name{
    font-size: 35px;
    margin-top: 0.3em;
  }


  #contents .contents_wrap .talk_text .icon{
    width: 47px;
    display: block;
    position: absolute;
    top: auto;
    left: auto;
    bottom: 55px;
    right: 15px;
  }

  #contents .contents_wrap .talk_b_wrap .talk_b_img.right img{
    margin-bottom: -110px;
  }
}

@media screen and (max-width:1200px) {
  #contents .contents_wrap .talk_b_wrap .talk_b_img.right img{
    margin-bottom: -50px;
  }
}


@media screen and (max-width:750px) {
  #contents.talk header{
    backdrop-filter: blur(12px);
  }

  #contents .change{
    position: absolute;
    top:6.67vw;
    left: auto;
    right: 5.33vw;
    font-size: 2.67vw;
  } 

  #contents.talk .contents_wrap {
    height: calc(100dvh - 13.5vw);
    margin-top: 0;
  }

  /* #contents.talk_b .contents_wrap {
      margin-top: -14vw;
  } */
  
  #contents .contents_wrap .talk_a_wrap{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
  }
  
  #contents .contents_wrap .talk_a_wrap .talk_a_img{
    width: 0;
    margin-right: 0;
    position: relative;
  }
  
  #contents.talk .contents_wrap .talk_text{
    width: 96%;
    height: 100%;
    margin-top: 0;
    padding-right: 0;
  }

  #contents.talk .contents_wrap .talk_b_wrap .talk_text {
    width: 100%;
    margin: auto;
  }
  
  #contents .contents_wrap .talk_text .fukidashi_block{
    height: calc(100dvh - 41vw);
    overflow-x: hidden;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  #contents.talk .contents_wrap .talk_b_wrap .talk_text .fukidashi_block{
    width: 96%;
    margin: auto;
  }
  
  #contents .contents_wrap .talk_text .fukidashi_block::-webkit-scrollbar{
    display:none;
  }
  
  #contents .contents_wrap .talk_text .talk_fukidashi{
    width: 100%;
    overflow: visible;
  }

  #contents .contents_wrap .talk_text .talk_fukidashi.fukidashi_left,
  #contents .contents_wrap .talk_text .talk_fukidashi.fukidashi_right{
    position: relative;
  }

  #contents .contents_wrap .talk_text .talk_fukidashi.fukidashi_left::before{
    content: "";
    display: inline-block;
    vertical-align: top;
    width: 8vw;
    height: 8vw;
    transform: translateY(-70%);
  }

  #contents.talk_a_1 .contents_wrap .talk_text .talk_fukidashi.fukidashi_left::before{
    background: url(../img/talk_left_icon01.png)top center no-repeat;
    background-size: contain;
  }

  #contents.talk_a_2 .contents_wrap .talk_text .talk_fukidashi.fukidashi_left::before{
    background: url(../img/talk_left_icon02.png)top center no-repeat;
    background-size: contain;
  }

  #contents.talk_a_3 .contents_wrap .talk_text .talk_fukidashi.fukidashi_left::before{
    background: url(../img/talk_left_icon03.png)top center no-repeat;
    background-size: contain;
  }

  #contents .contents_wrap .talk_text .talk_fukidashi.fukidashi_left::after{
    display: block;
    font-size: 2.4vw;
    position: absolute;
    top: 0;
    left: 0;
    margin: -5vw 0 0 10vw;
  }

  #contents.talk_a_1 .contents_wrap .talk_text .talk_fukidashi.fukidashi_left::after{
    content: "明地 創";
  }
  #contents.talk_a_2 .contents_wrap .talk_text .talk_fukidashi.fukidashi_left::after{
    content: "豊田 愛";
  }
  #contents.talk_a_3 .contents_wrap .talk_text .talk_fukidashi.fukidashi_left::after{
    content: "清水 未来";
  }

  #contents .contents_wrap .talk_b_wrap .talk_text .talk_fukidashi.fukidashi_right::after{
    content: "";
    display: inline-block;
    vertical-align: top;
    width: 8vw;
    height: 8vw;
    background: url(../img/talk_left_icon02.png)top center no-repeat;
    background-size: contain;
    transform: translateY(-70%);
  }

  #contents .contents_wrap  .talk_b_wrap .talk_text .talk_fukidashi.fukidashi_right::before{
    content: "中村 翔太";
    display: block;
    font-size: 2.4vw;
    position: absolute;
    top: 0;
    left: auto;
    right: 10vw;
    margin: -5vw 0 0 10vw;
  }

  #contents .contents_wrap .talk_text .talk_fukidashi.avatar_black{
    text-align: right;
  }

  #contents .contents_wrap .talk_text .talk_fukidashi p{
    display: inline-block;
    width: auto;
    max-width: 70%;
    border-radius: 20px;
    background-color: #fff;
    padding: 1em;
    margin-bottom: 2em;
    text-align: left;
  }

  #contents .contents_wrap .talk_text form{
    position: relative;
    position: absolute;
    top: auto;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
  }

  #contents .contents_wrap .talk_text textarea{
    width: 100%;
    height: 27.07vw;
    border-radius: 4.67vw 4.67vw 0 0;
    margin: 0 auto;
    border: none;
  }

  #contents .contents_wrap .talk_text .icon{
    width: 8.4vw;
    display: block;
    position: absolute;
    top: auto;
    left: auto;
    bottom: 4.27vw;
    right: 5.07vw;
  }
}

.voiceBlock{
  display: none;
  height: 100%;
  justify-content: center;
}

.insightBlock{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.8);
  display: none;
  z-index: 9999;
}

.insightBlock iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.speakBtn {
  position: absolute;
  bottom: 20px;
  right: 80px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10000;
}

.closeModalBtn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10000;
}

#modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.8);
  display: none;
  z-index: 9999;
}

#modalOverlay.show {
  display: block;
  opacity: 1;
  transform: scale(1);
}


#modalOverlay iframe {
  width: 100%;
  height: 100%;
  border: none;
}

#closeModal {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10000;
}

/*==== talk_voice ====*/
#contents.voice header{
  background-color: rgba(255, 255, 255, 0.85);
}

#contents.insight .contents_wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
}

#contents.voice .contents_wrap .voice_bg{
  background-color: rgba(255, 255, 255, 0.85);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}

#contents.voice .contents_wrap .voice_wrap{
  position: relative;
  z-index: 9;
  /* margin-top: -132px; */
}

#contents.voice .contents_wrap .voice_wrap .voice_img{
  width: 27.4vw;
  max-width: 526px;
}

#contents.voice .contents_wrap .voice_wrap .voice_btn_wrap{
  width: 9.64vw;
  max-width: 185px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2.8vw auto 0;
}

#contents.voice .contents_wrap .voice_wrap .voice_btn_wrap a{
  display: block;
  width: 45%;
}

@media screen and (min-width:1920px) {
  #contents.voice .contents_wrap .voice_wrap .voice_btn_wrap{
    margin: 55px auto 0;
  }  
}

@media screen and (max-width:750px) {

    #contents.voice .contents_wrap .voice_wrap .voice_img{
      width: 73.33vw;
      max-width: none;
  }

  #contents.voice .contents_wrap .voice_wrap .voice_btn_wrap{
    width: 32vw;
    max-width: none;
    margin: 5.6vw auto 0;
  }
}

/*==== インサイト画面 ====*/
#contents.insight .contents_wrap {
  height: 100dvh;
  margin-top: -132px;
}

#contents .contents_wrap .insight_a_wrap,
#contents .contents_wrap .insight_b_wrap{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}

#contents .contents_wrap .insight_b_wrap{
  justify-content: space-between;
}

#contents .contents_wrap .insight_a_wrap .insight_a_img,
#contents .contents_wrap .insight_b_wrap .insight_b_img{
  width: 29.89vw;
  margin-right: 1.56%;
  position: relative;
  overflow: visible;
}

#contents .contents_wrap .insight_b_wrap .insight_b_img{
  max-width: 600px;
  margin-right: 0;
}

#contents .contents_wrap .insight_b_wrap .insight_b_img.right{
  text-align: right;
}

#contents .contents_wrap .insight_b_wrap .insight_b_img.left img{
  width: 90%;
  min-width: 287px;
  max-width: 574px;
}

#contents .contents_wrap .insight_b_wrap .insight_b_img.right img{
  width: 100%;
  min-width: 287px;
  max-width: 574px;
  margin-bottom: -3vw;
}

#contents.insight .contents_wrap .name_block{
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
}

#contents.insight .contents_wrap .insight_b_wrap .insight_b_img .name_block{
  position: absolute;
  top: 0;
  left: 50%;
  margin-top: -5vw;
  transform: translateX(-50%);
}

#contents.insight .contents_wrap .name_block .ruby{
  font-size: 0.938vw;
  color: #6049cc;
  font-weight: 600;
}

#contents.insight .contents_wrap .name_block .name{
  font-size: 1.82vw;
  margin-top: 0.3em;
}

#contents.insight .contents_wrap .insight{
  width: 60%;
  height: 100%;
  margin-top: -132px;
  padding-right: 50px;
  position: relative;
  z-index: 99;
}

#contents.insight .contents_wrap .insight_b_wrap .insight{
  padding-right: 0;
}


#contents .contents_wrap .insight .humantype_block{
  display: inline-block;
  width: 100%;
  border-radius: 20px;
  background-color: #fff;
  padding: 1em;
  margin-bottom: 2em;
  text-align: left;
  height: 44%;
  margin-top: 10%;
  /* height: calc(100dvh - 200px);
  overflow-x: hidden;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none; */
}

#contents .contents_wrap .insight .insight_block{
  display: inline-block;
  width: 100%;
  border-radius: 20px;
  background-color: #fff;
  padding: 1em;
  margin-bottom: 10%;
  text-align: left;
  height: 43%;
  /* height: calc(100dvh - 200px);
  overflow-x: hidden;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none; */
}

#contents.insight .contents_wrap .graph{
  width: 60%;
  height: 100%;
  margin-top: -132px;
  position: relative;
  z-index: 99;
}

#contents .contents_wrap .graph .graph_block{
  display: inline-block;
  width: 100%;
  border-radius: 20px;
  background-color: #fff;
  padding: 1em;
  /* margin-bottom: 2em; */
  text-align: left;
  height: 90%;
  margin-bottom: 10%;
  margin-top: 10%;
}

#contents .contents_wrap .insight_text .fukidashi_block{
  height: calc(100dvh - 200px);
  overflow-x: hidden;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#contents .contents_wrap .insight_text .fukidashi_block::-webkit-scrollbar{
  display:none;
}

#contents .contents_wrap .insight_text .insight_fukidashi{
  width: 100%;
}

#contents .contents_wrap .insight_text .fukidashi_block{
  display: flex;
  flex-direction: column-reverse;
}

#contents .contents_wrap .insight_text .insight_fukidashi.avatar_black{
  text-align: right;
}

#contents .contents_wrap .insight_text .insight_fukidashi.user{
  text-align: right;
}

#contents.insight_a .contents_wrap .insight_text .insight_fukidashi.user p{
  background-color: #6049cc;
  color: #fff;
}

#contents .contents_wrap .insight_text .insight_fukidashi p{
  display: inline-block;
  width: auto;
  max-width: 70%;
  border-radius: 20px;
  background-color: #fff;
  padding: 1em;
  margin-bottom: 2em;
  text-align: left;
}

#contents .contents_wrap .insight_text form{
  position: relative;
}

#contents .contents_wrap .insight_text textarea{
  width: 100%;
  height: 160px;
  border-radius: 20px;
  padding: 1em;
  margin: 0 auto 40px;
  resize: none;
  outline:none;
}

#contents .contents_wrap .insight_text .icon{
  width: 30px;
  display: block;
  position: absolute;
  top: auto;
  left: auto;
  bottom: 55px;
  right: 15px;
}

@media screen and (min-width:1920px) { 

  #contents .contents_wrap .insight_a_wrap{
    width: 1630px;
    margin: auto;
  }

  #contents .contents_wrap .insight_a_wrap .insight_a_img{
    width: 574px;
    margin-right: 5%;
    position: relative;
  }

  #contents .contents_wrap .insight_a_wrap .insight_a_img .name_block{
    position: absolute;
    top: 0;
    left: 0;
  }

  #contents .contents_wrap .insight_a_wrap .insight_a_img .name_block .ruby{
    font-size: 18px;
    color: #6049cc;
    font-weight: 600;
  }

  #contents .contents_wrap .insight_a_wrap .insight_a_img .name_block .name{
    font-size: 35px;
    margin-top: 0.3em;
  }


  #contents .contents_wrap .insight_text .icon{
    width: 47px;
    display: block;
    position: absolute;
    top: auto;
    left: auto;
    bottom: 55px;
    right: 15px;
  }

  #contents .contents_wrap .insight_b_wrap .insight_b_img.right img{
    margin-bottom: -110px;
  }
}

@media screen and (max-width:1200px) {
  #contents .contents_wrap .insight_b_wrap .insight_b_img.right img{
    margin-bottom: -50px;
  }
}


@media screen and (max-width:750px) {
  #contents.insight header{
    backdrop-filter: blur(12px);
  }

  #contents .change{
    position: absolute;
    top:6.67vw;
    left: auto;
    right: 5.33vw;
    font-size: 2.67vw;
  } 

  #contents.insight .contents_wrap {
    height: calc(100dvh - 13.5vw);
    margin-top: 0;
  }

  /* #contents.insight_b .contents_wrap {
      margin-top: -14vw;
  } */
  
  #contents .contents_wrap .insight_a_wrap{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
  }
  
  #contents .contents_wrap .insight_a_wrap .insight_a_img{
    width: 0;
    margin-right: 0;
    position: relative;
  }
  
  #contents.insight .contents_wrap .insight_text{
    width: 96%;
    height: 100%;
    margin-top: 0;
    padding-right: 0;
  }

  #contents.insight .contents_wrap .insight_b_wrap .insight_text {
    width: 100%;
    margin: auto;
  }
  
  #contents .contents_wrap .insight_text .fukidashi_block{
    height: calc(100dvh - 41vw);
    overflow-x: hidden;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  #contents.insight .contents_wrap .insight_b_wrap .insight_text .fukidashi_block{
    width: 96%;
    margin: auto;
  }
  
  #contents .contents_wrap .insight_text .fukidashi_block::-webkit-scrollbar{
    display:none;
  }
  
  #contents .contents_wrap .insight_text .insight_fukidashi{
    width: 100%;
    overflow: visible;
  }

  #contents .contents_wrap .insight_text .insight_fukidashi.fukidashi_left,
  #contents .contents_wrap .insight_text .insight_fukidashi.fukidashi_right{
    position: relative;
  }

  #contents .contents_wrap .insight_text .insight_fukidashi.fukidashi_left::before{
    content: "";
    display: inline-block;
    vertical-align: top;
    width: 8vw;
    height: 8vw;
    transform: translateY(-70%);
  }

  #contents.insight_a_1 .contents_wrap .insight_text .insight_fukidashi.fukidashi_left::before{
    background: url(../img/insight_left_icon01.png)top center no-repeat;
    background-size: contain;
  }

  #contents.insight_a_2 .contents_wrap .insight_text .insight_fukidashi.fukidashi_left::before{
    background: url(../img/insight_left_icon02.png)top center no-repeat;
    background-size: contain;
  }

  #contents.insight_a_3 .contents_wrap .insight_text .insight_fukidashi.fukidashi_left::before{
    background: url(../img/insight_left_icon03.png)top center no-repeat;
    background-size: contain;
  }

  #contents .contents_wrap .insight_text .insight_fukidashi.fukidashi_left::after{
    display: block;
    font-size: 2.4vw;
    position: absolute;
    top: 0;
    left: 0;
    margin: -5vw 0 0 10vw;
  }

  #contents.insight_a_1 .contents_wrap .insight_text .insight_fukidashi.fukidashi_left::after{
    content: "明地 創";
  }
  #contents.insight_a_2 .contents_wrap .insight_text .insight_fukidashi.fukidashi_left::after{
    content: "豊田 愛";
  }
  #contents.insight_a_3 .contents_wrap .insight_text .insight_fukidashi.fukidashi_left::after{
    content: "清水 未来";
  }

  #contents .contents_wrap .insight_b_wrap .insight_text .insight_fukidashi.fukidashi_right::after{
    content: "";
    display: inline-block;
    vertical-align: top;
    width: 8vw;
    height: 8vw;
    background: url(../img/insight_left_icon02.png)top center no-repeat;
    background-size: contain;
    transform: translateY(-70%);
  }

  #contents .contents_wrap  .insight_b_wrap .insight_text .insight_fukidashi.fukidashi_right::before{
    content: "中村 翔太";
    display: block;
    font-size: 2.4vw;
    position: absolute;
    top: 0;
    left: auto;
    right: 10vw;
    margin: -5vw 0 0 10vw;
  }

  #contents .contents_wrap .insight_text .insight_fukidashi.avatar_black{
    text-align: right;
  }

  #contents .contents_wrap .insight_text .insight_fukidashi p{
    display: inline-block;
    width: auto;
    max-width: 70%;
    border-radius: 20px;
    background-color: #fff;
    padding: 1em;
    margin-bottom: 2em;
    text-align: left;
  }

  #contents .contents_wrap .insight_text form{
    position: relative;
    position: absolute;
    top: auto;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
  }

  #contents .contents_wrap .insight_text textarea{
    width: 100%;
    height: 27.07vw;
    border-radius: 4.67vw 4.67vw 0 0;
    margin: 0 auto;
    border: none;
  }

  #contents .contents_wrap .insight_text .icon{
    width: 8.4vw;
    display: block;
    position: absolute;
    top: auto;
    left: auto;
    bottom: 4.27vw;
    right: 5.07vw;
  }
}

