﻿@charset "UTF-8";




/* ========BASIC======== */

html
 {

   	overflow-y:scroll;

 }



body
 {
   
	margin:0;
   
	padding:0;
   
	line-height:1.6;
   
	letter-spacing:1px;
   
	font-family:Verdana, Helvetica, sans-serif;

   	font-size:13px;

   	color:#333;
   
	background:#fff;

	
	background-image:url(../images/yyj_bg.jpg);
	background-repeat:repeat;
	background-attachment: fixed;
	background-position: center 45%;

 }



br
 {

	letter-spacing:normal;

 }



a
 {

   	color:#31001D;

   	text-decoration:none;

 }



a:hover
 {

   	color:#31001D;

   	text-decoration:none;

 }



img
 {

    	border:0;

 }



h1,h2,h3,h4,h5,h6
 {

   	margin:0;

 }





/* ========TEMPLATE LAYOUT======== */


#top
 {

   	width:900px/*800px*//*757px*/;

  	margin:0 auto;

  	background:#fff;

 }



#header
 {

   	width:900px/*800px*//*757px*/;

        background:#fff;
 }



#menu
 {

   	width:900px/*800px*//*757px*/;

  	margin-bottom:0px/*10px*/;

 }



#contents
 {

   	clear:both;

  	width:900px/*800px*//*757px*/;

  	/*background:url(../images/bg_contents.gif) 610px/*567px*/ 0 repeat-y;*/

  	border-bottom:1px solid #535D57;

 }




#headImage
 {

   	width:900/*800px*//*757px*/;

 }



#main
 {

   	/*float:left;*/

  	 width:880px/*780px*//*600px*//*567px*/;

  	 margin-top:10px;

  	 margin-left:10px;/*追記*/
 }



#sub
 {

   	float:right;

  	width:185px/*180px*/;

  	margin-top:10px;

}



#footer
 {
   
	position:relative;

   	clear:both;

   	width:900px/*757px*/;

 }




/* 回り込み解除 */

#contents:after
 {

  	content:"";

   	display:block;

   	height:0;

   	clear:both;

   	visibility:hidden;

 }





/* ========HEADER CUSTOMIZE======== */


#header h1
 {

   margin:0;

   padding:0;

   font-size:13px/*32px*/;

   color:#000;

   /*line-height:60px;*/
 }



#header h1 a
 {

   color:#000;

 }



#header h1 a:hover
 {

   color:#535D57;

 }





/* ========MENU CUSTOMIZE======== */


#menu ul
 {

   width:798px/*756px*/;

   margin:0;

   padding:1px 0 1px 1px;

   background:#FFF/*#000*/;

 }



#menu li
 {

   float:left;

   color:#333;

   text-align:center;

   list-style-type:none;

 }



#menu li a
 {

   display:block;

   width:90px/*125px*/;

   margin-right:1px;

   padding:5px 0;

   color:#fff;

   background:url(../images/bg_menu_off.gif);

 }



#menu li a:hover
 {

   color:#fff;

   background:url(../images/bg_menu_on.gif);

 }



/* 回り込み解除 */

#menu ul:after
 {

   content:"";

   display:block;

   height:0;

   clear:both;

   visibility:hidden;

 }





/* ========MAIN CONTENTS CUSTOMIZE======== */

#main a
 {

   color:#31001D;

 }



#main a:hover
 {

   color:#31001D;

   border:0;

   /*border-bottom:1px solid #31001D;*//*これを入れるとリンクの画像がカーソル当てるとでかくなる*/

 }



#main h2
 {
   
   margin-bottom:8px;

   padding:2px 2px 2px 0;

   color:#31001D;

   font-size:13px/*15px*/;

   font-weight:bold;

   border-bottom:3px double #000/*#535D57*/;

}



#main h3
 {

   margin-bottom:3px;

   padding:0 4px;

   font-size:14px;

   color:#fff;

   background:#60009c/*000080*//*500050*//*987a8c*/;

 }



#main h4
 {

   margin-bottom:2px;

   font-size:13px;

   color:#31001D;

   border-bottom:2px solid #31001D;

 }


#main h5
 {

   margin-top:5px;

   margin-bottom:2px;

   padding-left:5px;

   font-size:13px;

   border-left:8px solid #999;

 }


#main h6
 {
   
   margin-bottom:2px;

   font-size:13px;

 }



#main p
 {

   margin:0 10px 1em 0;

 }



#main ul,ol,dl
 {

   margin-right:10px;

 }



#main dt
 {

   margin-bottom:3px;

 }



#main dd
 {

   padding:0;

   margin:0 0 1em 1em;

   padding:3px;

   background:#87CEFA/*f1f1f1*/;

 }




/* ========SUB CONTENTS CUSTOMIZE======== */

#sub h2
 {

   padding:3px;

   font-size:14px;

   font-weight:bold;

   color:#fff;

   background:#31001D url(../images/bg_sub_h2.gif) 0 0 repeat-x;

 }



#sub ul
 {

   margin:0;

   padding:5px 0 1em 0;

 }



#sub li
 {

   margin:0;

   padding-left:18px;

   line-height:1.8;

   background:#fff url(../images/bg_list.gif) 0 5px no-repeat;

   list-style:none;

 }



#sub li a:hover
 {

   border-bottom:1px solid #31001D;

 }




/* ========PAGE CUSTOMIZE========= */

#pageTop
 {

   margin:10px 0;

   text-align:right;

 }



#pageTop a
 {

   padding:0 0 0 12px;

   background:url(../images/bg_pagetop.gif) 0 50% no-repeat;

 }



#pageTop a:hover
 {

   border-bottom:1px solid #31001D;

 }




/* ========FOOTER CUSTOMIZE======== */
.copyright
 {
   padding:10px 0;
   font-style:normal;
   font-size:11px;
   color:#333;
}