@charset "utf-8";

body{
    background: #7494C0;
    font-family: 'Noto Sans JP', sans-serif;
  }

body.body-scroll{
    overflow: hidden;
}

.pc{
  display: block;
}

.sp
 {
  display: none;
}

@media (max-width: 698px) {

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

}

/* mv */
.mv {
  width: 100%;
  height: 100%;
}

.mv-wrapper {
  padding: 30px 16px;
  max-width: 1000px;
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  background: url(../img/bg.png) no-repeat;
  background-size: 100%;

  overflow: hidden;
  position: relative;
}

.mv-title {
  position: absolute;
  top: 0;
  left: -3%;
  width: 100%;
  max-width: 400px;
}
.mv-title img {
  width: 100%;
}

.sub-title-content {
  width: 100%;
  height: 100%;
  background: url(../img/human.png) no-repeat;
  background-position: 114%;
  background-size: contain;
}

.sub-title-inner {
  padding-top: 70px;
  color: #2cb137;
  font-weight: bold;

  position: relative;
}

.sub-title-text {
  margin-top: 10px;
  line-height: 1.3;
  font-size: 26px;
}


.mv-achievement-list {
  max-width: 300px;
  width: 100%;
  margin-top: 2%;
  margin-left: 2%;
}
.mv-achievement-list li{
  display: flex;
  align-items: center;
  width: 100%;
  text-align: center;
}

.mv-achievement-list li img {
  max-width: 50px;
  width: 100%;
  height: auto;
}

.mv-achievement-listText{
  width: 120px;
}

.mv-achievement-listText_head {
  font-size: 16px;
}

.mv-achievement-listText_foot {
  font-weight: bold;
  font-size: 20px;
}

.mv-achievement-listText span{
  font-size: 16px;
  font-weight: normal;
}


/* ご相談はこちら */
.free-consultation {
  border: 2px solid #000;
  max-width: 500px;
  width: 100%;
  border-radius: 36px;
  position: relative;
  background: #fff;
  position: absolute;
  top: 54%;
  left: 50%;
  transform: translate(-50%, 0%);
  overflow: hidden;
}

.free-consultation-inner {
  padding: 2%;
}
.free-consultation-inner h3 {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #ef8344;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 30px;
  
  position: relative;
}

.free-consultation-inner h3::before{
  position: absolute;
  content: "";
  width: 2px;
  height: 20px;
  background: #ef8344;

  top: 18%;
  left: 31%;
  transform: rotate(-20deg);
}
.free-consultation-inner h3::after{
  position: absolute;
  content: "";
  width: 2px;
  height: 20px;
  background: #ef8344;

  top: 18%;
  right: 19%;
  transform: rotate(20deg);
}

.free-consultation-inner h3 p{
  padding: 1%;
  background: #ef8344;
  color: #fff;
  font-weight: normal;
  font-size: 16px;
}
.free-consultation-question-title {
  margin-top: 8px;
  font-size: 16px;
  font-weight: bold;
}



.mv-link-group {

  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 10px;

  position: fixed;
  right: 0;
  left: 0;
  bottom: 0;
}


