@charset "UTF-8";

/* ===========================================================
 * phe-price.css — 料金（ショートコード [phe_price]）
 * 色・余白は新しいヘッダー・フッター（--phe-color-*）に揃える。スマホを先に組む。
 * =========================================================== */

.phe-price {
  --phe-price-radius: 10px;
  --phe-price-gap: 12px;
  --ark-padding--cell: 10px 12px;
  color: var(--phe-color-text);
  line-height: 1.7;
}

.phe-price *,
.phe-price *::before,
.phe-price *::after {
  box-sizing: border-box;
}

.phe-price :where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, table) {
  margin: 0;
  padding: 0;
}

.phe-price :where(ul, ol) {
  list-style: none;
}

.phe-price table {
  border: 0;
}

.phe-price :where(th, td) {
  border: 0;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* ----- ページの見出しと、施設・区分を選ぶところ ----- */
/* Q&A の「よくあるご質問」（Arkhe Blocks のセクション・見出し）に揃える: 灰色の全幅の区画、28px の太字、下に短い線 */
.phe-price-head {
  position: relative;
  left: calc(50% - 50vw + var(--ark-scrollbar_width, 0px) / 2);
  width: calc(100vw - var(--ark-scrollbar_width, 0px));
  max-width: 100vw;
  background: var(--ark-color--gray, #f7f7f7);
}

.phe-price-head__inner {
  max-width: calc(var(--ark-width--article, 1140px) + var(--ark-padding--container, 16px) * 2);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4rem) var(--ark-padding--container, 16px) clamp(2rem, 5vw, 3rem);
}

.phe-price .phe-price-title {
  font-size: 1.75em;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
}

.phe-price-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 8px 0 0;
  border-radius: 2px;
  background: var(--ark-color--main, #6fc7e1);
}

.phe-price-title + .phe-price-select {
  margin-top: 24px;
}

/* ----- 施設を選ぶ・区分へ移動（ページの上と、下の固定バーから開く画面で同じ見た目） ----- */
.phe-price-select {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--phe-color-border);
  border-radius: var(--phe-price-radius);
}

.phe-price-select__title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
}

.phe-price-select__help {
  margin-bottom: 8px;
  font-size: 0.875rem;
  color: var(--phe-color-text-muted);
}

.phe-price-choices + .phe-price-select__title {
  margin-top: 20px;
}

.phe-price-choices {
  display: grid;
  gap: 8px;
}

.phe-price-choices--school {
  grid-template-columns: repeat(3, 1fr);
}

/* 区分は 2×2（横にスクロールしなくても 4 つとも見える） */
.phe-price-choices--section {
  grid-template-columns: repeat(2, 1fr);
}

.phe-price-choices > li {
  display: flex;
  margin: 0;
}

/* 押せるボタン: 枠・影・文字で押せると分かるようにする（マウスを乗せたときの変化に頼らない） */
.phe-price-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 60px;
  margin: 0;
  padding: 8px 6px;
  border: 2px solid #c9ced3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.10);
  color: var(--phe-color-text);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.phe-price-choice:link,
.phe-price-choice:visited {
  color: var(--phe-color-text);
}

.phe-price-choice:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.10);
}

.phe-price-choice:focus-visible,
.phe-price-bar__btn:focus-visible,
.phe-price-sheet__close:focus-visible,
.phe-price-btn:focus-visible {
  outline: 3px solid var(--phe-color-primary);
  outline-offset: 2px;
}

.phe-price-choice__badge {
  display: none;
  padding: 1px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--phe-color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
}

/* 表示中の施設 */
.phe-price-choice--school[aria-pressed="true"] {
  background: var(--phe-color-primary);
  border-color: var(--phe-color-primary);
  color: #fff;
}

.phe-price-choice--school[aria-pressed="true"] .phe-price-choice__badge {
  display: inline-block;
}

/* 区分: アイコンと名前を横に並べる */
.phe-price-choice--section {
  flex-direction: row;
  justify-content: flex-start;
  gap: 8px;
  min-height: 64px;
  padding: 8px 10px;
  font-size: 0.9375rem;
  line-height: 1.4;
  text-align: left;
}

