@charset "utf-8";

.fv {
    position: relative;
    height: 100vh;

    @media(max-width:1180px) {
        height: 90vh;
    }

    .column {
        display: flex;
        height: 100%;

        .col-left {
            display: flex;
            justify-content: center;
            align-items: center;
            max-width: calc(802 / 1920 * 100%);

            img {
                max-width: calc(522 / 802 * 100%);
                width: 100%;
            }
        }

        .col-img {
            max-width: calc(1118 / 1920 * 100%);
            width: 100%;
            height: auto;

            @media(max-width:1250px) {
                max-width: 100%;
                margin-left: auto;
            }



            img {
                max-width: calc(742 / 1118 * 100%);
                width: 100%;
                height: 100%;
                object-fit: cover;

                @media(max-width:1250px) {
                    max-width: 100%;
                    object-position: top;
                }
            }
        }
    }

    .fv-blog {
        position: absolute;
        left: 51rem;
        bottom: 32rem;
        max-width: 716rem;
        width: 100%;

        @media(max-width:1180px) {
            left: 0;
            bottom: 0;
            max-width: calc(370 / 400*100%);
        }


        .newsLink {
            display: flex;
            gap: 18rem;
            background: #fff;
            box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.57);
            padding: 23rem 32rem;
            position: relative;
            transition: .4s ease;


            .newsCatch {
                max-width: 171rem;
                width: 100%;
                height: 115rem;
                border-radius: 5px;

                @media(max-width:900px) {
                    max-width: 92rem;
                    height: 62rem;
                }

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    border-radius: 5px;
                }
            }

            .newsTextWrap {
                max-width: 464rem;
                width: 100%;

                .newsCatch {
                    max-width: 171rem;
                    width: 100%;


                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;

                    }
                }

                .newsItemTime {
                    font-family: var(--fmain);
                    font-weight: var(--bold);
                    font-size: 14px;
                    text-align: left;
                    color: #1e4d3e;
                    margin-bottom: 8rem;
                }

                .newsItemTit {
                    font-family: var(--fmain);
                    font-weight: var(--bold);
                    font-size: 16px;
                    text-align: left;
                    color: #050505;
                    padding-left: 32rem;
                    position: relative;
                    margin-bottom: 10rem;
                }

                .newsItemTit::before {
                    content: "▶︎";
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    margin: auto;
                    left: 0;
                    color: var(--cmain);
                }



                .newsDetailTxt {
                    font-family: var(--fmain);
                    font-weight: normal;
                    font-size: 14px;
                    text-align: left;
                    color: #050505;
                }

                .txt-limit {
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    -webkit-line-clamp: 2;
                }
            }


        }


    }

    .fv-blog::before {
        content: "お役立ちブログ";
        position: absolute;
        padding: 0 20rem;
        bottom: 100%;
        left: 0;
        background-color: var(--cmain);
        color: #FFF;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5px 5px 0px 0px;
        font-family: "M PLUS 1";
        font-weight: bold;
        font-size: 16px;
        text-align: left;
        color: #fff;
    }

}


.cta {
    border-top: 6rem solid var(--cmain);
    border-bottom: 6rem solid var(--cmain);

    @media(max-width:1180px) {
        border-top-width: 8rem;
        border-bottom-width: 8rem;
    }

    .column {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10rem 0 38rem;
        gap: 38rem;

        @media(max-width:1180px) {
            flex-direction: column;
        }

        .col-left {
            max-width: calc(620 / 1344 * 100%);

            @media(max-width:1180px) {
                max-width: none;
            }

            .sectit {
                font-family: var(--fmain);
                font-weight: 300;
                font-size: 111rem;
                line-height: calc(139 / 111);
                text-align: left;
                color: #1e4d3e;

                @media(max-width:1180px) {
                    font-size: 40rem;
                    max-width: none;
                    text-align: center;
                    margin-bottom: 14rem;
                }
            }

            .desc {
                font-family: var(--fmain);
                font-weight: var(--bold);
                font-size: 20rem;
                line-height: calc(33 / 20);
                text-align: center;
                color: #1e4d3e;

                @media(max-width:1180px) {
                    font-size: 14px;
                    line-height: calc(23/14);
                }
            }
        }

        .col-right {
            display: flex;
            flex-direction: column;
            gap: 11rem;
            max-width: calc(607 / 1344 * 100%);

            @media(max-width:1180px) {
                max-width: none;

                .f-41 {
                    font-size: 20rem;
                }

                .f-61 {
                    font-size: 40rem;
                }

                .f-20 {
                    font-size: 14px;
                }

                .cta-contact {
                    .f-41 {
                        font-size: 24rem;
                    }
                }
            }
        }
    }
}

