@charset "UTF-8";


:root {
    /* font-size */
    --title-01: 64px;
    --title-02: 40px;
    --title-03: 32px;
    --title-04: 24px;
    --body-01: 36px;
    --body-02: 32px;
    --body-03: 24px;
    --body-04: 20px;
    --body-05: 18px;
    --body-06: 16px;
    --body-07: 14px;
    --body-08: 10px;

    --sp-title-01: 30px;
    --sp-title-02: 20px;
    --sp-title-03: 18px;
    --sp-title-04: 16px;
    --sp-body-01: 18px;
    --sp-body-02: 16px;
    --sp-body-03: 12px;
    --sp-body-04: 10px;
    --sp-body-05: 8px;
    --sp-body-06: 6px;

    /* font-weight */
    --weight-extra-bold: 900;
    --weight-bold: 700;
    --weight-medium: 500;
    --weight-regular: 400;

    /* color */
    --primary: #5076B0;
}

.enterprise-top {

    .home-page-hero {
        height: 300px;
        background: no-repeat url(../../../img/pages/enterprise/index/main-small.png);
        background-size: cover;
        display: flex;
        justify-content: center;
        align-items: center;

        .home-page-hero__overview {

            :not(:first-child) {
                margin-top: 40px;
            }

            .home-page-hero__heading-01 {
                color: #000;
                text-shadow:
                    1px 1px 0 #fff,
                    -1px 1px 0 #fff,
                    -1px -1px 0 #fff,
                    1px -1px 0 #fff;
                font-weight: var(--weight-bold);
                font-size: var(--sp-title-01);
                line-height: 1.4;

                .home-page-hero__small-heading-01 {
                    font-size: var(--sp-title-02);
                }
            }

            .home-page-hero__description-text {
                color: #000;
                text-shadow:
                    0.7px 0.7px 0 #fff,
                    -0.7px 0.7px 0 #fff,
                    -0.7px -0.7px 0 #fff,
                    0.7px -0.7px 0 #fff;
                font-size: var(--sp-body-04);
                font-weight: var(--weight-medium);
            }
        }

    }

    .solution-overview-section {
        background-color: #fff;
        padding: 0px 24px;

        h2 {
            color: #000;
            text-align: center;
            font-family: 'Noto Sans JP', sans-serif;
            font-weight: var(--weight-medium);
            font-size: var(--sp-title-02);
            margin: 30px 0px 30px 0px;
        }

        .problem-statement_example {
            display: grid;
            justify-content: center;
            align-items: start;

            :nth-child(n) {
                text-align: center;

                img {
                    width: 100px;
                }

                p {
                    text-align: center;
                    color: #000;
                    font-size: var(--sp-body-04);
                    font-weight: var(--weight-medium);
                    word-break: keep-all;
                    overflow-wrap: break-word;
                }
            }

            :nth-child(1) {
                grid-column: 1 /2;
                grid-row: 1 / 2;
            }

            :nth-child(2) {
                grid-column: 3 / 4;
                grid-row: 1 / 2;
            }

            :nth-child(3) {
                grid-column: 2 / 3;
                grid-row: 2 / 3;
            }

            :nth-child(4) {
                grid-column: 1 / 2;
                grid-row: 3 / 4;
            }

            :nth-child(5) {
                grid-column: 3 / 4;
                grid-row: 3 / 4;
            }
        }

        .down-arrow {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 40px 0px;

            img {
                width: 60px;
            }
        }

        .pod-features {
            text-align: center;

            .pod-features_description {
                p {
                    color: #000;
                }

                .pod-features_description_beginning {

                    font-size: var(--sp-body-02);
                    line-height: 36px;

                    img {
                        margin-right: 10px;
                        width: 140px;
                        height: auto;
                    }
                }

                .pod-features_description_content {

                    span {
                        font-weight: var(--weight-bold);
                    }

                    .pod-features_description-highlight {
                        background: linear-gradient(#407bd3, #3362a8, #2c5492);
                        background-clip: text;
                        -webkit-text-fill-color: transparent;
                    }

                    .pod-features_description-highlight02 {
                        color: #5076B0;
                    }

                }

                .pod-features_description-detail {
                    font-size: var(--sp-body-04);
                    line-height: 20px;
                    padding-top: 10px;
                    word-break: keep-all;
                    overflow-wrap: break-word;
                }
            }

            .pod-features_stakeholders {
                padding: 40px 8px 72px 8px;

                div:nth-child(odd) {
                    position: relative;
                    width: 100%;
                    padding: 24px 24px 16px 24px;
                    background-color: #fff;

                    .pod-features_stakeholders_title {
                        position: absolute;
                        top: 0%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        color: #fff;
                        font-weight: var(--weight-bold);
                    }

                    img:nth-child(2) {
                        padding-top: 36px;
                    }

                    p:nth-child(3) {
                        font-size: var(--sp-body-04);
                        color: #5076B0;
                        font-weight: var(--weight-medium);
                    }

                    p:nth-child(4) {
                        padding-top: 8px;
                        font-size: var(--sp-body-04);
                        line-height: 1.4;
                        word-break: keep-all;
                        overflow-wrap: break-word;
                        font-weight: var(--weight-medium);

                        span {
                            font-weight: var(--weight-extra-bold);
                        }
                    }
                }

                .flow-direction {
                    background: no-repeat url(../../../img/pages/enterprise/index/icon/flow-direction-down-arrow.svg);
                    background-position: center;
                    height: 84px;
                    background-size: 38px;
                }

                div:nth-child(1) {
                    border: solid 4px #B1B0B0;

                    .pod-features_stakeholders_title {
                        padding: 8px 4px;
                        background-color: #B1B0B0;
                        width: 200px;
                    }

                    img:nth-child(2) {
                        width: 120px;
                    }
                }

                div:nth-child(3) {
                    border: solid 4px #5076B0;

                    .pod-features_stakeholders_title {
                        padding: 8px 16px;
                        background: linear-gradient(#407BD3, #21406D);
                    }

                    img:nth-child(2) {
                        width: 60px;
                    }
                }

                div:nth-child(5) {
                    border: solid 4px #B1B0B0;

                    .pod-features_stakeholders_title {
                        padding: 8px 16px;
                        background-color: #B1B0B0;
                    }

                    img:nth-child(2) {
                        width: 60px;
                    }
                }
            }
        }
    }

    .professionals-text-section {
        padding: 0;

        img {
            width: 100%;
        }
    }

    .chosen-reason-section {
        background-color: #f5f5f5;
        text-align: center;
        padding-bottom: 48px;

        h2 {
            margin: 0;
            font-weight: var(--weight-medium);
            padding-top: 12px;
            font-size: var(--sp-title-02);
        }

        .reason-detail01,
        .reason-detail02,
        .reason-detail03 {
            padding: 20px 20px;

            :nth-child(1) {
                width: 70px;
                height: auto;
            }

            :nth-child(2) {
                font-size: var(--sp-body-01);
                font-weight: var(--weight-medium);

                span {
                    font-weight: var(--weight-extra-bold);
                }

                margin: 0px;
            }

            :nth-child(3) {
                width: 100%;
                height: auto;
                border-radius: 24px;
            }

            :nth-child(4) {
                text-align: start;
                font-size: var(--sp-body-03);
                padding: 0px 16px;
            }
        }
    }

    .service-coverage-area-section {
        padding: 30px 20px 20px 20px;
        text-align: center;

        h2 {
            text-align: center;
            margin: 0px;
            font-size: var(--sp-title-02);
            font-weight: var(--weight-medium);
        }

        .service-coverage-area_description {
            font-size: var(--sp-body-03);
            word-break: keep-all;
            overflow-wrap: break-word;
        }

        .service-coverage-area_example {
            display: grid;
            justify-content: center;
            align-items: start;
            grid-template-columns: 1fr 1fr 1fr;
            row-gap: 24px;
            padding-top: 10px;

            :nth-child(n) {
                img:nth-child(1) {
                    width: 80px;
                }

                p {
                    font-size: var(--sp-body-04);
                    font-weight: var(--weight-medium);
                    padding-top: 8px;
                    margin: 0;
                }

                img:nth-child(3) {
                    width: 100px;
                    height: auto;
                }

                button:nth-child(3) {
                    margin: 0;

                    img {
                        width: 100px;
                        height: auto;
                    }
                }

                div:nth-child(4) {
                    top: anchor(bottom);
                    justify-self: anchor-center;
                    border: none;
                    background: none;
                    padding: 16px;

                    div:nth-child(1) {
                        border-radius: 4px;
                        border: solid 1px #000;
                        padding: 4px 8px;
                        position: relative;
                        background-color: white;

                        p {
                            text-align: left;
                            font-size: var(--sp-body-04);
                            font-weight: 400;
                            height: 100%;
                            width: 100%;
                        }

                        button {
                            position: absolute;
                            top: -12px;
                            right: -13px;
                            background: none;
                            margin: 0;
                        }

                        button:after {
                            display: inline-block;
                            /* This will render the 'X' */
                            content: "\00d7";
                            font-size: 24px;
                        }
                    }

                }
            }

            :nth-child(1) {
                grid-column: 1 /2;
                grid-row: 1 / 2;

                button:nth-child(3) {
                    anchor-name: --top-leading;
                }

                div:nth-child(4) {
                    position-anchor: --top;
                }
            }

            :nth-child(2) {
                grid-column: 2 / 3;
                grid-row: 1 / 2;

                button:nth-child(3) {
                    anchor-name: --top;
                }

                div:nth-child(4) {
                    position-anchor: --top;
                }
            }

            :nth-child(3) {
                grid-column: 3 / 4;
                grid-row: 1 / 2;

                button:nth-child(3) {
                    anchor-name: --top-trailing;
                }

                div:nth-child(4) {
                    position-anchor: --top;
                }
            }

            :nth-child(4) {
                grid-column: 1 / 2;
                grid-row: 2 / 3;

                button:nth-child(3) {
                    anchor-name: --leading;
                }

                div:nth-child(4) {
                    position-anchor: --center;
                }
            }

            :nth-child(5) {
                grid-column: 2 / 3;
                grid-row: 2 / 3;

                button:nth-child(3) {
                    anchor-name: --center;
                }

                div:nth-child(4) {
                    position-anchor: --center;
                }
            }

            :nth-child(6) {
                grid-column: 3 / 4;
                grid-row: 2 / 3;

                button:nth-child(3) {
                    anchor-name: --trailing;
                }

                div:nth-child(4) {
                    position-anchor: --center;
                }
            }

            :nth-child(7) {
                grid-column: 1 / 2;
                grid-row: 3 / 4;

                button:nth-child(3) {
                    anchor-name: --bottom-leading;
                }

                div:nth-child(4) {
                    position-anchor: --bottom;
                }
            }

            :nth-child(8) {
                grid-column: 2 / 3;
                grid-row: 3 / 4;

                button:nth-child(3) {
                    anchor-name: --bottom;
                }

                div:nth-child(4) {
                    position-anchor: --bottom;
                }
            }

            :nth-child(9) {
                grid-column: 3 / 4;
                grid-row: 3 / 4;

                button:nth-child(3) {
                    anchor-name: --bottom-trailing;
                }

                div:nth-child(4) {
                    position-anchor: --bottom;
                }
            }
        }
    }

    .slash-background01 {
        background: #f5f5f5;
        height: 30px;
        width: 100%;
        clip-path: polygon(100% 0, 100% 100%, 0 100%);
    }

    .consultant-example-section {
        background-color: #f5f5f5;
        text-align: center;
        padding: 0px 20px 90px 20px;

        h2 {
            margin: 0;
            padding-top: 20px;
            padding-bottom: 20px;
            font-weight: var(--weight-medium);
        }

        .consultant-examples {
            .consultant-example {
                position: relative;
                background-color: #fff;
                padding: 40px 16px;
                margin-top: 24px;
                border: solid 1px #D9D9D9;
                box-shadow: 0 2px 2px 0px rgba(0, 0, 0, 0.25);

                .consultant-example_title {
                    position: absolute;
                    top: -5px;
                    left: 16px;
                    background-color: #5076B0;
                    color: #fff;
                    padding: 4px 8px;
                }

                .consultant-profile {
                    display: grid;
                    grid-template-columns: 1fr 3fr;
                    grid-template-areas: "img content";
                    column-gap: 8px;

                    div:nth-child(1) {
                        grid-area: img;

                        img {
                            width: 120px;
                            height: auto;
                        }

                        span {
                            font-size: var(--sp-body-06);
                            color: #B1B0B0;
                            display: block;
                            text-align: left;
                        }
                    }

                    div:nth-child(2) {
                        grid-area: content;
                        text-align: left;
                        justify-content: center;

                        p:nth-child(1) {
                            margin: 0;
                            font-size: var(--sp-body-04);
                        }

                        .line {
                            display: block;
                            width: 100%;
                            height: 2px;
                            border-bottom: 2px solid #D9D9D9;
                        }

                        p:nth-child(3) {
                            font-size: var(--sp-body-05);
                            line-height: 1.4;
                        }
                    }
                }
            }
        }
    }

    .slash-background02 {
        background: #f5f5f5;
        height: 30px;
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 0% 100%);
    }

    .usage-flow-section {
        padding-bottom: 48px;

        h2 {
            text-align: center;
            padding: 0 0 24px 0;
            margin: 0;
            font-weight: var(--weight-medium);
        }

        .usage-flow-detail {
            padding: 0 20px;
            text-align: center;

            .usage-flow-step {
                position: relative;
                width: 100%;
                padding: 24px 24px 16px 24px;
                margin-top: 54px;
                background-color: #fff;
                border-radius: 20px;
                border: solid 1px #D9D9D9;

                img:nth-child(1) {
                    position: absolute;
                    top: 0%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 160px;
                }

                p:nth-child(2) {
                    word-break: keep-all;
                    overflow-wrap: break-word;
                    font-size: var(--sp-body-01);
                    font-weight: var(--weight-extra-bold);
                    color: #5076B0;
                    line-height: 1.4;
                }

                img:nth-child(3) {
                    width: 100%;
                }

                p:nth-child(4) {
                    line-height: 1.3;
                    font-size: var(--sp-body-03);
                    text-align: left;
                }
            }
        }
    }

    .cta-buttons-section {
        background: no-repeat url(../../../img/pages/enterprise/index/cta-background.png);
        background-size: cover;
        width: 100%;
        height: 315px;
        text-align: center;
        position: relative;

        .cta-buttons {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);

            :nth-child(n) {
                margin-top: 16px;

                p::before {
                    content: "\\　";
                    font-weight: var(--weight-bold);
                    font-size: var(--sp-body-03);
                    color: #fff;
                }

                p {
                    font-weight: var(--weight-bold);
                    font-size: var(--sp-body-03);
                    color: #fff;
                    padding: 0;
                    margin: 0;

                }

                p::after {
                    content: "　/";
                    font-weight: var(--weight-bold);
                    font-size: var(--sp-body-03);
                    color: #fff;
                }

                a {
                    padding: 16px;
                    margin-top: 8px;
                    width: 300px;
                    font-weight: var(--weight-bold);
                    color: #fff;
                    box-shadow: 0 2px 2px 0px rgba(0, 0, 0, 0.25);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    text-decoration: none;
                }

                a::before {
                    margin-right: 30px;
                }
            }
        }

        .download-button {
            background-color: #D6AF4A;
        }

        .download-button::before {
            content: url(../../../img/pages/enterprise/index/icon/download.svg);
            height: 19px;
        }

        .transition-button {
            background-color: #407BD3;
            border: solid 1px #fff;
        }

        .transition-button::before {
            content: url(../../../img/pages/enterprise/index/icon/computer.svg);
            height: 27px;
        }
    }

}

