/* フリーページを幅100%で表示するための打ち消し用css */

div.ms-site-container > .container #main{
    margin-bottom: 0!important;
}

/* フリーページの幅を100%にする */
div.ms-site-container > .container .main{
    max-width: 100%;
}

/* rowのマージンを0にする */
.row{
    margin: 0;
}

/* カラムのパディングを0にする */
.col{
    padding: 0;
}

/* フリーページ下部の不要な余白の削除 */
#free_top .col{
    min-height: auto;
}
#free_bottom .col{
    min-height: auto;
}

.freepage footer {
    margin-top: 0;
}

div.ms-site-container > .container {
    margin-bottom: 0 !important;
}

@media (max-width: 767px) {
    div.ms-site-container > .container .main{
        margin-left: 0!important;
        margin-right: 0!important;
    }
}

/* フリーページを幅100%で表示するための打ち消し用css */
/* ここまで */


/* ここからカスタマイズ */
@media (min-width: 768px) {
    #manufacturing-content sp{
        display: none!important;
    }
}

@media (max-width: 767px) {
    #manufacturing-content pc{
        display: none!important;
    }
}

#manufacturing-content{
    width: 100%;
}

#manufacturing-content section{
    margin-bottom: 10px;
}

#manufacturing-content section .inner{
    max-width: 1240px;
    margin: 0 auto;
    padding-left: clamp(0px, calc(100vw / 1240 * 50), 50px);
    padding-right: clamp(0px, calc(100vw / 1240 * 50), 50px);
    box-sizing: border-box;
}

#manufacturing-content section h2{
    font-size: 40px;
    line-height: 1.35em;
    font-weight: 600;
}

#manufacturing-content section p{
    font-size: 20px;
    line-height: 1.5em;
    font-weight: 500;
}

#manufacturing-content section img{
    width: 100%;
}

/*#sec01*/
#manufacturing-content section#sec01{
    background-image: url(/user_data/img/free_page/manufacturing/manufacturing_img01_pc.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    display: flex;
    align-items: center;
}

#manufacturing-content section#sec01 .inner{
    padding-top: 280px;
    padding-bottom: 340px;
    width: 100%;
}

#manufacturing-content section#sec01 p.sub_title{
    font-size: 40px;
    color: #fff;
    width: 650px;
    text-align: center;
    background-color: #00a946;
}

#manufacturing-content section#sec01 h1{
    font-size: 72px;
    color: #000000;
    margin-top: 20px;
    display: inline-block;
    font-weight: 600;
}

/*#sec02*/
#manufacturing-content section#sec02 .inner{
    padding-top: 112px;
    padding-bottom: 100px;
}

#manufacturing-content section#sec02 .inner .flex_wrap{
    display: flex;
    gap: 80px;
    width: 100%;
}

#manufacturing-content section#sec02 .inner .flex_wrap img{
    width: 100%;
}

#manufacturing-content section#sec02 .inner .flex_wrap .text_wrap{
    width: 50%;
}

#manufacturing-content section#sec02 .inner .flex_wrap .text_wrap h2{
    margin-bottom: 35px;
}

#manufacturing-content section#sec02 .inner .flex_wrap + .flex_wrap{
    margin-top: 100px;
}

#manufacturing-content section#sec02 .inner .flex_wrap + .flex_wrap .text_wrap{
    order: 2;
}

#manufacturing-content section#sec02 .inner .flex_wrap + .flex_wrap .picture{
    order: 1;
}

/*#sec03*/
#manufacturing-content section#sec03{
    background-image: url(/user_data/img/free_page/manufacturing/manufacturing_img03-1_pc.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top left;
}

#manufacturing-content section#sec03 .inner{
    width: 100%;
    padding-top: 90px;
    padding-bottom: 100px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

#manufacturing-content section#sec03 .inner .wrap{
    width: 570px;
    padding: 0;
}

#manufacturing-content section#sec03 .inner h2{
    margin-bottom: 25px;
}

