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

/* 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;
	min-height: 100vh;
}

a{
	color: #000;
	text-decoration: underline;
}

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

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


/* ヘッダー
------------------------------------------------------------*/
#header{
	text-align: center;
}

#header h1{
	padding-top: 50px;
}
#mainnav a{
	color: #000;
	text-decoration: none;
	font-weight: 400;
}
#mainnav a:hover{
 color:#6495ed;
}
#mainImg{
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 528px;
}
#mainImg p {
  position: absolute;/*絶対配置*/
  color: #000;
  font-weight: bold; /*太字に*/
  font-size: 4em;/*サイズ2倍*/
  text-align:center;
  line-height:1em;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
	
}
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

#mainImg img{
  position: absolute;
  left: 50%;
  max-width: 1280px;
  width: 1280px;
  height: 528px;
  margin-left: -640px;
}
#subImg{
  position: relative;
  overflow: hidden;
  width: 60%;
  margin: 0 auto;
  padding-bottom: 10px;
}
#subImg p {
  position: absolute;/*絶対配置*/
  color: #FFF;
  font-weight: 400; /*太字に*/
  font-size: 1.6em;/*サイズ2倍*/
  line-height:2em;
  top: 45%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  white-space: nowrap;
  letter-spacing:0.5em;
}
/* フッター
------------------------------------------------------------*/
footer{
	clear: both;
	padding: 20px 50px 20px 50px;
	text-align: center;
	font-size: 10px;
	background-color: #E5E5E5;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}
footer a {
  color: #000;
  text-decoration: none;
}
footer a:hover {
  color: #6495ed;
	text-decoration: none;
}
footer hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #747474;
}
.footer__navi {
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.footer__navi li {
  display: inline-block;
}
.footer__navi li:not(:last-child) {
  margin-right: 16px;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 0.5rem;
}
.footer__social a {
  display: inline-block;
  width: 24px;
  opacity: 0.7;
}

.footer__social a:not(:last-child) {
  margin-right: 16px;
}

@media (min-width: 768px) {
  .md-flex {
    display: flex;
  }

  .md-justify-between {
    justify-content: space-between;
  }

  .copyright {
    text-align: left;
  }
}
@media (min-width: 768px) {
  .md-flex {
    display: flex;
  }

  .md-justify-between {
    justify-content: space-between;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md-flex {
    display: flex;
  }

  .md-justify-between {
    justify-content: space-between;
  }

  .copyright {
    text-align: left;
  }
}


/* 共通
------------------------------------------------------------*/

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

section{
	clear:both;
	padding-top: 50px;
}

section h2{
	font-family: 'Times New Roman', cursive, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	width: 60%;
	margin: 0 auto 40px;
	font-size: 22px;
	font-weight:normal;
	text-align: center;
	background: url(../images/borderBlack.png) repeat-x 0 50%;
	background-size: 1px 1px;
}

section h2 span {
	background: #fff;
	padding: 0 80px;
}

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

.innerS{
	width: 60%;
	margin: 0 auto;
	padding-bottom: 50px;
}

/* SEC02 Gallery
------------------------------------------------------------*/
#sec02{
	padding: 0 !important;
}

#sec02 header{
	display: none;
}

#gallery li{
	float: left;
	width: calc(100%/3);
	line-height: 0;
}

#gallery img{
	width: 100%;
	height: auto;
}

/* SEC03 工場
------------------------------------------------------------*/
#sec03 img{
	width: 100%;
}
#gallery2 li{
	float: left;
	width: calc(100%/3);
	line-height: 0;
}

#gallery2 img{
	width: 100%;
	height: auto;
}
/* SEC04 認証取得
------------------------------------------------------------*/
.col3 img{
	display: block;
	margin: 0 auto 5px;
}

.col3 li{
	line-height: 2.0;
}

.col3 .img{
	padding: 30px 30px;
	margin-bottom: 0px;
	line-height: 0 !important;
	background: #fff;
}

#sec04_02{
	background: url(../images/bgSec04.jpg) no-repeat 100% 100% fixed;
	background-size: cover;
	-webkit-background-size: cover;
	text-align: center;
	padding: 150px 20px;
}

#sec04_02 img{
	width: auto;
}


/* SEC05 会社概要
------------------------------------------------------------*/
#sec05 p{
	margin-bottom: 5px;
}

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

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

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



/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 1200px){
	.inner{
		width: 1024px;
	}
}

@media only screen and (min-width: 800px){
	body{
		font-size:14px;
	}
	
  a#menu{
		display:none;
	}	

	.panel{
		display:block !important;
	}

	#mainnav li{
		display: inline-block;
		padding: 50px 25px;
		font-size: 18px;
	}
	
	/* SEC03 PROJECT
	-----------------*/
	.col3{
		text-align: center;
	}

	.col3 li{
		display: inline-block;
		width: 28%;
		padding: 0 2.5% 50px;
		margin-bottom: 0;
		vertical-align: top;
		text-align: left;
	}
	
  #footer{
		padding: 30px 10px 70px 0;
	}
}


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

