﻿/*==================================================================
html style
==================================================================*/
html {
	height: 100%;
	min-height: 100%;
	height: auto !important;
	overflow-x: hidden;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	min-width: 200px;
	font-family: Meiryo, Arial, sans-serif;
	-webkit-text-size-adjust: 100%;
}


/*==================================================================
wrapper style
==================================================================*/
#wrapper {
	position: absolute;
	width: 100%;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0;
	overflow: hidden;
}


/*==================================================================
global navigation style
==================================================================*/
#globalnav {
	font-size: 0.9em;
	width: 100%;
	position: fixed;
	top: 0;
	background: #1d7a62;
	opacity: 0.7;
}
.nav, ul, li, a {
	margin: 0;
	padding: 0;
}
a {
	text-decoration: none;
}
.toggleMenu {
	display: none;
	background: #1d7a62;
	margin: 5px 0px 1px 5px;
	padding: 10px 15px;
	color: #FFFFDD;
}
.nav {
	list-style: none;
	display: table;
	margin: 0 auto;
	*zoom: 1;
	background: #1d7a62;
}
.nav:before, .nav:after {
	content: " "; 
	display: table;
}
.nav:after {
	clear: both;
}
.nav ul {
	list-style: none;
	width: 9em;
}
.nav a {
	padding: 10px 15px;
	color: #FFFFDD;
}
.nav li {
	position: relative;
}
.nav > li {
	float: left;
}
.nav > li > .parent {
	background-position: 97% 50%;
}
.nav li .parent {
	background-image: url("../images/downArrow.png");
	background-repeat: no-repeat;
	background-position: 97% 50%;
}
.nav > li > a {
	display: block;
}
.nav li ul {
	position: absolute;
	left: -9999px;
}
.nav > li.hover > ul {
	left: 0;
}
.nav li li.hover ul {
	left: 100%;
	top: 0;
}
.nav li li a {
	display: block;
	background: #1d7a62;
	position: relative;
	z-index: 100;
	border-top: 1px solid #175e4c;
}
.nav li li li a {
	background: #249578;
	z-index: 200;
	border-top: 1px solid #1d7a62;
}

@media screen and (max-width: 921px) {
	.nav {
		display: block;
		margin: 0px 0px 0px 5px;
	}
	.nav > li {
		float: none;
	}
	.nav > li > .parent {
		background-position: 98% 50%;
	}
	.nav li li .parent {
		background-image: url("../images/downArrow.png");
		background-repeat: no-repeat;
		background-position: 98% 50%;
	}
	.nav ul {
		display: block;
		width: 100%;
	}
}


/*==================================================================
header style
==================================================================*/
#header {
	width: 100%;
	min-height: 75px;
	margin: 18px 0px;
}
.headercontents {
	display: block;
	margin: 0 auto;
}
.headeritem {
	text-align: center;
	font-size: 1.4em;
}
.language {
	position: absolute;
	top: 5px;
	right: 5px;
	font-size: 0.7em;
	font-family: font-family: Meiryo, Arial, sans-serif;
}
@media print {
	#header {
		min-height: 120px;
	}
}


/*==================================================================
contents area style
==================================================================*/
.contents {
	position: relative;
	height: 100%;
	width: 100%;
	text-align: center;
}
.title {
	font-size: 1.1em;
	line-height: 1.5;
	text-align: center;
	color: #006400;
	background: #FFFFFF;
	margin: 4px 0pt 4px;
}
.subtitle {
	margin-top: 1%;
	background-color: #000000;
	color: #FFFFFF;
	display: inline-block;
	font-size: 1.1em;
	line-height: 1.5;
	padding: 2pt 0px;
}


