h4 {
    text-decoration: underline;
}

.sp {
    display: none;
}

.main-bg {
    padding: 0 0 80px 0;
}

.main-bg img {
    /*max-width: 500px;*/
    max-width: 100%;
    height: auto;
}

.heading2 {
    width: 100vw;
    position: relative;
    left: calc(500px - 50vw);
    height: 120px;
    background: white;
    text-align: center;
    top: 0px;
    color: #529cc1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px !important;
    /*box-shadow: 0px 3px 3px -3px rgba(0, 0, 0, 0.6);*/
    border-bottom: solid 1px rgba(0, 0, 0, 0.10);
}

.heading2::before {
    content: "";
    position: absolute;
    bottom: -51px;
    left: 50%;
    margin-left: -33px;
    border: 26px solid transparent;
    border-top: 26px solid #FFF;
    z-index: 2;
}

.heading2::after {
    content: "";
    position: absolute;
    bottom: -54px;
    left: 50%;
    margin-left: -34px;
    border: 27px solid transparent;
    border-top: 27px solid rgba(0, 0, 0, 0.10);
    z-index: 1;
}

p {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
}

.main-bg .adjust-vertical div {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
}

.heading3 {
    margin: 24px 0 !important;
    font-size: 24px;
    position: relative;
    display: inline-flex;
    justify-content: center;
    width: calc(100%);
    color: #529cc1;
    font-size: 32px;
    z-index: 99;
    margin: 24px 0 !important;
    align-items: center;
}

.heading3:before,
.heading3:after {
    content: '';
    display: inline-block;
    height: 1px;
    background-color: #529cc1;
    flex: 1;
    min-width: 160px;
}

.heading3::before {
    margin-right: 16px;
}

.heading3::after {
    margin-left: 12px;
}

/* add */
.heading2 {
    font-size: 28px;
    text-align: center;
}

.heading3 {
    margin-top: 52px !important;
    margin-bottom: 0px !important;
    font-size: 24px;
    text-align: center;
}

.img-text-wrap,
.img-text-wrap-reverse {
    display: flex;
    align-items: center;
}

.img-text-wrap img {
    width: 47.5%;
    margin-right: 2.5%;
}

.img-text-wrap-reverse img {
    width: 47.5%;
    margin-left: 2.5%;
}

.main-bg {
    padding: 0;
}

@media screen and (max-width: 1000px) {
    .sp {
        display: initial;
    }

    .pc {
        display: none;
    }

    .main-bg {
        margin-top: 20px !important;
        padding-bottom: 40px !important;
    }

    .main-bg img {
        max-width: 100%;
    }

    .heading2 {
        width: 100vw;
        position: relative;
        left: -16px;
        top: -20px;
        height: auto;
        display: inline-flex;
        justify-content: center;
        margin-bottom: 0px !important;
        border-bottom: solid 1px rgba(0, 0, 0, 0.10);
        font-size: 21px;
        background: white;
        padding: 8px 0;
    }

    .heading2::before {
        content: "";
        position: absolute;
        bottom: -51px;
        left: 50%;
        margin-left: -33px;
        border: 26px solid transparent;
        border-top: 26px solid #FFF;
        z-index: 2;
    }

    .heading2::after {
        content: "";
        position: absolute;
        bottom: -54px;
        left: 50%;
        margin-left: -34px;
        border: 27px solid transparent;
        border-top: 27px solid rgba(0, 0, 0, 0.10);
        z-index: 1;
    }

    .heading3 {
        margin-top: 24px !important;
        font-size: 20px;
        width: calc(100vw - 32px);
        position: relative;
        left: -16px;
        background: white;
        padding: 8px 16px;
    }

    .heading3:before,
    .heading3:after {
        min-width: 16px;
    }

    .img-text-wrap {
        flex-wrap: wrap;
    }

    .img-text-wrap-reverse {
        flex-wrap: wrap-reverse;
    }

    .img-text-wrap img,
    .img-text-wrap-reverse img {
        width: 90%;
        margin: auto;
        margin-bottom: 20px;
    }
}