@charset "UTF-8";

/* reform__page  */

/*============================
 rf__reason 
============================*/
.rfr__ttl {
    line-height: 1.2;

    .num {
        font-size: 7.2rem;
        font-weight: bold;
        line-height: 1;
    }
    .red {
        font-weight: bold;
        color: #de6a6f;
    }
}

.rf__reason {
    padding-bottom: 0;
}

.rfr__pagelinks {
    width: 102%;
    margin-left: -1%;
    justify-content: center;
}

.rfr__pagelinks li {
    width: 18%;
    margin: 0 1%;
    max-width: 226px;
    background: #fff;
    position: relative;

    & a {
        height: 160px;
        display: block;
        padding: 30px 3% 20px;
    }

    .num {
        text-align: center;
        width: fit-content;
        position: relative;
        margin: 0 auto 10px;
        line-height: 1;

        .font-en {
            font-size: 1.6rem;
            position: absolute;
            transform: rotate(-15deg);
            left: -2em;
            top: -.7em;
        }

    }

    & img {
        width: 55px;
        position: absolute;
        right: 3%;
        bottom: 10px;
    }

    .txt {
        line-height: 1.4;
        min-height: 2.8em;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
@media screen and (max-width:320px) {
    .rfr__pagelinks .txt {
        font-size:1.2rem;
    }
}
.rfr__atc {
    margin-bottom: 50px;

    &:last-child {
        margin-bottom: 0;
    }
}

.rfr__txtwrap {
    width: 48%;
}

.rfr__img {
    width: 48%;
}

.rfr__h3 {
    font-size: 2.8rem;
    line-height: 1.4;

    .font-en {
        margin-bottom: .5em;
        font-size: 2rem;
    }
}

/* add css(realestatesale__page) */
.rfr__info {
    width: 48%;
    margin-bottom: 20px;
    background: #fff;
    padding: 1em 2%;

    &.large {
        width: 100%;
    }
}

.rfr__info--img {
    width: fit-content;
    margin: 20px auto 0;
    position: relative;

    & img {
        margin: 0 auto;
        display: block;
        width: auto;
    }

    & figcaption {
        position: absolute;
        left: calc(100% + 1em);
        bottom: 0;
        white-space: nowrap;
        font-size: 1rem;
    }
}

.rfr__info.large .rfr__info--img {
    max-width: 814px;
}

@media screen and (max-width:1024px) {
    .rfr__ttl {
        .num {
            font-size: 5rem;
        }
    }

    .rfr__pagelinks {
        width: 102%;
        margin-left: -1%;
    }

    .rfr__pagelinks li {
        width: 18%;
        margin: 0 1%;

        & a {
            height: 150px;
            padding: 30px 3% 20px;
        }

        .num {
            margin: 0 auto 10px;

            .font-en {
                font-size: 1.4rem;
                left: -2em;
                top: -.5em;
            }

        }

        & img {
            width: 40px;
            right: 3%;
            bottom: 10px;
        }
    }

    .rfr__atc {
        margin-bottom: 30px;
    }

    .rfr__txtwrap {
        width: 48%;
    }

    .rfr__img {
        width: 48%;
    }

    .rfr__h3 {
        font-size: 2rem;
        line-height: 1.4;

        .font-en {
            font-size: 1.8rem;
        }
    }


    /* add css(realestatesale__page) */
    .rfr__info {
        width: 49%;
        margin-bottom: 15px;
        padding: 1em 2%;
    }

    .rfr__info--img {
        margin: 15px auto 0;

    }
}

@media screen and (max-width:767px) {
    .rfr__ttl {
        .num {
            font-size: 3rem;
        }
    }

    .rfr__pagelinks {
        width: 100%;
        margin-left: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .rfr__pagelinks li {
        width: 48%;
        max-width: none;
        margin: 0 0 10px;

        & a {
            height: 130px;
            padding: 20px 3% 20px;
        }

        .num {
            margin: 0 auto 10px;

            .font-en {
                font-size: 1.2rem;
                left: -2em;
                top: -.75em;
            }

        }

        & img {
            width: 40px;
            right: 3%;
            bottom: 10px;
        }
    }

    .rfr__atc {
        margin: 0 auto 50px;
    }

    .rfr__txtwrap {
        width: 100%;
        margin-bottom: 20px;
    }

    .rfr__img {
        width: 100%;
    }

    .rfr__h3 {
        font-size: 1.8rem;

        .font-en {
            font-size: 1.6rem;
        }
    }

    /* add css(realestatesale__page) */
    .rfr__info {
        width: 100%;
        margin-bottom: 15px;
        padding: 1em 5%;
    }

    .rfr__info--img {
        margin: 15px auto 0;

    }
}

/*============================
    rf__works
============================*/
.rfw__img {
    width: 24%;
    margin-bottom: 15px;
    position: relative;

    &::before {
        content: "";
        position: absolute;
        width: 49px;
        height: 44px;
        background: url(../img/cmn/works_ico.png) no-repeat right bottom/contain;
        right: 0;
        bottom: 0;
        z-index: 9;
        pointer-events: none;
    }
}

.rfw__btn {
    margin: 0 auto;
    width: 400px;
    height: 90px;
    background: #1169ab;
    color: #fff;
    border-color: #1169ab;
    border-radius: 45px;
    font-size: 1.8rem;

    &:hover {
        color: #1169ab;

    }
}

@media screen and (max-width:1024px) {
    .rfw__img {
        width: 24%;
        margin-bottom: 10px;

        &::before {
            width: 40px;
            height: 36px;
        }
    }

    .rfw__btn {
        margin: 0 auto;
        width: 300px;
        height: 60px;
        border-radius: 30px;
        font-size: 1.6rem;
    }

}

@media screen and (max-width:767px) {
    .rfw__gallery {
        display: flex;
    }

    .rfw__img {
        width: 48%;
        margin-bottom: 10px;
    }

    .rfw__btn {
        margin: 0 auto;
        width: 260px;
        height: 50px;
        border-radius: 25px;
        font-size: 1.4rem;
    }

}

/*============================
    rf__review
============================*/
.rfre__atc {
    padding: 0 2% 30px;
    margin-bottom: 30px;
    border-bottom: dashed 1px #4d3939;

    &:last-child {
        margin-bottom: 0;
    }
}

.rfre__img {
    width: 226px;
    position: relative;

    &::before {
        content: "";
        position: absolute;
        width: 97%;
        height: 97%;
        border: solid 1px #fff;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

.rfre__txtwrap {
    width: calc(100% - 226px);
    padding: 0 0 0 3%;
}

.rfre__h4 {
    width: fit-content;
    margin: 0 0 40px;
    padding-bottom: .25em;
    border-bottom: dashed 1.5px #4d3939;
    position: relative;
}

.rfre__h4::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background: url(../img/features/fukidashi02@1.5x.png) no-repeat center top/contain, #fff;
    left: 10%;
    top: 100%;
    transform: translate(-50%);
}


@media screen and (max-width:1024px) {
    .rfre__atc {
        padding: 0 0 20px;
        margin-bottom: 20px;
    }

    .rfre__img {
        width: 200px;

    }

    .rfre__txtwrap {
        width: calc(100% - 200px);
        padding: 0 0 0 3%;
    }

    .rfre__h4 {
        margin: 0 0 30px;
        padding-bottom: .25em;
    }

    .rfre__h4::before {
        width: 20px;
        height: 20px;
        left: 10%;
    }

}

@media screen and (max-width:767px) {
    .rfre__atc {
        padding: 0 0 20px;
        margin-bottom: 20px;
        position: relative;
    }

    .rfre__img {
        width: 100%;
        max-width: 226px;
        margin: 0 auto 20px;

    }

    .rfre__txtwrap {
        width: 100%;
        padding: 0 0 0 3%;
    }

    .rfre__h4 {
        margin: 0 0 30px;
        padding-bottom: .25em;
    }

    .rfre__h4::before {
        width: 20px;
        height: 20px;
        left: 10%;
    }
}


/*============================
    rf__fap
============================*/
.rf__flow {
    padding-bottom: 0;
}

.rff__ttl .font-en {
    margin-bottom: .5em;
}

.rff-flow__atc {
    margin-bottom: 15px;
    background: #fff;
    padding: 40px 4% 40px 100px;

    &:last-child {
        margin-bottom: 0;
    }
}

.rff-flow__atc {
    align-items: flex-start;
    position: relative;
}

.rff-flow__h3 {
    width: 30%;
}

.rff-flow__txtwrap {
    width: 65%;
}

.rff-flow__btn {
    max-width: 280px;
    margin: 20px auto 0 0;
}

.rff-flow__h3 {
    position: relative;

    .font-en {
        position: absolute;
        transform: rotate(-15deg);
        left: -2em;
        top: 0;
    }

    .num {
        margin-right: .5em;
    }

    &::before {
        content: "";
        position: absolute;
        width: 23px;
        height: 23px;
        border-radius: 50%;
        background-color: #fed008;
        left: -80px;
        top: 20px;
        z-index: 1;
    }
}

.rff-flow__items {
    overflow: hidden;
    position: relative;

    &::before {
        content: "";
        position: absolute;
        width: 2px;
        height: 100%;
        top: 60px;
        left: 30px;
        background-color: #4d3939;
        z-index: 1;
    }
}

.rff-flow__atc:last-child::before {
    content: "";
    position: absolute;
    width: 4px;
    height: calc(100% - 70px);
    background: #fff;
    bottom: 0;
    left: 30px;
    z-index: 1;
}

@media screen and (max-width:1024px) {
    .rff-flow__atc {
        margin-bottom: 15px;
        padding: 30px 4% 30px 80px;
    }

    .rff-flow__h3 {
        width: 30%;
    }

    .rff-flow__txtwrap {
        width: 65%;
    }

    .rff-flow__btn {
        max-width: 200px;
        margin: 15px auto 0 0;
    }

    .rff-flow__h3 {

        .font-en {
            left: -2em;
            top: 0;
        }

        &::before {
            width: 20px;
            height: 20px;
            left: -60px;
            top: 10px;
        }
    }

    .rff-flow__items {

        &::before {
            width: 2px;
            top: 50px;
            left: 28px;
        }
    }

    .rff-flow__atc:last-child::before {
        width: 4px;
        height: calc(100% - 60px);
        bottom: 0;
        left: 28px;
    }
}

@media screen and (max-width:767px) {
    .rff-flow__atc {
        margin-bottom: 10px;
        padding: 20px 5% 20px 60px;
    }

    .rff-flow__h3 {
        width: 100%;
        margin-bottom: 10px;
    }

    .rff-flow__txtwrap {
        width: 100%;
    }

    .rff-flow__btn {
        max-width: 200px;
        margin: 10px auto 0 0;
    }

    .rff-flow__h3 {
        .font-en {
            left: -1.5em;
            top: -.5em;
        }

        &::before {
            width: 20px;
            height: 20px;
            left: -50px;
            top: 5px;
        }
    }

    .rff-flow__items {

        &::before {
            width: 2px;
            top: 40px;
            left: 20px;
        }
    }

    .rff-flow__atc:last-child::before {
        width: 4px;
        height: calc(100% - 40px);
        bottom: 0;
        left: 19px;
    }
}

/*============================
    rf__fap
============================*/
.rfq__ttl .font-en {
    margin-bottom: .5em;
}

.rf__fap {
    padding-bottom: 0;
}

.rfq__ul li {
    padding: 25px 2%;
    border-bottom: dashed 2px #4d3939;
}

.rfq__q {
    padding: 0 2em;
    position: relative;
    cursor: pointer;

    .mark {
        position: absolute;
        left: 0;
        top: 0;
        line-height: 1;
    }

    & i {
        position: absolute;
        right: 0;
        top: 0;
        font-size: 2rem;
        transition: .3s ease-out;
    }

    &.close i {
        transform: rotate(180deg);
    }
}

.rfq__a {
    display: none;
    margin: 1em 0 0 1.5em;
    background: #fff;
    padding: 1.5em 1em 1.5em 3em;
    position: relative;

    .mark {
        position: absolute;
        left: 1em;
        top: 1.3em;
        line-height: 1;
    }
}

@media screen and (max-width:1024px) {
    .rfq__ul li {
        padding: 20px 2%;
        ;
    }

    .rfq__q {
        padding: 0 2em;

        .mark {
            left: 0;
            top: 0;
        }

        & i {
            right: 0;
            top: 0;
            font-size: 1.8rem;
        }
    }

    .rfq__a {
        margin: 1em 0 0 1.5em;
        padding: 1em 1em 1em 3em;

        .mark {
            left: 1em;
            top: 1.1em;
        }
    }

}

@media screen and (max-width:767px) {
    .rfq__ul li {
        padding: 20px 2%;
    }

    .rfq__q {
        padding: 0 2em;

        & i {
            right: 0;
            top: 0;
            font-size: 1.6rem;
        }
    }

    .rfq__a {
        margin: 1em 0 0 1.5em;
        padding: 1em 1em 1em 3em;

        .mark {
            left: 1em;
            top: 1.1em;
        }
    }
}

/*============================
    rf__contact
============================*/


@media screen and (max-width:1024px) {}

@media screen and (max-width:767px) {}


/* freedesignhouse__page */
.freedesignhou__page .rf__reason{
    padding: 120px 0;
}
.frw__btn {
    margin: 0 auto;
}
@media screen and (max-width:1024px) {
    .freedesignhou__page .rf__reason{
        padding: 80px 0;
    }
    .frw__btn {
        width: 360px;
        margin: 0 auto;
    }
}

@media screen and (max-width:767px) {
    .freedesignhou__page .rf__reason{
        padding: 60px 0;
    }
    .frw__btn {
        width: 320px;
        margin: 0 auto;
    }
}