.phe-price-choice__icon {
  flex: 0 0 1.4em;
  color: var(--phe-color-primary);
  font-size: 1.05em;
  text-align: center;
}

/* 名前は語の切れ目（<wbr>）でだけ折り返す */
.phe-price-choice__text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* スマホは文字の幅を取るため、余白を詰める */
@media (max-width: 599px) {
  .phe-price-select {
    padding: 14px 10px;
  }

  .phe-price-choices {
    gap: 6px;
  }

  .phe-price-choice--section {
    gap: 6px;
    padding: 8px;
  }

  .phe-price-choice__icon {
    flex-basis: 1.2em;
  }
}

/* 選ぶ画面の中の「いまここ」の区分 */
.phe-price-choice--section[aria-current="true"] {
  border-color: var(--phe-color-primary);
}

.phe-price-choice--section[aria-current="true"] .phe-price-choice__badge {
  display: inline-block;
  flex: 0 0 auto;
  background: var(--phe-color-primary);
  color: #fff;
}

/* ----- 画面の下に固定するバー（いま表示中の施設と区分／かえるボタン） ----- */
.phe-price-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--phe-color-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.10);
  transition: transform 0.2s ease, visibility 0.2s ease;
}

.phe-price-bar[hidden] {
  display: none;
}

/* ページの上の選ぶボタンが見えている間は、同じものが二重にならないよう下のバーを引っ込める */
.phe-price-bar.is-away {
  transform: translateY(110%);
  visibility: hidden;
}

.phe-price-bar__now {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.35;
}

.phe-price-bar__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--phe-color-text-muted);
}

.phe-price-bar__school {
  font-size: 1.0625rem;
  font-weight: 700;
}

.phe-price-bar__section {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phe-price-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 52px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--phe-color-primary);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}

.phe-price-bar__btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.phe-price-bar__icon {
  font-size: 0.75em;
}

/* 固定バーの分だけ、フッターの下とページ上部へ戻るボタンを上げる */
.phe-price-page.phe-price-has-bar .phe-footer {
  padding-bottom: var(--phe-price-bottombar-h, 80px);
}

.phe-price-page.phe-price-has-bar .p-fixBtnWrap {
  bottom: calc(var(--phe-price-bottombar-h, 80px) + 16px);
}

/* ----- 施設・区分を選ぶ画面（画面の下から出る） ----- */
.phe-price-sheet {
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  max-height: 88dvh;
  margin: auto auto 0;
  padding: 0 16px calc(20px + env(safe-area-inset-bottom));
  border: 0;
  border-radius: 16px 16px 0 0;
  background: #fff;
  color: var(--phe-color-text);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.phe-price-sheet::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.phe-price-sheet__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px 0 10px;
  background: #fff;
  border-bottom: 1px solid var(--phe-color-border);
}

.phe-price-sheet__title {
  font-size: 1.125rem;
  font-weight: 700;
}

