@charset "utf-8";
/* CSS Document */

#about-top{
     background-image:url("../img/about.jpg");
}

.page-top-overlay h1:before{
    font-family:Arial, Helvetica, "sans-serif";
    font-size:64px;
    margin-bottom:20px;
    letter-spacing: 2px;
    content: 'About Us';
    display: block;
}

.top-message-container{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    width:88%;
    margin: 20px auto;
}

#top-message{
    margin-top: 300px;
}
.top-message-img{
    -webkit-box-ordinal-group:3;
        -ms-flex-order:2;
            order:2;
    background: url("../img/morimori2.jpg") no-repeat;
    background-position:20% center;
    width:40%;
    height:600px;
    background-size:cover;
}

.top-message-text{
    width:60%;
}

.top-message-text-wrapper{
    width:80%;
    margin:0 auto;
}

.top-message-text h4{
    font-size:30px;
    line-height: 36px;
    letter-spacing: 1px;
    font-weight: bold;
    border-bottom:2px solid #00BE3A;
    margin:30px 0;
    padding-bottom:10px;
}

.top-message-text p{
    font-size:17px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 1px;
    margin-bottom:20px;
}

.top-message-text h5{
    text-align: right;
    font-size:20px;
    font-weight: bold;
    line-height: 22px;
    margin-bottom: 10px;
    color: #191A1A;
}

.top-message-text h5:last-child{
    font-size:26px;
}

.syatyo{
    font-size:14px;
    margin-right:20px;
}

#com{
    padding:60px 0;
    background: #fff;
}

#com table{
    width:60%;
    margin:0 auto;
}

#com tr:nth-child(odd){
    background:#DAEDE0;
}

#com td:first-child{
    width:25%;
    padding:30px 0 30px 20px;
    border: 1px solid #00BE3A;
    font-weight: bold;
}

#com td:last-child{
    width:75%;
    padding:30px 0 30px 20px;
    border: 1px solid #00BE3A;
}

#com td p{
    font-size:15px;
    line-height: 22px;
}

#com td a{
    color:#000;
}

#yabu-g,#news{
    background-color:#fff;
    padding:60px 0;
}

.yabu-g-container{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    width:88vw;
    height:230px;
    margin:0 auto;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
}

.yabu-g-container img{
     width:100%;
}

.yabu-g-container a{
    -webkit-box-flex:1;
        -ms-flex:1;
            flex:1;
    -webkit-transition:0.3s ease;
    -o-transition:0.3s ease;
    transition:0.3s ease;
}

#com-g{
    background-color:#fff;
    padding:60px 0;
}

.yabu-g-container{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    width:88vw;
    height:230px;
    margin:0 auto;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
}

.yabu-g-container img{
     width:100%;
}

.yabu-g-container a{
    -webkit-box-flex:1;
        -ms-flex:1;
            flex:1;
    -webkit-transition:0.3s ease;
    -o-transition:0.3s ease;
    transition:0.3s ease;
}

#access{
    padding:60px 0;
}

.access-row{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width:100%;
    margin-bottom:40px;
}

.map{
    width:50%;
    height:300px;
}

.map iframe{
    width:100%;
    height:100%;
}

.access-text{
    width:50%;
    background:#DAEDE0;
    -webkit-box-ordinal-group:3;
        -ms-flex-order:2;
            order:2;
}

.access-text-wrapper{
    width:80%;
    margin:40px auto;
}

.access-text h4{
    border-left: 4px solid #00BE3A;
    font-weight: bold;
    font-size:24px;
    margin-bottom:18px;
    padding-left:20px;
}

.access-text p{
    line-height: 24px;
    margin-left:24px;
}

.access-text a{
    color:#000;
}

@media screen and (max-width:1600px){
    .top-message-text h4{
        font-size:26px;
        line-height: 30px;
        letter-spacing: 0px;
    }
}

@media screen and (max-width:1366px){    

    .top-message-container{
        width:100%;
    }

    .top-message-text p{
        font-size:16px;
        line-height: 21px;
        letter-spacing: 0;
        margin-bottom:18px;
    }
    
    .yabu-g-container{
        width:100vw;
        height:160px;
    }
}

@media screen and (max-width:1200px){
    #com table{
        width:80%;
    }
}

@media screen and (max-width:1024px){
    .top-message-img{
        width:50%;
    }

    .top-message-text{
        width:50%;
    }
    
    .top-message-text-wrapper{
        width:88%;
    }

    .top-message-text h4{
        font-size:18px;
        line-height: 26px;
        margin:0 0 20px;
        letter-spacing: -1px;
    }
    
    .top-message-text p{
        font-size:15px;
        line-height: 18px;
    }
    
    .top-message-text h5{
        font-size:18px;
        line-height: 22px;
    }

    .top-message-text h5:last-child{
        font-size:18px;
    }
    
    .yabu-g-container{
        -ms-flex-wrap:wrap;
            flex-wrap:wrap;
        -ms-flex-pack: distribute;
            justify-content: space-around;
        height:auto;
        width:92vw;
        margin:0 auto;
    }
    
    .yabu-g-container a{
        text-align: center;
    }
    
    .yabu-g-container img{
         width:150px;
    }
    
    .news-container tr{
        height:40px;
    }
}

@media screen and (max-width:768px){
    .page-top-overlay h1:before{
        font-size:54px;
    } 
    .top-message-container{
        display: block;
        width:92%;
    }
    #top-message{
        margin-top: 0;
    }
    .top-message-img{
        width:80%;
        margin:0 auto;
        height:400px;
        background-position:top center;
    }

    .top-message-text{
        width:100%;
        margin:20px 0;
    }

    .top-message-text-wrapper{
        width:100%;
    }
    
    #com table{
        width:100%;
        font-size:14px;
    }
    
    #com td:first-child{
        padding:20px 0 20px 10px;
    }

    #com td:last-child{
        padding:20px 0 20px 10px;
    }
    
    .access-row{
        display: block;
    }
    
     .map{
        width:100%;
        height:300px;
    }

    .access-text{
        width:100%;
    }
    
    .access-text-wrapper{
        width:92%;
        margin:0 auto;
        padding:40px 0;
    }

}