@charset "utf-8";

#main-header-bg {
	width: 100%;
	height: 170px;
	/*position:fixed;*/
	background: #ffffff url(../img/background_header.jpg) repeat-x;
}

#main-header-r a:link { color: #000000; text-decoration: none; }    /* 未訪問のリンク */
#main-header-r a:visited { color: #000000; text-decoration: none; } /* 訪問済みのリンク */
#main-header-r a:hover { color: #ff0000; text-decoration: none; }   /* ポイント時のリンク */
#main-header-r a:active { color: #000000; text-decoration: none; }  /* 選択中のリンク */

#main-header-r h1{
	font-size: 10px !important;
	font-weight: normal;
	color: #ffffff;
	height: 15px;
}

#main-header-r p{
	font-size: 10px !important;
	font-weight: normal;
	color: #ffffff;
	height: 15px;
}

@media only screen and (max-width:481px) {
#main-header-bg {
	height: 100px;
}
#main-header-bg #main-header-r {
	width:100%;
}
}

/*=header
====================================*/
#main-header-bg #main-header-r{
	position:relative;
	height: 155px;
	width: 960px;
	margin: 0 auto 20px auto;
	font-size:10px !important;
	text-align:left;
	z-index:99 !important;
}

#main-header-r ul.logo{
	float: left;
	height: 89px;
	width: 225px;
	margin-bottom: 6px;
}

#main-header-r ul.login{
	float: left;
	width: 160px;
	overflow:hidden;
	margin-top:20px;
	/display:inline;
	/zoom:1;
}
#main-header-r ul.login li{
	width:100%;
	clear:both;
	display:block;
}
#main-header-r ul.login li a{
	text-align:left;
	display:block;
	margin:0 0 2px;
	padding:0 0 0 12px;
	background:url(../img/common/ico_link.gif) no-repeat 0 50%;
}
#main-header-r ul.login li.name a{
	margin-top:5px;
}
#main-header-r ul.login li a:hover{
	text-decoration:underline;
	color:#333;
}


#main-header-r ul#search-service{
	float: left;
	overflow: hidden;
	width: 575px;
	height: 61px;
	margin-top: 1px;
background: url(../img/search_service3.jpg) no-repeat;
}


#ssk #main-header-r ul.test{
	background: url(../img/search_service2.jpg) no-repeat;
}

#main-header-r ul#search-service li{
	float: left;
	}

#main-header-r ul#search-service li.search_j a{
	display: block;
	width: 110px;
	height: 41px;
	margin: 17px 2px 0 120px;
	text-indent: -9999px;
	background: url(../img/search_j3.jpg) no-repeat;
}

#main-header-r ul#search-service li.search_j a:hover{
	background: url(../img/search_j3_on.jpg) no-repeat;
}


#main-header-r ul#search-service li.search_c a{
	display: block;
	width: 110px;
	height: 41px;
	margin: 17px 0 0 0;
	text-indent: -9999px;
	background: url(../img/search_c3.jpg) no-repeat;
}

#main-header-r ul#search-service li.search_c a:hover{
	background: url(../img/search_c3_on.jpg) no-repeat;
}


#main-header-r ul#search-service li.search_box{
	margin: 23px 0 0 71px;
}	




#main-header-r ul#f-nav{
	overflow: hidden;
	float: right;
	position:relative;
	width:562px;
}
#main-header-r ul#f-nav li{
	float: left;
	text-indent: 0;	
}

