/* スマホメニューのスタイル */
.sp-menu {
  display: none; /* 初期状態では非表示 */
  flex-direction: column;
  align-items: center;
  padding: 20px 0 40px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1000;
  overflow-y: auto;
  box-sizing: border-box;
}

/* メニュー表示時のbodyスタイル */
body.menu-open {
  overflow: hidden;
}

/* メニュー表示時の.sp-menuスタイル */
body.menu-open .sp-menu {
  display: flex;
}

/* ナビゲーションエリア */
.sp-menu__nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  align-items: flex-start;
  padding: 10px 20px;
  margin-top: 60px; /* ヘッダー高さ分の余白 */
}

.sp-menu__list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.sp-menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  position: relative;
  width: 100%;
  border-bottom: 1px solid #eeeeee;
}

.sp-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  text-decoration: none;
  color: #333333;
  transition: color 0.3s ease;
}

.sp-menu__link:hover,
.sp-menu__link:focus {
  color: #365a47;
}

.sp-menu__text {
  font-family: "Helvetica Neue-Regular", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.sp-menu__arrow {
  width: 6px;
  height: 10px;
}

/* フッターエリア（SNS、予約ボタン、営業時間） */
.sp-menu__footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  align-items: center;
  gap: 16px;
  padding: 24px 20px;
}

/* SNSアイコンエリア */
.sp-menu__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 8px;
}

.sp-menu__social-link {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.sp-menu__social-link:hover {
  opacity: 0.8;
}

.sp-menu__social-icon {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.sp-menu__social-icon--tiktok {
  width: 27px;
  height: 30px;
}

/* 予約ボタン共通スタイル */
.sp-menu__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 16px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 30px;
  border: 1.5px solid #365a47;
  text-decoration: none;
  color: #365a47;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}

.sp-menu__button:hover,
.sp-menu__button:focus {
  background-color: #365a47;
  color: #ffffff;
}

.sp-menu__button:hover .sp-menu__button-icon,
.sp-menu__button:focus .sp-menu__button-icon {
  filter: brightness(0) invert(1);
}

.sp-menu__button-icon {
  width: 20px;
  height: 20px;
  transition: filter 0.3s;
}

.sp-menu__button-text {
  font-weight: 500;
  white-space: nowrap;
}

/* 営業時間表示 */
.sp-menu__hours {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 20px;
  margin-top: 10px;
  width: 100%;
  border-top: 1px solid #365a47;
  border-bottom: 1px solid #365a47;
}

.sp-menu__hours-label,
.sp-menu__hours-time {
  font-weight: 400;
  color: #365a47;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}

/* PCとスマホの表示切り替え */
@media (min-width: 769px) {
  .sp-menu {
    display: none !important; /* PC表示では常に非表示 */
  }
}

@media (max-width: 768px) {
  .sp-menu__nav,
  .sp-menu__footer {
    padding: 10px 15px;
  }
  
  .sp-menu__text {
    font-size: 14px;
  }
  
  .sp-menu__button {
    padding: 12px 14px;
    font-size: 14px;
  }
  
  .sp-menu__hours {
    padding: 12px 15px;
  }
}

@media (max-width: 480px) {
  .sp-menu__nav,
  .sp-menu__footer {
    max-width: 100%;
  }
  
  .sp-menu__social {
    gap: 16px;
  }
  
  .sp-menu__social-icon {
    width: 26px;
    height: 26px;
  }
  
  .sp-menu__social-icon--tiktok {
    width: 23px;
    height: 26px;
  }
  
  .sp-menu__button {
    padding: 10px 12px;
    font-size: 13px;
  }
}