#manufacturing-content section#sec03 .inner p{
    margin-bottom: 50px;
    width: 100%;
}


/*#sec04*/
#manufacturing-content section#sec04{
    background-image: url(/user_data/img/free_page/manufacturing/manufacturing_img04-1_pc.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

#manufacturing-content section#sec04 .inner{
    width: 570px;
    padding-top: 90px;
    padding-bottom: 90px;
    padding-right: 0;
    margin-right: 50%;
    box-sizing: content-box;
    position: relative;
}

#manufacturing-content section#sec04 .inner h2{
    margin-bottom: 20px;
}

#manufacturing-content section#sec04 .inner p{
    margin-bottom: 40px;
}


/*#sec05*/
#manufacturing-content section#sec05{
    background-image: url(/user_data/img/free_page/manufacturing/manufacturing_img05-1_pc.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

#manufacturing-content section#sec05 .inner{
    width: 100%;
    padding-top: 90px;
    padding-bottom: 55px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

#manufacturing-content section#sec05 .inner .wrap{
    width: 570px;
    padding: 0;
}

#manufacturing-content section#sec05 .inner h2{
    margin-bottom: 20px;
    color: #fff;
}

#manufacturing-content section#sec05 .inner p{
    margin-bottom: 40px;
    width: 100%;
    color: #fff;
}

/*#sec06*/

#manufacturing-content section#sec06{
    background-color: #4a4442;
}

#manufacturing-content section#sec06 .inner{
    padding-top: 200px;
    padding-bottom: 180px;
}

#manufacturing-content section#sec06 .inner .flex_wrap{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

#manufacturing-content section#sec06 .inner .flex_wrap img{
    width: 50%;
}

#manufacturing-content section#sec06 .inner picture{
    margin-left: 100px;
}

#manufacturing-content section#sec06 .inner .text_wrap{
    margin-top: -15px;
}

#manufacturing-content section#sec06 .inner h2{
    color: #fff;
    padding: 0;
}

#manufacturing-content section#sec06 .inner p{
    color: #fff;
    margin-top: 25px;
}


@media (max-width: 1239px) and (min-width: 768px) {
    #manufacturing-content section .inner {
        width: 100%;
    }


    #manufacturing-content section#sec02 .inner{
        padding:  80px 5vw ;
        gap: 20px;
    }

    #manufacturing-content section#sec02 .inner .flex_wrap{
        gap:40px
    }

    #manufacturing-content section#sec03{
        background-position: top center;
    }

    #manufacturing-content section#sec06 .inner .flex_wrap{
        gap: 40px;
    }

}


