/* 20130604 */
@media (max-width: 979px) {
/* tablet */
  #header-right{
    float:none;
    width:100%;
  }
  #header-text{
    width:100%;
    float:none;
  }
  #inner-header nav{
    text-align:center;
  }
}




@media (max-width: 979px) {

li.sp-footerlist {
display:block;
margin-left:6%;
}

ul.footer-list-container {
margin: 0;
padding:0;
width:100%;
list-style:none;
}

li.sp-footerlist2 {
display:block;
padding-left:2%;
background-color:#d6d6d6;
font-size:smaller;
}

}

@media screen and (max-width: 520px) {
li.span3.footer-tweet, li.span3.footer-facebook, li.span3.footer-youtube,.footer-tokutei,.footer-riyoukiyaku, .footer-pp, .footer-copyright {
display:none;
}

li.sp-footerlist {
display:block;
margin-left:6%;
}

.footer-cname {
 margin-bottom:-10px;
}

.footer-copyright {
font-size:x-small;
}

.footer-tokutei {
text-align:left;
}

ul.footer-list-container {
margin: 0;
padding:0;
width:100%;
list-style:none;
}

li.sp-footerlist2 {
display:block;
padding-left:2%;
background-color:#d6d6d6;
font-size:smaller;
}

}

/* 20130623 */
#header-right #header-text{
width:200px;
line-height:1.4em;
}
#header-right #header-social{
width:520px !important;
}

#header-right #header-social li{
padding-left:5px;
}
@media screen and (max-width: 879px) {
#header-right #header-social{
width:90% !important;
margin:0 5% 10px;
height:auto;
}
#cfo_digest .caption{
max-width:100%;
}
#cfo_digest .caption h2{
width:100% !important;
font-size:18px !important;
}
#cfo_digest .btn{
max-width:100% !important;
font-size:14px !important;
}
/* end mobile */
}