@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 {
		font-size: 90%;
		text-align: center;
		font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
		margin: 0;
		padding: 0;
}

.small { font-size: 90%; }

.medium { font-size: 100%; }

.large { font-size: 120%; }

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

/* ==================================== レイアウト */
#bg {
		width: 100%;
		background: url(../image/bg-body.jpg) repeat-x 0 0;
}

#header {
		width: 100%;
		height: 400px;
		background: url(../image/bg-header.jpg) no-repeat 50% 100%;
}

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

#home .header { background-image: none; }

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

.wrapper {
		text-align: left;
		width: 880px;
		margin: 0 10px;
		background: url(../image/bg-wrap-inner.jpg) repeat-y 0 0;
}

#content {
		width: 630px;
		float: right;
		padding-top: 20px;
}

.h{ height: 400px; }

#sidebar {
		width: 220px;
		float: left;
		padding-top: 20px;
		background: url(../image/bg-sidebar.jpg) no-repeat 0 0;
}

.sidebar {
		width: 210px;
		padding: 0 5px;
}

#undernavi {
		width: 100%;
		clear: both;
		padding-bottom: 20px;
		background: url(../image/bg-undernavi.jpg) no-repeat 0 100%;
}

#home .wrapper { background-image: none; }

#home #content {
		width: 500px;
		float: left;
}

#home #sidebar {
		width: 370px;
		float: right;
		height: 255px;
		margin-top: 20px;
		background: #eee;
}

#home #sidebar { background-image: none; }

#home .sidebar { width: 100%; }

#home #undernavi { background-image: none; }

#footer { width: 100%; }

#footer .inner {
		width: 900px;
		margin: 0 auto;
}

/* ==================================== header */
h1 {
		font-size: 100%;
		font-weight: normal;
		position: absolute;
		top: 10px;
		right: 0;
}

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

#header p.logo a {
		text-decoration: none;
		display: block;
		width: 100%;
		height: 100%;
		background-image: none;
}

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

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

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

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

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

ul.globalnavi {
		list-style: none;
		width: 880px;
		height: 60px;
		overflow: hidden;
		position: absolute;
		bottom: 0;
		left: 10px;
}

ul.globalnavi li {
		width: 220px;
		height: 60px;
		float: left;
		margin: 0;
}

.skip { display: none; }

ul.globalnavi a {
		text-align: center;
		text-decoration: none;
		display: block;
		width: 100%;
		height: 100%;
		line-height: 60px;
		margin: 0;
		background: url(../image/bg-gnavi.jpg) no-repeat;
		color: #fff;
}

ul.globalnavi .navi01 a { background-position: 0 0; }

ul.globalnavi .navi02 a { background-position: -220px 0; }

ul.globalnavi .navi03 a { background-position: -440px 0; }

ul.globalnavi .navi04 a { background-position: -660px 0; }

ul.globalnavi a:hover {
		text-decoration: none;
		background: url(../image/bg-gnavi.jpg) no-repeat;
		color: #000;
}

ul.globalnavi .navi01 a:hover { background-position: 0 -60px; }

ul.globalnavi .navi02 a:hover { background-position: -220px -60px; }

ul.globalnavi .navi03 a:hover { background-position: -440px -60px; }

ul.globalnavi .navi04 a:hover { background-position: -660px -60px; }

/* ==================================== content */
div.headline {
		width: 630px;
		height: 85px;
		background: url(../image/bg-headline.jpg) no-repeat 0 0;
}

h2 {
		font-size: 140%;
		font-weight: normal;
		margin: 0;
		padding: 20px 0 10px 80px;
		color: #0099cc;
}

.headline p {
		font-size: 85%;
		text-align: right;
		margin: 0;
		padding-right: 20px;
		color: #FF6600
}

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

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

/* ==================================== sidebar */
.localnavi {
		list-style-type: none;
		margin: 0;
		padding: 0;
}

.localnavi li { margin: 0; }

.localnavi a {
		text-decoration: none;
		display: block;
		width: 185px;
		height: 40px;
		line-height: 40px;
		margin: 0 0 1px;
		padding: 0 5px 0 20px;
		background: url(../image/bg-btn.jpg) no-repeat 0 0;
		color: #09c;
}

.localnavi a:hover {
		text-decoration: none;
		background: url(../image/bg-btn.jpg) no-repeat 0 -40px;
		color: #fff;
}

/* ==================================== undernavi */
#undernavi ul {
		list-style-type: none;
		margin: 0;
		padding: 0 0 0 250px;
}

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

#undernavi p {
		text-align: right;
		margin-bottom: 2em;
}

/* ==================================== footer */
#footer p.copy {
		line-height: 3em;
		margin-bottom: 1em;
		background: url(../image/bg-copy.jpg) no-repeat 50% 50%;
		color: #fff;
}

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

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

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

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