@media (max-width: 767px) {
    #manufacturing-content section{
        margin-bottom: 10px;
    }

    #manufacturing-content section .inner{
        max-width: 100%;
        margin: 0 auto;
        padding-left: 7.2vw;
        padding-right: 7.2vw;
        box-sizing: border-box;
    }

    #manufacturing-content section h2{
        font-size: 6.4vw;
        line-height: 1.35em;
    }

    #manufacturing-content section p{
        font-size: 4vw;
        line-height: 1.73em;
    }

    #manufacturing-content section img{
        width: 100%;
    }

    /*#sec01*/
    #manufacturing-content section#sec01{
        background-image: url(/user_data/img/free_page/manufacturing/manufacturing_img01_sp.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top center;
        display: flex;
        align-items: center;
    }

    #manufacturing-content section#sec01 .inner{
        padding-top: 60vw;
        padding-bottom: 60vw;
        width: 100%;
    }

    #manufacturing-content section#sec01 p.sub_title{
        font-size: 5.33vw;
        width: 100%;
        text-align: center;
        background-color: #00a946;
    }

    #manufacturing-content section#sec01 h1{
        font-size: 8.8vw;
        width: 100%;
        text-align: center;
        color: #000000;
        margin-top: 4vw;
        display: inline-block;
        font-weight: 600;
    }

    /*#sec02*/
    #manufacturing-content section#sec02 .inner{
        padding-top: 16vw;
        padding-bottom: 13.33vw;
    }

    #manufacturing-content section#sec02 .inner .flex_wrap{
        display: block;
        gap: 0;
        width: 100%;
    }

    #manufacturing-content section#sec02 .inner .flex_wrap img{
        width: 100%;
    }

    #manufacturing-content section#sec02 .inner .flex_wrap .text_wrap{
        width: 100%;
    }

    #manufacturing-content section#sec02 .inner .flex_wrap .text_wrap h2{
        margin-bottom: 6.67vw;
    }
    
    #manufacturing-content section#sec02 .inner .flex_wrap .text_wrap p{
        margin-bottom: 10.67vw;
    }

    #manufacturing-content section#sec02 .inner .flex_wrap + .flex_wrap{
        margin-top: 10.67vw;
    }


    /*#sec03*/
    #manufacturing-content section#sec03{
        background-image: none;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top center;
        background-color: #ebebe8;
    }

    #manufacturing-content section#sec03 .inner{
        width: 100%;
        padding-top: 0;
        padding-bottom: 13.33vw;
        box-sizing: border-box;
        position: relative;
        display: block;
    }

    #manufacturing-content section#sec03 .inner .wrap{
        width: 100%;
        padding-top: 0;
        padding-bottom: 0;
    }

    #manufacturing-content section#sec03 .inner h2{
        margin-top: 10.67vw;
        margin-bottom: 6.67vw;
    }

    #manufacturing-content section#sec03 .inner p{
        margin-bottom: 9.33vw;
        width: 100%;
    }


    /*#sec04*/
    #manufacturing-content section#sec04{
        background-image: none;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top center;
        background-color: #dbe5f3;
    }

    #manufacturing-content section#sec04 .inner{
        width: 100%;
        padding-top: 0;
        padding-bottom: 13.33vw;
        padding-right: 7.2vw;
        box-sizing: border-box;
        position: relative;
        display: block;
    }

    #manufacturing-content section#sec04 .inner h2{
        margin-top: 10.67vw;
        margin-bottom: 6.67vw;
    }

    #manufacturing-content section#sec04 .inner p{
        margin-bottom: 9.33vw;
        width: 100%;
    }


    /*#sec05*/
    #manufacturing-content section#sec05{
        background-image: url(/user_data/img/free_page/manufacturing/manufacturing_img05-1_sp.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top center;
        background-color: #ebebe8;
    }

    #manufacturing-content section#sec05 .inner{
        width: 100%;
        padding-top: 13.33vw;
        padding-bottom: 13.33vw;
        box-sizing: border-box;
        position: relative;
        display: block;
    }

    #manufacturing-content section#sec05 .inner .wrap{
        width: 100%;
        padding-top: 0;
        padding-bottom: 0;
    }

    #manufacturing-content section#sec05 .inner h2{
        margin-top: 0;
        margin-bottom: 6.67vw;
    }

    #manufacturing-content section#sec05 .inner p{
        margin-bottom: 8vw;
        width: 100%;
    }

    /*#sec06*/

    #manufacturing-content section#sec06{
        background-color: #4a4442;
    }

    #manufacturing-content section#sec06 .inner{
        padding-top: 13.33vw;
        padding-bottom: 10.67vw;
    }

    #manufacturing-content section#sec06 .inner .flex_wrap{
        display: block;
        gap: 0;
    }

    #manufacturing-content section#sec06 .inner .flex_wrap img{
        width: 100%;
    }

    #manufacturing-content section#sec06 .inner picture{
        margin-left: 100px;
    }

    #manufacturing-content section#sec06 .inner .text_wrap{
        
    }

    #manufacturing-content section#sec06 .inner h2{
        color: #fff;
        padding: 0;
        margin-bottom: 8vw;
    }

    #manufacturing-content section#sec06 .inner p{
        color: #fff;
        margin-top: 9.33vw;
    }
}