@media screen and (max-width: 640px){
img {width:100%;height:auto;}
strong {
	font-size:18px;
	font-family: "ＭＳ Ｐ明朝", "細明朝体", "ヒラギノ明朝 Pro W3";
}
body{
width:100%;
min-width:100%;
}
#wrap {
	width:100%;
	min-width:100%;
}
#menubtn {
	position:absolute;
	display:block;
	height:35px;
	width:45px;
	top:0;
	bottom:0;
	margin:auto 0;
	right:10px;
	text-indent:-9999px;
	border:none;
	background-color:#fff;
	cursor:pointer;
}
.toggle:before {
    display: block;
    content: "";
    position: absolute;
    top:0;
	bottom:0;
    left:0;
	right:0;
	margin:auto;
    width: 30px;
    height: 26px;
    background: #999;
}
.toggle a:before, .toggle a:after{
    display: block;
    content: "";
    position: absolute;
    top:0;
	bottom:0;
	left:0;
	right:0;
	margin:auto;
    width: 30px;
    height: 5px;
    background: #fff;
}
.toggle a:before{top:-10px;}
.toggle a:after{top:10px;}

/*----header----*/
#header {
	position:relative;
	width:100%;
	height:auto;
	border-bottom:none;
}
#header_inner {
	width:100%;
	height:auto;
}
#header h1 {
	float:none;
	padding:5px 5px;
	height:auto;
	line-height:80px;
	border-bottom:solid 1px #666;
	min-height:45px;
}
#header h1 a {
	display:block;
	float:left;
}
#header h1 img {
	display:block;
	position:inherit;
	height:auto;
	width:auto;
	max-height:35px;
}
#header nav {
	position:relative;
	/*height:100%;*/
	width:100%;
	float:none;
	z-index:100;
}
#header nav ul {
	display:none;
	position:absolute;
	/*height:100%;*/
	width:100%;
	padding-bottom:20px;
	background-color:#fff;
}
#header nav ul li {
	float:none;
	width:70%;
	max-width:177px;
	margin:10px auto 0;
	list-style:none;
	border-left:none;
}
#header nav ul li:first-child {
	border-left:none;
}
#header nav li a {
	display:block;
}
#header nav li a img {
	width:100%;
	height:auto;
}
#mainVisual {
	top:0;
	width:100%;
	margin:0 auto;
}
#mainVisual img {
	width:100%;
	margin:0 auto;
}
/*--top--*/
#top h2.message {
	position: relative;
	width: 100%;
	height: 100px; 
	background:url(../images/message_bg.jpg) center center;
	text-align:center;
}
#top .message img {
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	width:95%;
	max-width: 320px;
	height:auto;
	margin:auto;
}

/*----item----*/
.item { position:relative; height:200px; width:100%; text-align:center; background-size:cover!important;}
.item:nth-child(1) { background:url(../images/service_bg.jpg) no-repeat center;}
.item:nth-child(2) { background:url(../images/machine_bg.jpg) no-repeat center;}
.item:nth-child(3) { background:url(../images/company_bg.jpg) no-repeat center;}
.item_title img {
	position:absolute;
	width:100%;
	max-width:335px;
	height:auto;
	top:20px;
	left:0;
	right:0;
	margin:auto;
}
.item a {
	position: absolute;
	display: block;
	bottom: 20px;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	height: 30px;
	width: 160px;
	font-size:12px;
	line-height: 30px;
	color: #0095cb;
	background-color: #FFF;
	opacity: 0.65;
	transition: 0.1s;
}
.item a:hover { opacity: 1; transition: 0.1s;}
.product {
	position:relative;
	height: auto;
	width: 100%;
	padding-top: 40px;
	padding-bottom: 40px;
	background: url(../images/product_bg.jpg) repeat center;
}
.product .w1200 {
	width:100%;
	margin: 0 auto;
	text-align:center;
}
.product_title { margin-bottom: 20px;}
.product h3 {
	width:100%;
	color:#FFF;
	font-size:20px;
	
	float:none;
}
.product a {
	float: none;
	width: 190px;
	heigh: 40px;
	margin:0 auto;
	line-height: 40px;
	text-align:center;
	color: #0095cb;
	background-color: #FFF;
	opacity: 0.9;
	transition: 0.1s;
}
.product .gallery01 img {
	width:45%;
	height:auto;
	margin: 0 2.5% 20px 0;
}
.product .gallery01 img:nth-child(4n) {
	margin: 0 2.5% 20px 0;
}

/*----companyinfo----*/
#company_info {
height:auto;
width:100%;
margin:0 auto;
text-align:center;
}
.info_box {
float:none;
height:auto;
width:100%;
}

