@tailwind base;
@tailwind components;
@tailwind utilities;

input::placeholder{
  color: #9ca3af;
}

textarea::placeholder {
  color: #9ca3af;
}

html{
  /* ベースフォント */
  font-family: 'Noto Sans JP', sans-serif;
  color: #242424;
  scroll-behavior: smooth;
}

.cta_arrow{
  position: relative;
}

.cta_arrow::before{
  position: absolute;
  content: "";
  background: url(../images/cta_arrow.png) no-repeat left center/contain;
  width: 0.2rem;
  height: 0.2rem;
  left: -0.32rem;
  top: calc(50% - 0.1rem );
}

.cta_arrow::after{
  position: absolute;
  content: "";
  background: url(../images/cta_arrow.png) no-repeat right center/contain;
  width: 0.2rem;
  height: 0.2rem;
  right: -0.32rem;
  top: calc(50% - 0.1rem );
}
.cta_btn_bg{
  position: relative;
}
.cta_btn_bg::before{
  content: "";
  position: absolute;
  height: 1rem;
  width: 100%;
  background: url(../images/cta_btn01_bg.png) no-repeat top center/6rem;
  left: 0;
  top: 0;
}

.small.cta_btn_bg::before{
  content: "";
  position: absolute;
  height: 1rem;
  width: 100%;
  background: url(../images/cta_btn02_bg.png) no-repeat top center/5.2rem;
  left: 0;
  top: 0;
}

.cta_line{
  position: relative;
  width: 6rem;
  margin: 0 auto;
}

/*  
.cta_line::before{
  content: "";
  position: absolute;
  background-color: white;
  width: .5rem;
  height: .02rem;
  top: 0;
  left: 0;
  top: 50%;
  left: 0;
  z-index: 50;
}
*/
.small.cta_line{
  position: relative;
  width: 5.2rem;
  margin: 0 auto;
}

.small.cta_line::before{
  content: "";
  position: absolute;
  background-color: white;
  width: .5rem;
  height: .02rem;
  top: 0;
  left: 0;
  top: 50%;
  left: 0;
  z-index: 50;
}

.cta_shadow{
  position: relative;
}

.cta_shadow::after{
  content: "";
  position: absolute;
  width: 4.48rem;
  height: 1rem;
  box-shadow: 0 0.2rem 0.2rem 0 rgb(0 0 0 / 12%);
  top: 0rem;
  left: 0.24rem;
  z-index: -1;
}

.reason02_bg01{
  background: url(../images/reason02_bg01.png) no-repeat top center/cover;
}

.reason02_head01{
  background: url(../images/reason02_head01.png) no-repeat top center/contain;
}

.reason02_head02{
  background: url(../images/reason02_head02.png) no-repeat top left/2.4rem,url(../images/reason02_bg02.png) no-repeat bottom right/2.8rem;
}

.reason02_head03{
  background: url(../images/reason02_head03.png) no-repeat top left/2.4rem;
}

.cta_bg{
  background: url(../images/cta_bg.png) no-repeat center center/cover;
}

.dot{
  position: relative;
}

.dot::before{
  position: absolute;
  content: "";
  width: 0.08rem;
  height: 0.08rem;
  border-radius: 0.4rem;
  background-color: #c1b2a3;
  left: calc(50% - 0.04rem);
  transform: translate(-50%, -0.08rem);
}

.cta_footer_bg{
  background: url(../images/cta_footer_bg.png) no-repeat center top/cover;
}

.task_box_bg{
  background: url(../images/task_box_bg.png) no-repeat center top/cover;
}

.voice_bg{
  background: url(../images/voice_bg.png) no-repeat center top/cover;
}
.task_boxshadow{
  box-shadow: 0 0.24rem 0.12rem rgba(0, 0, 0,0.08)
}

.voice_shadow{
  box-shadow: 0 0.24rem 0.12rem rgba(0, 0, 0,0.08)
}

.plan_shadow{
  box-shadow: 0 0.12rem 0.2rem rgba(0, 0, 0,0.08)
}

.form_arrow01{
  position: relative;
}

.form_arrow01::after{
  position: absolute;
  content: "";
  border-top: solid 0.12rem #c1b2a3;
  border-right: solid 0.12rem transparent;
  border-left: solid 0.12rem transparent;
  bottom: -0.10rem;
  left: calc(50% - 0.06rem);
}

