body {
	background: #ffffff;
	font-family: "YuGothic","Yu Gothic","Meiryo","ヒラギノ角ゴ","sans-serif";
	font-size: 16px;
	margin: 0;
}

h1,h2,h3 {
	color: #222;
}

h1 {
	font-size: 180%;
	word-break: keep-all;
	overflow-wrap: break-word;
}

h2 {
	margin: 0;
	font-size: 150%;
}

h3 {
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 12px;
	font-size: 120%;
}

section {
	padding-bottom: 10px;
}

p {
	text-align: left;
}

p.description {
	margin-top: 8px;
	margin-left: 20px;
}

p.top-description {
	margin-top: 0px;
	display: inline-block;
}

img.yamareco{
	vertical-align:-5px;
	width: 142px;
	height: 26px;
	margin: 0 5px;
	border: 0;
}

#menu {
	text-align: center;
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	background-color: #ffffff;
	border-bottom: 1px solid #000000;
	z-index: 9999;
	display: flex;
	justify-content: center;
	flex-flow: column;
}

#menu #menuitems {
	display: flex;
	padding: 10px;
	font-size: 0;
	justify-content: center;
	align-items: center;
}

#menu ul {
	display: flex;
	padding-left: 0;
	flex: 1;
}

#menu #logo{
	border-left: none;
}

#menu a {
	color: #19284e;
	vertical-align: middle;
	text-decoration: none;
}

#menu a:hover {
	color: #b71e21;
	font-weight: bold;
}

#menu a:hover img {
	transform: scale(1.05);
}

#menu .menuinfo {
	display: none;
	font-size: 14px;
}

#main {
	text-align: center;
	margin-top: 80px;
}

#wrapper {
	max-width: 900px;
	margin: 0 auto;
	text-align: left;
}

#sidemenu h1 {
	margin: 0;
}

#sidemenu ul {
	list-style-type: none;
	padding-left: 20px;
	margin-top: 0px;
	font-size: 120%;
}

.center {
	text-align: center !important;
}

.right {
	text-align: right !important;
}

.img-frame {
	border: 1px solid gray;
	box-shadow: 0 0 8px gray;
	background:#fff url(/img/loading.gif) no-repeat center center;
	margin: 5px;
}


table {
  border-collapse: collapse;
}

table th, table td {
  border: solid 1px black;
}

.pb30 {
	padding-bottom: 30px;
}

.pl30 {
	padding-left: 30px;
}

.pl45 {
	padding-left: 45px;
}

.pl60 {
	padding-left: 60px;
}

.ml30 {
	margin-left: 30px;
}

.mb30 {
	margin-bottom: 30px;
}


@media screen and (min-width: 901px) {
	#menu ul li {
		width: 110px;
		font-size: 16px;
	}

	#menu #logo{
		width: 80px;
	}

	#wrapper {
	    padding: 0 20px;
	}
	  
	#wrapper ul {
	  	padding-right: 20px;
	}
	
	.menu-btn {
		display: none;
	}
	
	.menu-icon {
		display: none;
	}
	
	#sidemenu ul {
		padding-left: 20px;
		font-size: 120%;
	}
}

@media screen and (max-width: 900px) {
	#menu ul li {
		min-width: 85px;
		font-size: 15px;
	}

	#menu #logo{
		min-width: auto;
		width: 60px;
	}

	#wrapper {
	    padding: 0 20px;
	}
  
	#wrapper ul {
	  	padding-right: 20px;
	}
	
	img.maximize {
		width: 100%;
		height: auto;
	}
	
	.menu-btn {
		display: none;
	}
	
	.menu-icon {
		display: none;
	}
	
	#sidemenu ul {
		padding-left: 10px;
		font-size: 110%;
	}
}

