@charset "UTF-8";

/* 特長 ===================================================== */
/* ========================================================= */
/* 読み込み ================================================= */

/* 共通 */
@import url("./common.css");

/* 読み込み ================================================= */
/* ========================================================= */
/* ID ====================================================== */

/* body id="feature" */
#feature{

/* ID ====================================================== */
/* ========================================================= */
/* 項目 =====================================================

    TOP
        メインイメージ
        一覧

============================================================ */
/* ========================================================= */
/* TOP ===================================================== */

    .contents{
        padding-top: 0;

        /* メインイメージ ----------------------------------- */
        .mainImg{
            display: grid;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: var(--mainImg-height-Pc);
            text-align: center;
            background-image: linear-gradient(rgba(var(--mainImg-background-RGBa)), rgba(var(--mainImg-background-RGBa))), url(../img/feature/main_img.jpg);
            background-position: top center;
            background-repeat: no-repeat;
            background-size: 1920px;
            background-attachment: fixed;

            .boxArea{

                p{
                    color: #FFF;
                    letter-spacing: var(--letter-spacing-01);
                    text-align: center;
                }

            }

            @container ctnHtml (width <= 1000px){
                height: var(--mainImg-height-Tab);
                background-size: 1500px;

                .boxArea{

                    p{
                        width: 100%;
                    }

                }

            }

            @container ctnHtml (width <= 600px){
                display: grid;
                justify-content: center;
                align-items: center;
                height: var(--mainImg-height-Sp);
                background-image: linear-gradient(rgba(var(--mainImg-background-RGBa)), rgba(var(--mainImg-background-RGBa))), url(../img/feature/main_img_sp.jpg);
                background-size: 100% auto;

                .boxArea{

                    p{
                        width: var(--mainImg-width-Sp);
                        text-align: justify;
                        margin: 0 auto;
                    }

                }

            }

        }

        /* 一覧 ---------------------------------------------- */
        .feature{
            padding-top: var(--titleBig-marginTop-Pc);

            .boxArea{
                width: min(100%, var(--width-M));

                /* タイトル */
                .featureTitle{
                    position: relative;
                    display: grid;
                    gap: 0 50px;
                    grid-template-columns: 220px auto;
                    justify-content: center;
                    align-items: center;
                    z-index: 10;

                    /* 数字 */
                    &::after{
                        position: absolute;
                        content: "00";
                        bottom: 30px;
                        right: 50px;
                        font-family: var(--font-family-Serif);
                        font-size: 200px;
                        font-weight: 500;
                        line-height: 1;
                        font-style: italic;
                        color: var(--color-Design-Green02);
                        z-index: -1;
                    }

                    h3{
                        position: relative;
                        overflow: hidden;
                        font-size: 24px;
                        font-weight: 500;
                        line-height: 1.4;
                        color: var(--color-Design-Green);
                        text-align: center;
                        padding-bottom: 130px;
                        background-position: bottom 20px center;
                        background-repeat: no-repeat;
                        background-size: 40%;
                        border-top: 7px solid var(--color-Design-Green);
                        border-bottom: 1px solid var(--color-Design-Green);
                        z-index: 10;

                        /* 半径丸 */
                        &::after{
                            position: absolute;
                            content: "";
                            top: -60px;
                            left: 50%;
                            width: 100px;
                            aspect-ratio: 1/1;
                            background-color: var(--color-Design-Green);
                            border-radius: 50%;
                            transform: translateX(-50%);
                            z-index: -1;
                        }

                        .featureTitleNo{
                            display: block;
                            font-size: 18px;
                            color: #FFF;
                            text-align: center;
                            margin-bottom: 25px;
                        }

                        & + p{
                            margin-top: 0;
                            text-align: justify;
                        }

                    }

                }

                /* 一覧 */
                .featureList{
                    display: grid;
                    gap: 0 30px;
                    grid-template-columns: 1fr 1fr 1fr;
                    justify-content: space-between;
                    align-items: flex-start;
                    margin-top: 50px;

                    /* カード */
                    .featureArea{
                        width: 100%;
                        height: 100%;
                        background-color: #FFF;

                        .featureItem{
                            display: grid;
                            justify-content: center;
                            align-items: center;
                            height: 100px;
                            color: #FFF;
                            text-align: center;
                            padding-left: 20px;
                            padding-right: 20px;
                            background-color: var(--color-Design-Green);

                            h4{
                                font-size: 24px;
                                font-weight: 500;
                                line-height: 1.2;
                            }

                        }

                        .featureDetail{
                            padding: 25px 20px 30px;

                            p,
                            li{
                                text-align: justify;
                            }

                        }

                    }

                    /* CX（矢印付き）*/
                    &.featureListCX{
                        gap: 0 40px;

                        .featureArea{
                            position: relative;

                            /* 三角アイコン */
                            &::after{
                                position: absolute;
                                content: "";
                                top: 50%;
                                right: -50px;
                                border: 20px solid transparent;
                                border-left: 20px solid var(--color-Design-Green02);
                                transform: translateY(-50%);
                                /* transform: translateX(-50%) rotate(90deg); */
                            }

                            &:last-child{

                                &::after{
                                    display: none;
                                }

                            }

                            .featureItem{
                                display: block;
                                height: unset;
                                padding-top: 10px;
                                padding-bottom: 20px;

                                h4{
                                    font-size: 40px;
                                    font-weight: 400;
                                    line-height: 1.6;
                                }

                                .era{
                                    width: 80%;
                                    color: var(--color-Design-Green);
                                    margin: 0 auto;
                                    padding: 1px 10px;
                                    background-color: #FFF;
                                    border-radius: 999px;

                                    & + p{
                                        margin-top: 10px;
                                    }

                                }

                            }

                        }

                    }

                }

                /* サポート */
                .featureSupport{
                    clear: both;
                    overflow: hidden;
                    display: grid;
                    gap: 0 50px;
                    grid-template-columns: auto 60%;
                    justify-content: center;
                    align-items: center;
                    width: 100%;
                    margin-top: 50px;
                    padding: 20px 50px;
                    background-color: var(--color-Design-Gray03);

                    p{
                        font-weight: 500;
                        color: var(--color-Design-Green);
                        text-align: center;
                    }

                    img{
                        width: 100%;
                        aspect-ratio: 5/2;
                        object-fit: contain;
                        object-position: center;
                    }

                }

                /* 解決 */
                .featureSolution{
                    width: 80%;
                    font-size: 24px;
                    font-weight: 400;
                    line-height: 1.4;
                    color: var(--color-Design-Green);
                    text-align: justify;
                    margin: 70px auto 0;
                    padding: 25px 20px 10px 120px;
                    background-image: url(../img/feature/icon_it.svg);
                    background-position: center left;
                    background-repeat: no-repeat;
                    background-size: 100px;
                }

            }

            @container ctnHtml (width <= 1000px){
                padding-top: var(--mainImg-marginBottom-Tab);

                .boxArea{

                    /* タイトル */
                    .featureTitle{
                        gap: 0 40px;
                        grid-template-columns: 200px auto;
                        width: min(100%, 750px);
                        margin: 0 auto;

                        /* 数字 */
                        &::after{
                            bottom: 20px;
                            right: 30px;
                            font-size: 180px;
                        }

                        h3{
                            font-size: 22px;
                            padding-bottom: 110px;
                            background-position: bottom 15px center;
                            background-size: 40%;

                            /* 半径丸 */
                            &::after{
                                top: -50px;
                                width: 90px;
                            }

                            .featureTitleNo{
                                font-size: 16px;
                                margin-bottom: 25px;
                            }

                        }

                    }

                    /* 一覧 */
                    .featureList{
                        gap: 30px 0;
                        grid-template-columns: 1fr;
                        grid-template-rows: auto auto auto;
                        grid-auto-flow: column;
                        width: min(100%, 750px);
                        margin: 50px auto 0;

                        /* カード */
                        .featureArea{
                            display: grid;
                            gap: 0;
                            grid-template-columns: 250px auto;
                            justify-content: flex-start;
                            align-items: center;
                            width: 100%;

                            .featureItem{

                                h4{
                                    font-size: 20px;
                                }

                            }

                            .featureDetail{
                                padding: 0 30px 0 25px;
                            }

                        }

                        /* CX（矢印付き）*/
                        &.featureListCX{
                            gap: 50px 0;

                            .featureArea{
                                position: relative;

                                /* 三角アイコン */
                                &::after{
                                    position: absolute;
                                    content: "";
                                    top: unset;
                                    bottom: -50px;
                                    right: unset;
                                    left: 110px;
                                    border: 15px solid transparent;
                                    border-left: 15px solid var(--color-Design-Green02);
                                    /* transform: translateX(-50%); */
                                    transform: rotate(90deg);
                                }

                                .featureItem{
                                    height: 100%;
                                    padding-top: 10px;
                                    padding-bottom: 20px;

                                    h4{
                                        font-size: 30px;
                                    }

                                    .era{
                                        width: 80%;
                                        padding: 0;

                                        & + p{
                                            margin-top: 10px;
                                        }

                                    }

                                }

                            }

                        }

                    }

                    /* サポート */
                    .featureSupport{
                        gap: 0 40px;
                        grid-template-columns: auto 55%;
                        margin-top: 40px;
                        padding: 20px 20px;
                    }

                    /* 解決 */
                    .featureSolution{
                        width: min(85%, 600px);
                        font-size: 20px;
                        margin-top: 40px;
                        padding: 25px 20px 10px 120px;
                        background-size: 90px;
                    }

                }

            }

            @container ctnHtml (width <= 600px){
                padding-top: var(--mainImg-marginBottom-Sp);

                .boxArea{

                    /* タイトル */
                    .featureTitle{
                        gap: 3vh 0;
                        grid-template-columns: 1fr;
                        grid-template-rows: 1fr auto;
                        grid-auto-flow: column;
                        width: 100%;
                        margin: 0 auto;

                        /* 数字 */
                        &::after{
                            bottom: -20px;
                            right: 30px;
                            font-size: 150px;
                        }

                        h3{
                            width: 65%;
                            font-size: 22px;
                            margin: 0 auto;
                            padding-bottom: 110px;
                            background-position: bottom 15px center;
                            background-size: 35%;

                            /* 半径丸 */
                            &::after{
                                top: -55px;
                                width: 90px;
                            }

                            .featureTitleNo{
                                font-size: 16px;
                                margin-bottom: 25px;
                            }

                            & + p{
                                margin-top: 3vh;
                            }

                        }

                    }

                    /* 一覧 */
                    .featureList{
                        display: grid;
                        gap: 2vh 0;
                        grid-template-columns: 1fr;
                        grid-template-rows: auto auto auto;
                        grid-auto-flow: column;
                        width: 100%;
                        margin: 5vh auto 0;

                        /* カード */
                        .featureArea{
                            display: grid;
                            gap: 0;
                            grid-template-columns: 130px auto;
                            justify-content: flex-start;
                            align-items: center;
                            width: 100%;

                            .featureItem{
                                height: 100%;
                                padding: 10px 0;

                                h4{
                                    font-size: 16px;
                                    font-weight: 500;
                                    line-height: 1.2;
                                }

                            }

                            .featureDetail{
                                padding: 10px 20px;
                            }

                        }

                        /* CX（矢印付き）*/
                        &.featureListCX{
                            gap: 40px 0;
                            width: 80%;

                            .featureArea{
                                position: relative;
                                gap: 0 0;
                                grid-template-columns: 1fr;
                                grid-template-rows: auto auto auto;
                                grid-auto-flow: column;

                                /* 三角アイコン */
                                &::after{
                                    position: absolute;
                                    content: "";
                                    top: unset;
                                    bottom: -40px;
                                    right: unset;
                                    left: 50%;
                                    border: 12px solid transparent;
                                    border-left: 12px solid var(--color-Design-Green02);
                                    transform: translateX(-50%) rotate(90deg);
                                }

                                .featureItem{
                                    height: auto;
                                    padding-top: 5px;
                                    padding-bottom: 15px;

                                    h4{
                                        font-size: 30px;
                                    }

                                    .era{
                                        width: 50%;
                                        font-size: 12px;
                                        padding: 0 0 1px;

                                        & + p{
                                            margin-top: 10px;
                                        }

                                    }

                                }

                                .featureDetail{
                                    padding: 15px 20px 20px 20px;
                                }

                            }

                        }

                    }

                    /* サポート */
                    .featureSupport{
                        clear: both;
                        overflow: hidden;
                        display: grid;
                        gap: 2vh 0;
                        grid-template-columns: 1fr;
                        grid-template-rows: auto auto;
                        grid-auto-flow: column;
                        justify-content: center;
                        align-items: center;
                        width: 100%;
                        margin-top: 5vh;
                        padding: 2vh 10px 2vh 15px;
                        background-color: var(--color-Design-Gray03);
                    }

                    /* 解決 */
                    .featureSolution{
                        width: 100%;
                        font-size: 17px;
                        text-align: center;
                        margin-top: 7vh;
                        padding: 70px 0 0;
                        background-position: top center;
                        background-size: 70px;

                    }

                }

            }

            &.no1{

                .boxArea{

                    /* タイトル */
                    .featureTitle{

                        /* 数字 */
                        &::after{
                            content: "01";
                            bottom: 10px;
                        }

                        h3{
                            padding-bottom: 100px;
                            background-image: url(../img/common/cx3.svg);
                            background-size: 60%;
                        }

                        @container ctnHtml (width <= 1000px){

                            &::after{
                                bottom: -10px;
                            }

                            h3{
                                padding-bottom: 80px;
                                background-size: 55%;
                            }

                        }

                        @container ctnHtml (width <= 600px){

                            h3{
                                padding-bottom: 85px;
                                background-size: 50%;
                            }

                        }

                    }

                }

            }

            &.no2{

                .boxArea{

                    /* タイトル */
                    .featureTitle{

                        /* 数字 */
                        &::after{
                            content: "02";
                        }

                        h3{
                            background-image: url(../img/feature/feature2_icon.svg);
                        }

                    }

                }

            }

            &.no3{

                .boxArea{

                    /* タイトル */
                    .featureTitle{

                        /* 数字 */
                        &::after{
                            content: "03";
                        }

                        h3{
                            background-image: url(../img/feature/feature3_icon.svg);
                        }

                    }

                }

            }

        }

    }

/* 共通 ===================================================== */
/* ========================================================= */

}