@charset "UTF-8";

html {
	overflow-y:scroll;
}
body {
	position: relative;
	padding:0;
	margin:0;
	min-height: 100vh;
}
* {
	box-sizing: border-box;
	font-size: 14px;
	font-family: "游ゴシック" , "Yu Gothic" , "游ゴシック体" , "YuGothic" , "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "Meiryo UI" , "メイリオ" , Meiryo , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif;
}
.outer {
	margin:0;
	padding:0 auto;
}
.inner {
	position: relative;
	margin:0 auto;
	padding: 20px;
	max-width:730px;
}
h1,h2,h3,h4,h5,h6{
	font-size: 36px;
	color:#00529b;
}
session {
	margin-bottom: 20px;
}
.ctitle {
	text-align:center;
}
table{
	min-width:100%;
	border-collapse: collapse;
}
table.stripe>tbody>tr:nth-child(2n),
table.stripe>tbody>tr:nth-child(2n)>td ,
table.striper>tbody>tr:nth-child(2n)>td ,
ul.stripe	li:nth-child(2n) ,
ul.striper	li:nth-child(2n) {
	background-color: rgb(255 255 255);
}
table.stripe>tbody>tr:nth-child(2n-1),
table.stripe>tbody>tr:nth-child(2n-1)>td ,
table.striper>tbody>tr:nth-child(2n-1)>td ,
ul.stripe	li:nth-child(2n-1) ,
ul.striper	li:nth-child(2n-1) {
	background-color: rgb(240 240 240);
}
@media (max-width:680px){
	table.striper>tbody>tr:nth-child(2n)>td ,
	ul.striper	li:nth-child(2n) {
		background-color: rgb(240 240 240);
	}
	table.striper>tbody>tr:nth-child(2n)>td ,
	ul.striper	li:nth-child(2n-1) {
		background-color: rgb(255 255 255);
	}
}
iframe{
	max-width:100%;
}
img,a img{
	max-width:100%;
	height:auto;
}
.nopc {
	display:none;
}
br+br {
	line-height:6em;
}
@media (max-width:680px){
	.nopc {
		display:block;
	}
	.nosp {
		display:none;
	}
}

/****  header  ****/
#header>.inner {
	display: flex;
	max-width: 1000px;
}
header#header h1 {
	display:inline-block;
	padding: 20px;
	margin: 0;
}
header#header h1  {
	display:inline-block;
	padding: 20px;
	margin: 0;
}
body#top.index3 header#header h1 {
	font-size: 54px;
}
body#top.index3 header#header h1 small {
	display: block;
	text-align: center;
	height: 18px;
	font-size: 0.4em;
}
@media (max-width:840px){
	body#top.index3 header#header h1 {
		font-size: 36px;
	}
}
@media (max-width:680px){
	#header>.inner {
		display: block;
	}
	header#header h1 {
		padding: 20px 20px 0;
		text-align:center;
	}
	menu {
		dleis
	}	
}
/****  header - menu  ****/
menu {
	width: calc(100% - 364px);
	padding: 20px 0px;
	margin: 0;
	float: right;
}
body#top.index3 menu {
	width: calc(100% - 540px);
}
menu>div>ul {
	display: flex;
	padding: 0;
	margin: 0;
	list-style: none;
}
menu>div>ul li {
	width: 33.33%;
	max-width: 140px;
	text-align: center;
}
menu>div>ul li:first-child {
	width: auto;
	max-width: none;
}
menu>div>ul a {
	display: block;
	padding: 8px;
	text-decoration: none;
	font-size: 20px;
	font-weight: 400;
	color: #000;
}
menu>div>ul a:hover {
	text-decoration: underline;
	text-decoration-style: dotted;
}
@media (max-width:840px){
	body#top.index3 menu {
		width: calc(100% - 364px);
	}
}
@media (max-width:680px){
	#header menu ,
	body#top.index3 menu {
		display: block;
		position: fixed;
		height: calc(100% - 58px);
		top: 58px;
		right: 0;
		width: 0;
		overflow: hidden;
		transition: 0.5s;
		z-index: 1000;
	}
	#header input:checked+menu ,
	body#top.index3 input:checked+menu {
		width:100%;
	}
	menu>div {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background: rgba(0, 0, 0, 0.4);
		padding: 20px;
		cursor: pointer;
		z-index: 10000;
	}
	menu>div>ul {
		display: block;
		width: 100%;
		text-align: left;
		border-top: 1px solid #FFF
	}
	menu>div>ul>li {
		width: 100%;
		max-width: 100%;
		display: block;
		border-bottom: 1px solid #FFF
	}
	menu>div>ul li:first-child {
		display:none;
	}
	menu>div>ul>li a {
		font-weight: 700;
		color: #FFF;
	}
	label.menu-open {
		display: block;
		position: fixed;
		top: 4px;
		right: 4px;
		width: 50px;
		height: 50px;
		background: RGBA(0, 82, 155, 0.67);
		border-radius: 8px;
		cursor: pointer;
		z-index: 1000;
	}
	.menu-open>div {
		position: absolute;
		transform: translate(-50%, -50%);
		top: 50%;
		left: 50%;
		background: #FFF;
		width: 80%;
		height: 5px;
		transition: 0.5s;
	}
	.menu-open>div:nth-child(1) {	top: 25%;}
	.menu-open>div:nth-child(4) {	top: 75%;}
	header input:checked+*+.menu-open>div:nth-child(1) {	opacity: 0; width: 5px;	top: 50%;	}
	header input:checked+*+.menu-open>div:nth-child(2) {	transform: translate(-50%, -50%) rotate(-135deg);}
	header input:checked+*+.menu-open>div:nth-child(3) {	transform: translate(-50%, -50%) rotate(+135deg);}
	header input:checked+*+.menu-open>div:nth-child(4) {	opacity: 0; width: 5px;	top: 50%;	}
}

