@charset "UTF-8";


.hum{
	width:100%;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;

}

/* ハンバーガーボタンのデザイン */
.drawer__button {
	position:absolute;
	top:100px;
	left:auto;
	right:0 !important;
	padding:auto;
	width:40px;
	height:40px;
	background-color:#f2f2eb;
	cursor: pointer;
	z-index: 999; /* メニューを開いている時もクリックできるよう設定 */
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

buttom.drawer__button a{
display:none
}


.drawer__button a:hover{

background:red
}



/* ハンバーガーボタン内の線 */
.drawer__button > span {
	display: block;
	position:absolute;
	top:20px;
	right:-4px;
	width: 2rem;
	height: 2px;
	padding:1px 0;
	margin:0 auto;
	background-color:navy;
	transform: translateX(-50%);
}
.drawer__button > span:first-child {
  transform: translate(-50%, calc(-50% - 0.5rem));
  transition: transform 0.3s ease;
}
.drawer__button > span:nth-child(2) {
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}
.drawer__button > span:last-child {
  transform: translate(-50%, calc(-50% + 0.5rem));
  transition: transform 0.3s ease;
}


/* 展開時のデザイン */
.drawer__button.active > span:first-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.drawer__button.active > span:nth-child(2) {
  opacity: 0;
}
.drawer__button.active > span:last-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
/* メニューのデザイン */
nav.drawer__nav {
  position: fixed; /* 追従ヘッダーなどでも表示できるよう設定しておく */
  top:100px;
  right: -15px;
  width: 35%;
	min-width:300px;
  height:fit-content;
  background-color: rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.drawer__nav.active {
  opacity: 1;
  visibility: visible;
}
.drawer__nav__inner {
	position: fixed;
	width: 100%;
	height:calc(100% - 70px);
	background-color: white;
	padding: 4rem 1.5rem 1rem;
	margin: 0 0 0 auto;
	overflow: scroll;
	transform: translateX(100%);
	transition: transform 0.3s ease;
}

ul.drawer__nav__menu{
	z-index:500;
	height:100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}



.drawer__nav.active .drawer__nav__inner {
  transform: translateX(0);
}
.drawer__nav__menu {
  list-style: none;
  padding-left: 0;
}
.drawer__nav__link {
  display: block;
  color: black;
  text-decoration: none;
  padding: 1rem 1rem;
  border-bottom: solid 1px lightgray;
}

.drawer__nav__item:last-child a{
	border-bottom:none !important;
}




/* ハンバーガーメニュー展開時、背景を固定 */
body.active {
  height: 100%;

}

/* 見た目の調整 
section {
  width: 100%;
  height: 30vh;
}
section:nth-child(even) {
  background-color: skyblue;
}
*/
