@charset "utf-8";

* {
    box-sizing: border-box;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html {
    overflow-x: hidden;
    font-size: 62.5%;

    @media screen and(max-width: 468px) {
        font-size: 2.6666666667vw;
    }
}

body {
    font-size: 1.6rem;
    line-height: 1.6;
    background-color: #fff;
    color: #000;
}

main {
    font-family: "Noto sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
        background: #000;
}

.fade {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.7s ease;

    &.active {
        opacity: 1;
        transform: translateY(0);
    }
}

.mark {
    vertical-align: -webkit-baseline-middle;
    line-height: 1;
}

/* for-pc,sp */

.for-pc {
    display: block;

    @media screen and (max-width: 767px) {
        display: none;
    }
}

.for-sp {
    display: none;

    @media screen and (max-width:767px) {
        display: block;
    }
}

/* inner */

.inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12.4rem 40px 0;

    @media screen and (max-width: 767px) {
        padding: 16vw 0;
    }
}

/* title */

.section-title {
    padding: 2.5rem 0 2.5rem 4.5rem;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    position: relative;
    margin-bottom: 6rem;

    @media screen and (max-width: 767px) {
        margin: 0 4vw 5.2vw;
        padding: 1.5rem 0 1.5rem 3rem;
    }

    &::after {
        content: "";
        width: 13px;
        height: 80%;
        background: #E60012;
        position: absolute;
        top: 50%;
        left: 0.3rem;
        transform: translateY(-50%);

        @media screen and (max-width:767px) {
            width: 1.7vw;
        }
    }

    .section-title__sub {
        font-size: clamp(1.6rem, 2vw, 2.2rem);
        font-weight: bold;

        @media screen and (max-width: 767px) {
            font-size: 2.86vw;
        }
    }

    .section-title__main {
        font-size: clamp(2rem, 4vw, 4rem);
        font-weight: bold;
        font-family: "Noto Serif JP", serif;

        @media screen and (max-width: 767px) {
            font-size: 5.2vw;
            line-height: 1.4;
            padding-right: 4vw;
        }
    }
}

/* slider */
.slider {
    display: none;

    @media screen and (max-width: 767px) {
        animation: scroll-left 20s infinite linear 0.5s both;
        display: flex;
        gap: 0.6rem;
    }

    .slide {
        width: calc(100vw / 1.4);

        & img {
            display: block;
            width: 100%;
            max-height: 480px;
        }
    }
}

/* ========================================
  mainVisual
=========================================*/