.phe-price-sheet__close {
  min-width: 96px;
  min-height: 44px;
  padding: 6px 14px;
  border: 2px solid #c9ced3;
  border-radius: 999px;
  background: #fff;
  color: var(--phe-color-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* ----- 施設のまとまり ----- */
.phe-price-school + .phe-price-school {
  margin-top: 48px;
}

.phe-price-school[hidden] {
  display: none;
}

.phe-price.is-enhanced .phe-price-school + .phe-price-school {
  margin-top: 0;
}

.phe-price-school__name {
  font-size: 1.25rem;
  font-weight: 700;
  padding: 16px 0 0;
  letter-spacing: 0.04em;
}

/* スクリプトが動くときは、表示中の施設がボタンと下のバーで分かるので、施設名の見出しは読み上げ用だけにする */
.phe-price.is-enhanced .phe-price-school__name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ページ内で移動したとき、スクロールに付いてくるヘッダーの下で止まるようにする */
.phe-price-anchor,
.phe-price-select,
.phe-price-school,
.phe-price-sec {
  scroll-margin-top: calc(var(--phe-header-sticky-h, 57px) + 12px);
}

.phe-price-anchor {
  display: block;
}

/* ----- 区分 ----- */
/* 区分ごとの色（サイトの色分け＝トップの「各施設のご案内」のボタンとスライダーに揃える。その区分の中だけで使う）。
   --phe-price-c: 区分の見出しの下線・会員区分・コースのカードの枠線と名前のラベルの地（トップのボタンの地の色）／ -on: その地に乗せる文字（4.5:1 以上）／
   -dark: 文字と、白い文字を乗せる地（白地・-tint の地とも 4.5:1 以上）／ -tint: 淡い地／ -line: 淡い線 */
.phe-price {
  --phe-price-c: #6fc7e1;
  --phe-price-c-on: #401802;
  --phe-price-c-dark: #1a72a8;
  --phe-price-c-tint: #eaf4fb;
  --phe-price-c-line: #b7d4e8;
}

/* スポーツクラブ: 黄〜橙（文字は茶に近い濃さ） */
.phe-price-sec--sports-club {
  --phe-price-c: #fcb900;
  --phe-price-c-on: #401802;
  --phe-price-c-dark: #8c5000;
  --phe-price-c-tint: #fff6db;
  --phe-price-c-line: #f3d88f;
}

/* キッズスイミングスクール: 水色〜青 */
.phe-price-sec--kids-swimming {
  --phe-price-c: #6fc7e1;
  --phe-price-c-on: #401802;
  --phe-price-c-dark: #1a72a8;
  --phe-price-c-tint: #eaf4fb;
  --phe-price-c-line: #b7d4e8;
}

/* キッズカルチャースクール: 赤 */
.phe-price-sec--kids-culture {
  --phe-price-c: #cf2e2e;
  --phe-price-c-on: #fff;
  --phe-price-c-dark: #b22222;
  --phe-price-c-tint: #fdeeee;
  --phe-price-c-line: #f2c4c4;
}

/* リラクゼーション施設: ピンク（リラクゼーションのページへの埋め込み .phe-price--relax も同じ色） */
.phe-price-sec--relaxation,
.phe-price--relax {
  --phe-price-c: #f78da7;
  --phe-price-c-on: #401802;
  --phe-price-c-dark: #a8305a;
  --phe-price-c-tint: #fdf0f3;
  --phe-price-c-line: #f6c8d5;
}

.phe-price-sec {
  padding-top: 32px;
}

.phe-price-sec__head {
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 3px solid var(--phe-price-c);
}

.phe-price-sec__en {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--phe-color-text-muted);
}

.phe-price-sec__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
}

.phe-price-sec__icon,
.phe-price-block__icon {
  color: var(--phe-price-c-dark);
  font-size: 0.85em;
}

.phe-price-block + .phe-price-block {
  margin-top: 32px;
}

.phe-price-block__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
}

.phe-price-block__lead {
  margin-top: 4px;
  font-size: 0.9375rem;
  color: var(--phe-color-text-muted);
}

.phe-price-sub {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 700;
}

/* ----- 会員区分・コースのカード ----- */
.phe-price-plans {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: var(--phe-price-gap);
}

/* カードは「区分名」「月会費」「曜日・時間帯など」の3段。subgrid で、同じ段に並ぶカードどうしで段の高さを揃える
   （区分名の下にかっこ書きがあるカードと無いカードで、月会費の位置がずれないようにする。1列のスマホでも同じ仕組みで問題ない） */
.phe-price-plan {
  display: grid;
  grid-template-rows: auto auto 1fr;
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: 12px;
  align-content: start;
  margin: 0;
  padding: 16px;
  background: #fff;
  /* 枠は区分の色の細い線（スポーツクラブ＝黄、キッズスイミング＝水色、キッズカルチャー＝赤） */
  border: 1px solid var(--phe-price-c);
  border-radius: var(--phe-price-radius);
}

.phe-price-plan__fees {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
}

.phe-price-plan__name {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
}

/* 会員区分・コースの名前: 区分の色の地のラベル（地と文字はトップのボタンの組み合わせ。4.5:1 以上） */
.phe-price-plan__label {
  display: inline-block;
  max-width: 100%;
  padding: 3px 12px;
  border-radius: 6px;
  background: var(--phe-price-c);
  color: var(--phe-price-c-on);
  letter-spacing: 0.02em;
}

