@charset "utf-8";

/* -----------------------------------------------------------
	Site Name: Tochigi TV
	Author: Yamazen Communications co.,ltd.
	Comment: common style
	Since2012.3
----------------------------------------------------------- */
	
/*Index
	1.common
	2.structure
	3.header
	4.globalnavi
	5.subnavi
	6.footerbanner
	7.footer
	
----------------------------------------------------------- */


/*1.common
----------------------------------------------------------------------------------*/

body {
	margin:0;
	padding:0;
	font-size:75%;
	font-family:'Osaka','MS PGothic','Hiragino Kaku Gothic Pro',Arial,sans-serif;
	line-height:1.8;
	color:#646464;
	vertical-align:top;
	background-color:#ffffff;
}

@media only screen and (max-width: 640px){
.pc{display:none!important;}
}
@media only print, only screen and (min-width: 641px){
.sp{display:none!important;}
}

/* 基本リンクカラー */

a:link   {color:#00a0e9;text-decoration:underline;}
a:visited{color:#0096ff;text-decoration:underline;}
a:hover  {color:#ff6600;text-decoration:none;}
a:active {color:#0096ff;text-decoration:underline;}



/*画像リンク用スタイル*/
a:hover img{
    opacity:0.50;
    filter: alpha(opacity=50);
}
img{
	max-width: 100%;
	height: auto;
}

/* 注意事項 */
.coution {
	width:auto;
	margin:0;
	padding:0;
	font-size:83.33%;
}


/*右端フロートマージンゼロ対応*/
.gap{
	margin-right:0!important;
	padding-right:0!important;
}

/* link */
ul.txtLink{
	width:90%;
	margin:0;
	padding:0;
}
ul.txtLink li{
	width:90%;
	margin:0;
	padding:0 0 0 10px;
	background:url(../images/arrow.gif) no-repeat left 0.3em;
}




/* 2.structure
----------------------------------------------------------------------------------*/

/* width */
#header,
#gnavi,
#footer,
#footNavi{width:100%;}
.inner{width:960px;margin:0 auto;}

@media only screen and (max-width: 640px){
	.inner{width: auto;padding: 0 10px;}
}





/* 3.header
----------------------------------------------------------------------------------*/
#logo{position:relative;height:0;}
#logo img{position:absolute;top:0;left:0;}

#sidebanner{position:relative;}
#sidebanner ul{width:90px;position:absolute;top:0;right:-125px;}
#sidebanner ul li{margin-bottom:25px;}

#headerTop{
	min-height:90px;
	padding:15px 0;
	text-align:right;
}
#sideR{float:right;margin-left:35px;}
ul#fontChange{margin-top:5px;}
ul#fontChange li{display:inline;margin-left:2px;}
ul#fontChange li.ttl{margin-right:5px;}

/* フォントサイズ */
.fontS{font-size:65%;}
.fontM{font-size:75%;}
.fontL{font-size:85%;}

@media only screen and (max-width: 640px){
	#logo{position: static;width: 120px;height: inherit;margin: 0 auto;}
	#logo img{position: static;}
	#sidebanner,
	#sideR,
	#fontChange{display: none;}
	#header-banner{
		margin: 5px 0 0;
		padding: 0 10px;
		text-align: center;
	}
	#header-banner iframe{
		width: 100%;
	}
	#headerTop{
		min-height: inherit;
	}
}



