/*ナビゲーションの箇所*/
#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;
  width: 60px;
}

#global-nav ul li a {
  text-decoration: none;
  padding: 14px 1em;
  overflow:hidden;
  text-align:left;
  position:relative;
  display:flex;
  flex-wrap:wrap;
  /*justify-content:center;*/
  align-items:center;
  color: #000000;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
  height: 140px;
  text-shadow: #ffffff 1px 0 10px,#ffffff 1px 0 10px,#ffffff 1px 0 10px,#ffffff 1px 0 10px,#ffffff 1px 0 10px,#ffffff 1px 0 10px;
}

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



.snip1217 li::before {
  background: #2e6effcf;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform: scale(1, 0);
  transform-origin: right top;
  transition: transform .3s;
  z-index: -1;
}
.snip1217 li:hover {
  color: #fff;
}
.snip1217 li:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

#global-nav .snip1217 li:hover a,
#global-nav .snip1217 .current a {
  text-shadow: #ffffff00 0px 0 0px;
  color: #ffffff;
}

.snip1217 .current::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

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