/*--------------------
　TOP PAGE　
--------------------*/
/*---------- MV ----------*/
.topMv {
    width: 100%;
    min-width: 100%;
    padding-block-end: 60px;
    margin-block-start: 0;
    background-image: var(--wp--preset--gradient--light-orange-to-bottom), url(/wp-content/themes/eraberu-renovation/assets/images/top-mv-bg.png);
    background-size: cover;
    background-position: bottom;

    @media screen and (max-width: 999px) {
        padding-block-end: 40px;
        background-image: var(--wp--preset--gradient--light-orange-to-bottom), url(/wp-content/themes/eraberu-renovation/assets/images/top-mv-bg_sp.png);
    }

    .topMv__inner {
        width: calc(100% - 100px);
        max-width: 1600px;
        margin: 0 auto;
        padding-block-start: 120px;

        @media screen and (max-width: 999px) {
            width: 100%;
            min-width: 100%;
            padding-block-start: 100px;
            padding-inline: var(--wp--preset--spacing--sp-width);
        }
    }

    /*タイトルとエリア訴求*/
    .topMv__titleArea {
        display: flex;
        justify-content: space-between;
        width: 100%;
        min-width: 100%;

        @media screen and (max-width: 999px) {
            flex-direction: column;
            position: relative;
            padding-block-end: 15vh;
        }
    }

    /*タイトルまわり*/
    .topMv__titleWrapper {
        width: 57vw;
        max-width: 1000px;
        padding-top: 54px;
        margin: 0 !important;

        @media screen and (max-width: 999px) {
            width: 100%;
            padding-top: 0;
        }
    }

    .topMv__pointWrapper {
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 20px;
    }

    .topMv__point {
        padding-block: 8px;
        padding-inline: 12px;
        margin-block-start: 0;
        border-radius: 8px;
        box-shadow: 0 1px 12px rgba(209, 208, 208, 0.5);
    }

    .topMv__subTitle {
        margin-block-start: 24px;

        @media screen and (max-width: 999px) {
            margin-block-start: 32px;
        }
    }

    .topMv__title {
        width: 70%;
        margin-block-start: 24px;

        @media screen and (max-width: 999px) {
            width: 100%;
        }
    }

    .topMv__lead {
        margin-block-start: 32px;

        @media screen and (max-width: 999px) {
            margin-block-start: 28px;
        }
    }

    .topMv__area {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        row-gap: 3px;
        width: 175px;
        height: 175px;
        margin: 0 !important;
        background: var(--wp--preset--color--white-70);
        border: 1px solid var(--wp--preset--color--orange);
        border-radius: 90px;

        @media screen and (max-width: 999px) {
            position: absolute;
            left: 0;
            bottom: -15%;
            width: 125px;
            height: 125px;
            row-gap: 0;
            padding-block-end: 10px;
            z-index: 100;
        }

        img {
            width: 30px;
            margin-block-end: 12px;

            @media screen and (max-width: 999px) {
                margin-block-end: 4px;
            }
        }

        p {
            line-height: var(--wp--custom--typography--line-height--tight);
            margin-block-start: 0;
        }
    }

    /*CTA*/
    .topMv__ctaWrapper {
        width: 100%;
        min-width: 100%;
        max-width: 1600px;
        margin: 45px auto 0;
    }

    .topMv__ctaInner {
        display: flex;
        align-items: stretch;
        justify-content: start;
        gap: 20px;
        width: 57vw;
        max-width: 1000px;

        @media screen and (max-width: 999px) {
            flex-direction: column;
            width: 100%;
        }
    }

    .topMv__ctaBox {
        padding-block: 25px;
        padding-inline: 20px;
        background-color: var(--wp--preset--color--white);
        border-radius: 16px;
        box-shadow: 0 3px 20px rgba(191, 190, 189, 0.5);
        flex: 1;
        height: 100%;
        margin-block-start: 0;

        @media screen and (max-width: 999px) {
            width: 100%;
        }
    }

    .topMv__ctaLead {
        margin-block-start: 15px;
    }

    .topMv__ctaCatch {
        margin-block-start: 6px;
    }

    .topMv__cta {
        margin-block-start: 20px;
        letter-spacing: 0.1em;

        .wp-block-button {
            width: 100%;
        }

        .wp-block-button__link {
            padding-block: 16px;
        }

        .fontAccent {
            font-size: 21px;
        }
    }
}

/*---------- わたしたちにできること ----------*/
.topPoint {
    background-color: var(--wp--preset--color--light-orange);

    .topPoint__contents {
        display: flex;
        flex-direction: column;
        row-gap: 40px;

        @media screen and (max-width: 999px) {
            row-gap: 60px;
        }
    }

    .topPoint__content {
        display: flex;
        align-items: center;
        gap: 30px;
        margin: 0;

        @media screen and (max-width: 999px) {
            flex-direction: column;
            gap: 15px;
        }
    }

    /*テキストエリア*/
    .topPoint__contentText {
        width: 60%;
        margin: 0;

        @media screen and (max-width: 999px) {
            width: 100%;
            order: 1;
        }
    }

    .topPoint__contentTitleWrapper {
        width: 100%;
        align-items: flex-end;
        justify-content: space-between;
        padding-block-end: 10px;
        padding-inline: 10px;
        position: relative;

        &::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 2px;
            background: var(--wp--preset--gradient--orange-to-right);
        }

        @media screen and (max-width: 999px) {
            justify-content: start;
        }
    }

    .topPoint__contentNum {
        width: 80px;
        display: flex;
        justify-content: center;

        img {
            width: auto;
            height: 100px;
            object-fit: contain;
        }

        @media screen and (max-width: 999px) {
            width: 50px;
            order: 1;

            img {
                height: 70px;
            }
        }
    }

    .topPoint__contentTitle {
        @media screen and (max-width: 999px) {
            order: 2;
        }

        &.textRight {
            text-align: right;

            @media screen and (max-width: 999px) {
                text-align: inherit;
            }
        }

        .has-heading-2-font-size {
            line-height: 1.3!important;
        }
    }

    .topPoint__contentDescription {
        padding-inline: 10px;

        &.textRight {
            text-align: right;

            @media screen and (max-width: 999px) {
                text-align: inherit;
            }
        }
    }

    /*イメージ*/
    .topPoint__contentImage {
        width: 40%;
        margin: 0;

        @media screen and (max-width: 999px) {
            width: 100%;
            order: 2;
        }
    }
}