@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: clamp(14px,2.2vw,18px)/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
	font-weight: 300;
	-webkit-text-size-adjust:80%;
	overflow-x: hidden;
	color: #2f4f4f;
	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: left;
}

#header h1{
	padding-top: 60px;
}

#mainnav a{
	color: #2f4f4f;
}

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


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


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

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

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

section h2{
	font-family: 'ヒラギノ角ゴ ProN W3', cursive;
	width: 60%;
	margin: 0 auto 40px;
	font-size: clamp(30px,5vw,40px);
	font-weight:bolder;
	text-align: center;
	background: url(../images/borderWhite.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: 20px;
}

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

section h3{
	font-family: 'ヒラギノ角ゴ ProN W3', cursive;
	width: 60%;
	margin: 0 auto 40px;
	font-size: clamp(30px,5vw,40px);
	font-weight:bolder;
	text-align: center;
	background: url(../images/borderWhite.png) repeat-x 0 50%;
	background-size: 1px 1px;
}

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

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

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

section h4{
	font-family: 'ヒラギノ角ゴ ProN W3', cursive;
	width: 50%;
	margin: 0 auto;
	font-size: clamp(25px,5vw,30px);
	font-weight:bolder;
	text-align: center;
	padding-bottom: 0;
}

.innerB{
	width: 80%;
	margin: 0 auto;
	font-size: clamp(18px,2.2vw,25px);
	font-weight:bolder;
	text-align: center;
	padding-bottom: 0;
	margin-top: 0;
}

p {
	font-size: clamp(14px,2.2vw,18px);
	font-weight:　none;
	text-align: center;
  }

/* SEC03 COMPANY
------------------------------------------------------------*/
#sec03 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: 75%;
	height: 0;
	overflow: hidden;
	z-index: 0;
}

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

/* SEC04 RECRUIT
------------------------------------------------------------*/
.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: #fff;
}

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

#sec04_02 img{
	width: auto;
}

/* SEC05 CONTACT
------------------------------------------------------------*/
form {
	width: 50%;
	margin: 0 auto;
	min-width: 9rem;
  }
	
  input, textarea {
	float: left;
	width: 100%;
	max-width: 100%;
	border: solid 1px green;
	margin: 0.5rem 0;
	padding: 0.5rem 1rem;
	border-radius: 0.3rem;
	background: darken(lch(77.08% 17.34 150.38), 10%);
	color: darken(#f9f9f9, 50%);
	
	&[type=submit] {
	  background: green;
	  color: #fff;
	  width: auto;
	  float: right;
	}
  
	&::placeholder {
	  color: darken(#f9f9f9, 50%);
	}
  
	&.error {
	  background: red;
	  color: #fff;
	  &::placeholder {
		color: darken(red, 60%);
	  }
	}
  }
  textarea {
	height: 10rem;
  }
  .captcha {
	float:left;
	input {
	  float: right;
	}
	input[name=question] {
	  width: 4rem;
	  border-top-right-radius: 0;
	  border-bottom-right-radius: 0;
	  text-align: right;
	  padding-right: 0;
	}
	[name=captcha] {
	  width: 5rem;
	  border-top-left-radius: 0;
	  border-bottom-left-radius: 0;
	  padding-left: 0.5rem;
	  &::placeholder {
		text-align: center;
	  }
	}
  }

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

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

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

	.panel{
		display:block !important;
	}

	#mainnav li{
		display: inline-block;
		padding: 50px 25px;
		font-size: 16px;
	}
	
  #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;
	}
}

@media only screen and (max-width: 799px){
	#header{
		position: fixed;
		width: 100%;
		z-index: 500;
	}
	
	#headerWrap{
		position: relative;
		width: 100%;
		height: 70px;
		background: #fff;
	}
	
	#header h1{
		padding-top: 10px;
	}
	
	#header h1 img{
		margin-top: 3px;
		max-height: 45px;
		width: auto !important;
	}

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

	  #menuBtn {
		display: block;
		position: relative;
		top: 50%;
	    left: 50%;
		width: 24px;
		height: 2px;
		background: #046257;
		transition: 0.3s;
		margin: 0 auto;
	}
	
	#menuBtn::before,
	#menuBtn::after {
		content: "";
		position: absolute;
		width: 24px;
		height: 2px;
		background: #046257;
		transition: 0.3s;
		left: 0;
	}
	
	#menuBtn::before {
		top: -8px;
	}
	
	#menuBtn::after {
		top: 8px;
	}
	
	#menuBtn.close {
		background: transparent;
	}
	
	#menuBtn.close::before {
		transform: rotate(45deg);
		top: 0;
	}
	
	#menuBtn.close::after {
		transform: rotate(-45deg);
		top: 0;
	}

	.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: hsl(150, 63%, 77%);
		text-align: left;
	}

	#mainnav li a{
		position: relative;
		display:block;
		padding:15px 25px;
		border-bottom: 1px solid #ccc;
		color: #fff;
		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 #0a7507;
		border-right: solid 2px #0a7507;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	#mainImg img{
		position: relative;
		width: 100%;
		height: auto;
		margin: 0 auto 0;
        left: auto;
		min-width: 100%;
		display: block;
	}
	.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;
	}
	section h3 span {
		padding: 0 25px;
	}
}