@charset "UTF-8";
/* CSS Document */

@media only print, only screen and (min-width: 18.75em){

#closeOverlay{
  content: "";
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 1;
  opacity: 0;
  visibility: hidden;
}

#closeOverlay.open{
  opacity: 1;
  visibility: visible;
}

#main,
#footer{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition-duration: 0.5s;
}

#main.open,
#footer.open{
  transform: translateX(-300px);
}

#btnMenu{
  display: block;
  vertical-align: middle;
  cursor: pointer;
  position: fixed;
  top: 0;
  right: 0;
  padding: 21px 20px 20px;
  z-index: 7777;
}

#btnMenu div{
  width: 20px;
  height: 10px;
  position: relative;
}

#btnMenu span{
  display: inline-block;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: #000;
  transition-duration: 0.5s;
}

#btnMenu.active span {
  background: #000;
}

#btnMenu span:nth-of-type(1) {
  top: 0;
}

#btnMenu.active span:nth-of-type(1) {
  transform: translateY(4px) rotate(-45deg);
}

#btnMenu span:nth-of-type(2) {
  opacity: 0;
}
#btnMenu.active span:nth-of-type(2) {
  opacity: 0;
}

#btnMenu span:nth-of-type(3) {
  bottom: 0;
}

#btnMenu.active span:nth-of-type(3) {
  transform: translateY(-5px) rotate(45deg);
}

.mainVisualArea #btnMenu span{
  background: #fff;
}

.mainVisualArea #btnMenu.active span {
  background: #000;
}
 
nav{
  width: 299px;
  height: 100%;
  position: fixed;
  top: -1px;
  right: 0;
  overflow-y: scroll;
  border-left: 1px solid #000;
  background: #fff;
  z-index: 3333;
  transform: translate(300px);
  transition-duration: 0.5s;
  font-size: 13px;
  line-height: 1.923;
}

nav::-webkit-scrollbar{
  display: none;
}

nav.open{
  transform: translateX(0);
}

nav li:last-child a{
  border-bottom: none;
}

#logoSp{
  border-bottom: 1px solid #000;
}

nav #logoSp img{
  width: 107px;
  padding: 20px 0 20px 20px;
  display: block;
}

}

@media only print, only screen and (min-width: 1000px){

#main,
#footer{
  display: flex;
  transition-duration: 0.5s;
}

#btnMenu{
  display: none;
}

}