/*--------------------*/
/* base
/*--------------------*/

li {
    list-style-type: none;
}

img {
    width: 100%;
}

a {
    text-decoration: none;
    color: #000;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", "メイリオ", "Meiryo", "ＭＳ ゴシック", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN",
        sans-serif;
    background-color: #e7effb;
}

@font-face {
    /* ① ここにfont-familyで指定したい名前を書く*/
    font-family: "manrope";
    /* フォントが置かれているパスを書く */
    src: url("/assets/font/Harenosora.otf") format("truetype");
}

/* 基本設定
/*--------------------*/

html {
    font-size: 62.5%;
}

.sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .sp {
        display: block;
    } 
}

/* fv
/*--------------------*/

.fv {
    position: relative;
}

.fv__content {
    position: absolute;
    bottom: 18rem;
    left: 3.4vw;
}

@media screen and (max-width: 768px) {
    .fv__content {
        position: absolute;
        bottom: 4rem;
        left: 1.5rem;
    }

    .fv__img img {
        height: 43rem;
        object-fit: cover;
        object-position: 60% 30%;
        display: none;
    }
}

.fv__sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .fv__sp {
        display: block;
        object-fit: cover;
    }
    
}

.fv__text {
    font-size: 2.5vw;
}

@media screen and (max-width: 768px) {
    .fv__text {
        font-size: 4.2vw;
        color: #fff;
    }
}

.fv__title {
    font-size: 3.6vw;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background-color: #fff;
}

@media screen and (max-width: 768px) {
    .fv__title {
        font-size: 5.3vw;
        margin-top: 1rem;
        padding: 0.7rem 1rem;
    }
}

