@charset 'utf-8';


/* 共通 */
body {

    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: .1em;
    color: #222;
    background-color: #ffffff;
}

.warapper {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

img{
    display: block;
}

.button {
    display: flex;
    justify-content: center;
    width: 260px;
    padding: 1em 0;
    font-weight: 600;
    transition: .3s;
    text-decoration: none;
    color: #222;
    border: 1px solid #222;
    background-color: #EF7C1A;
}

.button_b {
    display: flex;
    justify-content: center;
    width: 260px;
    padding: 1em 0;
    font-weight: 600;
    transition: .3s;
    text-decoration: none;
    color: #05173f;
    border: 1px solid #05173f;
    background-color: #fff;
}

.button:hover {
    color: #222;
    border: 1px solid #222;
    background-color: #ffa95e;
}

.button_b:hover {
    color: #fff;
    background-color: #05173f;
    border: 1px solid #fff;
}

/* ヘッダー */
.header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, .7);
}


.header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.header_inner a{
    width: 20%;
}

.header_image {
    padding: 1em 1em;
    width: 80%;
}

.gNav {
    display: flex;
    justify-content: flex-end;
    width: 60%;
}

.gNav_list {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-right: 70px;
}

.gNav_list a {
    font-size: 18px;
    text-decoration: none;
    color: #05173f;
}

.gNav_list a::after {
    display: block;
    width: 0;
    height: 1px;
    content: '';
    transition: .3s;
    background-color: #05173f;
}

.gNav_list a:hover::after {
    width: 100%;
}




