@charset "utf-8";

body {
	text-align: center;
	background-color: #F8F8F8;
	font-family: sans-serif;
}

body#english,
body#englishWide {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
}

#Wrapper {
	width: 984px;
	margin: 0 auto;
	background: url(images/bodyBack.png) repeat-y center top #F8F8F8;
}

#header {
	width: 930px;
	height: 200px;
	margin: 0 auto 10px;
	padding: 0;
	text-align: left;
	background: url(images/headerBack.jpg) no-repeat;
}

#header h1,
#header p#siteID {
	padding: 25px;
	float: left;
}

#headerRight {
	float: right;
	width: 400px;
	padding-top: 25px;
}

#headerRight p {
	float: left;
	padding-right: 10px;
}

#headerRight ul li {
	float: left;
	padding-left: 5px;
}

#googleArea {
	float: right;
	margin-right: 20px;
	width: 200px;
}

#headerRight .cse input.gsc-search-button,
#headerRight input.gsc-search-button {
	border-color: #CCC;
	background: #c9de96;
	/* Old browsers */
	background: -moz-linear-gradient(top, #c9de96 0%, #8ab66b 44%, #398235 100%);
	/* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #c9de96), color-stop(44%, #8ab66b), color-stop(100%, #398235));
	/* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #c9de96 0%, #8ab66b 44%, #398235 100%);
	/* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #c9de96 0%, #8ab66b 44%, #398235 100%);
	/* Opera 11.10+ */
	background: -ms-linear-gradient(top, #c9de96 0%, #8ab66b 44%, #398235 100%);
	/* IE10+ */
	background: linear-gradient(to bottom, #c9de96 0%, #8ab66b 44%, #398235 100%);
	/* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c9de96', endColorstr='#398235', GradientType=0);
	/* IE6-9 */
}

#headerRight form.gsc-search-box table.gsc-search-box td.gsc-input {
	padding-right: 2px;
}

#gNavi {
	width: 930px;
	margin: 0 auto 10px;
	background: #76A703;
	color: #FFF;
	font-size: 85%;
}

#gNavi ul {
	margin: 0 10px;
}

#gNavi ul li {
	float: left;
	margin: 5px 10px 4px;
	padding-right: 17px;
	background: url(images/gNaviBorder.gif) no-repeat right center;
}

#gNavi ul li img {
	vertical-align: middle;
}

#gNavi a:link {
	color: #FFF;
	text-decoration: none;
}

#gNavi a:visited {
	color: #FFF;
}

#gNavi a:hover {
	color: #F6E801;
}

#gNavi a:active {
	color: #FC6;
}

#gNavi li.active a {
	color: #F6E801;
}

#topicPath {
	float: left;
	padding-left: 30px;
	font-size: 75%;
	color: #999;
	clear: both;
	/* for Contribute */
}

#language {
	padding: 0 30px 0 780px;
}

#language p {
	float: left;
}

#language ul {
	float: right;
}

#language ul li {
	float: left;
	width: 56px;
	height: 13px;
	line-height: 13px;
	overflow: hidden;
	margin-left: 3px;
}

#language ul li a {
	display: block;
	padding-top: 13px;
	height: 0;
	overflow: hidden;
}

#langJ a {
	background: url(images/langJa.gif) no-repeat;
}

#langE a {
	background: url(images/langEn.gif) no-repeat;
}

#language ul li a.active,
#language ul li a:hover {
	background-position: 0 -13px;
}

#footerWrap {
	padding-bottom: 27px;
	background: url(images/footerBottom.png) repeat-x bottom;
}

#footer {
	width: 930px;
	height: 77px;
	margin: 0 auto;
	background: url(images/footerBack.png) no-repeat center bottom;
}

#footer ul {
	padding: 42px 0 0 320px;
}

#footer ul li {
	float: left;
	color: #405A04;
	padding: 0 14px;
	border-left: 1px solid #405A04;
	font-size: 78%;
	line-height: 100%;
}

#footer ul li.liFirst {
	border: none;
}

