.price .pege-heade-inner {
  background: url('../img/price/price-header.png') center right no-repeat;
  background-size: 200px;
}

.price-table {
  padding-top: 50px;
  padding-bottom: 30px;
  font-size: 14px;
  color: #272727;
}

.price-table__block {
  margin-bottom: 60px;
}

.price-table__category {
  position: relative;
  padding-left: 1.5em;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 60px 0 40px;
  scroll-margin-top: 100px;
}

.price-table__category::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1em;
  height: 1em;
  background-color: #2f5e2f;
  transform: translateY(-50%);
}

.price-table__title {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 10px;
  padding: 0 0 10px 6px;
  border-bottom: 1px solid #7b9b7b;
}

/* ====== テーブル基礎（崩れにくく） ====== */
.price-table__list {
  width: 100%;
  border-collapse: separate;  /* collapseだとテーマの影響受けやすいので回避 */
  border-spacing: 0;
}

/* 余計な装飾を相殺 */
.price-table__list * {
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
}

/* ====== PC：trをgrid化して「3列レイアウト」 ====== */
.price-table__list thead tr,
.price-table__list tbody tr {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr; /* 施術名｜通常｜SNS */
  column-gap: 16px;
  align-items: center;
}

/* ヘッダー行 */
.price-table__list thead th {
  padding: 12px 0;
  border-bottom: 1px solid #e7e7e7;
  font-weight: 700;
  font-size: 12px;
  color: #666;
}

.price-table__list thead th:first-child {
  padding-left: 1em;
  text-align: left;
}

.price-table__list thead th.price-col {
  text-align: right;
}

/* 本文行 */
.price-table__list tbody th,
.price-table__list tbody td {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  line-height: 1.6;
}

/* 施術名 */
.price-table__list tbody th {
  padding-left: 1em;
  text-align: left;
  font-weight: 600;
  color: #222;
}

/* 価格セル（通常／SNS） */
.price-table__list tbody td {
  text-align: right;
  font-weight: 700;
  color: #222;

  /* ★絶対に「金額＋（税込）」を分離させない */
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;

  /* ★テーマ側のspanブロック化を殺す */
  display: inline-flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 4px;
}

/* 税込 */
.price-table__list tbody td span {
  display: inline !important;
  white-space: nowrap !important;
  font-size: 0.85em;
  opacity: 0.65;
  margin: 0 !important;
}

/* SNS価格：視認性UP */
.price-table__list tbody td[data-label="SNSフォロワー様限定価格"] {
  color: #2f5e2f;
  font-weight: 800;
}

/* たまにtheadがズレるテーマ対策：セルの幅計算を揃える */
.price-table__list thead th,
.price-table__list tbody th,
.price-table__list tbody td {
  min-width: 0;
}

/* 料金表 注釈 */
.price-note{
  margin-top: 60px;
  padding-top: 12px;
  font-size: clamp(12px, 1.2vw, 13px);
  color: #666;
  text-align: left;
}

.price-note p{
  margin: 0;
}

.price-note p + p{
  margin-top: 6px;
}

/* SP微調整 */
@media (max-width: 768px){
  .price-note{
    margin-top: 60px;
    padding-top: 10px;
  }
}

/* ====== タブレット：余白調整 ====== */
@media (max-width: 768px) {
  .price .pege-heade-inner {
    background-size: 160px;
  }
  .price-table__list thead tr,
  .price-table__list tbody tr {
    grid-template-columns: 1.4fr 1fr 1fr;
    column-gap: 12px;
  }
}

/* ====== スマホ：カード化（ラベル＋価格） ====== */
@media (max-width: 480px) {

  /* theadは非表示 */
  .price-table__list thead {
    display: none !important;
  }

  /* 1行＝カード */
  .price-table__list tbody tr {
    display: block; /* grid解除 */
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  /* 施術名 */
  .price-table__list tbody th {
    display: block;
    padding: 0 0 8px 1em;
    border: none;
    font-weight: 700;
  }

  /* 価格行（通常／SNS）を2段で表示 */
  .price-table__list tbody td {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    column-gap: 12px !important;
    align-items: baseline !important;

    padding: 6px 1em 0 1em !important;
    border: none !important;

    /* 金額＋税込は絶対1行 */
    white-space: nowrap !important;
  }

  /* data-labelを左に表示 */
  .price-table__list tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    text-align: left;
  }

  /* 税込：inline固定 */
  .price-table__list tbody td span {
    display: inline !important;
    white-space: nowrap !important;
  }
}

/* ====== MENUの開閉（あなたの既存） ====== */
.menu-category-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  position: relative;
}

/* ＋アイコン */
.menu-category-toggle {
  width: 16px;
  height: 16px;
  position: absolute;
  right: 24px;
}

.menu-category-toggle::before,
.menu-category-toggle::after {
  content: '';
  position: absolute;
  background: #fff;
  transition: transform 0.3s ease;
}

.menu-category-toggle::before {
  width: 16px;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.menu-category-toggle::after {
  width: 2px;
  height: 16px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

/* 開いたとき（＋ → −） */
.menu-category-card.is-open .menu-category-toggle::after {
  transform: translateX(-50%) scaleY(0);
}

/* body 初期状態 */
.menu-category-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
  background: #fff;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

/* 開いた状態 */
.menu-category-card.is-open .menu-category-body {
  padding: 24px;
  max-height: 2000px;
  opacity: 1;
}
/* =========================
   SP：税込が縦落ちするのを確実に防ぐ（上書き）
========================= */
@media (max-width: 480px) {

  /* theadは非表示のままでOK */
  .price-table__list thead {
    display: none !important;
  }

  /* tdをgrid→blockに戻す（これが本命） */
  .price-table__list tbody td {
    display: block !important;      /* ← gridを殺す */
    padding: 6px 1em 0 1em !important;
    border: none !important;
    text-align: right !important;

    /* 金額＋税込を必ず1行に */
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    line-height: 1.6 !important;
  }

  /* ラベルは上に表示（左寄せ） */
  .price-table__list tbody td::before {
    content: attr(data-label) !important;
    display: block !important;
    text-align: left !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    color: #666 !important;
    opacity: 1 !important;
    margin-bottom: 2px !important;
    white-space: normal !important;
  }

  /* （税込）を絶対に改行させない（テーマのblock指定も潰す） */
  .price .price-table__list tbody td span {
    display: inline-block !important;
    white-space: nowrap !important;
    margin-left: 4px !important;
    font-size: 0.85em !important;
    opacity: 0.65 !important;
  }

  /* SNS価格を強調（任意） */
  .price-table__list tbody td[data-label="SNSフォロワー様限定価格"] {
    font-weight: 800 !important;
    color: #2f5e2f !important;
  }

  /* 波線/下線が出る場合の保険 */
  .price-table__list,
  .price-table__list * {
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
  }
}
