/* スムーススクロールを有効に */
html {
  scroll-behavior: smooth;
  background-color: #333;
}

body {
  margin: 0;
  font-family: sans-serif;
}

.container {
  position: relative;
  min-height: 100vh;
}

/* ヘッダー */
header {
  position: sticky;
  top: 0;

  width: 100%;
  max-width: 600px;
  left: 0%;
  /* transform: translateX(-50%); */
  z-index: 1000;
  transition: background-color 0.3s ease;
  margin: 0 auto;
  margin-top: 150px;
}

header.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
}

.menu {
  margin: 0 auto;
  /* margin-top: 20px; */
  max-width: 600px;
  padding: 0.5em 1em;
}

.menu-item {
  text-align: center;
}

.menu-up {
  display: flex;
  justify-content: space-between;
  gap: 0.5em;
  margin-bottom: 0.5em;
}

.menu-down {
  display: flex;
  justify-content: space-between;
  gap: 0.5em;
}

.menu a {
  position: relative;
  text-decoration: none;
  color: #333;
  background: white;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
  padding: 0.3em 0;
}

/* .menu a:before {
  content: '';
  position: absolute;
  top: 0;
  left: 3px;
  width: 1px;
  height: 100%;
  z-index: 1000000;
  background: black;
}

.menu a:after {
  content: '';
  position: absolute;
  top: 0;
  right: 3px;
  width: 1px;
  height: 100%;
  z-index: 1000000;
  background: black;
} */

/* 各セクションの間に余白を追加し、固定ヘッダー分の余白も確保 */
section {
  margin: 0;
  padding: 0;
  line-height: 0;
  display: block;
  scroll-margin-top: 120px; /* 固定ヘッダーの高さ + 余白を考慮したスクロール位置の調整 */
}

/* 特定のセクションごとに個別の調整が必要な場合は、IDセレクタで上書き可能 */
#rule {
  scroll-margin-top: 110px;
}

#option {
  scroll-margin-top: 90px;
}

#shisha-flavor {
  scroll-margin-top: 100px;
}

#drink {
  scroll-margin-top: 60px;
}

#food {
  scroll-margin-top: 100px;
}

#alcohol {
  scroll-margin-top: 100px;
}

section img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 0;
}

img.arrow {
  width: 14px;
  height: 14px;
  margin-left: 3px;
}
