/* =========================================================
   料金表 /price/ の冒頭ブロックと導線（E-5 2026-10-26）
   - 価格の前に院の強み3点＋カテゴリへのジャンプ＋予約・LINE（スマホ優先・コンパクト）
   - 料金の行・見出しから施術ページへ（押したら反応が分かるように）
   色：#50b3b0（メイン）／#1d666d・#247f89（固定バーと同じ濃いティール）／#dbf6f1（見出しの帯）
   ========================================================= */

/* ---------- 冒頭ブロック ---------- */
.p-price-top {
  max-width: 1120px;
  margin: 32px auto 0;
  padding: 0 20px;
  box-sizing: content-box;
}
@media screen and (min-width: 768px) {
  .p-price-top { margin-top: 56px; padding: 0 32px; }
}
.p-price-top__inner {
  background: #f3faf9;
  border: 1px solid #dbf6f1;
  border-radius: 16px;
  padding: 20px 16px 18px;
}
@media screen and (min-width: 768px) {
  .p-price-top__inner { padding: 32px 40px 28px; }
}

.p-price-top__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.p-price-top__en {
  font-family: "Libre Bodoni", serif;
  color: #50b3b0;
  font-size: 15px;
  letter-spacing: 0.08em;
}
.p-price-top__ttl {
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: #333;
  margin: 0;
}
@media screen and (min-width: 768px) {
  .p-price-top__en { font-size: 18px; }
  .p-price-top__ttl { font-size: 21px; }
}

