@charset "UTF-8";
/* CSS Document */

/*レイアウトCSS*/

main {
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header h1 {
    width: 35%;
    box-sizing: border-box;
    padding: 20px;
}
header h1 img {
    width: 100%;
}
header #g-navi {
    width: 50%;
}

/*ナビ*/
.sp-nav-open {
	display: none;
}
nav {
	padding: 1em;
	position: relative;
    z-index: 100;
}
nav ul {
	width: 100%;
	display: flex;
	justify-content: space-around;
}
nav a {
    font-weight: 700;
    text-decoration: none;
    color: #707070;
}
nav a:hover {
    color: #78BC2B;
}
.none {
    display: none !important;
}

@media screen and (max-width: 780px) {
    header h1 {
        padding: 10px;
        width: 65%;
    }

	.sp-nav-open {
		position: fixed;
		top: 10px;
		right: 10px;
		z-index: 2;
		display: block;
		background: #FFF;
		height: 50px;
		width: 50px;
	}
  
	/*ボタン内側*/
	.sp-nav-open span{
		display: inline-block;
		transition: all .4s;/*アニメーションの設定*/
		position: absolute;
		left: 13px;
		height: 2px;
        background-color: #666;
	  }
	.sp-nav-open span:nth-of-type(1) {
	  top:22px; 
		width: 50%;
	}
	.sp-nav-open span:nth-of-type(2) {
	  top:29px;
		width:30%;
	}

	/*activeクラスが付与されると線が回転して×に*/
	.sp-nav-open.active span:nth-of-type(1) {
		top: 20px;
		left: 16px;
		transform: translateY(6px) rotate(-45deg);
		width: 35%;
	}
	.sp-nav-open.active span:nth-of-type(2) {
		top: 32px;
		left: 16px;
		transform: translateY(-6px) rotate(45deg);
		width: 35%;
	}
	
	/*暫定対応↓w*/
	/*.sp-nav-open:before {
		content: "三";
	}
	.sp-nav-open.active:before {
		content: "×";
	}*/
	nav {
		position:fixed;
		top: 60px;
		left: 0;
		right: 0;
		padding: 0;
		display: none;
	}
	nav ul {
		display: block;
        background: #FFF;
	}
    nav a {
        padding: 1em;
        display: block;
    }
	
	.accordion-menu-contents {
		position: static;
	}
	.accordion-menu-contents ul {
		display: block;
	}
}



/*section*/
.section1000 {
	max-width: 1000px;
	margin: 0 auto 4em;
}
.section1050 {
	max-width: 1050px;
	margin: 0 auto 5em;
}
.section1150 {
	max-width: 1150px;
	margin: 0 auto 5em;
}

.inner {
	width: 100%;
	padding-bottom: 4em;
}


/*アコーディオン*/
.accordion {
}
.accordion dt {
}
.accordion dt.active {
	/*アコーディオン見出しクリック時に付与のスタイル*/
}
.accordion dd {
	display: none;
}

footer {
    text-align: center;
    background: #78BC2B;
    color: #FFF;
}
footer img {
    padding: 1.5em 2em 1em;
}
footer .contact {
    margin-bottom: 2em;
    line-height: 1.3em;
}
footer a {
    color: #FFF;
}
footer .copyright {
    background: #548235;
    padding: 5px;
}


/*ページトップボタン*/

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index: 2;
    /*はじめは非表示*/
  opacity: 0;
  transform: translateY(100px);
}

/*リンクの形状*/
#page-top a{
  display: flex;
  justify-content:center;
  align-items:center;
  background: #548235;
  border-radius: 5px;
  width: 60px;
  height: 60px;
  color: #fff;
  text-align: center;
  text-transform: uppercase; 
  text-decoration: none;
  font-size:0.6rem;
  transition:all 0.3s;
}

#page-top a:hover{
  background: #78BC2B;
}

/*　上に上がる動き　*/
#page-top.UpMove{
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
    opacity: 1;
  transform: translateY(0);
  }
  to {
    opacity: 1;
  transform: translateY(100px);
  }
}