@charset "UTF-8";

/* freedesignhouse__page */

/*============================
freedesignhouse__page common
============================*/
.fr-about__ttl {
    line-height: 1.4;
}

.fr-about__txt {
    max-width: 1000px;
    margin: 0 auto;
}

/* fr-cv */
.fr-cv {
    padding: 25px 0;
    background: #ffd009;
    position: fixed;
    z-index: 99;
    bottom: 0;
    width: 100%;

    &::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 1px;
        background-color: #fff;
        top: 10px;
    }

    &::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 1px;
        background-color: #fff;
        bottom: 10px;
    }
}

.fr-cv__flex {
    max-width: 1050px;
    margin: 0 auto;
}

.fr-cv__btn {
    display: block;
    max-width: 346px;
}

/* fr-contents */
.fr-contents.pd-0 {
    padding-bottom: 0;
}

.fr-cont__atc {
    margin-bottom: 50px;
    align-items: center;

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

.fr__cont__txtwarp {
    width: 48%;
}

.fr-cont__img {
    max-width: 575px;
    width: 48%;
}

.fr-cont__atc:nth-child(even) {
    flex-direction: row-reverse;
}

.fr__btn {
    margin: 0 auto;
}
.fr__btn span.ttl {
    font-size: 1.3rem;
    position: absolute;
    top: 15px;
}
@media screen and (max-width:767px) {
.fr__btn span.ttl {
    font-size: 1.1rem;
    position: absolute;
    top: 8px;
}  
}


@media screen and (max-width:1024px) {
    .fr-about__ttl::before {
        width: 1em;
        height: 2px;
        left: 50%;
        bottom: -.5em;
    }

    .fr-cv {
        padding: 20px 0;

        &::before {
            top: 5px;
        }

        &::after {
            bottom: 5px;
        }
    }

    .fr-cv__btn {
        max-width: 280px;
    }

    /* fr-contents */

    .fr-cont__atc {
        margin-bottom: 40px;
    }

    .fr__cont__txtwarp {
        width: 48%;
    }

    .fr-cont__img {
        width: 48%;
    }
}

@media screen and (max-width:767px) {
    .fr-about__ttl::before {
        bottom: -.75em;
    }

    .fr-cv {
        padding: 20px 0;

        &::before {
            top: 5px;
        }

        &::after {
            bottom: 5px;
        }
    }

    .fr-cv__ttl {
        text-align: center;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .fr-cv__btn {
        max-width: 280px;
        margin: 0 auto;
    }

    /* fr-contents */

    .fr-cont__atc {
        margin: 0 auto 30px;
    }

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

    .fr-cont__img {
        width: 100%;
    }
}

/* freedesignhouse02__page */

/*============================
    fr-maker 
============================*/
.fr-maker {
    padding-bottom: 0;
}

.fr-maker__ttl::before {
    content: "";
    position: absolute;
    width: 1em;
    height: 2px;
    background: #4d3939;
    left: 50%;
    bottom: -.5em;
    transform: translate(-50%);
}

.fr-maker__txt {
    max-width: 1000px;
    margin: 0 auto 30px;
}

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

.fr-maker__logo li {
    width: 23%;
    margin: 0 1%;
    box-shadow: 0 0 16px rgba(0, 0, 0, .08);
    margin-bottom: 25px;
}

@media screen and (max-width:1024px) {
    .fr-maker__txt {
        margin: 0 auto 30px;
    }

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

    .fr-maker__logo li {
        width: 23%;
        margin: 0 1%;
        margin-bottom: 20px;
    }

}

@media screen and (max-width:767px) {
    .fr-maker__ttl::before {
        bottom: -.75em;
    }

    .fr-maker__txt {
        margin: 0 auto 30px;
        text-align: left;
    }

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

    .fr-maker__logo li {
        width: 48%;
        margin: 0;
        margin-bottom: 10px;
    }
}

/*============================
    fr-links 
============================*/
.fr-links__items {
    width: 102%;
    margin-left: -1%;
}

.fr-link {
    width: 31.33%;
    max-width: 378px;
    margin: 0 1%;
}

.fr-links__h3 {
    margin-top: .75em;

    & img {
        width: 55px;

    }
}

@media screen and (max-width:1024px) {
    .fr-links__items {
        width: 102%;
        margin-left: -1%;
    }

    .fr-link {
        width: 31.33%;
        margin: 0 1%;
    }

    .fr-links__h3 {

        & img {
            width: 45px;

        }
    }
}

@media screen and (max-width:767px) {
    .fr-links__items {
        width: 100%;
        margin-left: 0;
        display: flex;
    }

    .fr-link {
        width: 100%;
        /*margin: 0 auto 20px;*/

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

    .fr-links__h3 {
        display: flex;

        .txt {
            font-size: 1.3rem;
        }

        & img {
            width: 45px;

        }
    }
}

/*============================
    fr-flow 
============================*/
.fr-flow {
    padding-bottom: 0;
}

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

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

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

.fr-flow__h3 {
    width: 30%;
}

.fr-flow__txtwrap {
    width: 65%;
}

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

.fr-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;
    }
}

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

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

.fr-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) {
    .fr-flow__atc {
        margin-bottom: 15px;
        padding: 30px 4% 30px 80px;
    }

    .fr-flow__h3 {
        width: 30%;
    }

    .fr-flow__txtwrap {
        width: 65%;
    }

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

    .fr-flow__h3 {

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

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

    .fr-flow__items {

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

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

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

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

    .fr-flow__txtwrap {
        width: 100%;
    }

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

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

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

    .fr-flow__items {

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

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