/*****  footer  *****/
footer {
	margin-top: 100px;
	background-color: #00529b;
	width: 100%;
	padding:30px 0;
}
footer .copyright {
	text-align:center;
	color:#FFF;
	font-Weight: 700;
}

/****  contents  ****/
session .inner:after {
	content: "";
	display: block;
	clear: both;
}
 table.stripe>*>tr>td {
	padding: 10px 20px;
}
/****  contents - 挨拶  ****/
#halo .inner {
	padding: 8px 20px 5px;
	border-radius: 10px;
	background-color: RGBA(0, 82, 155, 0.67);
	color: #fdfeda;
}
#halo .inner h3 {
	color: #fdfeda;
}
/****  contents - 会社概要  ****/
#company {
	text-align:center;
}
#company img.company-img {
	position:absolute;
	right:0;
	width: 36%;
	max-width: 255px;
	z-index:10;
}
#company>*>table>*>tr>td {
	position: relative;
	vertical-align: top;
}
#company>*>table>*>tr>td:nth-child(1) {	width: 100px;}
#company>*>table>*>tr>td:nth-child(2) {	
	width: 16px;
	padding-left: 0;
	padding-right: 0;
}

@media (max-width:720px){
	#company img.company-img {
		position:initial;
		width: 100%;
		margin-top: 20px;
		margin-bottom: 20px;
	}
	#company>*>table,
	#company>*>table>tbody,
	#company>*>table>tbody>tr,
	#company>*>table>tbody>tr>td {
		display:block;
	}
	#company>*>table>tbody>tr>td:nth-child(1) {
		width: 100%;
		padding-bottom:0;
	}
	#company>*>table>tbody>tr>td:nth-child(1):before {
		content:"●";
		padding-bottom:0;
	}
	#company>*>table>tbody>tr>td[colspan]:before {
		content:"";
		padding-bottom:0;
	}
	#company>*>table>tbody>tr>td:nth-child(2) {
		display:none;
	}
	#company>*>table>tbody>tr>td table tbody tr td:nth-child(1):before {
		content:"";
	}
}


/****  contents - 沿革  ****/
#History span {
	display:inline-block;
	margin-right:5px;
}
#History span.gg {
	width: 64px;
	text-align:right;
}
#History span.mm {
	width: 32px;
	text-align:right;
}
@media (max-width:680px){
	#History ul li span.text {
		width: 100%;
		text-align:right;
		margin-bottom: 10px;
	}
	
}

/****  contents - 機械設備  ****/
#machine table {
	float:left;
	min-width: calc(50% - 5px);
	max-width: calc(50% - 5px);
}
#machine table+table {
	float:right;
}
#machine table tr td+td {
	text-align:right;
}



@media (max-width:680px){
	#machine table+table ,
	#machine table {
		float:none;
		width: 100%;
		min-width: 100%;
		max-width: 100%;
	}
}