.info_box .info_text {
width:100%;
}
.info_box .info_text dl {
width:100%;
height:auto;
padding:20px 0;
margin:0 auto;
}
.info_box .info_text dl dt {
float:none;
font-size:14px;
margin-left:0%;
margin-bottom:10px;
line-height:24px;
}
.info_box .info_text dl dd {
margin:0 auto;
font-size:14px;
line-height:18px;
}
/*----info_rec_con----*/
.info_rec_con {
	width:100%;
	height:auto;
	margin: 0 auto;
	padding: 20px 15px 20px 15px;
	background-color: #FFF;
}
.info_rec_con .infomation {
	float:none;
	width:100%;
	margin-bottom:10px;
	border-right:none;
}
.info_rec_con .infomation p {
	text-align:center;
	color:#0095cb;
}
.info_rec_con .infomation dl dt,
.info_rec_con .infomation dl dd {
	float:none;
	margin-bottom:10px;
}
.info_rec_con .infomation dl dd {
	margin-left:20px
}
.info_rec_con .rec_con {
	float:none;
	width:100%;
}
.info_rec_con .rec_con img {
	float:left;
	width:45%;
	margin: 0 2.5%;
}
/*----footer----*/
#footer {
	margin-top:0;
	width:100%;
	padding:5px 0;
	text-align:center;
}
#footer_navi {
	height:140px;
	padding-top:20px;
	/*background:url(../images/footer_bg.jpg) no-repeat center;*/
}
#footer_navi ul {
	width:90%;
	margin:0 auto;
}
#footer_navi ul li {
	float:left;
	width:33.33%;
	font-size:12px;
	line-height: 40px;
	text-align:center;
	list-style:none;
	border-left:none;
}
#footer_navi ul li:first-child {
	border-left:none;
}
#footer_navi ul li a {
	color:#6b6b6b;
}
#footer #copy{
	width:100%;
}
#footer #copy small {
	display:block;
	margin:15px auto 0;
	font-size:10px;
	color:#6b6b6b;
}

#topimage { height:180px; width: 100%; margin-bottom: 20px; background-size: cover!important;}
#machine #topimage { background:url(../machine/images/top_image_sp.jpg) no-repeat center}

/*----select----*/
.select, .select2 {
	width:90%;
	margin:0 auto 30px;
	border-top: solid 3px #0095CB;
}
.select li {
	float: left;
	list-style: none;
	width: 33.33%;
	text-align: center;
	border-right:solid 1px #0095cb;
}
.select2 li {
	float: left;
	list-style: none;
	width: 50%;
	text-align: center;
	border-right:solid 1px #0095cb;
}
.select li:last-child, .select2 li:last-child { border-right:none;}
.select li a, .select2 li a {
	display:block;
	width:100%;
	height:40px;
	font-size:12px;
	line-height: 40px;
	color: #0095cb;
	background-color: #FFF;
}
.select li a:hover, .select2 li a:hover {
	color: #FFF;
	background-color: #0095cb;
}

/*----contents----*/
.contents {
	width:90%;
	margin: 0 auto 40px;
	padding:20px 15px 30px;
	border-top: solid 3px #0095CB;
	background-color: #FFF;
}
.contents h4 {
	text-align: left;
	font-size:24px;
	margin-bottom:30px;
}
.contents h5 {
	text-align: left;
	font-size:18px;
	line-height: 30px;
	padding-top:30px;
	margin-bottom:30px;
	color: #6b6b6b;
	border-top:dashed 1px #6b6b6b;
}
.contents p { line-height:28px;}
.contents .table01 {
	border-top: solid 1px #6b6b6b;
	border-right: solid 1px #6b6b6b;
	border-left: solid 1px #6b6b6b;
}
.contents .table01 tbody {
	margin:0;
	text-align:left;
	line-height: 24px
}
.contents .table01 th {
	width:30%;
	padding:10px 0 10px 10px;
	font-weight:normal;
	background-color:#e1e1e1;
}
.contents .table01 td {
	width:70%;
	padding:10px 0 10px 10px;
}
.contents .table01 th,
.contents .table01 td {
	border-bottom: solid 1px #6b6b6b;
}
/*----recruit----*/
.box {
	padding:35px 0 0;
	border-top:dashed 1px #6b6b6b;
}
.box:last-child { border-bottom:none;}
.box .imagebox {
	float:none;
	width: 100%;
	text-align: center;
	margin-bottom:30px;
}
.box .imagebox p {
	padding:10px 0;
	font-size: 20px;
}
.box .textbox {
	float:none;
	width: 100%;
	padding: 10px 0 0;
	border-left: none;
}
dl dt {
	font-size: 15px;
	/*font-weight: bold;*/
	margin-bottom:5px;
}
dl dd {
	font-size: 14px;
}
/*----product----*/
.gallery img {
	width:30%;
	margin: 0 1% 10px;
}
.gallery img:nth-child(3n) {
	margin: 0 0% 10px;
}
/*----machine----*/
.machine_text {
	float:none;
	width:100%;
	padding:10px 0 0;
}
/*----service----*/
#service .ser_box {
	width:100%;
	margin:0 auto 30px;
	border:solid 1px #0095CB;
}
#service .ser_box:last-child {
	margin:0 auto 0;
}
#service .ser_box .ser_image {
	float:none;
	padding:0;
}
#service .ser_box .ser_image img {width:100%;}
#service .ser_box .ser_text {
	position:relative;
	height:auto;
	float:noe;
	width:100%;
	margin:0 auto;
	color:#0095CB;
	text-align:left;
	font-size:2.4em;
	border-right:none;
	border-top:solid 1px #0095CB;
	padding:15px 30px 20px;
	z-index: 0;
}
#service .ser_box .ser_text:before {
	content: "";
	width:30px;
	position: absolute;
	bottom: -26px; left: 50%;
	margin-left: -20px;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 26px 26px 0 26px;
	border-color: #fff transparent transparent transparent;
	z-index: 0;
	
}
#service .ser_box .ser_text:after {
	content: "";
	width:30px;
	position: absolute;
	bottom: -27px; left: 50%;
	margin-left: -20px;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 26px 26px 0 26px;
	border-color: #0095CB transparent transparent transparent;
	z-index: -1;
}
#service .ser_text h5 {
	width:100%;
	padding-bottom:15px;
	border-bottom:solid 1px #0095CB;
}

