@charset "UTF-8";
 html { scroll-behavior: smooth;}#logo {
  max-width:50%;
  display:block;
  margin:0px auto;
 
}
nav{
 width: 100%;
 height: 70px;
 position: fixed;
 background: #1d1d1d;
 z-index: 1000;
}
.drawer{
 display: flex;
 flex-direction: row;
 align-items: center;
 justify-content: space-between;
 position: relative;
 height: 70px;
 padding: 0 1em;
}

/*ナビゲーション部分*/

.menu ul li a {
display:block;
  font-weight:bold;
padding: 2em;
border-bottom: solid 1px #FFF;
	color: #FFF;
  text-decoration:none;
}
.menu ul li a:first-child {
border-top: solid 1px #FFF;
}


.menu ul li a:hover
{background-color:rgba(0,0,0,0.5);
color:orange;}


.menu{
  text-align:center;
  background-color:rgba(0,0,0,1);
  transition: .5s ease;/*滑らかに表示*/
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);/*左に隠しておく*/
}


/*OPEN時の動き*/
.menu.open {
 -webkit-transform: translateX(0%);
 transform: translateX(0%);/*中身を表示（右へスライド）*/
}



/*トグルボタンのスタイルを指定*/
.Toggle {
    display: block;
    position: fixed;    /* bodyに対しての絶対位置指定 */
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 3;
  right:15px;
}
.Toggle span {
    display: block;
    position: absolute;
    width: 30px;
    border-bottom: solid 3px #FFF;
    -webkit-transition: .35s ease-in-out;	/*変化の速度を指定*/
    -moz-transition: .35s ease-in-out;		/*変化の速度を指定*/
    transition: .35s ease-in-out;			/*変化の速度を指定*/
} 
.Toggle span:nth-child(1) {
    top:5px;
}
 
.Toggle span:nth-child(2) {
    top: 17px;
}
 
.Toggle span:nth-child(3) {
    top: 28px;
}
 


.Toggle.active span:nth-child(1) {
    top: 18px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
 
/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
@media screen and (min-width: 600px) {
nav{ height: 100px; }
.drawer{ height: 100px;}
}

@media screen and (min-width: 1024px) {
 #logo {  margin:0px auto; padding: 20px;vertical-align: middle;}
  header::after{display:none;
 } 
.menu ul li a:first-child {
border-top:none;
}
nav{ display: flex; height: 70px;	}
.drawer{ height: 70px;}
.Toggle{
 display: none;
}
.menu{
 width: 100%;
  background-color: transparent;
  margin-top:0;
 -webkit-transform: translateX(0);
 transform: translateX(0);
}
.menu ul{
 height: 70px;
 display: flex;
 flex-wrap: wrap;
 justify-content: flex-end;
 align-items: center;
	list-style: none;
}
.menu ul li a{
 padding: 0 1em;
 border-bottom: none;
font-size: 2rem;
}
   .menu ul li a:hover
{
  background-color:transparent;
}
  
}