.header {
  position: absolute; /* headerを追従にする */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0);
  z-index: 10000;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem 0.5rem 0rem;
}
.logo {
  font-size: 1.25em;
  font-weight: bold;
  position: sticky;
  top: 3%;
  left: 2%;
  z-index: 10000;
}
/* ハンバーガーボタンのデザイン */
.drawer__button {
  position: absolute;
  top: 3%;
  right: 3%;
  width: 3rem;
  height: 3rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 999; /* メニューを開いている時もクリックできるよう設定 */
}
/* ハンバーガーボタン内の線 */
.drawer__button > span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2px;
  background-color: black;
  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(-35deg);
}
.drawer__button.active > span:nth-child(2) {
  opacity: 0;
}
.drawer__button.active > span:last-child {
  transform: translate(-50%, -50%) rotate(35deg);
}
.drawer__button.active::after {
  content: 'close';
  font-size: 10px;
  position: absolute;
  bottom: -3px;
  width: 100%;
  text-align: center;
  color:#000000;
}
/* メニューのデザイン */
.drawer__nav {
  position: fixed; /* 追従ヘッダーなどでも表示できるよう設定しておく */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: white;
  transition: opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
  text-align: center;
}
.drawer__nav.active {
  opacity: 1;
  visibility: visible;
}
.mesh {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 5vw 5vw;
  background-repeat: repeat;
  background-position: left top;
}
.drawer__nav__inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 5rem 1.5rem 1rem;
  margin: 0 0 0 auto;
  overflow: scroll;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  background-image: url(../image/smp-menu-bkgd.svg);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
}
.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;
  font-size: 21px;
  font-weight: 600;
}
header .follow {
  width: 100%;
  text-align: center;
  display: flex;
  gap: 2em;
  justify-content: center;
  padding-top: 3em;
}
/* ハンバーガーメニュー展開時、背景を固定 */
body.active {
  height: 100%;
  overflow: hidden;
}