@charset "UTF-8";

header .txt_float01{
    max-width: 722px;
    width: 37.9401%;
    padding-right: 0;
    margin-left: 34%;
    padding-top: 13.5vw;
}

#visit_rinpalette{
    padding-top: 90px;
    margin-bottom: 80px;
}
#visit_rinpalette h2{
    margin-bottom: 90px;
    line-height: 2;
}

#flow{
    background: url(../images/common/bg06.png) top center;
    background-size: 1.5em;
    padding-top: 120px;
    padding-bottom: 130px;
}
#flow .contents-box > div{
    background: var(--col_white);
    border-radius: 1.5em;
    padding: 80px 40px 90px;
    padding-left: 100px;
    margin-bottom: 60px;
}
#flow .cont01 h2{
    color: var(--col_main-color);
    font-size: calc(var(--fnt_size_h2) * 1.1);
    letter-spacing: .1em;
    margin-bottom: 70px;
}
#flow .flow_area > div{
    background: url(../images/common/bg08.png);
    display: flex;
    align-items: center;
    padding: 30px 40px;
    padding-left: 0;
    margin-bottom: 60px;
    position: relative;
}
#flow .flow_area > div:after{
    content: "";
    position: absolute;
    width: 150px;
    height: 18px;
    background:  url(../images/flow/img12.png) top center no-repeat;
    background-size: contain;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -42px;
}
#flow .flow_area > div:last-child{
    margin-bottom: 0;
}
#flow .flow_area > div:last-child:after{
    display: none;
}
#flow .flow_area h3{
    position: relative;
    width: 700px;
    max-width: 30%;
    text-align: right;
    font-family: var(--fnt_fam_noto);
    font-size: 26px;
    font-weight: 900;
    padding-right: .5em;
}
#flow .flow_area h3:before{
    content: "";
    position: absolute;
    width: 150px;
    height: 120px;
    background:  url(../images/flow/img01.png) center left no-repeat;
    background-size: contain;
    left: -60px;
    top: 0;
    bottom: 0;
    margin: auto;
}
#flow .flow_area .step02 h3:before{
    background:  url(../images/flow/img02.png) center left no-repeat;
    background-size: contain;
}
#flow .flow_area .step03 h3:before{
    background:  url(../images/flow/img03.png) center left no-repeat;
    background-size: contain;
}
#flow .flow_area .step04 h3:before{
    background:  url(../images/flow/img04.png) center left no-repeat;
    background-size: contain;
}
#flow .flow_area .step05 h3:before{
    background:  url(../images/flow/img05.png) center left no-repeat;
    background-size: contain;
}
#flow .flow_area .step03 h3,#flow .flow_area .step05 h3{
    padding-right: 2.5em;
}
#flow .flow_area > div img{
    width: 20%;
}
#flow .flow_area p{
    width: 50%;
    padding-left: .5em;
}
#flow .flow_area p .tel{
    font-size: 130%;
    color: var(--col_blue);
    padding-top: 15px;
    display: block;
}
#flow .flow_area p .tel a{
    font-size: 160%;
    color: var(--col_blue);
}
#flow .contents-box .cont02{
    padding-right: 60px;
    padding-top: 90px;
    padding-left: 85px;
    padding-bottom: 60px;
}
#flow .cont02 table th{
    width: 280px;
    font-family: var(--fnt_fam_noto);
    font-size: 26px;
    font-weight: 900;
    border-bottom: dotted 2px var(--col_main-color);
    padding-left: 15px;
    padding-bottom: 2rem;
    padding-top: 1.5rem;
}
#flow .cont02 table td{
    padding-bottom: 2rem;
    padding-top: 1.5rem;
    border-bottom: dotted 2px var(--col_main-color);
}
#flow .cont02 table td p{
    font-size: var(--fnt_size_s);
}
#flow .cont02 table tr:last-child th,#flow .cont02 table tr:last-child td{
    border: none;
}

/* webpに対応している */
#anchor_to_family{
    padding-top: 115px;
    margin-top: -115px;
}
.webp #to_family{
    background: url(../images/flow/photo01.webp) top right no-repeat,url(../images/common/bg05.png);
    background-size: 53%;
}
/* webpに対応していない */
.no-webp #to_family{
    background: url(../images/flow/photo01.png) top right no-repeat,url(../images/common/bg05.png);
    background-size: 53%;
}
#to_family{
/*    background: url(../images/flow/photo01.webp) top right no-repeat,url(../images/common/bg05.png);
    background-size: 53%;*/
    padding-top: 150px;
    padding-bottom: 100px;
}
#to_family h2{
    text-align: left;
    margin-bottom: 95px;
}
#to_family h2 img{
    width: auto;
    max-width: 80%;
}
#to_family .txt_stl{
    font-weight: bold;
    line-height: 1.8;
}
#to_family .txt_stl01{
    margin-bottom: 40px;
}
#to_family .txt_stl02{
    margin-bottom: 80px;
    display: block;
    padding-top: 40px;
}
#to_family .txt_stl02 > span{
    font-size: 180%;
    line-height: 1.8;
}
#to_family .txt_stl02 > span span{
    font-family: var(--fnt_fam_noto);
    font-weight: 900;
}
#to_family .txt_stl03{
    width: 95%;
}
#to_family .txt_stl03 p{
    margin-bottom: 40px;
}





