/* ヘッダー */

.header_hm {
  background-color: transparent;
  border-color: transparent;
  width: 100%;
  height: 45px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  text-align:right;
}

.header__inner {
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  position: relative;
  background-color: transparent;
	border-color: transparent;
}


/* ヘッダーのロゴ部分 */
.header__title {
  width: 200px;
}


@media screen and (min-width: 960px) {
  .header__title {
    width: 120px;
  }
}

.header__title img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ヘッダーのナビ部分 */

.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 90vh;
  transform: translateX(100%);
  background-color: #fff;
  transition: ease .4s;
}


.header__nav li{
	position:relative;
	width:100%;
	height:40px;
	margin:0;
	padding:0 10px;
    background-color: #fff;
	border-bottom: 1px solid #ccc;
}

.header__nav a{
	display:block;
	margin:0;
	padding:12px 0;
	color:#333;
	font-size:14px;
	font-weight:normal;
	line-height:1;
	text-decoration:none;}

.header__nav li:hover > a{opacity:0.6;}

.header__nav li ul{
	list-style:none;
	position:absolute;
	top:100%;
	left:5px;
	margin:0;
	padding:0;
	color:#333;
	width:90%;
	z-index:1 !important;
  }


.header__nav li ul li{
	overflow:hidden;
	width:100%;
	height:0;
	background-color:#fff;	
	border-bottom: 0px solid #ccc}

.header__nav li ul li a{
    padding:12px 0 12px 15px;
	text-align:left;
	font-size:14px;
	font-weight:normal;
    color:#333;
	border-bottom: 1px solid #fff}

.header__nav li:hover ul li{
	overflow:visible;
	height:40px;
	width:100% auto;
	border-top:1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background-color:#fff;
	}


@media screen and (min-width: 960px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 50%;
  }
}


@media screen and (min-width: 960px) {
  .nav__items {
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: space-between;

  }
}

.nav-items {
  padding-top: 80px;
  padding-left:30px;
  padding-bottom: 200px;
  text-align: left;
  width:100%
}


@media screen and (min-width: 960px) {
  .nav-items {
    padding-top: inherit;
    padding-bottom: inherit;
  }
}

/* ナビのリンク */
.nav-items__item a {
  color: black;
  width: 100%;
  display: block;
  text-align: left;
  font-size: 14px;
  margin: 0;
  border-bottom:1px solid #333;
  padding:10px;

}

.nav-items__item:last-child a {
  margin-bottom: 0;
}

@media screen and (min-width: 960px) {
  .nav-items__item a {
    margin-bottom: 0;
  }
}


/* ハンバーガーメニュー */

.header__hamburger {
  width: 48px;
  height: 100%;
	margin:0 0 0 90%;
	background-color:#fff;
	padding:5px;
	border:1px solid #333;

}

.hamburger {
  background-color: #fff;
	border:1px solid #333;
  z-index: 9999;
}

@media screen and (min-width: 960px) {
  .hamburger {
    display: none;
  }
}

/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #000;
  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);
}