@charset "UTF-8";

header {
  padding-right: 12.89%;
  padding-left: 2.34%;
  height: 80px;
  background-color: #1133A2;
}

#nav-drawer {
  display:none;
}

.logo {
  display: inline-block;
  margin-top: 29px;
}

.logo > a {
  text-decoration: none;
  color: white;
}

ul {
  padding: 0;
}

.header-nav {
  display: inline-block;
  float: right;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Noto Sans", "Noto Sans CJK JP","メイリオ","Meiryo","ＭＳ Ｐゴシック", "MS P Gothic","Osaka", Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.0625em;
  font-weight: normal;
  margin-top: 27px;
  margin-bottom: 0;
}


.header-nav-item {
  display: inline-block;
  line-height: 19px;
  letter-spacing: 0.03em;
}

.header-nav-item > a {
  position: relative;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
}

.header-nav-item > a:before {
  position: absolute;
  top: 29px;
  left: 0;
  content: "";
  display: inline-block;
  width: 0;
  height: 3px;
  transition: 0.3s;
  background-color: #FFFFFF;
}

.header-nav-item > a:hover:before{
  width: 100%;
}

.nav-about {
   margin-right: 48px;
 }


 @media screen and ( max-width: 651px ) {
   header {
     padding: 0 8%;
     height: 76px;
     font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Noto Sans", "Noto Sans CJK JP","メイリオ","Meiryo","ＭＳ Ｐゴシック", "MS P Gothic","Osaka", Verdana, Arial, Helvetica, sans-serif;
   }

   .logo {
     margin-top: 24px;
   }

   .logo img {
     width: 223px;
     height: 23px;
     margin-left: -40px;
   }
   .header-nav {
     display: none;
   }

  #nav-drawer {
    margin-top: 24px;
    position: relative;
    display: inline-block;
    float: right;
  }

  .btnHamburger {
    top: 24px;
    right: 8%;
    width: 24px;
    height: 21px;
    cursor: pointer;
    z-index: 99999;
  }

  .btnHamburger .line {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 24px;
    height: 3px;
    background: #ffffff; /* 線の色 */

    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
   }

  /* 3本線の各線の位置を指定 ---------------------- */
  .btnHamburger .line_01 { top: 0px; }
  .btnHamburger .line_02 { top: 9px; }
  .btnHamburger .line_03 { width: 15px; top: 18px; }

.btnHamburger.is-active {
  position: fixed;
  display: block;
}

  /* 最上部の線のスタイル ---------------------- */
.btnHamburger.is-active .line_01 {
  top: 9px; /* 上から2番目の線の位置に変更 */

  /* 線を45度回転 */
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* 上から2番目の線のスタイル ---------------------- */
.btnHamburger.is-active .line_02 {
  opacity: 0; /* 不透明度を下げて線を消す */
}

/* 最下部の線のスタイル ---------------------- */
.btnHamburger.is-active .line_03 {
  width: 24px;
  top: 9px; /* 上から2番目の線の位置に変更 */

  /* 線を135度回転 */
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

  #nav-content {
    background: rgba(31, 61, 148, 0.7);
    overflow: auto;
    display: none;
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 296px;
    z-index: 99998;
  }

  #nav-content > ul {
    position: absolute;
    width: 100%;
    top: 75.5px;
    margin: 0;
    font-size: 17px;
    line-height: 19px;
  }

  #nav-content  li {
    width: 100%;
    /* position: fixed; */
  }

  #nav-content a {
    opacity: 0;
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.05em;
    transition-delay: 0.1s;
    padding: 17.5px 0;
    text-align: right;
    border-top: solid 1px #ffffff;
    padding-right: 13.87%;
  }

  #nav-content.is-active a {
    opacity: 1;
    transition-delay: 0.3s;
  }

}
