@charset "UTF-8";
/* CSS Document */


@media screen and (max-width: 767px) {


    .layout-whitebox:not(:last-child) {
        margin-bottom: 70px;
    }

    .layout-whitebox > div:not(:last-child) {
        margin-bottom: 30px;
    }

    .layout-whitebox {
        padding-top: 80px;
    }

    .layout-whitebox::before {
        left: 7%;
        width: 66%;
        height: 80px;
        margin-top: -40px;
        padding: 0px 10%;
        font-size: 18px;
    }


    /* contents01 */

    .contents01 {
        padding: 50px 0px 60px;
    }

    /* contents02 */

    .contents02 {
        height: auto;
        padding: 60px 0px;
    }

    /* contents03 */

    .contents03 {
        height: auto;
        padding: 60px 0px;
    }


    /* contents04 */

    .contents04 {
        padding: 90px 0px 50px;
    }

    /* contents05 */

    .contents05 {
        background-size: auto 800px;
        padding: 90px 0px 290px;
    }

    .contents05::before {
        height: 100%;
    }


    /* layout01 */

    .layout01 .box-img img {
        min-height: 250px;
    }

    .layout01 .box-img::before {
        height: 80%;
    }

    .layout01 .box-text {
        padding: 20px;
        text-align: left;
    }

    .layout01 .box-name {
        padding-top: 15px;
    }

    .layout01 h5,
    .layout01 h6 {
        font-size: 18px;
    }

    /* layout02 */

    .layout02 {
        padding-top: 40px;
    }

    .layout02 .box-wrap:not(:last-child) {
        margin-bottom: 60px;
    }

    .layout02 .box-wrap:last-child {
        flex-direction: column;
    }

    .layout02 .box02 {
        justify-content: center;
        flex-direction: column;
        gap: 30px 40px;
    }

    .layout02 .box02 .box-detail {
        width: 100%;
    }

    .layout02 .box02 .box-img {
        width: 100%;
        text-align: center:
    }

    .layout02 h6 {
        font-size: 18px;
        padding-left: 15px;
        margin-bottom: 20px;
    }

    .layout02 h6::before {
        top: 2px;
        width: 3px;
        height: 20px;
    }

    /* layout03 */

    .layout03 {
        width: 88%;
        padding: 50px 8% 40px;
    }

    /* layout04 */

    .layout04 h2 {
        font-size: 20px;
        margin-bottom: 40px;
    }

    .layout04 ul {
        gap: 12px;
    }

    .layout04 ul li {
        width: 150px;
        height: 75px;
    }

    /* layout05 */

    .layout05 ul li:not(:last-child) {
        margin-bottom: 12px;
    }

    /* layout06 */

    .layout06 {
        width: 100%;
    }

    .layout06::before {
        height: 28px;
        margin-top: -50px;
    }

    /* layout07 */

    .layout07::before {
        left: 30px;
        width: 3px;
    }

    .layout07 .history {
        padding-bottom: 60px;
    }

    .layout07 .history::before {
        left: 22px;
        margin-top: -20px;
    }

    .layout07 .history::after {
        left: 17px;
        background-position: left bottom;
        height: 23px;
    }

    .layout07 .box {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }

    .layout07 .box:not(:last-child) {
        margin-bottom: 15px;
    }

    .layout07 .space01 .item01 {
        margin-top: 0%;
    }

    .layout07 .space02 .item01 {
        margin-top: 0%;
    }

    .layout07 .space03 .item02 {
        margin-top: 0%;
    }

    .layout07 .box-reverse {
        flex-direction: column;
    }

    .layout07 .box-single {
        flex-direction: column;
    }


    .layout07 .box .item {
        width: 100%;
    }

    .layout07 .box .item::before {
        width: 20px;
        height: 3px;
    }

    .layout07 .box .item01 {
        text-align: left;
        padding-left: 60px;
    }

    .layout07 .box .item01::before {
        left: 30px;
    }

    .layout07 .box .item02 {
        padding-left: 60px;
    }

    .layout07 .box .item02::before {
        left: 30px;
    }


    .layout07 p {
        font-size: 14px;
        line-height: 1.4;
    }


    .pc-view {
        display: none;
    }

    .sp-view {
        display: inline-block;
    }

}