/* 強み3点：スマホは縦に3行、PCは3列 */
.p-price-top__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media screen and (min-width: 768px) {
  .p-price-top__points { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
.p-price-top__points li { margin: 0; padding: 0; }
.p-price-top__points li::before { display: none; }
.p-price-top__point {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 12px;
  height: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  background: #fff;
  border-radius: 12px;
  color: #333;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(80, 179, 176, 0.15);
  transition: box-shadow 0.2s, background-color 0.2s;
}
@media screen and (min-width: 768px) {
  .p-price-top__point {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr auto;
    align-items: start;
    padding: 18px 18px 14px;
  }
}
@media (hover: hover) {
  .p-price-top__point:hover { box-shadow: 0 4px 14px rgba(29, 102, 109, 0.12); }
}
.p-price-top__point:active { background: #eaf7f5; }
.p-price-top__num {
  font-family: "Libre Bodoni", serif;
  font-size: 22px;
  line-height: 1;
  color: #50b3b0;
}
.p-price-top__body { display: block; min-width: 0; }
.p-price-top__pttl {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #1d666d;
}
.p-price-top__ptxt {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0;
  color: #555;
}
.p-price-top__more {
  font-size: 11px;
  font-weight: 700;
  color: #50b3b0;
  white-space: nowrap;
}
.p-price-top__more::after { content: " ›"; font-size: 14px; }
@media screen and (max-width: 767px) {
  /* スマホは矢印だけ（文字は読み上げ用に残す） */
  .p-price-top__more {
    font-size: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1px solid #badedd;
    display: flex; align-items: center; justify-content: center;
  }
  .p-price-top__more::after { content: "›"; font-size: 16px; line-height: 1; margin-top: -2px; }
}
@media screen and (min-width: 768px) {
  .p-price-top__num { grid-row: 1 / 3; font-size: 26px; }
  .p-price-top__pttl { font-size: 16px; }
  .p-price-top__ptxt { font-size: 13px; }
  .p-price-top__more { grid-column: 2; margin-top: 10px; }
}

/* カテゴリへのジャンプ：スマホは横スクロール1行×2、PCは折り返し */
.p-price-top__jump { margin-top: 16px; }
.p-price-top__jttl {
  font-size: 13px;
  font-weight: 700;
  color: #1d666d;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}
.p-price-top__jrow { display: flex; align-items: flex-start; gap: 8px; }
.p-price-top__jrow + .p-price-top__jrow { margin-top: 8px; }
.p-price-top__jlabel {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #50b3b0;
  border-radius: 40px;
  padding: 7px 10px;
  line-height: 1.2;
  white-space: nowrap;
}
.p-price-top__chips {
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
  display: flex;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
  mask-image: linear-gradient(to right, #000 88%, transparent);
}
.p-price-top__chips::-webkit-scrollbar { display: none; }
@media screen and (min-width: 768px) {
  .p-price-top__jrow { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: start; }
  .p-price-top__chips { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  /* PCは2行まで（カテゴリが多い美容皮膚科）。「すべて表示」で開く（下のスクリプトが付ける） */
  .p-price-top__chips.is-clamped { max-height: 70px; overflow: hidden; }
  .p-price-top__jmore {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
    padding: 2px 0;
    border: 0;
    background: none;
    font-size: 12px;
    font-weight: 700;
    color: #1d666d;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }
}
.p-price-top__chips li { flex: none; margin: 0; padding: 0; }
.p-price-top__chips li::before { display: none; }
.p-price-top__chips a {
  display: block;
  font-size: 13px;
  line-height: 1.2;
  padding: 6px 12px;
  color: #1d666d;
  background: #fff;
  border: 1px solid #badedd;
  border-radius: 40px;
  text-decoration: none;
  white-space: nowrap;
}
@media (hover: hover) {
  .p-price-top__chips a:hover { background: #50b3b0; border-color: #50b3b0; color: #fff; }
}
.p-price-top__chips a:active { background: #dbf6f1; }
.p-price-top__jsub { margin: 10px 0 0; font-size: 12px; text-align: right; }
.p-price-top__jsub a { color: #1d666d; text-decoration: underline; text-underline-offset: 3px; }

/* 予約・LINE（ボタンは丸み40px） */
.p-price-top__cta { display: flex; gap: 8px; margin-top: 16px; }
@media screen and (min-width: 768px) {
  .p-price-top__cta { justify-content: center; gap: 16px; margin-top: 20px; }
}
.p-price-top__btn {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  box-sizing: border-box;
  padding: 0 10px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s, box-shadow 0.2s;
}
@media screen and (max-width: 767px) {
  .p-price-top__btn { gap: 6px; padding: 0 6px; font-size: 13px; letter-spacing: 0; }
}
@media screen and (min-width: 768px) {
  .p-price-top__btn { flex: 0 1 300px; height: 54px; font-size: 16px; }
}
@media (hover: hover) {
  .p-price-top__btn:hover { opacity: 0.85; }
}
.p-price-top__bico { display: flex; align-items: center; justify-content: center; line-height: 0; }
.p-price-top__bico svg { width: 20px; height: 20px; display: block; }
.p-price-top__btn--reserve { background: #247f89; color: #fff; box-shadow: 0 2px 8px rgba(29, 102, 109, 0.25); }
.p-price-top__btn--reserve .p-price-top__bico svg path { fill: #f5c64a; }
.p-price-top__btn--line { background: #fff; color: #292d2c; border: 1px solid #badedd; }
.p-price-top__btn--line .p-price-top__bico { background: #06c755; border-radius: 6px; padding: 3px; }
.p-price-top__btn--line .p-price-top__bico svg { width: 16px; height: 16px; }

/* ---------- 冒頭ブロックがある時の料金一覧 ---------- */
.l-price_2col.p-price-has-top { margin-top: 48px; }
@media screen and (max-width: 767px) {
  .l-price_2col.p-price-has-top { margin-top: 32px; }
  /* スマホは上のジャンプで足りるため、カテゴリの選択欄（料金カテゴリのページへ移動）を出さない */
  .l-price_2col.p-price-has-top .l-right { display: none; }
}
/* スマホ：タブから最初の料金までの余白を詰める（冒頭ブロックの分、料金を下に押しやりすぎない） */
@media screen and (max-width: 767px) {
  .l-price_2col.p-price-has-top .c-edit_wrap h2.c-cat_ttl.--tabTtl { margin-top: 24px; margin-bottom: 16px; }
  .l-price_2col.p-price-has-top .c-edit_wrap .c-cat_ttl.--toh3 { margin-top: 36px; margin-bottom: 12px; }
  .l-price_2col.p-price-has-top .c-edit_wrap h2.c-cat_ttl.--tabTtl + .c-cat_ttl.--toh3 { margin-top: 16px; }
  .l-price_2col.p-price-has-top .c-edit_wrap .c-post_ttl_wrap { margin-top: 28px; }
  .l-price_2col.p-price-has-top .c-edit_wrap .c-price_notice { padding: 14px 4px 8px; }
  .l-price_2col.p-price-has-top .c-edit_wrap .c-price_notice__list { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-bottom: 8px; }
  .l-price_2col.p-price-has-top .c-edit_wrap .c-price_notice__list li { margin-bottom: 0; padding-left: 1em; }
  .l-price_2col.p-price-has-top .c-edit_wrap .c-text.p-price { margin-top: 4px; }
}

/* タブの中身：最初は美容外科だけ（読み込み中に両方が出てずれるのを防ぐ） */
.l-price_2col #js-tab2 { display: none; }
.l-tab_list .l-tab_trigger:focus-visible { outline: 2px solid #1d666d; outline-offset: -4px; border-radius: 40px; }

/* カテゴリの見出し：ジャンプ先（固定ヘッダーに隠れないように） */
.l-price_2col .c-cat_ttl.--toh3 { scroll-margin-top: 100px; }
.p-price-cat-links { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 10px 0 0 !important; padding: 0; list-style: none; }
.p-price-cat-links li { margin: 0; padding: 0; }
.p-price-cat-links li::before { display: none; }
.p-price-cat-links a { font-size: 13px; font-weight: 700; color: #1d666d; text-decoration: underline; text-underline-offset: 3px; }
.p-price-cat-links a::after { content: " ›"; }

/* 料金の見出し＋行のまとまり：押すと施術ページへ */
.p-price-item .c-row_wrap.is-linked { cursor: pointer; -webkit-tap-highlight-color: rgba(80, 179, 176, 0.15); transition: background-color 0.15s; }
@media (hover: hover) {
  .p-price-item .c-row_wrap.is-linked:hover { background: #f6fbfa; }
}
.p-price-item .c-row_wrap.is-linked:active { background: #eaf7f5; }

/* 押した直後：ページを読み込んでいる間も「押せた」ことが分かるように */
.is-price-navigating { opacity: 0.55; transition: opacity 0.15s; cursor: progress; }
a.is-price-navigating, .is-price-navigating a { pointer-events: none; }

/* キャンペーン：一覧の下へ移動（見出しの上の余白） */
.cu-campaign.p-price-campaign { scroll-margin-top: 100px; }
