@import url('reset.css');

#footer {
clear: both;
background-color: #F6F6EE;
width: 940px;
overflow: hidden;
margin: 0 auto;
padding: 0 0 15px 0;
color: #333333;
}

#footer nav ol {
padding: 20px 0 20px 20px;
overflow: hidden;
}

#footer nav ol li {
font-size: 12px;
line-height: 60px;
width: 205px;
float: left;
margin-right: 20px;
list-style: none;
}

#footer nav ol li a {
display: block;
padding-left: 40px;
}

#footer nav ol li:nth-child(1) a {
background: #FFF url(https://www.tb-net.jp/images/icon_fb.png) no-repeat right 50%;
}

#footer nav ol li:nth-child(2) a {
background: #FFF url(https://www.tb-net.jp/images/icon_ig.png) no-repeat right 50%;
}

#footer nav ol li:nth-child(3) a {
background: #FFF url(https://www.tb-net.jp/images/icon_ml.png) no-repeat right 50%;
}

#footer nav ol li:nth-child(4) a {
background: #FFF url(https://www.tb-net.jp/images/icon_sb.png) no-repeat right 50%;
}

/* IOS�p */
@media only screen and (max-device-width: 1024px) {

#footer {
width: 936px;
padding-left: 4px;
}
}

#footer {
font-size: 10px;
font-style: normal;
line-height: 1.9;
font-weight: normal;
}

#footer a {
text-decoration: none;
}

#footer a:link,
#footer a:visited {
color: #333333;
}

#footer a:hover {
color: #2484C6;
}

#footer p.category_home {
clear: both;
float: left;
width: 80px;
padding: 3px 0 0 20px;
}

#footer ul {
float: left;
width: 210px;
}

#footer ul#event {
margin-bottom: 20px;
}

#footer ul li {
list-style: none;
padding-left: 5px;
background: url(https://www.tb-net.jp/images/footer_img/footer-li.gif) no-repeat left center;
line-height: 1.74;
}

#footer ul li.category {
margin-bottom: 5px;
padding-left: 4px;
background-image: none;
font-size: 13px;
font-weight: bold;
color: #BABABA;
}

#footer ul li.category a {
color: #BABABA;
}

#footer-bottom {
clear: both;
width: 940px;
overflow: hidden;
margin: 0 auto;
padding: 10px 0 27px 0;
background-color: #DAD7CF;
}

#footer-bottom a {
text-decoration: none;
}

#footer-bottom a:link,
#footer-bottom a:visited {
color: #333333;
}

#footer-bottom a:hover {
color: #2484C6;
}

p.extra-information {
margin: 0 auto;
font-size: 10px;
line-height: 1.4;
text-align: center;
}

p.footer-logo {
text-align: center;
}

p.other-text{
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}

@media only screen and (max-width:768px) {

#footer,
#footer-bottom {
width: 100%;
padding: 10px 10px 0;
position: fixed;
bottom: 0;
left: 0;
}

#footer p.category_home,
#footer ul {
display: none;
}

#footer nav ol {
padding: 0 0 10px 12px;
}

#footer nav ol li {
font-size: 12px;
line-height: 60px;
width: 25%;
float: left;
margin-right: 0;
list-style: none;
text-align: center
}

#footer nav ol li a {
margin-right: 12px;
padding: 68px 0 0 0
}

#footer nav ol li:nth-child(1) a {
background: #FFF url(https://www.tb-net.jp/images/icon_fb.png) no-repeat center top;
}

#footer nav ol li:nth-child(2) a {
background: #FFF url(https://www.tb-net.jp/images/icon_ig.png) no-repeat center top;
}

#footer nav ol li:nth-child(3) a {
background: #FFF url(https://www.tb-net.jp/images/icon_ml.png) no-repeat center top;
}

#footer nav ol li:nth-child(4) a {
background: #FFF url(https://www.tb-net.jp/images/icon_sb.png) no-repeat center top;
}

#footer nav ol li span {
background-color: #F6F6EE;
display: block;
font-size: 10px;
line-height: 2.4
}

#footer-bottom p.footer-logo {
    width: 50%;
    height: auto;
    text-align: center;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

#footer-bottom p.footer-logo img {
position: relative;
width: 100%;
height: auto
}
}
