@charset "UTF-8";
/* CSS Document */


@media screen and (max-width: 767px) {


    .maincontents-inner section:not(:last-child) {
        margin-bottom: 60px;
    }

    .layout-orange > div:not(:last-child) {
        margin-bottom: 40px;
    }

    /* layout01 */

    .layout01 {
        margin: 0px -20px;
        padding: 20px 4%;
    }

    .layout01 .box {
        padding: 20px 6%;
        justify-content: center;
        flex-direction: column;
        gap: 20px;
        border-radius: 15px;
    }

    .layout01 .box:not(:last-child) {
        margin-bottom: 20px;
    }

    .layout01 .box-title {
        width: 100%;
        border-right-style: none;
        border-bottom-style: solid;
        padding-bottom: 15px;
    }

    .layout01 .box-text {
        width: 100%;
        padding: 0px 0px;
    }

    .layout01 h4 {
        font-size: 18px;
        letter-spacing: 0.15em;
    }


    /* layout02 */

    .layout02 {
        width: 100%;
        margin-bottom: 30px;
    }

    /* layout03 */

    .layout03 {
        width: 100%;
        max-width: 400px;
    }

    /* layout04 */

    .layout04 {
        width: 100%;
        max-width: 400px;
        padding-top: 50px;
    }



    .pc-view {
        display: none;
    }

    .sp-view {
        display: inline-block;
    }

}
