*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body{
  font-family: "Noto Sans JP", sans-serif;
}
img{
  display: block;
  max-width: 100%;
}
header{
  position: relative;
  width: 100%;
}
.mainimage{
  width: 100%;
  height: auto;
}
.headertext{
  position: absolute;
  left: 8%;
  bottom: 14%;
  z-index: 2;
  color: white;
}
.headertext h1{
  font-size: clamp(3rem, 8vw, 3.5rem);
}
.headertext p{
  font-size: clamp(1rem, 3vw, 1.15rem);
}
/*뒤로가기 버튼*/
.back{
  position: absolute;
  left: 8%;
  top: 9%;
  z-index: 10;
  display: block;
  width: clamp(30px, 5vw, 50px);
  text-decoration: none;
}
.back img{
  width: 100%;
  height: auto;
}

/* 메뉴 */
main{
  width: 100%;
}
.deadwood-menu{
  width: 100%;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.menu-card{
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  text-decoration: none;
}
.menu-card > img{
  width: 100%;
  height: auto;
}
.menu-number,
.menu-title{
  position: absolute;
  left: 10%;
  z-index: 1;
  color: white;
}
.menu-number{
  top: 12%;
  font-size: clamp(1rem, 5vw, 9rem);
}
.menu-title{
  bottom: 12%;
  font-size: clamp(0.85rem, 3.2vw, 1.2rem);
}

/*Ipad*/
@media screen and (min-width: 768px){
  main{
    max-width: 768px;
    margin: 0 auto;
  }
  .headertext{
    left: 8%;
    bottom: 12%;
  }
  .headertext h1{
    font-size: clamp(3.5rem, 7vw, 5.5rem);
  }
  .headertext p{
    font-size: clamp(1.2rem, 2.5vw, 2rem);
  }
  .deadwood-menu{
    padding: 32px;
    padding-bottom: clamp(40px, 9%, 70px);
    gap: 20px;
  }
  .menu-number{
    font-size: 2rem;
  }
  .menu-title{
    font-size: 2rem;
  }
}