/**
* YUI 3.5.0 - reset.css (http://developer.yahoo.com/yui/3/cssreset/)
* http://cssreset.com
* Copyright 2012 Yahoo! Inc. All rights reserved.
* http://yuilibrary.com/license/
*/
/*
TODO will need to remove settings on HTML since we can't namespace it.
TODO with the prefix, should I group by selector or property for weight savings?
*/
html {
	color: #040000;
	background: #fff;
	font-family: source-han-serif-japanese, serif;
	font-weight: 500;
	font-style: normal;
	-webkit-font-feature-settings: 'palt';
	font-feature-settings: 'palt';
	font-size: 100%;
}

/*
TODO remove settings on BODY since we can't namespace it.
*/
/*
TODO test putting a class on HEAD.
- Fails on FF.
*/
main,
article,
section {
	display: block;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
	margin: 0;
	padding: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

fieldset,
img {
	border: 0;
}

* {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.cf:after {
	clear: both;
	content: '';
	display: block;
}

/*
TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
*/
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
	font-style: normal;
	font-weight: normal;
}

ol,
ul {
	list-style: none;
}

caption,
th {
	text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 100%;
	font-weight: normal;
}

q:before,
q:after {
	content: '';
}

abbr,
acronym {
	border: 0;
	font-variant: normal;
}

/* to preserve line-height and selector appearance */
sup {
	vertical-align: text-top;
}

sub {
	vertical-align: text-bottom;
}

input,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
}

/*to enable resizing for IE*/
input,
textarea,
select {
	*font-size: 100%;
}

/*because legend doesn't inherit in IE */
legend {
	color: #000;
}

/* YUI CSS Detection Stamp */
#yui3-css-stamp.cssreset {
	display: none;
}

/* ------------------------------
 common - width: all
------------------------------ */
html,
body {
	min-width: 1080px;
}

.ajtxt {
	text-align: justify;
	text-justify: inter-ideograph;
}

a:hover {
	opacity: 0.6;
	-webkit-transition: 0.4s;
	-o-transition: 0.4s;
	transition: 0.4s;
}

.op {
	display: block !important;
}

.os {
	display: none !important;
}

* {
	letter-spacing: 0.03em;
}

.gothic01 {
	font-family: fot-tsukuardgothic-std, sans-serif;
	font-weight: 400;
	font-style: normal;
}

.gothic02 {
	font-family: source-han-sans-japanese, sans-serif;
	font-weight: 400;
	font-style: normal;
}

header {
	background-color: #d2d2d4;
	padding: 20px 40px;
	position: relative;
}