@media screen and (min-width: 768px) {
	#menu #menuitems {
		margin: auto;
	}
	
	#menu ul li {
		display: flex;
		height: 40px;
		margin: 0;
		padding: 5px;
		border-left: 1px solid #444;
		justify-content: center;
		align-items: center;
	}
	
	#wrapper img {
		max-width: 640px;
		max-height: 480px;
	}
	
	#wrapper img.half-width {
		max-width: 360px;
	}
	
	#sidemenu {
		max-width: 225px;
		margin: 0 auto;
		float: left;
		position: fixed;
	}
	
	#contents {
		width: 75%;
		float: right;
	}
	
	#contents img {
		max-width: 520px;
		max-height: 480px;
	}
	
	#leftbox {
		width: 50%;
		margin: 0 auto;
		float: left;
	}

	#rightbox {
		width: 50%;
		margin: 0 auto;
		float: right;
	}
}

@media screen and (max-width: 767px) {
	#wrapper {
	    padding: 0 5px;
	}
  
	#wrapper ul {
		padding-left: 30px;
	  	padding-right: 10px;
	}
	
	#wrapper img {
		max-width: 300px;
	}
	
	img.maximize {
		width: 100%;
		height: auto;
	}

	/* Nav items */
	#menuitems ul {
		list-style: none;
		position: absolute;
		width: 100%;
		height: auto;
		top: 0;
		margin-top: 71px;
		clear: both;
		background: #ffffff;
		flex-flow: column;
		transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
		transform: scale(1, 0);
		transform-origin: top;
		border-bottom: 1px solid rgb(0, 0, 0);
	}

	/* Hamburger menu text */
	#menuitems ul a {
		opacity: 0;
		transition: 0.5s;
	}

	#menuitems ul li {
		border-bottom: 1px solid rgb(0, 0, 0);
		padding: 10px 20px;
		opacity: 0;
		transition: 0.5s;
		font-size: 15px;
		text-align: right;
	}

	/* Hamburger menu button */
	#menuitems .menu-btn:checked ~ ul {
  		transform: scale(1, 1);
		transform-origin: top;
		transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
	}

	#menuitems .menu-btn:checked ~  ul a,
	#menuitems .menu-btn:checked ~  ul li {
		opacity: 1;
		transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
	}

	.menu-btn {
		display: none;
	}

	.menu-icon {
		display: inline-block;
		position: relative;
		cursor: pointer;
		padding: 24px 14px;
		margin-left: auto;
	}

	.navicon {
		background: #19284e;
		display: block;
		height: 3px;
		width: 26px;
		position: relative;
		transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
	}

	.navicon:before,
	.navicon:after {
		content: "";
		display: block;
		height: 100%;
		width: 100%;
		position: absolute;
		background: #19284e;
		transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
	}

	.navicon:before {
		top: 9px;
	}

	.navicon:after {
		bottom: 9px;
	}

	/* Hamburger Menu Animation Start */
	.menu-btn:checked ~ .menu-icon .navicon:before {
		transform: rotate(-45deg);
	}

	.menu-btn:checked ~ .menu-icon .navicon:after {
		transform: rotate(45deg);
	}

	.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
		top: 0;
	}
	.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
		bottom: 0;
	}

	.menu-btn:checked ~ .menu-icon .navicon {
		background: rgba(0, 0, 0, 0);
		transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
	}
	/* Hamburger Menu Animation End */

	/* Navbar Container */
	.navtext-container {
		width: 100%;
		height: 52px;
		position: absolute;
		box-sizing: border-box;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	/* Navbar Text */
	.navtext {
		position: absolute;
		text-transform: uppercase;
		color: #ddd;
		letter-spacing: 4px;
		font-size: 20px;
	}
	
	#sidemenu {
		padding: 0 10px;
		margin: 0 auto;
	}

	#contents, #leftbox, #rightbox {
		padding: 0 10px;
	}
	
	.flex-table{
		writing-mode: vertical-lr;
	}
	
	.flex-table th,td{
		writing-mode: horizontal-tb;
	}
}