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


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

    .maincontents-inner::before {
        height: 1350px;
    }

    .box-title-page .box-text {
        padding-top: 25px;
        width: 100%;
    }

    /* layout01 */

    .layout01 {
        margin-bottom: 50px;
    }

    /* layout02 */

    .layout02 .box {
        border-radius: 30px;
        border-width: 3px;
    }

    .layout02 .box:not(:last-child) {
        margin-bottom: 30px;
    }

    .layout02 .box::before {
        height: 40px;
    }

    .layout02 .box-detail {
        padding: 60px 8% 30px;
    }

    .layout02 .box-case {
        padding: 30px 8%;
    }

    .layout02 .box-case .item {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .layout02 .box-case .item:not(:last-child) {
        margin-bottom: 30px;
    }

    .layout02 h5 {
        font-size: 18px;
        line-height: 1.6;
        letter-spacing: 0em;
        margin-bottom: 15px;
    }

    .layout02 h5 span {
        font-size: 15px;
        display: block;
    }

    .layout02 h6 {
        font-size: 16px;
        letter-spacing: 0.1em;
        width: 100%;
        padding: 10px 0px;
    }

    .layout02 .item p {
        width: 100%;
        padding: 0px;
    }

    /* layout03 */

    .layout03 .box {
        padding: 60px 8% 30px;
        justify-content: center;
        flex-direction: column;
        gap: 30px;
    }


    .layout03 .box-img {
        width: 180px;
    }

    .layout03 .box-text {
        width: 100%;
    }

    .pc-view {
        display: none;
    }

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

}
