
* {
	border: none;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	overflow-y: scroll;
}

body {
	background: url(images/bg.jpg) repeat;
	font-family: YuGothic, "Yu Gothic", sans-serif;
	font-size: 16px;
	font-weight: 500;
	min-width: 1000px;
	-webkit-text-size-adjust: none;
}

h1,
h2,
h3,
h4 {
	text-align: center;
}

.sp {
	display: none;
}

h2.img {
	padding-bottom: 30px;
	position: relative;
}

h2.img::after {
	background-color: #b09621;
	content: "";
	display: block;
	height: 5px;
	margin: 20px auto -20px auto;
	width: 130px;
}

h3.img {
	background: url(images/h3_img.jpg) repeat-x;
	clear: both;
	color: #f9f6e8;
	font-size: 110%;
	padding: 5px 0;
	text-align: center;
}

p {
	line-height: 2em;
	margin: 15px 0;
	text-align: justify;
}

p.mn {
	margin: 0;
}

p.right {
	text-align: right;
}

p.mn-right {
	margin: 0;
	text-align: right;
}

p.center {
	text-align: center;
}

p.mn-center {
	margin: 0;
	text-align: center;
}

a {
	color: #8f6e22;
	overflow: hidden;
	transition: all .2s;
}

a:hover {
	color: #d8b25a;
	opacity: .5;
	transition: all .3s;
}

a.link-btn {
	background: #af0000 url(images/link_btn.svg) no-repeat right 20px center;
	background-size: 6px;
	color: #fcf2e0;
	font-style: normal;
	padding: 15px 70px 15px 50px;
	text-decoration: none;
}

a.link-btn:hover {
	background-position: right 15px center;
}

a.link-btn-prev {
	background: #af0000 url(images/link_btn_prev.svg) no-repeat left 20px center;
	background-size: 6px;
	color: white;
	margin: auto;
	padding: 15px 50px 15px 70px;
	text-align: center;
	text-decoration: none;
}

a.link-btn-prev:hover {
	background-position: left 15px center;
}

img {
	box-sizing: content-box;
	vertical-align: middle;
}

ul {
	list-style-type: none;
}

ol {
	line-height: 1.5em;
	margin-left: 2em;
}

ol li {
	margin-top: 5px;
}

sup,
sub {
	font-size: 12px;
	line-height: 1em;
	vertical-align: top;
}

em {
	font-style: normal;
}

table {
	border-collapse: collapse;
	line-height: 1.8em;
	width: 100%;
}

span.gray {
	color: gray;
}

span.red {
	color: red;
}

span.xx-large {
	font-size: 200%;
	line-height: 1.5em;
}

span.x-large {
	font-size: 150%;
	line-height: 1.5em;
}

span.large {
	font-size: 125%;
	line-height: 1.5em;
}

span.small {
	font-size: 85%;
	line-height: 1.2em;
}

span.img-right {
	float: right;
	margin: 5px 0 5px 25px;
}

span.img-left {
	float: left;
	margin: 5px 25px 5px 0;
}

ul.list {
	line-height: 1.5em;
	margin: 5px 0;
}

ul.list li {
	background: url(images/ul_list_li.svg) no-repeat 5px 10px;
	background-size: 7px;
	padding: 4px 0 4px 22px;
}

ul.notelist {
	line-height: 1.5em;
	list-style-type: none;
	margin: 5px 0 0 1.3em;
}

ul.notelist li {
	padding: 3px 0;
	text-align: justify;
	text-indent: -1.2em;
}

ul.commentlist {
	line-height: 1.5em;
	list-style-type: none;
	margin: 5px 0 0 2em;
}

ul.commentlist li {
	font-size: 15px;
	padding: 5px 0 5px 15px;
	position: relative;
}

ul.commentlist li span.maker {
	left: -20px;
	position: absolute;
	top: 5px;
}

ul.commentlist li ol li {
	margin: 0;
	padding: 0 0 0 5px;
	text-indent: 0;
}

div.line {
	border-bottom: 1px solid #af951e;
	display: block;
	margin: 40px 0;
}

div.space10px {
	clear: both;
	font-size: 5px;
	height: 10px;
}

div.space20px {
	clear: both;
	font-size: 5px;
	height: 20px;
}

div.space50px {
	clear: both;
	font-size: 5px;
	height: 50px;
}

/***********************************************************************/

div.simg {
	display: table;
	margin: 30px auto;
	text-align: center;
}

div.simg img {
	display: inline-block;
}

div.simg p {
	background-color: black;
	color: white;
	line-height: 1.3em;
	margin: 0 auto;
	padding: 8px 10px;
	text-align: center;
}

ul.page-houkibtn {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

ul.page-houkibtn li {
	margin: 0 5px;
}

ul.page-houkibtn li.active img {
	opacity: .2;
}

/***********************************************************************/

div.title {
	background: url(images/header_bg.jpg) no-repeat center center;
	padding: 130px 0;
}

div.title h1 {
	margin: 0 auto;
	width: 200px;
}

div.title h1 img {
	height: auto;
	width: 100%;
}

div.main {
	margin: 0 auto;
	width: 950px;
}

div.main-s {
	margin: 0 auto;
	width: 700px;
}

div.bg-dark {
	background: url(images/bg_dark.jpg) repeat;
}

footer {
	background-color: black;
}

nav#footernav {
	background-color: #af951e;
	padding: 20px 0;
}

nav#footernav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

nav#footernav ul li {
	border-left: 1px solid black;
	line-height: 1em;
}

nav#footernav ul li:last-child {
	border-right: 1px solid black;
}

nav#footernav ul li a {
	color: white;
	font-weight: 700;
	padding: 0 40px;
	text-decoration: none;
}

footer h3 {
	padding-top: 50px;
}

footer p {
	padding-bottom: 50px;
	text-align: center;
}

footer p a {
	text-decoration: none;
}

footer p a::before {
	content: "-";
	margin-right: 5px;
}

footer p a::after {
	content: "-";
	margin-left: 5px;
}

ul#footer-banner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

ul#footer-banner li {
	margin: 0 10px;
}

p#copyright {
	color: white;
	font-size: 12px;
	font-weight: 500;
	margin: 0;
	padding: 40px 0;
	text-align: center;
}

#pagetop a {
	background: #af0000 url(images/pagetop.svg) no-repeat center top 15px;
	background-size: 30px;
	display: block;
	height: 50px;
	text-indent: -2000em;
}

#pagetop a:hover {
	background-position: center top 10px;
}