

body {
  padding: 0;
  margin: 0;
  background-image: url('../lp_img/bg.webp');
  background-size: cover;
  background-attachment: fixed;
}
h1 {
  padding: 0;
  margin: 0;
}

.container {
  position: relative; /* ← これが重要 */
  background: #fff;
  box-shadow: 0 0 30px 3px rgba(110,90,70,.7);
  padding: 0;
  max-width: 750px;
  margin: auto;
}

.lp{
  position: relative;
  padding: 0;
  margin: 0;
  margin-bottom: -10px;
  z-index: 1;
}

.btn01{
  position: absolute; /* 親要素内での絶対配置 */
  top: 80%; /* 上からの距離 */
  left: 5%; /* 左からの距離 */
  z-index: 9001; /* 重なり順を指定 */
  /* 必要に応じて画像サイズなどを指定 */
  width: 90%;
}
.btn02{
  position: absolute; /* 親要素内での絶対配置 */
  top: 27%; /* 上からの距離 */
  left: 5%; /* 左からの距離 */
  z-index: 9002; /* 重なり順を指定 */
  /* 必要に応じて画像サイズなどを指定 */
  width: 90%;
}
.btn03{
  position: absolute; /* 親要素内での絶対配置 */
	top: 85%; /* 上からの距離 */
  left: 5%; /* 左からの距離 */
  z-index: 9003; /* 重なり順を指定 */
  /* 必要に応じて画像サイズなどを指定 */
  width: 90%;
}
.btn04{
  position: absolute; /* 親要素内での絶対配置 */
  top: 1%; /* 上からの距離 */
  left: 5%; /* 左からの距離 */
  z-index: 9004; /* 重なり順を指定 */
  /* 必要に応じて画像サイズなどを指定 */
  width: 90%;
}
.btn05{
  position: absolute; /* 親要素内での絶対配置 */
  top: 39%; /* 上からの距離 */
  left: 5%; /* 左からの距離 */
  z-index: 9005; /* 重なり順を指定 */
  /* 必要に応じて画像サイズなどを指定 */
  width: 90%;
}
.btn06{
  position: absolute; /* 親要素内での絶対配置 */
  top: 72%; /* 上からの距離 */
  left: 5%; /* 左からの距離 */
  z-index: 9006; /* 重なり順を指定 */
  /* 必要に応じて画像サイズなどを指定 */
  width: 90%;
}
.btn07{
  position: absolute; /* 親要素内での絶対配置 */
  top: 87%; /* 上からの距離 */
  left: 5%; /* 左からの距離 */
  z-index: 9007; /* 重なり順を指定 */
  /* 必要に応じて画像サイズなどを指定 */
  width: 90%;
}




/* ハンバーガーアイコン */
.menu-wrapper {
  position: relative;
}

/* チェックボックスを見えなくする */
#menu-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* 3本線 */
.menu-icon {
  width: 40px;
  height: 30px;
  position: absolute; /* ← fixed から absolute に変更 */
  top: 10px;
  left: 20px; /* ← 左上にしたい場合 */
  cursor: pointer;
  z-index: 9999;
  display: inline-block;
}

.menu-icon span {
  display: block;
  height: 4px;
  margin: 6px 0;
  background: #333;
  border-radius: 2px;
  transition: 0.4s;
}

/* 3本線がXに変形 */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* オーバーレイ背景 */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 100; /* ← ラベルより下 */
}

#menu-toggle:checked ~ .overlay {
  opacity: 1;
  pointer-events: auto;
}

/* メニュー本体（左から出す） */
.menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
  transition: left 0.4s ease;
  z-index: 200; /* ← overlayより上、menu-iconより下 */
}

#menu-toggle:checked ~ .menu {
  left: 0;
}

.menu ul {
  list-style: none;
  padding: 60px 20px;
}

.menu li {
  margin: 20px 0;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.menu a:hover {
  color: #007bff;
}
