@charset "utf-8";

body{
    margin: 0;
}

  
.wrapper{
    overflow: hidden;
    position: relative;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

.fv {
    position: relative;
    width: 100.2%;
}



/***************************************************
 * Generated by SVG Artista on 1/24/2025, 4:58:58 PM
 * MIT license (https://opensource.org/licenses/MIT)
 * W. https://svgartista.net
 **************************************************/

 .svg-elem-1 {
    stroke-dashoffset: 3167.045654296875px;
    stroke-dasharray: 3167.045654296875px;
    -webkit-transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0s;
            transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0s;
  }
  
  .active .svg-elem-1 {
    stroke-dashoffset: 0;
  }

  /***************************************************
 * Generated by SVG Artista on 1/27/2025, 9:15:03 PM
 * MIT license (https://opensource.org/licenses/MIT)
 * W. https://svgartista.net
 **************************************************/

.svg-elem-2 {
    stroke-dashoffset: 3080.758056640625px;
    stroke-dasharray: 3080.758056640625px;
    -webkit-transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 1.2s;
            transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 1.2s;
  }
  
.active .svg-elem-2 {
    stroke-dashoffset: 0;
  }

  .svgsp {
    position: absolute;
    text-align: center;
    width: 100%;
    top: 32%;
}
  .svgsp svg {
    width: 93%;
    height: auto;
}


.problem{
    position: relative;
    padding-top: 27%;
}
.problemtext{
    position: absolute;
    top: 0;
    top: 4%;
    left: 6%;
    width: 52%;
}
.btn_box.anime1 {
    position: absolute;
    bottom: 19%;
}
img.ctabutton.cta1 {
    bottom: 19%;
    left: 50%;
    transform: translateX(-50%);
}

.strengths {
    text-align: center;
}
img.strengthstitle {
    width: 50%;
    margin: 15% 0 10%;
}
img.strength {
    width: 89%;
    margin-bottom: 14%;
}

.voices {
    text-align: center;
}
img.voicestitle {
    width: 27%;
    margin: 20% auto 11%;
}
img.voice {
    width: 90%;
    margin-bottom: 5%;
}
img.ctabutton.cta2 {
    position: unset;
    margin: 10% 5% 11%;
}
.btn_box.anime2 {
    margin: 10% auto;
}
img.waribiki {
    width: 90%;
    margin-bottom: 12%;
}

.underline-animation {
    display: inline-block;
}

.marker {
    background:linear-gradient(transparent 80%, #FDC3D1 50%);
    display: inline;
  
    /* 背景の繰り返しを停止 */
    background-repeat: no-repeat;
  
    /* マーカーの横方向を0にして縮める */
    background-size: 0% 100%;
  
    /* マーカーが引かれる速度を指定 */
    transition:background-size 1.5s;
  }
  
  /* マーカーが引かれる際に付与するクラス */
  .marker.on {
    /* 横方向を100%にして、マーカーを引く */
    background-size: 100% 100%;
  }

.ctabutton{
    width: 90%;
    position: absolute;
}

.fade-in {
    opacity: 0; /* 初期状態は透明 */
    transform: translateY(20px); /* 少し下からスタート */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out; /* フェードインのトランジション */
}

.fade-in.visible {
    opacity: 1; /* フェードイン後の不透明度 */
    transform: translateY(0); /* 元の位置に戻る */
}

.price-container{
    position: relative;
    text-align: center;
}
.price-container img.ctabutton {
    bottom: 6.6%;
}
.price-container img.waribiki {
    margin-top: -51%;
}
.btn_box.anime3 {
    position: absolute;
    bottom: 6.5%;
}

.flow{
position: relative;
width: 90%;
aspect-ratio: 39 / 70;
max-width: 520px;
background-image: url(img/flow.webp);
background-size: contain;
margin-top: 11%;
    margin-bottom: 24%;
}
.flow-container{
    position: absolute;
    top: 20.8%;
    right: 0;
    width: 79%;
}
img.flowsub {
    width: 100%;
    max-width: unset;
    margin-bottom: 10%;
}
img.flowsub.flow2 {
    margin-bottom: 11%;
}
img.flowsub.flow3 {
    margin-bottom: 15%;
}
img.flowsub.flow4 {
    margin-bottom: 12%;
}
img.flowsub.flow5 {
    margin-bottom: 0;
}

img.profile {
    z-index: 2;
}

.contact {
    text-align: center;
    background-color: #FBFAF4;
    margin-top: -3%;
}
.contact img.subtitle {
    width: 88%;
    margin-top: 20%;
    margin-bottom: 12%;
}

form{
    font-family: serif;
    font-weight: 500;
    font-size: 1.1rem;
    width: 90%;
    text-align: justify;
    margin: auto;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 37px;
}
input#name {
    background-color: #fff;
    border: solid 1px #ccc;
    border-radius: 4px;
    height: 60px;
}
input#email {
    background-color: #fff;
    border: solid 1px #ccc;
    border-radius: 4px;
    height: 60px;
}
textarea#comment {
    background-color: #fff;
    border: solid 1px #ccc;
    border-radius: 4px;
    height: 60px;
}
input#type {
    width: 20px;
    height: 20px;
    margin-top: 8px;
    margin-right: 5px;
    transform: translateY(3px);
}
.form-pp {
    margin-bottom: 30px;
}
input#checkbox {
    width: 17px;
    height: 17px;
    margin-right: 10px;
}
.form-pp a {
    border-bottom: solid 1px;
    color: #4c4c4c;
}
.form-button {
    text-align: center;
}
button {
    cursor: pointer;
    width: 56%;
}