header .wrapper {
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

header .wrapper .logo {
	width: 145px;
	display: block;
}

header .wrapper .logo img {
	width: 100%;
	display: block;
}

header .wrapper .contact {
	width: calc(100% - 145px);
	text-align: right;
	padding-right: 70px;
	padding-bottom: 10px;
}

header .wrapper .contact a {
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	color: #040000;
	line-height: 100%;
}

header .ham {
	width: 30px;
	height: 30px;
	display: block;
	position: absolute;
	top: 5px;
	right: 10px;
	cursor: pointer;
}

header .spmenu {
	position: absolute;
	background-color: #8fc31f;
	padding: 20px 40px;
	top: 88px;
	right: 0;
	left: 0;
	z-index: 10000;
	display: none;
}

header .spmenu .spwrapper {
	z-index: 1000;
	max-width: 1100px;
	margin: 0 auto;
}

header .spmenu .spwrapper p {
	border-bottom: 1px solid #fff;
}

header .spmenu .spwrapper p a {
	display: block;
	padding: 8px 5px;
	color: #fff;
	font-size: 18px;
	text-decoration: none;
}

header .spmenu .spwrapper p a span {
	padding-right: 10px;
}

header .spmenu .spwrapper p a.link_off {
	opacity: 0.4;
	pointer-events: none;
}

header .spmenu .spwrapper p a:hover {
	opacity: 1;
	background-color: #fff;
	color: #8fc31f;
}

header .spmenu .close {
	width: 120px;
	height: 30px;
	border-radius: 20px;
	background-color: #fff;
	margin: 20px auto 0;
	color: #000;
	font-weight: bold;
	text-align: center;
	line-height: 30px;
	font-size: 14px;
}

main {
	padding-bottom: 150px;
}

main .bc {
	width: 1000px;
	margin: 0 auto;
	line-height: 100%;
	padding: 5px 0 10px;
}

main .bc a,
main .bc span {
	font-size: 10px;
	text-decoration: none;
	color: #040000;
	line-height: 100%;
}

main .mainttl01 {
	text-align: center;
	font-size: 28px;
	margin-bottom: 50px;
}

main .mainttl01 span {
	font-weight: bold;
}

main .mainttl01 span.en {
	padding-left: 20px;
	font-size: 24px;
	font-weight: 500;
}

main section.gnav {
	background-color: #040000;
	padding: 10px 0;
	margin-bottom: 60px;
}

main section.gnav .wrapper {
	width: 1000px;
	margin: 0 auto;
}

main section.gnav .wrapper ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

main section.gnav .wrapper ul li {
	width: 242px;
	background-color: #fff;
	position: relative;
	padding-bottom: 25px;
	padding-top: 5px;
}

main section.gnav .wrapper ul li::before {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	background-color: #040000;
	border-radius: 0 0 4px 0;
	position: absolute;
	top: 0;
	left: 0;
}

main section.gnav .wrapper ul li::after {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	background-color: #040000;
	border-radius: 0 0 0 4px;
	position: absolute;
	top: 0;
	right: 0;
}

main section.gnav .wrapper ul li .menuttl {
	text-align: center;
	font-size: 23px;
	margin-bottom: 5px;
	font-weight: bold;
}

main section.gnav .wrapper ul li:nth-child(1) .menuttl {
	color: #417cb2;
}

main section.gnav .wrapper ul li:nth-child(2) .menuttl {
	color: #5b9134;
}

main section.gnav .wrapper ul li:nth-child(3) .menuttl {
	color: #ea5514;
}

main section.gnav .wrapper ul li:nth-child(4) .menuttl {
	color: #9073bd;
}

main section.gnav .wrapper ul li .menu {
	font-size: 14px;
	padding-left: 30px;
}

main section.gnav .wrapper ul li .menu a {
	text-decoration: none;
	color: #040000;
	font-size: 10px;
}

main section.gnav .wrapper ul li .menu a:hover {
	opacity: 1;
	color: #8fc31f;
}

main section.gnav .wrapper ul li .menu a.link_off {
	color: #ddd;
	pointer-events: none;
}

main section.gnav .wrapper ul li .menu a.link_off:hover {
	color: #ddd;
}

main section.gnav .wrapper ul li .menu a span {
	font-size: 14px;
	padding-right: 10px;
}

footer .wrapper .box01 {
	width: 1000px;
	margin: 0 auto;
	position: relative;
}

footer .wrapper .box01 .logobox {
	width: 400px;
}

footer .wrapper .box01 .logobox .logo {
	width: 268px;
	display: block;
}

footer .wrapper .box01 .logobox .logo img {
	width: 100%;
	display: block;
}

footer .wrapper .box01 .logobox .t01 {
	font-size: 14px;
	line-height: 25px;
	margin-top: 10px;
}

footer .wrapper .box01 .logobox .contact {
	display: block;
	width: 150px;
	line-height: 18px;
	text-align: center;
	padding: 5px 0 7px;
	font-size: 18px;
	color: #fff;
	text-decoration: none;
	margin-top: 25px;
	background-color: #8fc31f;
}

footer .wrapper .box01 .logobox .email {
	font-size: 14px;
	margin-top: 10px;
}

footer .wrapper .box01 .bnr {
	width: 499px;
	display: block;
	position: absolute;
	right: 0;
	bottom: 0;
}

footer .wrapper .box01 .bnr.tanada_map {
	bottom: 100px;
}

footer .wrapper .box01 .bnr img {
	width: 100%;
	display: block;
}

footer .wrapper .fnav {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	width: 1000px;
	margin: 120px auto 0;
}

footer .wrapper .fnav li {
	width: 242px;
	background-color: #fff;
	position: relative;
	padding-bottom: 25px;
	background-image: url(../images/bg_fnav.svg);
	background-size: 100% 100%;
	padding-top: 5px;
}

footer .wrapper .fnav li .menuttl {
	text-align: center;
	font-size: 23px;
	margin-bottom: 5px;
	font-weight: bold;
}

footer .wrapper .fnav li:nth-child(1) .menuttl {
	color: #417cb2;
}

footer .wrapper .fnav li:nth-child(2) .menuttl {
	color: #5b9134;
}

footer .wrapper .fnav li:nth-child(3) .menuttl {
	color: #ea5514;
}

footer .wrapper .fnav li:nth-child(4) .menuttl {
	color: #9073bd;
}

footer .wrapper .fnav li .menu {
	font-size: 14px;
	padding-left: 30px;
}

footer .wrapper .fnav li .menu a {
	text-decoration: none;
	color: #040000;
	font-size: 10px;
}

footer .wrapper .fnav li .menu a:hover {
	opacity: 1;
	color: #8fc31f;
}

footer .wrapper .fnav li .menu a.link_off {
	color: #ddd;
	pointer-events: none;
}

footer .wrapper .fnav li .menu a.link_off:hover {
	color: #ddd;
}

footer .wrapper .fnav li .menu a span {
	font-size: 14px;
	padding-right: 10px;
}

footer .wrapper .copy {
	background-color: #8fc31f;
	text-align: center;
	font-size: 11px;
	color: #fff;
	padding: 13px 0;
	margin-top: 50px;
}

/* ------------------------------
 common - width: < $width-1
------------------------------ */
@media screen and (max-width: 860px) {
	html,
	body {
		min-width: 375px;
	}
	.op {
		display: none !important;
	}
	.os {
		display: block !important;
	}
	header {
		background-color: #d2d2d4;
		padding: 7px 20px;
		position: relative;
	}
	header .wrapper {
		max-width: 1000px;
		margin: 0 auto;
		position: relative;
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}
	header .wrapper .logo {
		width: 70px;
		display: block;
	}
	header .wrapper .logo img {
		width: 100%;
		display: block;
	}
	header .wrapper .contact {
		width: calc(100% - 145px);
		text-align: right;
		padding-right: 5px;
		padding-bottom: 3px;
	}
	header .wrapper .contact a {
		font-size: 12px;
		font-weight: bold;
		text-decoration: none;
		color: #040000;
		line-height: 100%;
	}
	header .ham {
		width: 24px;
		height: 24px;
		display: block;
		position: absolute;
		top: 1px;
		right: 0;
		cursor: pointer;
	}
	header .spmenu {
		position: absolute;
		background-color: #8fc31f;
		padding: 20px 40px;
		top: 40px;
		right: 0;
		left: 0;
		z-index: 10000;
		display: none;
	}
	header .spmenu .spwrapper {
		z-index: 1000;
		max-width: 1100px;
		margin: 0 auto;
	}
	header .spmenu .spwrapper p a {
		display: block;
		padding: 5px 5px;
		color: #fff;
		font-size: 13px;
		font-weight: bold;
		text-decoration: none;
	}
	header .spmenu .close {
		width: 80px;
		height: 30px;
		border-radius: 20px;
		background-color: #fff;
		margin: 20px auto 0;
		color: #000;
		font-weight: bold;
		text-align: center;
		line-height: 30px;
		font-size: 13px;
	}
	main {
		padding-bottom: 80px;
		padding-top: 35px;
	}
	main .bc {
		width: 1000px;
		margin: 0 auto;
		line-height: 100%;
		padding: 5px 0 10px;
		display: none;
	}
	main .bc a,
	main .bc span {
		font-size: 10px;
		text-decoration: none;
		color: #040000;
		line-height: 100%;
	}
	main .mainttl01 {
		text-align: center;
		font-size: 20px;
		margin-bottom: 30px;
	}
	main .mainttl01 span {
		font-weight: bold;
	}
	main .mainttl01 span.en {
		padding-left: 0px;
		font-size: 14px;
		font-weight: 500;
		display: block;
		line-height: 100%;
	}
	main section.gnav {
		background-color: #040000;
		padding: 5px 15px 10px;
		margin-bottom: 60px;
		display: none;
	}
	main section.gnav .wrapper {
		width: 100%;
		margin: 0 auto;
	}
	main section.gnav .wrapper ul {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	main section.gnav .wrapper ul li {
		width: calc(50% - 2.5px);
		background-color: #fff;
		position: relative;
		padding-bottom: 25px;
		padding-top: 5px;
		margin-top: 5px;
	}
	main section.gnav .wrapper ul li::before {
		content: '';
		display: block;
		width: 10px;
		height: 10px;
		background-color: #040000;
		border-radius: 0 0 4px 0;
		position: absolute;
		top: 0;
		left: 0;
	}
	main section.gnav .wrapper ul li::after {
		content: '';
		display: block;
		width: 10px;
		height: 10px;
		background-color: #040000;
		border-radius: 0 0 0 4px;
		position: absolute;
		top: 0;
		right: 0;
	}
	main section.gnav .wrapper ul li .menuttl {
		text-align: center;
		font-size: 23px;
		margin-bottom: 5px;
		font-weight: bold;
	}
	main section.gnav .wrapper ul li:nth-child(1) .menuttl {
		color: #417cb2;
	}
	main section.gnav .wrapper ul li:nth-child(2) .menuttl {
		color: #5b9134;
	}
	main section.gnav .wrapper ul li:nth-child(3) .menuttl {
		color: #ea5514;
	}
	main section.gnav .wrapper ul li:nth-child(4) .menuttl {
		color: #9073bd;
	}
	main section.gnav .wrapper ul li .menu {
		font-size: 12px;
		padding-left: 20px;
	}
	main section.gnav .wrapper ul li .menu a {
		text-decoration: none;
		color: #040000;
		font-size: 10px;
	}
	main section.gnav .wrapper ul li .menu a:hover {
		opacity: 1;
		color: #8fc31f;
	}
	main section.gnav .wrapper ul li .menu a.link_off {
		color: #ddd;
		pointer-events: none;
	}
	main section.gnav .wrapper ul li .menu a.link_off:hover {
		color: #ddd;
	}
	main section.gnav .wrapper ul li .menu a span {
		font-size: 14px;
		padding-right: 10px;
	}
	footer .wrapper .box01 {
		width: 100%;
		margin: 0 auto;
		position: relative;
		padding: 0 20px;
	}
	footer .wrapper .box01 .logobox {
		width: 300px;
		margin: 0 auto;
	}
	footer .wrapper .box01 .logobox .logo {
		width: 180px;
		display: block;
		margin: 0 auto;
	}
	footer .wrapper .box01 .logobox .logo img {
		width: 100%;
		display: block;
	}
	footer .wrapper .box01 .logobox .t01 {
		font-size: 13px;
		line-height: 22px;
		margin-top: 20px;
	}
	footer .wrapper .box01 .logobox .contact {
		display: block;
		width: 120px;
		line-height: 18px;
		text-align: center;
		padding: 5px 0 7px;
		font-size: 15px;
		color: #fff;
		text-decoration: none;
		margin-top: 15px;
		background-color: #8fc31f;
	}
	footer .wrapper .box01 .logobox .email {
		font-size: 13px;
		margin-top: 10px;
		line-height: 100%;
	}
	footer .wrapper .box01 .bnr {
		width: 499px;
		max-width: 100%;
		display: block;
		position: static;
		margin: 30px auto 0;
	}
	footer .wrapper .box01 .bnr:last-child {
		margin-top: 20px;
	}
	footer .wrapper .box01 .bnr img {
		width: 100%;
		display: block;
	}
	footer .wrapper .fnav {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		width: 100%;
		padding: 0 15px;
		margin-top: 30px;
	}
	footer .wrapper .fnav li {
		width: calc(50% - 2.5px);
		background-color: #fff;
		position: relative;
		padding-bottom: 25px;
		padding-top: 5px;
		margin-top: 5px;
	}
	footer .wrapper .fnav li .menuttl {
		text-align: center;
		font-size: 23px;
		margin-bottom: 5px;
		font-weight: bold;
	}
	footer .wrapper .fnav li:nth-child(1) .menuttl {
		color: #417cb2;
	}
	footer .wrapper .fnav li:nth-child(2) .menuttl {
		color: #5b9134;
	}
	footer .wrapper .fnav li:nth-child(3) .menuttl {
		color: #ea5514;
	}
	footer .wrapper .fnav li:nth-child(4) .menuttl {
		color: #9073bd;
	}
	footer .wrapper .fnav li .menu {
		font-size: 12px;
		padding-left: 20px;
		line-height: 120%;
	}
	footer .wrapper .fnav li .menu + .menu {
		margin-top: 10px;
	}
	footer .wrapper .fnav li .menu a {
		text-decoration: none;
		color: #040000;
		font-size: 10px;
	}
	footer .wrapper .fnav li .menu a:hover {
		opacity: 1;
		color: #8fc31f;
	}
	footer .wrapper .fnav li .menu a.link_off {
		color: #ddd;
		pointer-events: none;
	}
	footer .wrapper .fnav li .menu a.link_off:hover {
		color: #ddd;
	}
	footer .wrapper .fnav li .menu a span {
		font-size: 14px;
		padding-right: 0;
		display: block;
		line-height: 100%;
	}
	footer .wrapper .copy {
		background-color: #8fc31f;
		text-align: center;
		font-size: 10px;
		color: #fff;
		padding: 10px 0;
		margin-top: 35px;
	}
}