/* btn-menu
----------------------------------------------------------------------------------*/
#header #btn-menu {
	display: none;
	position: fixed;
	top: 5px;
	right: 5px;
	float: right;
    background: #0096ff none repeat scroll 0 0;
    color: #fff;
    height: 45px;
    line-height: 45px;
    text-align: center;
    white-space: nowrap;
    width: 45px;
	cursor: pointer;
	z-index: 1000000;
}
#header #btn-menu:hover {
	background: #003399;
}
#header #btn-menu.open {
    background-color: #0096ff;
}
#header #btn-menu-icon {
    background: #fff none repeat scroll 0 0;
    display: block;
    height: 4px;
    left: 50%;
	margin: 0 0 0 -12px;
    position: absolute;
    top: 45%;
	-webkit-transition: all 0.2s ease 0s;
	-moz-transition: all 0.2s ease 0s;
	-ms-transition: all 0.2s ease 0s;
	-o-transition: all 0.2s ease 0s;
	transition: all 0.2s ease 0s;
    width: 24px;
	opacity: 1;
}
#header #btn-menu-icon:before,
#header #btn-menu-icon:after {
    background: #fff none repeat scroll 0 0;
    content: "";
    display: block;
    height: 4px;
    left: 0;
    position: absolute;
    top: 50%;
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	-ms-transition: all 0.3s ease 0s;
	-o-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
    width: 24px;
}
#header #btn-menu-icon:before {
    margin-top: -10px;
}
#header #btn-menu-icon:after {
    margin-top: 6px;
}
#header #btn-menu .close {
    background: transparent none repeat scroll 0 0;
}
#header #btn-menu .close:before,
#header #btn-menu .close:after {
    margin-top: 0;
}
#header #btn-menu .close:before {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
#header #btn-menu .close:after {
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	-ms-transform: rotate(-135deg);
	-o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

@media only screen and (max-width: 640px){
	#header #btn-menu {display: block;}
}


/* 4.globalnavi
----------------------------------------------------------------------------------*/
#gnavi{
	height:50px;
	background:#0096ff;
}
#gnavi ul#nav{position:relative;z-index:1000;}
#gnavi ul#nav li{
	float:left;
}
#gnavi ul#nav li#gnavi01{margin-left:208px;_margin-left:100px;}

#sidr{display: none;}
#sidr ul ul{display: none;}
.sidr ul li a, .sidr ul li span{line-height: 1.5;}
.sidr ul li ul li ul li a, .sidr ul li ul li ul li span{padding-left: 50px;}

@media only screen and (max-width: 640px){
	#gnavi{display: none;}
}


/* 5.subnavi
----------------------------------------------------------------------------------*/
#subnavi ul{margin-left:200px;text-align:right;}
#subnavi ul li{display:inline;margin-left:10px;}
#subnavi ul li a{
	padding-left:15px;
	background:url(../images_new/common/arrow01.gif) no-repeat left center;
}
#subnavi ul li.home{float:left;}
@media only screen and (max-width: 640px){
	#subnavi{display: none;}
}




/* 6.footerbanner
----------------------------------------------------------------------------------*/
#footerbanner{
	margin:40px auto;
	text-align: center;
}
@media only screen and (max-width: 640px){
	#footerbanner{display: none;}
}


/* 7.footer
----------------------------------------------------------------------------------*/
#footer{clear:both;padding-top:10px;}

#amazon{text-align:center;}
#pageTop{margin:20px auto 5px;text-align:right;}

#pageTop a{
	margin-right:85px;
}

#footNavi{
	min-height:400px;
	_height:400px;
	padding-top:20px;
	background:white url(../images_new/footer/footNavi_bk.gif) repeat-x left top;
}
#footNavi ul{overflow: hidden;}
#footNavi ul li{
	float:left;
	margin-right:10px;
	width:220px;
}
#footNavi ul ul{width:230px;}
#footNavi ul ul li{float:none;}
#footNavi ul ul li a{
	padding-left:10px;
	background:url(../images_new/common/arrow02.gif) no-repeat left center;
}

#copyright{margin: 30px 0 0;clear:both;text-align:center;}
#copyright img{margin-bottom:10px;}

@media only screen and (max-width: 640px){
	#footNavi{min-height: inherit;background: none;}
	#footNavi ul{display: none;}
	#copyright img{width: 150px;height: auto;margin: 0 auto;}
}

