@charset "UTF-8";

/*================================================
 *  CSSリセット
 ================================================*/
p,h1,h2,h3,h4,h5,h6 {
  margin-top: 0;
}

section {
  margin: 0;
  padding: 0;
}

/*================================================
 *  一般・共通設定
 ================================================*/
body {
margin: 0;
padding:0;
background-color: #ffffff;
color: #092975;
font-size:16px;
font-family:"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
line-height:1.8;
}

img {
  vertical-align: bottom;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
    color:#0B318F;
    text-decoration: none;
	}

a:hover {
    color:#0B318F;
    border-bottom: 3px solid #a869be;
	}

p {
    margin:0 0 1em 0;
	}

h1{
  font-weight: bold;
  font-size: 18px;
}

h2,h3{
  font-size: 16px;
  font-weight: bold;
}



/******ヘッダーメニュー******/

header{
    position: fixed;
	width:100%;
	height:110px;
    background-color: #ffffff;
	box-shadow:0px 2px 2px rgba(0,0,0,0.7);
	z-index:1;
	top: 0;
    padding-top: 5px;
    color:#FFFFFF;
	}

nav {
    width: 1000px;
    height: auto;
    margin: 0 auto;
}

.logo {
  float: left;
  margin-top: 15px;
}

.global-nav {
  float: right;
  margin-top: 60px;
}

.global-nav li {
  float: left;
  margin: 0 30px;
  font-size:16px;
}

.obi {
  background-color:#DFEBF5;
  width:100%;
  height:50px;
  margin-top:0px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/******TOP・工場見学のスライダー部分******/
.slider {
  width: 100%;
  height: auto;
  margin: 0 auto;
  top: 110px;
  position: absolute;
}

.container2 {
  	margin:180px auto 0;
	width:1000px;
    height: auto;
    background-color:#ffffff;
	}


/******会社概要・お問い合わせのヘッダー画像******/
.container-g {
  	margin:110px auto 0;
	width:100%;
    height: auto;
    background-color:#ffffff;
	}

.about_head {
  width: 100%;
  height: auto;
  margin: 110px auto 10px;
  padding: 0;
}

.f {
  clear: both;
}

section {
  width: 1000px;
  margin: 0 auto;
  height: auto;
}


.obi2 {
  width:100%;
  height:auto;
  margin-top:150px;
  text-align:center;
}

.obi2 img {
  width: 100%;
  height: auto;
}


/******メイン******/

.container {
  	margin:10px auto 0;
	width:1000px;
    height: auto;
    background-color:#ffffff;
	}

.index-text {
	width:100%;
    height: auto;
    padding:30px 0 20px;
	}




.index-3p {
  width: 100%;
  margin: 30px auto 100px;
}

.index-3p li {
  float: left;
}

.index-3p a:hover {
  color:#ffffff;
  border-bottom: 1px solid #ffffff;
}

.index-3p-img {
  padding: 0 50px;
}

.cl {
  clear: both;
}



section img {
  width: 100%;
  height: auto;
}


/******2カラム******/
.index-text-l {
	width:55%;
    height: auto;
	float:left;
    margin: 0;
    padding:0px 5px 10px;
	}

.index-text-r {
	width:35%;
    height: auto;
  	float:right;
	font-size:14px;
    margin: 0;
    padding:0px 5px 10px;
	}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}



/******工場見学ページ******/
article {
  width: auto;
  height: 350px;
  margin: 10px 0;
  padding: 20px;
  background-color: #F3F7FB;
}
  
article img {
  width: 350px;
  height: auto;
}


.left {
  float: left;
  margin-right: 2em;
  margin-bottom: 1em;
  width:320px;
  height:auto;
  border:none;
}

.right {
  float: right;
  margin-left: 2em;
  margin-bottom: 1em;
  width:320px;
  height:auto;
  border:none;
}



/******お問い合わせ******/
.index-text-c {
	width:100%;
    height: auto;
    margin: 0;
    padding:0px 5px 10px;
}

