
/* sns icon */
#sns-icon img{
    width: 20px;
}

#sns-icon{
    position: absolute;
    right:20px;
    top:45%;
    z-index: 4;
}

#sns-icon li{
     margin:0 0 15px 0;  
     list-style: none;
}

/* copyright */

small{
    position: absolute;
    left:20px;
    top:40%;
    color: #fff;
    letter-spacing: 0.1em;
    line-height: 1;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    z-index: 4;
}

.footer-grid{
    width:100%;
              display: grid;
              grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        }
  .footer-grid div{
          padding:10px 0 10px 0;
        }
  .item{
    text-align: center;
        background: #fff;
        height:auto;
        color: #fff;
        }
  
  
  footer {
    height: auto;
    color: #fff;
    background-color: #383838;
  }
  
  footer .container {
    max-width: 1200px;
    padding: 20px 20px;
    margin: 0 auto;
  }
  
  /* ----------------------------- */
  
  .footA {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .footA p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
  }
  
  /* ----------------------------- */
  
  .footB {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .footB ul {
    text-align: center;
    margin: 0 auto;
    padding: 0;
    list-style: none;
  }
  
  .footB a {
    display: block;
    padding: 0;
    padding-bottom: 2px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 18px;
    font-family: 'Suzumushi';
    text-decoration: none;
    margin-right: 0px;
    line-height: 20px;
    border-bottom: 3px solid #383838;
    transition: 0.5s;
    letter-spacing: 3px;
  }
  
  .footB a:hover {
    border-bottom: 3px solid #fff;
  }
  @media(min-width:1024px) {
    .footB ul {
      display: flex;
    }
  
    .footB a {
      margin-left: 20px;
      margin-right: 20px;
      margin-bottom: 0;
    }
  }
  
  /* ----------------------------- */
  
  .footC {
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .footC ul {
    display: flex;
    text-align: center;
    margin: 0 auto;
    padding: 0;
    list-style: none;
  }
  
  .footC a {
    display: block;
    border-radius: 20px;
    padding: 5px;
    background-color: #383838;
    font-size: 25px;
    color: #fff;
    width: 30px;
    height: 30px;
  }
  
  .footC a {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 0;
  }
  .footer-bottom{
    width: 100%;
    height: 50px;
    background-color: #3a70a0;
    text-align: center;
    padding-top: 10px;
    font-size: 0.8em;
    color: rgb(255, 255, 255);
    font-family: 'Courier New', Courier, monospace;
  }
  