#mainVisual {
    position: relative;

    .mv {
        position: relative;
        background-color: #000;

        .tr__text {
            writing-mode: vertical-rl;
            color: #fff;
            white-space: nowrap;
            font-size: clamp(1.6rem, 4vw, 5.4rem);
            position: absolute;
            top: 3rem;
            right: 1.5rem;
            height: 40.13vw;
            z-index: 900;

            @media screen and (max-width: 767px) {
                height: 75.06vw;
                right: 2vw;
                top: 5vw;
                z-index: 1;
            }
        }

        .mvImg {
            width: 100%;
            height: auto;
            display: block;
            position: relative;

            @media screen and (max-width:767px) {
                top: -3vw;
            }
        }

        .mainCard {
            font-family: "Noto Serif JP", serif;
            position: absolute;
            top: 0;
            right: 0;
            z-index: 100;
            color: #fff;
            padding: clamp(4rem, 7.4vw, 8rem) clamp(4.5rem, 6vw, 9rem) clamp(2.5rem, 4vw, 5rem) clamp(4rem, 7.4vw, 8rem);
            background-color: #000;
            display: flex;
            flex-direction: column;
            justify-content: center;


            @media screen and (min-width: 1600px) {
                width: 45vw;
                gap: 5vw;
            }

            @media screen and (max-width: 767px) {
                width: 95%;
                margin-right: 0;
                margin-left: auto;
                padding: 8vw 0vw 11vw 7vw;
                position: unset;
                transform: translateY(-16vw);
                margin-top: -20vw;
            }

            .mainBlock__title {
                margin-left: -11vw;

                @media screen and (max-width: 767px) {
                    margin-left: 0;
                }

                .mainBlock__chapter {
                    display: block;
                    font-size: clamp(1.8rem, 3vw, 3.4rem);
                    position: relative;
                    margin-left: 1rem;

                    @media screen and (max-width: 767px) {
                        font-size: 4.3vw;
                    }

                    &::after {
                        content: "";
                        position: absolute;
                        top: 50%;
                        right: 24%;
                        transform: translateY(-50%);
                        width: 62%;
                        height: 2px;
                        background-color: #fff;

                        @media screen and (max-width: 767px) {
                            right: 17%;
                            height: 1px;
                            width: 69%;
                        }
                    }
                }

                .chapter__title {
                    font-size: clamp(6rem, 10vw, 14rem);
                    letter-spacing: -0.1em;
                    line-height: 1.3;
                    margin-left: -2rem;
                    position: relative;

                    @media screen and (max-width: 767px) {
                        font-size: 18vw;
                        margin-left: -1vw;
                        letter-spacing: -0.05em;
                    }
                }

                .blur-title {
                    position: absolute;
                    bottom: -40%;
                    left: 0;
                    font-size: clamp(4rem, 10vw, 14rem);
                    color: #fff;
                    opacity: 0.6;
                    filter: blur(6px);
                    transform: scaleY(-1) translate(0%, -26%);
                    z-index: 101;
                    pointer-events: none;

                    @media screen and (max-width: 767px) {
                        font-size: 18vw;
                    }
                }
            }

            .mainBlock__text {
                font-size: clamp(1.4rem, 1.8vw, 2.4rem);
                font-weight: 400;
                line-height: 1.85;
                margin-top: 4rem;
                display: inline-block;
                margin-right: auto;
                margin-left: 0;

                @media screen and (max-width: 767px) {
                    font-size: 3.9vw;
                    letter-spacing: -0.05em;
                    margin-top: 7vw;
                    line-height: 1.7;
                }

                & span {
                    vertical-align: -webkit-baseline-middle;
                    font-weight: normal;
                }
            }
        }
    }
}

/* ========================================
    main__rb
=========================================*/
#main__rb {
    position: relative;
    margin-top: 9vw;
    z-index: 800;
    background-color: rgba(0, 0, 0, 0.92);

    @media screen and (max-width: 767px) {
        margin-top: 7vw;
    }

    .mainImg__rb {
        width: 20vw;
        height: auto;
        position: absolute;
        bottom: 8.5vw;
        right: 0;
        z-index: 800;

        @media screen and (max-width: 767px) {
            bottom: 5.5vw;
            width: 38vw;
            z-index: 10;
        }
    }
}

/* ========================================
    media
=========================================*/

