

/* ヘッダー */


.header {
  width: 100%;
  height: 110px;
  position: fixed;/*ついてくる*/
  background-color:#fff;/*ついてくる用色*/
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header__inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  position: relative;
}


/* ヘッダーのロゴ部分 */
.header__title {
  width: 310px;
}


.header__title img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ヘッダーのナビ部分 */

.header__nav {
  position: absolute;
  right: 0;
  left: 35%;/*widthと合わせて100％に*/
  top: 0;
  width:65%;/*widthと合わせて100％に*/
  height: 100vh;
  transform: translateX(100%);
  background-color: #263f6d;
  opacity: 0.95;
  transition: ease .4s;
  
}




@media screen and (min-width: 960px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 100%;
	max-width:950px;
  }
}


@media screen and (min-width: 960px) {
  .nav__items {
    width: 95%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: space-between;
  }
}

.nav-items {
  padding-top: 30%;
  padding-left:0;

}


@media screen and (min-width: 960px) {
  .nav-items {
    padding-top: inherit;
    padding-bottom: inherit;
  }
}

  /* ナビのリンク */
  .nav-items__item a {
  width: 100%;
  display: block;
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 24px;
  color:#efe5d5;
}

.nav-items__item:last-child a {
  margin-bottom: 0;
}

@media screen and (min-width: 960px) {
  .nav-items__item a {
    margin-bottom: 0;
	color:#494949;
	font-size:1.1em;
  }
}


/* ハンバーガーメニュー */

.header__hamburger {
  width: 55px;
  height: 100%;
  cursor:pointer;

}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}

@media screen and (min-width: 960px) {
  .hamburger {
    display: none;
  }
}

/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 2px;
  background-color: #b78f42;
  position: relative;
  transition: ease .4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}


/* ハンバーガーメニュークリック後のスタイル */

	
.header__nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;

}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}