 @charset "utf-8";

 html {
   scroll-behavior: smooth;
 }

 #logo {
   max-width: 60%;
   display: block;
   margin: 0px auto;
 }

 header {
   position: fixed;
   z-index: 10000;
 }

 nav {
   width: 100%;
   height: 50px;
   position: relative;
   z-index: 1000;
   box-shadow: 0px 10px 10px -5px rgba(0, 0, 0, 0.5);
   background: rgba(255, 255, 255, 0.85);
 }

 .drawer {
   display: flex;
   flex-direction: row;
   align-items: center;
   justify-content: space-between;
   position: relative;
   height: 50px;
   padding: 0 1em;
 }

 .drawer img {
   width: 100%;
   max-width: 100%;
   height: auto;
   /*高さ自動*/
 }

 /*ナビゲーション部分*/

 .menu ul li a {
   display: block;
   font-weight: bold;
   padding: 2em;
   border-bottom: solid 1px #FFF;
   color: #FFFFFF;
   text-decoration: none;
 }

 .menu ul li a:first-child {
   border-top: solid 1px #FFF;
 }


 .menu ul li a:hover {
   background-color: rgba(255, 255, 255, 1);
   color: #D00000;
 }


 .menu {
   text-align: center;
   background-color: rgba(0, 0, 0, 1.00);
   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 #000;
   -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: 50px;
   }

   .drawer {
     height: 50px;
   }

   #logo img {
     max-width: 40%;
     display: block;
   }

   #logo {
     text-align: left;
     margin: 0px;
   }
 }

 @media screen and (min-width: 1024px) {}

 @media screen and (min-width: 1920px) {
   .menu ul li a:first-child {
     border-top: none;
   }

   nav {
     display: flex;
     height: 90px;
   }

   .drawer {
     height: 90px;
   }

   .Toggle {
     display: none;
   }

   .menu {
     width: 100%;
     background-color: transparent;
     margin-top: 0;
     -webkit-transform: translateX(0);
     transform: translateX(0);
   }

   .menu ul {
     height: 90px;
     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: 1.2rem;
   }

   .menu ul li a:hover {
     background-color: transparent;
   }
 }