@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;
        }
    }
}

.card-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 3rem;
    & li {
        & a {
            background-color: #fff;
            border-radius: 2rem;
            padding: 7.2rem 6.8rem;
            box-sizing: border-box;
            width: 100%;
            display: flex;
            justify-content: space-between;
            gap: 6.9rem;
            @media screen and (max-width:767px){
            padding: 2rem 2rem 3rem;
            gap: 2rem;
            flex-direction: column;
            }
            .img-container {
                width: 37.4rem;
                @media screen and (max-width:767px){
                    width: 100%;
                }
                & img {
                    width: 100%;
                    vertical-align: top;
                }
            }
            .text-container {
                width: 100%;
                flex: 1;
                .title {
                    font-family: "Zen Kaku Gothic New", sans-serif;
                    font-style: normal;
                    font-weight: 700;
                    font-size: 2.9rem;
                    line-height: 140%;
                    letter-spacing: 0.1em;
                    color: #212121;
                    margin-bottom: 3.3rem;
                    @media screen and (max-width: 767px) {
                        font-size: 1.8rem;
                        margin-bottom: 1rem;
                    }
                }
                .description {
                    font-family: "Zen Kaku Gothic New", sans-serif;
                    font-style: normal;
                    font-weight: 400;
                    font-size: 1.8rem;
                    line-height: 3.3rem;
                    letter-spacing: 0.06em;
                    color: #000000;
                    margin-bottom: 4rem;
                    @media screen and (max-width: 767px) {
                        font-size: 1.4rem;
                        line-height: 2.4rem;
                        margin-bottom: 1rem;
                    }
                }
                .btn-description {
                    display: flex;
                    align-items: center;
                    justify-content: flex-end;
                    & span {
                        font-family: "Zen Kaku Gothic New", sans-serif;
                        font-style: normal;
                        font-weight: 500;
                        font-size: 2rem;
                        line-height: 3.4rem;
                        text-align: right;
                        letter-spacing: -0.01em;
                        color: #212121;
                        @media screen and (max-width:767px){
                        font-size: 1.6rem;
                        line-height: 1;
                        }
                    }
                    & img {
                        width: 4.1rem;
                        margin-left: 1.5rem;
                        @media screen and (max-width:767px){
                            width: 3rem;
                            margin-left: 1rem;
                        }
                    }
                }
            }
        }
    }
}


.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: 158rem;
        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; */
}
