.inner {
    max-width: 1030px;
    margin: 0 auto;

    @media screen and (max-width: 1080px) {
        padding: 0 24px;
    }
}

.head-fv {
    display: flex;
    align-items: center;
    justify-self: center;
    width: 100%;
    height: 360px;
    background-size: cover;
    @media only screen and (max-width: 896px){
        height: 220px;
    }

    h2 {
        display: block;
        width: 100%;
        text-align: center;
        color: #fff;
        font-size: 60px;
        font-weight: bold;
        @media only screen and (max-width: 896px){
            font-size: 38px;
        }
    }
}

.head-fv.products {
    background-image: url("../images/products/head-bg.png");
}

.head-fv.wood-flour,
.head-fv.wood-bamboo-plastic {
    background-image: url("../images/wood-plastic/head-bg.png");
    background-position: center;
    h2{
        @media only screen and (max-width: 896px){
            font-size: 30px;
        }
    }
}

.head-fv.mofifx {
    background-image: url("../images/morifx/head-bg.png");
}

.head-fv.company {
    background-image: url("../images/company/head-bg.png");
    background-position: center;
}

.head-fv.recruit {
    background-image: url("../images/recruit/head-bg.png");
    background-position: center;
}

.sp-only{
    display: none;
}

@media screen and (max-width: 896px) { 
    .pc-only{
        display: none;
    }
    .sp-only{
        display: block;
    }   
}



/*--------------------------------------------
タイトル
--------------------------------------------*/
.heading {
    text-align: center;

    h2 {
        font-size: 48px;
        margin-bottom: 32px;
        position: relative;
        line-height: 1.5;
        font-weight: bold;
        @media only screen and (max-width: 896px){
            font-size: 24px;
            margin-bottom: 8px;
        }

        &::before {
            content: '';
            display: inline-block;
            width: 64px;
            height: 4px;
            background-size: cover;
            background-repeat: no-repeat;
            background-color: var(--main-color);
            position: absolute;
            bottom: -16px;
            left:50%;
            transform: translateX(-50%);
        }
        @media screen and (max-width: 896px) {
            &::before {
                width: 32px;
                height: 2px;
                bottom: -8px;
            }
        }
    }

    span {
        font-size: 20px;
        color: var(--main-color);
        @media only screen and (max-width: 896px){
            font-size: 12px;
        }
    }
}

/*--------------------------------------------
お問い合わせバナー
--------------------------------------------*/
.contact-banner{
    background-color:var(--main-color);
    padding: 48px 0;
    .box{
        text-align: center;
        max-width: 720px;
        margin: 0 auto;
        border: 2px solid #fff;
        border-radius: 8px;
        padding: 24px 0;
        img{
            margin-bottom: 16px;
        }
        .text{
            font-size: 14px;
            color: #fff;
        }
        .link{
            color: #fff;
            font-weight: bold;
            font-size: 24px;
        }
    }
}