.phe-price-plan__sub {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #666;
}

/* 月会費: 区分の色の淡い地に、区分の色の濃い文字で金額 */
.phe-price-fee {
  padding: 10px 12px;
  background: var(--phe-price-c-tint);
  border-radius: 8px;
}

.phe-price-fee__th {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--phe-price-c-dark);
}

.phe-price-fee__body {
  margin: 0;
}

.phe-price-fee--single {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.phe-price-fee--single .phe-price-fee__amount {
  font-size: 1.625rem;
}

.phe-price-fee__amount {
  font-size: 1.1875rem;
  font-weight: 700;
  font-feature-settings: "tnum";
  white-space: nowrap;
  line-height: 1.3;
  color: var(--phe-price-c-dark);
}

.phe-price-fee__after {
  font-size: 0.8em;
  margin-left: 1px;
}

.phe-price-fee__list {
  margin-top: 4px;
}

.phe-price-fee__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 4px 0;
}

.phe-price-fee__item + .phe-price-fee__item {
  border-top: 1px dashed var(--phe-price-c-line);
}

.phe-price-fee__label {
  font-size: 0.9375rem;
  color: #333;
}

/* 利用できる曜日・時間帯など */
.phe-price-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 小見出し（「マシンジム/プール/スタジオ」「スーパー銭湯」など）は、淡い灰色の札にアイコンを添えて、中身と見分ける */
.phe-price-rows__th {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #eef1f4;
  color: #333;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.6;
}

.phe-price-rows__icon {
  flex: 0 0 auto;
  color: #56606b;
  font-size: 0.95em;
}

.phe-price-rows__td {
  margin: 0;
  font-size: 0.9375rem;
  color: #222;
}

/* 曜日と時間（時間は読みやすい濃さに。土曜は青・日祝は赤。文字の「土」「日祝」も出ている） */
.phe-price-days {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 6px 10px;
  margin: 0;
}

.phe-price-days__row {
  display: contents;
}

.phe-price-days dt {
  font-weight: 700;
  white-space: nowrap;
  color: #333;
}

.phe-price-days dt.is-sat {
  color: #1565c0;
}

.phe-price-days dt.is-holiday {
  color: #c62828;
}

.phe-price-days dd {
  margin: 0;
  font-weight: 500;
  font-feature-settings: "tnum";
}

/* 複数のコマは1コマずつの札にして並べる（入り切らなければ次の行へ。1コマの中では折り返さない）。
   区切りの「 / 」は HTML に文字として残し、画面には出さない */
.phe-price-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.phe-price-slot {
  margin: 0;
  padding: 0 8px;
  border: 1px solid #cfd6dd;
  border-radius: 6px;
  background: #fff;
  line-height: 1.7;
  white-space: nowrap;
}

.phe-price-slots__sep {
  display: none;
}

.phe-price-text + .phe-price-days,
.phe-price-days + .phe-price-text {
  margin-top: 4px;
}

.phe-price-text--note {
  font-size: 0.8125rem;
  color: #666;
}

.phe-price-mark {
  font-size: 0.8em;
  font-weight: 700;
  color: var(--phe-color-accent);
}

/* ----- 休館日・入会金・入会資格（1つの枠に、左に項目名・右に内容。スマホは上下） ----- */
.phe-price-info {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.phe-price-facts {
  margin: 0;
  background: #fff;
  border: 1px solid var(--phe-color-border);
  border-radius: var(--phe-price-radius);
  overflow: hidden;
}

.phe-price-facts__row {
  display: grid;
  grid-template-columns: 1fr;
}

.phe-price-facts__row + .phe-price-facts__row {
  border-top: 1px solid var(--phe-color-border);
}

.phe-price-facts__th {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--phe-color-bg-light);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
}

.phe-price-facts__icon {
  flex: 0 0 1.25em;
  color: var(--phe-price-c-dark);
  text-align: center;
}

.phe-price-facts__td {
  margin: 0;
  padding: 10px 14px 12px;
  font-size: 1rem;
}

