@charset "utf-8";

.intro {
    border-bottom: 21rem solid var(--cmain);

    .inner {
        padding-top: 40rem;
        display: flex;
        flex-direction: column;
        gap: 32rem;

        @media(max-width:900px) {
            max-width: calc(350/400*100%);
            padding-top: 75rem;
            width: 100%;
        }

        .sechead {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20rem;

            @media(max-width:1180px) {
                gap: 6rem;
            }

            .deco {
                width: 34rem;
                height: auto;

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

            .title {
                text-align: center;

                .sub {
                    font-family: var(--fmain);
                    font-weight: 600;
                    font-size: 24rem;
                    color: #1e4d3e;

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

                .main {
                    font-family: var(--fmain);
                    font-weight: 600;
                    font-size: 32rem;
                    color: #1e4d3e;

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

        .trouble {
            position: relative;
            min-height: 417rem;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: center;

            @media(max-width:900px) {
                min-height: auto;
            }

        }

        .fuwa1 {
            left: 0;
            bottom: 67rem;

            @media(max-width:900px) {
                margin-right: auto;
                margin-left: 0;
            }
        }

        .fuwa2 {
            top: 0;
            left: 64rem;

            @media(max-width:900px) {
                margin-right: 0;
                margin-left: auto;
            }
        }

        .fuwa3 {
            top: 0;
            right: 64rem;

            @media(max-width:900px) {
                margin-right: auto;
                margin-left: 0;
            }
        }

        .fuwa4 {
            right: 0;
            bottom: 67rem;

            @media(max-width:900px) {
                margin-right: 0;
                margin-left: auto;
            }
        }

        .fuwa {
            max-width: 391rem;
            width: 100%;
            height: 175rem;
            position: absolute;
            display: flex;
            justify-content: center;
            align-items: center;
            background: url(/system_panel/uploads/images/20251203141622413097.png) no-repeat center/contain;

            @media(max-width:900px) {
                position: relative;
                inset: 0;
            }

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



        .mainimg {
            max-width: 346rem;
            width: 100%;
            height: auto;
            margin: auto auto 0;
        }

        .wrap {
            @media(max-width:900px) {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                width: 100%;
                gap: 11rem;
            }
        }
    }
}

.p-cta {
    .inner {
        display: flex;
        align-items: center;
        padding-bottom: 160rem;

        @media(max-width:900px) {
            flex-direction: column-reverse;
            gap: 5rem;
            max-width: calc(353/400*100%);
            width: 100%;
        }

        .col-text {
            margin-right: -48rem;
            position: relative;
            z-index: 10;

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

            .title {
                margin-bottom: 15rem;

                .main {
                    font-family: var(--fmain);
                    font-weight: 100;
                    font-size: 146rem;
                    line-height: calc(183/146);
                    text-align: left;
                    color: #1e4d3e;

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

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

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

                    }
                }
            }

            .cta-tel {
                margin-bottom: 22rem;

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

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

                    .f-20 {
                        font-size: 12px;
                        width: 100%;
                        text-align: right;
                    }
                }
            }

            .cta-contact {
                @media(max-width:1180px) {
                    .f-20 {
                        font-size: 24rem;
                    }
                }
            }
        }

        .col-img {
            position: relative;
            z-index: 5;
            max-width: 682rem;
            width: 100%;

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

            @media(max-width:900px) {
                width: 100%;
            }
        }

        .col-img::after {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
            background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);

            @media(max-width:900px) {
                background: linear-gradient(to top, #fff 0%, rgba(255, 255, 255, 0) 100%);
            }
        }
    }
}

.mainsectionA,
.mainsectionB {
    overflow: hidden;

    .w1440 {
        padding: 56rem 0 120rem;
        position: relative;

        @media(max-width:1180px) {
            padding: 60rem 0 80rem;
        }


        .p-title {
            margin-bottom: 64rem;

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

        .column {
            display: flex;
            gap: 80rem;
            align-items: center;

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

            .col-img {
                position: relative;
                max-width: 582rem;
                width: 100%;
                border-radius: 10px;

                img {
                    border-radius: 10px;
                }
            }

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

                @media(max-width:1180px) {
                    top: 10rem;
                    right: 10rem;
                }
            }

            .col-text {
                flex: 1;

                @media(max-width:900px) {
                    max-width: calc(323/390*100%);
                    width: 100%;
                }

                .list {
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 24rem;

                    .item {


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

                    .item-ttl {
                        display: flex;
                        gap: 7rem;
                        align-items: center;
                        margin-bottom: 10rem;

                        img {
                            width: 91rem;
                            height: auto;
                        }

                        .num {
                            font-family: var(--fmain);
                            font-weight: 500;
                            font-size: 42rem;
                            color: #1e4d3e;
                        }
                    }

                    .item-box {
                        border-radius: 10px;
                        background: #fff;
                        border: 4px solid #1e4d3e;
                        width: auto;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        gap: 21rem;
                        padding: 15rem;



                        .main {
                            font-family: var(--fmain);
                            font-weight: 600;
                            font-size: 32rem;
                            color: #1e4d3e;

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

                        .desc {
                            font-family: var(--fmain);
                            font-weight: 500;
                            font-size: 16px;
                            line-height: calc(30/16);
                            color: #000;

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

                    .item:nth-child(2n) {
                        margin-left: auto;
                        margin-right: 96rem;

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

    .w1440::before {
        content: "";
        position: absolute;
        background: url(/system_panel/uploads/images/20251203181038981813.png) no-repeat center/contain;
        width: 511rem;
        height: 1135rem;
        right: -320rem;
        top: 233rem;
        z-index: -1;

        @media(max-width:900px) {
            top: auto;
            bottom: 0;
            width: 195rem;
            height: 432rem;
            right: 0;
        }
    }
}

.mainsectionA.sentei .w1440::before {
    content: "";
    position: absolute;
    background: url(/system_panel/uploads/images/20251203185037667252.png) no-repeat center/contain;
    width: 1449rem;
    height: 767rem;
    right: -622rem;
    top: 177rem;
    z-index: -1;
}

.mainsectionB {
    .w1440 {
        @media(max-width:900px) {
            max-width: none;
            width: 100%;
        }

        .column {
            flex-direction: column;

            .col-img {
                max-width: 100%;

                @media(max-width:900px) {
                    border-radius: 0;

                    img {
                        border-radius: 0;
                    }
                }
            }

            @media(max-width:900px) {
                .col-img::before {
                    border-radius: 0;
                }
            }

            .col-text {
                @media(max-width:900px) {
                    max-width: none;
                    width: 90%;
                    margin: 0 auto;
                }

                .list {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    grid-template-rows: auto;
                    gap: 20rem 80rem;
                    justify-content: center;

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

                    .item {
                        max-width: 100%;
                    }

                    .item:nth-child(2n) {
                        margin: 0;
                    }
                }
            }
        }
    }
}

.mainsectionB.doboku .w1440::before {
    content: "";
    position: absolute;
    background: url(/system_panel/uploads/images/20251203190445783226.png) no-repeat center/contain;
    width: 770rem;
    height: 426rem;
    right: -387rem;
    top: auto;
    bottom: 0;
    z-index: -1;

    @media(max-width:900px) {
        width: 462rem;
        height: 250rem;
        right: -111rem;
    }
}

.mainsectionB.gaikou .w1440::before {
    content: "";
    position: absolute;
    background: url(/system_panel/uploads/images/20251203192432820702.png) no-repeat center/contain;
    width: 818rem;
    height: 568rem;
    right: -651rem;
    top: auto;
    bottom: 0;
    z-index: -1;
}

.voice {
    .sechead {
        background-color: var(--cmain);
        padding: 40rem 0;

        @media(max-width:900px) {
            padding: 20rem 0;
        }

        .p-title {
            margin-bottom: 0;

            .main,
            .sub {
                color: #FFF;
            }
        }
    }

    .secbody {
        .w1344 {
            display: flex;
            gap: 27rem;
            padding: 40rem 0 80rem;

            @media(max-width:900px) {
                flex-direction: column-reverse;
                align-items: center;
                padding: 60rem 0 80rem;
            }

            .col-img {
                max-width: 474rem;
                width: 100%;

                @media(max-width:900px) {
                    max-width: 192rem;
                }
            }

            .col-text {
                display: flex;
                flex-direction: column;
                gap: 32rem;
                flex: 1;

                .item {
                    max-width: 746rem;
                    width: auto;
                    border-radius: 10px;
                    background: #fff;
                    border: 4px solid #1e4d3e;
                    padding: 20rem 40rem;

                    .desc {
                        font-family: "M PLUS 1";
                        font-weight: 500;
                        font-size: 20rem;
                        line-height: calc(29/20);
                        text-align: left;
                        color: #000;
                    }
                }

                .item:last-child {
                    margin-left: auto;
                }
            }
        }
    }
}

.cases {
    .w1536 {
        text-align: center;
        padding: 80rem 0 120rem;

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

                .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: 135px;
                height: 36px;
                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;
            width: 100%;
            margin: 0 auto;
            padding: 8rem 40rem;
            justify-content: flex-start;

            p {
                font-family: var(--fmain);
                font-weight: var(--bold);
                font-size: 25rem;

                color: #fff;
            }
        }
    }
}