#footer a:link {
	color: #405A04;
	text-decoration: none;
}

#footer a:visited {
	color: #405A04;
	text-decoration: none;
}

#footer a:hover {
	color: #000;
	text-decoration: underline;
}

#footer a:active {
	color: #FC6;
}

#copyright {
	width: 930px;
	margin: 0 auto;
	font-size: 80%;
	height: 28px;
	line-height: 28px;
	background: url(images/copyrightBack.png) repeat-x;
}

#copyright p {
	color: #FFF;
	text-align: right;
	padding-right: 10px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 85%;
}

#toPageTop {
	width: 930px;
	margin: 0 auto;
	text-align: right;
}

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

.gsc-input input.gsc-input {
	width: 130px;
}

.cse .gsc-search-button input.gsc-search-button-v2,
input.gsc-search-button-v2 {
	padding: 6px 10px !important;
}


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

#contentsWrap {
	width: 910px;
	margin: 20px auto 0;
	text-align: left;
	background: url(images/contentsBack.gif) repeat-y 207px top;
	clear: both;
	/* for Contribute */
}

#wide #contentsWrap,
#englishWide #contentsWrap {
	background: none;
}

#contents {
	float: right;
	width: 680px;
	min-height: 300px;
}

#localNavi {
	float: left;
	width: 180px;
	margin-bottom: 50px;
}

#wide #contents {
	float: none;
	width: 800px;
	margin: 20px auto;
}

#englishWide #contents {
	float: none;
	width: 800px;
	margin: 20px auto;
}

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

#localNavi h2 {
	color: #626262;
	background: #F4F4F4;
	font-size: 95%;
	padding: 10px;
	margin-bottom: 15px;
}

#localNavi ul li {
	color: #626262;
	font-size: 85%;
	margin: 3px 0;
	background: #FBFBFB;
}

#localNavi a {
	display: block;
	color: #626262;
	text-decoration: none;
	padding: 10px;
}

#localNavi a:hover,
#localNavi a.active {
	background: #76A703;
	color: #FFF;
}

#localNavi .banners p {
	margin-bottom: 10px;
}

#localNavi .level2 a {
	background: url(images/right.gif) no-repeat 20px center;
	padding: 5px 0 5px 45px;
}

#localNavi .level2 a:hover,
#localNavi .level2 a:active {
	background: url(images/right.gif) no-repeat 20px center #76A703;
	color: #FFF;
}

#localNavi ul li.level2 {
	margin: 0;
}

#addressArea {
	border-left: 6px solid #658D07;
	padding-left: 5px;
	font-size: 80%;
	color: #658D07;
	background: #FFF;
}

.spShow {
	display: none;
}

#toggle {
	display: none;
}


@media (min-width: 600px) and (max-width: 984px) {
	body {
		transform: scale(0.75);
		/* 縮小率を設定 */
		transform-origin: top left;
		width: 133.33%;
		/* 横幅を逆算した値で補正 */
		overflow: hidden;
	}
	body #Wrapper {
		height: calc(100vh / 0.78);
		/* 縮小率に応じて高さを補正 */
		overflow-y: scroll;
	}
}