#media {
    background: linear-gradient(rgba(0, 0, 0, 0.92), #000);
    position: relative;
    padding-bottom: 9rem;
    margin-top: -10vw;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
    z-index: 300;

    @media screen and (max-width: 767px) {
        padding-bottom: 26vw;
        margin-top: -11vw;
    }

    .mediaGrid {
        display: grid;
        grid-template-columns: 1fr 1.15fr;
        align-items: center;
        padding-bottom: 8rem;
        justify-items: stretch;
        column-gap: 9rem;

        @media screen and (max-width: 767px) {
            display: block;
            padding-bottom: 26.5vw;
            width: 100%;
        }

        .mediaGrid__img {

            @media screen and (max-width: 767px) {
                padding-bottom: 10vw;
            }

            & img {
                width: 100%;

                @media screen and (max-width: 767px) {
                    width: 83%;
                }
            }
        }

        .mediaGrid__text {
            color: #fff;
            font-family: "Noto Sans JP", serif;
            font-size: 1.8rem;
            line-height: 1.72;
            max-width: 49rem;
            padding-top: 3rem;

            p+p {
                margin-top: 3rem;

                @media screen and (max-width: 767px) {
                    margin-top: 6vw;
                }
            }

            @media screen and (max-width: 767px) {
                font-size: 3.67vw;
                padding: 0 9vw;
                margin: 0 auto 3rem;
                max-width: unset;

                & span {
                    vertical-align: -webkit-baseline-middle;
                    font-weight: normal;
                }
            }
        }
    }

    .mediaVideo {
        position: relative;
        margin: 0 auto;
        text-align: center;
        padding-bottom: 40px;

        @media screen and (max-width: 767px) {
            padding-bottom: 16vw;
        }

        &::before {
            content: "";
            display: block;
            width: clamp(200px, 30vw, 480px);
            aspect-ratio: 1.10 / 1;
            background-image: url("../img/media-bg1.png");
            background-size: cover;
            position: absolute;
            bottom: -34%;
            left: 0;
            z-index: 10;

            @media screen and (max-width:767px) {
                aspect-ratio: 469/367;
                bottom: -37%;
                background-image: url(../img/media-bg1_sp.png);
                width: 62.5vw;
            }
        }

        &::after {
            content: "";
            display: block;
            width: clamp(160px, 25vw, 334px);
            aspect-ratio: 1.523 / 1;
            background-image: url("../img/media-bg2.png");
            background-size: cover;
            position: absolute;
            top: -20%;
            left: calc(50% + 55rem);
            transform: translateX(-50%);
            margin-right: -10rem;

            @media screen and (max-width: 1440px) {
                left: 100%;
                transform: translateX(-100%);
            }

            @media screen and (max-width: 767px) {
                left: unset;
                right: 0;
                top: -43%;
                transform: unset;
                margin-right: 0;
                width: 44vw;
            }
        }

        .videoWrapper {
            max-width: clamp(300px, 50vw, 680px);
            aspect-ratio: 16 / 9;
            margin: 0 auto;
            position: relative;
            z-index: 500;

            @media screen and (max-width: 767px) {
                max-width: 90%;
            }

            & iframe{
                width: 100%;
                height: 100%;
                border: none;
            }
        }
    }

    .mediaLabel__text {
        font-size: clamp(20px, 10vw, 155px);
        line-height: 1;
        color: rgba(255, 255, 255, 0.6);
        white-space: nowrap;
        position: absolute;
        bottom: 2%;
        left: 0;
        z-index: 200;

        @media screen and (max-width: 767px) {
            bottom: 4.5%;
            transform: rotate(-9deg);
            left: -2vw;
            width: 103vw;
        }
    }
}

/* ========================================
  project
=========================================*/

#project {
    font-family: "Noto Sans JP", serif;
    margin-top: -11%;
    padding-bottom: 8.7rem;
    background-color: #E8E8E8;

    @media screen and (max-width: 767px) {
        margin-top: -30%;
    }

    .projectGrid {
        display: grid;
        grid-template-columns: 0.4fr 1.6fr 1fr;

        @media screen and (min-width: 1400px) {
            grid-template-rows: 750px;
        }

        @media screen and (max-width: 767px) {
            display: grid;
            grid-template-columns: 22px 1fr 1fr;
            grid-template-rows: auto 1fr auto;

        }
    }

    .project__space {
        border-right: 1px solid #000;

        @media screen and (max-width: 767px) {}
    }

    .project__text {
        padding: 9vw 2rem 0 3.5rem;

        @media screen and (max-width: 767px) {
            grid-area: text;
            padding: 20vw 0 0 2rem;
            border-left: 1px solid #000;
        }

        .project__name {
            margin-right: 2rem;
            margin-left: auto;
            display: flex;
            align-items: center;
            justify-content: right;
            gap: 0.5rem;

            @media screen and (max-width: 767px) {
                gap: 3.33vw;
                margin-right: 7vw;
            }

            & img {
                max-width: 114px;

                @media screen and (max-width: 767px) {
                    max-width: 20vw;
                }
            }

            & p {
                margin: 0;
                letter-spacing: -0.1em;
                font-weight: 700;

                @media screen and (max-width: 767px) {
                    font-size: 3.2vw;
                }
            }
        }

        .project__title {
            font-size: clamp(2rem, 3.3vw, 4rem);
            padding: 2.2rem 2rem 3.3rem 0;
            font-family: "Noto Serif JP", serif;
            font-weight: bold;

            @media screen and (max-width:767px) {
                font-size: 5.3vw;
                text-align: left;
                padding: 3vw 0 6.8vw;
            }
        }

        & p {
            font-size: clamp(1.4rem, 1.7vw, 1.8rem);
            font-weight: 400;
            margin-right: 2rem;

            @media screen and (max-width: 767px) {
                margin-right: 1rem;
            }
        }

        .project__text--bold {
            font-size: clamp(1.6rem, 2vw, 2.2rem);
            font-weight: bold;
            margin-right: 2rem;
            margin-bottom: 2rem;

            @media screen and (max-width: 767px) {
                font-size: 4vw;
            }
        }

        .sp__flex {
            display: none;

            @media screen and (max-width: 767px) {
                display: flex;
                margin-top: 0.5rem;
            }

            & img {
                width: 30%;
                padding: 10px 0 0 10px;
                object-fit: cover;

                @media screen and (max-width: 767px) {
                    width: 40vw;
                }
            }
        }
    }

    .project__img {
        padding-top: 3vw;

        @media screen and (max-width: 767px) {
            display: none;
        }

        & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;

        }
    }
}

