/* Admission 2405 */
/* fixed-nav 2025.04 */

.fixed-nav {
  position: fixed;
  z-index: 100;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.fixed-nav li {
  position: relative;
}

.fixed-nav a {
  font-size: 14px;
  color: #fff;
  background: #f50000;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  border: 2px solid #fff;letter-spacing: .06em;
}

.fixed-nav .item-doc a {
  height: 110px;
}

.fixed-nav .item-cat a {
  height: 220px;
}

.fixed-nav .item-shutsugan a {
  height: 140px;
}

.fixed-nav img {
  width: 14px;
  height: auto;
  margin-bottom: 7px;
  display: block;
}

.fixed-nav .spShow {
  display: none;
}





.fixed-nav2 {
  position: fixed;
  z-index: 100;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /*top: 88%;*/
  bottom: 50px;
  transform: translateY(-50%);
}

.fixed-nav2 li {
  position: relative;
}

.fixed-nav2 a {
  font-size: 14px;
  /*color: #fff;
  background: #f50000;*/
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  /*border: 2px solid #fff;letter-spacing: .06em;*/
}

/*.fixed-nav2 .item-shutsugan a {
  height: 140px;
}
*/
.fixed-nav2 img {
  width: 100%;
  height: auto;
  margin-bottom: 7px;
  display: block;
}

.fixed-nav2 .spShow {
  display: none;
}





@media screen and (max-width: 768px) {

  .fixed-nav {
    flex-direction: row;
    top: auto;
    bottom: -25px;
    width: 100%;
    gap: 0;
  }

  .fixed-nav li {
    width: 100%;
  }

  .fixed-nav a {
    width: 100%;
    writing-mode: initial;
    border-style: none;
    font-size: 13px;
  }

  .fixed-nav .item-doc a,
  .fixed-nav .item-cat a,
  .fixed-nav .item-shutsugan a{
    height: 50px;
  }

  .fixed-nav .item-doc a,   .fixed-nav .item-cat a{
    border-right: 2px solid #fff;
  }

  .fixed-nav img {
    margin-bottom: 0;
    margin-right: 7px;
  }

  .fixed-nav .spShow {
    display: block;
  }

  /* .fixed-nav.hide {
    transform:translateY(25px);
  } */
  
  
.fixed-nav2 {
  position: fixed;
  z-index: 100;
  right: 0.6%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  top: auto;
  bottom: 90px;
  transform: translateY(-50%);
}

.fixed-nav2 img {
  height: 54px;
}

}