/* Global Navi
--------------------------------------------------------  */
#main-header-r #Gnav{
width: 100%;
height:45px;
background: url(../img/gnavi.gif) no-repeat;
z-index:1;
clear:both;
}
#main-header-r #Gnav li{
float: left;
position: relative;
}
#main-header-r #Gnav a{
		 float: left;
   color: #FFFFFF;
   text-transform: uppercase;
   font: bold 13px/26px Arial, Helvetica;
   text-decoration: none;
  /*  text-shadow: 0 1px 0 #000; */
}
#main-header-r #Gnav li:hover > a{
    color:  #FFFFFF;
}
*html #main-header-r #Gnav li a:hover /* IE6 */{
    color:  #FFFFFF;
} 
#main-header-r #Gnav li:hover > ul{
    display: block;
}
#main-header-r #Gnav a.category{
	text-indent:-9999px;
 width:150px;
	height:45px;
	float: left;
	display:block;
	z-index:10;
}
#main-header-r #Gnav .home a.category{
	width:60px;
}
#main-header-r #Gnav li.home a.category{
		background:url(../img/gnavi.gif) no-repeat 0 0;
}
#main-header-r #Gnav li.home a.category:hover,
#main-header-r #Gnav li.home a.category:active{
		background:url(../img/gnavi.gif) no-repeat 0 100%;
}
#main-header-r #Gnav li.ms a.category{
		background:url(../img/gnavi.gif) no-repeat -60px 0;
}
#main-header-r #Gnav li.ms a.category:hover,
#main-header-r #Gnav li.ms a.category:active{
		background:url(../img/gnavi.gif) no-repeat -60px 100%;
}
#main-header-r #Gnav li.bp a.category{
		background:url(../img/gnavi.gif) no-repeat -210px 0;
}
#main-header-r #Gnav li.bp a.category:hover,
#main-header-r #Gnav li.bp a.category:active{
		background:url(../img/gnavi.gif) no-repeat -210px 100%;
}
#main-header-r #Gnav li.ut a.category{
		background:url(../img/gnavi.gif) no-repeat -360px 0;
}
#main-header-r #Gnav li.ut a.category:hover,
#main-header-r #Gnav li.ut a.category:active{
		background:url(../img/gnavi.gif) no-repeat -360px 100%;
}
#main-header-r #Gnav li.nb a.category{
		background:url(../img/gnavi.gif) no-repeat -510px 0;
}
#main-header-r #Gnav li.nb a.category:hover,
#main-header-r #Gnav li.nb a.category:active{
		background:url(../img/gnavi.gif) no-repeat -510px 100%;
}
#main-header-r #Gnav li.es a.category{
		background:url(../img/gnavi.gif) no-repeat -660px 0;
}
#main-header-r #Gnav li.es a.category:hover,
#main-header-r #Gnav li.es a.category:active{
		background:url(../img/gnavi.gif) no-repeat -660px 100%;
}
#main-header-r #Gnav li.os a.category{
		background:url(../img/gnavi.gif) no-repeat -810px 0;
}
#main-header-r #Gnav li.os a.category:hover,
#main-header-r #Gnav li.os a.category:active{
		background:url(../img/gnavi.gif) no-repeat -810px 100%;
}


