@charset 'utf-8';

html {
    font-size: 62.5%;
    letter-spacing: 0;
    font-family: "Noto Sans JP", sans-serif;
    -webkit-text-size-adjust: none;

    @media screen and (min-width: 1080.01px) and (max-width: 1919.99px) {
        font-size: calc(10 / 1919 * 100 * 1vw);
    }

    /* あまりにも文字サイズが小さくなった場合 */
    @media screen and (min-width: 767.01px) and (max-width: 1080px) {
        font-size: calc(12 / 1920 * 100 * 1vw);
    }

    /* スマホ用（デザインサイズが375の場合） */
    @media screen and (max-width: 767px) {
        font-size: calc(10 / 375 * 100 * 1vw);
    }
}

#main_banner {
    width: 100%;
    position: relative;
    .banner-text {
        width: 100%;
        position: relative;
        z-index: 2;
        @media screen and (max-width: 767px) {
            padding-top: 12rem;
        }
        .banner-header {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 2.5rem;
            margin-bottom: 5rem;
            @media screen and (max-width: 767px) {
                gap: 1rem;
                margin-bottom: 0;
            }
            .title {
                font-family: var(--Pr6N);
                font-style: normal;
                font-weight: 400;
                font-size: 5.5rem;
                line-height: 1;
                letter-spacing: 0.02em;
                color: #ffffff;
                background-color: #000;
                padding: 3.3rem 2rem;
                position: relative;
                display: inline-block;
                @media screen and (max-width: 767px) {
                    font-size: 1.8rem;
                    padding: 1.2rem 0.7rem;
                }
            }
        }
        .banner-description {
            max-width: 75.5rem;
            font-family: "Noto Sans JP", sans-serif;
            font-style: normal;
            font-weight: 400;
            font-size: 1.8rem;
            line-height: 3.8rem;
            letter-spacing: 0.06em;
            color: #000000;
            background: #fff;
            padding: 4.8rem 5.7rem 5.5rem 6.5rem;
            box-sizing: border-box;
            @media screen and (max-width: 767px) {
                padding: 2rem 2rem 5rem;
                font-size: 1.4rem;
                line-height: 2.6rem;
                width: 100%;
            }
        }
    }
    .banner-img {
        width: 120.6rem;
        position: absolute;
        z-index: 0;
        right: 0;
        top: -7.9rem;
        @media screen and (max-width: 767px) {
            width: 100%;
            position: absolute;
            top: 0;
        }
    }
}

#overview {
    width: 100%;
    background: #f4f7f9;
    margin-top: -7.9rem;
    padding-top: 14.2rem;
    padding-bottom: 6.5rem;
    @media screen and (max-width: 767px) {
        padding-top: 5rem;
        padding-bottom: 5rem;
        margin-top: 0;
    }

    .title {
        font-family: "Noto Sans JP", sans-serif;
        font-style: normal;
        font-weight: 600;
        font-size: 2.2rem;
        line-height: 2.8rem;
        text-align: center;
        letter-spacing: 0.06em;
        color: #000000;
        margin-bottom: 3.6rem;
        @media screen and (max-width:767px){
        font-size: 1.8rem;
        line-height: 2.6rem;
                margin-bottom: 2rem;
        }
    }
    .subtext {
        font-family: "Noto Sans JP", sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 1.6rem;
        line-height: 2.8rem;
        text-align: center;
        letter-spacing: 0.06em;
        color: #000000;
        margin-bottom: 6.5rem;
        @media screen and (max-width: 767px) {
            font-size: 1.4rem;
            line-height: 2.6rem;
            margin-bottom: 2rem;
        }
    }
    .profiles {
        display: flex;
        justify-content: center;
        gap: 6.9rem;
        @media screen and (max-width: 767px) {
            gap: 2rem 4%;
            flex-wrap: wrap;
        }
        .card {
            width: 28.4rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            @media screen and (max-width: 767px) {
                width: 48%;
            }
            .card-img {
                margin-bottom: 2.3rem;
                @media screen and (max-width: 767px) {
                    margin-bottom: 1rem;
                }
                & img {
                    width: 100%;
                }
            }
            .name,
            .position {
                font-family: "Noto Sans JP", sans-serif;
                font-style: normal;
                font-weight: 700;
                font-size: 1.6rem;
                line-height: 2.8rem;
                text-align: center;
                letter-spacing: 0.06em;
                color: #000000;
                @media screen and (max-width: 767px) {
                    font-size: 1.4rem;
                    line-height: 2.6rem;
                }
            }
            .position {
                font-weight: normal;
                white-space: nowrap;
                font-size: 1.4rem;
                @media screen and (max-width: 767px) {
                    font-size: 1.2rem;
                    white-space: normal;
                }
            }
            .description {
                margin-top: 1rem;
                font-family: "Noto Sans JP", sans-serif;
                font-style: normal;
                font-weight: 400;
                font-size: 1.6rem;
                line-height: 2.8rem;
                letter-spacing: 0.06em;
                color: #000000;
                @media screen and (max-width: 767px) {
                    font-size: 1.4rem;
                    line-height: 2.6rem;
                }
            }
        }
    }
}

