@charset "UTF-8";
/* CSS Document */
#hamburger .btn-gNav {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  z-index: 5;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-transition: all 400ms;
  transition: all 400ms;
  border: 1px solid #F5EDCC;
  border-radius: 5px;
  background: #573C8A;
}
#hamburger .btn-gNav span {
  position: absolute;
  width: 40%;
  height: 3px;
  background: #FFF;
  -webkit-transition: all 400ms;
  transition: all 400ms;
  margin: 0 30%;
}
#hamburger .btn-gNav span:nth-child(1) {
  top: 12px;
}
#hamburger .btn-gNav span:nth-child(2) {
  top: 20px;
}
#hamburger .btn-gNav span:nth-child(3) {
  top: 28px;
}
#hamburger .btn-gNav.open span:nth-child(1) {
  background: #FFF;
  top: 20px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#hamburger .btn-gNav.open span:nth-child(2), #hamburger .btn-gNav.open span:nth-child(3) {
  top: 20px;
  background: #FFF;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}
#gNav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: rgba(87, 60, 138, 0.85);
  font-size: 1.6rem; /* 16px*/
  box-sizing: border-box;
  z-index: 2;
  padding: 0px 0px 0px 0px;
  transition: .3s;
}
#gNav.open {
  right: 0px;
}
#gNav .gNav-menu {
  width: 100%;
  padding: 0% 10% 30% 10%;
  margin: 20px auto 50px auto;
  display: flex;
  flex-direction: column;
  text-align: center;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#gNav .gNav-menu li {
  list-style: none;
  border-bottom: 2px solid #C0A7D6;
  position: relative;
}



#gNav .gNav-menu li::after {
  content: "";
  list-style: none;
  position: absolute;
  bottom: -2px;
  left: 0;
  background: #FFF;
  width: 37px;
  height: 2px;
}
#gNav .gNav-menu li a {
  display: block;
  color: #FFF;
  font-weight: 800;
  opacity: 1;
  position: relative;
  padding: 15px 0px;
  text-align: left;
  margin: 0px 0px 0px 0px;
  text-decoration: none;
  font-size: 1.5rem;
}
#gNav .gNav-menu li a:hover, a:active, a:visited {
  text-decoration: none;
  background: rgba(333, 333, 333, 0.2);
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
.spi {
  position: relative;
  top: 0px;
  
}
.spi a {
  width: 200px;
  height: 63px;
  padding: 15px 20px 15px 20px;
  margin: 40px 0px 30px 0px;
  text-decoration: none;
  display: block;
  background: url("../img/summitpharma.gif");
  background-size: 100%;
  background-position: center center;
}
.spi a:hover {
  opacity: 0.7;
}
.ibms {
  position: relative;
  top: 0px;
}
.ibms a {
  width: 200px;
  height: 63px;
  padding: 15px 20px 15px 20px;
  margin: 0px 0px 30px 0px;
  text-decoration: none;
  display: block;
  background: url("../img/bio-metal.webp");
  background-size: 85%;
  background-position: center center;
}
.ibms a:hover {
  opacity: 0.7;
}

.kanehara {
  position: relative;
  top: 0px;
}
.kanehara a {
  width: 200px;
  height: 53px;
  padding: 15px 20px 15px 20px;
  margin: 0px 0px 30px 0px;
  text-decoration: none;
  display: block;
  background: url("../img/kanehara.jpg");
  background-size: 100%;
    background-repeat: no-repeat;
  background-position: center center;
}
.kanehara a:hover {
  opacity: 0.7;
}

.gif {
  position: relative;
  top: 0px;
}
.gif a {
  width: 200px;
  height: 53px;
  padding: 15px 20px 15px 20px;
  margin: 0px 0px 30px 0px;
  text-decoration: none;
  display: block;
  background: url("../img/gifucvb.jpg");
  background-size: 100%;
    background-repeat: no-repeat;
  background-position: center center;
}
.gif a:hover {
  opacity: 0.7;
}

@media screen and (min-width: 560px) {
  #gNav .gNav-menu {
    width: 50%;
    padding: 0px;
  }
}
@media screen and (min-width: 1060px) {
  .pc_none {
    display: none;
  }
  #hamburger .btn-gNav {
    position: none;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms;
  }
  .btn-gNav {
    display: none;
  }
  #gNav {
    position: static;
    width: 250px;
    background: none;
    padding: 30px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    transition: none;
  }
  #gNav .gNav-menu .menu_display {
    display: none;
  }
  #gNav .gNav-menu {
    position: absolute;
    border-radius: 10px;
    width: 250px;
    margin: 0px auto;
    padding: 10px 0px 30px 0px;
    height: auto;
    background: rgba(87, 60, 138, 0.85);
  }
  #gNav .gNav-menu li {
    padding: 0px;
    width: 200px;
    margin: 0px auto;
  }
  #gNav .gNav-menu li a {
    color: #FFF;
    font-weight: 800;
    opacity: 1;
    position: relative;
    display: block;
    text-align: center;
    margin: 0px 0px 0px 0px;
    text-decoration: none;
    font-size: 1.6rem;
    padding: 20px 0px 9px 0px;
  }
  .sp_none {
    display: none;
  }
  .spi {
    top: 720px;
    left: 25px;
  }

  .ibms {
    top: 710px;
    left: 25px;
  }
  .kanehara {
    top: 700px;
    left: 25px;
  }
  .gif {
    top: 690px;
    left: 25px;
  }

}