body {
    font-family: 'Noto Serif JP', serif;
    overflow-x: hidden;
    height: 100%;
}
.container {
    width: 100%;
    margin: 0 auto;
}


#header {
  background:#fff;
    box-shadow: 0 2px 8px rgba(30,30,80,.3);
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    padding:1rem;
    z-index: 100;
}
.social-list {
  display:flex;
  left: 20%;
}


.logo img {
    margin-left: 30px;
}

#header .active {
    background-color: aqua;
}

#hmb {
    width: 40px;
    height: 26px;
    cursor: pointer;
    position: relative;
    padding-right: 80px;
    z-index: 30;
}
#hmb span {
    width: 32px;
    height: 3px;
    display: block;
    background-color: #000000;
    border-radius: 2px;
    position: absolute;
    transition: .2s;
}
#hmb span:first-child {top: 0;}
#hmb span:nth-child(2) {top: 12px;}
#hmb span:last-child {top: 24px;}
nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: aliceblue;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition-property: all;
    transition-duration: .2s;
}
nav ul li a {
    display: block;
    line-height: 80px;
    font-size: 20px;
    text-align: left;
    border-bottom: 1px solid #646566;
}

.active #hmb span:first-child{
    top: 12px;
    transform: rotate(45deg);
}
.active #hmb span:nth-child(2) {
    opacity: 0;
} 
.active #hmb span:last-child {
    top: 12px;
    transform: rotate(-45deg);
}
.active nav {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}
.active::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgb(0, 0, 0);
    width: 100vw;
    height: 100vh;
    opacity: 0.4;
    z-index: 10;
}

@media screen and (max-width: 767px) {
  .logo img {
       width: 50px;
       height: 50px;
     }
     nav {
        width: 60%;
         }
      nav ul li a {
        font-size: 15px;
        line-height: 60px;
         }
         
    }

    .company {
        margin: 200px 0 150px;
        text-align: center;
       
      }
      .company .heading {
        font-size: 55px;
        text-align: center;
        margin-bottom: 10px;
        font-weight: bold;
      }
      h2 {
        font-size: 24px;
        font-weight: 500;
        margin-bottom: 140px;
        text-align: center;
    }
      
      .company table {
          font-size: 20px;
          margin: 40px auto;
      
      }
      th,td {
          padding: 14px;
        font-family: 'Noto Serif JP', serif;
          font-weight: normal;
          text-align: left;
          border-bottom: 1px solid #646566;
      }
      td span {
          font-size: 90%;
      }
      
      @media screen and (max-width: 767px) {
        .company .container {
          width: 300px; 
        }
        th,td {
          font-size: 10px;
        }
        .company .heading {
          font-size: 24px;   
        }
        .company h2{
          font-size: 12px;
          margin-bottom: 60px;
        }
      }

      footer {
        padding: 40px 50px;
        font-size: 20px;
        background-color: #ddd;
        text-align: center;
    
      }
      .footer-main {
        padding-bottom: 20px;
        margin-bottom: 30px;
        
        }
    .footer-logo {
      margin-bottom: 40px;
      font-size: 32px;
    }
    
    .footer-main li {
     a{
        padding: 10px;
        display: block;
        color:#000000;
        font-weight: 300;
    }
    }
    .copyright {
            margin-top: 20px;
            text-align: center;
            
            }
        
        @media screen and (max-width: 768px) {
          li {
            a {
              margin: 0;
    
          }
          }
          .footer-logo {
            font-size: 10px;
          }
    
        .footer-logo img {
          width: 80px;
          height: 80px
        }
          .copyright {
            font-size: 9px;
          }
        }
        @media screen and (max-width: 480px) {
          footer {
            padding: 15px 0 20px;
          }
          .footer-main {
            margin-bottom: 0;
          }    
        
          
          .footer-logo {
            margin: 15px 0;
            font-size: 22px;
          }
    
        .footer-logo img {
          width: 60px;
          height: 60px
        }
        .footer-main li {
          a{
             padding: 5px;
             display: block;
             color:#000000;
             font-size: 12px;
         }
          
         
          
        }
      }
    
    
    
    