body {
    font-family: 'M PLUS 1p', sans-serif;
}

.section {
    background-color: #f5f7f9;
    padding: 90px 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-top: 120px solid #000000;
    border-right: 200px solid transparent;
}

.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    border-bottom: 120px solid #000000;
    border-left: 200px solid transparent;
}

.row {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.col {
    width: 50%;
}

.heading {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

h1 {
    font-size: 54px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 48px;
}

.text {
    line-height: 1.8;
}

@media screen and (max-width: 1200px) {
    h1 {
        font-size: 45px;
        margin-bottom: 36px;
    }
}

@media screen and (max-width: 1000px) {
    h1 {
        font-size: 34px;
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 767px) {
    .section {
        padding: 80px 0 30px;
    }

    .section::before {
        border-top: 60px solid #000000;
        border-right: 160px solid transparent;
    }

    .section::after {
        border-bottom: 60px solid #000000;
        border-left: 160px solid transparent;
    }

    .heading {
        font-size: 18px;
        margin-bottom: 16px;
    }

    h1 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .row {
        flex-wrap: wrap;
        gap: 20px;
        /* flex-wrap: wrap; または display: block;  */
    }

    .col {
        width: 100%
    }

}