.t_service {
    .column {
        padding: 120rem 0;
        display: flex;
        flex-direction: column;
        gap: 120rem;

        @media(max-width:1180px) {
            align-items: center;
            padding: 40rem 0;
            gap: 60rem;
        }

        .sitem {
            display: flex;
            align-items: flex-start;
            max-width: 1440rem;
            width: 90%;
            padding-bottom: 65rem;
            border-bottom: 1px solid #d1d1d1;

            @media(max-width:1180px) {
                max-width: calc(350 / 400 * 100%);
                flex-wrap: wrap;
                padding-bottom: 30rem;
                align-items: flex-start;
            }

            .num {
                writing-mode: sideways-lr;
                width: 40rem;
                font-family: var(--fmain);
                font-weight: normal;
                font-size: 28rem;
                color: #1e4d3e;
                margin-right: 36rem;

                @media(max-width:1180px) {
                    font-size: 14rem;
                    margin-right: 20rem;
                    width: 20rem;
                }
            }

            .col-img {
                max-width: calc(628 / 1536 * 100%);
                width: 100%;
                position: relative;
                z-index: 5;
                margin-right: 125rem;

                @media(max-width:1180px) {
                    margin-right: 0;
                    max-width: calc(335 / 400 * 100%);
                    margin-bottom: 36rem;
                }

                img {
                    width: 100%;
                    height: auto;
                }
            }

            .col-img::before {
                content: "";
                width: 100%;
                height: 100%;
                background-color: var(--cmain);
                border-radius: 10px;
                position: absolute;
                top: 20rem;
                left: 16rem;
                z-index: -1;
            }

            .col-text {
                display: flex;
                flex-direction: column;
                align-items: center;

                .item-tit {
                    display: flex;
                    flex-direction: column;
                    gap: 20rem;
                    align-items: center;
                    margin-bottom: 40rem;

                    @media(max-width:1180px) {
                        margin-bottom: 20rem;
                    }

                    .sub {
                        font-family: var(--fmain);
                        font-weight: var(--bold);
                        font-size: 20rem;
                        line-height: calc(33/20);
                        text-align: center;
                        color: #1e4d3e;

                        @media(max-width:1180px) {
                            font-size: 14px;
                        }
                    }

                    .main {
                        font-family: var(--fmain);
                        font-weight: 400;
                        font-size: 90rem;
                        line-height: calc(122/98);
                        letter-spacing: 0.5em;
                        text-align: center;

                        @media(max-width:1240px) {
                            font-size: 64rem;
                        }
                    }
                }

                .list {
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: center;
                    align-items: center;
                    gap: 16rem 20rem;
                    margin-bottom: 40rem;

                    p {
                        padding: 8rem 32rem;
                        height: 42rem;
                        border-radius: 21px;
                        background: #efefef;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        font-family: var(--fmain);
                        font-weight: var(--bold);
                        font-size: 18px;
                        line-height: calc(24/18);
                        text-align: center;
                        color: #1e4d3e;

                        @media(max-width:1180px) {
                            font-size: 14px;
                        }
                    }
                }

                .morebtn {
                    padding: 8rem 40rem;
                }
            }
        }

        .sitem.right {
            margin-left: auto;

            @media(max-width:1180px) {
                margin-right: auto;
            }
        }
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }

    100% {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}


.ctaB {
    background-color: var(--cmain);

    .column {
        padding-top: 26rem;
        display: flex;
        gap: 56rem;
        align-items: center;

        @media(max-width:1180px) {
            flex-direction: column;
            gap: 19rem;
        }

        .col-text {
            display: flex;
            flex-direction: column;
            align-items: center;

            .text {
                font-family: var(--fmain);
                color: #FFF;
                font-weight: 500;
            }

            @media(max-width:1180px) {
                .f-32 {
                    font-size: 18rem;
                }

                .f-60 {
                    font-size: 42rem;
                }

                .f-18 {
                    font-size: 14rem;
                }
            }

            .cta-tel {
                margin-bottom: 23rem;
                width: auto;

                @media(max-width:1180px) {
                    margin-bottom: 19rem;
                }
            }

            .cta-contact {
                max-width: 543rem;
                width: 100%;

                @media(max-width:1180px) {
                    font-size: 32rem;
                }
            }
        }

        .col-img {
            max-width: 552rem;
            width: 100%;
            margin-top: auto;
        }
    }
}

.sliderarea {
    position: relative;
    padding-top: 120rem;

    @media(max-width:1180px) {
        padding-top: 40rem;

    }

    .sectit {
        position: absolute;
        right: calc(598 / 1920 * 100%);
        display: flex;
        flex-direction: row-reverse;
        align-items: flex-start;
        gap: 19rem;
        z-index: 10;

        .text {
            overflow: hidden;
            position: relative;
            padding: 15rem;
            font-family: var(--fmain);
            font-weight: var(--bold);
            font-size: 32rem;
            writing-mode: vertical-rl;
            color: transparent;
            background-color: transparent;

            @media(max-width:1180px) {
                font-size: 20rem;
            }
        }

        .text::before {
            content: "";
            position: absolute;
            z-index: 20;
            left: 0;
            top: -100%;
            bottom: 100%;
            right: 0;
            background: var(--cmain);
        }

        .text.active {
            animation-name: kf_c01a;
            animation-duration: 0s;
            animation-delay: 0.5s;
            animation-fill-mode: forwards;
        }

        .text.active::before {
            animation-name: kf_c01b;
            animation-duration: 1s;
            animation-fill-mode: forwards;
        }
    }





    .loop-wrap {
        width: 100%;
        height: 566rem;
        overflow: hidden;
        position: relative;

        @media(max-width:1180px) {
            height: 342rem;
            display: flex;
            align-items: center;
        }

        .loop-track {
            display: flex;
            align-items: center;
            gap: 100rem;
            height: 100%;
            width: max-content;
            animation: loopSlide 30s linear infinite;




            img {
                height: auto;
                flex-shrink: 0;
                object-fit: cover;

                @media(max-width:1180px) {
                    height: 159rem;
                    object-fit: contain;
                    width: 150rem;
                }
            }

            img.top {
                margin-bottom: auto;
            }

            img.bottom {
                margin-top: auto;
            }
        }
    }
}

@keyframes kf_c01a {
    100% {
        color: #fff;
        background-color: var(--cmain);
    }
}

@keyframes kf_c01b {
    0% {
        top: -100%;
        bottom: 100%;
    }

    50% {
        top: 0%;
        bottom: 0%;
    }

    100% {
        top: 100%;
        bottom: -100%;
    }
}


@keyframes loopSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.t_works {
    .w1728 {
        padding: 160rem 0;
    }

    .main {
        font-family: var(--fmain);
        font-weight: 400;
        font-size: 90rem;
        line-height: calc(122/98);
        letter-spacing: 0.5em;
        text-align: center;
        margin-bottom: 64rem;

        @media(max-width:1180px) {
            font-size: 64rem;
            margin-bottom: 60rem;
        }
    }

    .webgene-blog {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 96rem;
        margin-bottom: 64rem;

        @media(max-width:1180px) {
            display: flex;
            flex-direction: column;
            gap: 60rem;
        }

        .newsLink {
            position: relative;
            border-radius: 5px;
            background: #fff;
            border: 2px solid #1e4d3e;
            box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
            padding: 24rem 32rem 81rem;
            display: block;
            transition: .4s ease;
            width: 100%;

            .newsItemText {
                display: flex;
                gap: 24rem;
                align-items: center;
                margin-bottom: 8rem;

                .newsItemTime {
                    font-family: var(--fmain);
                    font-weight: 500;
                    font-size: 16px;
                    color: #000;
                }

                .newsItemCate {
                    border-radius: 3px;
                    background: var(--cmain);
                    color: #FFF;
                    font-family: var(--fmain);
                    font-weight: 500;
                    font-size: 16px;
                    color: #fff;
                    padding: 8rem 10rem;
                }
            }

            .newsDetailTit {
                font-family: var(--fmain);
                font-weight: 500;
                font-size: 18px;
                text-align: left;
                color: #1e4d3e;
                margin-bottom: 20rem;
            }

            .newsDetailImg {
                width: 100%;
                height: 226rem;
                margin-bottom: 20rem;
                overflow: hidden;

                .webgene-item-main-image {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: .8s ease;
                }
            }

            .newsDetailTxt {
                font-family: var(--fmain);
                font-weight: normal;
                font-size: 16px;
                text-align: left;
                color: #000;
            }
        }

        .newsLink::before {
            content: "";
            position: absolute;
            bottom: 0;
            right: 0;
            width: 160px;
            height: 40px;
            background: url(/system_panel/uploads/images/20251203164207123170.png);
            background-repeat: no-repeat;
            background-size: cover;
        }

        .newsLink:hover .newsDetailImg .webgene-item-main-image {
            transform: scale(1.2);

        }

    }
}


.morebtn {
    max-width: 389rem;
    padding: 9rem 40rem;
    margin: 0 auto;

    @media(max-width:1180px) {
        max-width: 100%;
        padding: 12rem 36rem;

        p {
            font-size: 20rem;
        }

        .arrow {
            width: 83rem;
        }
    }
}


.contents {
    .inner {
        padding-bottom: 120rem;
        display: flex;
        flex-direction: column;
        gap: 63rem;

        @media(max-width:1180px) {
            padding-bottom: 30rem;
            gap: 30rem;
            align-items: center;
        }
    }

    .wrapper {
        max-width: 1440rem;
        width: 90%;
        border-bottom: 1px solid #d1d1d1;


        .citem {
            justify-content: flex-end;
            margin-right: 86rem;

            @media(max-width:1180px) {
                flex-wrap: wrap;
                margin-right: auto;
                justify-content: center;
            }
        }
    }

    .wrapper.right {
        margin-left: auto;

        @media(max-width:1180px) {
            margin-right: auto;
        }

        .citem {
            justify-content: flex-start;
            margin-right: 0;
            margin-left: 86rem;

            @media(max-width:1180px) {
                flex-wrap: wrap;
                margin-right: auto;
                margin-left: auto;
                justify-content: center;
            }
        }
    }

    .citem {
        display: flex;
        align-items: flex-start;
        padding-bottom: 21rem;


        .side {
            writing-mode: sideways-lr;
            width: 40rem;
            font-family: var(--fmain);
            font-weight: normal;
            font-size: 28rem;
            color: #1e4d3e;
            margin-right: 6rem;

            @media(max-width:1180px) {
                font-size: 14rem;
            }
        }

        .col-img {
            max-width: calc(395 / 1440 * 100%);
            width: 100%;
            position: relative;
            z-index: 5;
            margin-right: 56rem;

            @media(max-width:1180px) {
                max-width: calc(331 / 400 * 100%);
                margin-right: 0;
                margin-bottom: 30rem;
            }

            img {
                width: 100%;
                height: auto;
            }
        }

        .col-text {
            display: flex;
            flex-direction: column;
            align-items: flex-start;

            @media(max-width:1180px) {
                align-items: center;
            }

            .item-tit {
                margin-bottom: 40rem;

                .main {
                    font-family: var(--fmain);
                    font-weight: normal;
                    font-size: 48rem;
                    line-height: calc(60/48);
                    letter-spacing: 0.5em;
                    text-align: left;
                    color: #1e4d3e;

                    @media(max-width:1180px) {
                        text-align: center;
                    }
                }
            }

            .desc {
                font-family: var(--fmain);
                font-weight: 500;
                line-height: calc(26/18);
                font-size: 18px;
                text-align: left;
                color: #1e4d3e;
                margin-bottom: 30rem;
            }

            .morebtn {
                padding: 8rem 32rem;
                margin-left: auto;
            }

            .morebtn.w360 {
                max-width: 360rem;
            }
        }
    }

    .citem.right {
        margin-left: auto;

        @media(max-width:1180px) {
            margin-right: auto;
        }
    }
}

.t_blog {
    background: #f5f5f5;

    .inner {
        padding: 80rem 0;
        display: flex;
        gap: 136rem;
        align-items: center;

        @media(max-width:1180px) {
            flex-direction: column;
            gap: 41rem;
        }

        .col-left {
            display: flex;
            flex-direction: column;
            gap: 41rem;
            align-items: flex-start;

            .main {
                font-size: 32rem;
                letter-spacing: 0.3em;
                font-weight: 300;
            }

            .morebtn {
                padding: 14rem 24rem;

                .arrow {
                    max-width: 81rem;
                }
            }
        }

        .col-right {
            flex: 1;

            .webgene-blog {
                display: flex;
                flex-direction: column;
                gap: 20rem;
            }

            .newsLink {
                display: flex;
                gap: 18rem;
                background: #fff;
                box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.57);
                padding: 23rem 32rem;
                position: relative;
                transition: .4s ease;

                @media(max-width:1180px) {
                    padding-bottom: 109rem;
                }

                .newsCatch {
                    max-width: 171rem;
                    width: 100%;
                    height: 115rem;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }

                .newsTextWrap {
                    max-width: 464rem;
                    width: 100%;

                    .newsCatch {
                        max-width: 171rem;
                        width: 100%;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }
                    }

                    .newsItemTime {
                        font-family: var(--fmain);
                        font-weight: var(--bold);
                        font-size: 14px;
                        text-align: left;
                        color: #1e4d3e;
                        margin-bottom: 8rem;
                    }

                    .newsItemTit {
                        font-family: var(--fmain);
                        font-weight: var(--bold);
                        font-size: 16px;
                        text-align: left;
                        color: #050505;
                        padding-left: 32rem;
                        position: relative;
                        margin-bottom: 10rem;
                    }

                    .newsItemTit::before {
                        content: "▶︎";
                        position: absolute;
                        top: 0;
                        bottom: 0;
                        margin: auto;
                        left: 0;
                        color: var(--cmain);
                    }

                    .newsItemTit {
                        font-family: var(--fmain);
                        font-weight: normal;
                        font-size: 14px;
                        text-align: left;
                        color: #050505;
                    }

                    .newsDetailTxt {
                        font-family: var(--fmain);
                        font-weight: normal;
                        font-size: 14px;
                        text-align: left;
                        color: #050505;
                    }

                    .txt-limit {
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        -webkit-line-clamp: 2;
                    }
                }


            }

            .newsLink::before {
                content: "";
                position: absolute;
                bottom: 0;
                right: 0;
                width: 160px;
                height: 40px;
                background: url(/system_panel/uploads/images/20251203164207123170.png);
                background-repeat: no-repeat;
                background-size: cover;
            }
        }
    }
}


