/* ==========================================================================
   ジム一覧（/gym/）＝おすすめ比較ハブ。gym-front.css（.gxf-*）の上に重ねる。
   ========================================================================== */

/* SWELL の枠を全幅に */
.gxh-body #content.l-content { max-width: none; padding: 0 !important; margin: 0; display: block; }
.gxh-body .l-mainContent { width: 100%; }
.gxh-body #sidebar { display: none; }

/* ---------- ヒーロー ---------- */
.gxh-hero { padding: 18px 0 40px; }
.gxh-hero--sub { padding-bottom: 30px; }
.gxh-crumb { margin: 0 0 14px; font-size: .74rem; color: rgba(255,255,255,.6); }
.gxh-crumb a { color: rgba(255,255,255,.8); }
.gxh-crumb a:hover { color: var(--gx-accent-2); }
.gxh-crumb span { margin: 0 6px; opacity: .5; }
.gxh .gxh-hero__title { font-size: clamp(1.6rem, 6.6vw, 2.7rem); }
.gxh-hero__title span { display: block; margin-top: 6px; font-size: .5em; font-weight: 800; color: var(--gx-accent-2); letter-spacing: .02em; }
.gxh-hero .gxf-hero__lead a { color: #fff; text-decoration: underline; }

/* 検索ブロック（白いカード） */
.gxh-search { position: relative; z-index: 3; margin: 20px 0 0; padding: 14px; color: var(--gx-text); background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.gxh .gxh-search .gxf-search { margin: 0; box-shadow: none; border: 1.5px solid var(--gx-line); border-radius: 14px; padding: 4px; }
.gxh .gxh-search .gxf-search:focus-within { border-color: var(--gx-accent); box-shadow: 0 0 0 3px rgba(255,90,31,.2); }
.gxh-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 0; }
.gxh-pick__f { display: flex; flex-direction: column; gap: 4px; min-width: 0; margin: 0; }
.gxh-pick__f span { font-size: .72rem; font-weight: 700; color: var(--gx-muted); }
.gxh-pick select {
  width: 100%; min-width: 0; height: 46px; padding: 0 30px 0 12px; font-size: 16px; font-weight: 700; color: var(--gx-text);
  background: var(--gx-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314171c' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1.5px solid var(--gx-line); border-radius: 12px; -webkit-appearance: none; appearance: none;
}
.gxh-pick__btn {
  grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; font-size: .95rem; font-weight: 800; color: #fff;
  background: var(--gx-ink); border: 0; border-radius: 12px; cursor: pointer;
}
.gxh-pick__btn:hover { background: var(--gx-accent); }
.gxh-near { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--gx-line); }
.gxh-near__lead { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0 0 8px; font-size: .9rem; font-weight: 800; }
.gxh-near__lead .gxf-ico { color: var(--gx-accent); }
.gxh-near__lead small { flex: 1 1 100%; font-size: .72rem; font-weight: 400; color: var(--gx-muted); }
.gxh .gxh-near .gx-near-inline { display: block; margin: 0; }
.gxh .gxh-near .gx-near-inline__btn {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 0 20px; font-size: 1rem; font-weight: 800; color: #fff;
  background: var(--gx-accent); border: 0; border-radius: 999px; box-shadow: 0 8px 22px rgba(255,90,31,.32); cursor: pointer;
}
.gxh .gxh-near .gx-near-inline__btn:hover { background: #e94b12; }
.gxh .gxh-near .gx-near-inline__status { margin: 8px 0 0; font-size: .82rem; color: var(--gx-muted); text-align: center; }
.gxh .gxh-near .gx-near-inline__status:empty, .gxh .gxh-near .gx-near-inline__results:empty { display: none; }
.gxh .gxh-near .gx-near-inline__results { margin-top: 12px; }

.gxh-jump { display: flex; gap: 6px; margin: 18px calc(var(--gxf-pad) * -1) 0; padding: 0 var(--gxf-pad) 4px; overflow-x: auto; list-style: none; scrollbar-width: none; }
.gxh-jump::-webkit-scrollbar { display: none; }
.gxh-jump a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; font-size: .8rem; font-weight: 700; color: #fff; white-space: nowrap; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; }
.gxh-jump a:hover { background: var(--gx-accent); border-color: var(--gx-accent); color: #fff; }

/* ---------- 選び方 ---------- */
.gxh-points { display: grid; gap: 12px; }
.gxh-point { display: flex; flex-direction: column; min-width: 0; padding: 20px 18px; background: #fff; border: 1px solid var(--gx-line); border-radius: 16px; }
.gxh-point .gxh-point__no { margin: 0; font: 700 2rem/1 var(--gx-num); color: var(--gx-accent); }
.gxh .gxh-point__h { margin: 6px 0 8px; padding: 0; font-size: 1.05rem; font-weight: 900; line-height: 1.4; background: none; border: 0; }
.gxh .gxh-point__h::before, .gxh .gxh-point__h::after { content: none; }
.gxh-point p { margin: 0; font-size: .88rem; line-height: 1.85; color: #3a414b; }
.gxh-point strong { color: var(--gx-accent); }
.gxh-point .gxh-point__big { margin: 4px 0 8px; font-size: 1rem; font-weight: 800; color: var(--gx-text); }
.gxh-point__big b { font: 700 3rem/1 var(--gx-num); color: var(--gx-ink); margin-right: 2px; }
.gxh-point .gxh-point__src { margin-top: auto; padding-top: 10px; font-size: .72rem; color: var(--gx-muted); }
.gxh-point .gxf-more { margin-top: auto; padding-top: 12px; }
.gxh-feebars { margin: 14px 0 0; padding: 0; list-style: none; }
.gxh-feebars li { display: grid; grid-template-columns: 8.6em 1fr 4.6em; align-items: center; gap: 8px; padding: 5px 0; font-size: .8rem; }
.gxh-feebars__l { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gxh-feebars__t { height: 12px; background: var(--gx-bg); border-radius: 6px; overflow: hidden; }
.gxh-feebars__t span { display: block; height: 100%; background: linear-gradient(90deg, var(--gx-accent), var(--gx-accent-2)); border-radius: 6px; }
.gxh-feebars__v { font: 700 1.05rem/1 var(--gx-num); text-align: right; }
.gxh-facts { margin: 8px 0 0; padding: 0; list-style: none; }
.gxh-facts li { display: flex; align-items: baseline; gap: 6px; padding: 8px 0; font-size: .85rem; border-bottom: 1px solid var(--gx-line); }
.gxh-facts li:last-child { border-bottom: 0; }
.gxh-facts a { margin-right: auto; font-weight: 700; color: var(--gx-text); }
.gxh-facts a:hover { color: var(--gx-accent); }
.gxh-facts b { font: 700 1.3rem/1 var(--gx-num); color: var(--gx-accent); }

/* ---------- チェーン比較表 ---------- */
.gxh-ctabs { margin-bottom: 12px; }
.gxh-cpane[hidden] { display: none; }
.gxh-cpane__sort { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 10px; font-size: .84rem; font-weight: 700; }
.gxh-cpane__sort span { padding: 3px 8px; font-size: .7rem; color: #fff; background: var(--gx-ink); border-radius: 6px; }
.gxh-tablewrap { position: relative; overflow-x: auto; background: #fff; border: 1px solid var(--gx-line); border-radius: 14px; -webkit-overflow-scrolling: touch; }
.gxh-tablewrap:focus-visible { outline: 3px solid rgba(255,90,31,.4); }
.gxh-table { width: 100%; min-width: 760px; margin: 0; border-collapse: separate; border-spacing: 0; font-size: .85rem; }
.gxh-table th, .gxh-table td { padding: 12px 10px; text-align: left; vertical-align: middle; background: #fff; border: 0; border-bottom: 1px solid var(--gx-line); }
.gxh-table thead th { font-size: .72rem; font-weight: 700; line-height: 1.35; color: #fff; background: var(--gx-ink); white-space: nowrap; }
.gxh-table thead th small { display: block; font-size: .62rem; font-weight: 400; color: rgba(255,255,255,.6); }
.gxh-table tbody tr:last-child > * { border-bottom: 0; }
.gxh-table tbody tr:hover > * { background: #fff7f2; }
.gxh-table__name { position: sticky; left: 0; z-index: 1; width: 11.5em; min-width: 11.5em; max-width: 11.5em; box-shadow: 1px 0 0 var(--gx-line); }
.gxh-table thead .gxh-table__name { z-index: 2; }
.gxh-table tbody .gxh-table__name { display: table-cell; font-weight: 800; }
.gxh-table__name a { color: var(--gx-text); overflow-wrap: anywhere; }
.gxh-table__name a:hover { color: var(--gx-accent); }
.gxh-table__no { display: inline-grid; place-items: center; width: 22px; height: 22px; margin: 0 6px 0 0; font: 700 .85rem/1 var(--gx-num); color: var(--gx-ink); background: var(--gx-bg); border-radius: 6px; vertical-align: 1px; }
.gxh-num { font: 700 1.2rem/1 var(--gx-num); margin-right: 1px; }
.gxh-num--fee { color: var(--gx-accent); font-size: 1.35rem; }
.gxh-range { display: block; margin-top: 3px; font-size: .7rem; color: var(--gx-muted); white-space: nowrap; }
.gxh-na { font-size: .75rem; color: var(--gx-muted); }
.gxh-table__enroll span { display: block; font-size: .74rem; line-height: 1.5; }
.gxh-rate { display: block; width: 64px; height: 6px; margin-bottom: 5px; background: var(--gx-bg); border-radius: 3px; overflow: hidden; }
.gxh-rate__bar { display: block; height: 100%; background: var(--gx-ink); border-radius: 3px; }
.gxh-table__go { display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px; font-size: .76rem; font-weight: 800; color: #fff; white-space: nowrap; background: var(--gx-accent); border-radius: 999px; }
.gxh-table__go:hover { color: #fff; background: #e94b12; }
.gxh-table__go .gxf-ico { width: 1em; height: 1em; }
.gxh-more-row { display: none; }
.gxh-cpane.is-all .gxh-more-row { display: table-row; }
.gxh-showall { display: block; width: 100%; margin: 10px 0 0; min-height: 46px; font-size: .9rem; font-weight: 800; color: var(--gx-ink); background: #fff; border: 1.5px solid var(--gx-ink); border-radius: 12px; cursor: pointer; }
.gxh-showall:hover { color: #fff; background: var(--gx-ink); }
@media (max-width: 599px) { .gxh-table__name { width: 9.5em; min-width: 9.5em; max-width: 9.5em; } }
.gxh-note { margin: 10px 0 0; font-size: .72rem; line-height: 1.7; color: var(--gx-muted); }

/* ---------- 目的から探す ---------- */
.gxh-purpose { display: grid; gap: 10px; }
.gxh-pcard { min-width: 0; padding: 14px; background: #fff; border: 1.5px solid var(--gx-line); border-radius: 14px; transition: border-color .3s, box-shadow .3s; scroll-margin-top: 80px; }
.gxh-pcard.is-flash { border-color: var(--gx-accent); box-shadow: 0 0 0 4px rgba(255,90,31,.18); }
.gxh-pcard__head { display: flex; align-items: center; gap: 10px; }
.gxh .gxh-pcard__name { margin: 0; padding: 0; font-size: .95rem; font-weight: 900; line-height: 1.35; background: none; border: 0; }
.gxh .gxh-pcard__name::before, .gxh .gxh-pcard__name::after { content: none; }
.gxh-pcard__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 2px 0 0; font-size: .74rem; color: var(--gx-muted); }
.gxh-pcard__meta b { font: 700 1.1rem/1 var(--gx-num); color: var(--gx-text); }
.gxh-pcard__links { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.gxh-pcard__links a, .gxh-prefrow a {
  display: inline-flex; align-items: baseline; gap: 5px; min-height: 34px; padding: 7px 11px; font-size: .82rem; font-weight: 700; color: var(--gx-text);
  background: var(--gx-bg); border: 1px solid transparent; border-radius: 10px;
}
.gxh-pcard__links a span, .gxh-prefrow a span { font: 700 .85rem/1 var(--gx-num); color: var(--gx-accent); }
.gxh-pcard__links a:hover, .gxh-prefrow a:hover { color: var(--gx-accent); background: #fff; border-color: var(--gx-accent); }
.gxh .gxh-subh { margin: 32px 0 12px; padding: 0 0 0 12px; font-size: 1.1rem; font-weight: 900; background: none; border: 0; border-left: 4px solid var(--gx-accent); }
.gxh .gxh-subh::before, .gxh .gxh-subh::after { content: none; }
.gxh-prefrow { display: grid; gap: 12px; }
.gxh-prefrow__r p { margin: 0 0 6px; font-size: .74rem; font-weight: 800; color: var(--gx-muted); }
.gxh-prefrow ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }

/* ---------- 店舗一覧 ---------- */
.gxh-listwrap { max-width: 980px; }
.gxh .gxf-head__lead a { color: var(--gx-accent); font-weight: 700; text-decoration: underline; }
.gxh-list { margin-top: 4px; }
.gxh .gym-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 24px 0 0; }
.gxh .gym-pager__item { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; font: 700 1rem/1 var(--gx-num); color: var(--gx-text); background: #fff; border: 1px solid var(--gx-line); border-radius: 10px; }
.gxh .gym-pager__item.is-current { color: #fff; background: var(--gx-accent); border-color: var(--gx-accent); }
.gxh .gym-pager__prev, .gxh .gym-pager__next { font: 700 .82rem/1 sans-serif; }
.gxh .gym-pager__gap { align-self: center; color: var(--gx-muted); }


/* ---------- 集計日 ---------- */
.gxh-asof { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 5px 10px; font-size: .74rem; font-weight: 700; color: rgba(255,255,255,.85); background: rgba(255,255,255,.07); border-radius: 8px; }
.gxh-asof .gxf-ico { color: var(--gx-accent-2); width: 1.1em; height: 1.1em; }

/* ---------- 目的別のおすすめ ---------- */
.gxh-ptoc { display: flex; gap: 6px; margin: 0 calc(var(--gxf-pad) * -1) 16px; padding: 0 var(--gxf-pad) 4px; overflow-x: auto; scrollbar-width: none; }
.gxh-ptoc::-webkit-scrollbar { display: none; }
.gxh-ptoc a { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; font-size: .8rem; font-weight: 700; color: var(--gx-ink); white-space: nowrap; background: #fff; border: 1.5px solid var(--gx-line); border-radius: 999px; }
.gxh-ptoc a:hover { color: var(--gx-accent); border-color: var(--gx-accent); }
.gxh-pblock { margin: 0 0 16px; padding: 20px 16px; background: #fff; border: 1px solid var(--gx-line); border-radius: 18px; scroll-margin-top: 70px; }
.gxh .gxh-pblock__title { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 0; font-size: 1.2rem; font-weight: 900; line-height: 1.35; background: none; border: 0; }
.gxh .gxh-pblock__title::before, .gxh .gxh-pblock__title::after { content: none; }
.gxh-pblock__main p { margin: 0 0 8px; font-size: .9rem; line-height: 1.85; color: #3a414b; }
.gxh-pblock__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 16px; }
.gxh-pblock__stats div { margin: 0; padding: 10px 12px; background: var(--gx-bg); border-radius: 12px; }
.gxh-pblock__stats dt { font-size: .7rem; color: var(--gx-muted); }
.gxh-pblock__stats dd { margin: 4px 0 0; font: 700 1.5rem/1 var(--gx-num); color: var(--gx-ink); }
.gxh-ccards { display: grid; gap: 10px; }
.gxh-ccard { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 14px; background: #fff; border: 1.5px solid var(--gx-line); border-radius: 14px; }
.gxh-ccard__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.gxh-ccard__name { font-size: 1rem; font-weight: 900; line-height: 1.35; color: var(--gx-text); overflow-wrap: anywhere; }
.gxh-ccard__name:hover { color: var(--gx-accent); }
.gxh-ccard__pr { flex-shrink: 0; display: inline-block; margin-right: 4px; padding: 1px 6px; font-size: .62rem; font-weight: 800; color: var(--gx-muted); background: #fff; border: 1px solid var(--gx-line); border-radius: 4px; }
.gxh-ccard .gxf-chain__type { align-self: flex-start; }
.gxh-ccard__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; }
.gxh-ccard__stats div { margin: 0; }
.gxh-ccard__stats dt { font-size: .68rem; color: var(--gx-muted); }
.gxh-ccard__stats dd { margin: 2px 0 0; font-size: .78rem; }
.gxh-ccard__stats b { font: 700 1.35rem/1 var(--gx-num); color: var(--gx-ink); margin-right: 1px; }
.gxh-ccard__stats b.is-fee { color: var(--gx-accent); }
.gxh-ccard__note { margin: 0; font-size: .76rem; color: var(--gx-muted); }
.gxh-ccard__chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.gxh-ccard__chips li { padding: 2px 8px; font-size: .7rem; font-weight: 700; color: var(--gx-ok); background: #eaf7f0; border-radius: 999px; }
.gxh-ccard__act { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.gxh-ccard__cta { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; padding: 0 14px; font-size: .86rem; font-weight: 800; color: #fff; background: var(--gx-accent); border-radius: 999px; }
.gxh-ccard__cta:hover { color: #fff; background: #e94b12; }
.gxh-ccard__cta .gxf-ico { width: 1em; height: 1em; }
.gxh-ccard__sub { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: .8rem; font-weight: 700; color: var(--gx-ink); border: 1.5px solid var(--gx-ink); border-radius: 999px; }
.gxh-pblock__links { margin-top: 14px; }
.gxh-pblock--teaser { display: grid; gap: 12px; background: linear-gradient(135deg, #fff7f2, #fff); border-color: #ffd6c2; }
.gxh-pblock__teaser-btn { width: 100%; min-height: 52px; font-size: .9rem; text-align: center; }

/* ---------- 料金相場 ---------- */
.gxh-feestats { display: grid; gap: 10px; margin-top: 14px; }
.gxh-feestat { padding: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; }
.gxh-feestat p { margin: 0; }
.gxh-feestat__k { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.75); }
.gxh-feestat__v { margin-top: 6px !important; font-size: 1rem; font-weight: 800; color: #fff; }
.gxh-feestat__v b { font: 700 2.8rem/1 var(--gx-num); color: var(--gx-accent); margin-right: 2px; }
.gxh-feestat__n { margin-top: 6px !important; font-size: .74rem; color: rgba(255,255,255,.6); }

@media (min-width: 600px) {
  .gxh-ptoc { flex-wrap: wrap; margin: 0 0 18px; padding: 0; overflow: visible; }
  .gxh-pblock { padding: 24px; }
  .gxh-ccards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gxh-feestats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gxh-pblock__teaser-btn { width: auto; }
}
@media (min-width: 960px) {
  .gxh-pblock { padding: 28px 30px; }
  .gxh-pblock__main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 28px; }
  .gxh-pblock__main .gxh-pblock__title { grid-column: 1 / -1; }
  .gxh-pblock__main p { grid-column: 1; }
  .gxh-pblock__stats { grid-column: 2; grid-row: 2 / span 3; align-self: start; margin-top: 0; }
  .gxh-pblock--teaser { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .gxh-pblock--teaser .gxh-pblock__main { display: block; }
}

@media (min-width: 600px) {
  .gxh-search { padding: 20px; }
  .gxh-pick { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .gxh-pick__btn { grid-column: auto; padding: 0 22px; }
  .gxh-jump { flex-wrap: wrap; margin: 18px 0 0; padding: 0; overflow: visible; }
  .gxh-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gxh-point--wide { grid-column: 1 / -1; }
  .gxh-purpose { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gxh-prefrow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
  .gxh .gxh-near .gx-near-inline__btn { width: auto; display: inline-flex; padding: 0 30px; }
  .gxh .gxh-near .gx-near-inline__status { text-align: left; }
}
@media (min-width: 960px) {
  .gxh-hero { padding: 34px 0 56px; }
  .gxh-search { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 20px; padding: 22px; }
  .gxh-search__row { grid-column: 1 / -1; }
  .gxh-pick { margin: 0; }
  .gxh-near { margin: 0; padding: 0 0 0 20px; border-top: 0; border-left: 1px dashed var(--gx-line); }
  .gxh-search:has(.gx-near-inline__results:not(:empty)) .gxh-near { grid-column: 1 / -1; padding: 16px 0 0; border-left: 0; border-top: 1px dashed var(--gx-line); }
  .gxh-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gxh-point--wide { grid-column: span 2; grid-row: span 2; }
  .gxh-point--wide .gxh-feebars { margin-top: 22px; }
  .gxh-point--wide .gxh-feebars li { padding: 10px 0; font-size: .88rem; }
  .gxh-point--wide .gxh-feebars__t { height: 16px; border-radius: 8px; }
  .gxh-point--wide .gxh-feebars__v { font-size: 1.3rem; }
  .gxh-purpose { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .gxh-prefrow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gxh-table { min-width: 0; font-size: .9rem; }
  .gxh-table th, .gxh-table td { padding: 14px 14px; }
}

/* オンラインパーソナルジム（/personal-gym/#online） */
.gx-online__card { margin: 0 0 16px; padding: 20px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.gx-online__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gx-online__badge { padding: 3px 10px; font-size: .75rem; font-weight: 700; color: #fff; background: #2563eb; border-radius: 999px; }
.gx-online__name { margin: 0; font-size: 1.15rem; }
.gx-online__lead { margin: 10px 0 0; font-size: .9rem; line-height: 1.8; }
.gx-online__nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; }
.gx-online__nums div { padding: 10px; background: #f8fafc; border-radius: 8px; }
.gx-online__nums dt { font-size: .72rem; color: #64748b; }
.gx-online__nums dd { margin: 2px 0 0; font-size: .85rem; }
.gx-online__nums b { font-size: 1.05rem; }
.gx-online__nums small { display: block; font-size: .7rem; color: #64748b; }
.gx-online__feat { margin: 14px 0 0; padding: 0; list-style: none; font-size: .88rem; }
.gx-online__feat li { padding: 3px 0 3px 22px; position: relative; }
.gx-online__feat li::before { content: "✔"; position: absolute; left: 0; color: #16a34a; }
.gx-online__target { margin: 10px 0 0; font-size: .85rem; line-height: 1.7; }
.gx-online__cta { display: block; max-width: 360px; margin: 16px auto 0; padding: 14px; text-align: center; font-weight: 700; color: #fff !important; text-decoration: none; background: #f97316; border-radius: 999px; }
.gx-online__src, .gx-online__pr { margin: 10px 0 0; font-size: .72rem; color: #64748b; }
@media (max-width: 600px) { .gx-online__nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   ランキング（template-parts/hub-ranking.php）
   ========================================================================== */
.gxr-tabs { display: flex; gap: 6px; margin: 0 calc(var(--gxf-pad) * -1) 14px; padding: 0 var(--gxf-pad) 4px; overflow-x: auto; scrollbar-width: none; }
.gxr-tabs::-webkit-scrollbar { display: none; }
.gxr-tab { flex-shrink: 0; min-height: 40px; padding: 0 16px; font-size: .86rem; font-weight: 800; color: var(--gx-text); white-space: nowrap; background: #fff; border: 1px solid var(--gx-line); border-radius: 999px; cursor: pointer; }
.gxr-tab.is-on { color: #fff; background: var(--gx-ink); border-color: var(--gx-ink); }
.gxr-pane[hidden] { display: none; }
.gxf .gxr-pane__title { margin: 0 0 6px; padding: 0; font-size: 1.15rem; font-weight: 900; background: none; border: 0; }
.gxf .gxr-pane__title::before, .gxf .gxr-pane__title::after { content: none; }
.gxr-pane__rule { margin: 0 0 12px; font-size: .78rem; line-height: 1.7; color: var(--gx-muted); }
.gxr-pane__rule span { display: inline-block; margin-right: 6px; padding: 1px 8px; font-size: .7rem; font-weight: 800; color: var(--gx-ink); background: #fff1ea; border-radius: 4px; }
.gxr-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gxr-item { display: grid; grid-template-columns: 52px 1fr; gap: 10px 14px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--gx-line); border-radius: 16px; }
.gxr-item--1 { border: 2px solid #e8b931; box-shadow: 0 8px 22px rgba(232,185,49,.18); }
.gxr-item__no { display: grid; place-items: center; width: 52px; height: 52px; font: 700 1.6rem/1 var(--gx-num); color: #fff; background: var(--gx-ink); border-radius: 50%; }
.gxr-item__no small { font-size: .7rem; margin-top: -10px; }
.gxr-item--1 .gxr-item__no { background: linear-gradient(135deg, #f3cf55, #c99a12); }
.gxr-item--2 .gxr-item__no { background: linear-gradient(135deg, #d4d9e0, #8d96a3); }
.gxr-item--3 .gxr-item__no { background: linear-gradient(135deg, #e3a978, #a8642c); }
.gxr-item__body { min-width: 0; }
.gxr-item__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: 1.05rem; font-weight: 900; line-height: 1.35; }
.gxr-item__name a { color: var(--gx-text); overflow-wrap: anywhere; }
.gxr-item__name a:hover { color: var(--gx-accent); }
.gxr-item__type { padding: 2px 8px; font-size: .66rem; font-weight: 700; color: var(--gx-ink); background: #fff1ea; border-radius: 999px; }
.gxr-item__metric { margin: 6px 0 0; font-size: .8rem; font-weight: 700; color: var(--gx-muted); }
.gxr-item__metric b { margin-left: 2px; font: 700 1.5rem/1 var(--gx-num); color: var(--gx-accent); }
.gxr-item__sub { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 6px 0 0; font-size: .74rem; color: var(--gx-muted); }
.gxr-item__btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gxr-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; font-size: .86rem; font-weight: 800; color: #fff !important; text-decoration: none !important; background: var(--gx-accent); border-radius: 999px; }
.gxr-btn--sub { color: var(--gx-ink) !important; background: #fff; border: 1.5px solid var(--gx-ink); }
.gxr-btn:hover { opacity: .9; }
.gxr-note { margin: 14px 0 0; font-size: .74rem; line-height: 1.8; color: var(--gx-muted); }
@media (min-width: 760px) {
  .gxr-tabs { flex-wrap: wrap; margin: 0 0 16px; padding: 0; overflow: visible; }
  .gxr-item { grid-template-columns: 60px 1fr 300px; padding: 18px 22px; }
  .gxr-item__no { width: 60px; height: 60px; }
  .gxr-item__btns { grid-column: auto; }
}

/* 都道府県から探す（パーソナル・ピラティスの全国ハブ） */
.gxh-prefs { display: grid; gap: 12px; }
.gxh-prefs__region { padding: 16px; background: #fff; border: 1px solid var(--gx-line); border-radius: 16px; }
.gxh-prefs__h { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 10px; font-size: .95rem; font-weight: 900; color: var(--gx-text); }
.gxh-prefs__h span { font-size: .74rem; font-weight: 700; color: var(--gx-muted); }
.gxh-prefs ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gxh-prefs a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 42px; padding: 0 12px; overflow: hidden; color: var(--gx-text); background: var(--gx-bg, #f4f5f7); border-radius: 10px; transition: background .15s; }
.gxh-prefs a:hover { background: #fff1ea; }
.gxh-prefs a:hover .gxh-prefs__name { color: var(--gx-accent); }
.gxh-prefs__name { position: relative; z-index: 1; font-size: .86rem; font-weight: 700; }
.gxh-prefs b { position: relative; z-index: 1; font: 700 .95rem/1 var(--gx-num); color: var(--gx-accent); }
.gxh-prefs i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--gx-accent); opacity: .35; border-radius: 0 3px 3px 0; }
@media (min-width: 760px) {
  .gxh-prefs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gxh-prefs ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .gxh-prefs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gxh-prefs ul { grid-template-columns: 1fr 1fr; } }

/* 全国ハブの店舗一覧（gym-card） */
.gxh-stores { display: grid; gap: 14px; }
@media (min-width: 900px) { .gxh-stores { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

/* 比較表のジム名・チェーン名：リンクだと分かるように（色＋下線＋矢印） */
.gx-cmp__name a, .gx-table__name a, .gxh-table__name a, .gxc-cmp th[scope="row"] a {
  color: var(--gx-ink, #111827) !important; font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(17, 24, 39, .28);
}
.gx-cmp__name a::after, .gx-table__name a::after, .gxh-table__name a::after, .gxc-cmp th[scope="row"] a::after {
  content: "›"; display: inline-block; margin-left: 3px; font-weight: 700; text-decoration: none; color: #9aa1ab;
}
.gx-cmp__name a:hover, .gx-table__name a:hover, .gxh-table__name a:hover, .gxc-cmp th[scope="row"] a:hover { color: var(--gx-accent, #ff5a1f) !important; text-decoration-color: currentColor; }

/* H1 の【2026年】：途中で改行させず、見出しと同じ文字にする */
.gxh-hero__title .gx-yr { display: inline; margin: 0; font-size: 1em; color: inherit; white-space: nowrap; }
@media (max-width: 599px) { .gxh .gxh-hero__title { font-size: clamp(1.4rem, 5.6vw, 2.7rem); } }
