/* --- outline layout --- */

html,
body {
	margin: 0;
	padding: 0;
	background: white;
	color: black;
}

main,
article,
aside,
header,
canvas,
details,
figcaption,
figure,
footer,
nav,
section,
summary {
	display: block
}

#wraper {
	margin: auto;
	width: 960px;
}


/* --- header layout --- */

header {
	margin-top: 20px;
	padding-bottom: 11px;
	width: 100%;
	font-size: 0;
}

header:after {
	content: url("img/logout_header.png");
	display: block;
	margin: 0 auto;
	min-height: 48px;
	max-height: 48px;
	overflow: hidden;
	font-size: 45px;
}


h1 {
	display: inline-block;
	margin-top: 19px;
	margin-left: 24px;
	padding: 0;
	width: 513px;
	height: 85px;
	background: url("img/header.png") 0 0 no-repeat;
}
h1 a {
	display: block;
	width: 53px;
	height: 100%;
	background: transparent;
}
h1 a:hover {
	background: white;
	opacity: 0.5;
}
h2 {
	display: none;
}

header ul {
	display: inline-block;
	position: relative;
	margin: 0;
	top: -98px;
	right: -39px;
	padding: 0;
}
#inquiry {
	display: inline-block;
	position: absolute;
	top: 30px;
	left: -50px;
	width: 402px;
	height: 76px;
}

#inquiry a {
	display: block;
	width: 100%;
	height: 100%;
	background: url("img/inquiry.png") 0 0 no-repeat;
}
#inquiry a:hover {
	opacity: 0.5;
}
#top_link,
#help,
#logout {
	display: inline-table;
	top: -15px;
	font-size: 14.5px;
}
#top_link a:hover,
#help a:hover,
#logout a:hover {
	opacity: 0.5;
}
#top_link span,
#help span,
#logout span {
	display: inline;
}
#top_link:after,
#help:after {
	content: "|";
	padding: 0 1em;
}

#shop_name {
	position: absolute;
	top: 0;
	margin: auto -10px;
	width: 540px;
	font-size: 88%;
	font-weight: bold;
}


/* --- main layout --- */

main {
	clear: both;
	margin: 0px 10px 80px;
/*	background: url("img/back.png") top no-repeat;*/
}


/* --- navi layout --- */

#footer_navi h3 {
	margin: auto;
	border-bottom: solid 3px #00355A;
	padding: 25px 0 8px;
	width: 680px;
	min-height: 29px;
	background: url("img/navi.png") center 22px no-repeat;
}

#footer_navi ul {
	margin: 0;
	padding: 28px 0 35px 10px;
	font-size: 0;
}

#footer_navi ul li {
	display: inline;
	margin: 0;
}

#footer_navi li a {
	display: inline-block;
	margin: 0 5px 16px;
	width: 145px;
	height: 97px;
}
#footer_navi li .dummy {
	display: none;
}

#ex_description {
	background: url("img/ex.png") top no-repeat;
}
#hg_description {
	background: url("img/hg.png") top no-repeat;
}
#div_description {
	background: url("img/div.png") top no-repeat;
}
#map_description {
	background: url("img/map.png") top no-repeat;
}
#flow_description {
	background: url("img/guidance.png") top no-repeat;
}
#dl_description {
	background: url("img/download.png") top no-repeat;
}
#ex_description:hover,
#hg_description:hover,
#div_description:hover,
#map_description:hover,
#flow_description:hover,
#dl_description:hover {
	opacity: 0.5;
}


/* --- footer layout --- */

footer {
	width: 100%;
	height: 39px;
	background: url("img/footer.png") top no-repeat;
}

footer a {
	float: right;
	margin-right: 20px;
	width: 150px;
	height: 39px;
}


/* --- redefine style --- */
img {
	border: 0;
	vertical-align: bottom;
}

table {
	border: none;
	border-collapse:collapse;
	padding: 0;
}


/* --- decoration style --- */

header span,
h2,
section h3,
nav h3 span,
nav ul li a span,
footer address,
footer a span,
.hidden {
	display: none;
}

.clear {
	clear: both;
}

.vertical_space {
	margin-top: 1.25em;
	margin-bottom: 1.25em;
}

.align-center {
	text-align: center;
}

.align-right {
	text-align: right;
}

.back {
	border-top: solid 1px gray;
	padding-top: 1em;
	text-align: right;
}
.back:before {
	content: ">> ";
}

