/* footer */
#footer {
  color:#7d7d7d;
  background:#dcdcdc;
  text-align:center;
  padding:0 0 2em;
  font-size: 0.9em;
}
#footer:before {
  display:block;
  height:4px;
  content:'';
  margin-bottom:3em;
}

#footer .inner { position:relative; }

.footer_siteid {
  
  position:absolute;
  left:0;
  top:0;
}
.footer_siteid img {
  width:100%;
  max-width:296px;
  padding: 10px;
  height:auto;
}


.footer_nav {
  
  display:table;
  margin:0 0 0 auto;
  border-collapse:collapse;
}

.footer_nav > ul {
  
  display:table-cell;
  padding:0;
  border-left:solid 1px #abaaaa;
  text-align:left;
  list-style: none;
}

.footer_nav li { padding:0.25em 2em 0.25em 1em; }

.footer_nav li:last-child {}

.footer_nav li:hover{
  opacity: 0.5;
}

.footer_sns {
  text-align:center;
  margin:4em 0 1em;
}

#footer p { font-size:92%; }
#footer a {
  color:#626262;
  text-decoration:none;
}

#gnav a span.en{ display:inline; }
#gnav a:hover span.en{ display:none; }
#gnav a span.jp{ display:none; }
#gnav a:hover span.jp{ display:inline; }

.video-container {
  position: relative;
  padding-bottom: 56.3%;
  height: 0;
  overflow: hidden;
}
 
.video-container iframe,  
.video-container object,  
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width:767px) {
  
  #footer { padding:0; }
  #footer:before {
    
    height:2px;
    background-size:auto 2px;
    margin-bottom:2em;
  }
  
  #footer .inner { position:static; }
  
  .footer_siteid {
    position:static;
    margin-bottom:1em;
  }
  .footer_siteid img {
    width:100%;
    max-width:8em;
    height:auto;
  }
  
  
  .footer_nav {
    display:block;
    margin:0 0 2em;
  }
  
  .footer_nav > ul {
    
    display:block;
    padding:0;
    border-left:none;
    text-align:center;
    margin-bottom:1em;
  }
  
  .footer_nav li { padding:0.25em 2em; }
  
  .footer_sns {
    margin:1em 0 0;
    background:#211e1e;
  }
  #footer p {
    background:#342F2F;
    color: #fff;
    margin:0;
    padding:0.25em 0;
  }

}