p.contacttext {
    margin: 14% auto 6%;
    font-family: serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 500;
}
img.ctabutton3 {
    width: 90%;
    margin-bottom: 10%;
}
.btn_box.anime4 {
    margin-bottom: 10%;
}
.contact img.waribiki {
    margin-bottom: 18%;
}

p{
    font-family: 'Yu Gothic', sans-serif;
    color: #4c4c4c;
}

.btn_box{
    transform: translate(0);
    width: 100%;
    margin: 0;
  }

  .btn_box .ctabutton,
  .btn_box .ctabutton3{
    width: 100%;
    margin: unset;
  }
  
  .btn{
    margin: auto;
    border-radius: 25px;
    position: relative;
    width: 90%;
  }
  
  .btn:before,.btn:after{
      position: absolute;
      content:'';
      width: 100%;
      height: 83%;
      border: inherit;
      bottom: 0;
      left: 0;
      z-index: -10;
      background: #EE827C;
      border-radius: inherit;
      animation: uyon 2s linear infinite;
  }
  
  .btn:after {
      animation: uyon 2s linear infinite 1s;
  }
  
  /*アニメーション*/
  .animation{
    animation: 0.2s ease-in-out;
  }
  
  @keyframes uyon{
    0% {
      opacity: 1;
      transform: scaleY(1) scaleX(1);
    }
    20% {
      opacity: 0.8;
    }
    70% {
      opacity: 0.2;
      transform: scaleY(1.3) scaleX(1.1);
    }
    80% {
      opacity: 0;
      transform: scaleY(1.3) scaleX(1.1);
    }
    90% {
      opacity: 0;
      transform: scaleY(1) scaleX(1);
    }
  }

.footer {
    background-color: #EE827C;
    height: 55px;
    padding: 15px;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    color: #fff;
}
.footer p{
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

@media screen and (min-width: 1024px) {
    .footer {
        margin-bottom: 0;
    }

    body {
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 100vh; /* ビューポートの高さいっぱいに表示 */
        background-image: url(img/pcbg.webp);
        background-attachment: fixed;
        background-size: cover;
        background-position: center;      
    }

    .left-side-images {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 50%;
        transform: translate(0%, -50%); /* 中央揃え */
        gap: 20px; /* 画像間の間隔 */
        width: calc(92% - 520px);
        padding: 0 3%;
    }

    .left-side-images img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: auto;
        margin-top: -10%;
    }
    .btn_box.anime0 {
        position: absolute;
        bottom: 22%;
        left: 50%;
        transform: translateX(-50%);
        width: 50%;
        max-width: 400px;
    }
    a.pcbutton {
        max-width: 380px;
    }
    .svgpc {
        position: absolute;
        width: 100%;
        bottom: -24vh;
    }
    .svgpc svg {
        width: 100%;
        height: auto;
    }
.wrapper{
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.3);
max-width: 520px;
        margin: auto;
        margin-right: 8%;
        background: #fff;
    }

/* PC用の固定全画面背景 */
    /* body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        background-image:url(img/pcbg.webp);
        background-size: cover;
        background-position: bottom;
    } */
}


@media screen and (max-width: 1023px) {
    .ctatext{
        font-size: 3.8rem;
    }
        .image-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        max-width: 640px;
        margin: auto;
    }
    .image-container img {
        box-shadow: none;
    }
    .left-side-images,.right-side-images {
        display: none;
}
    .sub-header {
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin: auto;
    }

    }
@media screen and (max-width: 500px) {
    .ctatext {
        font-size: 11vw;
    }
}
@media screen and (max-width: 370px) {
    .ctawrapper {
        height: auto;
        margin-top: -6%;
    }
}