@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Modern+Antiqua);

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
img,abbr,acronym,fieldset{border:0;}

body{
	font: 14px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
	font-weight: 300;
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #000;
	background: #fff;
}

a{
	color: #0066ff;
	text-decoration: none;
}

a:hover, .active{
  text-decoration: underline;
}

a:active, a:focus,input:active, input:focus{outline:0;}


/* ヘッダー
------------------------------------------------------------------------------------------------------------------------*/
#mainnav a{
	color: #000;
	font-family: 'Modern Antiqua', 'Noto Sans JP',serif;
}


/* フッター
------------------------------------------------------------------------------------------------------------------------*/
#footer{
	clear: both;
	padding: 50px 10px 50px 0;
	text-align: center;
	font-size: 12px;
}


/* 共通
------------------------------------------------------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6{
	font-family: 'Modern Antiqua', 'Noto Sans JP',serif;
}

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

section{
  clear: both;
}

section h2{
	width: 60%;
	margin: 70px auto;
	font-size: 22px;
	font-weight:normal;
	text-align: center;
}

section h2 span {
	padding-bottom: 20px;
	border-bottom: 3px solid #000;
}

.inner{
	width: 90%;
	margin: 0 auto;
	padding-bottom: 50px;
}

#sec01 .inner, #sec02 .inner, #sec03 .inner, #sec04 .inner, #sec05 .inner{
	border-bottom: 1px solid #a0a0a0;
}

.innerS{
	width: 70%;
	margin: 0 auto;
	padding-bottom: 80px;
}

section table {
	width: 100%; }
section th, section td  {
	padding: 10px; border: 1px solid #ddd; }
section th  {
	background: #f4f4f4; }
 

/* TOP トップページ
------------------------------------------------------------------------------------------------------------------------*/
#news {
	height:300px; width:100%;
	overflow-y:scroll;
}
#news table {
}
#news tr {
	border-bottom: 1px solid #ddd;
}
#news1 h1 {
	font-family: 'Modern Antiqua', 'Noto Sans JP',serif;
	width: ;
	margin: 0px auto;
	font-size: 20px;
	margin-bottom: 10px;
}

/* SEC01 企業情報
------------------------------------------------------------------------------------------------------------------------*/
#sec01 p{
	margin-bottom: 5px;
}

.col1 li{
	display: inline-block;
	width: 100%;
  margin: 20px 0;
}

#map{
	position: relative;
	padding-bottom: 40%;
	height: 0;
	overflow: hidden;
	z-index: 0;
}

#map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}

.company th  {
	width: 20%; text-align: left;
}
 
@media only screen and (max-width:480px){
	.company {
		margin: 0 -10px;
	}
	.company th,
	.company td{
		width: 100%;
		display: block;
		border-top: none;
	}
	.company tr:first-child th {
		border-top: 1px solid #ddd;
	}
}
#message-top h1 {
	font-family: 'Modern Antiqua', 'Noto Sans JP',serif;
	width: ;
	margin: 20px auto;
	font-size: 20px;
	margin-bottom: 10px;
}
.message-t{
	width: 100%;
	clear: both;
	overflow: hidden;
	padding-bottom: 0px;
}

.message-t img{
	float: left;
	margin: 0px 20px 0px;
}

.message-t p{
	margin-bottom:20px;
}
#access-map h1 {
	font-family: 'Modern Antiqua', 'Noto Sans JP',serif;
	width: ;
	margin: 20px auto;
	font-size: 20px;
	margin-bottom: 10px;
}
/* SEC02 事業内容
------------------------------------------------------------------------------------------------------------------------*/
/*　テープ　枠　3 */
.kakomi-tape3 {
	font-size: 17px;
	position:relative;
	padding: 35px 40px 15px;
	margin: 2.5em auto;
	width: 90%;
	color: #555555; /* 文字色 */
	background-color: #e8ddbd;
	box-shadow: inset 0 0 40px rgba(204, 186, 136,1), 0 2px 2px #ccc;
}
.title-tape3 {
 position: absolute;
 top: -15px;
 left: 30px;
 padding: 4px 20px;
 color: #555555; /*タイトル色*/
 font-weight: bold;
 background-color: rgba(255,255,255,.4);
 border-left: 2px dotted rgba(0,0,0,.1);
 border-right: 2px dotted rgba(0,0,0,.1);
 box-shadow: 0 0 5px rgba(0,0,0,0.2); 
 transform: rotate(-5deg);
}

.article{
	width: 100%;
	clear: both;
	overflow: hidden;
	padding-bottom: 0px;
}

.article img{
	float: left;
	margin: 5px 20px 20px;
}

.article p{
	margin-bottom:20px;
}
.article h1{
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: ;
	font-size: 19px;
}
.article2{
	clear: both;
	overflow: hidden;
	padding-bottom: 0px;
}

.article2 img{
	float: left;
	margin: 5px 20px 20px;
}

.article2 p{
	margin-bottom: 20px;
}
.article2 h1{
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: ;
	font-size: 19px;
}
/* SEC03 営業品目
------------------------------------------------------------------------------------------------------------------------*/
#sec03{
	padding: 0 !important;
}

