@charset "UTF-8";
/* CSS Document */


@media screen and (max-width: 767px) {


    .container-inner {
        width: 92%;
    }

    /* contents01 */

    .contents01 {
        padding-top: 20px;
        width: 100%;
    }

    /* layout01 */

    .layout01 {
        gap: 20px 4%;
    }

    .layout01 .box {
        padding: 30px 10px;
        padding-bottom: 45px;
        width: 48%;
        max-width: 300px;
    }

    .layout01 .box-detail {
        justify-content: center;
        flex-direction: column;
        gap: 20px;
        position: relative;
    }

    .layout01 .box-detail::before {
        content: "";
        display: block;
        margin: 0px auto;
        width: 60px;
        height: 1px;
        border-top-style: solid;
        border-color: var(--color-sub);
        border-width: 1px;
    }

    .layout01 .box-img {
        width: 100%;
        text-align: center;
    }

    .layout01 .box-img img {
        width: 70%;
        max-width: 120px;
    }

    .layout01 .box-number {
        width: 100%;
        text-align: center;
    }

    .layout01 .item:not(:last-child) {
        margin-bottom: 10px;
    }

    .layout01 .number08 .item::after {
        font-size: 3vw;
        bottom: 0px;
    }

    .layout01 .number08 .item {
        padding-right: 12vw;
    }

    .layout01 h3 {
        font-size: 3.6vw;
    }

    .layout01 .number08 h3,
    .layout01 .number09 h3,
    .layout01 .number12 h3,
    .layout01 .number13 h3 {
        min-height: 9vw;
    }

    .layout01 h3 span {
        font-size: 2.5vw;
        display: block;
        line-height: 1.4;
    }

    .layout01 h3::after {
        display: none;
    }

    .layout01 h4 {
        font-size: 3vw;
    }

    .layout01 h4 span {
        font-size: 3vw;
    }

    .layout01 h5 {
        font-size: 10vw;
    }

    .layout01 .number08 h5,
    .layout01 .number12 h5 {
        font-size: 7vw;
    }

    .layout01 h5::before {
        font-size: 4vw;
    }

    .layout01 h5::after {
        font-size: 4vw;
    }

    .layout01 .number08 .item h5::before {
        font-size: 3vw;
    }

    .layout01 .number08 h5::after {
        font-size: 3vw;
    }

    .layout01 .number12 h5::after {
        font-size: 3vw;
    }


    .layout01 p {
        bottom: 15px;
        font-size: 2.4vw;
    }

    .pc-view {
        display: none;
    }

    .sp-view {
        display: inline-block;
    }

}
