html,
body {
	background: #ffffff;
	height: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 12px;
	color: #171717;
	line-height: 1.5em;
}

div,
p,
span,
h1,
h2,
h3,
ul,
li,
img {
	border: 0;
	margin: 0;
	padding: 0;
}

h1 span {
	display: none;
}

strong {
	font-weight: bold;
}

a:link {
	color: #be1a00;
	text-decoration: underline;
}

a:hover {
	color: #d67906;
	text-decoration: underline;
}

a:visited {
	color: #781d03;
	text-decoration: underline;
}

a span {
	display: none;
}

br.clear {
	clear: both;
}

h1#mainTitle {
	background: url(../image/common/logo.gif) no-repeat;
	width: 167px;
	height: 41px;
	margin: 6px 0px 0px 3px;
}

h1#mainTitle span {
	display: none;
	overflow: hidden;
}

#wap {
	background: url(../image/common/mainBG.gif) top center repeat-y;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	width: 848px;
	margin: 0px auto;
	position: relative;
}

#screen {
	width: 848px;
	margin: 0 auto;
	text-align: left;
	padding-bottom: 60px;
}

#bgImage {
	background: url(../image/common/bgWood.jpg);
	height: 420px;
	width: 419px;
	position: absolute;
	bottom: 60px;
	left: 4px;
	z-index: 0;
}

/*header*/
#header {
	position: relative;
	background: #fff url(../image/common/headerBG.gif) bottom no-repeat;
	width: 848px;
	height: 52px;
	z-index: 5;
}

#fontSize {
	width: 190px;
	height: 24px;
	position: absolute;
	right: 4px;
	bottom: 7px;
}

/*fontsize*/

#fontSize li {
	display: block;
	float: left;
	list-style: none;
}

#fontSize .title {
	margin-top: 11px;
	width: 96px;
	height: 13px;
	display: block;
	float: left;
	background: url(../image/common/fontsizeTitle.gif) no-repeat;
}
#fontSize .title span {
	display: none;
}

#fontSize li span {
	display: none;
}

#fontSize li.small {
	width: 18px;
	height: 18px;
	background: transparent url(../image/common/fontsize.gif) 0px -6px;
}
#fontSize li.small.selected {
	background: transparent url(../image/common/fontsize.gif) 0px -30px;
}
#fontSize li.small {
	margin: 6px 0px 0px 10px;
}

#fontSize li.medium {
	width: 21px;
	height: 21px;
	background: transparent url(../image/common/fontsize.gif) -28px -3px;
}
#fontSize li.medium.selected {
	background: transparent url(../image/common/fontsize.gif) -28px -27px;
}
#fontSize li.medium {
	margin: 3px 0px 0px 10px;
}

#fontSize li.large {
	background: transparent url(../image/common/fontsize.gif) -59px 0px;
	width: 24px;
	height: 24px;
}
#fontSize li.large.selected {
	background: transparent url(../image/common/fontsize.gif) -59px -24px;
}
#fontSize li.large {
	margin: 0px 0px 0px 10px;
}

#fontSize li a {
	display: block;
}

#topImage {
	height: 336px;
	text-align: center;
}

/*menu*/
#menu {
	background: #fff url(../image/common/flashBottom.gif) top no-repeat;
	padding: 4px 0px 0px 0px;
	position: relative;
	z-index: 6;
}

#menu ul {
	background: url(../image/common/menu.gif) no-repeat;
	width: 848px;
	height: 52px;
}

#menu ul li {
	position: absolute;
	display: block;
	top: 8px;
	height: 48px;
	width: 141px;
}

#menu ul li a {
	display: block;
	height: 48px;
	width: 141px;
}

#menu ul li span {
	display: none;
}

#menu ul li.top,
#menu ul li.top_on {
	left: 2px;
}

#menu ul li.top a:hover,
#menu ul li.top_on {
	background: transparent url(../image/common/menu_on.gif) -2px -4px;
}

#menu ul li.about,
#menu ul li.about_on {
	left: 143px;
}

#menu ul li.about a:hover,
#menu ul li.about_on {
	background: transparent url(../image/common/menu_on.gif) -143px -4px;
}

