

/*------
/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 5px 10px -6px rgba(0,0,0,.1);
  z-index: 2;
}

.header a {
    transition: opacity .3s;
    text-decoration: none;
    color: #1ca9e3;
}
.header a:hover {

    text-decoration: none;
}


.header img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    border-style: none;
}

.header ul,
.header li {
    list-style: none;
}


.header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;

    max-width: 1340px;
    margin: 0 auto;

}

.header-logo {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  margin-right: 40px;
  letter-spacing: .05em;

  width: 140px;
  display: inline-block;

}

.header-logo a {
  color: #333;
}

.header-nav-list {
  display: flex;
  justify-content: space-between;
}

.header-nav-item:not(:last-child) {
  margin-right: 20px;
}

.header-nav-item a {
  position: relative;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .05em;
  color: #333;
}
.header-nav-item a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #333;
}

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


/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
  body {
    font-size: 13px;
    line-height: 1.7;
  }

  /* ヘッダー */
  .header .inner {
    padding: 15px;
  }

  .header-logo {
    font-size: 15px;
    margin-right: 15px;
  }

  .header-nav-item:not(:last-child) {
    margin-right: 10px;
  }

  .header-nav-item a {
    font-size: 10px;
  }

  .header-nav-item a:after {
    display: none;
  }

}


/*ハンバーガーメニュー*/
.header-nav {
    display: block;
}
.hamburger-menu-btn {
    display: none;
}
.hamburger-menu {
    display: none;
}
@media screen and (max-width:640px){
    .header-nav {
        display: none;
    }
    .hamburger-menu-btn {
        display: block;
    }
    .hamburger-menu {
        display: block;
    }

    /*----------------------------
    * メニュー開閉ボタン
    *----------------------------*/
    .hamburger-menu-btn{
        position: fixed;
        top: 15px;
        right: 20px;
        z-index: 2;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }


    /* ハンバーガーメニューのアイコン */
    .hamburger-menu-btn span,
    .hamburger-menu-btn span:before,
    .hamburger-menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background: #333;
        transition: 0.5s;
        position: absolute;
    }

    /* 三本線の一番上の棒の位置調整 */
    .hamburger-menu-btn span:before {
        bottom: 8px;
    }

    /* 三本線の一番下の棒の位置調整 */
    .hamburger-menu-btn span:after {
        top: 8px;
    }



    /*----------------------------
    * メニュー本体
    *----------------------------*/
    .hamburger-menu{
        position: fixed;
        top: 0;
        right: 0;
        z-index: 10;
        width: 100vw;
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #555;
        opacity: 0.9;
    }
    .hamburger-menu__item{
        width: 100%;
        height: auto;
        padding: .5em 1em;
        text-align: center;
        color: #fff;
        box-sizing: border-box;

    }

    .hamburger-menu__item a{
        color: #fff;
        text-decoration: none;
    }
    /*----------------------------
    * アニメーション部分
    *----------------------------*/

    /* アニメーション前のメニューの状態 */
    .hamburger-menu{
        transform: translateX(100vw);
        transition: all .3s linear;
    }
    /* アニメーション後のメニューの状態 */
    .hamburger-menu.is-active{
        transform: translateX(0);
    }
}
