@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;
    }

    /* link01 */

    .link01 a {
        letter-spacing: 0.1em;
        min-width: 230px;
    }


    /* layout01 */

    .layout01 {
        width: 88%;
    }

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

    .layout01 .box a {
        padding: 10px 20px;
        flex-direction: column;
    }

    .layout01 h5 {
        width: 100%;
        font-size: 15px;
        border-right-style: none;
        text-align: left;
        padding-top: 10px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .layout01 h6 {
        padding-top: 40px;
    }

    .layout01 p {
        padding: 15px 0px;
        font-size: 14px;
    }

    /* contents02 */

    .contents02 {
        width: 88%;
    }

    .contents02 .midashi-box2 {
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

    .contents02 .midashi-box2 h2 {
        font-size: 16px;
    }

    .contents02 .midashi-box2 h3 {
        font-size: 20px;
    }


    /* layout02 */

    .layout02 p:not(:last-child),
    .layout02 ol:not(:last-child),
    .layout02 ul:not(:last-child),
    .layout02 blockquote:not(:last-child) {
        margin-bottom: 30px;
    }

    .layout02 p:not(:last-child) {
        margin-bottom: 25px;
    }

    .layout02 blockquote {
        padding: 30px 40px;
    }

    .layout02 blockquote p {
        font-size: 14px;
    }

    .layout02 blockquote::before {
        left: 25px;
        top: 22px;
        height: 30px;
    }


    .layout02 ol li,
    .layout02 ul li {
        font-size: 14px;
        letter-spacing: 0em;
        padding-left: 20px;
    }

    .layout02 ul li::before {
        left: 5px;
        top: 10px;
        width: 5px;
        height: 5px;
    }

    .layout02 ol li::before {
        top: 2px;
        width: 18px;
        height: 18px;
        font-size: 12px;
        line-height: 1.4;
    }

    .layout02 h2 {
        font-size: 28px;
        margin-bottom: 20px;
        padding-left: 5px;
    }

    .layout02 h2::before {
        top: 15px;
        width: 22px;
        height: 20px;
        margin-left: -18px;
    }

    .layout02 h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .layout02 h4 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .layout02 h5 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .layout02 h6 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    /*tabel*/

    .layout02 table td {
        padding: 10px 10px;
    }

    /* pager */

    .pager {
        padding-top: 40px;
    }


    /* layout03 */

    .layout03 {
        padding-top: 60px;
        width: 100%;
    }

    .layout03 ul {
        width: 92%;
        gap: 10px 4%;
    }

    .layout03 ul li {
        width: 48%;
    }

    .layout03 ul li a {
        font-size: 18px;
    }




    .pc-view {
        display: none;
    }

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

}