/* Sub-menu */
#main-header-r #Gnav li:hover > ul{
    display: block;
				width:auto !important;
}
#main-header-r #Gnav ul{
    list-style: none;
    margin: 0;
    padding: 0;    
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    z-index: 99999;    
    background: #727272;
    background: -moz-linear-gradient(top, #727272, #444);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #444),color-stop(#444, #727272));    
    -moz-border-radius: 5px;
    border-radius: 5px;
}
#main-header-r #Gnav ul li{
    float: none;
    margin: 0;
    padding: 0;
    display: block;
				/border-bottom:1px solid #333; 
    -moz-box-shadow: 0 1px 0 #444, 0 2px 0 #727272;
    -webkit-box-shadow: 0 1px 0 #444, 0 2px 0 #727272;
    box-shadow: 0 1px 0 #444, 0 2px 0 #727272;
}
#main-header-r #Gnav ul li:last-child{
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;    
}
#main-header-r #Gnav ul a{
    padding:10px;
    height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
				/border-bottom:1px solid #555;
}
#main-header-r #Gnav ul a:hover{
    background: #0186ba;
				color:#FFF;
    background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
    background: -moz-linear-gradient(top,  #04acec,  #0186ba) !important;
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#04acec', endColorstr='#0186ba'); /* IE */
}
#main-header-r #Gnav li.ms ul a:hover{
	   background:#FA7F12;
				color:#FFF;
    background: -webkit-gradient(linear, left top, left bottom, from(#FFA733), to(#FA7F12));
    background: -moz-linear-gradient(top,#FFA733, #FA7F12) !important;
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#FFA733', endColorstr='#FA7F12'); /* IE */
}
#main-header-r #Gnav li.ut ul a:hover{
	   background:#3E9374;
				color:#FFF;
    background: -webkit-gradient(linear, left top, left bottom, from(#65A990), to(#3E9374));
    background: -moz-linear-gradient(top, #65A990, #3E9374) !important;
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#65A990', endColorstr='#3E9374'); /* IE */
}
#main-header-r #Gnav li.nb ul a:hover{
	   background:#61450C;
				color:#FFF;
    background: -webkit-gradient(linear, left top, left bottom, from(#816A3D), to(#61450C));
    background: -moz-linear-gradient(top,  #816A3D, #61450C) !important;
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#816A3D', endColorstr='#61450C'); /* IE */
}
#main-header-r #Gnav li.es ul a:hover{
	   background:#C0A365;
				color:#FFF;
    background: -webkit-gradient(linear, left top, left bottom, from(#D4C096), to(#C0A365));
    background: -moz-linear-gradient(top,  #D4C096, #C0A365) !important;
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#D4C096', endColorstr='#C0A365'); /* IE */
}
#main-header-r #Gnav li.os ul a:hover{
	   background:#0000FF;
				color:#FFF;
    background: -webkit-gradient(linear, left top, left bottom, from(#3333FF), to(#0000FF));
    background: -moz-linear-gradient(top,  #3333FF, #0000FF) !important;
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#3333FF', endColorstr='#0000FF'); /* IE */
}



* html #main-header-r #Gnav             { zoom: 1; } /* IE6 */
*:first-child+html #main-header-r #Gnav { zoom: 1; } /* IE7 */
 
#main-header-r #Gnav ul li:first-child a{
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
} 
#main-header-r #Gnav ul li:first-child a:after{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #727272;
}
#main-header-r #Gnav ul li:first-child a:hover:after{
    border-bottom-color: #04acec; 
}
#main-header-r #Gnav li.ms ul li:first-child a:hover:after{
    border-bottom-color: #FB9941; 
}
 
#main-header-r #Gnav ul li:last-child a{
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

 
/* Clear floated elements */
#main-header-r #Gnav:after{
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
 
* html #main-header-r #Gnav            { zoom: 1; } /* IE6 */
*:first-child+html #main-header-r #Gnav { zoom: 1; } /* IE7 */

#main-header-r #Gnav ul li:first-child a:after{
    content: '';
    position: absolute;
    left:17px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #727272;
}

#main-header-r #Gnav ul li:first-child a:hover:after
{
    border-bottom-color: #04acec; 
}
#main-header-r #Gnav li.ms ul li:first-child a:hover:after
{
    border-bottom-color: #FFA733; 
}
#main-header-r #Gnav li.ut ul li:first-child a:hover:after
{
    border-bottom-color: #65A990; 
}
#main-header-r #Gnav li.nb ul li:first-child a:hover:after
{
    border-bottom-color: #816A3D; 
}
#main-header-r #Gnav li.es ul li:first-child a:hover:after
{
    border-bottom-color: #D4C096; 
}
#main-header-r #Gnav li.os ul li:first-child a:hover:after
{
    border-bottom-color:#3333FF; 
}





/* form.search-service
---------------------------------------*/ 
form.search-service,
form.search-f-nav{
	position: relative;
}


form.search-service input.search-service{
	width: 115px;
	height: 29px;
	background: url(../img/search_box_l.jpg) no-repeat;
	padding: 0 0 0 25px;
	border: 0px;
}


form.search-service input.search-btn-s{
	position: absolute;
	top: 0;
	left: 113px;
}



form.search-f-nav input.search-f-nav{
	width: 135px;
	height: 19px;
	background: url(../img/search_box_f.jpg) no-repeat;
	padding: 0 0 0 20px;
	border: 0px;
}

form.search-f-nav input.search-btn-f-nav{
	position: absolute;
	top: 0;
	left: 135px;
}



/*
横スクロールが表示される現象を680pxから表示されないように変更
--------------------------------------------------------------------*/

@media only screen and (max-width: 699px) {
#main-header-bg #main-header-r {
	width:100%;
}
}