* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
header {
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  padding: 0 20px;
  background-color: #666666;
  color: white;
  align-items: center;
}
.menu-trigger {
  position: fixed;   
  top: 8px;         
  left: 20px;        
  cursor: pointer;
  font-size: 28px;
  margin-right: 20px;
}
.menu-hamburger{
position: fixed;
top: 18px;
left: 20px;
display: flex;
flex-direction: column; 
justify-content: space-between;
width: 30px;
height: 24px;
padding: 3px 3px;
cursor: pointer;
}
.menu-hamburger span {
display: block;
width: 100%;
height: 2.5px;
background-color: white;
border-radius: 2px; /* 端を丸くする */
}
.logo {
  position: fixed;
  font-size: 20px;
  color: white;
  background: none; 
  border: none;
  top: 14px;
  left: 60px; 
}
.right-side-area {
  position: fixed;
  top: 60px;       /* ヘッダーの高さ分だけ下げる */
  right: 0;
  width: 100px;    /* 右側の帯の幅 */
  height: 100%;
  background-color: #f4f4f4; /* わかりやすいように薄いグレー */
  padding: 20px;
  border-left: 1px solid #ccc;
  z-index: 500;
}
/* --- サイドメニューの絶対配置 --- */
.side-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #666666;
  transition: 0.3s; /* スライドのアニメーション */
  z-index: 1000;
}

/* アクティブな時に表示するクラス */
.side-menu.is-active {
  left: 0;         /* 左から出てくる */
}

/* メニューのリスト（縦並び） */
.side-menu ul {
  list-style: none;
  padding-top: 60px;
}

.side-menu li {
  padding: 20px;
}

.side-menu a {
  color: white;
  text-decoration: none;
}
.upLayer{
  z-index: 2000;
}
main {
  margin-top: 80px;
  padding: 20px;
  margin-right: 100px;
}

.btn {
  padding: 10px 10px;
  color: white;
  display: inline-block;
  opacity: 0.8;
  border-radius: 8px;
  text-decoration: none;
}
.X-twitter{
  background-color: black;
  margin-right: 10px;
}





/* --- オーバーレイ --- */
.overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
}
.overlay.is-active {
  display: block;
}
