@charset "utf-8";

/*--------------------------------------------------
 KV
--------------------------------------------------*/
.kv {
    position: relative;
    padding-top: 64px; /* 固定ヘッダーの高さ-1px */

    /* 猫のイラスト　07 */
    .content_cat_box-07_pc {
        position: absolute;
        bottom: -13%;
        left: 19%;
        width: 13vw;
        max-width: 195px;
    }
}



/*--------------------------------------------------
 メインコンテンツ
--------------------------------------------------*/
.main_container {
    .main_container_bg {
        background-image: url(../img/bg-pc.jpg);
        background-position: 50% 0;
        background-size: cover;
        background-repeat: repeat-y;
        padding-block: 8rem;
        padding-inline: 50px;
    }
    @media screen and (width <= 768px) {
        .main_container_bg {
            padding-inline: 0;
        }
    }

    /* 表のコンテンツ */
    .content_wrap {
        width: 100%;
        max-width: var(--width-primary);
        margin-inline: auto;

        /* 見出し */
        .content_heading_h02 {
            color: var(--color-blue-primary);
            text-align: center;
            font-size: 40px;
            font-style: normal;
            font-weight: 700;
            line-height: 1.5;
            letter-spacing: 0.05em;

            /* アンダーバー */
            &.content_heading_under_bar {
                position: relative;

                &::before {
                    content: "";
                    width: 2em;
                    height: 2px;
                    background-color: #F38F9A;
                    position: absolute;
                    bottom: -0.2em;
                    left: 50%;
                    translate: -50% 0;
                }
            }
        }
        @media screen and (width <= 768px) {
            .content_heading_h02 {
                font-size: min(7vw, 40px);
            }
        }

        .content_app_box {
            background-color: #fef4f5;
            width: 100%;
            max-width: 756px;
            margin-inline: auto;
            margin-top: 4rem;
            padding: 4rem;

            .content_heading_h03 {
                color: #333;
                text-align: center;
                font-size: 20px;
                font-style: normal;
                font-weight: 700;
                line-height: 1.5;
                letter-spacing: 0.05em;
                position: relative;
                width: fit-content;
                margin-inline: auto;
                padding: 0.2rem;
                border-bottom: 1px solid #000;

                &::before {
                    content: "";
                    width: 20px;
                    height: 20px;
                    background-color: #000;
                    /* background-color: red; */
                    clip-path: polygon(0 0, 100% 0, 0 100%);
                    position: absolute;
                    bottom: -0.98em;
                    left: 50%;
                    translate: -50% 0;
                    z-index: 10;
                }

                &::after {
                    content: "";
                    width: 20px;
                    height: 20px;
                    background-color: #fef4f5;
                    clip-path: polygon(0 0, 100% 0, 0 100%);
                    position: absolute;
                    bottom: -0.98em;
                    left: 50%;
                    translate: -56% 0;
                    z-index: 20;
                }
            }

            .app_badge_wrap {
                position: relative;
                margin-top: 2rem;

                &.remit_grid {
                    display: grid;
                    grid-template-columns: auto auto;
                    column-gap: 1rem;
                    justify-content: center;
                }
                @media screen and (width <= 1024px) {
                    &.remit_grid {
                        display: grid;
                        grid-template-columns: auto auto;
                        grid-template-rows: auto auto;
                        column-gap: 1rem;
                        row-gap: 0;
                        justify-content: center;
                        grid-template-areas:
                        "item-01 item-02"
                        "item-03 item-03";

                        .app_badge_01 {
                            grid-area: item-01;
                        }
                        .app_badge_02 {
                            grid-area: item-02;
                        }
                        .content_img_box_02_sp {
                            grid-area: item-03;
                        }
                    }
                }

                .app_badge_item {
                    max-height: 42px;
                }
            }
        }
        @media screen and (width <= 768px) {
            .content_app_box {
                padding: 20px;
            }
        }

        .content_box {
            margin-top: 2rem;

            &.content_box_sp {
                padding-inline: 20px;
            }

            &.remit_grid {
                display: grid;
                grid-template-columns: 1fr auto;
                column-gap: 2rem;

                .img_wrap {
                    align-self: center;
                    width: 100%;
                    max-width: 223px; 
                }

                .img_wrap_02 {
                    align-self: flex-end;
                    width: 100%;
                    max-width: 194px;
                }
                @media screen and (width <= 1024px) {
                    .img_wrap_02 {
                        margin-top: 4rem;
                        margin-inline: auto;
                        width: 100%;
                        max-width: 194px;
                    }
                }
            }

            .graph_wrap {
                &.remit_grid {
                    display: grid;
                    grid-template-columns: auto 1fr;
                    grid-template-rows: auto auto auto auto auto auto auto auto;
                    grid-template-areas:
                    "item-01 item-02"
                    "item-03 item-04"
                    "item-05 item-06"
                    "item-07 item-08"
                    "item-09 item-09"
                    "item-10 item-11"
                    "item-12 item-12";
                }

                &.remit_grid_02 {
                    margin-top: 3rem;
                    display: grid;
                    grid-template-columns: auto 1fr;
                    grid-template-rows: auto auto auto auto;
                    grid-template-areas:
                    "item-01 item-02"
                    "item-03 item-04"
                    "item-05 item-06"
                    "item-07 item-08";
                }
            }

            .graph_heading {
                color: #FFF;
                text-align: center;
                font-size: 20px;
                font-style: normal;
                font-weight: 700;
                line-height: 1.5;
                background: var(--color-blue-primary);
                padding-inline: 2rem;
                height: 100%;
                min-height: 80px;

                display: flex;
                align-items: center;
            }
            @media screen and (width <= 768px) {
                .graph_heading {
                    font-size: min(5vw, 20px);
                    padding-block: 1rem;
                }
            }

            .graph_text {
                color: #000;
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 1.5;
                background-color: rgba(0, 51, 153, 0.05);
                padding-inline: 2rem;
                padding-block: 0.6rem;
                height: 100%;

                display: flex;
                align-items: center;

                span {
                    color: var(--color-blue-primary);
                    text-align: center;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 1.5;
                }
            }

            .graph_finish {
                color: #FFF;
                text-align: center;
                font-size: 20px;
                font-style: normal;
                font-weight: 700;
                line-height: 1.5;
                letter-spacing: 0.05em;
                background-color: #F38F9A;
                padding-inline: 1.2rem;
                padding-block: 0.6rem;
                height: 100%;

                display: flex;
                align-items: center;
                justify-content: center;

                &.item-09 {
                    grid-area: item-09;
                }

                &.item-12 {
                    grid-area: item-12;
                }
            }

            @media screen and (width <= 1024px) {
                &.content_box-02 {
                    &.remit_grid {
                        display: grid;
                        grid-template-columns: 1fr;
                        grid-template-rows: auto auto;
                    }
                }
            }
        }

        .content_heading_wrap {
            padding-inline: 20px;

            .content_heading_box {
                &.remit_grid {
                    display: grid;
                    grid-template-columns: 1fr auto;
                    grid-template-rows: 1fr auto;
                    grid-template-areas:
                    "item-01 item-02"
                    "item-03 item-02";
                    column-gap: 1rem;
                }
    
                .content_heading_h02 {
                    &.item-01 {
                        grid-area: item-01;
                        text-align: justify;
                    }
                }

                .content_heading_img_box {
                    &.item-02 {
                        grid-area: item-02;
                        width: 36vw;
                    }
    
                    &.item-03 {
                        grid-area: item-03;
                        width: 32vw;
                        justify-self: center;
                    }
                }
            }
        }

        .content_wrap_inner_02 {
            width: 100%;
            max-width: 1140px;
            margin-inline: auto;
            padding: 70px 50px 50px;
            background-color: rgba(0, 51, 153, 0.05);
            position: relative;

            /* 猫のイラスト　01 */
            .content_cat_box_sp {
                margin-top: 4rem;
                margin-inline: auto;
            }

            .content_cat_box-01_pc {
                position: absolute;
                top: 43%;
                right: 3%;
                width: 100%;
                max-width: 205px;
            }
            .content_cat_box-01_sp {
                width: 100%;
                max-width: 205px;
            }

            /* 猫のイラスト　02 */
            .content_cat_box-02_pc {
                position: absolute;
                top: 50%;
                left: 8%;
                width: 100%;
                max-width: 172px;
            }
            .content_cat_box-02_sp {
                width: 100%;
                max-width: 172px;
            }

            /* 猫のイラスト　03 */
            .content_cat_box-03_pc {
                position: absolute;
                top: 60%;
                right: 8%;
                width: 100%;
                max-width: 92px;
            }
            .content_cat_box-03_sp {
                width: 100%;
                max-width: 172px;
            }

            /* 猫のイラスト　04 */
            .content_cat_box-04_pc {
                position: absolute;
                top: 58%;
                left: 3%;
                width: 100%;
                max-width: 101px;
            }
            .content_cat_box-04_sp {
                width: 100%;
                max-width: 101px;
            }

            /* 猫のイラスト　05 */
            .content_cat_box-05_pc {
                position: absolute;
                top: 44%;
                right: 3%;
                width: 100%;
                max-width: 150px;
            }
            .content_cat_box-05_sp {
                width: 100%;
                max-width: 150px;
            }

            /* 猫のイラスト　06 */
            .content_cat_box-06_pc {
                position: absolute;
                top: 55%;
                left: 8%;
                width: 100%;
                max-width: 92px;
            }
            .content_cat_box-06_sp {
                width: 100%;
                max-width: 92px;
            }
        }
        @media screen and (width <= 768px) {
            .content_wrap_inner_02 {
                padding: 40px 20px 20px;
            }
        }

        /* リード */
        .content_lead_box {
            width: fit-content;
            max-width: 610px;
            text-align: justify;
            margin-inline: auto;
        }

        .content_lead {
            margin-top: 4rem;
            color: #000;
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 1.5;
            letter-spacing: 0.05em;
            width: fit-content;
            position: relative;

            &.content_list_style {
                padding-left: 1em;

                &::before {
                    content: "・";
                    position: absolute;
                    top: 0;
                    left: 0;
                }
            }

            &.text_center {
                text-align: center;
            }
        }
        .content_lead ~ .content_lead {
            margin-top: 1em;
        }

        /* 画像 */
        .content_img_box {
            margin-top: 2rem;
            width: 100%;
            max-width: 364px;
            margin-inline: auto;
        }

        .content_img_box_02_pc {
            position: absolute;
            bottom: -5rem;
            right: -13rem;
            width: 100%;
            max-width: 300px;
        }
        .content_img_box_02_sp {
            margin-top: 4rem;
            width: 100%;
            max-width: 300px;
            margin-inline: auto;
        }

        /* 遷移ボタン */
        .content_link_btn {
            margin-top: 2rem;
            margin-inline: auto;
            border: 1px solid var(--color-pink_primary);
            border-radius: 99999px;
            background-color: #fff;
            display: grid;
            place-content: center;
            width: 275px;
            height: 51px;
            position: relative;
            transition: background-color 0.3s;

            &::before {
                content: "";
                width: 0.5em;
                height: 0.5em;
                border-top: 1px solid var(--color-pink_primary);
                border-right: 1px solid var(--color-pink_primary);
                rotate: 45deg;
                position: absolute;
                top: 50%;
                right: 1rem;
                translate: 0 -50%;
                transition: border-top 0.3s, border-right 0.3s;
            }

            .content_link_btn_text {
                color: var(--color-pink_primary);
                text-align: center;
                font-size: 16px;
                font-style: normal;
                font-weight: 700;
                line-height: 1;
                letter-spacing: 0.05em;
                transition: color 0.3s;
            }

            /* マウスホバー */
            &:hover {
                background-color: var(--color-pink_primary);

                &::before {
                    border-top: 1px solid #fff;
                    border-right: 1px solid #fff;
                }

                .content_link_btn_text {
                    color: #fff;
                }
            }
        }

        .content_wrap_inner_03 {
            background-color: #fff;
            filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.10));
            border-radius: 20px;

            width: 100%;
            max-width: 1140px;
            margin-inline: auto;
            padding: 70px 50px 50px;
            position: relative;
        }
        @media screen and (width <= 768px) {
            .content_wrap_inner_03 {
                padding: 40px 20px 20px;
            }
        }
    }

    .content_wrap ~ .content_wrap {
        margin-top: 8rem;
    }
}