.fv__title span {
    color: #0578c3;
    background: -webkit-linear-gradient(0deg, #0578c3, #65c8ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fv__title2 {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background-color: #fff;
    max-width: 42.5vw;
    width: 100%;
    font-size: 3.6vw;
}

@media screen and (max-width: 768px) {
    .fv__title2 {
        font-size: 5.3vw;
        margin-top: 1rem;
        padding: 0.7rem 1rem;
    }
}

.fv__title2 span {
    color: #0578c3;
    background: -webkit-linear-gradient(0deg, #0578c3, #65c8ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}




/* road
/*--------------------*/

.road {
    background: url(../img/bg01.png) ;
    padding: 6.8rem 0;
    text-align: center;
    background-size: cover;
}

@media screen and (max-width: 768px) {
    .road {
        padding: 5rem 1rem;
    }
}

.road__text {
    font-size: 2.8rem;
    font-family: "manrope";
    font-weight: bold;
    color: #444;
    line-height: 1.8;
}

@media screen and (max-width: 768px) {
    .road__text {
        font-size: 1.6rem;
        line-height: 1.8;
    }
}

.road__text span {
    font-size: 4rem;
    padding: 0 1rem;
}

@media screen and (max-width: 768px) {
    .road__text span {
        font-size: 2.4rem;
        padding: 0 0.5rem;
    }
}

/* worries
/*--------------------*/

.worries {
    background: url(../img/worries-bg.png) ;
    background-size: cover;
}

.worries__inner {
    padding: 8rem 4rem 0;
    max-width: 104.5rem;
    width: 100%;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .worries__inner {
        padding: 4rem 1.5rem 0;
    }
}

.worries__title--line {
    font-size: 4rem;
    text-align: center;
    color: #fff;
    line-height: 1.2;
}

@media screen and (max-width: 768px) {
    .worries__title--line {
        font-size: 2rem;
        line-height: 1.2;
    }
}

.worries__title--line span {
    border-bottom: 7px solid #ef1c20;
}

@media screen and (max-width: 768px) {
    .worries__title--line span {
        border-bottom: 4px solid #ef1c20;
    }
}

.worries__title {
    font-size: 4rem;
    text-align: center;
    color: #fff;
    line-height: 1.2;
}

@media screen and (max-width: 768px) {
    .worries__title {
        margin-top: 2rem;
        font-size: 2rem;
    }
}

.worries__title span {
    font-size: 9.6rem;
}

@media screen and (max-width: 768px) {
    .worries__title span {
        font-size: 3.6rem;
    }
}

.worries__fukidashi {
    margin-top: 6rem;
}

@media screen and (max-width: 768px) {
    .worries__fukidashi {
        margin-top: 0;
        display: none;
    }
}

.worries__fukidashi2 {
    display: none;
}

@media screen and (max-width: 768px) {
    .worries__fukidashi2 {
        display: block;
        max-width: 37rem;
        width: 100%;
        margin: 4rem auto 0;
    }
}

.title3 {
    margin-top: 4rem;
}

@media screen and (max-width: 768px) {
    .title3 {
        margin-top: 3rem;
    }
}

.worries__img {
    max-width: 58rem;
    width: 100%;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .worries__img {
        max-width: 31rem;
        width: 100%;
        margin-top: 2rem;
    }
}

/* btn
/*--------------------*/

.link {
    margin: 6rem auto 0;
    text-align: center;
    max-width: 100rem;
}

@media screen and (max-width: 768px) {
    .link {
        margin-top: 4rem;
    }
}

.btn {
    font-size: 2.8rem;
    color: #fff;
    background: linear-gradient(to bottom right, #288aca, #79cceb);
    padding: 2.2rem 0;
    max-width: 62rem;
    width: 100%;
    line-height: 1.3;
    border-radius: 5rem;
    position: relative;
}

@media screen and (max-width: 768px) {
    .btn {
        font-size: 1.6rem;
        padding: 1.3rem 0;
        max-width: 35rem;
    }
}


.btn span {
    color: #ef1c20;
}

.form__title span {
    font-size: 3.2rem;
    border-bottom: 7px solid #139fd8;
}

@media screen and (max-width: 768px) {
    .form__title span {
        font-size: 2.8rem;
        border-bottom: 4px solid #139fd8;
    }  
}

.card-body {
    display: flex;
    margin-top: 4rem;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .card-body {
        display: block;
        margin-top: 4rem;
    }    
}

.form-group input {
    width: 30rem;
    height: 5rem;
}

@media screen and (max-width: 768px) {
 .form-group input {
    width: 25rem;
    height: 5rem;
}    
}

.form-group textarea {
    width: 30rem;
    height: 5rem;
}

@media screen and (max-width: 768px) {
    .form-group textarea {
       width: 25rem;
       height: 5rem;
   }    
   }

.card-body .btn {
    margin-left: 2rem;
    max-width: 40rem;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .card-body .btn {
        margin-left: 0;
        max-width: 28rem;
        margin-top: 2rem;
    }  
   }

/* story
/*--------------------*/

.story {
    margin-top: 6rem;
    background: url(../img/story-bg.png) no-repeat;
    background-size: cover;
    text-align: center;
    position: relative;
    
}

@media screen and (max-width: 768px) {
    .story {
        margin-top: 6rem;
        background: url(../img/story-bg.png) no-repeat;
        padding: 0 1.5rem;
    }
}

.story__inner {
    padding-top: 11.5rem;
}

@media screen and (max-width: 768px) {
    .story__inner {
        padding-top: 6rem;
    }
}

.story::after {
    content: url(../img/story1.png);
    display: block;
    position: absolute;
    top: 43%;
    left: 5.5vw;
}

@media screen and (max-width: 1024px) {
    .story::after {
        content: "";
    }
}

.story__img {
    display: none;
}

@media screen and (max-width: 1024px) {
    .story__img {
        display: block;
        max-width: 35rem;
        width: 100%;
        margin: 4rem auto 0;
    }
}

.story__title {
    font-size: 4rem;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    .story__title {
        font-size: 2rem;
        line-height: 1.5;
    }
}

.story__title span {
    border-bottom: 7px solid #139fd8;
}

@media screen and (max-width: 768px) {
    .story__title span {
        border-bottom: 4px solid #139fd8;
    }
}

.story__text {
    margin-top: 4rem;
    font-size: 2.4rem;
    line-height: 1.8;
    color: #444;
}

@media screen and (max-width: 768px) {
    .story__text {
        max-width: 35rem;
        width: 100%;
        margin: 4rem auto 0;
        font-size: 1.6rem;
        line-height: 2;
        text-align: left;
    }
}

.story__text span {
    border-bottom: 2px solid #000;
}

.black {
    font-weight: bold;
    border-bottom: inherit;
}

.story2 {
    margin-top: 8rem;
    text-align: center;
    position: relative;
}

@media screen and (max-width: 768px) {
    .story2 {
        margin-top: 6rem;
        text-align: center;
        padding: 0 1.5rem;
    }
}

.story2::after {
    content: url(../img/story2.png);
    display: block;
    position: absolute;
    top: 40%;
    right: 6.9vw;
}

@media screen and (max-width: 1024px) {
    .story2::after {
        content:"";
    }
}

.story3 {
    margin-top: 8rem;
    text-align: center;
    position: relative;
}

@media screen and (max-width: 768px) {
    .story3 {
        margin-top: 6rem;
        text-align: center;
        padding: 0 1.5rem;
    }
}

.story3::after {
    content: url(../img/story3.png);
    display: block;
    position: absolute;
    top: 35%;
    left: 6.9vw;
}

@media screen and (max-width: 1024px) {
    .story3::after {
        content: "";
    }
}

.story4 {
    margin-top: 8rem;
    text-align: center;
    position: relative;
    background: url(../img/bg.png) no-repeat;
    background-position: bottom;
    background-size: cover;
}

@media screen and (max-width: 768px) {
    .story4 {
        margin-top: 6rem;
        padding: 0 1.5rem;
        background: url(../img/bg.png) no-repeat;
        background-position: bottom;
    }
}

.story4::after {
    content: url(../img/story4.png);
    display: block;
    position: absolute;
    top: 35%;
    right: 2.7vw;
}

@media screen and (max-width: 1024px) {
    .story4::after {
        content: "";
    }
}

.footer__btn {
    margin-top: 6rem;
    padding-bottom: 10rem;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .footer__btn {
        padding-bottom: 8rem;
    }
    
}


.footer {
    padding: 5rem 0;
    font-size: 1.6rem;
}

.footer__inner {
    display: flex; 
    justify-content: center; 
}


.footer__text:not(:first-child) {
    margin-left: 3rem;
    border-left: 1px solid #333;
    padding-left: 3rem;
}