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


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

    /* contents-top */

    .contents-top p {
        line-height: 1.8;
    }

    /* box-link */

    .box-link {
        gap: 25px 25px;
    }

    .box-link h6 a,
    .box-link h6 span {
        font-size: 15px;
        letter-spacing: 0.05em;
        min-width: 300px;
        padding: 15px 0px;
    }

    .box-link .pre::before {
        font-size: 13px;
        margin-bottom: -20px;
    }

    /* main-img-top */

    .main-img-top .box-logo {
        left: 0px;
        top: 0px;
        padding-top: 10px;
        padding-left: 10px;
        background-color: #FFF;
    }

    .main-img-top .box-logo img {
        height: 45px;
    }

    /* box-img */

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

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

    .main-img-top .box-text {
        padding: 0px 0%;
        display: flex;
        align-items: flex-start;
    }

    .main-img-top h2 {
        font-size: 6vw;
        line-height: 1.8;
        padding: 25vh 5% 0px;
    }

    /* contents01 */

    .contents01 {
        width: 100%;
        padding: 60px 0px;
        text-align: center;
    }

    /* contents02 */

    .contents02 {
        width: 100%;
        height: auto;
        background-position: left top;
        padding: 50px 0px 70px;
        text-align: center;
    }

    /* contents03 */

    .contents03 {
        width: 100%;
        text-align: center;
    }

    /* contents04 */

    .contents04 {
        padding-bottom: 0px;
        min-height: auto;
    }

    .contents04::before {
        background-image: url("../../images/top/back03-sp.png");
        background-size: auto 100%;
        background-position: right -50px top;
        width: 100%;
        height: 350px;
    }

    .contents04 .box-img {
        position: static;
        width: 100%;
    }

    .contents04 .box-img img {
        height: auto;
    }

    /* contents05 */

    .contents05 {
        padding: 60px 0px 70px;
    }

    .contents05 .box-detail {
        padding: 60px 0px;
    }

    .contents05 h2,
    .contents07 h2 {
        font-size: 34px;
        letter-spacing: 0.1em;
    }

    .contents05 h2::before {
        margin-right: 30px;
    }

    .contents05 h2::after {
        margin-left: 30px;
    }

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

    .contents05 p,
    .contents07 p {
        font-size: 15px;
        line-height: 2.5;
        letter-spacing: 0.05em;
    }

    .contents05 .box-link {
        padding-top: 60px;
    }

    /* contents07 */

    .contents07 {
        padding: 70px 0px 80px;
    }

    .contents07 p {
        padding: 35px 0px 50px;
    }

    /* contents08 */

    .contents08 h2 {
        margin-bottom: 30px;
    }

    .contents08 h2 img {
        height: 80px;
    }

    /* contents09 */

    .contents09 {
        padding: 70px 0px;
    }


    /* layout01 */

    .layout01 {
        gap: 50px;
    }

    .layout01 .box-detail {
        width: 100%;
    }

    .layout01 .box-img {
        width: 100%;
    }

    .layout01 .box-img img {
        width: 50%;
        max-width: 350px;
    }

    .layout01 h2 {
        font-size: 6vw;
        letter-spacing: 0.05em;
    }

    .layout01 p {
        font-size: 14px;
        padding-top: 25px;
    }


    /* layout02 */

    .layout02 {
        position: static;
        padding: 0px;
    }

    .layout02 .box-detail {
        width: 100%;
        padding-top: 40px;
    }

    .layout02 h2 {
        font-size: 8vw;
        letter-spacing: 0.1em;
        margin-bottom: 40px;
    }

    .layout02 p {
        font-size: 15px;
        line-height: 2.2;
    }


    /* layout03 */

    .layout03 {
        padding: 70px 0px 0px;
    }

    .layout03 .box-img {
        position: static;
        padding-top: 40px;
        margin-bottom: -100px;
    }

    .layout03 .box-img .inner {
        height: 420px;
    }


    .layout03 .box-img .box-img01 {
        width: 50%;
    }

    .layout03 .box-img .box-img01 img {
        height: 140px;
    }

    .layout03 .box-img .box-img02 {
        right: 0px;
        top: 150px;
        width: 80%;
    }

    .layout03 .box-img .box-img02 img {
        height: 160px;
    }

    .layout03 .box-img .box-img03 {
        left: 0px;
        bottom: 0px;
        width: 60%;
    }

    .layout03 .box-img .box-img03 img {
        height: 140px;
    }

    .layout03 h2 {
        padding-right: 0px;
    }

    .layout03 h2::before {
        top: 110px;
        background-size: auto 100%;
        background-position: center bottom;
        width: 100%;
        height: 16px;
    }

    .layout03 h2 img {
        height: 85px;
    }

    .layout03 p {
        font-size: 15px;
        line-height: 2.5;
        padding-top: 80px;
    }

    /* layout04 */

    .layout04 {
        background-size: auto 450px;
        padding-bottom: 20px;
    }

    .layout04 .box-detail {
        padding-top: 160px;
    }

    .layout04 h2 {
        font-size: 32px;
        line-height: 1.8;
        margin-bottom: 120px;
    }

    .layout04 h3 {
        font-size: 17px;
        line-height: 2.5;
    }

    .layout04 h4 {
        font-size: 40px;
        line-height: 1.1;
        padding: 40px 0px;
    }

    .layout04 p {
        font-size: 15px;
        line-height: 2.2;
    }

    /* layout05 */

    .layout05 {
        padding-top: 140px;
    }

    .layout05 h2 {
        font-size: 45px;
        margin-bottom: 130px;
        padding-left: 3%;
    }

    .layout05 p {
        display: inline-block;
        padding: 30px 8% 40px;
        font-size: 14px;
        letter-spacing: 0.05em;
        line-height: 2.5;
        min-width: 100%;
    }


    /* layout06 */

    .layout06 {
        gap: 20px 4%;
    }

    .layout06 .box {
        width: 48%;
    }

    .layout06 .box-text {
        bottom: 20px;
        height: 100px;
    }

    .layout06 h4,
    .layout06 h5 {
        letter-spacing: 0.05em;
    }

    .layout06 h4 {
        font-size: 16px;
        min-height: 50px;
    }

    .layout06 h5 {
        padding-top: 10px;
        font-size: 13px;
    }

    /* layout07 */

    .contents06-slider:not(:last-child) {
        margin-bottom: 15px;
    }

    /* layout09 */

    .layout09 > div {
        width: 100%;
    }

    .layout09 iframe {
        width: 100%;
        height: auto;
    }

    /* layout10 */

    .layout10 {
        margin-bottom: 80px;
    }

    .layout10 h3 {
        font-size: 15px;
        line-height: 2.5;
        letter-spacing: 0.05em;
        margin-bottom: 50px;
    }

    .layout10 h4 img {
        width: 88%;
        max-width: 400px;
        height: auto;
    }

    /* layout11 */

    .layout11 .box-img img {
        min-height: 240px;
    }

    .layout11 .box-text h5 {
        width: 68%;
    }

    .pc-view {
        display: none;
    }

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

}
