@charset "UTF-8";

/* page-title ------------------------------- */
.house{
    background-image: url(../img/house/title-backimage.jpg);
}
.facilities{
    background-image: url(../img/facilities/title-backimage.jpg);
}
.land{
    background-image: url(../img/land/title-backimage.jpg);
}

/* main ------------------------------------- */
#main{
    width: 80%;
    padding: 100px 0;
    margin: 0 auto;
}

#main ul{
    width: 100%;
    margin-bottom: 60px;
}
#main ul li{
    width: 100%;
    display: flex;
    gap: 60px;
    margin-bottom: 100px;
}
#main ul li:nth-child(odd){
    flex-direction: row-reverse;
}
#main ul li:nth-child(even){
    flex-direction: row;
}
#main ul li .text-wrap{
    width: 50%;
}
#main ul li .text-wrap .title-en{
    color: #C58D1F;
    font-size: 0.8rem;
}
#main ul li .text-wrap .title-ja{
    font-size: 1.6rem;
    line-height: 1.2em;
    margin-bottom: 40px;
    position: relative;
}
#main ul li .text-wrap .title-ja::after{
    content: "";
    width: 50px;
    height: 1px;
    background-color: #C58D1F;
    position: absolute;
    bottom: -20px;
    left: 0;
}
#main ul li .text-wrap .to-reform{
    display: block;
    width: 225px;
    height: 22px;
    margin: 40px 0 0 auto;
    position: relative;
}
#main ul li .text-wrap .to-reform::before{
    content: "";
    width: 50px;
    height: 1px;
    background-color: #222;
    position: absolute;
    top: 12px;
    left: -60px;
}
#main ul li .text-wrap .to-reform:hover{
    color: #C58D1F;
    opacity: 1;
}
#main ul li .text-wrap .to-reform:hover::before{
    background-color: #C58D1F;
}

#main ul li .img-wrap{
    width: 50%;
}
#main ul li .img-wrap img{
    width: 100%;
    border-radius: 20px;
}

#main .btn{
    margin: 0 auto;
}

/* flow ------------------------------------- */
#flow{
    width: 100%;
    background-color: #EEF4FF;
    padding: 0 0 100px 0;
    margin: 0 auto;
}

#flow .section-title{
    margin-bottom: 60px;
}
#flow .section-title .en{
    color: #fff;
}
#flow .section-title .ja{
    margin-top: -20px;
    margin-left: 5%;
}

#flow ul{
    width: 70%;
    margin: 0 auto;
}
#flow ul li{
    width: 100%;
}
#flow ul li .step-title{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 35px;
}
#flow ul li .step-title .step-area{
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background-color: #335592;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#flow ul li .step-title .step-area .step{
    display: block;
    line-height: 1em;
}
#flow ul li .step-title .step-area .number{
    display: block;
    font-size: 2.66rem;
    line-height: 1em;
}

#flow ul li .step-title .title{
    width: calc(100% - 80px);
    color: #335592;
    font-size: 1.33rem;
    line-height: 1.2em;
}

#flow ul li .description{
    width: 100%;
    display: flex;
    gap: 35px;
}
#flow ul li .description .line-area{
    width: 80px;
    flex-shrink: 0;
}
#flow ul li .description .line-area .line{
    width: 1px;
    height: 70%;
    background-color: #335592;
    margin: 20px auto;
}
#flow ul li:last-child .description .line-area .line{
    background-color: #EEF4FF;
}

#flow ul li .description .description-area{
    width: calc(100% - 80px);
    display: flex;
}
#flow ul li .description .description-area .img-area{
    width: 40%;
    max-width: 250px;
    margin: 0 30px;
}
#flow ul li .description .description-area .text-area{
    width: 60%;
}


/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 960px) {

    /* main ----------------------------------- */
    #main{
        width: 90%;
    }

    #main ul li{
        align-items: center;
        gap: 30px;
    }

    #main ul li .text-wrap .title-ja{
        font-size: 1.5rem;
    }

    #main ul li .text-wrap .to-reform:hover{
        color: #222;
        opacity: 0.5;
    }
    #main ul li .text-wrap .to-reform:hover::before{
        background-color: #222;
    }

    /* flow ------------------------------------- */
    #flow ul{
        width: 80%;
    }

}

/*-------------------------------------------
スマホ
-------------------------------------------*/
@media screen and (max-width: 767px) {

    /* page-title ------------------------------- */
    .house{
        background-image: url(../img/house/title-backimage-sp.jpg);
    }
    .facilities{
        background-image: url(../img/facilities/title-backimage-sp.jpg);
    }
    .land{
        background-image: url(../img/land/title-backimage-sp.jpg);
    }

    /* main ------------------------------------- */
    #main{
        padding: 80px 0;
    }

    #main ul li{
        gap: 30px;
    }
    #main ul li:nth-child(odd){
        flex-direction: column;
    }
    #main ul li:nth-child(even){
        flex-direction: column;
    }
    #main ul li .text-wrap{
        width: 100%;
    }
    #main ul li .img-wrap{
        width: 100%;
    }

    /* flow ------------------------------------- */
    #flow{
        padding: 0 0 80px 0;
    }

    #flow ul{
        width: 90%;
    }
    #flow ul li{
        margin-bottom: 30px;
    }
    #flow ul li .step-title{
        gap: 15px;
    }
    #flow ul li .step-title .step-area{
        width: 50px;
        height: 50px;
    }
    #flow ul li .step-title .step-area .step{
        line-height: 0.8em;
    }
    #flow ul li .step-title .step-area .number{
        font-size: 1.6rem;
    }

    #flow ul li .step-title .title{
        width: calc(100% - 50px);
    }

    #flow ul li .description{
        gap: 15px;
    }
    #flow ul li .description .line-area{
        width: 50px;
    }
    #flow ul li .description .line-area .line{
        height: 90%;
    }

    #flow ul li .description .description-area{
        width: calc(100% - 50px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    #flow ul li .description .description-area .img-area{
        width: 100%;
        margin: 0;
    }
    #flow ul li .description .description-area .text-area{
        width: 100%;
    }

}