.contact-footer {
    position: fixed;
    bottom: 0;
    display: block;
    width: 100%;
    background-color: #5076B0;
    padding: 8px;

    div {
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        column-gap: 20px;

        a:nth-child(n) {
            font-size: var(--body-03);
            font-weight: var(--weight-medium);
            color: #fff;
            padding: 8px 16px;
            width: 100px;
            text-decoration: none;
            text-align: center;
        }

        span:nth-child(1) {
            font-size: var(--sp-body-03);
            font-weight: var(--weight-medium);
            color: #fff;
            grid-area: text;
            text-align: right;
        }

        a:nth-child(2) {
            font-size: var(--sp-body-03);
            font-weight: var(--weight-medium);
            grid-area: contact-button;
            padding: 8px;
            border: solid 2px #fff;
            background-color: #5076B0;
            color: #fff;
        }

        a:nth-child(3) {
            display: none;
        }
    }
}

/* 企業ページの一覧画面の共通CSS */
.enterprise-list {
    padding-left: 16px;
    padding-right: 16px;
    display: grid;
    grid-template-areas:
        "title"
        "contents"
        "pagination";
    grid-template-rows: 110px 1fr 150px;
    align-items: center;

    h2 {
        grid-area: title;
        text-align: center;
    }

    .enterprise-pagination {
        grid-area: pagination;
        text-align: center;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 14px;

        /* wordpressのpaginate_linksで生成されるCSSを直指定*/
        .page-numbers {
            border: solid 1px #989898;
            padding: 14px 18px 14px 18px;
            color: #989898;
            text-decoration: none;
        }

        .current {
            background-color: #989898;
            color: white;
        }
    }
}

