@charset "UTF-8";

.first-block {
    padding-top: 6.5rem;
    max-width: 96rem;
    margin: 0 auto 17.6rem;
    @media screen and (max-width: 767px) {
        padding-top: 0;
        margin: 0 auto 5rem;
    }
    .header {
        font-family: var(--zenkaku);
        font-style: normal;
        font-weight: 700;
        font-size: 4.4rem;
        line-height: 7.1rem;
        text-align: center;
        letter-spacing: 0.1em;
        color: #212121;
        margin-bottom: 4.6rem;
        @media screen and (max-width: 767px) {
            font-size: 2rem;
            line-height: 1.4;
            margin-bottom: 3rem;
            letter-spacing: 0.05em;
        }
    }
}

.content-bg {
    position: relative;
    &:after {
        content: "";
        position: absolute;
        width: 158rem;
        height: 170rem;
        top: 28rem;
        left: 50%;
        transform: translateX(-50%);
        background: url("../../../common/img/common-lower-bg.svg") no-repeat center / 100% auto;
        z-index: 2;
    }

}

.block {
    width: 100%;
    margin-bottom: 13.7rem;
    @media screen and (max-width: 767px) {
        margin-bottom: 5rem;
    }
    .flex-contents {
        display: flex;
        align-items: center;
        gap: 9.6rem;
        .img-container {
            width: 72.8rem;
            @media screen and (max-width:767px){
                width: 100%;
            }
            & img {
                width: 100%;
                vertical-align: top;
            }
        }
        .text-container {
            width: 61.2rem;
            @media screen and (max-width:767px){
                width: 100%;
            }
            .header {
                font-family: var(--zenkaku);
                font-style: normal;
                font-weight: 700;
                font-size: 3.7rem;
                line-height: 1.6;
                letter-spacing: 0.1em;
                color: #212121;
                margin-bottom: 4.5rem;
                border-bottom: #a2a2a2 1px solid;
                @media screen and (max-width:767px){
                font-size: 2rem;
                margin-bottom: 3rem;
                }
            }
            & p {
                @media screen and (max-width:767px){
                    margin-top: 1rem;
                }
            }
        }
    }
}

.block:last-child {
    margin-bottom: 0;
}

.block2 {
    position: relative;
    z-index: 3;
}



.first-block {
    padding-top: 6.5rem;
    max-width: 96rem;
    margin: 0 auto 17.6rem;
    @media screen and (max-width: 767px) {
        padding-top: 0;
        margin: 0 auto 5rem;
    }
    .header {
        font-family: var(--zenkaku);
        font-style: normal;
        font-weight: 700;
        font-size: 4.4rem;
        line-height: 7.1rem;
        text-align: center;
        letter-spacing: 0.1em;
        color: #212121;
        margin-bottom: 4.6rem;
        @media screen and (max-width: 767px) {
            font-size: 2rem;
            line-height: 1.4;
            margin-bottom: 3rem;
            letter-spacing: 0.05em;
        }
    }
}

.content-bg {
    position: relative;
    &:after {
        content: "";
        position: absolute;
        width: 158rem;
        height: 170rem;
        top: 28rem;
        left: 50%;
        transform: translateX(-50%);
        background: url("../../../common/img/common-lower-bg.svg") no-repeat center / 100% auto;
        z-index: 2;
    }

}

.block {
    width: 100%;
    margin-bottom: 13.7rem;
    @media screen and (max-width: 767px) {
        margin-bottom: 5rem;
    }
    .flex-contents {
        display: flex;
        align-items: center;
        gap: 9.6rem;
        .img-container {
            width: 72.8rem;
            @media screen and (max-width:767px){
                width: 100%;
            }
            & img {
                width: 100%;
                vertical-align: top;
            }
        }
        .text-container {
            width: 61.2rem;
            @media screen and (max-width:767px){
                width: 100%;
            }
            .header {
                font-family: var(--zenkaku);
                font-style: normal;
                font-weight: 700;
                font-size: 3.7rem;
                line-height: 1.6;
                letter-spacing: 0.1em;
                color: #212121;
                margin-bottom: 4.5rem;
                border-bottom: #a2a2a2 1px solid;
                @media screen and (max-width:767px){
                font-size: 2rem;
                margin-bottom: 3rem;
                }
            }
            & p {
                @media screen and (max-width:767px){
                    margin-top: 1rem;
                }
            }
        }
    }
}

.block:last-child {
    margin-bottom: 0;
}

.block3 {
    position: relative;
    z-index: 3;
}
