/* ==========================================================================
   ジムDB テーマ（エリア・駅ページ / ジムカード / ジム詳細）
   チャコール × オレンジのアクセント。数字（料金・件数）を大きく太く。
   ========================================================================== */
:root {
  --gx-ink: #14171c;
  --gx-ink-2: #1f242c;
  --gx-ink-3: #2c333d;
  --gx-line: #e6e8ec;
  --gx-bg: #f4f5f7;
  --gx-card: #ffffff;
  --gx-text: #1b1f24;
  --gx-muted: #5d6673;
  --gx-accent: #ff5a1f;
  --gx-accent-2: #ff8a3d;
  --gx-accent-ink: #ffffff;
  --gx-ok: #12a150;
  --gx-radius: 12px;
  --gx-num: "Barlow Condensed", "Oswald", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- ページ地 ---------- */
.gym-area-page { background: var(--gx-bg); }
.gym-area-page .l-container { max-width: 1200px; }

/* ---------- ヒーロー（エリア・駅） ---------- */
.gx-hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(255, 90, 31, .28), transparent 60%),
    linear-gradient(135deg, var(--gx-ink) 0%, var(--gx-ink-2) 60%, var(--gx-ink-3) 100%);
  padding: 36px 0 28px;
  overflow: hidden;
}
.gx-hero::after { /* 斜めのストライプ（ジムの床ラインっぽさ） */
  content: ""; position: absolute; inset: auto -10% -60px auto; width: 420px; height: 160px;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 14px, transparent 14px 28px);
  transform: rotate(-8deg); pointer-events: none;
}
.gx-hero__eyebrow { margin: 0 0 8px; font: 700 .78rem/1 var(--gx-num); letter-spacing: .18em; color: var(--gx-accent-2); }
.gx-hero__title.area-title { margin: 0; color: #fff; font-size: clamp(1.35rem, 3.2vw, 2.1rem); font-weight: 800; line-height: 1.35; letter-spacing: .01em; }
.gx-hero__title.area-title .gx-hero__sub { display: block; margin-top: 6px; font-size: .52em; font-weight: 700; line-height: 1.5; color: var(--gx-accent-2); letter-spacing: .02em; }
.gx-hero__lines { margin: 10px 0 0; font-size: .82rem; color: rgba(255,255,255,.72); }
.gx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 22px 0 0; }
.gx-stat { margin: 0; padding: 14px 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--gx-radius); }
.gx-stat dt { font-size: .76rem; color: rgba(255,255,255,.7); }
.gx-stat dd { margin: 4px 0 0; font-size: .9rem; color: #fff; }
.gx-num { font: 700 2rem/1 var(--gx-num); letter-spacing: .01em; margin-right: 2px; }
.gx-stat--accent { background: linear-gradient(135deg, var(--gx-accent), var(--gx-accent-2)); border-color: transparent; }
.gx-stat--accent dt { color: rgba(255,255,255,.9); }
.gx-genres { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.gx-genres li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; font-size: .78rem; color: #fff; background: rgba(255,255,255,.08); border-radius: 999px; }
.gx-genres b { font: 700 .9rem/1 var(--gx-num); color: var(--gx-accent-2); }
.gx-hero__note { margin: 12px 0 0; font-size: .72rem; color: rgba(255,255,255,.55); }
.gx-hero__filter { display: none; }
@media (max-width: 960px) {
  .gx-hero__filter { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 10px 16px; color: var(--gx-ink); background: #fff; border: 0; border-radius: 999px; font-weight: 700; }
}

/* ---------- 見出し ---------- */
.gx-h2, .gym-area-page main h2:not(.gym-area-children__title) {
  position: relative; margin: 40px 0 14px; padding: 0 0 0 14px; font-size: 1.25rem; font-weight: 800; color: var(--gx-text); border: 0; background: none;
}
.gx-h2::before, .gym-area-page main h2:not(.gym-area-children__title)::before {
  content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 5px; border-radius: 3px; background: var(--gx-accent);
}

/* ---------- 安い順TOP10 ---------- */
.gx-top10__lead { margin: 0 0 10px; font-size: .85rem; color: var(--gx-muted); }
.gx-table-wrap { overflow-x: auto; background: var(--gx-card); border-radius: var(--gx-radius); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(20,23,28,.06); }
.gx-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9rem; }
.gx-table th { padding: 10px 12px; text-align: left; font-size: .75rem; font-weight: 700; color: #fff; background: var(--gx-ink); white-space: nowrap; }
.gx-table td { padding: 12px; border-top: 1px solid var(--gx-line); vertical-align: middle; }
.gx-table tbody tr:hover { background: #fff7f2; }
.gx-table__rank span { display: inline-grid; place-items: center; width: 28px; height: 28px; font: 700 1rem/1 var(--gx-num); color: var(--gx-ink); background: var(--gx-bg); border-radius: 8px; }
.gx-table tr:nth-child(-n+3) .gx-table__rank span { color: #fff; background: var(--gx-accent); }
.gx-table__name a { font-weight: 700; color: var(--gx-text); text-decoration: none; }
.gx-table__name a:hover { color: var(--gx-accent); text-decoration: underline; }
.gx-table__fee strong { font: 700 1.35rem/1 var(--gx-num); color: var(--gx-accent); }
.gx-table__fee small { display: block; margin-top: 2px; font-size: .7rem; color: var(--gx-muted); }
.gx-table__dist { white-space: nowrap; color: var(--gx-muted); }
.gx-chip { display: inline-block; margin: 2px 4px 2px 0; padding: 2px 8px; font-size: .7rem; color: var(--gx-ink-3); background: var(--gx-bg); border-radius: 999px; white-space: nowrap; }
.gx-note { margin: 8px 0 0; font-size: .72rem; color: var(--gx-muted); }

/* ---------- ジムカード ---------- */
.gym-grid { display: grid; gap: 16px; }
.gym-card-modern {
  display: grid; grid-template-columns: 220px 1fr; grid-template-areas: "img head" "img tags" "img catch" "img info" "img fac" "img more" "img act";
  column-gap: 18px; padding: 16px; background: var(--gx-card); border: 1px solid var(--gx-line); border-radius: var(--gx-radius);
  box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: box-shadow .2s, transform .2s;
}
.gym-card-modern:hover { box-shadow: 0 10px 28px rgba(20,23,28,.1); transform: translateY(-2px); }
.gym-card-modern:not(:has(.gym-main-image)) { grid-template-columns: 1fr; grid-template-areas: "head" "tags" "catch" "info" "fac" "more" "act"; }
.gym-card-modern .gym-card-header { grid-area: head; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 0; background: none; border: 0; }
.gym-card-modern .gym-name { margin: 0; font-size: 1.05rem; font-weight: 800; line-height: 1.4; }
.gym-card-modern .gym-name a { color: var(--gx-text); text-decoration: none; }
.gym-card-modern .gym-name a:hover { color: var(--gx-accent); }
.gym-card-modern .gym-price-tag { flex-shrink: 0; min-width: 110px; padding: 8px 12px; text-align: right; color: #fff; background: var(--gx-ink); border-radius: 10px; box-shadow: none; }
.gym-card-modern .price-label { font-size: .65rem; letter-spacing: .1em; color: rgba(255,255,255,.65); }
.gym-card-modern .price-amount { font: 700 1.7rem/1.05 var(--gx-num); color: #fff; }
.gym-card-modern .price-amount span { margin-left: 2px; font: 700 .8rem/1 sans-serif; }
.gym-card-modern .price-amount--na { font: 700 .9rem/1.4 sans-serif; color: rgba(255,255,255,.85); }
.gym-card-modern .price-note { max-width: 150px; margin-top: 2px; font-size: .62rem; line-height: 1.3; color: var(--gx-accent-2); }
.gym-card-modern .gym-main-image { grid-area: img; position: relative; display: block; align-self: start; aspect-ratio: 16 / 10; margin: 0; overflow: hidden; background: var(--gx-bg); border-radius: 10px; }
.gym-card-modern .gym-main-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gym-shot-credit { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; font-size: .6rem; color: #fff; background: rgba(20,23,28,.7); border-radius: 4px; }
.gym-card-modern .gym-tags { grid-area: tags; position: static; display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 0; }
.gym-card-modern .gym-tag { padding: 3px 9px; font-size: .7rem; font-weight: 700; color: var(--gx-ink); background: #fff1ea; border: 1px solid #ffd6c2; border-radius: 999px; }
.gym-card-modern .gym-tag.tag-24h { color: #fff; background: var(--gx-ink); border-color: var(--gx-ink); }
.gym-card-modern .gym-tag.tag-trial { color: #fff; background: var(--gx-ok); border-color: var(--gx-ok); }
.gym-card-modern .gym-review-badge { display: block; margin-top: 4px; }
.gym-card-modern .gym-description { display: none; }
.gym-keyinfo { grid-area: info; margin: 10px 0 0; padding: 0; list-style: none; font-size: .85rem; }
.gym-keyinfo li { display: grid; grid-template-columns: 5.2em 1fr; gap: 8px; padding: 3px 0; }
.gym-keyinfo__k { color: var(--gx-muted); font-size: .78rem; }
.gym-keyinfo__v { color: var(--gx-text); }
.gym-facchips { grid-area: fac; display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; }
.gym-facchips li { padding: 2px 8px; font-size: .7rem; color: var(--gx-ok); background: #eaf7f0; border-radius: 4px; }
.gym-facchips li::before { content: "✓ "; font-weight: 700; }
.gym-card-modern .gym-actions { grid-area: act; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; border: 0; }
.gym-card-modern .btn-detail, .gym-card-modern .btn-official {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 18px; font-size: .88rem; font-weight: 700; text-decoration: none; border-radius: 999px;
}
.gym-card-modern .btn-detail { flex: 1 1 auto; color: #fff; background: var(--gx-accent); }
.gym-card-modern .btn-detail:hover { background: #e94b12; }
.gym-card-modern .btn-official { color: var(--gx-ink); background: #fff; border: 1.5px solid var(--gx-ink); }
.gym-card-modern .btn-official:hover { color: #fff; background: var(--gx-ink); }
@media (max-width: 680px) {
  .gym-card-modern { grid-template-columns: 1fr; grid-template-areas: "head" "img" "tags" "catch" "info" "fac" "more" "act"; }
  .gym-card-modern .gym-main-image { margin-top: 10px; }
  .gym-card-modern .btn-detail, .gym-card-modern .btn-official { flex: 1 1 100%; }
}

/* ---------- 下の階層リンク・ページャー（アクセント統一） ---------- */
.gym-area-children__title { border-left-color: var(--gx-accent) !important; }
.gym-area-children__list a:hover { border-color: var(--gx-accent); color: var(--gx-accent); }
.gym-map__btn { background: var(--gx-accent); }

/* ==========================================================================
   ジム詳細
   ========================================================================== */
.gym-single { background: var(--gx-bg); padding-bottom: 40px; }
.gym-single__header {
  margin: 0 calc(50% - 50vw) 24px; padding: 32px calc(50vw - 50%) 28px; color: #fff;
  background: radial-gradient(900px 300px at 90% -20%, rgba(255,90,31,.3), transparent 60%), linear-gradient(135deg, var(--gx-ink), var(--gx-ink-3));
}
.gym-single__title { margin: 0; color: #fff; font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; line-height: 1.35; }
.gym-single__rating a { color: var(--gx-accent-2); }
.gym-single__pr { color: rgba(255,255,255,.7); }
.gx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 18px 0 0; }
.gx-fact { margin: 0; padding: 12px 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: var(--gx-radius); }
.gx-fact dt { font-size: .72rem; color: rgba(255,255,255,.65); }
.gx-fact dd { margin: 4px 0 0; font-size: .92rem; font-weight: 700; color: #fff; line-height: 1.4; }
.gx-fact--price { background: linear-gradient(135deg, var(--gx-accent), var(--gx-accent-2)); border-color: transparent; }
.gx-fact--price dd .gx-num { font-size: 2.1rem; }
.gx-fact small { display: block; font-size: .68rem; font-weight: 400; color: rgba(255,255,255,.85); }
.gym-single__section, .gym-single__summary { padding: 20px 22px; background: var(--gx-card); border-radius: var(--gx-radius); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.gym-single__section h2, .gym-single__summary h2 {
  position: relative; margin: 0 0 14px; padding: 0 0 0 14px; font-size: 1.2rem; font-weight: 800; border: 0 !important; background: none !important;
}
.gym-single__section h2::before, .gym-single__summary h2::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 5px; border-radius: 3px; background: var(--gx-accent); }
.gym-single__table th { width: 30%; background: var(--gx-bg); font-weight: 700; }
.gym-single__btn { background: var(--gx-accent) !important; box-shadow: 0 6px 18px rgba(255,90,31,.35); }
.gym-single__tags li { color: var(--gx-ok); background: #eaf7f0; border-color: transparent; }
.gym-single__nearby li a { font-weight: 700; color: var(--gx-text); }
.gym-single__nearby li a:hover { color: var(--gx-accent); }
.gx-sticky-cta { display: none; }
@media (max-width: 680px) {
  .gx-sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(20,23,28,.96); box-shadow: 0 -6px 20px rgba(0,0,0,.2);
  }
  .gx-sticky-cta__price { color: #fff; font-size: .7rem; line-height: 1.2; }
  .gx-sticky-cta__price .gx-num { font-size: 1.5rem; }
  .gx-sticky-cta a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 46px; color: #fff; font-weight: 800; text-decoration: none; background: var(--gx-accent); border-radius: 999px; }
  .gym-single { padding-bottom: 90px; }
}

/* ---------- 絞り込み（アクセントを統一） ---------- */
.filter-sidebar { border-radius: var(--gx-radius); }
.filter-sidebar .filter-header { color: #fff; background: var(--gx-ink); }
.filter-sidebar .filter-title { color: #fff; }
.filter-section-title::before { background: var(--gx-accent) !important; }
.filter-sidebar input[type="checkbox"], #price-slider { accent-color: var(--gx-accent); }
.price-display, .price-display span { color: var(--gx-accent) !important; }
#price-slider::-webkit-slider-thumb { background: var(--gx-accent) !important; border-color: #fff !important; }
#price-slider::-moz-range-thumb { background: var(--gx-accent) !important; }
.btn-filter-apply { color: #fff !important; background: var(--gx-accent) !important; box-shadow: 0 6px 16px rgba(255,90,31,.3) !important; }
.btn-filter-reset { color: var(--gx-ink) !important; border-color: var(--gx-line) !important; }
.gym-pager a:hover, .gym-pager .current { background: var(--gx-accent) !important; border-color: var(--gx-accent) !important; color: #fff !important; }

/* ---------- 料金プラン一覧（詳細ページ） ---------- */
.gx-plan-cat { margin: 18px 0 8px; font-size: .95rem; font-weight: 800; color: var(--gx-ink); }
.gx-plan-cat:first-of-type { margin-top: 0; }
.gx-plans th small { display: block; margin-top: 2px; font-size: .72rem; font-weight: 400; color: var(--gx-muted); }
.gx-plans td strong { font: 700 1.3rem/1 var(--gx-num); color: var(--gx-accent); }
.gx-plans td small { display: block; font-size: .72rem; color: var(--gx-muted); }
.gx-unit { font-size: .8rem; color: var(--gx-muted); }

/* ---------- エリア別ランキング ---------- */
.gym-card-modern.is-ranked { border: 2px solid var(--gx-accent); grid-template-areas: "rank rank" "img head" "img tags" "img catch" "img info" "img fac" "img more" "img act"; }
.gym-card-modern.is-ranked:not(:has(.gym-main-image)) { grid-template-areas: "rank" "head" "tags" "catch" "info" "fac" "more" "act"; }
@media (max-width: 680px) { .gym-card-modern.is-ranked { grid-template-areas: "rank" "head" "img" "tags" "catch" "info" "fac" "more" "act"; } }
.gx-rank { grid-area: rank; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 10px; }
.gx-rank__no { display: inline-flex; align-items: baseline; gap: 1px; padding: 4px 12px; font: 700 1.5rem/1 var(--gx-num); color: #fff; background: var(--gx-ink); border-radius: 8px; }
.gx-rank__no small { font: 700 .75rem/1 sans-serif; }
.gx-rank__no--1 { background: linear-gradient(135deg, #d4a017, #f5d76e); color: #3a2a00; }
.gx-rank__no--2 { background: linear-gradient(135deg, #9aa4ad, #d9dee3); color: #22282e; }
.gx-rank__no--3 { background: linear-gradient(135deg, #b0703a, #e3a978); color: #2e1a08; }
.gx-rank__pr { padding: 2px 8px; font-size: .7rem; font-weight: 700; color: var(--gx-muted); border: 1px solid var(--gx-line); border-radius: 4px; }
.gx-rank__comment { flex: 1 1 100%; margin: 0; padding: 8px 10px; font-size: .85rem; background: #fff7f2; border-left: 3px solid var(--gx-accent); border-radius: 4px; }
.gx-rank-notice { margin: -6px 0 14px; font-size: .78rem; color: var(--gx-muted); }

/* ---------- よくある質問・このページの情報について ---------- */
.gx-faq__item { margin: 0 0 8px; background: var(--gx-card); border: 1px solid var(--gx-line); border-radius: 10px; }
.gx-faq__item summary { position: relative; padding: 14px 44px 14px 46px; font-weight: 700; cursor: pointer; list-style: none; }
.gx-faq__item summary::-webkit-details-marker { display: none; }
.gx-faq__item summary::before { content: "Q"; position: absolute; left: 14px; top: 11px; display: grid; place-items: center; width: 22px; height: 22px; font: 700 .9rem/1 var(--gx-num); color: #fff; background: var(--gx-accent); border-radius: 6px; }
.gx-faq__item summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 1.3rem; color: var(--gx-muted); }
.gx-faq__item[open] summary::after { content: "−"; }
.gx-faq__item p { margin: 0; padding: 0 16px 14px 46px; font-size: .92rem; line-height: 1.8; }
.gx-faq__item p a { color: var(--gx-accent); font-weight: 700; }
.gx-about { margin-top: 32px; padding: 16px 20px; background: var(--gx-card); border-radius: var(--gx-radius); }
.gx-about ul { margin: 0; padding-left: 1.2em; font-size: .82rem; color: var(--gx-muted); line-height: 1.8; }

/* ---------- お問い合わせ ---------- */
.gx-report { margin: 16px 0; font-size: .82rem; text-align: right; }
.gx-report a { color: var(--gx-muted); }
.gx-contact { max-width: 640px; }
.gx-contact input[type=text], .gx-contact input[type=email], .gx-contact select, .gx-contact textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfd4da; border-radius: 8px; font-size: 1rem; }
.gx-contact .req { margin-left: 4px; padding: 1px 6px; font-size: .7rem; color: #fff; background: var(--gx-accent); border-radius: 4px; }
.gx-contact__btn { padding: 12px 36px; font-weight: 800; color: #fff; background: var(--gx-accent); border: 0; border-radius: 999px; cursor: pointer; }
.gx-contact__hp { position: absolute; left: -9999px; }
.gx-contact__msg { padding: 12px 14px; border-radius: 8px; }
.gx-contact__note { padding: 10px 12px; font-size: .85rem; line-height: 1.7; color: #4a5560; background: #f5f7f9; border-radius: 8px; }
.gx-contact__msg--ok { background: #eaf7f0; color: #0b6b36; }
.gx-contact__msg--ng { background: #fff1ea; color: #a33a0f; }

/* ---------- 紹介文 ---------- */
.gx-points { margin: 0 0 16px; padding: 14px 16px; background: #fff7f2; border: 1px solid #ffd6c2; border-radius: 10px; }
.gx-points__title { margin: 0 0 6px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; color: var(--gx-accent); }
.gx-points ul { margin: 0; padding: 0; list-style: none; }
.gx-points li { position: relative; padding: 4px 0 4px 26px; font-weight: 700; line-height: 1.6; }
.gx-points li::before { content: "✓"; position: absolute; left: 2px; top: 4px; display: grid; place-items: center; width: 18px; height: 18px; font-size: .7rem; color: #fff; background: var(--gx-accent); border-radius: 50%; }
.gym-single__summary p strong { color: var(--gx-accent); }
.gx-genres a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; }
.gx-genres li:hover { background: rgba(255,255,255,.16); }
.gx-genres li.is-current { background: var(--gx-accent); }
.gx-genres li.is-current b { color: #fff; }

/* ---------- チェーンのページ ---------- */
.gx-chain section { margin-top: 8px; }
.gx-facts-list { margin: 0; padding: 16px 20px 16px 36px; background: var(--gx-card); border-radius: var(--gx-radius); line-height: 1.9; }
.gx-chips-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.gx-chips-row li { padding: 4px 10px; font-size: .8rem; background: #fff1ea; border-radius: 999px; }
.gx-review { margin: 0 0 10px; padding: 12px 16px; background: var(--gx-card); border: 1px solid var(--gx-line); border-radius: 10px; }
.gx-review__head { margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; }
.gx-store-list { margin: 0; padding: 0 16px 8px; list-style: none; columns: 2 280px; }
.gx-store-list li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--gx-line); break-inside: avoid; font-size: .9rem; }
.gx-store-list span { flex-shrink: 0; color: var(--gx-muted); font-size: .8rem; }

/* ---------- 近くのジム ---------- */
.gx-near__controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.gx-near__btn { padding: 14px 28px; font-size: 1rem; font-weight: 800; color: #fff; background: var(--gx-accent); border: 0; border-radius: 999px; cursor: pointer; box-shadow: 0 6px 18px rgba(255,90,31,.35); }
#gx-near-facet { padding: 12px 14px; border-radius: 999px; border: 0; font-weight: 700; }
.gx-near__list { margin: 0 0 24px; padding: 0; list-style: none; }
.gx-near__item { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; margin: 0 0 8px; background: var(--gx-card); border: 1px solid var(--gx-line); border-radius: var(--gx-radius); }
.gx-near__no { display: grid; place-items: center; width: 32px; height: 32px; font: 700 1rem/1 var(--gx-num); color: #fff; background: var(--gx-ink); border-radius: 8px; }
.gx-near__name { font-weight: 800; color: var(--gx-text); text-decoration: none; }
.gx-near__name:hover { color: var(--gx-accent); }
.gx-near__meta { margin: 2px 0; font-size: .85rem; color: var(--gx-muted); }
.gx-near__meta strong { color: var(--gx-accent); }
.gx-near__tags { margin: 0; }
.gx-near__fee b { font: 700 1.4rem/1 var(--gx-num); color: var(--gx-accent); }
.gx-near__fee small { color: var(--gx-muted); }
.gx-hero__near { display: inline-block; margin: 10px 0 0 8px; padding: 10px 18px; font-weight: 800; font-size: .9rem; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; text-decoration: none; }
.gx-hero__near:hover { background: var(--gx-accent); border-color: var(--gx-accent); color: #fff; }

/* ---------- エリアコラム ---------- */
.gx-column { margin: 40px 0 24px; padding: 24px 22px; background: var(--gx-card); border: 1px solid var(--gx-line); border-radius: var(--gx-radius); line-height: 1.95; }
.gx-column p { margin: 0 0 1em; font-size: .97rem; }
.gx-column strong { background: linear-gradient(transparent 62%, rgba(255,90,31,.22) 62%); }
.gx-column a { color: var(--gx-accent); font-weight: 700; }
.gx-column__lead { font-weight: 600; }
.gx-column__toc { margin: 8px 0 20px; padding: 12px 18px; background: rgba(0,0,0,.03); border-radius: 10px; }
.gx-column__toc p { margin: 0 0 4px; font-weight: 800; font-size: .9rem; }
.gx-column__toc ol { margin: 0; padding-left: 1.4em; font-size: .9rem; }
.gx-column__toc a { color: var(--gx-text); font-weight: 600; }
.gx-column__h3 { margin: 28px 0 10px; padding: 0 0 6px 12px; font-size: 1.12rem; font-weight: 800; border-left: 4px solid var(--gx-accent); border-bottom: 1px solid var(--gx-line); }
.gx-column__note { font-size: .78rem !important; color: var(--gx-muted); }
@media (max-width: 600px) { .gx-column { padding: 18px 16px; } }

/* カードのキャッチ・プラン由来タグ・リンク付きタグ */
.gym-catch { grid-area: catch; margin: 10px 0 0; font-size: .95rem; font-weight: 800; line-height: 1.5; color: var(--gx-accent); }
.gym-catch strong { font-size: 1.05em; }
.gym-facchips li.is-plan { color: #b4400f; background: #fff1e9; }
.gym-facchips li.is-plan::before { content: "★ "; }
.gym-facchips li a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.gx-column__toc ol ol { margin: 2px 0 4px; padding-left: 1.2em; list-style: none; font-size: .85rem; }
.gx-column__toc ol ol li::before { content: "– "; color: var(--gx-muted); }
.gx-column__h4 { margin: 20px 0 8px; padding-left: 10px; font-size: 1rem; font-weight: 800; border-left: 3px solid rgba(255,90,31,.45); }
.gx-table__others { display: block; margin-top: 3px; font-size: .72rem; color: var(--gx-muted); }
.gx-table__others a { color: var(--gx-muted); text-decoration: underline; }

/* ---------- スマホ表示の調整（はみ出し・つぶれ対策） ---------- */
.gym-map__btn { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 680px) {
  article.gym-card-modern { padding: 14px; overflow: hidden; }
  article.gym-card-modern .gym-card-header { flex-direction: row !important; align-items: flex-start; gap: 10px; }
  article.gym-card-modern .gym-header-info { flex: 1 1 auto; min-width: 0; }
  article.gym-card-modern .gym-price-tag { width: auto !important; min-width: 0; max-width: 46%; padding: 6px 10px; }
  article.gym-card-modern .price-amount { font-size: 1.35rem; }
  article.gym-card-modern .price-note { max-width: 120px; }
  article.gym-card-modern .gym-actions { flex-direction: column; }
  article.gym-card-modern .btn-detail, article.gym-card-modern .btn-official { flex: none !important; width: 100% !important; box-sizing: border-box; margin: 0 !important; }
  .gx-table { min-width: 0; }
  .gx-table th:nth-child(4), .gx-table td.gx-table__genre { display: none; }
  .gx-table td { padding: 10px 8px; }
  .gx-table__name a { word-break: break-all; }
  .gx-table__fee strong { white-space: nowrap; }
  .gx-table__fee small { max-width: 7.5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .gx-table__name { min-width: 9em; }
  .gx-table__fee strong { font-size: 1.1rem; }
}
.gym-keyinfo__v .is-free { color: var(--gx-accent); font-weight: 800; }

/* ---------- 現在地から近い順（ページ内） ---------- */
.gx-near-inline { display: inline-block; margin: 10px 0 0 8px; vertical-align: top; }
.gx-near-inline__btn { padding: 10px 18px; font-weight: 800; font-size: .9rem; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; cursor: pointer; }
.gx-near-inline__btn:hover { background: var(--gx-accent); border-color: var(--gx-accent); }
.gx-near-inline__btn[disabled] { opacity: .6; cursor: wait; }
.gx-near-inline__status { margin: 6px 0 0; font-size: .8rem; color: rgba(255,255,255,.85); }
.gx-near-dist { margin: 4px 0 -8px; font-size: .82rem; color: var(--gx-muted); }
.gx-near-dist b { color: var(--gx-accent); font-size: 1rem; }

/* ---------- 店舗ページの関連リンク ---------- */
.gx-linkhub__h { margin: 18px 0 8px; font-size: .95rem; font-weight: 800; }
.gx-linkhub__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gx-linkhub__list li { padding: 6px 12px; font-size: .85rem; background: var(--gx-card, #fff); border: 1px solid var(--gx-line, #e5e7eb); border-radius: 999px; }
.gx-linkhub__list a { font-weight: 700; color: var(--gx-text, #14171c); text-decoration: none; }
.gx-linkhub__list a:hover { color: var(--gx-accent); }
.gx-linkhub__list span { margin-left: 4px; font-size: .75rem; color: var(--gx-muted, #6b7280); }

/* ---------- ファーストビューを詰める（カードまでの距離を短く） ---------- */
.gx-hero { padding: 26px 0 20px; }
.gx-stats { margin-top: 16px; }
.gx-table--area td { white-space: nowrap; }
.gx-table--area td.gx-table__name { white-space: normal; }
@media (max-width: 680px) {
  .gx-hero { padding: 16px 0 14px; }
  .gx-hero__eyebrow, .gx-hero__lines, .gx-hero__note { display: none; }
  .gx-hero__title.area-title { font-size: 1.2rem; }
  .gx-stats { grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
  .gx-stat { padding: 7px 6px; border-radius: 8px; }
  .gx-stat dt { font-size: .6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gx-stat dd { font-size: .62rem; }
  .gx-stat .gx-num { font-size: 1.05rem; }
  .gx-genres { flex-wrap: nowrap; overflow-x: auto; margin-top: 10px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .gx-genres::-webkit-scrollbar { display: none; }
  .gx-genres li { flex: 0 0 auto; }
  .gx-hero__filter { margin-top: 10px; padding: 8px 14px; font-size: .85rem; }
  .gx-near-inline { margin: 10px 0 0 6px; }
  .gx-near-inline__btn { padding: 8px 14px; font-size: .82rem; }
  .gx-table--area th:nth-child(5), .gx-table--area td:nth-child(5) { display: none; }
}

/* カードの特徴（おすすめポイント3つ）とアクセス・基本情報 */
.gym-catch { grid-area: catch; margin: 10px 0 0; color: inherit; font-size: inherit; font-weight: inherit; }
.gym-catch__lead { margin: 0; font-size: .95rem; font-weight: 800; line-height: 1.5; color: var(--gx-accent); }
.gym-catch__points { margin: 4px 0 0; padding: 0; list-style: none; font-size: .82rem; line-height: 1.55; color: var(--gx-text); }
.gym-catch__points li { position: relative; padding-left: 1.1em; }
.gym-catch__points li::before { content: "✔"; position: absolute; left: 0; color: var(--gx-accent); font-size: .75rem; }
.gym-more { grid-area: more; margin: 10px 0 0; border: 1px solid var(--gx-line); border-radius: 10px; background: #fafafa; }
.gym-more summary { padding: 9px 12px; font-size: .84rem; font-weight: 700; cursor: pointer; list-style: none; }
.gym-more summary::-webkit-details-marker { display: none; }
.gym-more summary::after { content: "＋"; float: right; color: var(--gx-muted); }
.gym-more[open] summary::after { content: "－"; }
.gym-more__list { margin: 0; padding: 0 12px 10px; font-size: .82rem; }
.gym-more__list div { display: grid; grid-template-columns: 6.5em 1fr; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--gx-line); }
.gym-more__list dt { color: var(--gx-muted); }
.gym-more__list dd { margin: 0; word-break: break-all; }
.gym-more__list a { color: var(--gx-accent); font-weight: 700; }

/* ---------- TOP10 比較表（料金以外の比較項目＋公式サイト） ---------- */
.gx-table--top { min-width: 880px; }
.gx-table--top td { font-size: .84rem; }
.gx-table__types { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
.gx-table__acc { display: block; margin-top: 3px; font-size: .74rem; color: var(--gx-text); }
.gx-table__hours, .gx-table__fac { font-size: .78rem !important; color: var(--gx-text); }
.gx-table .is-free { color: var(--gx-accent); }
.gx-na { color: #b7bcc4; }
.gx-table__cta { white-space: nowrap; }
.gx-table__btn { display: block; margin: 0 0 4px; padding: 7px 12px; font-size: .78rem; font-weight: 800; text-align: center; color: #fff; background: var(--gx-accent); border-radius: 999px; text-decoration: none; }
.gx-table__btn:hover { background: #e94b12; color: #fff; }
.gx-table__btn--sub { color: var(--gx-ink); background: #fff; border: 1.5px solid var(--gx-ink); }
.gx-table__btn--sub:hover { color: #fff; background: var(--gx-ink); }
@media (max-width: 680px) {
  .gx-table--top { min-width: 0; }
  .gx-table--top thead { display: none; }
  .gx-table--top, .gx-table--top tbody { display: block; }
  .gx-table--top tr { display: grid; grid-template-columns: 34px 1fr 1fr; gap: 4px 8px; padding: 12px; border-top: 1px solid var(--gx-line); }
  .gx-table--top td { display: block; padding: 0 !important; border: 0 !important; }
  .gx-table--top td.gx-table__rank { grid-row: span 2; }
  .gx-table--top td.gx-table__name { grid-column: 2 / 4; }
  .gx-table--top td.gx-table__fee { grid-column: 2 / 4; }
  .gx-table--top td.gx-table__fee small { display: inline; max-width: none; margin-left: 6px; }
  .gx-table--top td[data-label] { font-size: .8rem; }
  .gx-table--top td[data-label]::before { content: attr(data-label); display: block; font-size: .66rem; color: var(--gx-muted); }
  .gx-table--top td.gx-table__fee::before { display: none; }
  .gx-table--top td:nth-child(4) { grid-column: 2; } .gx-table--top td:nth-child(5) { grid-column: 3; }
  .gx-table--top td:nth-child(6) { grid-column: 2; } .gx-table--top td:nth-child(7) { grid-column: 3; }
  .gx-table--top td.gx-table__cta { grid-column: 1 / 4; display: flex; gap: 8px; margin-top: 6px; }
  .gx-table--top .gx-table__btn { flex: 1; margin: 0; padding: 10px; font-size: .85rem; }
}
/* 表の幅で一覧の列が広がらないように（グリッドの子は min-width:auto だと中身に合わせて伸びる） */
.area-layout > .area-main { min-width: 0; }
.gx-table--top td[data-label="入会金"], .gx-table--top td[data-label="体験"] { white-space: nowrap; }
.gx-table--top { min-width: 820px; }

/* ---------- スマホで横にはみ出さない（グリッドの列を中身の幅で広げない） ---------- */
.gym-grid { grid-template-columns: minmax(0, 1fr) !important; }
.gym-card-modern > * { min-width: 0; }
.gym-card-modern img { max-width: 100%; height: auto; }
.gym-card-modern .gym-main-image img { height: 100%; }
@media (max-width: 680px) {
  .gym-card-modern { grid-template-columns: minmax(0, 1fr) !important; }
  .area-layout, .area-main, .gym-area-page .l-container { min-width: 0; max-width: 100%; }
  .gym-area-page { overflow-x: clip; }
  .gx-column, .gym-area-children, .gx-faq, .gx-top10, .gym-map { max-width: 100%; box-sizing: border-box; }
  .gym-area-children__list { flex-wrap: wrap; }
  .gx-column p, .gym-keyinfo__v, .gym-more__list dd { overflow-wrap: anywhere; }
}
@media (max-width: 680px) {
  .gx-table--top { min-width: 0 !important; width: 100%; }
  .gx-table--top tr { grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1fr); }
  .gx-table--top td.gx-table__cta { display: flex !important; }
  .gx-table--area { min-width: 0 !important; }
}
/* カード・店舗ページの地図（Googleマップ埋め込み） */
.gym-more__map { position: relative; margin: 0 12px 12px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: var(--gx-bg); }
.gym-more__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gym-more__mapbtn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; border: 0; background: var(--gx-bg) repeating-linear-gradient(45deg, transparent 0 14px, rgba(0,0,0,.025) 14px 28px); color: var(--gx-ink); font-weight: 700; font-size: 14px; cursor: pointer; }
.gym-more__mapbtn svg { color: var(--gx-accent); }
.gym-more__mapbtn:hover { background-color: #eceef1; }
.gym-single__map { margin: 12px 0; aspect-ratio: 16 / 10; }
.gym-more summary::after { content: "－"; }
.gym-more:not([open]) summary::after { content: "＋"; }

/* ---------- 比較表（店舗紹介の前・横スクロール・ジム名固定） ---------- */
.gx-cmp { margin: 8px 0 28px; }
.gx-cmp__lead { margin: 0 0 8px; font-size: .84rem; color: var(--gx-muted); }
.gx-cmp__hint { display: none; margin-left: 6px; font-weight: 700; color: var(--gx-accent); }
.gx-cmp__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--gx-card); border: 1px solid var(--gx-line); border-radius: var(--gx-radius); }
.gx-cmp__table { width: 100%; min-width: 900px; border-collapse: separate; border-spacing: 0; font-size: .84rem; }
.gx-cmp__table th, .gx-cmp__table td { padding: 10px 12px; border-bottom: 1px solid var(--gx-line); text-align: left; vertical-align: middle; white-space: nowrap; }
.gx-cmp__table thead th { position: sticky; top: 0; z-index: 2; font-size: .74rem; color: #fff; background: var(--gx-ink); }
.gx-cmp__sticky { position: sticky; left: 0; z-index: 1; background: var(--gx-card); box-shadow: 2px 0 4px rgba(0,0,0,.05); }
thead .gx-cmp__sticky { z-index: 3; background: var(--gx-ink); }
.gx-cmp__name { min-width: 170px; max-width: 220px; white-space: normal !important; font-weight: 700; }
.gx-cmp__name a { color: var(--gx-text); text-decoration: none; }
.gx-cmp__name a:hover { color: var(--gx-accent); }
.gx-cmp__name small { display: block; margin-top: 2px; font-size: .7rem; font-weight: 400; color: var(--gx-muted); }
.gx-cmp__rank { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; font: 700 .85rem/1 var(--gx-num); color: var(--gx-ink); background: var(--gx-bg); border-radius: 6px; vertical-align: middle; }
.gx-cmp__rank.is-top { color: #fff; background: var(--gx-accent); }
.gx-cmp__fee strong { font: 700 1.3rem/1 var(--gx-num); color: var(--gx-accent); }
.gx-cmp__fee small { display: block; font-size: .68rem; color: var(--gx-muted); }
.gx-cmp__wrap-text { white-space: normal !important; min-width: 7em; max-width: 11em; font-size: .78rem; }
.gx-cmp__cta { min-width: 120px; }
.gx-cmp__btn { display: block; margin: 0 0 4px; padding: 8px 12px; font-size: .78rem; font-weight: 800; text-align: center; color: #fff; background: var(--gx-accent); border-radius: 999px; text-decoration: none; white-space: normal; }
.gx-cmp__btn:hover { color: #fff; background: #e94b12; }
.gx-cmp__btn--sub { color: var(--gx-ink); background: #fff; border: 1.5px solid var(--gx-ink); }
.gx-cmp__btn--sub:hover { color: #fff; background: var(--gx-ink); }
@media (max-width: 680px) {
  .gx-cmp__hint { display: inline; }
  .gx-cmp__table { min-width: 780px; font-size: .8rem; }
  .gx-cmp__name { min-width: 128px; max-width: 140px; font-size: .8rem; }
  .gx-cmp__table th, .gx-cmp__table td { padding: 8px 10px; }
}
.gx-guide { margin-top: 32px; padding: 20px; }
.gx-guide__list { margin: 0 0 12px; padding-left: 1.2em; font-size: .9rem !important; color: var(--gx-text) !important; line-height: 1.85; }
.gx-guide__list li { margin-bottom: 6px; }
.gx-guide__h3 { margin: 18px 0 10px; font-size: 1rem; font-weight: 800; }
/* パーソナルハブのタブ */
.gxp-tabs { display: flex; gap: 6px; margin: 0 0 12px; overflow-x: auto; scrollbar-width: none; }
.gxp-tab { flex: 0 0 auto; padding: 8px 16px; font-weight: 800; font-size: .85rem; color: var(--gx-ink); background: #fff; border: 1.5px solid var(--gx-line); border-radius: 999px; cursor: pointer; }
.gxp-tab.is-on { color: #fff; background: var(--gx-accent); border-color: var(--gx-accent); }

/* エリア上部: ページを持たないジャンル（その場で絞り込むボタン） */
.gx-genres button { display: inline-flex; align-items: center; gap: 6px; padding: 0; color: #fff; font: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- 純広告（inc/gym-ads.php） ---------- */
.gx-rank__pr--ad { color: #fff; background: var(--gx-ink); border-color: var(--gx-ink); }
.gx-rank__adlb { font-size: .75rem; color: var(--gx-muted); }
.gx-ads { margin: 0 0 24px; padding: 14px; background: #fffaf6; border: 1px solid #ffd9c4; border-radius: var(--gx-radius); }
.gx-ads__head { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 700; font-size: .95rem; color: var(--gx-ink); }
.gx-ads__list { display: grid; gap: 10px; }
.gx-ads__note { margin: 8px 0 0; font-size: .72rem; color: var(--gx-muted); }
.gx-ad__pr { display: inline-block; padding: 1px 7px; font-size: .68rem; font-weight: 700; line-height: 1.5; color: #fff; background: var(--gx-ink); border-radius: 4px; }
.gx-ad { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px; background: var(--gx-card); border: 1px solid var(--gx-line); border-radius: 10px; }
.gx-ad:not(:has(.gx-ad__img)) { grid-template-columns: 1fr; }
.gx-ad__img img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 6px; }
.gx-ad__body { min-width: 0; }
.gx-ad__name { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-weight: 700; font-size: 1rem; line-height: 1.4; }
.gx-ad__name a { color: var(--gx-ink); text-decoration: none; } .gx-ad__name a:hover { text-decoration: underline; }
.gx-ad__copy { margin: 0 0 6px; font-size: .85rem; color: var(--gx-text); }
.gx-ad__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 8px; font-size: .8rem; color: var(--gx-muted); }
.gx-ad__meta b { font: 700 1.1rem/1 var(--gx-num); color: var(--gx-accent); }
.gx-ad__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.gx-ad__btn { display: inline-block; padding: 7px 14px; font-size: .8rem; font-weight: 700; color: #fff; background: var(--gx-accent); border-radius: 999px; text-decoration: none; }
.gx-ad__btn--sub { color: var(--gx-ink); background: #fff; border: 1px solid var(--gx-line); }
@media (max-width: 600px) { .gx-ad { grid-template-columns: 110px 1fr; } }

/* チェーンページ: 同ジャンルの他チェーン比較表（横スクロール・チェーン名の列を固定） */
.gxc-scrollhint { margin: 0 0 6px; font-size: .75rem; color: var(--gx-muted); text-align: right; }
.gxc-cmp-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--gx-card); border-radius: var(--gx-radius); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(20,23,28,.06); }
.gxc-cmp { width: 100%; min-width: 860px; margin: 0; border-collapse: separate; border-spacing: 0; font-size: .86rem; }
.gxc-cmp th, .gxc-cmp td { padding: 11px 10px; text-align: right; white-space: nowrap; border: 0; border-top: 1px solid var(--gx-line); vertical-align: middle; }
.gxc-cmp thead th { font-size: .72rem; font-weight: 700; line-height: 1.3; color: #fff; text-align: center; background: var(--gx-ink); border-top: 0; }
.gxc-cmp tbody th { position: sticky; left: 0; z-index: 1; min-width: 9.5em; max-width: 12em; text-align: left; white-space: normal; font-weight: 700; line-height: 1.35; background: #fff; box-shadow: 1px 0 0 var(--gx-line); }
.gxc-cmp thead th:first-child { position: sticky; left: 0; z-index: 2; text-align: left; }
.gxc-cmp tbody th a { color: var(--gx-accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.gxc-cmp tr.is-self th, .gxc-cmp tr.is-self td { background: #fff7f2; }
.gxc-self { display: block; margin-top: 2px; font-size: .66rem; font-weight: 700; color: var(--gx-accent); }
.gxc-fee b { font: 700 1.05rem/1 var(--gx-num); }
.gxc-diff { display: block; margin-top: 3px; font-size: .68rem; font-weight: 700; color: var(--gx-muted); }
.gxc-diff.is-up { color: #c0392b; } .gxc-diff.is-down { color: #1e8e3e; }
.gxc-na { color: #b6bcc4; }
@media (min-width: 1000px) { .gxc-scrollhint { display: none; } }

/* チェーンページの CTA（アフィリエイト／公式サイト） */
.gxc-cta { margin: 20px 0 8px; text-align: center; }
.gx-hero .gxc-cta { margin: 18px 0 0; text-align: left; }
.gxc-cta__lead { margin: 0 0 10px; font-weight: 700; }
.gxc-cta__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 420px; min-height: 54px; padding: 0 22px;
  font-size: 1rem; font-weight: 800; color: #fff !important; text-decoration: none !important; background: var(--gx-accent);
  border-radius: 999px; box-shadow: 0 8px 22px rgba(255,90,31,.35); transition: transform .15s, box-shadow .15s;
}
.gxc-cta__btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255,90,31,.45); }
.gxc-cta__btn span { font-size: 1.3rem; line-height: 1; }
.gxc-cta__pr { margin: 8px 0 0; font-size: .7rem; color: var(--gx-muted); }
.gx-hero .gxc-cta__pr { color: rgba(255,255,255,.7); }
.gx-store-list li { display: flex; align-items: center; gap: 8px; }
.gx-store-list li > a:first-child { flex: 1 1 auto; min-width: 0; }
.gxc-storebtn {
  flex-shrink: 0; display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; font-size: .74rem; font-weight: 800;
  color: var(--gx-accent) !important; text-decoration: none !important; border: 1.5px solid var(--gx-accent); border-radius: 999px;
}
.gxc-storebtn:hover { color: #fff !important; background: var(--gx-accent); }
.gxc-cmp { min-width: 940px; }

/* アフィリエイトのバナー（A8の素材コード。inc/gym-affiliate.php） */
.gx-aff-banner { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin: 24px auto; padding: 14px 10px 10px; text-align: center; background: #fff; border: 1px solid var(--gx-line); border-radius: var(--gx-radius); }
.gx-aff-banner__pr { position: absolute; top: 6px; left: 8px; padding: 1px 6px; font-size: .62rem; font-weight: 700; color: var(--gx-muted); border: 1px solid var(--gx-line); border-radius: 4px; }
.gx-aff-banner a { display: inline-block; max-width: 100%; }
.gx-aff-banner img { max-width: 100%; height: auto; vertical-align: top; }
.gx-aff-banner img[width="1"] { position: absolute; width: 1px; height: 1px; }
.gx-review__store { font-size: .8rem; color: var(--gx-muted); } .gx-review__meta { margin: 0 0 4px; font-size: .75rem; color: var(--gx-muted); }

/* ジャンル別ページのコラム（template-parts/gym-facet-column.php） */
.gx-fcol__rank { margin: 0 0 8px; padding: 0; list-style: none; border: 1px solid var(--gx-line); border-radius: var(--gx-radius); background: var(--gx-card); overflow: hidden; }
.gx-fcol__rank li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--gx-line); }
.gx-fcol__rank li:first-child { border-top: 0; }
.gx-fcol__no { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; font: 700 .95rem/1 var(--gx-num); color: #fff; background: var(--gx-ink); border-radius: 8px; }
.gx-fcol__rank li:first-child .gx-fcol__no { background: var(--gx-accent); }
.gx-fcol__name { flex: 1 1 auto; min-width: 0; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.gx-fcol__name small { display: block; margin-top: 2px; font-size: .74rem; font-weight: 400; }
.gx-fcol__rank b { flex-shrink: 0; font: 700 1.05rem/1 var(--gx-num); color: var(--gx-accent); }
.gx-fcol__note { margin: 0 0 8px; font-size: .74rem; color: var(--gx-muted); }
.gx-fcol__bars { display: grid; gap: 8px; margin: 0 0 12px; padding: 14px; list-style: none; background: var(--gx-card); border: 1px solid var(--gx-line); border-radius: var(--gx-radius); }
.gx-fcol__bars li { display: grid; grid-template-columns: 8.5em 1fr 3.6em; align-items: center; gap: 10px; font-size: .82rem; }
.gx-fcol__bars i { position: relative; height: 10px; background: #eef0f3; border-radius: 999px; overflow: hidden; }
.gx-fcol__bars em { position: absolute; inset: 0 auto 0 0; background: var(--gx-accent); border-radius: 999px; }
.gx-fcol__bars b { font: 700 .95rem/1 var(--gx-num); text-align: right; }
.gx-fcol__chains { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.gx-fcol__chains li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: .85rem; font-weight: 700; background: var(--gx-card); border: 1px solid var(--gx-line); border-radius: 999px; }
.gx-fcol__chains b { font: 700 .85rem/1 var(--gx-num); color: var(--gx-muted); }

/* 店舗ページ: 上部の公式ボタン・料金表の列幅 */
.gym-single__herocta { margin: 16px 0 0; }
.gym-single__herocta .gym-single__btn { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 440px; min-height: 54px; font-size: 1rem; font-weight: 800; }
.gym-single__table.gx-plans th { width: 52%; }
.gym-single__table.gx-plans th small { display: block; margin-top: 3px; font-weight: 400; line-height: 1.5; }
.gym-single__table.gx-plans th, .gym-single__table.gx-plans td { word-break: normal; overflow-wrap: anywhere; }
@media (max-width: 600px) { .gym-single__table.gx-plans th { width: 55%; } .gym-single__table.gx-plans th, .gym-single__table.gx-plans td { padding: 10px; } }
/* パンくずとページ上部のあいだの余白をなくす（エリア・店舗・チェーン・ハブ） */
.single-gym .l-content, .tax-gym_area .l-content, .gxh-body .l-content, .post-type-archive-gym .l-content { padding-top: 0 !important; margin-top: 0 !important; }
.single-gym .l-mainContent__inner > .gym-single:first-child, .single-gym #main_content { margin-top: 0; padding-top: 0; }
.single-gym .p-breadcrumb, .tax-gym_area .p-breadcrumb, .gxh-body .p-breadcrumb, .post-type-archive-gym .p-breadcrumb { margin-bottom: 0 !important; }

/* ジム・施設の方へ（/for-gyms/）: 無料掲載と広告掲載の比較 */
.gx-plans-cmp__cards { display: grid; gap: 12px; margin: 0 0 16px; }
.gx-plans-cmp__card { padding: 20px; background: #fff; border: 1px solid var(--gx-line, #e5e7eb); border-radius: 16px; }
.gx-plans-cmp__card.is-pr { border: 2px solid var(--gx-accent, #ff5a1f); }
.gx-plans-cmp__card p { margin: 0 0 8px; font-size: .88rem; line-height: 1.8; }
.gx-plans-cmp__k { font-weight: 900; font-size: 1rem !important; }
.gx-plans-cmp__card.is-pr .gx-plans-cmp__k { color: var(--gx-accent, #ff5a1f); }
.gx-plans-cmp__v { font: 700 2rem/1.1 var(--gx-num, sans-serif) !important; }
.gx-plans-cmp__btn { display: flex; align-items: center; justify-content: center; min-height: 50px; margin-top: 10px; font-weight: 800; color: #fff !important; text-decoration: none !important; background: var(--gx-accent, #ff5a1f); border-radius: 999px; }
.gx-plans-cmp__wrap { overflow-x: auto; border: 1px solid var(--gx-line, #e5e7eb); border-radius: 14px; }
.gx-plans-cmp__table { width: 100%; min-width: 520px; margin: 0; border-collapse: collapse; font-size: .86rem; }
.gx-plans-cmp__table th, .gx-plans-cmp__table td { padding: 12px; border: 0; border-top: 1px solid var(--gx-line, #e5e7eb); text-align: center; }
.gx-plans-cmp__table thead th { color: #fff; background: var(--gx-ink, #1d2026); border-top: 0; }
.gx-plans-cmp__table tbody th { text-align: left; font-weight: 700; background: #fff; }
.gx-plans-cmp__table td:last-child { font-weight: 800; color: var(--gx-accent, #ff5a1f); background: #fff7f2; }
.gx-plans-cmp__note { margin: 12px 0 0; font-size: .76rem; line-height: 1.8; color: var(--gx-muted, #6b7280); }
@media (min-width: 700px) { .gx-plans-cmp__cards { grid-template-columns: 1fr 1fr; } }

/* 比較表のジム名・チェーン名：リンクだと分かるように（色＋下線＋矢印） */
.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; }

/* 比較表：CTAをジム名の列に（横スクロールしなくても押せる）／スマホはカード表示 */
.gx-cmp__acts { display: flex; gap: 6px; margin-top: 8px; }
.gx-cmp__acts .gx-cmp__btn { flex: 1; margin: 0; padding: 7px 8px; font-size: .74rem; white-space: nowrap; }
.gx-cmp__name a.gx-cmp__btn { color: #fff !important; text-decoration: none; }
.gx-cmp__name a.gx-cmp__btn--sub { color: var(--gx-ink) !important; }
.gx-cmp__name a.gx-cmp__btn--sub:hover { color: #fff !important; }
.gx-cmp__name a.gx-cmp__btn::after { content: none; }
.gx-cmp__name { min-width: 200px; max-width: 240px; }
@media (max-width: 767px) {
  .gx-cmp__table .gx-cmp__name { min-width: 136px; max-width: 152px; }
  .gx-cmp__acts { flex-direction: column; gap: 4px; }
  .gx-cmp__acts .gx-cmp__btn { padding: 6px 4px; font-size: .7rem; }
}
/* PR枠（アフィリエイト提携の店舗。順位の数字は付けない） */
.gx-cmp__rank.is-pr { width: auto; padding: 0 5px; font: 600 .62rem/22px var(--gx-num); letter-spacing: .04em; color: #8a919c; background: #eef0f3; }
.gx-cmp__table tr.is-pr > * { background: #fffaf6; }
/* 比較表のボタン：オレンジ塗りは提携先の「公式サイト」だけ。ほかは控えめにして主役をはっきりさせる */
.gx-cmp__name .gx-cmp__acts a.gx-cmp__btn--sub { color: var(--gx-ink) !important; background: #fff; border: 1px solid #d1d5db; }
.gx-cmp__name .gx-cmp__acts a.gx-cmp__btn--sub:hover { color: var(--gx-ink) !important; background: #f3f4f6; }
.gx-cmp__name .gx-cmp__acts a.gx-cmp__btn--off { color: #4b5563 !important; background: #fff; border: 1px solid #d1d5db; font-weight: 700; }
.gx-cmp__name .gx-cmp__acts a.gx-cmp__btn--off:hover { color: var(--gx-ink) !important; background: #f3f4f6; }
/* ボタンは「公式サイト」1つだけ（詳細はジム名のリンクから） */
.gx-cmp__acts .gx-cmp__btn { flex: 0 1 auto; min-width: 9em; }
@media (max-width: 767px) { .gx-cmp__acts .gx-cmp__btn { min-width: 0; width: 100%; } }
/* 比較表：最初の5件だけ表示、残りは「もっと見る」で開く */
.gx-cmp:not(.is-open) .gx-cmp__table tr.is-more { display: none; }
.gx-cmp__more { display: block; width: 100%; max-width: 360px; margin: 12px auto 0; padding: 11px 16px; font-size: .86rem; font-weight: 700; color: var(--gx-ink); background: #fff; border: 1px solid #d1d5db; border-radius: 999px; cursor: pointer; }
.gx-cmp__more:hover { background: #f3f4f6; }
.gx-cmp__more::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.gx-cmp.is-open .gx-cmp__more::after { transform: translateY(1px) rotate(-135deg); }

/* H1 の【2026年】：途中で改行させない */
.gx-yr { white-space: nowrap; }