@media screen and (max-width: 1360px) {
    #to_family .txt_stl03{
        width: 100%;
    }
}

@media screen and (max-width: 1200px) {
    #flow .flow_area h3{
        font-size: 24px;
    }
    #flow .flow_area h3:before{
        height: 100px;
    }
}
@media screen and (min-width: 769px) and (max-width: 1023px) {
    #visit_rinpalette h2{
        font-size: var(--fnt_size_h2_s);
    }
    #flow .flow_area p{
        font-size: 90%;
    }
}
@media screen and (max-width: 1023px) {
    #flow .flow_area h3{
        font-size: 20px;
        max-width: 33%;
    }
    #flow .flow_area h3:before {
        height: 80px;
    }
    #flow .flow_area p .tel{
        font-size: 100%;
    }
    #flow .cont02 table th{
        width: 220px;
        font-size: 22px;
    }
    #anchor_to_family{
        padding-top: 60px;
        margin-top: -60px;
    }
    #to_family{
        background-size: 57%!important;
    }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
    #visit_rinpalette h2{
        font-size: calc(var(--fnt_size_h2_768-481) * 0.9);
    }
}
@media screen and (max-width: 768px) {
    #visit_rinpalette{
        padding-top: 2em;
    }
    #visit_rinpalette h2{
        margin-bottom: 2em;
    }
    #flow{
        background-size: 1.2em;
        padding-top: 3em;
        padding-bottom: 3.5em;
    }
    #flow .contents-box > div{
        padding: 1em 1.5em 2em;
        border-radius: 2em;
        margin-bottom: 1.5em;
    }
    #flow .cont01 h2{
        font-size: calc(var(--fnt_size_h2_768-481) * 1.1);
        margin-bottom: 2.5em;
    }
    #flow .flow_area > div{
        flex-direction: column;
        padding: 1em;
        margin-bottom: 6em;
    }
    #flow .flow_area > div:after{
        bottom: -33px;
        height: 24px;
    }
    #flow .flow_area h3{
        max-width: 100%;
        text-align: center;
        font-size: 18px;
        padding-top: 2.5em;
        margin-bottom: .5em;
        padding-right: 0;
    }
    #flow .flow_area h3:before{
        bottom: auto;
        left: 0;
        right: 0;
        top: -3em;
        width: 80px;
    }
    #flow .flow_area > div img{
        width: 50%;
    }
    #flow .flow_area p{
        width: 100%;
        padding: 1em 1.3em;
    }
    #flow .flow_area p .tel{
        text-align: center;
        font-size: 120%;
    }
    #flow .flow_area p .tel a{
        font-size: 170%;
    }
    #flow .flow_area .step03 h3, #flow .flow_area .step05 h3 {
        padding-right: 0;
    }
    #flow .contents-box .cont02{
        padding: 2em;
    }
    #flow .cont02 table tr{
        display: flex;
        flex-direction: column;
    }
    #flow .cont02 table th{
        padding: 0;
        padding-top: 2em;
        text-align: center;
        font-size: 20px;
        border: none;
        margin-bottom: 1.5em;
        width: 100%;
    }
    #flow .cont02 table td{
        padding: 0;
        padding-bottom: 3em;
    }
    #flow .cont02 table tr:first-child th{
        padding-top: 0;
    }
    #flow .cont02 table tr:last-child td{
        padding-bottom: 1em;
    }
    #to_family{
        background-size: 100%!important;
        padding-top: 65vw;
        padding-bottom: 1em;
    }
    #to_family h2{
        text-align: center;
        margin-bottom: 2em;
    }
    #to_family .txt_stl02{
        display: inline;
    }
    #to_family .txt_stl01 {
        margin-bottom: 4em;
    }
    #to_family .txt_stl02 > span{
        font-size: 120%;
    }
}
@media screen and (max-width: 480px) {
    #visit_rinpalette{
        margin-bottom: 3em;
    }
    #visit_rinpalette h2{
        padding: 0;
        font-size: calc(var(--fnt_size_h2_480-350) * 0.9);
    }
    #flow .flow_area h3:before{
        width: 67px;
    }
    #flow .flow_area > div img {
        width: 60%;
    }
    #flow .flow_area p{
        padding: 1em .5em;
    }
    #flow .flow_area p .tel{
        padding-top: .5em;
    }
    #flow .flow_area p .tel a{
        font-size: 150%;
    }
    #flow .flow_area > div:after {
        bottom: -26px;
        height: 20px;
    }
    #flow .cont02 table th{
        font-size: 16px;
    }
}
