@charset "utf-8";

/*________________________________________________

	name:			global_layout.css
	author:			kumi morita
	mail:			morimori@elf.coara.or.jp
	create Date:	2008-02-27
	lastmodified:	2010-06-14
________________________________________________*/


/* Base Styles ===================================
 * (classes defined in the Markup Guide)
================================================*/
/* Suggested order:
 * display
 * list-style
 * position
 * float
 * clear
 * width
 * height
 * margin
 * padding
 * border
 * background
 * color
 * font
 * text-decoration
 * text-align
 * vertical-align
 * white-space
 * other text
 * content
 *
 */

* {
	margin: 0;
	padding: 0;
	font-family: Verdana, Arial,"Hiragino Kaku Gothic Pro", "Osaka", "ＭＳ Ｐゴシック", sans-serif;
	font-size: 100%;
	font-style: normal;
	line-height: 130%;
	font-weight: normal;
	font-variant: normal;
	list-style-type: none;
}

html {
	height: 100%;
}

/* reset */
html, body, form, fieldset, h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address ,hr {
	margin: 0;
	padding:0;
}
h1,h2,h3,h4,h5,h6,pre,code,address,caption,cite,code,em,strong,th {
	font-size: 1em;
	font-weight: normal;
	font-style: normal;
}
fieldset,img {
	border: none;
}
ul,ol,li {
	list-style-type:none;
}
caption,th {
	text-align: left;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
strong {
	font-weight: bold;
}

/* layout */
.clear {
	clear: both;
}

/* clearfix */
.clearfix {
	display: inline-block;
	display: block;
	zoom: 100%;
}
.clearfix:after {
	display: block;
	clear: both;
	height: 0;
	font-size: 0.1em;
	visibility: hidden;
	line-height: 0;
	content: ".";
}
/* Hides from IE-mac \*/
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
/* End hide from IE-mac */

/* link */
a {
	color: #006699;
	text-decoration: underline;
}
a:hover {
	color: #3ba1eb;
	text-decoration: underline;
}

/* body */
body {
	background-color: #fffee1;
	color: #333333;
	font-size: 0.8em;
	line-height: 140%;
}

/* container */
#container {
	width: 780px;
	height: 100%;
	margin: auto;
	padding: auto;
	text-align: center;
}

/* header */
#header {
	width: 760px;
	margin: 0;
	padding: 5px 10px 5px 10px;
	text-align: left;
	background-image: url(../img/bg_headergurade.gif);
	background-position: top left;
	background-repeat: repeat-x;
	background-color: #ffcc33;
	color: #ffffff;
	font-size: 100%;
}

/* contents */
#contents {
	clear: both;
	width: 780px;
	margin: 10px 0 10px 0;
	padding: 0;
	color: #333333;
	text-align: left;
}

/* footer */
#footer {
	display: block;
	clear: both;
	width: 780px;
	margin: 10px auto;
	padding: auto;
	text-align: center;
}

/* ie hack */
*html #container {
	width: 780px;
	height: 100%;
}
*html #contents {
	width: 780px;
	height: 1%;
}
* html #header {
	height:1%;
}

/*--------------------------------------------------------------
clearfix
--------------------------------------------------------------*/
#header, #contents {
	display: inline-block;
	display: block;
	zoom: 100%;
}
#header:after, #contents:after {
	display: block;
	clear: both;
	height: 0;
	font-size: 0.1em;
	visibility: hidden;
	line-height: 0;
	content: ".";
}
/* Hides from IE-mac \*/
* html #header, * html #contents {
	height: 1%;
}
#header, #contents {
	display: block;
}
/* End hide from IE-mac */
