@charset "UTF-8";

@media screen and (max-width: 768px) {
    body{
        position: absolute;
        top: 0;
        left: 0;
    }
    #page{
        width: 100vw;
    } 
    .header{
        width: 100vw;
    }
    .logo{
        margin: auto;
        padding: 5px 10px;
        width: calc(100vw - 30px) !important;
        background: none;
        height: auto !important;
    }
    .logo > a{
        width: 100%;
        height: auto;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
    }
    .logo > a > img{
        width: 80%;
        height: auto;
        display: block;
    }
    .container{
        height: 110px !important;  
    }

    .menu{
        height: 36px !important;
        width: 100% !important;
        margin: auto !important;
        overflow-x: scroll;
    }
    .menu > div{
        height: 36px !important;
        width: 612px !important;
    }
    .menu > div > div{
        height: 100% !important;
        width: 102px !important;
    }
    .menu > div > div > a{
        height: 100% !important;
        width: 100% !important;
    }
    .content{
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    #slideshow{
        width: 100%;
        position: relative;
        height: 200px;
    }
    #slideshow > img{
        width: 98vw;
        height: 100%;
        margin: 1vw;
    }
    .stafflink_main{
        width: 100vw !important;
    }
    .stafflink_main > div{
        padding: 2px !important;
        width: calc(100% - 10px) !important;
        margin: 3px !important;
        border-radius: 4px !important;
    }
    .staffloinks{
        display: flex !important;
        flex-direction: column !important;
    }
    .staffloinks >div{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
    }

    .staffloinks > div >div{
        margin-bottom: 0 !important;
    }
    .staffloinks > div >div:last-child{
        margin-bottom: 4px !important;
        width: 80% !important;
        padding: 3px;
    }
    .whatsba{
        width: 100vw !important;
        height: 200px !important;
    }
    .fade-in{
        opacity: 1 !important;
    }
    .fade-in > div{
        width: 100vw !important;
        background-size: 100%;
        background-position: top !important;
        min-height: 160px !important;
        height: 250px !important;
    }
    .fade-in > div > p{
        width: calc(100% - 24px) !important;
        margin: 5px !important;
        background: #f5f5f5;
        padding: 7px !important;
        border-radius: 8px;
        margin-top: 160px !important;
    }
    .works{
        width: 100vw !important;
        height: auto;
    }
    .works > img{
        width: 140% !important;
        margin: 1vw !important;
        margin-left: -20% !important;
        height: auto !important;
    }
    .works-con{
        width: 100%;
        margin: 0;
        height: auto;
    }
    .slide_vertical_wrap{
        width: 100vw;
        height: 100vw;
    }
    .slide_vertical_wrap > img{
        left: 0;
        width: 100%;
    }
    .slide_vertical_wrap > div{
        width: calc(100vw / 3);
        height: calc(100vw / 3);
    }
    #weekly-events{
        padding-top: 10px !important;
        margin: 0 !important;
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
    }
    #weekly-events > h2{
        width: 96vw;
        font-size: initial !important;
        border-radius: 0 !important;
        padding: 0 5px !important;
        text-align: left !important;
        box-shadow: 0 0 0 !important;
        padding: 5px 5px !important;
    }
    .newworks > p {
        width: 96vw;
        text-align: left !important;
    }
    .event-date{
        width: 90vw;
    }
    .event-date h3{font-size:initial !important;}
    .event-date h4{font-size:initial !important;}
    .contact{
        width: 100vw !important;
        height: auto;
    }
    .contact > div{
        width: 100vw !important;
        margin: 5px !important;
        padding-top: 10px;
    }
    .tel{
           width: 100vw !important;
    }
    .block_contact{
        width: 100vw !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer_menu{
        width: 100vw !important;
        display: flex;
        flex-wrap: wrap;
        font-size: 1em;
        clear: initial;
        flex-direction: row;
        align-content: center;
        align-items: center;
        justify-content: center;
        height: auto;
        margin-top: 50px;
    }
    .footer_menu > a{
        padding: 2px;
        margin: 2px;
        min-width: 26vw;
        text-decoration: underline;
    }
    .footer{

    }
    .basetumei{
        font-size: 0.8em;
        width: 96vw !important;
        margin-left: 2vw;
    }
    .service{
        width: 100vw;
        margin: 0;
    }
    .service > img{
        width: 180%;
        height: auto;
        margin-left: -40%;
        margin-top: 12px;
    }
    .service > .text1{
        width: 96vw;
        height: auto;
        margin: 2vw;
        font-size: 1em;
    }
    .service-con{
        width: 96vw;
        margin: 0 2vw;
    }

    .service-con >div{
        width: calc(100% - 12px);
        background-position: center;
        background-size: 90%;
        margin: 6px;
        padding: 10px 0;
    }
    .service-con > div > a{
                display: none;
    }
    .workskoma-con{
        width: 100vw;
        height: 100vw;
        margin: 0;
        padding: 0;
    }
    .icon_img{
        width: 96vw;
        height: auto;
        margin: 0;
        padding: 0;
        margin-left: 2vw;
    }
    .workskoma-con > div > a{
        width: 96vw;
        height: 96vw;
        background-position: center;
        background-repeat: no-repeat;
        margin: 0;
        padding: 0;
        background-size: 93%;
        background-position: center !important;
    }
    .modal-content{
        left: inherit !important;
        top: inherit !important;
        height: 96vw;
        width: 96vw;
        margin-left: 2vw;
    }
    .modal-close{display: none;}
    .works_center{
        width: 90vw;
        height: 90vw;
        margin: 0 5vw;
    }
    .works_center > a > img{
        width: 100%;
        height: 100%;
    }
    .gaiyo{
        width: 98vw;
        margin: 0;
        padding: 0;
        margin-left: 1vw;
        background:none;
    }
    .gaiyo > div{
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
     }
    .gaiyo_midashi_con{
        width: 100%;
        margin: 0;
        background: #dfdfdf;
        max-height: 24px;
        padding: 4px 0;
        margin-bottom: 0px;
    }
    .gaiyo_con{
        width: 100%;
        margin: 0;

    }
    .business_map{
        width: 98vw;
        margin: 0;
        margin-left: 1vw;
    }
    .business_map > iframe{
        width: 98vw;
        height: 98vw;
    }
    .emailform{
        width: calc(96vw - 6px);
        margin-left: 2vw;
        margin-top: 16px;
        background: #efefef;
        padding: 3px;
        border-radius: 4px;
    }
    .recruit{
        margin: 0;
        width: 100vw;
    }
    .recruit-waku{
        width: 98vw;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
    }
    .recruit-table{
        width: 100vw;
        margin: 0;
    }
    .recruit-table > * > tr{
        display: flex;
        flex-direction: column;
        width: 98vw;
        margin-left: 1vw;
    }
    .recruit-table > * > tr > td{
        width: 98vw;
    }

    td > * > * > tr{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }
    td > * > * >  tr > td{
        width: 100%;
        padding-left: 10%;
    }
    td > strong{
        width: 98vw;
        font-size: 1.4em;
        border-top: solid 1px gray;
        border-bottom: solid 1px gray;
        margin: 0;
        padding: 0;
        height: 30px;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        margin-top: 30px;
    }
    .etrytext{
        width: 96vw;
        margin-left: 2vw;
    }
    a.entry{
        background-position: center;
        background-size: 170%;
        height: 240px;
    }
    .catlog{
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .catlog > div{
        display: flex;
        flex-direction: column;
    }
    .catlog > div > span{
        margin: 2px;
    }
    .catlog > h2{
        font-size: initial !important;
        width: 96vw;
        text-align: center;
        margin-top: 13px;
    }
    .top-txt{
        font-size: small;
    }
    .update_date{
        font-size: small;
    }
    .thanks_word{
        height: 50vw;
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        align-items: center;
        width: calc(96vw - 2px) !important;
        border: solid 1px gray;
        margin-left: 2vw;
        font-size: medium;
      }

}
.now_aperer{background: #2196f32e;}
.fade-in > div > p{
    width: 490px;
    margin-right: 60px;
}
.works>img{
    width: 1000px;
    height: 230px;
}
.contact{
    height: auto;
    clear: left;
    float: right;
    margin: 10px 0 !important;
}
.toiaase2{
    margin-left: 60px;
    font-size: 1rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}