body{
  background-color: black;
  margin: 0;
}

header{
  background-color: #fff;
	margin: 0;
  width: auto;
  height: 90px;
}

.logo{
  width: 150px;
  height: auto;
}

header,.logo{
  display: flex;
  justify-content: center;
  align-items: center;
}

nav {
  background-color: #a52828;
  padding: 10px 20px;
  margin: 0 186px;
}

nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  justify-content: center;
  list-style: none;
  gap: 80px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}

nav a:hover {
  color: rgb(228, 169, 79);
}

.menu-parent {
  position: relative;
}

.menu-child {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 160px;
  padding: 10px 0;
  margin: 0;
  background-color: #a52828;
  list-style: none;
  border-radius: 0 0 8px 8px;
  transform: translateX(-50%); 
}

.menu-child li a {
  display: block;
  color: white;
  padding: 8px 16px;
  white-space: nowrap;
  text-align: center; 
}

.menu-child li a:hover {
  color: rgb(228, 169, 79);
}

.menu-parent:hover .menu-child {
  display: block;
}

.menu-title {
  display: block;
  color: #fff; 
  cursor: default;
  font-weight: bold;
}

.JIMCHI{
  margin:0 15px;
  align-items: center;
}

.JIMCHI img{
  width: 25px;
  height: auto;
  padding: 0 10px;
}

#graphic {
  display: flex;
	width: 840px;
	height: 400px;
	margin: 0 auto 30px auto;
  justify-content: center;
}

#graphic ul {
	position: relative;
	list-style: none;
	padding-left: 0;
}

#graphic ul li {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: opacity 1s ease-in-out;
  z-index: 0;
}

#graphic ul li.now {
	display: block;
	position: relative;
	top: 0;
	left: 0;
	opacity: 1;
  z-index: 1;
}

#graphic img {
  width: 891px;
  height: 400px;
  object-fit: cover;
}

#reservation {
  position: fixed;
  right: 80px;
  top: 500px;
  z-index: 1000; 
}

#reservation img {
  width: 200px;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25); 
  transition: transform 0.2s, box-shadow 0.2s;
}

#reservation img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  cursor: pointer;
}


#menu-title{
  margin: 100px 186px -30px 186px;
}

#menu-title h1{
  color: #fff;
  text-align: center;
  font-size: 40px;
}

#menu{
  max-width: 700px;
  margin: 0 auto;
  color: #fff;
}

#yakiniku1 ,#yakiniku2{
  border-left: #a52828 solid 5px;
  padding-left: 10px;
  margin-top: 100px;
}

#vegetables {
  border-left: rgb(0, 255, 17) solid 5px;
  padding-left: 10px;
  margin-top: 100px;
}

#soup{
  border-left: rgb(255, 149, 0) solid 5px;
  padding-left: 10px;
  margin-top: 100px;
}

#One-dish {
  border-left: rgb(0, 183, 255) solid 5px;
  padding-left: 10px;
  margin-top: 100px;
}

#meal{
    border-left: rgb(251, 255, 0) solid 5px;
  padding-left: 10px;
  margin-top: 100px;
}

#others{
    border-left: rgb(255, 0, 217) solid 5px;
  padding-left: 10px;
  margin-top: 100px;
}

#drink {
  border-left: blue solid 5px;
  padding-left: 10px;
  margin-top: 100px;
}

#course{
  border-left: #fff700 solid 5px;
  padding-left: 10px;
  margin-top: 100px;
}

.menu-list{
  list-style: none;
  padding: 0;
}

.menu-row{
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

.menu-main{
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-name{
  flex: 1;
  text-align: left;
}

.menu-price{
  white-space: nowrap;
}

.menu-toggle{
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.3s;
  color: #fff;
}

.menu-detail{
  font-size: 14px;
  color: #ffffff;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
}

.menu-detail.is-open{
  opacity: 1;
  padding: 10px 0 10px 0;
}

.menu-detail-inner{
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.menu-detail-text{
  flex: 1;
  min-width: 0;
}

.menu-detail-img{
  width: 64px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.menu-detail-inner{
  display:block;
}

.menu-detail-media{
  margin-top: 2px; 
  display: flex;
  justify-content: flex-end;
  padding-right: 44px;
  padding-bottom: 10px;
}

.menu-detail-img{
  width: 96px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  cursor: zoom-in;
  transform-origin: left top;
  transform: scale(1.18);
}

.img-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.img-modal.is-open{ display:flex; }
.img-modal-inner{
  max-width: min(92vw, 900px);
  max-height: 86vh;
}

.img-modal-inner img{
  width: 100%;
  height: auto;
  display:block;
  border-radius: 12px;
}

footer{
  background-color: #000000;
  margin-top: 200px;
}

#footer{
  align-items: center;
  justify-content: center;
  margin: 10px;
  display: flex;
  gap: 100px;
  list-style-type: none;
}

#footer a{
  color: #fff;
  text-decoration: none;
  justify-content: center;
}

#footer :hover{
  color: rgb(228, 169, 79);
}

footer #pagetop a {
  display: flex;
  justify-content: flex-end;
  align-items: center; 
  color: #fff;
  margin-right: 186px;
  margin-bottom: 100px;
  margin-top: 100px;
}

footer #copyright{
	display: flex;
	color: #ffffff;
	margin: 0;
	background-color: #6c5f45;
	justify-content: center;
	align-items: center;
	height: 30px;
}