/* ----- 入会に必要な物（キャラクターと吹き出し、持ち物の一覧） ----- */
/* 帯と外枠は、会員区分・コースの名前のラベルと同じ組み合わせ（地と枠＝区分の色、帯の字とアイコン＝その地に乗せる文字の色）。
   中の吹き出し・「ご準備いただくもの」・チェックの印は区分の濃い色のまま */
.phe-price-bring {
  --phe-price-bring-dark: var(--phe-price-c-dark);
  --phe-price-bring-tint: var(--phe-price-c-tint);
  background: #fff;
  border: 2px solid var(--phe-price-c);
  border-radius: 12px;
  overflow: hidden;
}

.phe-price .phe-price-bring__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--phe-price-c);
  color: var(--phe-price-c-on);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
}

.phe-price-bring__body {
  display: grid;
  gap: 14px;
  padding: 16px 14px;
  background: var(--phe-price-bring-tint);
}

/* キャラクターが吹き出しで「忘れずにお持ちください♪」と言う（スマホはキャラクターの右に吹き出し） */
.phe-price-bring__voice {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phe-price-bring__chara {
  display: block;
  flex: 0 0 auto;
  width: 72px;
  height: auto;
  aspect-ratio: 1;
}

.phe-price-bring__comment {
  position: relative;
  padding: 8px 14px;
  background: #fff;
  border: 2px solid var(--phe-price-bring-dark);
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.phe-price-bring__comment::before,
.phe-price-bring__comment::after {
  content: "";
  position: absolute;
  top: 50%;
  border-style: solid;
  border-color: transparent;
  transform: translateY(-50%);
}

.phe-price-bring__comment::before {
  right: 100%;
  border-width: 8px 10px 8px 0;
  border-right-color: var(--phe-price-bring-dark);
}

.phe-price-bring__comment::after {
  right: calc(100% - 3px);
  border-width: 6px 8px 6px 0;
  border-right-color: #fff;
}

/* ご準備いただくもの */
.phe-price-bring__box {
  padding: 14px 16px 12px;
  background: #fff;
  border-radius: 10px;
}

.phe-price-bring__title {
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--phe-color-border);
  color: var(--phe-price-bring-dark);
  font-weight: 700;
}

/* 持ち物は1つずつ1行に、チェックの印を付けて並べる。幅があれば2列: 左の列は一番長い項目の幅、列の間は 48px、
   右の列はその右から白い箱の右端まで（空きは右端に回る）。右の列が 16em 取れなければ、右の列を左の列の下へ（スマホ） */
.phe-price-bring__cols {
  display: flex;
  flex-wrap: wrap;
  column-gap: 48px;
}

.phe-price-bring__list {
  flex: 0 1 auto;
}

.phe-price-bring__list + .phe-price-bring__list {
  flex: 1 1 16em;
}

.phe-price-bring__item {
  display: grid;
  grid-template-columns: 1.4em 1fr;
  column-gap: 6px;
  margin: 0;
  padding: 6px 0;
  line-height: 1.6;
}

.phe-price-bring__check {
  padding-top: 0.3em;
  color: var(--phe-price-bring-dark);
  text-align: center;
}

.phe-price-bring__dot {
  display: none;
}

/* 口座通帳の金融機関: 名前ごとの枠を横に並べ、入り切らなければ次の行へ。名前の途中では折り返さない。
   かっこと区切りの記号（「（」「・」「 / 」「）」）は HTML に文字として残し、画面には出さない */
.phe-price-banks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  grid-column: 2;
  margin-top: 6px;
}

.phe-price-banks__item {
  margin: 0;
  padding: 3px 10px;
  border: 1px solid var(--phe-price-c-line);
  border-radius: 999px;
  background: var(--phe-price-bring-tint);
  font-size: 0.9375rem;
  line-height: 1.5;
  white-space: nowrap;
}

.phe-price-banks__sep {
  display: none;
}

/* スマホでは、金額を含むかっこ書き（「会員情報管理料」の「（月：110円）」など）を2行目に出す。PC は1行のまま */
@media (max-width: 767px) {
  .phe-price-bring__paren {
    display: block;
  }
}

.phe-price-bring__subs {
  grid-column: 2;
  margin-top: 2px;
  font-size: 0.875rem;
  color: #666;
}