/* ========================================
  cook
=========================================*/

#cook {
    background-color: #fff;

    .inner {
        @media screen and (max-width: 767px) {
            padding-top: 10vw;
        }
    }

    .cookFlex {
        display: flex;
        gap: 1rem;
        justify-content: space-between;
        align-items: stretch;
        position: relative;
        margin-bottom: 3rem;

        @media screen and (max-width: 1200px) {
            align-items: center;
        }

        @media screen and (max-width: 767px) {
            flex-direction: column;
            justify-content: center;
            margin: 0 2rem 5rem;
        }

        .importantCard {
            background-color: #F8F8E9;
            border-radius: 20px;
            padding: 0 3.5rem 3.5rem;
            margin-top: 2rem;
            width: 50%;
            position: relative;

            @media screen and (max-width: 767px) {
                width: 100%;
                padding: 2vw 7vw 6vw;
                border-radius: 10px;
            }

            .importantTitle {
                background-color: #E60012;
                color: #fff;
                font-size: clamp(1.4rem, 2vw, 2.4rem);
                font-weight: bold;
                padding-bottom: 3rem;
                clip-path: polygon(0% 0%, 100% 0, 100% 80%, 50% 100%, 0 80%);
                width: 80%;
                margin: -2rem auto;
                text-align: center;

                @media screen and (max-width:767px) {
                    padding-bottom: 4vw;
                    position: relative;
                    top: -3vw;
                }

                & p {
                    display: inline-block;
                    text-align: left;
                    padding: 1rem;
                    font-size: clamp(16px, 2vw, 24px);

                    @media screen and (max-width:767px) {
                        font-size: 4vw;
                    }
                }
            }

            & ul {
                padding-top: 5rem;

                @media screen and (max-width:767px) {
                    padding-top: 4vw;
                }

                li {
                    font-size: clamp(1rem, 2vw, 2rem);
                    font-weight: bold;
                    text-indent: -1em;

                    @media screen and (max-width: 767px) {
                        font-size: 3.4vw;
                    }

                    span {
                        color: #FF0000;
                    }
                }
            }

            .five__ring{
                font-size: clamp(1rem, 2vw, 2rem);
                text-align: center;
                font-weight: bold;
                margin-top: 4rem;
                margin-bottom: 2vw;

                @media screen and (max-width: 767px) {
                    font-size: 3.4vw;
                    margin-top: 5vw;
                }

                & span{
                    color: #FF0000;
                }
            }

            .katimeshi__banner{              
                &:hover{
                    opacity: 0.75;
                }
            }
        }

        .cookFlex__center{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            .flexArrow {
                width: clamp(40px, 10vw, 60px);
                height: auto;

                @media screen and (max-width:767px) {
                    transform: rotate(90deg);
                    width: 13vw;
                    max-width: 8rem;
                    height: auto;
                }
            }
        }

        .cookFlex__img {
            width: 42%;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: end;

            @media screen and (max-width:767px) {
                width: 100%;
            }

            .cookFlex__img--text {
                width: 100%;
                text-align: center;
                font-size: clamp(1.2rem, 2vw, 2.2rem);
                font-weight: bold;
                color: #000;
                background-color: #f4f2f2;
                padding: 1.5rem 0;

                @media screen and (max-width:767px) {
                    font-size: 4.3vw;
                    padding-block: 1.5vw;
                }
            }

            & img {
                width: 100%;
                height: auto;
            }
        }
    }

    .cook__card1 {
        margin-bottom: 6rem;
        font-size: clamp(14px, 3.6vw, 18px);
        font-weight: 400;

        @media screen and (max-width:767px) {
            margin-bottom: 7vw;
        }

        & p {
            margin-top: 3rem;

            @media screen and (max-width:767px) {
                line-height: 1.8;
                padding: 4.3vw 5vw 0;
                margin-top: 0;
            }
        }

        & div {
            position: relative;

            &::after {
                content: "１日に必要な食材";
                writing-mode: vertical-rl;
                padding: clamp(2rem, 3.18vw, 3.5rem) clamp(2rem, 3.18vw, 3.5rem) clamp(3rem, 4.09vw, 4.5rem);
                font-size: clamp(1.2rem, 2vw, 2.2rem);
                font-weight: bold;
                background-color: #000;
                color: #fff;
                position: absolute;
                top: 0;
                right: 0;

                @media screen and (max-width:767px) {
                    font-size: 2.67vw;
                    padding: 3vw 1.5vw;
                }
            }
        }
    }

    .cook__card2 {
        font-size: clamp(14px, 3.6vw, 18px);
        font-weight: 400;
        display: grid;
        grid-template: "img1 img2 img3" auto "img1 text text" auto / 1fr 0.9fr 0.68fr;
        margin-bottom: 7rem;

        @media screen and (max-width:767px) {
            display: block;
        }

        & div {
            @media screen and (max-width:767px) {
                display: none;
            }
        }

        .card2__flex {
            display: none;

            @media screen and (max-width:767px) {
                display: flex;
                gap: 0.6rem;
            }
        }

        .grid__img1 {
            grid-area: img1;
            padding-right: 0.6rem;

            & img {
                height: 100%;
                object-fit: cover;
            }
        }

        .grid__img2 {
            grid-area: img2;
            padding-right: 0.6rem;

            & img {
                height: 100%;
                object-fit: cover;
            }
        }

        .grid__img3 {
            grid-area: img3;

            & img {
                height: 100%;
                object-fit: cover;
            }
        }

        & p {
            grid-area: text;
            padding: 6rem 3rem 0 5rem;

            @media screen and (max-width:767px) {
                line-height: 1.8;
                padding: 4.3vw 5vw 0;
            }
        }
    }

    .cook__card3 {
        font-weight: 400;
        padding-bottom: 7vw;

        @media screen and (max-width:767px) {
            padding-bottom: 0;
        }

        .card3__flex {
            display: flex;
            column-gap: 0.6rem;
            overflow: hidden;

            & div {
                @media screen and (max-width:767px) {
                    display: none;
                }
            }
        }

        .card3__text {
            font-size: clamp(14px, 3.6vw, 18px);
            margin-top: 3rem;

            @media screen and (max-width:767px) {
                line-height: 1.8;
                padding: 4.3vw 5vw 0;
                margin-top: 0;
            }
        }
    }
}

