@charset "utf-8";
/* CSS Document */

body{
    background-color: #eee;
}
h1{
    font-size: 20px;
    font-style: italic;
    margin: 50px 0;
}
#container{
    width:800px;
    margin: 0 auto;
}
.fade li{
    width: 200px;
    height: 200px;
    padding: 10px ;
    display: block;
    float: left;
    overflow: hidden;
}
.fade li img{
    width: 190px;
    height: 190px;
    border: #fff solid 5px;
}



html {
  overflow-y: scroll;
  overflow-x: hidden;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
  margin: 0;
  padding: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
  font-style: normal;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption,th {
  text-align: left;
}
q:before,q:after {
  content: '';
}
object,
embed {
  vertical-align: top;
}
hr,legend {
  display: none;
}
h1,h2,h3,h4,h5,h6 {
  font-size: 100%;
}
img,abbr,acronym,fieldset {
  border: 0;
}
li {
  list-style-type: none;
}
body {
	background-color:#cccccc;
  color: #333;
  font-size: 12px;
  font-family: "メイリオ","Meiryo",verdana,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
  line-height: 1.5;
}
* html body {	/* for IF6 */
  font-family: "ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
}

body {  
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #c8c8c8), color-stop(0.51, #939392), color-stop(0.00, #c8c8c8));
	background: -webkit-linear-gradient(top, #c8c8c8 0%, #939392 51%, #c8c8c8 100%);
	background: -moz-linear-gradient(top, #c8c8c8 0%, #939392 51%, #c8c8c8 100%);
	background: -o-linear-gradient(top, #c8c8c8 0%, #939392 51%, #c8c8c8 100%);
	background: -ms-linear-gradient(top, #c8c8c8 0%, #939392 51%, #c8c8c8 100%);
	background: linear-gradient(top, #c8c8c8 0%, #939392 51%, #c8c8c8 100%);
}  

/* Main menu */

#menu
{
	margin:20px;
	padding: 10px 0 0 0;
	list-style: none;  
	background: #111;
	background: -moz-linear-gradient(#444, #111); 
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));	
	background: -webkit-linear-gradient(#444, #111);	
	background: -o-linear-gradient(#444, #111);
	background: -ms-linear-gradient(#444, #111);
	background: linear-gradient(#444, #111);
	-moz-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: 0 2px 1px #9c9c9c;
	-webkit-box-shadow: 0 2px 1px #9c9c9c;
	box-shadow: 0 2px 1px #9c9c9c;
}

#menu li
{
	float: left;
	padding: 0 0 10px 0;
	position: relative;
	line-height: 0;
}

#menu a 
{
	float: left;
	height: 25px;
	padding: 0 25px;
	color: #999;
	text-transform: uppercase;
	font: bold 12px/25px Arial, Helvetica;
	text-decoration: none;
	text-shadow: 0 1px 0 #000;
}

#menu li:hover > a
{
	color: #fafafa;
}

*html #menu li a:hover /* IE6 */
{
	color: #fafafa;
}

#menu li:hover > ul
{
	display: block;
}

/* Sub-menu */

#menu ul
{
    list-style: none;
    margin: 0;
    padding: 0;    
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    z-index: 99999;    
    background: #444;
    background: -moz-linear-gradient(#444, #111);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
    background: -webkit-linear-gradient(#444, #111);    
    background: -o-linear-gradient(#444, #111);	
    background: -ms-linear-gradient(#444, #111);	
    background: linear-gradient(#444, #111);
    -moz-box-shadow: 0 0 2px rgba(255,255,255,.5);
    -webkit-box-shadow: 0 0 2px rgba(255,255,255,.5);
    box-shadow: 0 0 2px rgba(255,255,255,.5);	
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#menu ul ul
{
  top: 0;
  left: 150px;
}

#menu ul li
{
    float: none;
    margin: 0;
    padding: 0;
    display: block;  
    -moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    -webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}

#menu ul li:last-child
{   
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;    
}

#menu ul a
{    
    padding: 10px;
	height: 10px;
	width: 130px;
	height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
	text-transform: none;
}

*html #menu ul a /* IE6 */
{    
	height: 10px;
}

*:first-child+html #menu ul a /* IE7 */
{    
	height: 10px;
}

#menu ul a:hover
{
    background: #800000;
	background: -moz-linear-gradient(#FF0000,  #800000);	
	background: -webkit-gradient(linear, left top, left bottom, from(#FF0000), to(#800000));
	background: -webkit-linear-gradient(#FF0000,  #800000);
	background: -o-linear-gradient(#FF0000,  #800000);
	background: -ms-linear-gradient(#FF0000,  #800000);
	background: linear-gradient(#FF0000,  #800000);
}

#menu ul li:first-child > a
{
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

#menu 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 #444;
}

#menu ul ul li:first-child a:after
{
    left: -8px;
    top: 12px;
    width: 0;
    height: 0;
    border-left: 0;	
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    border-right: 8px solid #444;
}

#menu ul li:first-child a:hover:after
{
    border-bottom-color: #FF0000; 
}

#menu ul ul li:first-child a:hover:after
{
    border-right-color: #FF0000; 
    border-bottom-color: transparent; 	
}


#menu ul li:last-child > a
{
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

/* Clear floated elements */
#menu:after 
{
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

* html #menu             { zoom: 1; } /* IE6 */
*:first-child+html #menu { zoom: 1; } /* IE7 */

/* Main menu END*/


h1 {
  margin-bottom: 5px;
  font-size: 10px;
  text-shadow: #333 2px 2px 2px;
}
h2 {
  display: inline;
  width: 70px; /*ロゴの横幅*/
  height: 70px; /*ロゴの高さ*/
 /*  text-indent: -9999px;*/
 /*  background: url(images/logo.png) no-repeat;*/
}
h2 a {
/*  display: block;*/
  display: inline;
  height: 70px; /*ロゴの高さ*/
  float: left;
}
h3 {
  font-size: 16px;
}
img.h3 {
	border-radius: 5px;
	-moz-box-shadow: 2px 2px 3px 3px #666666;
	-webkit-box-shadow: 2px 2px 3px 3px #666666;
	box-shadow: 2px 2px 3px 3px #666666;
	}

h4 a{
  display: inline;
  margin-left:700px;
}

#wrapper {
  margin-left:auto;
  margin-right:auto;
  margin-top:0;
  margin-bottom:10px;
  padding-bottom:20px;
  width: 1000px;
  background-color:#cccccc;
  background-image:url(images/bg.png);
}

header {
  background: #666;
  color: #fff;
  padding: 10px 20px;
  -moz-border-radius: 0 0  5px 5px;
  -webkit-border-radius: 0 0  5px 5px;
  border-radius: 0 0  5px 5px;
}
#main,#right_box,#left_box {
  float: left;
}
#main {
  margin: 0 20px;
  margin-top:0;
  margin-bottom:0;
  margin-left:20px;
  margin-right:35px;
  width: 940px;
}
#left_box {
  width: 350px;
  margin-left:50px;
}
#right_box {
  width: 200px;
}
section {
  margin: 10px 0;
}
section:after {
  content: ".";
  display: block;
  visibility: hidden;
  height: 0.1px;
  font-size: 0.1em;
  line-height: 0;
  clear: both;
}

p {
  font-size: 12px;
  margin-bottom: 10px;
}
img.f_left {
  float: left;
	-moz-box-shadow: 2px 2px 3px 3px #666666;
	-webkit-box-shadow: 2px 2px 3px 3px #666666;
	box-shadow: 2px 2px 3px 3px #666666;
	background-color:#ffffff;
	padding: 1px;
	margin: 20px;
}
img.f_right {
  float: right;
	-moz-box-shadow: 2px 2px 3px 3px #666666;
	-webkit-box-shadow: 2px 2px 3px 3px #666666;
	box-shadow: 2px 2px 3px 3px #666666;
	background-color:#ffffff;
	padding: 1px;
	margin: 20px;
}

.shadow{
	-moz-box-shadow: 2px 2px 3px 3px #CCC;
	-webkit-box-shadow: 2px 2px 3px 3px #CCC;
	box-shadow: 2px 2px 3px 3px #CCC;
	background-color: #EEE;
	padding: 10px;
	margin: 20px;
}
p.rgba {
    background-color: rgba(0,0,0,0.5);
	color:#FFFFFF;
	font-size:14px;
	padding:10px;
}

footer {
  position: relative;
  clear: left;
  margin: 30px 20px;
  background: #cccccc;
  padding: 10px;
  border: solid 1px #666666;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

footer a {
  color: #333;
  text-decoration:none;
}
footer a:hover {
  color: #FF0000;
}


#pagetop {
  display: inline-block;
  position: absolute;
  top: -33px; /*数値は画像の高さ＋1px*/
  right: 10px;
}

#copyright {
  text-align: center;
}




table.company {
    width: 600px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0px 15px;
    font-size: 12px;
}
 
table.company th,
table.company td {
    padding: 10px;
}
 
table.company th {
    background: #800000;
    vertical-align: middle;
    text-align: left;
    width: 130px;
    overflow: visible;
    position: relative;
    color: #fff;
    font-weight: normal;
    font-size: 15px;
}
 
table.company th:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-left-color: #800000;
    border-width: 10px;
    margin-top: -10px;
}
/* firefox */
@-moz-document url-prefix() { 
    table.company th::after {
        float: right;
        padding: 0;
        left: 30px;
        top: 10px;
        content: " ";
        height: 0;
        width: 0;
        position: relative;
        pointer-events: none;
        border: 10px solid transparent;
        border-left: #800000 10px solid;
        margin-top: -10px;
    }
}
 
table.company td {
    background: #f8f8f8;
    width: 360px;
    padding-left: 20px;
}