#menu ul li.saiji,
#menu ul li.saiji_on {
	left: 284px;
}

#menu ul li.saiji a:hover,
#menu ul li.saiji_on {
	background: transparent url(../image/common/menu_on.gif) -284px -4px;
}

#menu ul li.juyo,
#menu ul li.juyo_on {
	left: 425px;
}

#menu ul li.juyo a:hover,
#menu ul li.juyo_on {
	background: transparent url(../image/common/menu_on.gif) -425px -4px;
}

#menu ul li.dento,
#menu ul li.dento_on {
	left: 566px;
}

#menu ul li.dento a:hover,
#menu ul li.dento_on {
	background: transparent url(../image/common/menu_on.gif) -566px -4px;
}

#menu ul li.photo,
#menu ul li.photo_on {
	left: 707px;
}

#menu ul li.photo a:hover,
#menu ul li.photo_on {
	background: transparent url(../image/common/menu_on.gif) -707px -4px;
}

/*mainContents*/
#contents {
	background: url(../image/common/mainBG.gif) top center repeat-y;
	height: auto;
}

.leftMenu {
	float: left;
	width: 210px;
	margin-left: 4px;
	position: relative;
	z-index: 10;
}

.rightContents {
	float: left;
	width: 630px;
	z-index: 20;
	position: relative;
}

.rightContents h2 {
	width: 610px;
	height: 40px;
	margin-bottom: 10px;
}

/*footer*/
#footer {
	display: flex;
	flex-wrap: wrap;
	background: #fff url(../image/common/footerBG.gif) no-repeat top center;
	height: 60px;
	width: 848px;
	position: absolute;
	bottom: 0;
}

#footer div {
	position: relative;
	width: 100%;
	border-bottom: 1px solid #a6a6a6;
	height: 25px;
	margin: 8px 5px 0px 5px;
}

#footer div ul {
	background: url(../image/common/footerLink.gif) no-repeat;
	height: 11px;
	width: 209px;
	position: absolute;
	right: 4px;
	top: 7px;
}

#footer div ul li {
	display: block;
	height: 11px;
	float: left;
}

#footer div ul li a {
	display: block;
	height: 11px;
}

#footer div ul li.map,
#footer div ul li.map a {
	width: 36px;
}

#footer div ul li.map a:hover {
	background: transparent url(../image/common/footerLink_on.gif) 0px 0px;
}

#footer div ul li.sitemap {
	margin-left: 25px;
	width: 81px;
}

#footer div ul li.sitemap a {
	width: 81px;
}

#footer div ul li.sitemap a:hover {
	background: transparent url(../image/common/footerLink_on.gif) -61px 0px;
}

#footer div ul li.link {
	margin-left: 25px;
	width: 41px;
}

#footer div ul li.link a {
	width: 41px;
}

#footer div ul li.link a:hover {
	background: transparent url(../image/common/footerLink_on.gif) -167px 0px;
}

#footer img.copy {
    margin: 6px 0 6px auto;
}

/*other*/
div.topicPath {
	padding-bottom: 10px;
	margin: 10px;
	border-bottom: 1px dotted #cccccc;
}

div.topicPath a:link,
div.topicPath a:hover,
div.topicPath a:visited {
	font-weight: bold;
	color: #be1a00;
}

div.pageTop {
	text-align: right;
	margin-bottom: 10px;
}

div.pageTop a {
	background: url(../image/common/pageTop.gif);
	display: block;
	height: 20px;
	width: 92px;
	margin: 0px 10px 0px auto;
}

div.sideBanner {
	border-top: 1px dotted #cccccc;
	margin: 10px;
	padding-top: 8px;
	text-align: center;
}

div.sideBanner img {
	margin-bottom: 6px;
}

.animation-flow-side{
	display: inline-block;
	width: 100%;
	overflow: hidden;
}

.animation-flow-side > p{
	margin:0;
	display : inline-block;
	padding-left: 100%;
	white-space : nowrap;
	line-height : 1em;
	animation : text_flow_side 15s linear infinite;
}

@keyframes text_flow_side{
	0% { transform: translateX(0)}
	100% { transform: translateX(-100%)}
}

