/* http://jigsaw.w3.org/css-validator/ */

html, body {
	min-height: 100%;
}
body {
	background-color: #f0efeb;
	background-image: url( '../img/bg.png' );
	color: #000;
	padding-bottom: 74px;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
}

#main_content,
.article,
.wrapper {
	max-width: 950px;
	width: 100%;
	position: relative;
	margin: 0 auto;
	-webkit-box-sizing : border-box;
	-moz-box-sizing : border-box;
	box-sizing : border-box;
}
#main_content {
	max-width: 750px;
}
.nav {
	min-height: 1px;
}
.nav:after {
	content: '';
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
#header .nav a {
	text-decoration: none;
	color: #fff;
}
/* === #header === */
#header ul {
	margin: 0;
	padding: 0 10px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
#nav_header {
	background-color: #000;
	color: #fff;
}
#nav_header .nav {
	width: 100%;
	max-width: 950px;
	margin: 0 auto;
}
#nav_header .nav li {
	display: block;
	float: right;
	padding: 3px 0;
	font-size: .95em;
}
#nav_header .nav li:first-child+li {
	margin-left: 22px;
}
.not_ios #nav_header .nav a:hover {
	text-decoration: underline;
}
h1#site_title {
	margin: 0;
	background-color: #61844c;
	background-image: url( '../img/bg_header.png' );
	background-position: center center;
	color: #fff;
}
#site_title img {
	display: block;
	margin: auto;
	padding: 13px 0 11px;
	max-width: 75%;
}
.index #site_title img {
	max-width: 100%;
}
.index #site_title img {
	padding: 0;
	width: 100%;
	max-width: 950px;
}
#nav_main_menu {
	background-color: #40210f;
	color: #fff;
}
ul#main_menu {
	margin: 0 auto;
	padding: 5px 0;
	width: 100%;
	max-width: 950px;
}
#main_menu li {
	display: block;
	position: relative;
	float: left;
	width: 25%;
	min-width: 9em;
	padding: 5px 10px;
	text-align: center;
	-webkit-box-sizing : border-box;
	-moz-box-sizing : border-box;
	box-sizing : border-box;
}
#main_menu li:before,
#main_menu li.last_item:after {
	content: '';
	display: block;
	background-color: #fff;
	border-top: 5px solid #40210f;
	width: 1px;
	height: 1em;
	position: absolute;
	left: 0;
	top: .25em;
}
#main_menu li.last_item:after {
	left: auto;
	right: 0;
}
#main_menu li a {
	font-weight: bold;
	display: block;
	padding: 0px 0;
	border-radius: 5px;
	-moz-border-radius: 5px;
}
#main_menu li.current a,
.not_ios #main_menu li a:hover,
#main_menu li a:focus {
	background-color: #dac487;
	color: #40210f;
}


/* パンくず, SNS */
#page_top * {
	vertical-align: top;
	line-height: 1.25;
}
#breadcrumbs,
ul#sns_area {
	display: inline-table;
	width: 49%;
	margin: 0;
	padding: 5px 0;
}
#breadcrumbs {
	font-size: .9em;
}
/* SNS */
#sns_area {
	text-align: right;
}
#sns_area li {
	display: inline;
	line-height: 1.75em;
}
#sns_area li#button_line {
	display: none;
}
.smartphone #sns_area li#button_line {
	display: inline;
}

/* === #footer === */
#footer {
	text-align: center;
}
#footer ul {
	margin: 0 auto;
	padding-left: 0;
}
#footer li+li {
	margin-left: .75em;
}
#foot_content {
	background-color: #40210f;
	color: #fff;
	padding: 0 10px;
}
#foot_menu {
	padding-top: 18px;
}
#foot_address {
	padding: 17px 0 27px;
}
#foot_menu li {
	display: inline-block;
	margin: .25em 0;
}
#foot_menu a {
	color: #fff;
}

#foot_address li {
	font-size: .9em;
	display: inline;
}
#foot_address address {
	font-style: normal;
}
#footer small {
	display: block;
	margin: 34px auto 0;
}
/* === #main_content === */
h1#page_title {
	display: block;
	position: relative;
	text-align: center;
	font-size: 2em;
	color: #61844c;
	padding-left: 2px;
	padding-bottom: 8px;
	background-image:
		url( '/img/deco_rule_l.png' ),
		url( '/img/deco_rule_r.png' ),
		url( '/img/deco_rule_c.png' );
	background-repeat: no-repeat;
	background-position:
		left bottom,
		right bottom,
		center bottom;
}
h2 {
	font-size: 1.75em;
	text-align: center;
	color: #40210f;
	margin-top: 1.75em;
	margin-bottom: .5em;
}
.article {
	min-height: 300px;
}
h3 {
	text-align: center;
	color: #40210f;
}
#main_content .section {
	width: 100%;
	max-width: 950px;
	margin: 0 auto;
}
#gotop {
	margin: 10px auto;
}