/*==================================================================
container style
==================================================================*/
.container {
	padding: 5px 0px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 100%;
	grid-gap: 3px;
	word-wrap: break-word;
}
.grid-item-1,.grid-item-2,.grid-item-3,.grid-item-4 {
	margin: 0% 0% 1%;
}
.grid-item-1 {
	background: #F5F5DC;
}
.grid-item-2 {
	background: #EEFFFF;
}
.grid-item-3 {
	background: #F5F5F5;
}
.grid-item-4 {
	background: #FFFFFF;
}
.grid-item-5 {
	background: #EEFFFF;
}
.grid-item-11, .grid-item-12, .grid-item-13, .grid-item-14, .grid-item-15, .grid-item-16, .grid-item-17, .grid-item-18, .grid-item-19, .grid-item-20 {
	margin: 0% 0% 1%;
}
.grid-item-11, .grid-item-14, .grid-item-17, .grid-item-20, .grid-item-23, .grid-item-26, .grid-item-29 {
	background: #F5F5DC;
}
.grid-item-12, .grid-item-15, .grid-item-18, .grid-item-21, .grid-item-24, .grid-item-27, .grid-item-30 {
	background: #FFFFFF;
}
.grid-item-13, .grid-item-16, .grid-item-19, .grid-item-22, .grid-item-25, .grid-item-28, .grid-item-31 {
	background: #F5F5F5;
}
.grid-item-51, .grid-item-52, .grid-item-53,.grid-item-54 {
	margin: 3% 2%;
	background: #E6E6FA;
}
.text {
	text-align: left;
	font-size: 0.9em;
	line-height: 1.5;
	margin: 0% 4% 1%;
}
.text li {
	margin: 0% 5% 1%;
}
.text-2 {
	text-align: left;
	font-size: 0.9em;
	line-height: 1.5;
	margin: 0% 4% 1%;
}
.img-right,.img-left {
	display: block;
	width: auto;
	max-width: 99%;
	max-height: 200px;
	padding: 0% 1% 1%;
	margin: 1px auto 5px;
}
.img-s-right {
	width: auto;
	max-width: 125px;
	max-height: 125px;
	margin: 0px 0px 5px;
	float: right;
}
.text-center {
	text-align: center;
	font-size: 0.9em;
	line-height: 1.2;
	margin: 0% 1%;
}
h1 {
	padding: 1px 2% 5px;
	font-size: 1.1em;
	line-height: 1.5;
	text-align: left;
	color: #993333;
	margin-top: 5px;
}
h2 {
	padding: 1px 3% 5px;
	font-size: 0.9em;
	line-height: 1.2;
	text-align: left;
	color: #006400;
	font-weight: bold;
}
h3 {
	padding: 1px 3% 5px;
	font-size: 0.9em;
	line-height: 1.2;
	text-align: left;
	color: #FF773E;
}
h4 {
	padding: 1px 3%;
	font-size: 0.9em;
	line-height: 1.2;
	text-align: left;
	color: #003366;
}
.table1 {
	display: inline-block;
	margin-top: 1%;
	line-height: 1.2;
}
.table1 tr, .table1 td {
	text-align: left;
	font-size: 1.0em;
	padding: 1% 1% 3%;
}
.table1 tr:nth-child(2n) {
	background: #FFFFFF;
}
.table1 tr:nth-child(2n+1) {
	background: #F5F5DC;
}
.table2 {
	table-layout: fixed;
	word-break: break-all;
	word-wrap: break-all;
	display: inline-block;
	line-height: 1.2;
}
.table2 th {
	background: #DDDDDD;
	line-height: 1.5;
	font-size: 0.9em;
}
.table2 tr, .table2 td {
	text-align: left;
	padding: 1%;
	font-size: 0.9em;
}
.table2 tr:nth-child(2n) {
	background: #FFFFFF;
}
.table2 tr:nth-child(2n+1) {
	background: #F5F5DC;
}
.table2 td:nth-of-type(3) {
	min-width: 50px;
}
.table2 td:nth-of-type(1),.table2 td:nth-of-type(2),.table2 td:nth-of-type(5) {
	min-width: 80px;
}
#slideshow {
	position: relative;
	width:  100px;
	height: 50px;
}
#slideshow img {
	z-index: 8;
	opacity: 0.0;
}
#slideshow img.active {
	z-index: 10;
	opacity: 1.0;
}
#slideshow img.last-active {
	z-index: 9;
}
.my-gallery figure {
	display: inline-block;
	max-width: 40%;
	margin: 0 auto;
	padding: 0 8px;
}
.my-gallery figure img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	margin: auto;
}
.my-gallery figure figcaption {
	font-size: 0.9em;
	line-height: 1.2;
	text-align: center;
	margin: 3px 0px 3px;
}


/*==================================================================
footer style
==================================================================*/
#footer {
	position: absolute;
	bottom: 0px;
	width: 100%;
	line-height: 1.2;
	text-align: left;
	font-size: 0.6em;
	padding: 2px 2px;
	background: #EEEEEE;
}


/*==================================================================
page top button style
==================================================================*/
#pagetopBtn {
	position: fixed;
	right: 5px;
	bottom: 8px;
	opacity: 0.7;
}


/*_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
layout change by media query
/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/*/
/* layouts for small tablet: 769px-919px */
@media only screen and (min-width: 769px){
	.headercontents {
		display: table;
	}
	.headeritem {
		display: table-cell;
		text-align: center;
		vertical-align: middle;
		font-size: 1.25em;
	}
	.container {
		border-top: none;
	}
	h1 {
		padding-top: 3%;
		text-align: left;
	}
	.img-right {
	 	float: right;
	}
	.img-left {
	 	float: left;
	}
	.iframe {
		margin-left: 0px;
	}


/* layouts for small PC and large tablet: 920px- */
@media only screen and (min-width: 920px){
	.container {
		grid-template-columns: 50% 50%;
	}
	.grid-item-1 {
		grid-column: 1/3;
		grid-row: 1;
	}
	 .grid-item-2 {
		grid-column: 1/3;
		grid-row: 2;
	}
	 .grid-item-3 {
		grid-column: 1/3;
		grid-row: 3;
	}
	 .grid-item-4 {
		grid-column: 1/3;
		grid-row: 4;
	}
	.grid-item-5 {
		grid-column: 1/3;
		grid-row: 5;
	}
	.grid-item-11,.grid-item-12 {
		grid-row: 11;
	}
	.grid-item-13,.grid-item-14 {
		grid-row: 12;
	}
	.grid-item-15,.grid-item-16 {
		grid-row: 13;
	}
	.grid-item-17,.grid-item-18 {
		grid-row: 14;
	}
	.grid-item-19,.grid-item-20 {
		grid-row: 15;
	}
	.grid-item-21,.grid-item-22 {
		grid-row: 16;
	}
	.grid-item-23,.grid-item-24 {
		grid-row: 17;
	}
	.grid-item-25,.grid-item-26 {
		grid-row: 18;
	}
	.grid-item-27,.grid-item-28 {
		grid-row: 19;
	}
	.grid-item-29,.grid-item-30 {
		grid-row: 20;
	}
	.table1 {
		width: 480px;
	}
	.table1 td:nth-of-type(1) {
		width: 180px;
	}
	.table1 td:nth-of-type(2) {
		width: 800px;
	}
	.table2 {
		word-break: normal;
		word-wrap: normal;
	}
	.table2 th, .table2 tr, .table2 td {
		font-size: 0.95em;
	}
	.table2 td:nth-of-type(1),.table2 td:nth-of-type(2),.table2 td:nth-of-type(3),.table2 td:nth-of-type(5) {
		min-width: 120px;
	}
	#footer {
		text-align: center;
		font-size: 0.7em;
	}
}


