/*headerのナビ*/

#nailseal-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  transition: 0.3s;
  background-color: #ff0;
}
/*ナビそのもの*/
#nailseal-nav ul {
  width: 80%;
  max-width: 1200px;
  padding: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
@media screen and (max-width: 768px) {
  #nailseal-nav ul {
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 0;
  }
	
}
@media screen and (min-width: 769px) and (max-width: 992px) {
  #nailseal-nav ul {
    width: 100%;
  }
}
/*ナビそれぞれ*/
#nailseal-nav li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  text-align: center;
  margin-left: 3px;
  margin-right: 3px;
  transition: 0.3s;
  border-right: solid #999 2px;
	line-height: 1.2;

}
#nailseal-nav li:first-child {
  border-left: solid #999 2px;
}

/*a要素*/
#nailseal-nav a {
  text-decoration: none;
  transition: 0.3s;
  color: #333;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
font-weight: bold;
	padding: 0.5rem;
	font-size: 100%;
	
}
#nailseal-nav a:hover {
  background-color: #FFFFBB;
		transition: 0.2s;
}
#nailseal-nav a:active, #nailseal-nav a:visited {
  text-decoration: none;
  color: #333;
}
/*ナビを途中から上に固定するときのコード*/
/*ナビ全体　位置*/
#nailseal-nav.m_fixed {
  left: 0;
  position: fixed;
  top: 0px;
  margin-top: 60px;
  z-index: 10;
  transition: 0.3s;
  background-size: auto 50px;
  background-position: top;
  height: 55px;
}
/*ナビ5つ*/
#nailseal-nav.m_fixed ul {
  background-color: transparent;
  z-index: 10;
}
#nailseal-nav.m_fixed li {
  height: 56px !important;
}
/*ナビ見えないよ*/
#nailseal-nav.m_fixed li:hover::after {
  opacity: 0;
  bottom: -15px;
}
