/*ナビゲーションの箇所*/
#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.4;
  font-size: 16px;
}

#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-name{
  font-size:17px;
  display:block;
  width:100%;
  white-space:nowrap;
  font-weight:bold;
  line-height: 7px;
}

.snip1217 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

.snip1217 li {
  display: inline-block;
  list-style: outside none none;
  margin: 0.5em 1.5em;
  padding: 0;
}

.snip1217 a {
  padding: 0.3em 0;
  position: relative;
  text-decoration: none;
  display: inline-block;
}

.snip1217 a:after {
  height: 3px;
  position: absolute;
  content: '';
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
  background-color: #9fb4ff;
  width: 0;
}

.snip1217 a:after {
  bottom: 0;
  right: 0;
}

.snip1217 a:hover:after,
.snip1217 .current a:after {
  width: 100%;
}

.snip1217 .menuen {
 font-size:9px;
 display: none;
}

.snip1217 .current .menuen {
 display: inherit;
}

.snip1217 a:hover .menuen {
 display: inherit;
}