/* 企業ページの詳細画面の共通CSS */
.enterprise-detail {
    padding: 0px 16px 60px 16px;
}

/* セミナー一覧 */
.enterprise-seminar-list {
    section {
        grid-area: contents;
        display: grid;
        grid-template:
            "filter" auto
            "list" auto / 1fr;
        gap: 40px;

        div:nth-of-type(1) {
            grid-area: filter;
            display: flex;
            gap: 2px;

            .registratio-tag {
                display: block;
                background-color: #f5f5f5;
                padding: 1.5rem 1rem;
                width: 100%;
                text-decoration: none;
                border-bottom: solid 2px #f5f5f5;
                text-align: center;
                word-break: keep-all;
                overflow-wrap: break-word;
                line-height: 1.2;
            }

            .registratio-tag:hover {
                border: none;
                background-color: var(--primary);
                color: #fff;
            }

            .active {
                border-bottom: solid 2px var(--primary);
                color: var(--primary);
            }
        }

        div:nth-of-type(2) {
            display: flex;
            grid-area: list;
            gap: 60px;
            flex-direction: column;

            article {
                display: grid;
                grid-template:
                    "status" 40px
                    "img" auto
                    "date" 40px
                    "divider" auto
                    "title" auto
                    "button" auto / 1fr;

                img {
                    grid-area: img;
                    width: 100%;
                    height: auto;
                }

                div:first-of-type {
                    grid-area: status;
                    align-self: center;
                    margin: 0;

                    .registration-status {
                        display: inline-block;
                        color: #fff;
                        padding: 8px 12px;
                        border-radius: 4px;
                    }

                    .open-for-registration {
                        background-color: #EBC053;
                    }

                    .archive-for-registration {
                        background-color: #407BD3;
                    }

                    .registration-closed {
                        background-color: #958A8A;
                    }
                }

                time {
                    grid-area: date;
                    align-self: center;
                    text-align: left;

                    font-size: var(--sp-body-03);

                    span {
                        font-size: var(--sp-body-01);
                    }
                }

                .divider {
                    grid-area: divider;
                    align-self: center;
                    border-top: 2px solid #958A8A;
                }

                h3 {
                    grid-area: title;
                    font-size: var(--sp-title-03);
                }

                div:nth-of-type(3) {
                    grid-area: button;
                    text-align: center;

                    a {
                        display: grid;
                        grid-template:
                            "text" auto / 1fr;
                        text-decoration: none;
                        padding: 8px 24px;
                        min-height: 50px;
                        border: 2px solid #5076B0;
                        color: #5076B0;
                        background-color: #fff;
                        font-weight: var(--weight-medium);
                        font-size: var(--body-07);
                        align-items: center;

                        span {
                            grid-area: text;
                            justify-self: center;
                        }

                        svg {
                            grid-area: text;
                            width: 12px;
                            height: 12px;
                            fill: #5076B0;
                            justify-self: end;
                        }
                    }

                    a:hover {
                        color: #fff;
                        background-color: #5076B0;

                        svg {
                            fill: #fff;
                        }
                    }
                }
            }
        }
    }
}