/* === form === */
h1#form {
	font-size: 2em;
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
	-webkit-box-sizing : border-box;
	-moz-box-sizing : border-box;
	box-sizing : border-box;
	text-align: center;
}
form h2 {
	text-align: left;
	padding: 4px 22px;
	background-color: #61844c;
	color: #fff;
	border-radius: 5px;
	-moz-border-radius: 5px;
	font-size: 1.25em;
	font-weight: bold;
	-webkit-font-smoothing: antialiased;
	clear: both;
}
form h3 {
	text-align: left;
	position: relative;
	padding-left: 20px;
	font-weight: normal;
	color: #40210f;
	border-bottom: 2px solid #61844c;
	padding-bottom: 2px;
}
form h3:before {
	content: '';
	display: block;
	width: 10px;
	height: calc( 100% - .5em );
	background-color: #61844c;
	position: absolute;
	left: 0;
	bottom: calc( .45em - 2px );
	-moz-border-radius: 3px;
	border-radius: 3px;
}

/*=== 部品 ===*/
img {
	max-width: 100%;
}
em {
	color: #e60012;
}
strong {
	font-weight: bold;
	color: #000;
}
#main_content li {
	margin-bottom: .75em;
}
.skip {
	left: 0;
	clip: rect(1px 1px 1px 1px);
	clip: rect(1px,1px,1px,1px);
	overflow: hidden;
}
.show_if_focus:focus {
	left: 0;
	right: auto;
	clip: auto;
	display: block;
	white-space: nowrap;
	background-color: #fff;
	color: #000;
	padding: 5px;
}
table.tbl,
table.tbl th,
table.tbl td {
	border-color: #4b4b4b;
}
th.min {
	width: 1px;
}
img.go_top {
	color: #fff;
	width : 1em;
	height: auto;

	background-color: #40210f;
	border-radius: 50%;
	margin: 0 2px .25em 4px;
}

#gotop a {
	display: block;
	float: right;
}
#gotop .go_top {
	line-height: 32px;
	width: 32px;
	vertical-align: bottom;
}

/* form部品 */
input,
select,
textarea {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	max-width: 100%;
}
input[type="text"],
textarea {
	border: 1px solid #4b4b4b;
	margin-right: 5px;
}
.ac {
	text-align: center !important;
}
.al {
	text-align: left !important;
}
.ar {
	text-align: right !important;
}
.nowrap {
	white-space: nowrap !important;
}
:focus {
	outline:4px solid rgb(153,198,200);
	outline-color: rgba(153,198,200,.6);
	z-index: 99;
}
body:focus {
	outline: none;
}
::-moz-focus-inner {
	border:0;
}
@media print {
	:focus {
		outline: none;
	}
}


/* === 個別ページ === */

/* === メディアクエリ === */
/* フォームのレイアウト用 */
@media screen and (max-width : 768px){
	article {
		padding: 0 10px;
	}
	.index article,
	.mail_confirm article,
	.mail_error article {
		padding: 0;
	}
	.index #main_content section,
	.mail_confirm #main_content section,
	.mail_error #main_content section {
		padding: 0 10px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
}
@media screen and (max-width : 670px) {
	ul#main_menu {
		overflow: hidden;
	}
	#main_menu li {
		width: auto;
		min-width: 50%;
	}
	#main_menu li:before,
	#main_menu li.last_item:after {
		height: 1.5em;
		left: auto;
		right: -1px;
	}
	#main_menu li a {
		padding: 4px 0;
	}
	h1#page_title,
	h1#form {
		font-size: 1.5em;
		padding-bottom: 10px;
	}
	h2 {
		font-size: 1.3em;
	}
	form .err_ret {
		display: block;
		padding-right: 14px;
		text-align: right;
	}
	form p {
		padding: 0 10px;
	}
	form tr,
	.mail_confirm .tbl tr,
	.mail_finish .tbl tr,
	form th,
	.mail_confirm .tbl th,
	.mail_finish .tbl th,
	form td,
	.mail_confirm .tbl td,
	.mail_finish .tbl td {
		display: block;
		width: 100% !important;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}
	form th,
	.mail_confirm .tbl th,
	.mail_finish .tbl th {
		border-right: 1px solid #4b4b4b !important;
	}
	form #form_options th label {
		display: inline-block;
		padding-right: 0;
	}
	form #form_options th label .required {
		position: relative;
		right: auto;
		top: auto;
		float: right;
		margin-left: 5px;
	}
	#foot_address {
		text-align: left;
	}
	#foot_address ul li {
		display: inline-block;
		margin-left: 0;
		margin-right: .5em;
	}
}
@media speech {
	*:after,
	*:before {
		display: none;
		speak: none;
	}
}