.phe-price-bring__subs > li {
  margin: 0;
}

/* 金額の途中（「850」と「円」の間など）で折り返さない */
.phe-price-yen {
  font-weight: 700;
  font-feature-settings: "tnum";
  white-space: nowrap;
}

/* ----- 入浴料・アメニティの表 ----- */
/* 列は2つ（左に一般入浴料金と会員入浴料金、右にアメニティ）。幅が足りなければ1列にして上から順に */
.phe-price-relax {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 8px 24px;
}

.phe-price-relax__col {
  display: grid;
  align-content: start;
  row-gap: 8px;
}

.phe-price-relax__item .phe-price-sub {
  margin-top: 12px;
}

.phe-price-list {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--phe-color-border);
  font-size: 0.9375rem;
}

.phe-price .phe-price-list th,
.phe-price .phe-price-list td {
  border-bottom: 1px solid var(--phe-color-border);
  background: transparent;
  vertical-align: middle;
}

.phe-price .phe-price-list th {
  --ark-padding--cell: 10px 8px 10px 4px;
  font-weight: 600;
  text-align: left;
}

.phe-price .phe-price-list td {
  --ark-padding--cell: 10px 4px 10px 8px;
  text-align: right;
  font-weight: 700;
  font-feature-settings: "tnum";
  white-space: nowrap;
  width: 7em;
}

/* 料金ページのリラクゼーション施設の区分では、表の見出しを区分の色の淡い地に、金額を区分の色の濃い文字に
   （リラクゼーションのページへの埋め込みは今のまま） */
.phe-price-sec .phe-price-relax__item .phe-price-sub {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--phe-price-c-tint);
  color: var(--phe-price-c-dark);
}

.phe-price-sec .phe-price-list td {
  color: var(--phe-price-c-dark);
}

.phe-price-list__note {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #666;
}

/* ----- リンクのボタン ----- */
.phe-price-links {
  margin-top: 16px;
}

.phe-price .phe-price-text + .phe-price-text {
  margin-top: 4px;
}

.phe-price-block > .phe-price-text {
  margin-top: 8px;
}

.phe-price-btn,
.phe-price-btn:link,
.phe-price-btn:visited {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid var(--phe-color-primary);
  border-radius: 999px;
  background: #fff;
  color: var(--phe-color-primary);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.phe-price-btn:hover,
.phe-price-btn:active {
  background: var(--phe-color-primary);
  color: #fff;
}

/* ----- リラクゼーションのページへの埋め込み ----- */
.phe-price--embed .phe-price-relax__item .phe-price-sub {
  margin-top: 0;
}

.phe-price--embed .phe-price-list {
  background: #fff;
}

/* 列ごとに白いカード（リラクゼーション施設の色の細い枠。上端・左端の色の帯は付けない）。2枚の高さは揃えない。
   料金ページのリラクゼーション施設の区分は今のまま */
.phe-price--relax .phe-price-relax {
  align-items: start;
  gap: var(--phe-price-gap);
}

.phe-price--relax .phe-price-relax__col {
  row-gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--phe-price-c);
  border-radius: var(--phe-price-radius);
}