#conversation {
    padding-top: 6.9rem;
    width: 100%;
    @media screen and (max-width: 767px) {
        padding-top: 5rem;
    }
    .block {
        margin-bottom: 13rem;
        display: flex;
        justify-content: space-between;
        gap: 6.3rem;
        @media screen and (max-width: 767px) {
            margin-bottom: 4rem;
            flex-direction: column;
            gap: 2rem;
        }
        .block-img {
            position: relative;
            width: 66.8rem;
            @media screen and (max-width: 767px) {
                width: 100%;
            }
            & img {
                width: 100%;
                vertical-align: top;
            }
            .block-img-text {
                position: absolute;
                .block-text-container {
                    font-family: var(--Pr6N);
                    font-style: normal;
                    font-weight: 600;
                    font-size: 3.8rem;
                    line-height: 1;
                    letter-spacing: 0.06em;
                    color: #ffffff;
                    padding: 2.2rem 1.2rem;
                    box-sizing: border-box;
                    background-color: #000;
                    display: table;
                    @media screen and (max-width: 767px) {
                        padding: 1.2rem 0.7rem;
                        font-size: 1.8rem;
                    }
                }
                .block-text-container:first-child {
                    margin-bottom: 1.5rem;
                    @media screen and (max-width: 767px) {
                        margin-bottom: 1rem;
                    }
                }
            }
        }
        .block-text {
            flex: 1;
            width: 100%;
            .block-header {
                font-family: "Noto Sans JP", sans-serif;
                font-style: normal;
                font-weight: 600;
                font-size: 1.6rem;
                line-height: 2.8rem;
                letter-spacing: 0.06em;
                color: #000000;
                margin-bottom: 5rem;
                position: relative;
                padding-left: 6.2rem;
                @media screen and (max-width: 767px) {
                    font-size: 1.4rem;
                    line-height: 2.6rem;
                    padding-left: 4rem;
                    margin-bottom: 2rem;
                }
                &:after {
                    content: "";
                    position: absolute;
                    width: 4.9rem;
                    height: 1px;
                    background-color: #000;
                    top: 50%;
                    left: 0;
                    transform: translateY(-50%);
                    @media screen and (max-width: 767px) {
                        width: 3.2rem;
                        top: 1.3rem;
                        transform: unset;
                    }
                }
            }
            .speach-flex {
                display: flex;
                gap: 3.4rem;
                width: 100%;
                margin-bottom: 2.5rem;
                @media screen and (max-width: 767px) {
                    gap: 2.4rem;
                }
                .profile {
                    width: 7rem;
                    @media screen and (max-width: 767px) {
                        width: 5rem;
                    }
                    & img {
                        width: 100%;
                        vertical-align: top;
                    }
                    .name_small {
                        font-family: "Noto Sans JP", sans-serif;
                        font-style: normal;
                        font-weight: 600;
                        font-size: 1.4rem;
                        line-height: 2.8rem;
                        text-align: center;
                        letter-spacing: 0.06em;
                        color: #000000;
                        @media screen and (max-width: 767px) {
                            font-size: 1.2rem;
                            line-height: 2.6rem;
                        }
                    }
                }
                .bubble {
                    position: relative;
                    flex: 1;
                    background-color: #f4f7f9;
                    padding: 2rem 2.7rem 2rem;
                    box-sizing: border-box;
                    border-radius: 0.8rem;
                    font-family: "Noto Sans JP", sans-serif;
                    font-style: normal;
                    font-weight: 400;
                    font-size: 1.6rem;
                    line-height: 2.8rem;
                    letter-spacing: 0.06em;
                    color: #000000;
                    @media screen and (max-width: 767px) {
                        padding: 2rem;
                        font-size: 1.4rem;
                        line-height: 2.6rem;
                    }
                    &::after {
                        content: "";
                        position: absolute;
                        left: -2rem;
                        width: 2.6rem;
                        height: 2.6rem;
                        background: url("../../img/crosstalk01/arrow.svg") no-repeat center / contain;
                        top: 2.3rem;
                        @media screen and (max-width: 767px) {
                            width: 2rem;
                            height: 2rem;
                            left: -1.6rem;
                        }
                    }
                }
            }
        }
    }
    .block.reverse {
        flex-direction: row-reverse;
        @media screen and (max-width: 767px) {
            flex-direction: column;
        }
    }
    .block1 .block-img-text {
        right: -1.6rem;
        top: 3.6rem;
        @media screen and (max-width: 767px) {
            right: -1rem;
            top: 1rem;
        }
    }
    .block2 .block-img-text {
        left: -1.5rem;
        top: 31rem;
        @media screen and (max-width: 767px) {
            left: -1rem;
            top: 10rem;
        }
    }
    .block3 .block-img {
        margin-top: 14.4rem;
        @media screen and (max-width: 767px) {
            margin-top: 7rem;
        }
    }
    .block3 .block-img-text {
        left: 0;
        top: -12.2rem;
        @media screen and (max-width: 767px) {
            top: -8rem;
        }
    }
    .block4 .block-img-text {
        left: -1.5rem;
        top: 20rem;
        @media screen and (max-width: 767px) {
            left: -1rem;
            top: 10rem;
        }
    }
    .block5 .block-img-text {
        right: -1.5rem;
        top: 22.5rem;
        @media screen and (max-width: 767px) {
            right: -1rem;
            top: 12rem;
        }
    }
}