/* セミナー詳細 */
.enterprise-seminar-detail {
    display: grid;
    grid-template:
        "title" auto
        "img" auto
        "content" auto
        "form" auto / 1fr;

    h2 {
        grid-area: title;
    }

    .post-thumbnail {
        grid-area: img;
        max-width: 100%;
        height: auto;
    }

    .post-content {
        grid-area: content;
    }

    .external-service-form {
        grid-area: form;
        max-width: 500px;

        div:nth-of-type(1) {
            font-size: var(--sp-title-04);
            text-align: center;
        }
    }

    .event-ended-message {
        grid-area: form;
        max-width: 100%;
        border: Gainsboro 2px solid;
        padding: 20px;
        background: white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        max-height: 140px;
        align-content: center;
        text-align: center;

        p {
            text-align: center;
            color: #696969;
        }

        a {
            display: inline-block;
            margin-top: 8px;
            background-color: #5076B0;
            color: #fff;
            text-decoration: none;
            text-align: center;
            padding: 10px 16px;
            font-size: 14px;
            font-weight: 500;
        }

        a:hover {
            opacity: 0.8;
        }
    }
}

/* 導入事例の一覧 */
.enterprise-usecase-list {
    section {
        grid-area: contents;
        display: grid;
        justify-items: center;
        grid-template-columns: 1fr;

        .usecases-content {
            display: grid;
            grid-template-areas:
                "thumbnail"
                "tags";
            grid-template-rows: 2fr 1fr;
            row-gap: 8px;
            text-decoration: none;

            img:nth-of-type(1) {
                grid-area: thumbnail;
                width: 100%;
                height: auto;
            }

            div:nth-of-type(1) {
                grid-area: tags;
                display: flex;
                gap: 4px;
                flex-wrap: wrap;
                align-content: flex-start;

                .tag-button {
                    display: inline-block;
                    background-color: #5076B0;
                    color: #fff;
                    padding: 8px 12px;
                    border-radius: 5px;
                    text-align: center;
                    font-weight: bold;
                    pointer-events: none;
                    font-size: 18px;
                }
            }
        }
    }
}