/* ========================================
  nutrition
=========================================*/

#nutrition {
    padding: 0 0 10rem;
    background-color: #F3F3EF;

    @media screen and (max-width:767px) {
        padding: 0 0 21vw;
    }

    .first__text {
        padding-inline: 3rem 3rem;
        font-size: 1.8rem;
        margin-bottom: 3rem;

        @media screen and (max-width: 767px) {
            font-size: clamp(1.4rem, 3.73vw, 2.8rem);
            margin-bottom: 10.66vw;
            padding-inline: 4vw;
        }
    }

    .check {
        padding-inline: 3rem;
        position: relative;

        @media screen and (max-width: 767px) {
            padding-inline: 0;
            margin: 0 1rem;
        }

        .check__contentBg {
            width: 100%;
            background-image: url("../img/check-bgSpcenter.png");
            background-size: contain;

            .check__content {
                width: 80%;
                font-weight: 400;
                margin: 0 auto;
                padding-top: 4rem;

                .check__flex {
                    display: flex;
                    gap: 1.5rem;
                    align-items: center;
                    margin-bottom: 2vw;

                    @media screen and (max-width:767px) {
                        align-items: flex-start;
                        gap: 1rem;
                    }

                    &:last-of-type {
                        margin-bottom: 0;
                    }

                    & img {
                        max-width: 54px;
                        width: 9vw;

                        @media screen and (max-width:767px) {
                            max-width: 100%;
                        }
                    }

                    .crap,
                    .inspiration {
                        font-size: clamp(1.4rem, 3.4vw, 2.2rem);

                        @media screen and (max-width:767px) {
                            font-size: 3.6vw;
                        }

                        & span {
                            font-weight: bold;
                        }
                    }

                    .crap.padding-control {
                        padding-right: 14.5rem;

                        @media screen and (max-width:767px) {
                            padding-right: 0;
                        }
                    }
                }

                .mbClear {
                    margin-bottom: 1.8rem;
                }

                .balloon1 {
                    position: relative;
                    display: block;
                    padding: 1.7rem 1.4rem;
                    min-width: 120px;
                    max-width: 100%;
                    margin-left: clamp(2rem, 6vw, 6.4rem);
                    margin-bottom: 2.5rem;
                    background: #FAF2F2;
                    border: 1px solid #E60012;
                    border-radius: 6px;
                    font-size: clamp(1.4rem, 1.7vw, 2rem);

                    @media screen and (max-width: 767px) {
                        font-size: 3.6vw;
                        margin-left: 0;
                        margin-bottom: 7.8vw;
                    }

                    &::before {
                        content: "";
                        position: absolute;
                        top: -30px;
                        left: 3em;
                        margin-left: -15px;
                        border: 15px solid transparent;
                        border-bottom: 15px solid #E60012;

                        @media screen and (max-width:767px) {
                            top: -29px;
                            left: 5em;
                        }
                    }

                    &::after {
                        content: "";
                        position: absolute;
                        top: -29px;
                        left: 3em;
                        margin-left: -15px;
                        border: 15px solid transparent;
                        border-bottom: 15px solid #FAF2F2;

                        @media screen and (max-width:767px) {
                            top: -27px;
                            left: 5em;
                        }
                    }

                    & p {
                        font-weight: bold;

                        & span {
                            color: #E60012;
                        }
                    }
                }

                .balloon2 {
                    position: relative;
                    display: block;
                    padding: 7px 10px;
                    min-width: 120px;
                    max-width: 100%;
                    margin-left: clamp(2rem, 6vw, 6.4rem);
                    margin-bottom: 2.5rem;
                    background: #EFF2FC;
                    border: 1px solid #3D5FCF;
                    border-radius: 6px;
                    font-size: clamp(1.4rem, 1.7vw, 2rem);

                    @media screen and (max-width:767px) {
                        font-size: 3.6vw;
                        margin-left: 0;
                        margin-bottom: 7.8vw;
                    }

                    &::before {
                        content: "";
                        position: absolute;
                        top: -30px;
                        left: 3em;
                        margin-left: -15px;
                        border: 15px solid transparent;
                        border-bottom: 15px solid #3D5FCF;

                        @media screen and (max-width:767px) {
                            top: -29px;
                            left: 5em;
                        }
                    }

                    &::after {
                        content: "";
                        position: absolute;
                        top: -29px;
                        left: 3em;
                        margin-left: -15px;
                        border: 15px solid transparent;
                        border-bottom: 15px solid #EFF2FC;

                        @media screen and (max-width:767px) {
                            top: -27px;
                            left: 5em;
                        }
                    }

                    & p {
                        padding: 1rem 0.4rem;
                        font-weight: bold;

                        & span {
                            color: #3D5FCF;
                        }
                    }
                }
            }

            .red__circle {
                aspect-ratio: 1;
                background-color: #E60012;
                border-radius: 50%;
                color: #fff;
                font-size: clamp(2vw, 4.6vw, 3.5rem);
                font-weight: bold;
                line-height: 1.3;
                text-align: center;
                padding: 2rem;
                position: absolute;
                top: 2%;
                right: 10%;

                @media screen and (max-width:767px) {
                    top: -5%;
                    right: 6%;
                    padding: 1.7rem;
                    line-height: 1.3;
                    aspect-ratio: 1;
                }
            }
        }
    }

    .check__comment {
        padding-inline: 4rem;
        margin-top: 4.2rem;
        position: relative;

        @media screen and (max-width:767px) {
            padding: 0 1rem;
            margin-top: 8.7vw;
        }

        .comment__frame {
            color: #000000;
            display: inline-block;
            border: 2px solid #E60012;
            border-radius: 20px;
            background-color: #fff;
            text-align: left;
            font-size: clamp(14px, 2vw, 2rem);
            font-weight: 400;
            line-height: 1.5;
            padding: 3.5rem 4rem;
            position: relative;
            margin-bottom: 2rem;
            width: 88%;

            @media screen and (max-width:767px) {
                border-radius: 10px;
                padding: 8vw 6vw;
                width: 100%;
            }

            &::before {
                content: "";
                position: absolute;
                bottom: 0;
                left: 90%;
                border-style: solid;
                border-width: 20px 0 0 20px;
                border-color: #E60012 transparent transparent;
                translate: -50% 100%;
                transform: skew(20deg);
                transform-origin: top;

                @media screen and (max-width:767px) {
                    left: 60%;
                }
            }

            &::after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 90%;
                border-style: solid;
                border-width: 15.2px 0 0 15.2px;
                border-color: #fff transparent transparent;
                translate: calc(-50% + 0.1px) 100%;
                transform: skew(20deg);
                transform-origin: top;

                @media screen and (max-width:767px) {
                    left: 60%;
                    bottom: 1px;
                }
            }

            & p {
                font-weight: 700;
                display: inline-block;
                text-align: left;

                @media screen and (max-width:767px) {
                    font-size: 3.9vw;
                    line-height: 1.73;
                    padding-right: 0;
                }

                & span {
                    color: #E60012;
                }
            }

            .for-special-br {
                @media screen and (max-width: 1105px) {
                    display: none;
                }
            }
        }

        .comment__name {
            text-align: right;
            font-size: clamp(1.2rem, 3vw, 1.6rem);
            width: 83%;
            line-height: 1;

            @media screen and (max-width:1200px) {
                width: 80%;
            }

            @media screen and (max-width:767px) {
                bottom: -15vw;
                font-size: 3.1vw;
                position: absolute;
                width: 65%;
            }

            & span {
                font-size: clamp(1.4rem, 1.7vw, 1.8rem);
                font-weight: bold;

                @media screen and (max-width:767px) {
                    font-size: 3.4vw;
                }

                &.mark {
                    font-weight: 400;
                }
            }
        }

        .comment__img {
            width: 24%;
            object-fit: contain;
            position: absolute;
            top: 0;
            right: 0;

            @media screen and (max-width:767px) {
                width: 26%;
                height: auto;
                top: auto;
                right: 4%;
                bottom: -20vw;
                object-fit: cover;
            }
        }
    }
}