@media screen and (max-width:599px) {
	body {
		min-width: 100%;
		-webkit-text-size-adjust: 100%;
		overflow-x: hidden;
		box-sizing: border-box;
	}

	body * {
		max-width: 100%;
		box-sizing: border-box;
	}

	img {
		max-width: 100%;
		height: auto;
	}

	.pcShow {
		display: none !important;
	}

	.spShow {
		display: block;
	}

	#headerRight {
		display: none;
	}

	#header {
		height: 55px;
		background: none;
		background-size: cover;
		margin: 0;
		position: relative;

	}

	#header h1,
	#header p#siteID {
		width: 100%;
		height: 55px;
		height: auto;
		float: none;
		padding: 0;
		position: fixed;
		z-index: 9999;
		top: 0;
		left: 0;
		background: #FFF;
	}

	#header h1 img,
	#header p#siteID img {
		width: 190px;
		height: auto;
		padding: 7px 10px;
	}

	#toggle {
		display: block;
		border-radius: 8px 8px 0 0;
		padding: 0;
	}

	/* #toggle.menuOpen {
		background: #D7E5F4;
	  } */

	.menu-trigger,
	.menu-trigger span {
		display: inline-block;
		transition: all .4s;
		box-sizing: border-box;
	}

	.menu-trigger {
		position: relative;
		width: 30px;
		height: 20px;
	}

	.menu-trigger span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 2px;
		background-color: #FFF;
		border-radius: 2px;
	}

	.menu-trigger span:nth-of-type(1) {
		top: 0;
	}

	.menu-trigger span:nth-of-type(2) {
		top: 9px;
	}

	.menu-trigger span:nth-of-type(3) {
		bottom: 0;
	}

	.motion .menu-trigger span:nth-of-type(1) {
		-webkit-transform: translateY(10px) rotate(-315deg);
		transform: translateY(10px) rotate(-315deg);
	}

	.motion .menu-trigger span:nth-of-type(2) {
		opacity: 0;
	}

	.motion .menu-trigger span:nth-of-type(3) {
		-webkit-transform: translateY(-10px) rotate(315deg);
		transform: translateY(-10px) rotate(315deg);
	}

	#gNavi {
		position: fixed;
		top: 0;
		left: initial;
		right: 0;
		z-index: 9999;
		width: 60px;
		height: 55px;
		padding-top: 17px;
	}

	#gNavi>ul {
		display: none;
		position: fixed;
		top: 55px;
		left: 0;
		background: #FFF;
		border-radius: 10px 0 10px 10px;
		padding: 0;
		margin: 0;
		width: 100%;
	}

	#gNavi ul.active {
		display: block;
	}

	#gNavi ul li {
		width: 100%;
	}

	#gNavi ul li a,
	#gNavi ul li a:visited,
	#gNavi ul li a:link {
		color: #333;
	}

	#gNavi ul li a {
		display: block;
		padding: 15px 40px;
		font-size: 1rem;
	}

	#gNavi ul li {
		float: none;
		margin: 0;
		padding: 0;
		background: none;
		text-align: left;
		width: 100%;
		border-bottom: 1px solid #EEE;
	}

	#gNavi ul li:last-child {
		border-bottom: none;
	}

	#googleArea {
		float: none;
		width: calc(100% - 70px);
		margin: 20px auto;
	}

	body.gray {
		overflow: hidden;
	}

	body.gray::before {
		content: '';
		display: block;
		width: 100%;
		height: 100%;
		background: #00000044;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 10;
	}

	#topicPath {
		display: none;
	}

	#language {
		display: flex;
		justify-content: right;
		position: fixed;
		top: 31px;
		right: 75px;
		z-index: 9999;
		padding: 0;
	}

	.home #language {
		padding: 0;
		background: none;
	}

	#langJ {
		display: none;
	}

	#english #langJ {
		display: block;
	}

	#english #langE {
		display: none;
	}

	#contentsWrap {
		margin: 0;
		padding: 10px 10px 30px;
		background: #EEE;
		display: flex;
		flex-direction: column;
	}

	#contents {
		background: #FFF;
		padding: 10px;
		border-radius: 10px;
		float: none;
		order: 2;
	}

	#localNavi {
		float: none;
		width: 100%;
		background: #FFF;
		padding: 10px;
		border-radius: 10px;
		margin-top: 30px;
		order: 1;
	}

	#localNavi li br {
		display: none;
	}

	#addressArea {
		padding: 10px 10px 10px 20px;
		border-radius: 10px;
		width: 100%;
		margin: 50px auto 0;
		order: 3;
	}

	#footerWrap {
		background: #EEE;
		padding: 0;
	}

	#footer {
		background: url(images/footerBack.png) no-repeat center bottom;
		background-size: 100% auto;
		height: auto;
		margin-top: 10px;
	}

	#footer ul {
		display: flex;
		justify-content: center;
		padding: 10px 0;
	}

	.tableWrap {
		overflow-x: scroll;
	}
}