@charset "utf-8";
@import"font.css";

* {
		margin: 0;
		padding: 0;
}

a:link {
		text-decoration: underline;
		background-color: transparent;
		color: #00f;
}

a:visited {
		text-decoration: underline;
		background-color: transparent;
		color: #90f;
}

a:hover {
		text-decoration: underline;
		background-color: transparent;
		color: #f00;
}

a { overflow: hidden; }

body {
		text-align: center;
		font-size: 90%;
		font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
		margin: 0;
		padding: 0;
		background-color: #eee;
}

.small { font-size: 90%; }

.medium { font-size: 100%; }

.large { font-size: 120%; }

p,
li {
		line-height: 1.5em;
		margin-bottom: 0.5em;
}

.skip{ display: none;}

/* ==================================== レイアウト */

#header {
		width: 940px;
		margin: 0 auto;
		background: url(../image/bg-header.jpg) no-repeat 50% 0;
}

#header .inner {
		text-align: left;
		width: 840px;
		height: 210px;
		margin: 0 auto;
		background: url(../image/bg-header-inner.jpg) no-repeat 0 50px;
		position: relative;
}

#home #header .inner { height: 320px; }

#wrapper {
		text-align: left;
		width: 840px;
		margin: 0 auto;
		padding: 0 50px;
		background: url(../image/bg-wrapper.jpg) repeat-y 50% 0;
}

#content {
		width: 840px;
		padding-top: 20px;
}

#content .inner {
		width: 780px;
		padding: 0 30px 20px;
		background: url(../image/bg-content-inner.jpg);
}

.h{ height: 400px; }

#undernavi {
		width: 800px;
		padding: 0 20px;
		background: url(../image/bg-content-inner.jpg);
}

#footer {
		width: 940px;
		margin: 0 auto;
		background: url(../image/bg-footer.jpg) no-repeat 50% 100%;
}

#footer .inner {
		width: 840px;
		margin: 0 auto;
		padding: 20px 0 30px;
		background: url(../image/bg-footer-inner.jpg) no-repeat 50% 0;
}

/* ==================================== header */
h1 {
		font-size: 100%;
		font-weight: normal;
		height: 30px;
		line-height: 30px;
		position: absolute;
		top: 20px;
		left: 0;
}

#header p.logo {
		text-indent: -9999px;
		width: 230px;
		height: 90px;
		margin: 0;
		background: url(../image/bg-logo.jpg) no-repeat 0 0;
		position: absolute;
		top : 60px;
		left: 0;
}

#header p.logo a {
		text-decoration: none;
		display: block;
		width: 230px;
		height: 90px;
		background: none;
}

#header p.logo a:hover {
		text-decoration: none;
		background: url(../image/bg-logo.jpg) no-repeat -230px 0;
}

ul.fontsize {
		list-style-type: none;
		width: 120px;
		height: 27px;
		margin: 0;
		padding: 0;
		position: absolute;
		top: 20px;
		right: 0;
		background: url(../image/bg-fontsize.jpg) no-repeat 0 0;
}

ul.fontsize li {
		text-indent: -9999px;
		float: left;
		width: 40px;
		height: 27px;
		margin: 0;
}

ul.fontsize a {
		text-decoration: none;
		display: block;
		width: 40px;
		height: 27px;
}

ul.fontsize a:hover { text-decoration: none; }

/* ==================================== content */
h2 { text-align: center;
		font-size: 140%;
		font-weight: normal;
		line-height: 40px;
		height: 40px;
		margin: 0 0 1em;
		background: url(../image/bg-h.jpg) repeat-x 0 100%;
		color: #006699;
}

p.topicpath {
		line-height: 30px;
		height: 30px;
		margin: 0;
		padding: 0;
}

ul.temp { margin: 0 0 0 2em; }

/* ==================================== undernavi */
#undernavi ul {
		list-style-type: none;
		margin: 0;
		padding: 0.5em;
		border: 1px outset #fff;
}

#undernavi li {
		display: inline;
		margin: 0;
		padding: 0 1em 0 0;
}

#undernavi p {
		text-align: right;
}

/* ==================================== footer */
#footer p.copy {
		line-height: 1em;
		margin: 0;
		padding: 20px 0 10px;
}

#footer p.logo {
		line-height: 1em;
		margin: 0;
		padding: 0;
}

#footer p.logo a,
#footer p.logo a:hover {
		text-decoration: none;
		margin: 0;
		padding: 0;
		color: #fff;
}

address {
		line-height: 1.2em;
		font-style: normal;
}

address span {
		display: block;
		margin: 0;
		padding: 0;
}
