@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;
}

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

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

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


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

#header h1{
	padding-top: 2px;
	font-size: 1.2em;
}

#mainnav a{
	color: #000;
}

/*#mainImg{
	position: relative;
  overflow: hidden;
  width: 100%;
  height: 528px;
}

#mainImg img{
	position: absolute;
  left: 50%;
	max-width: 1280px;
  width: 1280px;
  height: 528px;
  margin-left: -640px;
}
*/
.news{
	background:#ccc;
/*	padding:10px 0;*/
}

.innerS_news{
	width: 60%;
	margin:0.1% auto;
	border-left:1px solid #000;	
}

.inner_news p{
	margin-left:10px;
}

.whatnews{
	font-weight:bold;
	font-size:1.2em;
	line-height:1em;
}

/*代表あいさつ*/

.flex{
	display:flex;
	flex-direction:row;
	justify-content:center;
}

.flex li{
	width:50%;
	padding: 0 1.5%;}



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


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

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

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

section h2{
	font-family: 'Pacifico', cursive;
	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: 80px;
}




 
h3 span {
  border-bottom: solid 3px #f06931;
  position: relative;
}

h3 span:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #ed2734;
  bottom: -3px;
  width: 30%;
}

h3 span{
	font-weight: normal;
	font-size: 1.3em;
}


/*トップに戻るボタン*/
#page_top{
  width: 90px;
  height: 90px;
  position: fixed;
  right: 0;
  bottom: 0;
  background:rgba(234,239,248,0.80);
  border-radius: 50%;
}
#page_top a{
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
}
#page_top a::before{
  font-family: FontAwesome;
  content: '\f102';
  font-size: 25px;
  color: #686868;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
#page_top a::after{
  content: 'PAGE TOP';
  font-size: 13px;
  color: #686868;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}


/*スタッフ紹介
------------------------------------------------------------*/

.staff{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
 justify-content: left;
width: 100%;
}

.staff{
	font-size: 0.9em;
}

.staff ul{
	widt:45%;
	margin: 2%;
	padding: 2%　;
	text-align: center;
}

.staff > *{
  min-width: 8%;
  flex-basis: 45%;
  background: #fff;
  text-align: center;
}



/*取扱商品
------------------------------------------------------------*/


.products{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
 justify-content: center;
width: 100%;
}

.products{
	font-size: 0.9em;
}

.products ul{
	widt:33%;
	margin: 2%;
	padding: 2%　;
	border: 1px solid #C9C9C9;
	text-align: center;
}

.products > *{
  min-width: 8%;
  flex-basis: 25%;
  background: #fff;
  text-align: center;
}


/*お問い合わせボタン*/
.btn-square {
  display: inline-block;
  padding: 1em 4em;
  text-decoration: none;
  background:#BDC6D2;/*ボタン色*/
  color: #474545;
  border-bottom: solid 4px #627295;
  border-radius: 5px;
text-align: center;
	font-size: 1.2em;
}
.btn-square:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);/*下に動く*/
  border-bottom: none;/*線を消す*/
}




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

#gallery_ header{
	display: none;
}

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

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


/* SEC03 PROJECT
------------------------------------------------------------*/
#sec03 img{
	width: 100%;
	margin-bottom: 30px;
}


/* SEC04 BRAND
------------------------------------------------------------*/
.col3 img{
	display: block;
	margin: 0 auto 5px;
}

.col3 li{
	line-height: 2.0;
}

.col3 .img{
	padding: 80px 50px;
	margin-bottom: 40px;
	line-height: 0 !important;
	background: #f6f6f6;
}

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

#sec04_02 img{
	width: auto;
}


/*  COMPANY
------------------------------------------------------------*/
#company p{
	margin-bottom: 5px;
}

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

#sns img{
	padding: 35px 10px 5px 0;
}

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

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

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



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

/*1200px以上*/
@media only screen and (min-width: 1200px){
	.inner{
		width: 1024px;
	}
	
	
	#header{
		position:fixed;
		margin:0 auto;
		background-color:rgba(234,239,248,0.80);
		width:100%;
		z-index: 500;
		}
	
	#mainwrap{
		padding-top:80px;
		}
		
	#ouer{
		margin-top:-400px;
		padding-top:400px;
}

	#service{
		margin-top:-300px;
		padding-top:300px;
}

	#shop{
		margin-top:-300px;
		padding-top:300px;
}


 	#recruit{
		margin-top:-300px;
		padding-top:300px;
}

	#company{
		margin-top:-300px;
		padding-top:300px;
}

	
}

/*800px以上*/
@media only screen and (min-width: 800px){
	body{
		font-size:14px;
	}
	
	#mainwrap{
		padding-top:80px;
		}
	
  a#menu{
		display:none;
	}	

	.panel{
		display:block !important;
	}
	
	

	#mainnav li{
		display: inline-block;
		padding: 10px 25px;
		font-size: 15px;
	}
	
	
	#ouer{
		margin-top:-100px;
		padding-top:100px;
}
	
	#shop{
		margin-top:-100px;
		padding-top:100px;
}

	#service{
		margin-top:-100px;
		padding-top:100px;
}
	
	#recruit{
		margin-top:-100px;
		padding-top:100px;
}

#company{
		margin-top:-100px;
		padding-top:100px;
}

	
	
	/* 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: 98% !important;
		left: 2%;
	}
	#sec04_02{
		padding: 50px 20px;
	}
}

@media only screen and (max-width:799px){
	#header{
		position:fixed;
		width:100%;
		z-index:400;
	}
	
	
	#mainwrap{
		padding-top:80px;
		}
	
	#headerWrap{
		position: relative;
		width: 100%;
		height: 70px;
		background: #fff;
		border-bottom: 1px solid #ccc;
	}
	
	#header h1{
		padding-top: 5px;
	}
	
	#header h1 img{
		margin-top: 3px;
		max-height: 50px;
		width: auto !important;
	}

  a#menu{
  	display: inline-block;
  	position: relative;
  	width: 35px;
  	height: 35px;
  	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;
		font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
		
	}

	#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{
		/*z-index: -100;*/
	}
	
	
	
	.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;
	}
}