/* ========================================
  result
=========================================*/

#result {
    background: #fff;

    .after__text {
        width: clamp(240px, 60vw, 364px);
        font-size: clamp(2.2rem, 5vw, 4.3rem);
        padding: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 6vw, 4rem);
        color: #fff;
        line-height: 1.3;
        background-color: #3d5fcf;
        border-radius: clamp(8px, 2vw, 16px);
        text-align: center;
        margin: 0 auto 9rem;
        position: relative;
        z-index: 50;

        @media screen and (max-width:767px) {
            margin: 0 auto 9vw;
        }

        &::after {
            content: "";
            width: clamp(48px, 12vw, 83px);
            aspect-ratio: 83 / 116;
            display: block;
            background-image: url(../img/blue-arrow.png);
            background-repeat: no-repeat;
            background-size: cover;
            position: absolute;
            left: 50%;
            bottom: -60%;
            transform: translateX(-50%);
            z-index: -1;
        }
    }


    .result__text {
        width: 50.27%;
        margin: 4.375vw auto 6vw;

        @media screen and (max-width:767px) {
            width: auto;
            margin: 5.33vw 4vw 0;
        }
    }
}

.result__banner {
    position: relative;

    .banner__img {
        background-color: #E60012;

        @media screen and (max-width:767px) {
            background: linear-gradient(to bottom, #000 0%, #000 45%, #E60012 45%, #E60012 100%);
        }

        .banner1 {
            position: relative;

            .result-banner {
                min-height: 300px;
            }

            .ab__text {
                max-width: 500px;
                padding: 0 1.5rem;
                color: #fff;
                font-family: "Noto Serif JP", serif;
                position: absolute;
                top: 23%;
                left: 53%;

                @media screen and (max-width:767px) {
                    padding: 0 1rem;
                    width: 58%;
                    max-width: 400px;
                    top: 20%;
                    left: auto;
                    right: 0;
                }

                & h2 {
                    font-size: clamp(2rem, 3vw, 4rem);
                    font-weight: bold;

                    @media screen and (max-width:767px) {
                        font-size: 5.7vw;
                        text-align: right;
                    }
                }

                & p {
                    font-size: clamp(1.5rem, 1.8vw, 2rem);
                    line-height: 1.8;
                    margin-top: 2rem;

                    @media screen and (max-width:767px) {
                        font-size: 3.5vw;
                        margin-top: 2.67vw;
                    }
                }
            }
        }

        .red__banner {
            background-color: #E60012;
        }

        .result__card {
            background-color: #fff;
            margin: -15% 0 0 auto;
            padding: clamp(2rem, 5vw, 6.5rem) 5.2vw 1rem 5.2vw;
            position: relative;
            width: 77%;
            z-index: 100;

            @media screen and (max-width:767px) {
                width: 95%;
                padding: clamp(2rem, 5vw, 6.5rem) clamp(2rem, 5vw, 6.5rem) 1rem;
                margin-top: 2.67vw;
            }

            & h3 {
                font-weight: bold;
                font-size: 2rem;
                padding-bottom: 1rem;
                position: relative;

                @media screen and (max-width:767px) {
                    font-size: 3.6vw;
                    padding-bottom: 3.67vw;
                }

                &::after {
                    content: "";
                    width: 100%;
                    height: 1px;
                    background-color: #000;
                    position: absolute;
                    bottom: 0;
                    left: 0;
                }
            }

            & p {
                margin-top: 1.8rem;
                margin-bottom: 4rem;
                color: #03147C;

                @media screen and (max-width:767px) {
                    font-size: 3.6vw;
                    margin-block: 3.67vw 14.67vw;
                }
            }
        }

        .result__card-inner {
            max-width: 86rem;
        }
    }

    .banner__img2 {
        position: relative;
        z-index: 10;

        .banner-pc {
            display: flex;

            @media screen and (max-width:767px) {
                display: none;
            }
        }

        .banner__slider {
            display: none;

            @media screen and (max-width:767px) {
                display: flex;

            }

            & img {
                height: 300px;
                object-fit: cover;
            }
        }
    }

    .resultLabel {
        width: 130%;
        height: 20vw;
        transform: rotate(5.2deg);
        background-color: #E60012;
        position: absolute;
        bottom: -5vw;
        left: -10%;
        z-index: 5;
    }
}

#support {
    background-color: #E8E8E8;
    position: relative;
    z-index: 1;
    padding-bottom: 7rem;

    @media screen and (max-width: 767px) {
        padding-bottom: 17vw;
    }

    .support__content {
        align-items: center;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        margin: 0 4vw 0 auto;
        padding-top: 20rem;
        position: relative;
        width: 90%;

        @media screen and (max-width: 767px) {
            flex-direction: column;
            gap: 3rem;
            padding: 22vw 6vw 0 4.67vw;
            margin-inline: 4.67vw 0;
            width: auto;
        }

        &::before {
            content: "";
            height: 100%;
            width: 1px;
            background-color: #000;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -2;
        }

        .text__box {
            width: 49.54%;
            padding-left: 4.5rem;
            line-height: 1.8;

            @media screen and (max-width: 767px) {
                width: 100%;
                padding-left: 1.33vw;
            }

            & h3 {
                font-size: 4rem;
                font-weight: bold;
                margin-bottom: 1.5rem;
                font-family: "Noto Serif JP", serif;

                @media screen and (max-width: 767px) {
                font-size: 5.33vw;
            }
            }

            & p {
                font-size: 1.8rem;
                padding-right: 1.2rem;

                @media screen and (max-width: 767px) {
                font-size: 3.67vw;
            }
            }
        }

        & div {
            width: 45.5%;

            @media screen and (max-width: 767px) {
                width: 100%;
            }
        }
    }
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}