@charset "utf-8";

:root{
  --max: 1100px;
  --pad: 24px;

  --card-radius: 18px;
  --card-shadow: 0 12px 40px rgba(0,0,0,.10);
  --bg: #ffffff;
  --line: rgba(0,0,0,.08);
}

.price{
  padding: clamp(32px, 5vw, 72px) 0;
  background: #fff;
}

.price__inner{
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.price__title{
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(20px, 2.2vw, 34px);
  font-weight: 700;
  letter-spacing: .08em;
}

/* 画像（PC） */
.price__img{
  display: block;
  width: 100%;
  height: auto;
}

/* ヒントはPCでは非表示 */
.price__hint{
  display: none;
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
  color: rgba(0,0,0,.6);
}

/* ---------------- SP（横スクロール） ---------------- */
@media (max-width: 500px){
  .price__scroller{
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;

    /* iOSの“謎の余白”防止 */
    scrollbar-gutter: stable both-edges;
  }

  /* スクロールバー（消したいなら下のブロック削除OK） */
  .price__scroller::-webkit-scrollbar{
    height: 10px;
  }
  .price__scroller::-webkit-scrollbar-thumb{
    background: rgba(0,0,0,.18);
    border-radius: 999px;
  }
  .price__scroller::-webkit-scrollbar-track{
    background: rgba(0,0,0,.06);
    border-radius: 999px;
  }

  /* SPは「画像が画面より大きい」＝横スクロールが発生 */
  .price__picture,
  .price__img{
    display: block;
  }

  .price__inner{
  padding: 0 3vw;
}

  /* 重要：SP画像の横幅を“画面以上”にして横スクロールさせる */
  .price__img{
    width: 100%;
    height: auto;
    max-width: none;
    /* ここが肝：表の見やすさに応じて調整 */
    min-width: 550px;
  }

  .price__hint{
    display: block;
  }
}

/* 動きが苦手な人向け（任意） */
@media (prefers-reduced-motion: reduce){
  .price__scroller{ scroll-behavior: auto; }
}
