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


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



    /* contents-top */

    .contents-top p {
        line-height: 2.2;
        letter-spacing: 0.05em;
    }

    .contents-top-wrap {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* main-img-top */

    .main-img-top .box-img img {
        width: 100%;
        height: auto;
        min-height: 50vh;
    }

    .main-img-top .box-text {
        width: 36%;
    }

    /* contents01 */

    .contents01 .box-img {
        position: static;
        padding-top: 30px;
    }

    /* layout01 */

    .layout01 {
        justify-content: center;
        gap: 40px;
    }

    .layout01 .box-title {
        width: 100%;
        justify-content: center;
    }

    .layout01 .box-detail {
        padding: 0px 6%;
    }

    .layout01 h2 {
        width: 70%;
        max-width: 350px;
    }

    .layout01 h3 {
        font-size: 20px;
        margin-bottom: 30px;
    }

    /* layout02 */

    .layout02,
    .layout03,
    .layout04 {
        justify-content: center;
    }

    .layout02 {
        padding-top: 30px;
        margin-bottom: 100px;
    }

    .layout03 {
        margin-bottom: 100px;
    }

    .layout02 .box-detail {
        position: static;
    }

    .layout02 .box-img {
        width: 70%;
        padding-top: 30px;
    }

    .layout03 .box-img {
        width: 85%;
        margin-top: 30px;
    }

    .layout04 .box-img {
        width: 95%;
        margin-top: -50px;
        gap: 0px 6px;
    }

    .layout02 h2 {
        width: 70%;
    }

    .layout02 h2::before {
        top: 15vw;
        width: 50%;
        height: 12vw;
        margin-right: -15vw;
    }

    .layout03 h2,
    .layout04 h2 {
        width: 85%;
    }

    .layout03 h2::before {
        left: 12vw;
        width: 80%;
        height: 18vw;
        margin-top: -8vw;
    }

    .layout04 h2::before {
        width: 80%;
        height: 40vw;
        margin-bottom: -8vw;
        margin-right: -10vw;
    }

    .layout02 h3,
    .layout03 h3,
    .layout04 h3 {
        font-size: 20px;
        padding: 40px 0px 30px;
    }

    .layout04 h3 {
        padding-top: 70px;
    }

    .layout02 p,
    .layout03 p,
    .layout04 p {
        padding-right: 5%;
    }




    /* layout05 */

    .layout05 {
        padding-top: 70px;
    }

    .layout05 ul {
        flex-direction: column;
        gap: 15px;
    }

    .layout05 ul li a {
        font-size: 16px;
        width: 280px;
        padding: 13px 0px;
    }



    .pc-view {
        display: none;
    }

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

}