#sec03 header{
	display: ;
}

#hinmoku{
	overflow: hidden;
}

#hinmoku li{
	float: left;
	width: calc(100%/3);

}
#hinmoku li.full{
	width: 100%;
}

#hinmoku img{
	width: 100%;
	height: auto;
}
#hinmoku p {

}
/* SEC04 主力取引先
------------------------------------------------------------------------------------------------------------------------*/
#sec04{
	padding-bottom: 0 !important;
}

/* 黒板風　タイトル　2 */
.kokuban-t2 {
 position: relative;
 margin: 2em auto;
 padding: 3.2em 1em 1em;
 width: 95%; /* ボックス幅 */
 background-color: #006633; /* ボックス背景色 */
 color: #fff; /* 文章色 */
 border: 8px solid #b2771f; /* 枠線 */
 border-radius: 3px; /* 角の丸み */
 box-shadow: 0 0 5px #333, 0 0 5px #555 inset;
}
.kokuban-t2::before,
.kokuban-t2::after {
 position: absolute;
 content: '';
 bottom: 0;
} 
.kokuban-t2::before {
 right: 10px;
 border: solid 3px #fff; /*チョーク（白）*/
 width: 20px; 
 border-radius: 3px 2px 0 2px;
}
.kokuban-t2::after {
 right: 40px;
 border: solid 3px #ffff6b; /*チョーク（黄色）*/
 width: 15px; 
 border-radius: 8px 5px 2px 5px;
}
.title-t2 {
 position: absolute;
 left: 1em;
 top: .10em;
 font-weight: bold;
 font-size: 1.5em;
 color: #ffff6b; /* タイトル色 */
}
/* 黒板風　タイトル　3 */
.kokuban-t3 {
 position: relative;
 margin: 2em auto;
 padding: 3.2em 1em 1em;
 width: 95%; /* ボックス幅 */
 background-color: #044072; /* ボックス背景色 */
 color: #fff; /* 文章色 */
 border: 10px solid #b2771f; /* 枠線 */
 border-radius: 3px; /* 角の丸み */
 box-shadow: 0 0 5px #333, 0 0 5px #555 inset;
}
.kokuban-t3::before,
.kokuban-t3::after {
 position: absolute;
 content: '';
 bottom: 0;
} 
.kokuban-t3::before {
 right: 10px;
 border: solid 3px #ffff6b; /*チョーク（黄色）*/
 width: 20px; 
 border-radius: 3px 2px 0 2px;
}
.kokuban-t3::after {
 right: 40px;
 border: solid 3px #fff; /*チョーク（白）*/
 width: 15px; 
 border-radius: 8px 5px 2px 5px;
}
.title-t3 {
 position: absolute;
 left: 1em;
 top: .10em;
 font-weight: bold;
 font-size: 1.5em;
 color: #ffff6b; /* タイトル色 */
}

/* SEC05 ヤマゲン規格袋
------------------------------------------------------------------------------------------------------------------------*/
#sec05{
	padding-bottom: 0 !important;
}
#kikakutai {
	overflow: hidden;
}

#kikakutai li{
	float: left;
	width: calc(100%/2);
	line-height: 3;

}
#kikakutai li.full{
	width: 100%;
}

#kikakutai img{
	width: 100%;
	height: auto;
}
#kikakutai p {

}
.card {
  width: 100%;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px #ccc;
  display:inline-block
}
.card-img {
  border-radius: 5px 5px 0 0;
  max-width: 100%;
  height: auto;
}
.card-content {
  padding: 20px;
}
.card-title {
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}
.card-text {
  color: #777;
  font-size: 14px;
  line-height: 1.5;
}
.card-link {
  text-align: center;
  border-top: 1px solid #eee;
  padding: 20px;
}
.card-link a {
  text-decoration: none;
  color: #0bd;
  margin: 0 10px;
}
.card-link a:hover {
  color: #0090aa;
}

/* SEC06 お問い合わせ
------------------------------------------------------------------------------------------------------------------------*/

.button {
  background: #3D4C53;
  margin : 25px auto;
  width : 250px;
  height : 50px;
  overflow: hidden;
  text-align : center;
  transition : .2s;
  cursor : pointer;
  border-radius: 3px;
  box-shadow: 0px 1px 2px rgba(0,0,0,.2);
}
.btnTwo {
  position : relative;
  width : 200px;
  height : 110px;
  margin-top: -100px;
  padding-top: 2px;
  background : #00bfff;
  left : -250px;
  transition : .3s;
}
.btnText {
  color : white;
  transition : .5s;
  margin-top : 4px;
}
.btnText2 {
  margin-top : 57px;
  margin-right : -130px;
  color : #FFF;
}
.button:hover .btnTwo{ /*When hovering over .button change .btnTwo*/
  left: -130px;
}
.button:hover .btnText{ /*When hovering over .button change .btnText*/
  margin-left : 65px;
}
.button:active { /*Clicked and held*/
  box-shadow: 0px 5px 6px rgba(0,0,0,0.3);
}

/* ↓ 未使用	--------------------------
.col5 .img{
	margin: 0 auto;
}
 ↑ 未使用	--------------------------*/
