@charset "UTF-8";
/* CSS Document */


@media screen and (max-width: 767px) {



    /* contents-top */

    .contents-top {
        padding-top: 60px;
    }

    .contents-top .box-link {
        padding-top: 40px;
    }


    /* title_contents-top */

    .title_contents-top_bottom {
        margin-bottom: 40px;
    }

    .title_contents-top h2 {
        font-size: 14px;
    }

    .title_contents-top h3 {
        font-size: 28px;
        text-indent: -3px;
    }


    /* main-img-top */

    .main-img-top::after {
        height: 500px;
    }

    .main-img-top .slider-wrap img {
        min-height: 300px;
    }

    .main-img-top .box-text h2 {
        font-size: 28px;
        display: inline;
    }

    .main-img-top .box-text h2::before {
        bottom: 10px;
        right: 55px;
        margin-right: 0px;
        width: 10px;
        height: 10px;
    }



    /* contents01 */

    .contents01::before {
        height: 1100px;
    }

    /* contents03 */

    .contents03 {
        padding: 50px 0px 70px;
    }

    /* contents04 */

    .contents04 {
        padding: 55px 0px 60px;
    }


    /* contents05 */

    .contents05 {
        padding: 50px 0px;
    }


    /* layout01 */

    .layout01 {
        padding: 70px 8%;
    }


    .contents01 p {
        text-align: left;
        margin-bottom: 50px;
    }


    /* layout02 */

    .layout02 .box:not(:last-child) {
        margin-bottom: 60px;
    }

    .layout02 .box:nth-child(2) a::after {
        right: 20px;
        width: 120px;
        height: 170px;
        margin-top: -20px;
    }

    .layout02 .title_contents-top {
        bottom: 5px;
    }

    .layout02 .box:nth-child(odd) .title_contents-top {
        right: 10px;
    }

    .layout02 .box:nth-child(even) .title_contents-top {
        left: 5px;
    }

    .layout02 .box-img img {
        min-height: 180px;
    }

    .layout02 .box-img::before {
        width: 140px;
        height: 72px;
    }

    /* layout03 */

    .layout03,
    .layout05 {
        justify-content: center;
        flex-direction: column;
        gap: 30px;
    }

    .layout03 {
        padding-top: 80px;
    }

    .layout03 .box,
    .layout05 .box {
        width: 100%;
        max-width: 350px;
        margin: 0px auto;
    }

    .layout05 .box {
        width: 100%;
    }

    .layout03 h6 {
        padding-left: 85px;
    }

    .layout03 h6::before {
        font-size: 60px;
    }

    /* layout04 */

    .layout04::after {
        right: 0px;
        width: 100%;
        height: 38px;
        margin-top: -20px;
    }

    .layout04 .box {
        padding: 0px 10px;
    }

    .layout04 .box-title h6 {
        font-size: 17px;
    }

    .layout04 p {
        letter-spacing: 0em;
    }


    /* layout05 */

    .layout05 {
        padding-top: 90px;
    }


    .layout05 .box:nth-child(2) {
        margin-top: 40px;
    }


    .layout05 .box-img a::before {
        left: 20px;
        margin-top: -20px;
        background-size: 100% auto;
    }

    .layout05 .box:nth-child(1) .box-img a::before,
    .layout05 .box:nth-child(2) .box-img a::before {
        width: 80px;
    }


    /* layout06 */

    .layout06 {
        padding-top: 60px;
        justify-content: center;
        gap: 15px 3%;
    }

    .layout06::before {
        font-size: 24px;
    }

    .layout06 .box {
        width: 48.5%;
    }

    .layout06 .box a {
        height: 60px;
    }

    .layout06 .box a::before {
        right: 12px;
        background-size: auto 15px;
        width: 15px;
    }

    .layout06 h3 {
        font-size: 14px;
    }


    /* layout07 */

    .layout07 {
        justify-content: center;
        flex-direction: column;
        gap: 30px;
    }

    .layout07 .box-title {
        text-align: center;
    }

    .layout07 .box-detail {
        width: 100%;
    }

    .layout07 .box {
        justify-content: center;
        flex-direction: column;
        gap: 5px;
    }


    .layout07 p {
        width: 100%;
    }


    .pc-view {
        display: none;
    }

    .sp-view {
        display: inline-block;
    }

}