#service  .ser_box:nth-child(2n) > .ser_text  {color:#fff; background-color:#0095CB;}
#service  .ser_box:nth-child(2n) > .ser_text:before, #service  .ser_box:nth-child(2n) > .ser_text:after {border-color: #0095CB transparent transparent transparent;}
#service  .ser_box:nth-child(2n) > .ser_text h5 {border-bottom:solid 1px #fff;}
#service .ser_box:last-child .ser_text:before, #service .ser_box:last-child .ser_text:after {display:none;}
#service .ser_text h5 small {
	padding-left:10px;
	font-size:0.6em;
}
#service .ser_text p {
	padding:10px 0;
	line-height:2.0em;
}
#service .ser_box .ser_text:after {
	content: "";
	width:30px;
	position: absolute;
	bottom: -27px; left: 50%;
	margin-left: -20px;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 26px 26px 0 26px;
	border-color: #0095CB transparent transparent transparent;
	z-index: -1;
}
#service .ser_text p a {
	bottom:10px;
}

/*----print----*/
.detail {
	width:100%;
	float:none;
	margin: 0 auto 30px;
}
.detail img {
	width:100%;
	height:auto;
	float:none;
	margin: 0 auto;
}
.detail:nth-child(2n) {
	margin: 0 auto 30px;
}

/*----mailform----*/
#wrap_mailform {
	width:100%;
	margin:0 auto;
	padding:30px 10px;
	background-color:#fff;
	
}
.wrap_img {display:none;}
#mailbox {
	position:relative;
	width:100%;
	margin:0 auto;
	text-align:left;
}
#mailbox form {
	padding:0px 10px;
}
#mailbox form .th01 {
	font-weight:bold;
	margin-top:20px;
	margin-bottom:10px;
	padding:20px 0;
}
#mailbox form .th02 {
	width:100%;
	font-weight:normal;
	padding:20px 0;
}
#mailbox form .th03 {
	width:100%;
	font-weight:normal;
	padding:20px 0;
}
#mailbox form td {
	width:100%;
}
#mailbox form td input {
	width:100%;
}
#mailbox textarea {
	display:block;
	max-width:100%;
	width:100%;
	height:160px;
	margin:10px auto;
	padding:0;
}
#mailbox .btn {
	width:100%;
	margin:0 auto;
}
#mailbox .btn input {
	width:45%;
	height:40px;
	margin:20px 1%;
	background-color:#0095CB;
	border:none;
	color:#fff;
}
#mailbox .mail_bottom {
	padding:0;
}
#mailbox table, #mailbox tbody, #mailbox tr, #mailbox th, #mailbox td {
    display: block;
}

#mailbox form td input { width: 97%;}

/*----company----*/
.li_box {
	float:none;
	width: 100%;
	margin: 0 0 30px;
	border: solid 1px #0095cb;
}
.li_box:nth-child(3n) {
	margin: 0 0 15px 0;
}
.li_box dl {
	position:relative;
	padding: 15px 20px;
}
.li_box a {
	position:absolute;
	bottom:10px;
	right:10px;
    font-size: 12px;
    line-height: 22px;
	color:#FFF;
    background-color: #0095CB;
    border-radius: 2px;
}
.li_box .block {
	position:inherit;
}
.li_box a img {
	width:100%;
	height:auto;
}
.youtube-container {
  position: relative;
  padding-bottom: 50%;
  padding-top: 20px;
  margin-bottom:40px;
  height: 0;
  overflow: hidden;
}
.youtube-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.pc {display: none;}
.sp {display: inherit;}
}