.t_news {
    .inner {
        padding: 120rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;

        .col-head {
            margin-bottom: 40rem;

            .main {
                font-size: 32rem;
                letter-spacing: 0.3em;
                font-weight: 300;
            }
        }

        .col-body {
            display: flex;
            flex-direction: column;
            gap: 32rem;
            width: 100%;

            .newsItem {
                padding-bottom: 20rem;
                border-bottom: 1px solid #b5b5b5;

                .newsLink {
                    transition: .4s ease;

                    .newsTextWrap {
                        display: flex;
                        gap: 20rem;
                        align-items: center;

                        @media(max-width:1180px) {
                            flex-wrap: wrap;
                        }

                        .newsItemText {
                            display: flex;
                            gap: 20rem;
                            align-items: center;

                            .newsItemTime {
                                font-family: "M PLUS 1";
                                font-weight: var(--bold);
                                font-size: 14px;
                                text-align: left;
                                color: #1e4d3e;
                            }

                            .newsItemCate {
                                font-family: "M PLUS 1";
                                font-weight: 500;
                                font-size: 14px;
                                text-align: left;
                                color: #1e4d3e;
                                padding: 0 12rem;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                background: #fff;
                                border: 1px solid #1e4d3e;
                            }
                        }

                        .newsItemTit {
                            max-width: 570rem;
                            width: 100%;
                            font-family: "M PLUS 1";
                            font-weight: 500;
                            font-size: 16px;
                            text-align: left;
                            color: #050505;
                            overflow: hidden;
                            /* 溢れた部分を隠す */
                            text-overflow: ellipsis;
                            /* 溢れた部分を「...」にする */
                            white-space: nowrap;
                        }

                        .morebtn {

                            padding: 9rem 22rem;

                            p {
                                font-size: 16px;

                            }
                        }
                    }
                }
            }
        }
    }
}

/* 管理画面用 */
.gjs-dashed {}