.kensetsu_mv {
    width: 100%;
    width: 100%;
    height: 300px;
    background-image: url(../serviceimage/kensetsu_mv.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}

.kensetsu_mv_title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.kensetsu_mv_title {
    font-size: 40px;
}

.ashiba {
    margin-top: 100px;
}

.ashiba_contaier {
    display: flex;
    width: 100%;
    position: relative;
}

.ashiba_textbox {
    position: relative;
    z-index: 2;
    width: 60%;
    height: 60%;
    background-color: #ddd;
    min-width: 480px;
    padding: 10% 10% 10% 5%;
}


.ashiba_title {
    font-size: 25px;
}

.ashiba_text{
    margin-top: 1em;
}

.ashiba_imagebox {
    position: absolute;
    z-index: -1;
    width: 50%;
    margin: 10% 0 0 50%;
}

.center{
    margin: 0 auto;
}

.slider{
    margin-top: 60px;
}

.rifo {
    margin-top: 160px;
}

.rifo_contaier {
    display: flex;
    width: 100%;
    position: relative;
}

.rifo_textbox {
    position: relative;
    z-index: 2;
    width: 60%;
    height: 60%;
    background-color: #ddd;
    min-width: 480px;
    padding: 7% 10% 7% 5%;
}


.rifo_title {
    font-size: 25px;
}

.rifo_text{
    margin-top: 1em;
}

.rifo_imagebox {
    position: absolute;
    z-index: -1;
    width: 50%;
    margin: 10% 0 0 50%;
}

.eizen {
    margin-top: 160px;
}

.eizen_contaier {
    display: flex;
    width: 100%;
    position: relative;
}

.eizen_textbox {
    position: relative;
    z-index: 2;
    width: 60%;
    height: 60%;
    background-color: #ddd;
    min-width: 480px;
    padding: 7% 10% 7% 5%;
}


.eizen_title {
    font-size: 25px;
}

.eizen_text{
    margin-top: 1em;
}

.eizen_imagebox {
    position: absolute;
    z-index: -1;
    width: 50%;
    margin: 10% 0 0 50%;
}


/* コンタクト */
.contact_container {
    margin-top: 160px;
    color: #fff;
    background-image: url(../image/contact_image.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.contact_box {
    padding: 60px 0;
}

.contact_title {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.contact_title_text {
    font-size: 40px;
    letter-spacing: 4px;
}

.contact_title_subtext {
    margin-top: -1em;
}

.contact_title_subtext_sub {
    margin-top: .5em;
}

.contact_button {
    display: flex;
    justify-content: center;
    margin-top: 2em;
}



.contact_tel {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 2em;

    justify-self: center;
}

.contact_tel_number {
    font-size: 24px;
}

/* フッター */
.footer {
    background-color: #fff;
    padding-bottom: 14px;
}

.footer_inner {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
    color: #222;
}

.footer_ligo{
    width: 80%;
}

.footer_gNav {
    width: 100%;
}

.footer_gNav_list {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    margin-left: 50%;
}

.footer_gNav_list a {
    font-size: 18px;
    text-decoration: none;
    color: #222;
}

.footer_gNav_list a::after {
    display: block;
    width: 0;
    height: 1px;
    content: '';
    transition: .3s;
    background-color: #222;
}

.footer_gNav_list a:hover::after {
    width: 100%;
}

.footer_copyright {
    display: flex;
    justify-content: center;
    font-size: 12px;
    color: #222;
    padding: .5em 0;
}





@media (max-width:912px){

    .header_image {
    padding: 1em 1em;
    width: 10em;
    }

    .warapper{
        max-width: 100%;
        overflow: hidden;
    }

.gNav{
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.8);
        position: fixed;
        top: 0;
        left: 100vw;
        margin-top: 0;
        transition: 0.4s;
    }

    .gNav_list{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        padding: 30% 0;
        box-sizing: border-box;
    }

    .gNav_list li{
        margin-top: 2em;
    }
    
    .nav-button {
        border-radius: 100px;
        background-color: #05173f;
        width: 40px;
        height: 40px;
        position: fixed;
        right: 10px;
        top: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 100;
}

    .nav-button span {
        display: block;
        width: 20px;
        height: 2px;
        background: #fff;
        margin: 2px auto;
    }

    .gNav.show {
        left: 0;
    } 

    .kensetsu_mv{
        width: 100%;
        height: 30vh;
    }

    .kensetsu_mv_title{
        font-size: 28px;
        padding-top: 1em;
    }



    .ashiba_contaier{
        width: 98%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    

    .ashiba_textbox{
        padding: 0 ;
        min-width: 375px;
        background-image: url(../serviceimage/kentikutop.jpg);
        background-color: rgba(255,255,255,0.6);
        background-blend-mode:lighten;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .ashiba_title{
        padding: 1em;
    }

    .ashiba_text{
        padding: 0 1em 1em;
    }
    .ashiba_imagebox{
        display: none;
    }

    .ashiba_image{
        display: none;
    }

    .rifo{
        margin-top: 2em;
    }

    .rifo_contaier{
        width: 98%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .rifo_imagebox{
        display: none;
    }

    .rifo_textbox{
        padding: 0;
        min-width: 375px;
        background-image: url(../serviceimage/rifo_top.jpg);
        background-color: rgba(255,255,255,0.6);
        background-blend-mode:lighten;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .rifo_title{
        padding: 1em;
    }

    .rifo_text{
        padding: 0 1em 1em;
    }

    .eizen{
        margin-top: 2em;
    }

    .eizen_contaier{
        width: 98%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .eizen_imagebox{
        display: none;
    }

    .eizen_textbox{
        padding: 0;
        min-width: 375px;
        background-image: url(../serviceimage/eizen1.png);
        background-color: rgba(255,255,255,0.6);
        background-blend-mode:lighten;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .eizen_title{
        padding: 1em;
    }

    .eizen_text{
        padding: 0 1em 1em;
    }

.contact_title_text{
    font-size: 32px;
}
.contact_title_subtext_sub{
    padding: 1em;
}


    .footer_inner{
        display: none;
    }

    .footer_gNav{
        display: none;
    }

    .footer_copyright{
        padding-top: 1em;
        font-size: 9px;
    }



}

