@charset "UTF-8";
/* CSS Document */


@media screen and (max-width: 767px) {



    .contents .container {
        padding: 0px 0px 90px;
    }

    /* contents02 */

    .contents02 {
        padding-top: 0px;
    }

    .contents02 > h2 {
        font-size: 21px;
        letter-spacing: 0em;
        margin-bottom: 50px;
    }

    /* layout01 */

    .layout01 {
        padding: 40px 0px 40px;
    }

    .layout01::after {
        height: 30px;
        margin-bottom: -30px;
    }

    .layout01 .box-text {
        margin-bottom: 40px;
    }

    .layout01 .box-detail {
        padding: 0px 5%;
        gap: 30px 2%;
        text-align: center;
    }

    .layout01 .box {
        width: 32%;
    }

    .layout01 .box img {
        width: 100%;
    }

    .layout01 h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    /* layout02 */

    .layout02 .box:not(:last-child) {
        margin-bottom: 80px;
    }


    .layout02 .item01:not(:last-child) {
        margin-bottom: 100px;
    }


    .layout02 .box::before {
        width: 85%;
        max-width: 400px;
        height: 150px;
        margin-bottom: -25px;
    }

    .layout02 .box:nth-child(odd)::before {
        right: 0px;
    }

    .layout02 .box:nth-child(even)::before {
        left: 0px;
    }

    .layout02 .item01::before {
        width: 85%;
        height: 330px;
        margin-bottom: -30px;
    }

    .layout02 .inner {
        justify-content: center;
        flex-direction: column;
        gap: 30px;
    }

    .layout02 .box:nth-child(even) .inner {
        flex-direction: column;
    }

    .layout02 .box-detail {
        width: 100%;
    }

    .layout02 .box-img {
        width: 100%;
    }

    .layout02 .item01 .box-img {
        width: 100%;
        margin-right: 0px;
    }

    .layout02 h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .layout02 h3 {
        font-size: 18px;
        padding-left: 10px;
        margin-bottom: 20px;
        border-width: 3px;
    }


    .pc-view {
        display: none;
    }

    .sp-view {
        display: inline-block;
    }

}