/* お役立ち資料 */
.enterprise-whitepaper-list {
    section {
        grid-area: contents;
        display: grid;
        justify-items: center;
        gap: 60px;
        grid-template-columns: 1fr;

        article {
            display: grid;
            grid-template:
                "img" auto
                "title" auto
                "description" auto
                "button" auto / 1fr;
            box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
            border: 1px solid #BAB9B9;
            padding: 30px 20px;

            img {
                grid-area: img;
                width: 100%;
                height: auto;
                margin-top: 20px;
            }

            h3 {
                grid-area: title;
                font-size: var(--sp-title-03);
                justify-self: center;
                margin: 12px 0 0 0;
            }

            div:nth-of-type(1) {
                grid-area: description;
                margin: 12px 0 0 0;
                line-height: 1.3;
            }

            div:nth-of-type(2) {
                grid-area: button;
                text-align: center;
                margin: 30px 0 0 0;

                a {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    text-decoration: none;
                    padding: 8px 24px;
                    min-height: 60px;
                    border: 2px solid #5076B0;
                    color: #5076B0;
                    background-color: #fff;
                    font-weight: var(--weight-medium);
                    text-align: center;
                    margin: 0px 20px;
                }

                a:hover {
                    color: #fff;
                    background-color: #5076B0;
                }
            }
        }
    }
}

.enterprise-whitepaper-detail {
    display: grid;
    grid-template:
        "title" auto
        "img" auto
        "content" auto
        "form" auto / 1fr;

    h2 {
        grid-area: title;
    }

    .post-thumbnail {
        grid-area: img;
        max-width: 100%;
        height: auto;
    }

    .post-content {
        grid-area: content;
    }

    .external-service-form {
        grid-area: form;
        max-width: 500px;

        div:nth-of-type(1) {
            margin-top: 24px;
            font-size: var(--sp-title-04);
            text-align: center;
        }
    }
}

.enterprise-download {
    display: grid;
    grid-template:
        "title" auto
        "content" 110px
        "button" auto / 1fr;
    justify-items: center;

    h2 {
        grid-area: title;
        text-align: center;
    }

    div:nth-of-type(1) {
        grid-area: content;
        justify-self: center;
        align-self: center;
        text-align: center;
        line-height: 1.4;
    }

    a {
        grid-area: button;
        display: inline-block;
        word-break: keep-all;
        overflow-wrap: break-word;
        background-color: #D6AF4A;
        color: #fff;
        font-size: var(--sp-body-03);
        font-weight: var(--weight-medium);
        color: #fff;
        width: 60%;
        padding: 14px 16px;
        text-decoration: none;
        text-align: center;
    }

    a:hover {
        opacity: 0.8;
    }
}

.enterprise-thanks {
    display: grid;
    grid-template-areas:
        "title"
        "description"
        "buttons";
    grid-template-rows: 1fr 1fr 150px;
    align-items: center;
    justify-items: center;

    h2 {
        grid-area: title;
        text-align: center;
    }

    div:nth-of-type(1) {
        grid-area: description;
        text-align: center;
        word-break: keep-all;
    }

    div:nth-of-type(2) {
        grid-area: buttons;
        text-align: center;
        word-break: keep-all;
        display: grid;
        grid-template-areas:
            "top-page-button"
            "contact-button";
        grid-template-rows: 1fr 1fr;
        grid-gap: 10px;

        a {
            text-decoration: none;
            display: block;
            padding: 10px 16px;
            font-size: var(--sp-body-03);
            font-weight: 500;
        }

        a:nth-of-type(1) {
            grid-area: top-page-button;
            background-color: var(--primary);
            border: solid 2px var(--primary);
            color: white;
        }

        a:nth-of-type(1):hover {
            opacity: 0.8;
        }

        a:nth-of-type(2) {
            grid-area: contact-button;
            color: black;
            border: solid 2px black;
        }
    }
}

.enterprise-download-form {
    padding-left: 16px;
    padding-right: 16px;
    display: grid;
    grid-template-areas:
        "title"
        "contents";
    grid-template-rows: 80px 1fr;
    align-items: center;

    h2 {
        grid-area: title;
        text-align: center;
    }
}

