/* ==============================
   SP CSS  max-width: 767px
   web_cre / HP制作ページ
   サイドマージン統一: width:92% margin:0 auto / padding:0 4%
   フォントサイズ統一: vw単位
============================== */

:root {
    --c-main: #2E405A;
    --c-sub1: #4AC3BF;
    --c-sub2: #8BC34A;
    --c-sub3: #BEEB9F;
    --c-sub4: #FFEF79;
    --sp-side: 4%;
    --sp-inner: 92%;
}

main {
    font-size: 3.8vw;
    overflow: hidden;
}

/* ==================
   section.hv
================== */
section.hv {
    width: 100%;

    .wrap {
        img.pc_catch {
            display: none;
        }

        img.sp {
            display: block;
            width: 100%;
        }
    }
}

/* ==================
   section.copy
================== */
section.copy {
    background: url(../img/hp_bg_img001.png) no-repeat,
        linear-gradient(to right, #EEF5E2 0%, #EEF5E2 30%, #FAF8F3 30.1%, #FAF8F3 70%, #EEF5E2 70.1%, #EEF5E2 100%);
    background-size: 100% auto;
    background-position: top;
    padding: 0 var(--sp-side) 8vw;

    div.secinner {
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 0;
        border-radius: 16px;
        border: 3px solid var(--c-sub1);
        background: #fff;
        overflow: hidden;
        filter: drop-shadow(4px 6px 0px rgba(0, 0, 0, 0.12));

        div.titarea {
            flex: 0 0 auto;
            width: 100%;
            background: var(--c-sub1);
            color: #fff;
            position: relative;
            padding: 6vw 5%;
            display: flex;
            flex-direction: column;
            justify-content: center;

            h2 {
                font-size: 5vw;
                font-weight: normal;
                line-height: 1;
                color: #fff;

                span {
                    display: block;
                    font-size: 8.5vw;
                    font-weight: bold;
                    line-height: 1.4;
                    margin-top: .3em;
                }
            }

            &:before {
                content: none;
            }
        }

        div.textarea {
            flex: 0 0 auto;
            width: 100%;
            padding: 6vw 5%;

            p {
                line-height: 1.9;
                color: var(--c-main);
                font-size: 3.8vw;
            }
        }
    }
}

/* ==================
   section.secB
================== */
section.secB {
    background: linear-gradient(to right, #EEF5E2 0%, #EEF5E2 30%, #FAF8F3 30.1%, #FAF8F3 70%, #EEF5E2 70.1%, #EEF5E2 100%);
    padding: 8vw 0;

    div.secinner {
        width: var(--sp-inner);
        margin: 0 auto;
        text-align: center;

        figure {
            margin: 0;
            width: 100%;

            img.pc-only {
                display: none;
            }

            img {
                width: 100%;
            }
        }

        div.text {
            background: var(--c-sub4);
            border-radius: 20px;
            padding: 2em 1em;

            img {
                width: 100%;
            }
        }
    }
}

/* ==================
   section.secC
================== */
section.secC {
    background: linear-gradient(to bottom, #55C5B7 0%, #7CC65A 100%);
    padding: 10vw 0;
    text-align: center;

    h2 {
        text-align: center;
        color: #fff;
        font-size: 7vw;
        font-weight: 700;
        margin: 0 auto 6vw;
        padding: 0 12%;
        line-height: 1.6;
        position: relative;
        display: inline-block;

        &::before,
        &::after {
            content: "";
            display: block;
            position: absolute;
            top: .2em;
            width: 10vw;
            height: 100%;
            background: url(../img/icon_hp_h2.png) no-repeat;
            background-size: contain;
            opacity: 0.9;
        }

        &::before {
            left: 0;
        }

        &::after {
            right: 0;
            transform: scaleX(-1);
        }
    }

    div.list {
        width: var(--sp-inner);
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4vw;

        div.item {
            width: 100%;
            background: #fff;
            border-radius: 12px;
            padding: 5vw 4%;

            img {
                display: block;
                height: 28vw;
                margin: 0 auto 3vw;
            }

            h3 {
                color: var(--c-sub1);
                font-size: 5vw;
                line-height: 1.4;
                margin: 0 0 3vw;
                text-align: center;
                font-weight: 700;
            }

            p {
                color: var(--c-main);
                line-height: 1.8;
                font-size: 3.8vw;
                margin: 0;
                text-align: left;
            }
        }
    }
}

/* ==================
   section.secD
================== */
section.secD {
    background: url(../img/hp_bg_img002.png) no-repeat,
        url(../img/hp_bg_img003.png) no-repeat;
    background-position: top, bottom;
    background-size: 100% auto, 100% auto;

    .secwrap {
        padding: 10vw 0;

        h2 {
            font-size: 7vw;
            text-align: center;
            margin: 0 auto;
            padding: 0 var(--sp-side);
        }

        div.secinner {
            width: var(--sp-inner);
            margin: 0 auto;
            padding: 6vw 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4vw;

            figure {
                width: 100%;
                margin: 0;

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

/* ==================
   section.secE
================== */
section.secE {
    background: #fff;
    margin-top: -1px;
    padding: 10vw 0 15vw;
    margin-bottom: -20px;

    h2 {
        font-size: 7vw;
        text-align: center;
        margin: 0 auto;
        padding: 0 var(--sp-side);
    }

    div.comme {
        width: var(--sp-inner);
        margin: 4vw auto;
        text-align: center;

        p {
            font-size: 3.8vw;
            line-height: 1.9;
        }
    }

    div.tableimg {
        text-align: center;
        width: var(--sp-inner);
        margin: 0 auto;

        img.pc-only {
            display: none;
        }

        img.sp-only {
            display: block;
            width: 100%;
            margin: 0 auto;
        }
    }
}

/* ==================
   section.secF
================== */
section.secF {
    background: url(../img/hp_bg_img005.png) no-repeat;
    background-size: cover;
    background-position: top;
    padding: 10vw 0 14vw;

    h2 {
        font-size: 7vw;
        text-align: center;
        margin: 0 auto 6vw;
        padding: 0 var(--sp-side);
    }

    div.secinner {
        width: var(--sp-inner);
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 10vw;

        div.item {
            width: 100%;
            display: flex;
            flex-direction: column;

            div.num {
                font-size: 0;
                line-height: 1;
                margin-bottom: 2vw;

                &::before {
                    content: "CASE";
                    display: block;
                    font-family: "Prompt", sans-serif;
                    font-size: 5vw;
                    font-weight: 600;
                    line-height: 1;
                    margin-bottom: -1vw;
                }

                span {
                    display: block;
                    font-family: "Prompt", sans-serif;
                    font-size: 14vw;
                    font-weight: 600;
                    line-height: .9;
                }
            }

            h3 {
                font-size: 5.5vw;
                line-height: 1.4;
                font-weight: 700;
                margin: 0 0 4vw;
            }

            div.voice {
                background: #fff;
                border-radius: 16px;
                padding: 5vw 4%;
                margin-bottom: 4vw;
                box-shadow: 0 4px 16px rgba(46, 64, 90, 0.06);

                h4 {
                    font-size: 4.5vw;
                    font-weight: 700;
                    margin-bottom: 2vw;
                }

                p {
                    font-size: 3.8vw;
                    line-height: 1.8;
                }
            }

            div.wrap {
                display: flex;
                flex-direction: column;
                gap: 3vw;

                &::after {
                    display: none;
                }

                div.plan,
                div.time {
                    background: #fff;
                    border-radius: 14px;
                    padding: 4vw 4%;

                    h4 {
                        font-size: 4.5vw;
                        font-weight: 700;
                        margin-bottom: 1.5vw;
                    }

                    p {
                        font-size: 3.8vw;
                        font-weight: 700;
                        line-height: 1.5;
                    }
                }

                div.end {
                    color: #fff;
                    border-radius: 16px;
                    padding: 5vw 4%;

                    h4 {
                        font-size: 4.5vw;
                        font-weight: 700;
                        margin-bottom: 2vw;
                    }

                    p {
                        font-size: 3.8vw;
                        line-height: 1.85;
                    }
                }
            }
        }

        div.item:nth-of-type(1) {
            div.num {
                &::before,
                span {
                    color: var(--c-sub2);
                }
            }

            div.wrap {
                div.plan h4,
                div.time h4 {
                    color: var(--c-sub2);
                }

                div.end {
                    background: #8FCA45;
                }
            }
        }

        div.item:nth-of-type(2) {
            div.num {
                &::before,
                span {
                    color: var(--c-sub1);
                }
            }

            div.wrap {
                div.plan h4,
                div.time h4 {
                    color: var(--c-sub1);
                }

                div.end {
                    background: var(--c-sub1);
                }
            }
        }
    }
}

/* ==================
   section.secG
================== */
section.secG {
    background: #FAF8F3;
    padding: 10vw 0 12vw;

    h2 {
        font-size: 7vw;
        text-align: center;
        margin: 0 auto 4vw;
        padding: 0 var(--sp-side);
        font-weight: 700;
    }

    div.text {
        text-align: center;
        margin-bottom: 6vw;
        padding: 0 var(--sp-side);

        p {
            font-size: 3.8vw;
            line-height: 1.8;
            margin: 0;
        }
    }

    div.inner {
        width: var(--sp-inner);
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 6vw;

        div.item {
            width: 100%;
            border-radius: 20px;
            padding: 14vw 4% 8vw;
            position: relative;
            display: flex;
            flex-direction: column;

            div.en {
                position: absolute;
                top: 0;
                left: 0;
                background: #3A3D43;
                color: #fff;
                font-family: "Prompt", sans-serif;
                font-size: 7vw;
                font-weight: 500;
                line-height: 1;
                padding: 2vw 6% 2vw 5%;
                border-radius: 20px 0 20px 0;
            }

            div.plan {
                font-size: 8.5vw;
                line-height: 1.2;
                font-weight: 700;
                text-align: center;
                margin: 2vw 0 4vw;
            }

            div.sub {
                background: #fff;
                border-radius: 10px;
                padding: 3vw 3%;
                text-align: center;
                font-size: 4vw;
                font-weight: 700;
                line-height: 1.4;
                margin-bottom: 4vw;
            }

            div.comme {
                font-size: 3.8vw;
                line-height: 1.85;
                margin-bottom: 5vw;
            }

            a.btn {
                display: block;
                width: 100%;
                max-width: 240px;
                margin: 0 auto;
                background: #3A3D43;
                color: #fff;
                font-size: 4vw;
                font-weight: 700;
                text-align: center;
                padding: 3.5vw 4%;
                border-radius: 10px;
                text-decoration: none;
                position: relative;

                &::after {
                    content: "";
                    position: absolute;
                    top: 50%;
                    right: 4%;
                    width: 8px;
                    height: 8px;
                    border-top: 2px solid #fff;
                    border-right: 2px solid #fff;
                    transform: translateY(-50%) rotate(45deg);
                }
            }
        }

        div.item:nth-of-type(1) {
            background: #ADE08F;

            div.en { color: var(--c-sub3); }
            div.plan { color: var(--c-main); }
            div.sub { color: #2F3E4E; }
        }

        div.item:nth-of-type(2) {
            background: var(--c-sub1);
            color: #fff;

            div.en { color: var(--c-sub1); }
            div.plan,
            div.comme { color: #fff; }
            div.sub { color: var(--c-sub1); }
        }

        div.item:nth-of-type(3) {
            background: #8CC84A;

            div.en { color: var(--c-sub2); }
            div.plan { color: #fff; }
            div.sub { color: var(--c-sub2); }
        }
    }
}

/* ==================
   section.c-faq
================== */
section.c-faq {
    padding: 16vw 0;
    background: #fff;

    div.inner {
        width: var(--sp-inner);
        margin: 0 auto;

        div.c-sec-ttl {
            span.c-sec-ttl__icon {
                border: 3px solid var(--c-sub2);

                &:after {
                    background-color: var(--c-sub2);
                }
            }

            div.c-sec-ttl__text {
                p.c-sec-ttl__ja {
                    color: var(--c-sub2);
                }
            }
        }

        div.c-faq__content.js-fade {
            div.c-faq__item {
                border-bottom: 2px solid #DDEFE4;

                p.c-faq__q.text-blue {
                    color: var(--c-sub2);
                    font-size: 4vw;
                }

                p.c-faq__a {
                    font-size: 3.8vw;
                    line-height: 1.9;
                }
            }
        }
    }
}
