#g_navi>ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  width: 255px;
  margin: 60px auto 50px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", 'Noto Sans JP', "メイリオ", "Meiryo", sans-serif;
}

#g_navi>ul>li {
  width: calc(100% / 6);
  margin-bottom: 47px;
}

#g_navi>ul>li a {
  text-decoration: none;
}

#g_navi>ul>li span {
/*
  display: inline-flex;
  align-items: center;
*/
  width: 100%;
  padding: 1em;
  border-left: 1px solid #1a1611;
  transition: 0.5s;
  min-height: 164px;
  color: #1a1611;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

#g_navi>ul>li>span {
  color: #dadada;
}

#g_navi>ul>li:nth-child(6n+1) span {
  border-right: 1px solid #1a1611; 
}

#g_navi>ul>li a:hover span {
  color: #70bccf;
  background: rgba(140, 227, 219, 0.2);
}

/*
#g_navi>ul>li a.crt span {
  color: #70bccf;
}
*/

@media screen and (max-width: 899px){
  #g_navi {
    position: fixed;
    background: rgba(255,255,255,0.95);
    top: 0;
    right: 0;
    bottom: 0;
    left:0;
    z-index: 20;
  }

  #g_navi>ul {
    margin: 10px auto 20px;
  }

  #g_navi>ul>li {
    margin-bottom: 10px;
  }
}





.logo {
  margin: 27px auto 0;
  max-width: 200px;
  position: relative;
}

@media screen and (min-width: 900px){
.logo {
  margin: 77px auto 0;
  max-width: 250px;
}
}

.logoSp {
  position: absolute;
  top: 10px;
  left: 20px;
}

.svg-logo-anime {
  margin: auto;
  transition: 1s;
}

a:hover .svg-logo-anime {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.svg-logo-anime>svg {
  -webkit-animation: WIDE 4s ease 1s forwards;
          animation: WIDE 4s ease 1s forwards;
  width: 100%;
}

.logoSp>svg {
  width: 18vw;
  height: calc((132.5/68)*18vw);
}

@-webkit-keyframes WIDE {
  0% {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}

@keyframes WIDE {
  0% {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}

.cls-1 {
  stroke: #000000;
  stroke-width: 1;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  fill: #000000;
  -webkit-animation: DASH 6s linear 0s both;
          animation: DASH 6s linear 0s both;
}


@-webkit-keyframes DASH {
  0% {
    opacity: 0;
    fill-opacity: 0;
  }
  20% {
    opacity: 0;
    stroke-dashoffset: 3000;
  }
  70% {
    opacity: 1;
    stroke-dashoffset: 2000;
    fill-opacity: 0;
  }
  90% {
    opacity: 1;
    stroke-dashoffset: 500;
    stroke-width: 1;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
    stroke-width: 0;
    fill-opacity: 1;
  }
}


@keyframes DASH {
  0% {
    opacity: 0;
    fill-opacity: 0;
  }
  20% {
    opacity: 0;
    stroke-dashoffset: 3000;
  }
  70% {
    opacity: 1;
    stroke-dashoffset: 2000;
    fill-opacity: 0;
  }
  90% {
    opacity: 1;
    stroke-dashoffset: 500;
    stroke-width: 1;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
    stroke-width: 0;
    fill-opacity: 1;
  }
}

.cls-2 {
  stroke: #000000;
  stroke-width: 1;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  -webkit-animation: DASH2 6s linear 0s both;
          animation: DASH2 6s linear 0s both;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  fill: #000000;
}


@-webkit-keyframes DASH2 {
  0% {
    opacity: 0;
    fill-opacity: 0;
  }
  15% {
    opacity: 0;
    stroke-dashoffset: 600;
  }
  70% {
    opacity: 1;
    stroke-dashoffset: 400;
    fill-opacity: 0;
  }
  90% {
    opacity: 1;
    stroke-dashoffset: 100;
    stroke-width: 1;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
    stroke-width: 0;
    fill-opacity: 1;
  }
}


@keyframes DASH2 {
  0% {
    opacity: 0;
    fill-opacity: 0;
  }
  15% {
    opacity: 0;
    stroke-dashoffset: 600;
  }
  70% {
    opacity: 1;
    stroke-dashoffset: 400;
    fill-opacity: 0;
  }
  90% {
    opacity: 1;
    stroke-dashoffset: 100;
    stroke-width: 1;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
    stroke-width: 0;
    fill-opacity: 1;
  }
}