.mv-link-group-head {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-link-group-head img {
  width: 30px;
  height: 40px;
}

.mv-link-group-head p {
  color: #c7ba2a;
  font-weight: bold;
}

.mv-link-group-foot {
  display: flex;
  justify-content: center;
  gap: 20px;
}


.mv-link-group a{
  color: #000;
  text-align: center;
  text-decoration: underline;
}


@media (max-width: 698px) {


.mv-wrapper {
  padding: 0px;
  background-size: cover;
}

  .mv-title {
    max-width: 200px;
  }

  .sub-title-inner {
    padding-top: 60px;
  }

  .sub-title-subText {
    font-size: 20px;
  }
  .sub-title-text {
    margin-top: 8px;
    font-size: 16px;
  }

  .sub-title-content {
    background-position: 117%;
    background-size: 70%;
  }

  .mv-achievement {
    position: relative;
  }


  .mv-achievement-list {
    max-width: 300px;
    width: 100%;
   margin-top: 5%;
   margin-left: 4%;
  }
  .mv-achievement-list li{
    display: flex;
    align-items: center;
    justify-content:flex-start;
    width: 100%;
    text-align: center;
   
  }
  
  .mv-achievement-list li img {
    max-width: 40px;
    width: 100%;
    height: auto;
  }
  
  .mv-achievement-listText{
    width: 80px;
  }
  
  .mv-achievement-listText_head {
    font-size: 12px;
  }
  
  .mv-achievement-listText_foot {
    font-weight: bold;
    font-size: 16px;
  }
  
  .mv-achievement-listText span{
    font-size: 12px;
    font-weight: normal;
  }

  /* ご相談はこちら */
.free-consultation {
  width: 90%;
  top: 56%;
}

.free-consultation-inner h3 {
  font-size: 16px;
}
.free-consultation-inner h3::before{
  height: 18px;

  top: 18%;
  left: 27%;
}
.free-consultation-inner h3::after{
  height: 18px;
  top: 18%;
  right: 12%;
}

.free-consultation-inner h3 p{
  font-size: 14px;
}

.free-consultation-question-title {
  font-size: 14px;
}

.mv-link-group-head img {
  width: 20px;
  height: 30px;
}

.mv-link-group-head p {
  font-size: 12px;

}

.mv-link-group a{
  font-size: 12px;
}

}


.question-top{
  position: fixed;
  z-index: 100;
  background: #273246;
  padding: 20px 10px;  
  width: 100%;
  
}

.question-top .question-top-inner {
  width: 100%;
  max-width: 500px;

  margin: 0 auto;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.question-top-stepbar {
  max-width: 300px;
  width: 70%;
  height: 30px;
  background: #212c3f;
  border: 1px solid #212c3f;
  border-radius: 30px;
  overflow: hidden;
}

.question-top-stepbarItem {
  width: 5%;
  height: 100%;
  background: #fff;
  transition: all .3s;
}

.question-top-stepText {
  font-size: 16px;
  color: #fff;
  font-weight: bold;
}

@media (max-width: 698px) {


}



/* 質問 */
.question-form{
  max-width: 600px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 30px 16px;

}

.formItem {
  height: 100vh;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
}

  .balloon_l{
    /* margin: 300px 0 0 0; */
    display:flex;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .faceicon {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    overflow: hidden;
  }
  .faceicon img{
    width: 100%;
    height: auto;
    margin: -20px auto 0;
  }

  @media (max-width: 698px) {
    .faceicon {
      border-radius: 50%;
      max-width: 80px;
      width: 100%;
      height: 80px;
      overflow: hidden;
    }
    .faceicon img{
      margin: -20px auto 0;
    }
  }
  
  .balloon_l .faceicon{
    margin-right:25px;
  }
  .balloon_r .faceicon{
    order:2 !important;
  }
  .says {
    max-width:500px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding: 17px 13px 15px 18px;
    border-radius: 12px;
    background: #a8ffaf;
    box-sizing:border-box;
    margin:0 !important;
    line-height:1.5;
  }
  .says p{
    margin:8px 0 0 !important; 
  }
  .says p:first-child{
    margin-top:0 !important;
  }
  .says:after {
    content: "";
    position: absolute;
    border: 10px solid transparent;
  }
  .balloon_l .says:after {
    left: -26px;
    border-right: 22px solid #a8ffaf;
  }


  /* ラジオボタン */

  .input-wrapper {
    max-width: 600px;
    width: 100%;
    margin: 30px auto 0;
    padding: 2% 4%;
    border-radius: 10px;
    background: #fff;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 2%;
  }

  ._mv.input-wrapper {
    margin: 20px auto 0;
  }

  .input-flex {
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 48%;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  @media (max-width: 698px) {
    .input-flex {
      padding: 4px;
      font-size: 14px;
      gap: 4px;

    }
  }

  .input-flex input[type="radio"] {
    appearance: none;
    border: 3px solid #70d078;
    width: 100%;
    max-width: 20px;
    height: 20px;
    border-radius: 50%;

    position: relative;
  }
  .input-flex input[type="radio"]:checked:after{
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #70d078;
    border-radius: 50%;
  }

  select {
    font-size: 18px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    color: #000000;
    width: 100%;
    border: none;
    outline: none;
    position: relative;
}

@media (max-width: 698px) {
  select {
    font-size: 14px;
  }

}

  

select::after {
  content: '▼'; /* 矢印のテキストまたはアイコンを指定 */
  font-size: 16px;
  color: #555;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none; /* ドロップダウンをクリック可能にするため */
}

.input-flex input[type="text"] {
  font-size: 18px;
  padding: 10px;
  border: none;
  outline: none;
  width: 100%;
}

  /* 送信ボタン */

  .submitBtn {
    width: 90%;
    max-width: 400px;
    height: 60px;
    display: block;
    margin: 100px auto;
    padding: 10px 16px;
    border-radius: 10px;
    background: #66e570;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    box-shadow: -5px -5px 10px 0px rgba(255, 255, 255, 0.5), 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
  }

/* アニメーション */

#js-submit-btn{
  display: none;
}
#js-submit-btn.is-show{
  display: block;
}


.errorMessage {
  font-size: 14px;
  color: #fff;
  margin-top: 10px;
}



/* モーダル */
/* ブラウザバックスタイル */

.modal {
  display: none;
  position: fixed;
  z-index: 150000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  /* background-color: #fefefe; */
  /* margin: 15% auto; */
  padding: 20px;
  /* border: 1px solid #888; */

  width: 80%;
  height: 80%;
  max-width: 600px;
  max-height: 600px;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

}

.modal-content p{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}




.none {
  display: none;
}


.complete {
  position: fixed;
  z-index: 200;
  width: 100%;
  height: 100%;
  background: #72dc57;
}
.complete-wrapper{
  position: absolute;
  background: #72dc57;
  max-width: 437px;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.complete img {
  width: 100%;
}


.complete-nextbtn {
  width: 100%;
  max-width: 300px;
  margin: 0px auto 0;
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 12px;
  font-weight: bold;

  background: #fff;
  border:  2px solid rgb(57, 172, 86);
  border-radius: 8px;
  cursor: pointer;
}

.complete-closeBtn {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  cursor: pointer;
}

.popup {
  position: fixed;
  z-index: 150;
  font-size: 12px;
  bottom: 20px;
  right: 10px;
  border-radius: 16px;
}

.popup._animation {
  animation-name: fade;
  animation-duration: 5s;
  background: #c2c1c1;
  padding: 10px;
}

@keyframes fade{
  0%{
    opacity: 0;
  }
  50%{
    opacity: 1;
  }
  100%{
    opacity: 0;
  }
}
