@charset "utf-8";

* {
	margin: 0;
	padding : 0;
}
body {
	line-height: 1.6em;
	font-family: "Trebuchet MS", sans-serif;
	background: #eeeeee;
	overflow-y: scroll;
}

/*
 * layout
 */
#container {
	margin: 0 auto;
	padding: 10px 0;
	width: 820px;
}
#header {
	padding: 0 10px; /* width: 800px */
	height: 20px;
	text-indent: -32768px;
}
#main {
	padding: 0 10px; /* width: 800px */
	color: #000000;
	overflow: auto;
}
#content {
	width: 560px; /* without padding and margin: (10*2+10*2)px */
	float: right;
	padding: 10px;
	margin: 0 10px;
	background: #ffffff;
	overflow: hidden;
}
#sidebar {
	width: 200px;
	float: right;
}
#footer {
	clear: both;
	padding: 20px 10px 0 10px;
	text-align: center;
}

/*
 * background
 */
#header,
#footer {
	background-repeat: no-repeat;
}
#main {
	background-repeat: repeat-y;
}
#header { background-image: url("./image/missing_header_bg.png"); }
#home #header { background-image: url("./image/home_header_bg.png"); }
#about #header { background-image: url("./image/about_header_bg.png"); }
#project #header { background-image: url("./image/project_header_bg.png"); }
#misc #header { background-image: url("./image/misc_header_bg.png"); }
#contact #header { background-image: url("./image/contact_header_bg.png"); }
#main { background-image: url("./image/missing_main_bg.png"); }
#home #main { background-image: url("./image/home_main_bg.png"); }
#about #main { background-image: url("./image/about_main_bg.png"); }
#project #main { background-image: url("./image/project_main_bg.png"); }
#misc #main { background-image: url("./image/misc_main_bg.png"); }
#contact #main { background-image: url("./image/contact_main_bg.png"); }
#footer { background-image: url("./image/missing_footer_bg.png"); }
#home #footer { background-image: url("./image/home_footer_bg.png"); }
#about #footer { background-image: url("./image/about_footer_bg.png"); }
#project #footer { background-image: url("./image/project_footer_bg.png"); }
#misc #footer { background-image: url("./image/misc_footer_bg.png"); }
#contact #footer { background-image: url("./image/contact_footer_bg.png"); }

/*
 * sidebar
 */
#sidebar #icon {
	height: 180px; /* without padding and margin: (10*2)px */
	padding: 0 10px;
}
#sidebar #icon a img {
	border: none;
}
#sidebar #navigation {
}
#sidebar #navigation li {
	display: inline;
}
#sidebar #navigation li a {
	display: block;
	background: #000000;
	color: #ffffff;
	text-decoration: none;
	padding: 10px;
	text-shadow: 0px 1px 3px #000000;
	margin: 10px 10px 0 10px;
	outline: none;
}
#sidebar #navigation li a:hover {
	color: #000000;
}
#sidebar #navigation li.here a {
	height: 100px;
	margin-left: 0;
	margin-right: 0;
}
#sidebar #navigation li#navigation-home a { background-color: #e88f7d; }
#sidebar #navigation li#navigation-about a { background-color: #ffaf59; }
#sidebar #navigation li#navigation-project a { background-color: #e5df7e; }
#sidebar #navigation li#navigation-misc a { background-color: #8cc977; }
#sidebar #navigation li#navigation-contact a { background-color: #5fcfc5; }

/*
 * content
 */
#content > .section + .section {
	margin-top: 10px;
}
#content .section > * + * {
	margin-top: 10px;
}
#content #topic-path {
	background: #eeeeee;
	padding: 5px 10px;
	border: dashed 1px #999999; /* will be overrided */
}
#home #content #topic-path { border-color: #e88f7d; }
#about #content #topic-path { border-color: #ffaf59; }
#project #content #topic-path { border-color: #e5df7e; }
#misc #content #topic-path { border-color: #8cc977; }
#contact #content #topic-path { border-color: #5fcfc5; }