.form_arrow02{
  position: relative;
}

.form_arrow02::after{
  position: absolute;
  content: "";
  border-top: solid 0.14rem #0f2942;
  border-right: solid 0.14rem transparent;
  border-left: solid 0.14rem transparent;
  bottom: -0.13rem;
  left: calc(50% - 0.06rem);
}

.input_check{
  position: relative;
}

.input_check_anime{
  animation-duration: .4s;
  animation-fill-mode: forwards;
  transform: translate(5.6rem, -0.56rem);
}

.small.input_check_anime{
  animation-duration: .4s;
  animation-fill-mode: forwards;
  transform: translate(1.80rem, -0.56rem)
}




.cta_btn_bg_footer{
  position: relative;
}
.cta_btn_bg_footer::before{
  content: "";
  position: absolute;
  height: 0.65rem;
  width: 100%;
  background: url(../images/footer_btn_bg.png) no-repeat top center/3.57rem;
  left: 0;
  top: 0;
}

.cta_footer_line_center{
  left: calc(50% - 0.56rem);
  top: 50%;
}

.selectbox_check{
  position: relative;
}

.selectbox_check::after{
  position: absolute;
  content: "▼";
  font-size: 0.2rem;
  right: 0.16rem;
  top: 0.2rem;
  z-index: 1;
}

  .footer.cta_btn_arrow{
    position: relative;
  }

  .footer.cta_btn_arrow::after{
    content: "";
    position: absolute;
    background: url(../images/header_btn_arrow.png) no-repeat center right/contain;
    width: 0.16rem;
    height: 0.14rem;
    right: 0.1rem;
    top: 55%;
  }

  .gray_bg01{
    position: absolute;
    background: #f6f6f6;
    width: 0.4rem;
    height: 2.1rem;
    right: 0.2rem;
  }
  .gray_bg02{
    position: absolute;
    background: #f6f6f6;
    width: 0.8rem;
    height: 2.2rem;
    transform: rotate(-58deg);
    left: 3rem;
    top: 4rem;
  }

.js-errow.test{
  border-color: #3cb371;
}
/* .textCheck:valid{
  border: solid 0.01rem #3cb371;  
} */

/* 光らせるためのstyle */
/* .shine{
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  height: 1.3rem;
} */
/* .small.shine{
  height: 1.2rem;
} */
/* 光の疑似要素 */
/* .shine::after{
  content: "";
  animation: shine 3s cubic-bezier(0.25, 0, 0.25, 1) infinite;
  background-color: #fff;
  width: 140%;
  height: 100%;
  transform: skewX(-45deg);
  top: 0;
  left: -160%;
  opacity: 0.5;
  position: absolute;
} */
/* 光の動き */
/* @keyframes shine{
  0% {
    left: -160%;
    opacity: 0;
  }
  70% {
    left: -160%;
    opacity: 0.5;
  }
  71% {
    left: -160%;
    opacity: 1;
  }
  100% {
    left: -20%;
    opacity: 0;
  }
}
  */