/* 表の見出しは、料金ページの会員区分・コースの名前と同じラベル（地は区分の色、字はその地に乗せる文字の色） */
.phe-price--relax .phe-price-relax__item .phe-price-sub {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 8px;
  padding: 3px 12px;
  border-radius: 6px;
  background: var(--phe-price-c);
  color: var(--phe-price-c-on);
  font-size: 1.0625rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* 行の区切りは淡い点線（料金ページの月会費の行と同じ）。表の上の線は無し。金額は区分の濃い色 */
.phe-price--relax .phe-price-list {
  border-top: 0;
}

.phe-price.phe-price--relax .phe-price-list th,
.phe-price.phe-price--relax .phe-price-list td {
  border-bottom: 0;
}

.phe-price.phe-price--relax .phe-price-list tr + tr th,
.phe-price.phe-price--relax .phe-price-list tr + tr td {
  border-top: 1px dashed var(--phe-price-c-line);
}

.phe-price.phe-price--relax .phe-price-list td {
  color: var(--phe-price-c-dark);
}

/* ----- PC ----- */
@media (min-width: 600px) {
  .phe-price-select {
    padding: 20px 24px;
  }

  .phe-price-choices--section {
    grid-template-columns: repeat(4, 1fr);
  }

  .phe-price-choice--section {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    text-align: center;
  }

  .phe-price-choice__text {
    flex: 0 0 auto;
    align-items: center;
  }
}

@media (min-width: 768px) {
  /* PC・タブレットは、下のバーを中央に寄せたパネルにする */
  .phe-price-bar {
    left: 50%;
    right: auto;
    width: min(720px, calc(100% - 32px));
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border: 1px solid var(--phe-color-border);
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    transform: translateX(-50%);
  }

  .phe-price-bar.is-away {
    transform: translate(-50%, 110%);
  }

  /* 休館日などの枠は中身の幅に（最大 720px、左に寄せる）。2行ある枠は、項目名と内容の列の幅を行どうしで揃える（subgrid） */
  .phe-price-facts {
    display: grid;
    grid-template-columns: minmax(15em, max-content) auto;
    justify-self: start;
    width: fit-content;
    max-width: min(100%, 720px);
  }

  .phe-price-facts__row {
    grid-column: 1 / -1;
    grid-template-columns: minmax(15em, 32%) 1fr;
    grid-template-columns: subgrid;
  }

  .phe-price-facts__th {
    padding: 14px 16px;
  }

  .phe-price-facts__td {
    align-self: center;
    padding: 14px 20px;
  }

  /* 入会に必要な物: 左にキャラクター（吹き出しはその上）、右に持ち物 */
  .phe-price-bring__body {
    grid-template-columns: 220px 1fr;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
  }

  .phe-price-bring__voice {
    flex-direction: column-reverse;
    gap: 14px;
    text-align: center;
  }

  .phe-price-bring__chara {
    width: 120px;
  }

  .phe-price-bring__comment {
    font-size: 0.9375rem;
    white-space: nowrap;
  }

  .phe-price-bring__comment::before,
  .phe-price-bring__comment::after {
    top: 100%;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .phe-price-bring__comment::before {
    border-width: 10px 8px 0;
    border-color: var(--phe-price-bring-dark) transparent transparent;
  }

  .phe-price-bring__comment::after {
    top: calc(100% - 3px);
    border-width: 8px 6px 0;
    border-color: #fff transparent transparent;
  }

  .phe-price-bring__box {
    padding: 16px 20px 14px;
  }

  .phe-price-sheet {
    margin-bottom: 24px;
    border-radius: 16px;
  }
}

@media (min-width: 960px) {
  .phe-price-sec {
    padding-top: 48px;
  }

  .phe-price-sec__title {
    font-size: 1.75rem;
  }

  .phe-price-plans {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
  }

  .phe-price--relax .phe-price-relax {
    gap: 16px;
  }
}

/* ----- 1段まるごとの幅のカード（データの 'wide'。キッズスイミングの「幼児・児童・中学生コース」） ----- */
/* カードが2列以上に並ぶ幅（区分の枠が 2×290px＋間 12px 以上）で、このカードを1段まるごとの幅にする。
   ほかのカードはその下に、ほかの区分のカードと同じ列の決まりで並べる（PC は3列の1つ分ずつ）。
   ほかのカードは月会費と曜日・時間帯の位置を隣と揃えず、中身を上から詰める（空きはカードの下に）。スマホ（1列）は今のまま */
.phe-price-block--wide {
  container-type: inline-size;
}

@container (min-width: 592px) {
  .phe-price-block--wide .phe-price-plan {
    grid-row: auto;
    grid-template-rows: none;
  }

  .phe-price-plan--wide {
    grid-column: 1 / -1;
  }
}

/* 幅があれば（タブレットから）、上に名前、その下の左に月会費・右に曜日と時間帯。月会費の列は 340px（狭ければ 40%） */
@container (min-width: 680px) {
  .phe-price-plan--wide {
    grid-template-columns: min(340px, 40%) minmax(0, 1fr);
    column-gap: 32px;
  }

  .phe-price-plan--wide > .phe-price-plan__name {
    grid-column: 1 / -1;
  }
}