/* -----------------------------------------------------------------------------------------------------------------------*/
/* RESPONSIVE 設定
------------------------------------------------------------------------------------------------------------------------*/

@media only screen and (min-width: 800px){
	body{
		font-size:14px;
	}
	
	#wrapper{
		width: 100%;
	}
	
	#content{
		width: 80%;
	}
	
	#sidebar{
		width: 15%;
		position: fixed;
		top: 0;
		right: 2%;
		background: #fff;
	}
	
  a#menu{
		display:none;
	}	

	.panel{
		display:block !important;
	}
	
	#sidebar h1{
		padding: 30px 0;
	}

	#mainnav li{
		font-size: 14px;
		padding: 10px 0;
	}
	
	#sns{
		margin-top: 50px;
	}
	
	#sns li{
		display: inline-block;
		padding-right: 10px;
	}

	#sns a:hover img{
		opacity: .8;
	}

	/* SEC02 事業内容
	--------------------------*/
	.col2{
		text-align: center;
	}

	.col2 li{
		display: inline-block;
		width: 43%;
		padding: 0 3%;
		vertical-align: top;
		text-align: left;
	}
	/* SEC05 ヤマゲン規格袋
	-----------------*/
/* ↓ 未使用	--------------------------
	.col5{
		text-align: center;
	}

	.col5 li{
		display: inline-block;
		width: 100%;
		padding: 0 3%;
		vertical-align: top;
		text-align: left;
	}
 ↑ 未使用	--------------------------*/
	#map iframe{
		height: 200px !important;
  }
	
  #footer{
		padding: 30px 10px 70px 0;
	}
}


@media only screen and (min-width: 641px){
	.col1 li{
		width: 60%;
		vertical-align: top;
	}
	.col1 li:first-child{
		width: 35%;
		padding-right: 4%;
	}
}

@media only screen and (max-width: 640px){
	.innerS{
		width: 94%;
		padding-bottom: 30px;
	}
	#hinmoku li{
		float: none;
		width: 100%;
	}
	#kikakutai li{
		float: none;
		width: 100%;
	}
	.article img{
		float: none;
		display: block;
		margin: 0 auto 20px;
	}
	#map iframe{
		width: 96% !important;
		left: 2%;
	}
}

@media only screen and (max-width: 799px){
	#sidebar{
		position: fixed;
		width: 100%;
		z-index:500;
	}
	
	#sidebarWrap{
		position: relative;
		width: 100%;
		height: 50px;
		background: #;                          /*--- レスポンシブメニュー背景色 ---*/
		border-bottom: 0px solid #ccc;          /*--- レスポンシブメニュー下線色 ---*/
	}
	
	#sidebar h1{
		text-align: center;
		padding-top: 15px;
	}
	
	#sidebar h1 img{
		width: auto !important;
		max-height: 25px;
	}
	
  a#menu{
  	display: inline-block;
  	position: relative;
  	width: 40px;
  	height: 40px;
  	margin: 10px;
	}

	#menuBtn{
  	display: block;
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	width: 18px;
  	height: 2px;
  	margin: -1px 0 0 -7px;
  	background: #000;
  	transition: .2s;
	}

	#menuBtn:before, #menuBtn:after{
  	display: block;
  	content: "";
  	position: absolute;
  	top: 50%;
  	left: 0;
  	width: 18px;
  	height: 2px;
  	background: #000;
  	transition: .3s;
	}

	#menuBtn:before{
  	margin-top: -7px;
	}

	#menuBtn:after{
  	margin-top: 5px;
	}

	a#menu .close{
  	background: transparent;
	}

	a#menu .close:before, a#menu .close:after{
  	margin-top: 0;
	}

	a#menu .close:before{
  	transform: rotate(-45deg);
  	-webkit-transform: rotate(-45deg);
	}

	a#menu .close:after{
  	transform: rotate(-135deg);
  	-webkit-transform: rotate(-135deg);
	}

	.panel{
		width: 100%;
		display: none;
		overflow: hidden;
		position: relative;
		left: 0;
		top: -10px;
		z-index: 100;
	}

	#mainnav{
		position: absolute;
		top: 0;
		width: 100%;
		text-align: right;
		overflow: scroll;
	}

	#mainnav ul{
		border-bottom: 1px solid #ccc;
		background: #fff;
		text-align: left;
	}

	#mainnav li a{
		position: relative;
		display: block;
		padding: 15px 25px;
		border-bottom: 1px solid #ccc;
		color: #000;
		font-weight: 400;
	}
	#mainnav li a:before{
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 5px;
		width: 6px;
		height: 6px;
		margin: -4px 0 0 0;
		border-top: solid 2px #000;
		border-right: solid 2px #000;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	#mainnav #sns li{
		display: inline-block;
	}
	#mainnav #sns li a{
		position: relative;
		display: inline-block;
		padding: 15px 10px 0;
		border: 0;
	}
	#mainnav #sns li a:before{
		border: 0;
	}
	.col5 li{
		margin: 0 auto 50px;
		display: block;
		text-align: center;
	}
	.section h2{
		margin: 55px auto;
	}
}