/* ===== hamburger ===== */
.common-header{
width:100%;
height:50px;
display:flex;
justify-content: space-between; 
align-items: center;
padding:0 0 0 16px;
z-index:1003;
position:fixed;
top:0;
left:0;
width:100%;
background:#212027 ;
    
}

.hamburger{
width: 50px;
    height: 50px;
     background-image: linear-gradient(63deg, #8d1f29 36%, #de6d11);
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin: 0;
    z-index:1002;
 }

.hamburger span {
  display: block;
  width: 30px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}
/* アニメ */
.hamburger.active span:nth-child(1){
transform:translateY(10px) rotate(45deg);
}
.hamburger.active span:nth-child(2){
opacity:0;
}
.hamburger.active span:nth-child(3){
transform:translateY(-10px) rotate(-45deg);
}

/* ===== nav ===== */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 20%;
  height: 100%;
  background-image: linear-gradient(63deg, #de6d11 13%, #8d1f29);
  transition: 0.3s;
    margin-top: 50px;
    z-index:1001;
}

@media screen and (max-width: 767px) {
  .nav {
    width: 70%;}
}
.nav.active {
  right: 0;
}

.nav ul{
list-style:none;
}

.nav li{
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
    margin: 0 10px;
}

.nav a{
text-decoration:none;
color:#E3E3E3;
font-size:18px;
font-weight: 400;
}



/* ===== overlay ===== */
.overlay{
position:fixed;
inset:0;
background:rgba(0,0,0,.4);
opacity:0;
visibility:hidden;
transition:.3s;
z-index:1000;
}

.overlay.active{
opacity:1;
visibility:visible;
}

/* スクロールロック */
body.menu-open{
overflow:hidden;
}