@media only screen and (max-width: 640px){
	.innerS{
		width: 94%;
		padding-bottom: 70px;
	}
	.col3 li{
		line-height: 1.7;
	}
	.col3 img{
		margin: 0 auto;
	}
	.col3 .img{
		padding: 30px;
		margin-bottom: 20px;
	}
	#gallery li{
		float: none;
		width: 100%;
	}
	#map iframe{
		width: 96% !important;
		left: 2%;
	}
	#sec04_02{
		padding: 50px 20px;
	}
	#subImg{
		width: 94%;
}
	#subImg p{
		font-size:1em;
		position: absolute;/*絶対配置*/
		top: 40%;
        left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  letter-spacing:0;
}
}
@media only screen and (max-width: 799px){
	#header{
		position: fixed;
		width: 100%;
		z-index: 500;
	}
	
	#headerWrap{
		position: relative;
		width: 100%;
		height: 70px;
		background: #fff;
		border-bottom: 1px solid #ccc;
	}
	
	#header h1{
		padding-top: 10px;
	}
	
	#header h1 img{
		margin-top: 3px;
		max-height: 45px;
		width: auto !important;
	}

  a#menu{
  	display: inline-block;
  	position: relative;
  	width: 40px;
  	height: 40px;
  	margin: 10px;
	}

	#menuBtn{
  	display: block;
  	position: absolute;
  	top: 60%;
  	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: 0;
		z-index: 100;
	}

	#mainnav{
		position: absolute;
		top: 0;
		width: 100%;
		text-align: right;
		z-index:500;
	}

	#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);
	}
	#mainImg{
		padding-top: 60px;
		z-index: -100;
	}
	#mainImg p {
  position: absolute;/*絶対配置*/
  color: #000;
  font-weight: bold; /*太字に*/
  font-size: 2.5em;/*サイズ2倍*/
  white-space: nowrap;
}
	
	.col3 li{
		margin: 50px auto 0 auto;
		display: block;
	}
	section{
		padding-top: 50px;
	}
	section h2{
		margin: 0 auto 20px;
	}
	section h2 span {
		padding: 0 30px;
	}
}
/*------会社概要------*/
.company{
	line-height: 1.6;
	font-size:0.88em;
}
.company th{
	width: 25%;
	vertical-align: top;
	color:#6495ed;
	font-weight: 500;
	
}
.company td{
	width: 75%;
}
.company li{
	margin:5px 0;
	width: 100%;
}
/*--------------工場システムフロー----------------*/
.flow ul {
    padding: 0;
}
.flow li {
    list-style-type: none;
}
.flow dd {
    margin: 0;
}
.flow {
  margin-top: 50px;
  margin-bottom: 30px;
  padding-left: 140px;
  position: relative;
}
.flow::before {
  content: "";
  width: 1px;
  height: 100%;
  background: #000;
  margin-left: -1px;
  display: block;
  position: absolute;
  top: 0;
  left: 150px;
}
.flow > li {
  position: relative;
}
.flow > li:not(:last-child) {
  margin-bottom: 5vh;
}
.flow > li .icon {
    font-size: .8em;
    background: #e6e6fa ;
    padding: 10px 0px 10px 0px;
    display: block;
    position: absolute;
    left: -140px;
    z-index: 100;
	width:120px;
	text-align: center;
	border-radius:20px;
}
.flow > li .icon::after {
  content: "";
  border-style: solid;
  border-width: 5px 0 5px 10px;
  border-color: transparent transparent transparent #e6e6fa ;
  position: absolute;
  top: 50%;
  left: 100%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.flow > li dl {
  padding-left: 70px;
  position: relative;
}
.flow > li dl::before,
.flow > li dl::after {
  content: "";
  display: block;
  position: absolute;
  top: 20px;
}
.flow > li dl::before {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  background: #6495ed ;
  border-radius: 50%;
  left: 6px;
}
.flow > li dl::after {
  width: 40px;
  border-bottom: 1px dashed #c0c0c0 ;
  position: absolute;
  left: 20px;
}
.flow > li dl dt {
  font-size: 1.2em;
  font-weight: 500;
  color: #6495ed  ;
  margin-bottom: 1vh;
}
.timeline {
  list-style: none;
  font-size:0.88em;
}
.timeline > li {
  margin-bottom: 60px;
}
@media (min-width: 640px) {
  /* これからここにデスクトップ用のCSSを記述します */
}
.timeline > li {
  overflow: hidden;
  margin: 0;
  position: relative;
}
.timeline-date {
  width: 130px;
  float: left;
  margin-top: 0px;
  color: #6495ed  ;
  font-weight: 500;
}
.timeline-content {
  width: 75%;
  float: left;
  border-left: 3px #e6e6fa solid;
  padding-left: 20px;
}
/*アニメーション要素のスタイル*/
.animation{
	opacity : 0;
	visibility: hidden;
	transition: 0.6s;
	transform: translateY(40px);
	text-decoration: none;
}

/*アニメーション要素までスクロールした時のスタイル*/
.active{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.recruitment {
  list-style: none;
  font-size:1em;
}
.recruitment > li {
  margin-bottom: 60px;
}
@media (min-width: 640px) {
  /* これからここにデスクトップ用のCSSを記述します */
}
.recruitment > li {
  overflow: hidden;
  margin: 0;
  position: relative;
	margin-bottom: 20px;
}
.recruitment-item {
  width: 150px;
  float: left;
  margin-top: 0px;
  color: #6495ed  ;
  font-weight: 500;
  font-size:1.1em;
}
.recruitment-content {
  width: 80%;
  float: left;
  border-left: 1px  solid;
  padding-left: 20px;
}
h3{
	background-color:#e6e6fa;
	margin: 20px 0 20px 0;
	text-align: center;
	font-size:1.1em;
	padding: 5px;
	letter-spacing:0.5em;
}
.flow12 {
	margin: 0;
	padding: 0;
}
.flow12 > li {
	list-style-type: none;
	position: relative;
    padding-bottom: 50px;
	display: flex;
	align-items: flex-start;
}
.flow12 > li:nth-of-type(even)::after {
	content: "";
	position: absolute;
	left: 50px;
	top: 0;
	width: 0;
    height: 100%;
	border-left: 3px dotted #e6e6fa;
}
.flow12 > li:nth-of-type(odd)::before {
	content: "";
	position: absolute;
	left: 50px;
	top: -40px;
	width: 20%;
	height: 40px;
}
.flow12 > li:nth-of-type(odd)::after {
	content: "";
	position: absolute;
	left: 50px;
	top: 50px;
	width: 20%;
	height: calc(100% - 50px);
	border-left: 3px dotted #e6e6fa;
}
.flow12 > li:first-of-type::before, .flow12 > li:last-of-type::after {
  content: unset;
}
.flow12 > li dl {
	display: inline-block;
	vertical-align: top;
	width: calc(100% - 130px);
}
.flow12 > li .icon12 {
	display: inline-block;
	margin: 0 10px;
	width: 80px;
	height: auto;
	margin-right: 20px;
	text-align: center;
	font-weight: 500;
	vertical-align: middle;
	font-size: 2em;
	line-height: 80px;
	background: #6495ed;
	color: #fff;
	border-radius: 100vh;
	position: relative;
	z-index: 1;
}
.flow12 > li dt {
	display: inline-block;
	margin: 1rem 0 0.5rem;
	font-size: 1.5em;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: .1em;
	color:  #6495ed;
}
.flow12 > li dd {
	max-width: 550px;
	margin: 0;
	line-height: 2;
}

@media screen and (min-width: 960px) {
	.flow12 > li:nth-of-type(even) {
		margin-left: 20%;
		padding-top: 20px;
	}
	.flow12 > li:nth-of-type(odd)::after {
		border-bottom: 3px dotted #e6e6fa;
	}
	.flow12 > li:nth-of-type(odd)::before {
		border-top: 3px dotted #e6e6fa;
		border-left: 3px dotted #e6e6fa;
	}
	.flow12 > li:nth-of-type(even)::after {
		height: calc(100% - 40px);
	}
}
/*ニュース*/
.info {
  -webkit-overflow-scrolling: touch;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  display: -webkit-box;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  max-width: 700px;
  height: 13em;
  margin: 0 auto;
  overflow-y: scroll;
}

@media (min-width:768px) {
  .info {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    flex-wrap: wrap
  }
}

.info dd,
.info dt {
  box-sizing: border-box;
  width: 100%;
  padding-bottom: .5em;
  padding-left: .5em
}

.info dt {
  font-style: normal;
  font-weight: initial
}

@media (min-width:768px) {
  .info dt {
    width: 12.5em;
    margin-bottom: .5em;
    border-bottom: 1px dotted #343a40
  }
}

.info dt:first-of-type {
  padding-top: .5em;
  border-top: 1px dotted #343a40
}

.info dt time {
  margin-right: .5em
}

.info dt span {
  box-sizing: border-box;
  display: inline-block;
  width: 7em;
  margin-right: .5em;
  padding: 0 .5em;
  background-color: #6495ed;
  color: #fff;
  font-size: .8em;
  line-height: 1.75;
  text-align: center
}

.info time {
  color: #adb5bd
}

.info dd {
  margin-left: 0;
  margin-bottom: .5em;
  border-bottom: 1px dotted #343a40
}

@media (min-width:768px) {
  .info dd {
    width: calc(100% - 12.5em)
  }
  .info dd:first-of-type {
    padding-top: .5em;
    border-top: 1px dotted #343a40
  }
}

.info dd:nth-of-type(-n+3) {
  position: relative
}