@media screen and (min-width:768px){
  .reason02_bg01{
    background: url(../images/reason02_bg01_pc.png) no-repeat top center/cover;
  }

  .reason02_head01{
    background: url(../images/reason02_head01_pc.png) no-repeat right top/10.4rem;
  }

  .reason02_head02{
    background: url(../images/reason02_head02_pc.png) no-repeat top left 2.56rem/2rem,url(../images/reason02_bg02.png) no-repeat bottom right 1.8rem/1.6rem;
  }

  .reason02_head03{
    background: url(../images/reason02_head03_pc.png) no-repeat top left 2.56rem/2rem;
  }
  .cta_btn_bg{
    position: relative;
  }
  .cta_line{
    position: relative;
    width: 5rem;
  }
  /* 
  .cta_line::before{
    content: "";
    position: absolute;
    background-color: white;
    width: .5rem;
    height: .02rem;
    top: 54%;
    left: 0;
    z-index: 50;
  }
   */
  .cta_btn_bg::before{
    height: 0.72rem;
    background: url(../images/cta_btn01_bg_pc.png) no-repeat top center/5rem;
  }
  .cta_btn_bg::after{
    content: "";
    transition: all .4s;
    position: absolute;
    opacity: 0;
    height: 0.72rem;
    width: 100%;
    background: url(../images/cta_btn01_bg_hover.png) no-repeat top center/5rem;
    left: 0;
    top: 0;
  }
  .small.cta_btn_bg{
    position: relative;
  }
  .small.cta_line{
    position: relative;
    width: 5rem;
  }
  /*  
  .small.cta_line::before{
    content: "";
    position: absolute;
    background-color: white;
    width: .5rem;
    height: .02rem;
    top: 50%;
    left: 0;
    z-index: 50;
  }
  */
  .small.cta_btn_bg::before{
    height: 0.72rem;
    background: url(../images/cta_btn01_bg_pc.png) no-repeat top center/5rem;
  }
  .small.cta_btn_bg::after{
    content: "";
    transition: all .4s;
    position: absolute;
    opacity: 0;
    height: 0.72rem;
    width: 100%;
    background: url(../images/cta_btn01_bg_hover.png) no-repeat top center/5rem;
    left: 0;
    top: 0;
  }
  .cta_btn_bg:hover::after{
    opacity: 1;
    }
  .cta_bg{
    background: url(../images/cta_bg_pc.png) no-repeat center center/cover;
  }
  .cta_footer_bg{
  background: url(../images/cta_footer_bg_pc.png) no-repeat center top/cover;
  }
  .voice_bg{
    background: url(../images/voice_bg_pc.png) no-repeat center top/cover;
  }
  .cta_btn_bg_footer::before{
    background: url(../images/footer_btn_bg_pc.png) no-repeat top center/3.57rem;
    height: 0.7rem;
    left: 0;
    top: -0.08rem;
  }
  .cta_btn_bg_footer::after{
    transition: all .4s;
    content: "";
    position: absolute;
    height: 0.7rem;
    width: 100%;
    background: url(../images/footer_btn_bg_hover.png) no-repeat top center/3.57rem;
    left: 0;
    top: -0.08rem;
    opacity: 0;
  }
  .cta_btn_bg_footer:hover::after{
    opacity: 1;
  }
  .cta_footer_line_center{
  left: calc(50% - 0.24rem);
  top: 72%;
  }
  .input_check_anime{
    transform: translate(5.12rem, -0.34rem);
  }

  .small.input_check_anime{
    transform: translate(2rem, -0.32rem);
  }

  .cta_btn_bg_header{
    position: relative;
  }
  .cta_btn_bg_header::before{
    content: "";
    position: absolute;
    height: 0.5rem;
    width: 100%;
    background: url(../images/header_btn_pc.png) no-repeat top center/3.57rem;
    left: 0;
    top: 0;
  }
  .cta_btn_bg_header::after{
    transition: all .4s;
    content: "";
    position: absolute;
    height: 0.5rem;
    width: 100%;
    background: url(../images/header_btn_hover_pc.png) no-repeat top center/3.57rem;
    left: 0;
    top: 0rem;
    opacity: 0;
  }
  .cta_btn_bg_header:hover::after{
    opacity: 1;
  }

  .cta_btn_arrow{
    position: relative;
  }

  .cta_btn_arrow::after{
    content: "";
    position: absolute;
    background: url(../images/header_btn_arrow.png) no-repeat center right/contain;
    width: 0.16rem;
    height: 0.14rem;
    right: 0.12rem;
    top: 50%;
  }
  .footer.cta_btn_arrow{
    position: relative;
  }

  .footer.cta_btn_arrow::after{
    content: "";
    position: absolute;
    background: url(../images/header_btn_arrow.png) no-repeat center right/contain;
    width: 0.16rem;
    height: 0.14rem;
    right: 0.1rem;
    top: 60%;
  }
  .cta_shadow::after{
  content: "";
  position: absolute;
  width: 4.48rem;
  height: 0.72rem;
  box-shadow: 0 0.2rem 0.2rem 0 rgb(0 0 0 / 12%);
  top: 0.06rem;
  left: 0.24rem;
  z-index: -1;
  }
  .selectbox_check::after{
    position: absolute;
    content: "▼";
    font-size: 0.16rem;
    right: 0.12rem;
    top: 0.1rem;
    z-index: 1;
  }
    .gray_bg01{
      display: none;
  }
  .gray_bg02{
    display: none;
  }
  .shine{
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    height: 1rem;
  }
  .small.shine{
    height: .9rem;
  }
}


