@charset "utf-8";
/* ヘッダー*/
#header{
	background-color: #ffffff;
	padding: 1rem ;
	transition: all .3s;
  	width: 100%;
  	top: 0;
  	z-index: 1000;
}
.header_in{
	margin: 0 auto;
	padding: 0;
}

#header .logo{
	float: left;
	margin-top: 1rem;
}

#header .logo img{
	margin: 0;
	padding: 0;
	float: left;
	margin-bottom: 1em;
}

/*お問い合わせボタン*/
#header p a{
	padding: 1em;
	padding-left: 4em;
	border-radius: 8px;
	background-color: #005E3C;
	color: #ffffff;	
	font-size: 1em;
	background-image: url("../img/UI/mail.png");
	background-repeat: no-repeat;
	background-position: left;
	transition: all .3s;
}

#header p a:hover{
	background-color: #018D44;
}

/* 上のメニュー　*/
#g-nav{
    position:fixed;
    z-index: 999;
  top:-120%;
    left:0;
  width:100%;
    height: 100vh;
  background:#005E3C;
  transition: all 0.6s;
}

#g-nav.panelactive{
    top: 0;
}

#g-nav.panelactive .gnavi_wrap{
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
	width: 100%;
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav li{
  list-style: none;
    text-align: center;
	margin-bottom: 0.5em;
}

#g-nav li a{
  color: #ffffff;
  text-decoration: none;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

#g-nav li ul{
	position: relative;
	margin:  0;
	margin-top: 1.5em;
	padding: 0;
}

#g-nav li ul li{
}

/*スマホ用メニューボタン*/
.openbtn1{
  position:fixed;
    z-index: 9999;
  top:10px;
  right: 10px;
  cursor: pointer;
    width: 80px;
    height:80px;
}
   
.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  background-color: #666;
    width: 45%;
  }

.openbtn1 span:nth-of-type(1) {
  top:15px; 
}

.openbtn1 span:nth-of-type(2) {
  top:23px;
}

.openbtn1 span:nth-of-type(3) {
  top:31px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
	background-color: #ffffff;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
	background-color: #ffffff;
}

/* 下のメニュー　*/
#footer{
	clear: both;
	background-color: #008D43;
	margin: 0 auto;
}

#footer a{
	color:#FFFFFF;
	padding: 6px;
}

#footer a:hover{
	text-shadow: #ffffff 0 0 10px;
}

#footer-in{
	padding: 1em;
	list-style: none;
	margin: 0;
	display: flex;
}

#footer-in_L{
	margin-right: 1em;
	width: 100%;
}

#footer-in_L small{
	font-size: 1em;
	color: #FFFFFF;
	line-height: 0;
	margin: 0;
	padding: 0;
}
#footer-in_navi{
	width: 100%;
	display: flex;
	padding: 0;
	margin: 0;
	list-style: none;
}

#footer-in_navi ul{
	list-style: none;
	display: flex;
	padding: 0;
	margin: 0;
}
#footer-in_navi ul li{
	margin: 0;
	margin-right: 2em;
	padding: 0;
}
#footer-in_navi ul li a{
	padding: 0;
	margin: 0;
	position: relative;
	display: flex;
    color: #fff;
    text-decoration: none;
    transition: all .3s;
}

#footer-in_navi ul li ul{
	display: block;
	padding: 0;
	margin-left: 2em;
	margin: 0;
}

#footer-in_navi ul li ul li{
	display: block;
	padding: 0;
	margin: 0;
}
#footer-in h1 {
	line-height: 0.6em;
}

#footer-in h1 .sub_tec{
	padding: 0;
	margin: 0;
	font-size: 0.5em;
	margin-left: 6em;
}
/*ヒストリーページ*/
#history_menu{
	display: none;
	clear:  both;
	width: 100%;
    margin: 0 auto;
	background-color: rgba(255,255,255,0.8);
	position: fixed;
	bottom: 0;
}

#history_menu ul{
    display: flex;
	list-style: none;
	max-width: 100%;
}
#history_menu ul li{
	width:  20%;
	margin: 2em 0;
	padding: 0 1em;
    position: relative;
	border-right: #ccc solid 1px;
    transition: all .3s;
}

#history_menu ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #070707;
    font-size: 1em;
    letter-spacing: 0.05em;
	padding: 2em;
    transition: all .3s;
	margin: 0 auto;
}

#history_menu ul li a:hover{
	background-color: rgba(195,233,175,0.5);
}

.scroll-space{
  box-sizing: border-box;
  padding-top: 300px;
  height: 1600px;
  color: #fff;
	overflow: hidden;
}

.fadein {
    opacity: 0;
    transform: translate(0,0);
    transition: all 1.5s;
  &.fadein-bottom{
      transform: translate(0,30px);
  }
  &.scrollin{
    opacity: 1 !important;
    transform: translate(0, 0) !important;
  }
}