@media(992px <=width) {
    .enterprise-top {
        .home-page-hero {
            height: 498px;
            background: no-repeat url(../../../img/pages/enterprise/index/main.svg);
            background-size: cover;
            display: flex;
            justify-content: left;
            align-items: center;

            .home-page-hero__overview {
                margin: 0 60px;

                :not(:first-child) {
                    margin-top: 40px;
                }

                .home-page-hero__heading-01 {
                    font-size: var(--title-01);
                    line-height: 1.6;

                    .home-page-hero__small-heading-01 {
                        font-size: var(--title-02);
                    }
                }

                .home-page-hero__description-text {
                    font-size: var(--body-04);
                    font-weight: var(--weight-medium);
                }
            }
        }

        .solution-overview-section {
            padding-left: 100px;
            padding-right: 100px;

            h2 {
                font-size: var(--title-03);
                margin-top: 100px;
                margin-bottom: 100px;
            }

            .problem-statement_example {
                row-gap: 54px;
                column-gap: 54px;

                :nth-child(n) {

                    img {
                        width: 250px;
                    }

                    p {
                        font-size: var(--body-04);
                    }
                }

                :nth-child(1) {
                    grid-column: 1 /2;
                    grid-row: 1 / 2;
                }

                :nth-child(2) {
                    grid-column: 2 / 3;
                    grid-row: 1 / 2;
                }

                :nth-child(3) {
                    grid-column: 2 / 4;
                    grid-row: 2 / 3;
                }

                :nth-child(4) {
                    grid-column: 1 / 3;
                    grid-row: 2 / 3;
                }

                :nth-child(5) {
                    grid-column: 3 / 4;
                    grid-row: 1 / 2;
                }
            }

            .down-arrow {
                margin: 48px 0px;

                img {
                    width: 100px;
                }
            }

            .pod-features {
                text-align: center;

                .pod-features_description {
                    p {
                        color: #000;
                    }

                    .pod-features_description_beginning {
                        font-size: var(--body-02);
                        line-height: 36px;

                        img {
                            width: 280px;
                        }
                    }

                    .pod-features_description_content {
                        padding-top: 20px;
                        font-size: var(--body-01);
                        line-height: 42px;
                    }

                    .pod-features_description-detail {
                        font-size: var(--body-04);
                        line-height: 42px;
                    }
                }

                .pod-features_stakeholders {
                    display: flex;
                    padding: 72px 24px;

                    .flow-direction {
                        background: no-repeat url(../../../img/pages/enterprise/index/icon/flow-direction-right-arrow.svg);
                        background-position: center;
                        width: 400px;
                        height: auto;
                        background-size: 38px;
                    }

                    div:nth-child(n) {
                        img:nth-child(2) {
                            height: 120px;
                        }

                        p:nth-child(3) {
                            font-size: var(--body-04);
                        }

                        p:nth-child(4) {
                            font-size: var(--body-07);
                        }
                    }

                    div:nth-child(1) {
                        img:nth-child(2) {
                            width: auto;
                        }
                    }

                    div:nth-child(3) {
                        img:nth-child(2) {
                            width: 60px;
                            transform: translate(0, 10px);
                        }
                    }

                    div:nth-child(5) {
                        img:nth-child(2) {
                            width: 60px;
                            transform: translate(0, 10px);
                        }
                    }
                }
            }
        }

        .professionals-text-section {
            text-align: left;

            img {
                width: 85%;
            }
        }

        .chosen-reason-section {
            h2 {
                font-size: var(--title-03);
                padding-top: 102px;
                padding-bottom: 64px;
            }

            .reason-detail01,
            .reason-detail02,
            .reason-detail03 {
                display: grid;
                column-gap: 24px;
                justify-items: start;

                :nth-child(1) {
                    width: 150px;
                }

                :nth-child(2) {
                    font-size: var(--body-02);
                    text-align: left;
                }

                :nth-child(4) {
                    padding: 0;
                    font-size: var(--body-04);
                }
            }

            .reason-detail01 {
                grid-template:
                    ". img" 95px
                    "label img" 45px
                    "title img" 50px
                    ". img" 8px
                    "description img" auto / 1fr 1fr;

                :nth-child(1) {
                    grid-area: label;
                }

                :nth-child(2) {
                    grid-area: title;
                    align-content: center;
                }

                :nth-child(3) {
                    grid-area: img;
                }

                :nth-child(4) {
                    grid-area: description;
                }
            }

            .reason-detail02 {
                grid-template:
                    "img ." 95px
                    "img label" 45px
                    "img title" 50px
                    "img ." 8px
                    "img description" auto / 1fr 1fr;

                :nth-child(1) {
                    grid-area: label;
                }

                :nth-child(2) {
                    grid-area: title;
                    text-align: left;
                    align-content: center;
                }

                :nth-child(3) {
                    grid-area: img;
                }

                :nth-child(4) {
                    grid-area: description;
                }
            }

            .reason-detail03 {
                grid-template:
                    ". img" 95px
                    "label img" 45px
                    "title img" 100px
                    ". img" 8px
                    "description img" auto / 1fr 1fr;

                :nth-child(1) {
                    grid-area: label;
                }

                :nth-child(2) {
                    grid-area: title;
                    line-height: 1.3;
                    align-content: center;
                }

                :nth-child(3) {
                    grid-area: img;
                }

                :nth-child(4) {
                    grid-area: description;
                }
            }
        }

        .service-coverage-area-section {
            padding-top: 120px;

            h2 {
                font-size: var(--title-03);
            }

            .service-coverage-area_description {
                font-size: var(--body-04);
            }

            .service-coverage-area_example {
                padding: 48px;
                display: grid;
                grid-template-columns: 1fr 1fr 1fr;
                row-gap: 48px;

                :nth-child(n) {
                    img:nth-child(1) {
                        width: 120px;
                    }

                    p {
                        font-size: var(--body-03);
                        font-weight: var(--weight-medium);
                        padding-top: 8px;
                        margin: 0;
                    }

                    img:nth-child(3) {
                        width: 120px;
                        height: auto;
                    }

                    button:nth-child(3) {
                        margin: 0;

                        img {
                            width: 120px;
                            height: auto;
                        }
                    }

                    div:nth-child(4) {
                        div:nth-child(1) {
                            p {
                                font-size: var(--body-06);
                            }
                        }
                    }
                }

                :nth-child(1) {
                    div:nth-child(4) {
                        position-anchor: --top-leading;
                    }
                }

                :nth-child(3) {
                    div:nth-child(4) {
                        position-anchor: --top-trailing;
                    }
                }

                :nth-child(4) {
                    div:nth-child(4) {
                        position-anchor: --leading;
                    }
                }

                :nth-child(6) {
                    div:nth-child(4) {
                        position-anchor: --trailing;
                    }
                }

                :nth-child(7) {
                    div:nth-child(4) {
                        position-anchor: --bottom-leading;
                    }
                }

                :nth-child(9) {
                    div:nth-child(4) {
                        position-anchor: --bottom-trailing;
                    }
                }


            }
        }

        .consultant-example-section {
            .consultant-examples {
                display: grid;
                grid-template:
                    "example01 example03" auto
                    "example02 example04" auto / 1fr 1fr;
                row-gap: 24px;
                column-gap: 24px;
                justify-content: center;

                .consultant-example {
                    margin: 0px;

                    .consultant-example_title {
                        padding: 4px 8px;
                        font-size: var(--body-04);
                    }

                    .consultant-profile {
                        column-gap: 18px;

                        div:nth-child(1) {

                            img {
                                width: 180px;
                                height: 200px;
                                object-fit: cover;
                            }

                            span {
                                font-size: var(--body-08);
                            }
                        }

                        div:nth-child(2) {

                            p:nth-child(1) {
                                font-size: var(--body-06);
                            }

                            .line {
                                display: block;
                                width: 100%;
                                height: 2px;
                                border-bottom: 2px solid #D9D9D9;
                            }

                            p:nth-child(3) {
                                font-size: var(--body-07);
                                line-height: 1.4;
                            }
                        }
                    }
                }

                .consultant-example:nth-child(1) {
                    .consultant-profile {
                        div:nth-child(1) {
                            img {
                                object-position: 26% 100%;
                            }
                        }
                    }
                }

                .consultant-example:nth-child(2) {
                    .consultant-profile {
                        div:nth-child(1) {
                            img {
                                object-position: 0% 100%;
                            }
                        }
                    }
                }

                .consultant-example:nth-child(3) {
                    .consultant-profile {
                        div:nth-child(1) {
                            img {
                                object-position: 55% 100%;
                            }
                        }
                    }
                }

                .consultant-example:nth-child(4) {
                    .consultant-profile {
                        div:nth-child(1) {
                            img {
                                object-position: 45% 100%;
                            }
                        }
                    }
                }
            }
        }

        .usage-flow-section {
            padding-top: 100px;
            padding-bottom: 60px;

            .usage-flow-detail {
                .usage-flow-step {
                    display: grid;
                    grid-template:
                        "img ." 32px
                        "img title" auto
                        "img description" auto
                        "img ." 32px / 1fr 1fr;
                    align-items: center;
                    justify-items: start;
                    column-gap: 24px;
                    padding: 48px 48px 24px 48px;


                    img:nth-child(1) {
                        position: absolute;
                        top: 0%;
                        left: 15%;
                        transform: translate(-50%, -50%);
                        width: 320px;
                    }

                    p:nth-child(2) {
                        grid-area: title;
                        text-align: left;
                        font-size: var(--body-01);
                    }

                    img:nth-child(3) {
                        grid-area: img;
                    }

                    p:nth-child(4) {
                        grid-area: description;
                        font-size: var(--body-04);
                    }
                }
            }
        }

        .cta-buttons-section {
            background: no-repeat url(../../../img/pages/enterprise/index/cta-background-large.svg);
            background-size: cover;
            width: 100%;
            height: 600px;

            .cta-buttons {
                display: flex;
                gap: 64px;

                div:nth-child(n) {
                    p {
                        font-size: var(--body-06);
                    }

                    button {
                        width: 300px;
                        height: 62px;
                        font-size: var(--body-04);
                    }
                }
            }
        }
    }

    .contact-footer {
        padding: 20px 60px;

        div {
            display: flex;
            column-gap: 20px;

            span:nth-child(1) {
                font-size: var(--body-03);
                font-weight: var(--weight-medium);
                color: #fff;
                grid-area: text;
                text-align: right;
            }

            a:nth-child(n) {
                font-size: var(--body-03);
                font-weight: var(--weight-medium);
                color: #fff;
                padding: 8px 16px;
                width: 300px;
                text-decoration: none;
                text-align: center;
            }

            a:nth-child(2) {
                grid-area: contact-button;
                border: solid 2px #fff;
                background-color: #5076B0;
            }

            a:nth-child(2):hover {
                border: solid 2px #5076B0;
                background-color: #fff;
                color: #5076B0;
            }

            a:nth-child(3) {
                display: inline-block;
                grid-area: download-button;
                border: solid 2px #D6AF4A;
                background-color: #D6AF4A;
                color: #fff;
            }

            a:nth-child(3):hover {
                border: solid 2px #D6AF4A;
                background-color: #fff;
                color: #D6AF4A;
            }
        }
    }

    /* 企業ページの一覧画面の共通CSS */
    .enterprise-list {
        padding-left: 130px;
        padding-right: 130px;
        grid-template-areas:
            "title"
            "contents"
            "pagination";
        grid-template-rows: 310px 1fr 300px;
    }

    /* 企業ページの詳細画面の共通CSS */
    .enterprise-detail {
        padding: 40px 80px 40px 80px;
    }

    /* セミナー */
    .enterprise-seminar-list {
        section {
            grid-area: contents;
            display: grid;
            grid-template:
                "filter" auto
                "list" auto / 1fr;

            div:nth-of-type(1) {
                grid-area: filter;
                display: flex;
            }

            div:nth-of-type(2) {
                display: flex;
                grid-area: list;
                gap: 120px;
                flex-direction: column;

                article {
                    display: grid;
                    grid-template:
                        "img status" auto
                        "img date" 52px
                        "img divider" 30px
                        "img title" auto
                        "img button" auto / 1fr 1fr;
                    column-gap: 43px;
                    align-items: start;

                    img {
                        grid-area: img;
                        width: 100%;
                        height: auto;
                    }

                    div:nth-of-type(1) {
                        grid-area: status;
                        align-self: start;

                        .registration-status {
                            font-size: var(--body-04);
                            border-radius: 6px;
                        }

                    }

                    time {
                        grid-area: date;
                        align-self: end;

                        font-size: var(--body-03);

                        span {
                            font-size: var(--body-01);
                        }
                    }

                    .divider {
                        grid-area: divider;
                    }

                    h3 {
                        grid-area: title;
                        font-size: var(--title-04);
                    }

                    div:nth-of-type(3) {
                        grid-area: button;

                        a {
                            font-size: var(--body-05);
                            min-height: 60px;

                            svg {
                                width: 14px;
                                height: 14px;
                            }
                        }

                    }
                }
            }
        }
    }

    .enterprise-seminar-detail {
        display: grid;
        grid-template:
            "title form" auto
            "img form" auto
            "content form" auto / 2fr 1fr;
        column-gap: 48px;

        h2 {
            grid-area: title;
        }

        .post-thumbnail {
            grid-area: img;
            max-width: 100%;
            height: auto;
        }

        .post-content {
            grid-area: content;
        }

        .external-service-form {
            grid-area: form;
            max-width: 500px;

            div:nth-of-type(1) {
                font-size: var(--title-04);
                text-align: center;
            }
        }
    }

    /* 導入事例 */
    .enterprise-usecase-list {
        section {
            grid-template-columns: 1fr 1fr 1fr;
            column-gap: 50px;
        }
    }

    .enterprise-usecases-detail {
        display: grid;
        grid-template:
            "title" auto
            "content" auto / 1fr;
        column-gap: 48px;

        h2 {
            grid-area: title;
        }

        .post-content {
            grid-area: content;
        }
    }

    /* お役立ち資料 */
    .enterprise-whitepaper-list {
        section {
            grid-template-columns: 1fr 1fr 1fr;
            column-gap: 50px;

            article {
                div:nth-of-type(2) {
                    grid-area: button;
                    text-align: center;
                    margin: 30px 0 0 0;

                    a {
                        min-height: 60px;
                        margin: 0px 60px;
                    }
                }
            }
        }
    }

    .enterprise-whitepaper-detail {
        display: grid;
        grid-template:
            "title form" auto
            "img form" auto
            "content form" auto / 2fr 1fr;
        column-gap: 48px;

        h2 {
            grid-area: title;
        }

        .post-thumbnail {
            grid-area: img;
            max-width: 100%;
            height: auto;
        }

        .post-content {
            grid-area: content;
        }

        .external-service-form {
            grid-area: form;
            max-width: 500px;

            div:nth-of-type(1) {
                font-size: var(--title-04);
                text-align: center;
            }
        }
    }

    .enterprise-download {
        display: grid;
        grid-template:
            "title" auto
            "content" 110px
            "button" auto / 1fr;
        justify-items: center;

        a {
            font-size: var(--body-03);
        }
    }

    .enterprise-thanks {
        display: grid;
        grid-template-areas:
            "title"
            "description"
            "buttons";
        grid-template-rows: 1fr 1fr 150px;
        align-items: center;
        justify-items: center;

        h2 {
            grid-area: title;
            text-align: center;
        }

        div:nth-of-type(1) {
            grid-area: description;
            text-align: center;
            word-break: keep-all;
        }

        div:nth-of-type(2) {
            grid-area: buttons;
            text-align: center;
            word-break: keep-all;
            display: grid;
            grid-template-areas:
                "top-page-button"
                "contact-button";
            grid-template-rows: 1fr 1fr;
            grid-gap: 10px;

            a {
                text-decoration: none;
                display: block;
                padding: 10px 16px;
                font-size: var(--body-05);
                font-weight: 500;
            }

            a:nth-of-type(1) {
                grid-area: top-page-button;
                background-color: var(--primary);
                border: solid 2px var(--primary);
                color: white;
            }

            a:nth-of-type(1):hover {
                opacity: 0.8;
            }

            a:nth-of-type(2) {
                grid-area: contact-button;
                color: black;
                border: solid 2px black;
            }
        }
    }

    .enterprise-download-form {
        padding-left: 130px;
        padding-right: 130px;
        grid-template-areas:
            "title"
            "contents";
        grid-template-rows: 80px 1fr;
    }
}
