@charset "UTF-8";
/* CSS Document */
.inner {
    /*width: 1200px;*/
	max-width: 1440px;
  margin: 0 auto;
  z-index: 10;
}
.inner:after {
    content: "";
    clear: both;
    display: block;
}
/*------------------ header -----------------*/
#top-head {
  width: 100%;
  height:  60px;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 100;
}
/*
#top-head a,
#top-head {
  color: #333;
  text-decoration: none;
}
*/
#top-head .inner {
    position: relative;
}
#top-head .logo {
    float: left;
    font-size: 36px;
}
.pages-ti-bg {
  background-color: #71A803 !important;
}

/* Fixed */
#top-head.fixed {
    margin-top: 0;
    top: 0;
    /*position: fixed;*/
    padding-top: 10px;
    height: 55px;
    background: #fff;
    background: rgba(255,255,255,.7);
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}
#top-head.fixed .logo {
    font-size: 24px;
    color: #333;
}
#top-head.fixed #global-nav ul li a {
    color: #333;
    padding: 0 20px;
}
#mobile-head img { /*PC時メニュー内のモバイルロゴを非表示*/
  display:none;
}
 
/* Toggle Button */
#nav-toggle {
  display: none;
  position: absolute;
  right: 12px;
  width: 44px;
  height: 44px;
  cursor: pointer;  
	top: 8px;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#e5e5e5));
	background-image: -webkit-linear-gradient(#fbfbfb, #e5e5e5);
	background-image: linear-gradient(#fbfbfb, #e5e5e5);
	padding: 6px;
	border: 1px solid #cfcfcf;
	border-radius: 6px;
  z-index: 101;	
}
#nav-toggle div {
  position: relative;
	margin-top: 2px;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #666;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
    top: 0;
}
#nav-toggle span:nth-child(2) {
    top: 11px;
}
#nav-toggle span:nth-child(3) {
    top: 22px;
}
nav#menubar ul li {
  float: left;
  width: calc(1440px/9);
}
@media (min-width:768px) and (max-width:1440px){
  nav#menubar ul li {
    float: left;
    width: calc(100vw/9);
  }
}
nav#menubar ul li a {
  position: relative;
	height: 50px;
/*	padding-top: 12px;*/
  padding-top: calc(16px - 0.25vw);
	line-height: 1.4;
	text-decoration: none;
	display: block;
  font-size: clamp(0.6rem, calc(0.6rem + 0.325vw), 1rem);
  color: white;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-align: center;
	transition: 0.8s;
}
nav#menubar ul li a:hover,
nav#menubar ul li.current a {
	color: #FAFF28;	
/*	border-bottom: 2px solid #FAFF28;*/
}
nav#menubar ul li a span {
/*	font-size: 10px;*/
  font-size: clamp(0.5rem, calc(0.16rem + 0.5vw), 1.65rem);
	display: block;
	font-weight: normal;
}
nav#menubar li a::after {
position: absolute;
left: 0;
content: '';
width: 100%;
height: 2px;
background: #FAFF28;
bottom: -1px;
transform: scale(0, 1);
transform-origin: center top; 
transition: transform 0.3s;
}
nav#menubar a:hover::after {
transform: scale(1, 1);
}

/*ここからタブレット用（481px～800px）環境の設定
-----------------------------------------------------------------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (min-width:481px) and (max-width:767px){/*800より変更*/
  .inner {
    width: auto;
    height: auto;
    margin: 0 auto;
  }
  #top-head {
    height: inherit;
    background-color: rgba(86, 122, 44, 1);
  }
  nav#menubar ul li a:hover, nav#menubar ul li.current a {
    background-color: lightyellow;
  }
nav#menubar ul li {
	width: 50%;
  height: 48px;
  padding-top: 0;
  border: 1px solid #aaa;
	box-sizing: border-box;
  }
nav#menubar ul li:nth-child(odd) {
	border-left: none;
}
nav#menubar ul li:nth-child(even) {
	border-right: none;
}
  nav#menubar ul li:nth-child(8) {
	border-bottom: 2px solid #aaa;
}
nav#menubar ul li:last-child {
	border-right: 2px solid #aaa;
}
  nav#menubar ul li a {
    padding-top: 6px;
  }

  nav#menubar ul li a:hover,
nav#menubar ul li.current a {
	color: #529400;
  border-bottom: 6px solid #E0E41E;
  }
}

/*ここからスマートフォン用（～480px）環境の設定
-----------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 480px) {
  #top-head,.inner {
      width: 100%;
      padding: 0;
  }
  #top-head {
    top: 0;
    position: fixed;
    margin-top: 0;
  }
    /* Fixed reset */
    #top-head.fixed {
      padding-top: 0;
      background: transparent;
      height: 60px;
      background-color: rgba(0, 0, 0, 0.4);
    }

  #mobile-head {
    position: relative;
    display: block;
    width: 100%;
    height: 58px;  
    background-color: #7DB03E;
    z-index: 999;
  }
#mobile-head img {
	display: block;
	max-height: 50px;
	margin-top: 1vw;
  margin-left: 10px;
	text-align: center;
  width: 72vw;
}
#logoT img {
	display:none;
}
#logoT {
	height:60px;
}	
#top-head.fixed .logo,
#top-head .logo {
	position: absolute;
	/*left: 0px;*/
	top: 2px;
}

#menubar {
	position: absolute; /* 開いてないときは画面外に配置 */
/*	top: -512px;*/
  top:-72vh;
	background: rgba(62, 80, 35, 0.8);
	width: 100%;
	text-align: center;
	padding: 70px 0 0;
	margin: -56px 0 0;
	transition: .5s ease-in-out;
}
  nav#menubar ul li {
    float: none;
    width: 100%;
/*    height: 62px;*/
    height: 8.5vh;
    border-left: none;
    border-bottom: 1px solid #FFF;
    z-index: 100;
  }
  #top-head #menubar ul li a,
  #top-head.fixed #global-nav ul li a {
    font-size: 1em;
/*
	width: 100%;
	display: block;
  font-size: 1.1em;
	color: #fff;
*/
/*	padding: 1vh 0;*/
}
  nav#menubar ul li a:hover,
  nav#menubar ul li.current a {
    
/*    border-bottom: none;*/
    background-color: #b8a52b;
    border-bottom: 1px solid #FFF;
    height: 8.5vh;
  }
  nav#menubar ul li a span {
    font-size: 0.5em
  }
  nav#menubar li a::after {
    content: none;
  }
#nav-toggle {
	display: block;
}
/* #nav-toggle 切り替えアニメーション */
.open #nav-toggle span:nth-child(1) {
	top: 11px;
	-webkit-transform: rotate(315deg);
	-moz-transform: rotate(315deg);
	transform: rotate(315deg);
}
.open #nav-toggle span:nth-child(2) {
	width: 0;
	left: 50%;
}
.open #nav-toggle span:nth-child(3) {
	top: 11px;
	-webkit-transform: rotate(-315deg);
	-moz-transform: rotate(-315deg);
	transform: rotate(-315deg);
}
/* #global-nav スライドアニメーション */
.open #menubar {
/*	#global-nav top + #mobile-head height */
/*
	-moz-transform: translateY(556px);
	-webkit-transform: translateY(556px);
*/
	transform: translateY(78vh);
}
 
}
