@keyframes fadein {
    100% {  opacity: 1;}
}

@media screen and (max-width: 767px){

body{
    margin: 0 auto;
    font-size: 3.75vw;
    font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,HelveticaNeue,Arial,Verdana,Roboto,游ゴシック Medium,Yu Gothic Medium,游ゴシック体,YuGothic,游ゴシック,Yu Gothic,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,Meiryo UI,メイリオ,Meiryo,sans-serif;
    -webkit-text-size-adjust: 100%;
    letter-spacing: 0.05em;
}

.wrapper {
    width: 100vw;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.side{
    display: none;
}

.header{
    width: 100vw;
    height: 70px;
    background-color: white;
    display: block;
    position: fixed;
    z-index: 99;
}
#logo img{
    width: auto;
    height: 35px;
}
#logo{
    width: auto;
    height: 35px;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:10px;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-top: 20px;
  margin-left: 10px;
}
    
/*閉じる用の薄黒カバー*/
#nav-close {
  display: none;/*はじめは隠しておく*/
  position: fixed;
  z-index: 99;
  top: 0;/*全体に広がるように*/
  left: 0;
  width: 100vw;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

/*中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;/*最前面に*/
  width: 85%;/*右側に隙間を作る（閉じるカバーを表示）*/
  max-width: 400px;/*最大幅（調整してください）*/
  height: 100%;
  background: white;/*背景色*/
  transition: .3s ease-in-out;/*滑らかに表示*/
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);/*左に隠しておく*/
}
.nav-list{
    max-width: 400px;
    margin-top: 30px;
    margin-left: 30px;
}
#nav-content li{
    width: 75%;
    list-style: none;
    border-bottom: solid 1px black;
    line-height: 50px;
}
#nav-content li a{
    font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,HelveticaNeue,Arial,Verdana,Roboto,游ゴシック Medium,Yu Gothic Medium,游ゴシック体,YuGothic,游ゴシック,Yu Gothic,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,Meiryo UI,メイリオ,Meiryo,sans-serif;
    margin-left: 20px;
    text-decoration: none;
    color: #1C1C1C;
    font-weight:700;
}
#logo2 img{
    margin-top: 10px;
    margin-left: 50px;
    width: auto;
    height: 30px;
}
.side-contact-wrapper{
        margin-left: 10px;
        display: flex;
    }
    #side-contact1{
        width: 60px;
        height: 60px;
        margin-top: 30px;
        margin-left: 10px;
        position: relative;
        z-index: 0;
    }
    #side-contact1:before{
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: -1;
        transition:0.5s;
        background: #353535;
    }
    #side-contact1:after{
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: -2;
        left:0;
        background: linear-gradient(45deg, #ee5855, #f0af6b);
    }
    #side-contact2{
        width: 60px;
        height: 60px;
        margin-top: 30px;
        margin-left: 30px;
        position: relative;
        z-index: 0;
    }
    #side-contact2:before{
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: -1;
        transition:0.5s;
        background: #353535;
    }
    #side-contact2:after{
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: -2;
        left:0;
        background: linear-gradient(45deg, #ee5855, #f0af6b);
    }
    #side-contact1 img{
        width: 50px;
        height: 50px;
        position: relative;
        margin: 0;
        top: 5px;
        left: 5px;
        z-index: 0;
    }
    #side-contact2 img{
        width: 50px;
        height: 50px;
        position: relative;
        margin: 0;
        top: 5px;
        left: 5px;
        z-index: 0;
    }
    #side-contact1:hover:before{
        opacity: 0;
    }
    #side-contact2:hover:before{
        opacity: 0;
    }
    
/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
  display: block;/*カバーを表示*/
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);/*中身を表示（右へスライド）*/
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}


h1{
    text-align: center;
    margin: 0;
    color: #353535;
}
h2{
    text-align: center;
    margin-bottom: 80px;
    color: #353535;
    font-size: 1.3em;
    padding: 1.5rem 3rem;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}
h3{
    padding: 0 0 0 15px;
    border-left: 10px solid #808080;
    
}

.container {
    width: 100vw;
    background: #f5f5f5;
    margin-right: auto;
    margin-left: auto;
    margin-top: 70px;
}
    
    .company-wrapper{
        width: 100vw;
        text-align: center;
    }
    #company{
        width: 100%;
        height: auto;
        margin-top: 50px;
        margin-bottom: 50px;
    }
    #company p{
        margin: 0;
    }
    
    .contents-wrapper{
        width: 90vw;        
        margin-left: auto;
        margin-right: auto;
    }
    #contents1, #contents2{
        width: 100%;        
        margin-top: 100px;
        margin-left: auto;
        margin-right: auto;
    }
    table{
        width: 90vw;
        border-collapse: collapse;
        margin-left: auto;
        margin-right: auto;
    }
    th, td{
        border-bottom: solid #696969;
        border-width: thin;
        font-size: 0.8em;
    }
    th{
        padding: 5px;
        text-align: left;
    }
    td{
        padding: 10px;
    }
    
    .google-map{
        width: 100%;
        height: 100vw;
        margin-bottom: 100px;
        overflow: hidden;
    }
    
    #page-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        line-height: 1;
        z-index: 99;
    }
    #page-top a {
        background-color: #353535;
        text-decoration: none;
        color: #fff;
        width: 60px;
        padding: 16px 0 22px;
        text-align: center;
        display: block;
        border-radius: 90px;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all  0.3s ease;
         
    }
    #page-top a:hover {
        text-decoration: none;
        background-color: #ee5855;
    }
    
    .fa, .fas {
        font-size: 22px;
    }
    
    
footer{
        width: 100vw;
        height: 120vw;
        background: #e0e0e0;
        position: relative;
    }
        #breadcrumb {
            position: absolute;
            top: 5%;
            left: 5%;            
        }
        #breadcrumb a{
            color: black;
            text-decoration: none;
        }
        #breadcrumb a:hover{
            color: #ee5855;
            transition:0.3s;
        }
        .nav-list-wrapper1 {
            position: absolute;
            top: 20%;
            left: 8%;            
        }
        .nav-list-wrapper2 {
            position: absolute;
            top: 20%;
            left: 55%;            
        }
        .nav-list-wrapper3 {
            position: absolute;
            top: 60%;
            left: 8%;            
        }
        .nav-list-wrapper4 {
            position: absolute;
            top: 60%;
            left: 55%;            
        }
        .nav-list-wrapper5 {
            position: absolute;
            top: 80%;
            left: 8%;            
        }
        #nav-list1 span{
            color: black;
            text-decoration: none;
            font-weight: bold;
        }
        #nav-list1 a{
            color: black;
            text-decoration: none;
        }
        #nav-list1 a:hover{
            color: #ee5855;
            transition:0.3s;
        }
        #nav-list1 ul{
            margin-top: 10px;
            padding: 0 0 0 10;
        }
        #nav-list1 li{
            line-height: 1.8em;
            font-size: 0.9em;
            list-style: none;
        }
                    
    .copyright{
        width: 100vw;
        height: 50px;
        background: #e0e0e0;
        margin: 0;
        padding: 0;
    }
    .copyright p{
        padding-left: 5%;
        margin: 0;
    }
    
}