@charset "utf-8";

* {
	margin: 0;
	padding: 0;
}

header,
main,
article,
section,
nav,
aside,
figure,
figcaption,
footer {
	display: block;
}

a {
	background-color: transparent;
	outline: none;
}

img {
	border: none;
	vertical-align: bottom;
}

table {
	border-collapse: collapse;
	border: none;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

button,
input,
textarea,
select {
	color: inherit;
	font: inherit;
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
}

button,
input,
textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

input[type="checkbox"] {
	-webkit-appearance: checkbox;
	-moz-appearance: checkbox;
	appearance: checkbox;
}

input[type="radio"] {
	-webkit-appearance: radio;
	-moz-appearance: radio;
	appearance: radio;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

input {
	line-height: normal;
}

textarea {
	overflow: auto;
}

b,strong {
	font-weight: bold;
}

address {
	font-style: normal;
}

caption {
	text-align: left;
}


/* ---------- common ---------------------------------------- */
body {
	color: #000;
	font-size: 100%;
	font-family: 'メイリオ','Meiryo','ＭＳ Ｐゴシック',sans-serif;
	line-height: 100%;
	background: #f5f2ef;
}

h1,h2,h3,h4,h5,h6 {
	color: #000;
	font-size: 100%;
	line-height: 140%;
	letter-spacing: 0.1em;
}

p {
	font-size: 82%;
	letter-spacing: 1px;
	line-height: 180%;
}

th,td {
	font-size: 75%;
	line-height: 180%;
	letter-spacing: 1px;
	text-align: left;
	vertical-align: top;
}

dt,dd {
	font-size: 75%;
	line-height: 100%;
	letter-spacing: 1px;
}

li {
	font-size: 100%;
	letter-spacing: 1px;
	list-style-type: none;
}

input,textarea,select {
	letter-spacing: 1px;
	line-height: 100%;
}

a:link,
a:visited,
a:hover,
a:active {
	color: #000;
	text-decoration: none;
}

/* clearfix */
.clearfix:after {
	content: " ";
	display: block;
	clear: both;
}


/* ---------- container ---------------------------------------- */
#container {
	position: relative;
	overflow: hidden;
	min-width: 960px;
}


/* ---------- main ---------------------------------------- */
#main {
	width: 860px;
	margin: 20px auto 60px;
	padding: 0 50px;
	background-color: #fff;
	box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.1);
}


/* ---------- header ---------------------------------------- */
#header {
	position: relative;
	position: relative;
	margin-bottom: 25px;
}

#header .logo {
	padding-top: 33px;
	padding-left: 4px;
}
#header .logo-info {
	position: absolute;
	top: 55px;
	right: 12px;
}

/* ---------- footer ---------------------------------------- */
#footer {
	position: relative;
	clear: both;
	padding: 10px 0 50px;
	border-top: 1px solid #CCC;
}

/* fnav */
.fnav {
	text-align: right;
}
.fnav li {
	display: inline-block;
	margin-left: 15px;
}
.fnav li a {
	color: #505050;
	font-size: 70%;
}
.fnav li a:hover {
	text-decoration: underline;
}
.fnav li a i {
	color: #9e9e9e;
	padding-right: 4px;
}

#footer .copyright {
	margin-top: -14px;
	color: #505050;
	font-size: 70%;
	line-height: 120%;
}

/* ---------- message ---------------------------------------- */
/* success */
.message.success {
	border: 3px solid #c8a040;
	color: #be9633;
	font-size: 100%;
	font-weight: bold;
	margin-bottom: 10px;
	padding: 18px 15px;
}
/* error */
.message.error {
	border: 3px solid #e20a16;
	color: #e20a16;
	font-size: 100%;
	font-weight: bold;
	margin-bottom: 10px;
	padding: 18px 15px;
}


@media (max-width: 768px) {

	body {
		-webkit-text-size-adjust: 100%;
		background: #fff;
	}

	/* ---------- container ---------------------------------------- */
	#container {
		min-width: inherit;
	}

	/* ---------- main ---------------------------------------- */
	#main {
		width: auto;
		margin: 0 auto 20px;
		padding: 0 3%;
		background-color: #fff;
		box-shadow: inherit;
	}


	/* ---------- header ---------------------------------------- */
	#header {
		position: relative;
		position: relative;
		margin-bottom: 25px;
	}

	#header .logo {
		padding-top: 15px;
		padding-left: 0;
	}
	#header .logo img {
		max-width: 180px;
		height: auto;
	}
	#header .logo-info {
		position: absolute;
		top: 25px;
		right: 0;
	}
	#header .logo-info img {
		max-width: 110px;
		height: auto;
	}

	/* ---------- footer ---------------------------------------- */
	#footer {
		position: relative;
		clear: both;
		padding: 10px 0 10px;
		border-top: 1px solid #CCC;
	}

	/* fnav */
	.fnav {
		text-align: left;
		margin-bottom: 10px;
	}
	.fnav li {
		display: inline-block;
		margin-left: 0;
	}
	.fnav li a i {
		color: #9e9e9e;
		padding-right: 4px;
	}

	#footer .copyright {
		margin-top: 0;
	}

	/* ---------- message ---------------------------------------- */
	/* success */
	.message.success {
		border: 2px solid #c8a040;
		color: #be9633;
		font-size: 94%;
		font-weight: bold;
		line-height: 120%;
		margin-bottom: 10px;
		padding: 10px;
	}
	/* error */
	.message.error {
		border: 2px solid #e20a16;
		color: #e20a16;
		font-size: 94%;
		font-weight: bold;
		line-height: 120%;
		margin-bottom: 10px;
		padding: 10px;
	}
}