* {
 	box-sizing: border-box;
	-moz-box-sizing : border-box;
}

img {
	border-width: 0;
}

body {
	margin: 0;
	padding-bottom: 40px;
	color: olivedrab;
	background-color: white;
	font-family: Arial, "‚l‚r ‚oƒSƒVƒbƒN", sans-serif;
	scrollbar-track-color: papayawhip;
	scrollbar-face-color: papayawhip;
	scrollbar-arrow-color: orange;
	scrollbar-shadow-color: papayawhip;
	scrollbar-highlight-color: papayawhip;
	scrollbar-darkshadow-color: orange;
	scrollbar-3dlight-color: orange;
}

body {
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position:100% 100%;
	background-image:url(main2.jpg);

}

body#index {
	background-repeat: repeat;
	background-attachment: fixed;
	background-image: url(t.png);
}

body.gallery {
	margin-left: 4em;
	margin-right: 4em;
	background-repeat: repeat;
	background-attachment: fixed;
	background-image: url(t.png);
}

#entrance {
	text-align: right;
}

#search {
	position: relative;
	left: 20%;
	right: 20%;
	width: 60%;
	/*margin-top: 20px;*/
	padding-left:40px;
	padding-right: 40px;
	/*font-size: 0.8em;*/
}

body#home {
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position:100% 100%;
	background-image:url(main.jpg);
	qbackground-image:url(samp.jpg);
}

#menu {
	list-style-type: none;
	line-height: 2em;
	font-size:1.0em;
	margin-bottom: 20px;
}

#menu a:link, #menu a:visited {
	padding-left:24px;
	background-image: none;
}

#menu a:hover {
	background-image: url(i.png);
	background-repeat: no-repeat;
	background-position: 0% 50%;
}

#home hr {
	height :1px;
	width: 10em;
	margin-left: 30px;
	border-style: none none dashed none;
	border-width: 1px;
	border-color: olivedrab;
	text-align: left;
}

#topic {
	margin-left: 10px;
	font-size: 0.8em;
	line-height: 1.5em;
	width: 30em;
}

#topic ul {
	margin-top: 20px;
	margin-bottom: 20px;
}

address {
	font-style: normal;
	font-size: 0.8em;
	margin-left: 40px;
	margin-top: 20px;
	line-height: 1.5em;
}

#counter {
	margin-left: 40px;
	margin-top: 20px;
}

.textbox {
	position: relative;
	left: 20%;
	right: 20%;
	width: 60%;
	margin-top: 20px;
	padding-left:40px;
	padding-right: 40px;
	border-style: dashed;
	border-width: 1px;
	border-color: darkorange;
	background-image: url(w.png);
	background-repeat: repeat;
}

* html .textbox {
	background-image: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(
		src=./w.png, SizingMethod=scale);
}

#index .textbox {
		margin-top: 80px;
}

h1 {
	position: relative;
	margin-top: 20px;
	margin-left: 40px;
	width: 400px;
	height: 60px;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader
		(src=./logo.png);
}

h1 img {
	display: none;
}

h1 > img {
	display:block;
}

h2 {
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: -20px;
	padding-left: 24px;
	background-image: url(i.png);
	background-repeat: no-repeat;
	background-position: 0% 50%;
	font-size: 1em;
	font-weight: normal;
	color: coral;
	cursor: help;
}
p {

	line-height: 1.5em;
	font-size: 0.8em;
	text-indent: 1em;
}

strong {
	font-weight: normal;
	color: tomato;
}

em {
	font-style: normal;
	color: darkorange;
}

a:link, a:visited {
	text-decoration: none;
	color:  darkgoldenrod;
}

a:hover {
	text-decoration: none;
	color: tomato;
}

ul#menu a:link, ul#menu a:visited {
	color:  darkolivegreen;
}

div#search a:link, div#search a:visited {
	color:  darkolivegreen;
}

dl {
	margin: 0;
	padding: 0;
	font-size: 0.8em;
	line-height: 1.5em;
}

dt {
	color: darkolivegreen;
}

dd {
	margin-left: 20px;
	margin-right: 20px;
}

ul.gallery {
	list-style-type: none;
	margin: 0;
	padding: 0;
	font-size: 0.8em;
}

ul.gallery li {
	display: inline;
}

ul.gallery a img {
	border-width: 1px;
	border-style: solid;
	border-color: darkolivegreen;
}

ul.gallery a:hover img {
	border-color: tomato;
}

.main img {
	width: 50px;
	height: 50px;
}

.rakugaki img {
	width: 10px;
	height: 10px;
}

.newold {
	position: relative;
	left: 20%;
	right: 20%;
	width: 60%;
	qtext-indent: 0;
	qline-height: 0;
}

p, dl, ul.gallery {
	margin-top: 20px;
	margin-bottom: 20px;
}

.back {
	position: relative;
	left: 20%;
	right: 20%;
	width: 60%;
}

#dojinshi dt {
	float: left;
	width: 220px;
	height: 270px;
}

#dojinshi dd {
	line-height: 2em;
}

#dojinshi dd br {
		clear: both;
}

ul.work {
	font-size: 0.8em;
	margin-left: 0;
	padding-left: 0;
	list-style-type: none;
}

#search dt {
	color: olivedrab;
}

.sample {
	list-style-type: circle;
}

div.clap {
	margin-left: 40px;
}

div.clap input {
	width: 6em;
	color: olivedrab;
	background: white;
	border-style: dashed;
	border-width: 1px;
	border-color: darkorange;
	padding-left: 10px;
	background-image: url(i.png);
	background-repeat: no-repeat;
	background-position: 0% 50%;
}
li.link {
	font-size: 0.8em;
}