#last_block {
    padding-bottom: 12.5rem;
    width: 100%;
    @media screen and (max-width: 767px) {
        padding-bottom: 6.5rem;
    }
    .card {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        .header {
            margin-bottom: 4.8rem;
            font-family: var(--Pr6N);
            font-style: normal;
            font-weight: 400;
            font-size: 3.8rem;
            line-height: 6rem;
            text-align: center;
            letter-spacing: 0.06em;
            color: #000000;
            @media screen and (max-width: 767px) {
                margin-bottom: 2rem;
                font-size: 1.8rem;
                line-height: 3rem;
            }
        }
        .description {
            font-family: "Noto Sans JP", sans-serif;
            font-style: normal;
            font-weight: 400;
            font-size: 1.6rem;
            line-height: 3.7rem;
            text-align: center;
            letter-spacing: 0.06em;
            color: #000000;
            margin-bottom: 5.5rem;
            @media screen and (max-width: 767px) {
                font-size: 1.4rem;
                line-height: 2.6rem;
                margin-bottom: 2rem;
                text-align: left;
                & br {
                    display: none;
                }
            }
        }
        .card-img {
            width: 63.2rem;
            @media screen and (max-width: 767px) {
                width: 100%;
            }
            & img {
                width: 100%;
                vertical-align: top;
            }
        }
    }
}
