@charset "utf-8";

@media screen and (max-width: 640px) {
    #pc_nav {
        display: none;
    }
    header .hum_b {
        display: block;
    }
    #sp_nav {
        display: block;
    }
    #sp_nav .sp_sns ul li {
        height: auto;
    }

    header section nav li > a::before {
        display: none;
    }

}

@media screen and (max-width: 570px) {
    .section {
        box-sizing: border-box;
        padding: 100px 0 60px;
    }

    header {
        padding: 15px 0 8px;
    }
    header h1 {
        width: 50%;
        line-height: 1;
    }
    /* main_visual
=================================================== */
    #main_visual {
        overflow: hidden;
        position: relative;
        width: 100%;
        height: 80vh;
        background: transparent;
    }
    #main_visual > div {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: url(img/main_visual_bg.jpg) top left / cover no-repeat;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* service
=================================================== */
    #service {
        background: #fff url(img/big_title_service.png) top 50px center / 426px no-repeat;
    }
    #service .icon_list {
        margin: 0 auto 35px;
    }
    #service ul li {
        width: 50%;
        margin: 0 0 35px 0;
        text-align: center;
    }
    #service ul li img {
        max-width: 90px;
    }
    #service > section > p {
        box-sizing: border-box;
        padding: 0 5%;
    }

    /* about us
=================================================== */
    #about_us {
        background: #f6f6f6 url(img/big_title_about_us.png) top 50px center / 480px no-repeat;
    }
    #about_us .sec_title + .flex {
        flex-direction: column;
    }
    #about_us .sec_title + .flex > div {
        width: 100%;
    }
    #about_us .logo_rect {
        margin: 0 0 45px 0;
    }
    #about_us h2 {
        margin: 0 0 60px 0;
    }

    /* contact
=================================================== */
    #contact > div {
        box-sizing: border-box;
        padding: 100px 0 60px;
        background: transparent url(img/big_title_contact.png) top 50px center / 480px no-repeat;
    }
    #contact h2 {
        margin: 0 0 60px 0;
    }
    #contact form {
        width: 94%;
        margin: 0 auto;
    }
    /* footer
=================================================== */
    footer p {
        font-size: 10px;
    }

    /* 下層
=================================================== */
    #contact_detail_area > section {
        padding: 50px 10px;
        width: 90%;
        margin: 0 auto;
        box-shadow: 0 0 5px rgba(0,0,0,.3);
        border-radius: 4px;
        background: #fff;
        transform: translateY(-30px);
    }
}