iframe {
  border-style:none;
}


/******footer******/
footer{
    margin-top:10px;
	width:100%;
	height:350px;
  	background-image: url(footer.jpg);
    background-position:bottom;
	background-repeat:repeat-x;
	position: absolute;
	}

.footer-innner{
	width:1000px;
	margin:0 auto;
	padding:20px;
    text-align: center;
	}

small {
    font-size: 14px;    
	}



/******ページトップへ（スクロール）******/
.pagetop {
  position: fixed;
  bottom: 30px;
  right: 55px;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: scale(0.3);
  -moz-transform: scale(0.3);
  -ms-transform: scale(0.3);
  -o-transform: scale(0.3);
  transform: scale(0.3);
  -webkit-transition: all .4s;
  -moz-transition: all .4s;
  -o-transition: all .4s;
  transition: all .4s;
}
.pagetop a {
  display: block;
  width: 50px;
  height: 50px;
  background-color: #a869be;
  text-align: center;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  line-height: 50px;
}
.pagetop.show {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}




/******モバイルに対応！******/
@media screen and (max-width:600px){
  /* 画面サイズが600px以下の場合に適用 */

  body {
    font-size: 3.5vw;
  }
  
  h1 {
    font-size: 7.2vw;
  }
  
  h2,h3,h4 {
    font-size: 6vw;
  }
  
  header {
    position: relative;
    height: auto;
	width:100%;
	box-shadow:none;
  }
  
  header img {
    width: auto;
    width: 60%;
    height: auto;
  }
  
 nav {
    width: 100%;
    height: auto;
    margin: 0;
}

  .logo {
    float: none;
  }
  
  .global-nav {
    width: auto;
    float: none;
    margin-top: 20px;
  }
  
  .global-nav li {
    float: none;
    margin-top: 10px;
  }
  
  .slider {
    width: 100%;
    margin-top: -50px;
    padding: 0;
    position: relative;
  }
  
  .container {
    width: 100%;
    margin:0px;
    height: auto;

  }
  
  .index-text {
    width: auto;
    padding: 10px;
  }
  
  .index-3p li {
    float: none;
    margin-top: 60px;
    text-align: center;
  }
  
  .index-3p-img {
    padding: 0;
  }
  
  
  img {
    width: 100%;
  }
  
  section {
    width: 100%;
  }
  
  .index-text-l {
	width:auto;
    height: auto;
	float:none;
    margin: 0;
	}
  .index-text-l img {
    width: 100%;
    height: auto;
  }

  .index-text-r {
	width:auto;
    height: auto;
  	float:none;
	font-size:14px;
    margin: 0;
	}
  .index-text-r img {
    width: 100%;
    height: auto;
  }

.left {
  float: none;
  margin-right: 0;
  margin-bottom: 1em;
  width:100%;
  height:auto;
  border:none;
}

.right {
  float: none;
  margin-left: 0em;
  margin-bottom: 1em;
  width:100%;
  height:auto;
  border:none;
  }
  
  .about_head {
    width: auto;
    margin-top: 0;
  }
  
  .index-text-c {
	width:auto;
}

  article {
    width: auto;
    height: auto;
    margin: 10px 0;
  }
  
  article img {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .container-g{
    margin: 0;
    width: auto;
  }
  
  .container2 {
    margin: 0;
    width: auto;
  }
  
  footer {
    margin-top:10px;
	width:100%;
	height:150px;
   	background-image: url(footer_mob.jpg);
    background-size:contain;
  }
  
.footer-innner{
	width:auto;
	margin:0 auto;
	padding-top:20px;
    text-align: center;
	}

 section img {
  width: auto;
  height: auto;
}

img .pcOnly {
    display: none !important;
}
img .spOnly{
    display: block !important;
    width: 100%;
    height: auto;
	}
	[data-titletype]{
		margin-left: 0;
		margin-right: 0;
	}

}


.pcOnly {
  display: block !important;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

.spOnly {
	display: none !important;
}