/*ナビゲーションの箇所*/
#global-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
  padding: 0;
  width: min-content;
}

#global-nav ul  {
  position: relative;
  margin: 0 auto;
  padding: 0;
  display: flex;
  list-style: none;
  text-decoration: none;
  overflow-wrap: break-word;
}

#global-nav #menu>li {
  float: left;
  position: relative;
  text-align: center;
  margin: 0;
  list-style: none;
  line-height: 1.4rem;
  font-size: 16px;
}

#global-nav #menu>li.current>a {
	/* 現在ページのときだけ文字色変更 */
	color: #95C93A;
	background-color: #FFFFFF;
}

#global-nav ul li a {
  text-decoration: none;
  padding: 14px 1em;
  overflow:hidden;
  text-align:center;
  position:relative;
  height:100%;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  color: #000000;
}

#global-nav ul li a:hover{
	/* マウスおいたら文字色変更 */
	color: #95C93A;
}

.global-nav-name{
  font-size:17px;
  display:block;
  width:100%;
  white-space:nowrap;
  line-height: 1.8rem;
}

.snip1217 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.15s ease;
  transition: all 0.15s ease;
}
.snip1217 
{
  display: inline-block;
  list-style: outside none none;
  margin: 0.5em 1.5em;
  padding: 0;
}
.snip1217 a {
  padding: 0.3em 0;
  /*color: rgba(255, 255, 255, 0.5);*/
  position: relative;
  text-decoration: none;
  display: inline-block;
}
/*.snip1217 a:before {
  height: 3px;
  position: absolute;
  content: '';
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
  background-color: #002d93;
  width: 0;
}
.snip1217 a:before {
  top: 0;
  left: 0;
}*/

.snip1217 a:after {
  height: 3px;
  position: absolute;
  content: '';
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
  background-color: #95C93A;
  width: 0;
}
.snip1217 a:after {
  bottom: 0;
  right: 0;
}
.snip1217 a:hover:after,
.snip1217 .current a:after {
  width: 100%;
}

.snip1217 a:hover,
.snip1217 .current a {
  color: #ffffff;
}
/*
.snip1217 a:hover:before,
.snip1217 .current a:before{
  width: 100%;
}*/

.snip1217 .menuen {
 font-size:9px;
}

.snip1217 #mailmenu {
 color: #ffffff;
 background-color: #95C93A;
}

.snip1217 #mailmenu:hover {
 color: #000000;
 background-color: #ffffff;
}

.snip1217 #mailmenu a {
 color: #ffffff;
}
.snip1217 #mailmenu a:hover {
 color: #000000;
 background-color: #ffffff;
}

.snip1217 #mainmenulist6 {
 color: #ffffff;
 background-color: #95C93A;
}

.snip1217 #mainmenulist6:hover {
 color: #000000;
 background-color: #ffffff;
}

.snip1217 #mainmenulist6 a {
 color: #ffffff;
}
.snip1217 #mainmenulist6 a:hover {
 color: #000000;
 background-color: #ffffff;
}

.snip1217 #mainmenulist7 {
 color: #ffffff;
 background-color: #009545;
}

.snip1217 #mainmenulist7:hover {
 color: #000000;
 background-color: #ffffff;
}

.snip1217 #mainmenulist7 a {
 color: #ffffff;
}
.snip1217 #mainmenulist7 a:hover {
 color: #000000;
 background-color: #ffffff;
}