/*
 * content heading
 */
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
	background: #eeeeee;
	padding: 5px 10px;
	font-family: "Trebuchet MS", "Century Gothic", sans-serif;
	font-weight: bold;
}
#content h2 {
	border-left: solid 10px #999999; /* will be overrided */
	font-size: 160%;
}
#content h3 {
	border-bottom: solid 4px #999999; /* will be overrided */
	padding: 5px 10px 3px 10px;
	font-size: 120%;
}
#content h4 {
	border-bottom: dashed 2px #999999; /* will be overrided */
	padding: 5px 10px 4px 10px;
	font-size: 110%;
}
#content h5 {
	font-size: 105%;
}
#content h6 {
	font-size: 100%;
}
#home #content h2,
#home #content h3,
#home #content h4 { border-color: #e88f7d; }
#about #content h2,
#about #content h3,
#about #content h4 { border-color: #ffaf59; }
#project #content h2,
#project #content h3,
#project #content h4 { border-color: #e5df7e; }
#misc #content h2,
#misc #content h3,
#misc #content h4 { border-color: #8cc977; }
#contact #content h2,
#contact #content h3,
#contact #content h4 { border-color: #5fcfc5; }

/*
 * content group
 */
#content .group {
	border-left: solid 10px #999999; /* will be overrided */
	padding-left: 10px;
}
#home #content .group { border-color: #e88f7d; }
#about #content .group { border-color: #ffaf59; }
#project #content .group { border-color: #e5df7e; }
#misc #content .group { border-color: #8cc977; }
#contact #content .group { border-color: #5fcfc5; }

/*
 * content list
 */
#content .section ul,
#content .section ol {
	padding-left: 2.5em;
}
#content ul > li { list-style-type: square; }
#content ul > li ul > li { list-style-type: circle; }
#content ol > li { list-style-type: decimal; }
#content ol > li ol > li { list-style-type: lower-alpha; }
#content dl dt {
	font-weight: bold;
}
#content dl dd {
}

/*
 * content table
 */
#content table {
	border-collapse: separate;
	border-spacing: 1px;
	empty-cells: show;
}
#content table th,
#content table td {
	background: #eeeeee;
	padding: 2px 4px 1px 5px;
}
#content table th {
	border-right: solid 1px #cccccc;
	border-bottom: solid 1px #cccccc;
	background: #999999; /* will be overrided */
	text-align: center;
	font-weight: bold;
}
#content table td {
	border-right: solid 1px #cccccc;
	border-bottom: solid 1px #cccccc;
}
#home #content table th { background-color: #e88f7d; }
#about #content table th { background-color: #ffaf59; }
#project #content table th { background-color: #e5df7e; }
#misc #content table th { background-color: #8cc977; }
#contact #content table th { background-color: #5fcfc5; }

/*
 * content form
 */
input[type="text"],
input[type="submit"],
input[type="reset"],
input[type="button"],
textarea {
	font-size: 120%;
	padding: 5px;
	background: #eeeeee;
	border-style: solid;
	border-width: 1px;
}
input[type="text"],
textarea {
	width: 500px;
	border-color: #333333 #cccccc #cccccc #333333;
}
input[type="submit"],
input[type="reset"],
input[type="button"] {
	border-color: #cccccc #333333 #333333 #cccccc;
}
input[type="text"]:hover,
textarea:hover {
	background: #ffffff;
}
input[type="text"]:active,
input[type="text"]:focus,
textarea:active,
textarea:focus {
	border-color: #ff3333 #ff6666 #ff6666 #ff3333;
}
input[type="submit"]:active,
input[type="submit"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="button"]:active,
input[type="button"]:focus {
	border-color: #333333 #cccccc #cccccc #333333;
}
textarea {
	height: 10em;
}

/*
 * general
 */
a:link {
	color: #ff8050;
}
a:visited {
	color: #995080;
}
a:hover {
	color: #ff0090;
	text-decoration: none;
}
a:active {
	/* nothing */
}

/*
 * classes
 */
.aa {
	/* font-family: IPAMonaPGothic, "ＭＳ Ｐゴシック", sans-serif; */
	font-family: 'MS PGothic', 'ＭＳ Ｐゴシック', 'Trebuchet MS', Verdana, Futura, Arial, Helvetica, sans-serif;
	font-size: 12pt;
	line-height: 14pt;
}
.error {
	background: #995080;
	color: #ffffff;
}
.center {
	text-align: center;
}
.hidden {
	display: none;
}
