@charset "UTF-8";

body {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    color: #2e2d2d;
    font-size: 10px;
}

main {
    margin-top: 50px;
    height: auto;
    position: relative;
}

.navibar{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height:110px;
    border-bottom: black solid 2px;
    margin-top: 30px;
}

.nav-logo img {
    height: 150px;
    padding:0px 200px 30px 40px;
}
.nav-item{
    text-align: center;
}

.nav-box {
    display : -webkit-inline-box;
	display : -ms-inline-flexbox;
	display : -webkit-inline-flex;
	display : inline-flex;
    padding-top: 40px;
}
.nav-box li{
    
    list-style: none;
    margin-top: 25px;
}
.nav-box a{
    font-family: YuGothic;
    color: #646363;
    font-size: 18px;
    font-weight: bold;
    margin: 0 20px;
}

.nav-box a:hover{
    opacity: .5;
}
.icon{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 70%;
    height: auto;
    padding-top: 50px;
    padding-right: 20px;
    padding-left: 0px;
}
.icon a {
    
    padding-left: 20px;
}
.icon a :hover{
    opacity: .5;
}
.main-box{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 0px;
}
.main-box h1{
    font-size: 18px;
    font-weight: bold;
    border-bottom: solid 1px #333333;
}

.box p{
    font-size: 16px;
    
}
.main-box li{
    list-style: none;
}
main{
    bottom: 10px;
}

.footer-main{
      margin-bottom: 60px;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
}
  .footer-copyright {
    border-top: 1px solid #333333;  
    padding: 0px 30px;
}


@media screen and (max-width: 800px){
    .navibar {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: distribute;
        justify-content: space-around;
        width: 100%;
        height: auto;
        margin-bottom:50px ;
    }
    .nav-logo img {
        width: 100%;
        height: auto;
        padding: 0px 10px 10px 30px;
        
    }
    
    .icon{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: 70%;
        height: auto;
        padding-top: 50px;
        padding-right: 20px;
        padding-left: 0px;
    }
    .icon a {
        -ms-flex-item-align: end;
	    align-self: flex-end;
        padding-left: 20px;
        padding-bottom: 8px;
    }
    .icon img {
        width: 100%;
        height: auto;
    }
    main {
        margin-top: 20px;
    }
    .main-box {
        display: block;
        padding-left: 0px;
    }
    
    .ggmap {
        height: 0;
        overflow: hidden;
        padding-bottom: 75%;
        position: relative;
        margin-bottom: 20px;
    }
    .ggmap iframe {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
    }
    .nav-box {
        padding-top: 0px;
        padding-left: 0px;
    }
    .nav-box a {
        font-size: 16px;
        margin: 0 2vw;
    }

}

@media screen and (max-width: 480px){
    .nav-logo img {
        width: 100%;
        height: auto;
        padding: 0px 10px 10px 20px;
        
    }
    .navibar{
        width: 100%;
        height: auto;
        margin-bottom:50px ;
    }
    .icon{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
        padding-top: 50px;
        padding-left: 0;
    }
    .icon a {
        padding-left: 10px;
    }
    .icon img {
        width: 100%;
        height: auto;
    }
    main {
        margin-top: 20px;
    }
    .main-box {
        padding-left: 0;
    }
    .main-box h1 {
        font-size: 18px;
    }
    .main-box img {
        width: 100%;
        height: auto;
    }
    .nav-item {
        margin-bottom: 10px;
    }
    .nav-box {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding-top: 0px;
        padding-left: 0px;
        margin: 0 auto;
    }
    .nav-box li {
        width: calc(50% - 2px);
    }
    .nav-box a {
        font-size: 14px;
        margin: 0 10px;
    }
    .footer-copyright{
        width: 100%;
        height: auto;
    }
}