/*
 * 刷新した LP ページ共通のスタイル（ADR-254）。
 * 配色・書体・角丸はアプリ刷新（ADR-253 D1・D2）と同じ。
 * 規約の過去版（docs/legal/）もこのファイルを読む。旧スタイルシートは ADR-254 D2 追記（2）で削除した。
 * レイアウトは 1 本のレスポンシブ CSS。既定がスマホ（390px 基準）、1280px 以上でデスクトップ（1440px 基準）。
 */

:root {
  --c-primary: #2563eb;
  --c-primary-light: #3b82f6;
  --c-ink: #0f172a;
  --c-bg: #f8fafc;
  --c-dark: #0b1120;
  --c-dark-card: #111a2e;
  --c-dark-line: #1e293b;
  --c-white: #ffffff;
  --c-amber: #fbbf24;
  --c-slate-200: #e2e8f0;
  --c-slate-300: #cbd5e1;
  --c-slate-400: #94a3b8;
  --c-slate-500: #64748b;
  --c-slate-600: #475569;
  --c-blue-100: #dbeafe;
  --c-blue-300: #93c5fd;
  --pad: clamp(16px, 4vw, 48px);
}

@media (min-width: 1280px) {
  :root {
    --pad: clamp(56px, 5.56vw, 80px);
  }
}

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

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--c-blue-300);
  outline-offset: 2px;
}

.only-desktop {
  display: none !important;
}

@media (min-width: 1280px) {
  .only-desktop {
    display: inline-flex !important;
  }

  .only-mobile {
    display: none !important;
  }
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: relative;
  z-index: 10;
  height: 64px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--c-dark-line);
  background: var(--c-dark);
  color: var(--c-white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand span {
  font-size: 17px;
  font-weight: 900;
}

.header-spacer {
  flex-grow: 1;
}

.header-nav {
  display: none;
}

.header-lang {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 700;
}

.header-lang > * {
  padding: 8px;
}

.header-lang [aria-current] {
  display: none;
}

.header-lang a {
  color: var(--c-slate-400);
}

.site-header .header-download {
  display: none;
}

.menu {
  position: static;
}

.menu > summary {
  list-style: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu > summary::-webkit-details-marker {
  display: none;
}

.menu-panel {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  padding: 8px var(--pad) 20px;
  background: var(--c-dark);
  border-bottom: 1px solid var(--c-dark-line);
  display: flex;
  flex-direction: column;
}

.menu-panel a {
  min-height: 48px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-slate-300);
}

.menu-panel .btn-primary {
  margin-top: 8px;
  justify-content: center;
  color: var(--c-white);
}

@media (min-width: 1280px) {
  .site-header {
    height: 80px;
    gap: 40px;
  }

  .brand img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .brand span {
    font-size: 20px;
  }

  .header-nav {
    display: flex;
    gap: 28px;
    flex-grow: 1;
    font-size: 14px;
    font-weight: 700;
    color: var(--c-slate-400);
  }

  .header-nav a:hover {
    color: var(--c-white);
  }

  .header-spacer,
  .menu {
    display: none;
  }

  .header-lang [aria-current] {
    display: block;
  }

  .header-lang > * {
    padding: 6px 8px;
  }

  .site-header .header-download {
    display: flex;
  }
}

/* ---------- ボタン・ストアバッジ ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 900;
}

.btn-primary {
  height: 44px;
  padding: 0 22px;
  background: var(--c-primary);
  color: var(--c-white);
  font-size: 14px;
}

.btn-dark {
  height: 44px;
  padding: 0 20px;
  background: var(--c-ink);
  color: var(--c-white);
  font-size: 13px;
}

.btn-outline {
  height: 44px;
  padding: 0 18px;
  box-shadow: inset 0 0 0 1.5px var(--c-ink);
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
}

@media (min-width: 1280px) {
  .btn-dark {
    height: 48px;
    padding: 0 24px;
    font-size: 14px;
  }

  .btn-outline {
    padding: 0 20px;
    font-size: 14px;
  }
}

.stores {
  --badge-h: 46px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.store-badge {
  display: block;
  height: var(--badge-h);
}

.store-badge img {
  height: var(--badge-h);
  width: auto;
}

/*
 * Google Play の PNG（646×250）は上下に 29/250 ずつ余白を含む。
 * 枠で overflow:hidden して上下の余白を切り、App Store（--badge-h）と見た目の高さを揃える。
 * 画像ファイル自体は加工しない。
 */
.store-badge--play {
  width: calc(var(--badge-h) * 646 / 192);
  overflow: hidden;
}

.store-badge--play img {
  height: calc(var(--badge-h) * 250 / 192);
  width: auto;
  max-width: none;
  margin-top: calc(var(--badge-h) * -29 / 192);
}

@media (min-width: 1280px) {
  .stores {
    --badge-h: 52px;
    gap: 12px;
  }

  .stores--cta {
    --badge-h: 60px;
  }
}

/* ---------- ヒーロー ---------- */

.hero-wrap {
  background: var(--c-dark);
  color: var(--c-white);
}

.hero {
  padding: 40px var(--pad) 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-eyebrow {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-blue-300);
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.hero h1 span {
  color: var(--c-primary-light);
}

.hero-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-slate-300);
}

.note-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--c-slate-400);
}

.note-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--c-amber);
}

/* スマホの実画面を入れる端末枠。寸法は --w / --h / --r / --p で決める */
.phone {
  position: absolute;
  width: var(--w);
  height: var(--h);
  padding: var(--p);
  border-radius: var(--r);
  background: var(--c-dark-line);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--r) - var(--p));
  background: #334155;
  overflow: hidden;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-visual {
  position: relative;
  width: 358px;
  max-width: 100%;
  height: 470px;
  margin: 12px auto 0;
}

.hero-visual .phone--back {
  --w: 196px;
  --h: 408px;
  --r: 34px;
  --p: 7px;
  left: 8px;
  top: 70px;
  transform: rotate(-6deg);
}

.hero-visual .phone--front {
  --w: 220px;
  --h: 456px;
  --r: 38px;
  --p: 8px;
  left: 130px;
  top: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

/* 390px 未満（360px 幅の Android など）では手前の端末を右端に寄せて切れないようにする */
@media (max-width: 389px) {
  .hero-visual .phone--front {
    left: auto;
    right: 0;
  }
}

@media (min-width: 1280px) {
  .hero {
    height: 760px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
  }

  .hero-copy {
    gap: 32px;
  }

  .hero-eyebrow {
    font-size: 14px;
  }

  .hero h1 {
    font-size: clamp(40px, calc((100vw - 208px) * 0.0625), 76px);
    line-height: 1.18;
  }

  .hero-lead {
    font-size: 18px;
  }

  .note-dot {
    font-size: 13px;
  }

  .hero-visual {
    width: auto;
    height: 760px;
    margin: 0;
  }

  .hero-visual .phone--back {
    --w: 280px;
    --h: 580px;
    --r: 46px;
    --p: 9px;
    left: 20px;
    top: 150px;
  }

  .hero-visual .phone--front {
    --w: 300px;
    --h: 624px;
    --r: 48px;
    --p: 10px;
    left: 250px;
    top: 70px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
  }
}

/* ---------- できること（タイル） ---------- */

.features {
  padding: 64px var(--pad);
  background: var(--c-dark);
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid var(--c-dark-line);
}

.features-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.features h2 {
  font-size: 28px;
  font-weight: 900;
}

.link-arrow {
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-blue-300);
}

.link-arrow.only-mobile {
  align-self: flex-start;
  display: flex;
  padding: 8px 0;
}

.tiles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.tile {
  position: relative;
  padding: 24px;
  border-radius: 20px;
  background: var(--c-dark-card);
  box-shadow: inset 0 0 0 1px var(--c-dark-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.tile-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-blue-300);
}

.tile h3 {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
}

.tile p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-slate-400);
}

.tile-shot {
  height: 200px;
  margin-top: 6px;
  border-radius: 12px;
  background: #334155;
  overflow: hidden;
}

.tile-shot img,
.tile-shot video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ホールド検出の動画は見切れないよう、枠を動画と同じ縦横比にする */
.tile--hold .tile-shot {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 640 / 942;
  margin-inline: auto;
}

.tile--hold .tile-shot video {
  object-position: center;
  cursor: pointer;
}

.tile--list,
.tile--activity {
  height: 500px;
}

.tile--list h3,
.tile--activity h3,
.tile--video h3 {
  font-size: 22px;
}

.tile--list {
  background: var(--c-primary);
  box-shadow: none;
}

.tile--list .tile-label,
.tile--list p {
  color: var(--c-blue-100);
}

.tile--list .phone,
.tile--activity .phone {
  --w: 200px;
  --h: 416px;
  --r: 34px;
  --p: 7px;
  left: 50%;
  margin-left: -100px;
  top: 250px;
  background: var(--c-ink);
}

.tile--activity .phone {
  box-shadow: 0 0 0 1px #334155;
}

.tile--log .log-body {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 8px;
}

.log-grid {
  display: grid;
  grid-template-columns: repeat(7, 22px);
  gap: 6px;
}

.log-grid span {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--c-dark-line);
}

.log-grid .l1 {
  background: #1e3a8a;
}

.log-grid .l2 {
  background: var(--c-primary);
}

.log-grid .l3 {
  background: #60a5fa;
}

.tile--log .log-body p {
  font-size: 12px;
  line-height: 1.6;
}

.tile--rating svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 8px;
}

.tile--rating p {
  font-size: 12px;
  line-height: 1.6;
}

.tile--video {
  background: #000;
  gap: 14px;
}

.tile--video .video-frame {
  align-self: center;
  width: 240px;
  aspect-ratio: 9 / 16;
  margin-top: 6px;
  border-radius: 14px;
  background: #334155;
  overflow: hidden;
}

.tile--video .video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.tile--event {
  padding: 24px;
}

.tile--event .tile-shot {
  height: auto;
  aspect-ratio: 16 / 9;
}

@media (min-width: 1280px) {
  .features {
    padding: 112px var(--pad) 120px;
    gap: 48px;
  }

  .features h2 {
    font-size: 48px;
  }

  .tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(6, 300px);
  }

  .tile {
    padding: 28px;
  }

  .tile-label {
    font-size: 13px;
  }

  .tile p {
    font-size: 14px;
  }

  .tile--list,
  .tile--activity,
  .tile--video {
    grid-column: span 2;
    grid-row: span 2;
    height: auto;
    padding: 40px;
  }

  .tile--list h3,
  .tile--activity h3 {
    font-size: 28px;
  }

  /* 電話枠（右 32px・幅 250px）と文字が重ならないよう、タイル幅に合わせて文字幅を詰める */
  .tile--list h3,
  .tile--list p,
  .tile--activity h3,
  .tile--activity p {
    max-width: min(270px, calc(100% - 258px));
  }

  .tile--list p,
  .tile--activity p {
    font-size: 15px;
  }

  .tile--list .phone,
  .tile--activity .phone {
    --w: 250px;
    --h: 520px;
    --r: 40px;
    --p: 8px;
    left: auto;
    margin-left: 0;
    right: 32px;
    top: 40px;
  }

  /* ホールド検出は動画を見切れずに大きく見せるため 2 段分の高さにし、記録・レーティングはその下に 2 列ずつで並べる */
  .tile--hold {
    grid-column: span 2;
    grid-row: span 2;
    flex-direction: row;
    gap: 24px;
    padding: 32px;
  }

  .tile--hold .tile-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .tile--hold h3 {
    font-size: 24px;
  }

  /* 動画は縦横比（全幅共通の aspect-ratio）を保ち、本文に最低 200px 前後を残す幅に上限を付ける（1280px 台の英語版で動画が右端から出るのを防ぐ） */
  .tile--hold .tile-shot {
    width: min(375px, calc(100% - 200px));
    max-width: none;
    height: auto;
    align-self: center;
    margin-top: 0;
    flex-shrink: 0;
  }

  .tile--log,
  .tile--rating {
    grid-column: span 2;
  }

  .tile--log h3,
  .tile--rating h3 {
    font-size: 20px;
  }

  .tile--log .log-body,
  .tile--rating svg {
    margin-top: auto;
  }

  /* 列幅（約 250px）に格子と文言が横に並ばないので、デスクトップでは縦に積む */
  .tile--log .log-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .tile--log .log-grid {
    grid-template-columns: repeat(7, 20px);
    gap: 5px;
  }

  .tile--log .log-grid span {
    width: 20px;
    height: 20px;
  }

  .tile--video {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }

  .tile--video .video-frame {
    width: 300px;
    flex-shrink: 0;
    margin-top: 0;
    border-radius: 16px;
  }

  .tile--video .tile-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .tile--video h3 {
    font-size: 30px;
  }

  .tile--video p {
    font-size: 15px;
  }

  .tile--event {
    grid-column: span 4;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 32px 40px;
  }

  .tile--event .tile-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .tile--event h3 {
    font-size: 28px;
  }

  .tile--event p {
    font-size: 15px;
  }

  .tile--event .tile-shot {
    width: 420px;
    height: 236px;
    aspect-ratio: auto;
    margin-top: 0;
    flex-shrink: 0;
  }
}

/* ---------- 公式ジム ---------- */

.gyms {
  padding: 64px var(--pad);
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.gyms-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gyms-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary);
}

.gyms h2 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
}

.gyms-lead {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-slate-600);
}

/* 掲載できるジムが 0 件のうちに流れる一覧の代わりに出す 1 行（ADR-254 D4 追記） */
.gyms-empty {
  margin: 0;
  padding: 28px 0;
  border-top: 1px solid var(--c-slate-200);
  border-bottom: 1px solid var(--c-slate-200);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-slate-600);
  text-align: center;
}

.marquees {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 2 段の流れ。枠なし・両端フェード・ホバーとフォーカスで停止 */
.marquee {
  --gap: 32px;
  --shift: -90px;
  margin: 0 calc(var(--pad) * -1);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--gap);
  width: max-content;
  padding-right: var(--gap);
  animation: hc-marquee 40s linear infinite;
}

/* 下の段は半個分ずらす */
.marquee--offset .marquee-track {
  margin-left: var(--shift);
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

@keyframes hc-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* 動きを止めても全件が見えるように、1 周分だけを折り返して並べる */
  .marquee {
    margin: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee-track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    padding-right: 0;
  }

  .marquee--offset .marquee-track {
    margin-left: 0;
  }

  .marquee-track > [aria-hidden="true"] {
    display: none;
  }

  /* 表示する項目が 1 件も無い段（水増しの複製だけの段）は段ごと出さない */
  .marquee:not(:has(> .marquee-track > .gym-item)) {
    display: none;
  }
}

/* 水増しの複製の外枠（aria-hidden）。中のリンクを 1 件分の幅で並べる */
.gym-dup {
  display: flex;
  flex-shrink: 0;
}

.gym-item {
  min-height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}

/* 各ジムはアプリのジム詳細へのリンク */
.gym-item:hover .gym-name {
  color: var(--c-primary);
}

.gym-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
  /* 透過 PNG のロゴでも地が揃うように白地 + 細い枠 */
  background: var(--c-white);
  border: 1px solid var(--c-slate-200);
}

/* ジム名は省略しない（最大 50 字）。max-width で折り返す */
.gym-name {
  max-width: 220px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
  color: var(--c-ink);
}

.gyms-owner {
  padding: 20px;
  border-radius: 16px;
  background: #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gyms-owner strong {
  font-size: 16px;
  font-weight: 900;
}

.gyms-owner span {
  font-size: 13px;
  color: var(--c-slate-600);
}

.gyms-owner .btn {
  align-self: flex-start;
}

@media (min-width: 1280px) {
  .gyms {
    padding: 120px var(--pad);
    gap: 48px;
  }

  .gyms-head {
    gap: 16px;
  }

  .gyms-eyebrow {
    gap: 8px;
    font-size: 14px;
  }

  .gyms h2 {
    font-size: 48px;
  }

  .gyms-lead {
    font-size: 17px;
  }

  .marquees {
    gap: 20px;
  }

  .marquee {
    --gap: 56px;
    --shift: -130px;
  }

  .gym-item {
    min-height: 80px;
    gap: 14px;
  }

  .gym-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .gym-name {
    max-width: 360px;
    font-size: 17px;
  }

  .gyms-owner {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
  }

  .gyms-owner .gyms-owner-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .gyms-owner strong {
    font-size: 17px;
  }

  .gyms-owner span {
    font-size: 14px;
  }
}

/* ---------- イベントで使われています ---------- */

.events {
  padding: 56px var(--pad) 64px;
  background: var(--c-white);
}

.gyms:not([hidden]) + .events {
  padding-top: 0;
}

.events-inner {
  border-top: 2px solid var(--c-ink);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.events h2 {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
}

/* ジムオーナー向けでは白い節が続くので、後ろの節の上余白を畳んで間隔を 1 節分にする */
.events + .gvoices,
.events + .gvoices[hidden] + .gplans {
  padding-top: 0;
}

.event-cases {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.event-case {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

/* 事例の画像は形が決まっていない（ロゴ・ポスター・写真）。4:3 の枠に収め、切らずに全体を見せる */
.event-case-logo {
  width: 112px;
  aspect-ratio: 4 / 3;
  box-sizing: border-box;
  padding: 8px;
  border-radius: 12px;
  background: var(--c-white);
  border: 1px solid var(--c-slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-case-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event-case-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.event-case-area {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-slate-600);
}

.event-case h3 {
  font-size: 16px;
  font-weight: 900;
}

.event-case-desc {
  display: none;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-slate-600);
}

.event-case .btn-outline {
  grid-column: 1 / -1;
  justify-self: start;
}

@media (min-width: 1280px) {
  .events {
    padding: 96px var(--pad) 120px;
  }

  .events-inner {
    padding-top: 40px;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }

  .events h2 {
    font-size: 28px;
  }

  .event-cases {
    gap: 32px;
  }

  .event-case {
    grid-template-columns: 176px minmax(0, 1fr) auto;
    gap: 24px;
  }

  .event-case-logo {
    width: 176px;
    padding: 12px;
    border-radius: 14px;
  }

  .event-case-body {
    gap: 6px;
  }

  .event-case-area {
    font-size: 13px;
  }

  .event-case h3 {
    font-size: 20px;
  }

  .event-case-desc {
    display: block;
  }

  .event-case .btn-outline {
    grid-column: auto;
    justify-self: auto;
  }
}

/* ---------- よくある質問 ---------- */

.faq {
  padding: 64px var(--pad);
  background: var(--c-bg);
  border-top: 1px solid var(--c-slate-200);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.faq h2 {
  font-size: 28px;
  font-weight: 900;
}

.faq-list {
  border-top: 2px solid var(--c-ink);
}

.faq-item {
  border-bottom: 1px solid var(--c-slate-200);
}

.faq-item > summary {
  list-style: none;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary span {
  flex-grow: 1;
}

.faq-item > summary svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--c-slate-600);
}

.faq-item[open] > summary svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-slate-600);
}

.faq-answer a,
.faq-note a {
  color: var(--c-primary);
  font-weight: 700;
}

.faq-note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-slate-600);
}

@media (min-width: 1280px) {
  .faq {
    padding: 120px var(--pad);
    grid-template-columns: 360px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "head list"
      "note list";
    column-gap: 64px;
    row-gap: 20px;
  }

  .faq h2 {
    grid-area: head;
    font-size: 44px;
  }

  .faq-list {
    grid-area: list;
  }

  .faq-note {
    grid-area: note;
    align-self: start;
    font-size: 14px;
  }

  .faq-item > summary {
    min-height: 72px;
    gap: 16px;
    font-size: 17px;
  }

  .faq-item > summary svg {
    width: 20px;
    height: 20px;
  }

  .faq-answer {
    padding: 0 40px 24px 0;
  }
}

/* ---------- ダウンロード ---------- */

.download {
  padding: 64px var(--pad);
  background: var(--c-dark);
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.download h2 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.25;
}

.download .note-dot {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-slate-300);
}

@media (min-width: 1280px) {
  .download {
    padding: 120px var(--pad);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
  }

  .download h2 {
    font-size: 56px;
    line-height: 1.2;
  }

  .download-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .download .note-dot {
    font-size: 16px;
  }
}

/* ---------- フッター（全ページ共通） ---------- */

.site-footer {
  padding: 40px var(--pad) 32px;
  background: var(--c-dark);
  color: var(--c-slate-300);
  border-top: 1px solid var(--c-dark-line);
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}

.footer-brand {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand .brand span {
  font-size: 18px;
  color: var(--c-white);
}

.footer-dm-note {
  font-size: 12px;
  color: var(--c-slate-400);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-slate-400);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a:hover,
.footer-brand a:hover {
  color: var(--c-white);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--c-dark-line);
  font-size: 12px;
  color: var(--c-slate-400);
}

@media (min-width: 1280px) {
  .site-footer {
    padding: 64px var(--pad) 40px;
  }

  .footer-inner {
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 64px;
  }

  .footer-brand {
    grid-column: auto;
    gap: 14px;
  }

  .footer-col,
  .footer-col ul {
    gap: 14px;
  }

  .footer-col h4 {
    font-size: 13px;
  }

  .footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
  }
}

/* ---------- 共通（ジムオーナー向け・料金プラン） ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.header-nav a[aria-current="page"] {
  color: var(--c-white);
}

.menu-panel a[aria-current="page"] {
  color: var(--c-white);
}

/* ジムオーナー向けページのロゴ横の札（スマホでは出さない） */
.brand .brand-tag {
  display: none;
}

.btn-lg {
  height: 48px;
  padding: 0 24px;
  font-size: 15px;
}

.btn-ghost {
  box-shadow: inset 0 0 0 2px var(--c-white);
  font-weight: 700;
}

.btn-light {
  background: var(--c-white);
  color: var(--c-ink);
}

.dot-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: #fde68a;
}

.dot-line::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--c-amber);
}

.check-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

@media (min-width: 1280px) {
  .brand .brand-tag {
    display: inline-block;
    margin-left: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--c-white);
    color: var(--c-ink);
    font-size: 12px;
    font-weight: 700;
  }

  .btn-lg {
    height: 52px;
    padding: 0 28px;
  }

  .dot-line {
    font-size: 14px;
  }
}

/* ---------- ジムオーナー向け: ヒーロー ---------- */

.gh-hero {
  padding: 48px var(--pad) 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: hidden;
}

.gh-hero-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gh-hero-title {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gh-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-blue-300);
}

.gh-hero h1 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.gh-hero h1 span {
  color: var(--c-primary-light);
}

.gh-hero-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gh-lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-slate-300);
}

.gh-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--c-slate-400);
  font-size: 14px;
}

.gh-price strong {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: var(--c-white);
}

.gh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gh-rule {
  height: 1px;
  background: var(--c-dark-line);
}

.gh-portal {
  padding: 12px 12px 0;
  border-radius: 16px 16px 0 0;
  background: var(--c-dark-line);
  box-shadow: inset 0 0 0 1px #334155;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gh-portal-dots {
  display: flex;
  gap: 6px;
}

.gh-portal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--c-slate-600);
}

.gh-portal img {
  width: 100%;
  aspect-ratio: 1541 / 784;
  object-fit: cover;
  object-position: top;
  border-radius: 8px 8px 0 0;
  background: var(--c-slate-300);
}

@media (min-width: 1280px) {
  .gh-hero {
    padding-top: 96px;
    gap: 56px;
  }

  .gh-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 64px;
    align-items: end;
  }

  .gh-hero-title {
    gap: 28px;
  }

  .gh-eyebrow {
    font-size: 14px;
  }

  .gh-hero h1 {
    font-size: clamp(56px, 5vw, 72px);
    line-height: 1.18;
  }

  .gh-hero-side {
    gap: 24px;
    padding-bottom: 8px;
  }

  .gh-lead {
    font-size: 17px;
  }

  .gh-price {
    font-size: 15px;
  }

  .gh-price strong {
    font-size: 48px;
  }

  .gh-hero .dot-line {
    margin-top: -28px;
  }

  .gh-portal {
    padding: 14px 14px 0;
    border-radius: 20px 20px 0 0;
  }

  .gh-portal img {
    aspect-ratio: auto;
    height: 380px;
    border-radius: 10px 10px 0 0;
  }
}

/* ---------- ジムオーナー向け: できること ---------- */

.gtiles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.gtile {
  padding: 24px;
  border-radius: 20px;
  background: var(--c-dark-card);
  box-shadow: inset 0 0 0 1px var(--c-dark-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.gtile-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-blue-300);
}

.gtile h3 {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
}

.gtile p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-slate-400);
}

.gtile--event {
  gap: 14px;
  background: var(--c-primary);
  box-shadow: none;
}

.gtile--event h3 {
  font-size: 26px;
  line-height: 1.35;
}

.gtile--event .gtile-label,
.gtile--event p {
  color: var(--c-blue-100);
}

.gt-phases {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.gt-phase {
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.gt-phase:last-child {
  border-bottom: 0;
}

.gt-phase span {
  font-size: 12px;
  color: var(--c-blue-100);
}

.gt-phase strong {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
}

.gtile--rating {
  gap: 18px;
}

.gt-rating-demo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 200px;
}

.gt-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-slate-300);
}

.gt-rating-row b {
  width: 40px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2459d6;
  color: var(--c-white);
  font-size: 11px;
  font-weight: 900;
}

.gt-rating-bar {
  height: 6px;
  border-radius: 999px;
  background: #334155;
  display: flex;
}

.gt-rating-bar span {
  width: 72%;
  border-radius: 999px;
  background: var(--c-amber);
}

.gt-rating-demo small {
  font-size: 11px;
  color: var(--c-slate-400);
}

.gt-floor {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin-top: 6px;
  border-radius: 12px;
  background: #1e293b;
}

.gt-pills {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gt-pills a {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px #475569;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

.gt-pills a:hover {
  box-shadow: inset 0 0 0 1px var(--c-blue-300);
}

@media (min-width: 1280px) {
  .gtiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(4, 260px);
  }

  .gtile {
    padding: 28px;
  }

  .gtile--event {
    grid-column: span 2;
    grid-row: span 2;
    padding: 40px;
  }

  .gtile--event h3 {
    font-size: 32px;
  }

  .gt-phases {
    margin-top: auto;
    flex-direction: row;
  }

  .gt-phase {
    flex: 1 1 0;
    min-width: 0;
    padding: 18px 16px 0;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
  }

  .gt-phase:first-child {
    padding-left: 0;
  }

  .gt-phase:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .gtile--wide {
    grid-column: span 2;
    padding: 32px;
  }

  .gtile--wide h3 {
    font-size: 24px;
  }

  .gtile--rating,
  .gtile--floor {
    flex-direction: row;
    gap: 24px;
  }

  .gt-rating-demo {
    width: 150px;
    flex-shrink: 0;
    justify-content: center;
  }

  .gt-floor {
    width: 260px;
    max-width: none;
    margin: 0;
    flex-shrink: 0;
    align-self: center;
  }

  .gt-copy {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

/* ---------- ジムオーナー向け: 周遊・シリーズの帯 ---------- */

.gband {
  padding: 64px var(--pad);
  background: var(--c-primary);
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.gband h2 {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.25;
}

.gband-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.gband-card {
  padding: 28px 24px;
  border-radius: 20px;
  background: #1d4ed8;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gband-card .gband-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-blue-100);
}

.gband-card h3 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
}

.gband-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-blue-100);
}

@media (min-width: 1280px) {
  .gband {
    padding: 96px var(--pad);
    gap: 40px;
  }

  .gband h2 {
    font-size: 64px;
    line-height: 1.2;
  }

  .gband-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gband-card {
    padding: 40px;
  }

  .gband-card h3 {
    font-size: 32px;
    line-height: 1.35;
  }

  .gband-card p {
    font-size: 16px;
  }
}

/* ---------- ジムオーナー向け: 導入したジムの声 ---------- */

.gvoices {
  padding: 64px var(--pad) 0;
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.gvoices-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gvoices-head span {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-primary);
}

.gvoices h2,
.gplans h2 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
}

.gvoices-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.gvoice {
  margin: 0;
  padding: 24px;
  border-radius: 20px;
  background: var(--c-bg);
  box-shadow: inset 0 0 0 1px var(--c-slate-200);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gvoice blockquote {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.gvoice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gvoice-tags span {
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--c-blue-100);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.gvoice figcaption {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--c-slate-200);
  display: flex;
  align-items: center;
  gap: 14px;
}

.gvoice-avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--c-slate-300);
}

.gvoice figcaption span:not(.gvoice-avatar) {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--c-slate-600);
}

.gvoice figcaption strong {
  font-size: 16px;
  font-weight: 900;
  color: var(--c-ink);
}

@media (min-width: 1280px) {
  .gvoices {
    padding: 120px var(--pad) 0;
    gap: 48px;
  }

  .gvoices h2,
  .gplans h2 {
    font-size: 48px;
  }

  .gvoices-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .gvoice {
    padding: 32px;
    gap: 20px;
  }

  .gvoice blockquote {
    font-size: 18px;
  }
}

/* ---------- ジムオーナー向け: 料金プラン ---------- */

.gplans {
  padding: 64px var(--pad);
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.gplans-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gplans-head p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-slate-600);
}

.gplans-tag {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.gplans-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--c-amber);
}

.gplans-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.gplan {
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--c-bg);
  color: var(--c-ink);
  box-shadow: inset 0 0 0 1px var(--c-slate-200);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gplan--standard {
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: none;
}

.gplan--premium {
  background: var(--c-ink);
  color: var(--c-white);
  box-shadow: none;
}

.gplan-head {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gplan-head h3 {
  font-size: 18px;
  font-weight: 900;
}

.gplan-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--c-white);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.gplan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.gplan-price strong {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.gplan-price span {
  font-size: 14px;
  opacity: 0.8;
}

.gplan-note {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.85;
}

.gplan-list {
  border-top: 1px solid var(--c-slate-200);
}

.gplan--standard .gplan-list {
  border-top-color: rgba(255, 255, 255, 0.3);
}

.gplan--premium .gplan-list {
  border-top-color: #334155;
}

.gplan-list li {
  min-height: 40px;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-slate-200);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.gplan--standard .gplan-list li {
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.gplan--premium .gplan-list li {
  border-bottom-color: #334155;
}

.gplan-list li::before {
  content: "✓";
  width: 16px;
  flex-shrink: 0;
  font-weight: 900;
}

.gplan-list li.off {
  opacity: 0.6;
}

.gplan-list li.off::before {
  content: "—";
}

.gplans-note {
  font-size: 13px;
  line-height: 1.9;
  color: var(--c-slate-600);
}

.gplans-cta {
  align-self: flex-start;
}

@media (min-width: 1280px) {
  .gplans {
    padding: 120px var(--pad);
    gap: 48px;
  }

  .gplans-head {
    gap: 14px;
  }

  .gplans-head p {
    font-size: 16px;
    max-width: 720px;
  }

  .gplans-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
  }

  .gplan {
    padding: 32px;
    gap: 18px;
  }

  .gplan-price strong {
    font-size: 44px;
  }
}

/* ---------- ジムオーナー向け: 導入の流れ ---------- */

.gflow {
  padding: 0 var(--pad) 64px;
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.gflow-head {
  padding-top: 28px;
  border-top: 2px solid var(--c-ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gflow h2 {
  font-size: 26px;
  font-weight: 900;
}

.gflow-head p {
  font-size: 14px;
  color: var(--c-slate-600);
}

.gflow-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.gflow-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 14px;
}

.gflow-step > span {
  grid-row: span 2;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: var(--c-primary);
}

.gflow-step h3 {
  font-size: 18px;
  font-weight: 900;
}

.gflow-step p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-slate-600);
}

@media (min-width: 1280px) {
  .gflow {
    padding-bottom: 120px;
    gap: 40px;
  }

  .gflow-head {
    padding-top: 40px;
    flex-direction: row;
    align-items: baseline;
    gap: 24px;
  }

  .gflow h2 {
    font-size: 32px;
  }

  .gflow-head p {
    font-size: 15px;
  }

  .gflow-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }

  .gflow-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .gflow-step > span {
    grid-row: auto;
    font-size: 56px;
  }
}

/* ---------- ジムオーナー向け: お問い合わせ ---------- */

.gcontact {
  padding: 64px var(--pad);
  background: var(--c-dark);
  color: var(--c-white);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.gcontact-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gcontact h2 {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.25;
}

.gcontact-copy > p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-slate-300);
}

.gcontact-links {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--c-slate-300);
}

.gcontact-links a {
  min-height: 36px;
  display: flex;
  align-items: center;
}

.gcontact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gfield {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.gfield .req {
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--c-primary);
  font-size: 11px;
}

.gfield input,
.gfield select,
.gfield textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: var(--c-dark-card);
  color: var(--c-white);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}

.gfield textarea {
  padding: 12px 14px;
  min-height: 112px;
  resize: vertical;
}

.gfield input::placeholder,
.gfield textarea::placeholder {
  color: var(--c-slate-500);
}

.gcheck {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-slate-300);
}

.gcheck input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--c-primary);
}

.gcontact-submit {
  height: 56px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--c-primary);
  color: var(--c-white);
  font-size: 16px;
  font-weight: 900;
}

.gcontact-alt {
  font-size: 12px;
  line-height: 1.8;
  color: var(--c-slate-400);
}

.gcontact-alt a {
  color: var(--c-blue-300);
  text-decoration: underline;
}

@media (min-width: 1280px) {
  .gcontact {
    padding: 120px var(--pad);
    grid-template-columns: minmax(0, 1fr) 560px;
    gap: 80px;
  }

  .gcontact-copy {
    gap: 20px;
  }

  .gcontact h2 {
    font-size: 52px;
  }

  .gcontact-copy > p {
    font-size: 16px;
  }
}

/* ---------- 料金プラン ---------- */

.pl-hero {
  padding: 48px var(--pad) 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pl-hero .pl-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-blue-300);
}

.pl-hero h1 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.25;
}

.pl-hero h1 span {
  color: var(--c-primary-light);
}

.pl-hero .pl-lead {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-slate-300);
}

.pl-hero .pl-lead::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 10px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--c-amber);
}

.pl-cards {
  position: relative;
  padding: 32px var(--pad) 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.pl-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--c-dark-line);
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pl-card--light {
  background: var(--c-primary);
}

.pl-card h2 {
  font-size: 26px;
  font-weight: 900;
}

.pl-card-sub {
  font-size: 15px;
  color: var(--c-slate-400);
}

.pl-card--light .pl-card-sub {
  color: var(--c-blue-100);
}

.pl-card-rule {
  height: 1px;
  background: #334155;
}

.pl-card--light .pl-card-rule {
  background: rgba(255, 255, 255, 0.25);
}

.pl-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-slate-400);
}

.pl-card--light ul {
  color: var(--c-white);
}

.pl-card li {
  display: flex;
  gap: 10px;
}

.pl-card li svg {
  margin-top: 3px;
  color: var(--c-blue-300);
}

.pl-card--light li svg {
  color: var(--c-white);
}

.pl-card-price {
  margin-top: auto;
  font-size: 13px;
  color: var(--c-slate-400);
}

.pl-card--light .pl-card-price {
  color: var(--c-blue-100);
}

.pl-card-tag {
  align-self: flex-start;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--c-white);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pl-card-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--c-amber);
}

.pl-compare {
  padding: 48px var(--pad) 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pl-compare-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pl-compare h2,
.pl-text h2 {
  font-size: 26px;
  font-weight: 900;
}

.pl-updated {
  font-size: 13px;
  color: var(--c-slate-600);
}

.pl-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border-top: 2px solid var(--c-ink);
}

.pl-table th,
.pl-table td {
  padding: 10px 4px;
  border-bottom: 1px solid var(--c-slate-200);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}

.pl-table thead th {
  height: 48px;
  font-size: 14px;
  font-weight: 900;
}

.pl-table thead th.is-light {
  color: var(--c-primary);
}

.pl-table thead th:first-child {
  width: 34%;
}

.pl-table tbody th[scope="row"] {
  padding-right: 8px;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

.pl-table .section-row th {
  padding: 24px 0 8px;
  border-bottom: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--c-primary);
  text-align: left;
}

.pl-table td {
  font-weight: 700;
}

.pl-table .mark-yes svg {
  width: 18px;
  height: 18px;
  margin: 0 auto;
  color: var(--c-primary);
}

.pl-table .mark-no::before {
  content: "—";
  color: var(--c-slate-400);
}

.pl-notes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-slate-600);
}

.pl-notes a,
.pl-text a {
  color: var(--c-primary);
  font-weight: 700;
}

.pl-text {
  padding: 48px var(--pad);
  background: var(--c-white);
  border-top: 1px solid var(--c-slate-200);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.pl-text section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pl-text h2 {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-ink);
  font-size: 22px;
}

.pl-text ul {
  padding-left: 20px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-slate-600);
}

.pl-text p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-slate-600);
}

@media (min-width: 1280px) {
  .pl-hero {
    padding-top: 88px;
    gap: 20px;
  }

  .pl-hero .pl-eyebrow {
    font-size: 14px;
  }

  .pl-hero h1 {
    font-size: clamp(48px, 4.45vw, 64px);
    line-height: 1.2;
  }

  .pl-hero .pl-lead {
    font-size: 17px;
  }

  .pl-hero-wrap {
    display: flow-root;
  }

  .pl-cards {
    margin-bottom: -140px;
    padding-top: 56px;
    padding-bottom: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }

  .pl-card {
    min-height: 440px;
    padding: 32px;
    gap: 18px;
  }

  .pl-card--light {
    min-height: 480px;
  }

  .pl-card-tag {
    position: absolute;
    top: 24px;
    right: 24px;
  }

  .pl-compare {
    padding: 212px var(--pad) 96px;
    gap: 32px;
  }

  .pl-compare-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .pl-compare h2 {
    font-size: 40px;
  }

  .pl-table thead th {
    height: 64px;
    font-size: 17px;
  }

  .pl-table thead th:first-child {
    width: 28%;
  }

  .pl-table th,
  .pl-table td {
    padding: 14px 16px;
    font-size: 14px;
  }

  .pl-table tbody th[scope="row"] {
    padding: 14px 16px 14px 0;
    font-size: 15px;
  }

  .pl-table .section-row th {
    padding: 28px 0 10px;
  }

  .pl-table .mark-yes svg {
    width: 20px;
    height: 20px;
  }

  .pl-text {
    padding: 96px var(--pad);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
    align-items: start;
  }

  .pl-text h2 {
    font-size: 24px;
  }
}

/* ---------- 文書ページ（使い方ガイド・規約系 6 ページ。ADR-254） ---------- */
/* 規約系は版固定ページ（docs/legal/）の生成元になるので、ここのクラス名は変えない（変えると過去に生成した版固定ページの見た目が崩れる） */

.doc-hero-wrap {
  background: var(--c-dark);
  color: var(--c-white);
}

.doc-hero {
  padding: 32px var(--pad) 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doc-eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-blue-300);
}

.doc-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.doc-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 32px;
}

.doc-title-row .doc-title {
  flex-grow: 1;
}

/* 規約系 6 ページの切り替え */
.lg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lg-tabs a {
  height: 36px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-slate-300);
  box-shadow: inset 0 0 0 1px #334155;
}

.lg-tabs a:hover {
  color: var(--c-white);
}

.lg-tabs a[aria-current] {
  background: var(--c-white);
  color: var(--c-ink);
  box-shadow: none;
}

/* 言語切替（日本語・EN・繁體中文。版固定ページでは生成時に取り除く） */
.lang-switch {
  display: flex;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
}

.lang-opt {
  padding: 6px 10px;
  color: var(--c-slate-400);
}

a.lang-opt:hover,
.lang-opt--active {
  color: var(--c-white);
}

/* 最終更新日・適用日（版固定ページでは「このページは…版の記録です」の段落がここに入る） */
.lg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  padding-top: 20px;
  border-top: 1px solid var(--c-dark-line);
  font-size: 14px;
}

.last-updated {
  margin: 0;
  font-weight: 700;
  color: var(--c-slate-300);
}

.last-updated a {
  color: var(--c-blue-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 本文の枠。スマホは目次が上に畳まれて 1 列、1024px 以上は左に固定の目次 */
.doc-main {
  background: var(--c-white);
}

.doc-grid {
  padding: 24px var(--pad) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.doc-toc summary {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--c-slate-200);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-slate-600);
  list-style: none;
  cursor: pointer;
}

.doc-toc summary::-webkit-details-marker {
  display: none;
}

.doc-toc summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.doc-toc details[open] > summary::after {
  transform: rotate(-135deg);
}

.doc-toc-list {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
}

.doc-toc a {
  color: var(--c-slate-600);
}

.doc-toc a:hover {
  color: var(--c-primary);
}

.doc-toc a[aria-current] {
  color: var(--c-primary);
  font-weight: 700;
}

/* 規約系の目次: 「第3条 利用資格」の 2 列 */
.lg-toc-list a {
  display: flex;
  gap: 10px;
  padding: 6px 0 6px 12px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: inset 2px 0 0 var(--c-slate-200);
}

.lg-toc-list a[aria-current] {
  box-shadow: inset 2px 0 0 var(--c-primary);
}

.lg-toc-num {
  width: 64px;
  flex-shrink: 0;
}

/* 使い方ガイドの目次: 章（太字）の下に節を並べる */
.doc-toc-group {
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.doc-toc-h2 {
  padding: 6px 0;
  font-size: 14px;
  font-weight: 900;
  color: var(--c-ink);
}

.doc-toc-group:has(a[aria-current]) > .doc-toc-h2 {
  color: var(--c-primary);
}

.doc-toc-h3 {
  padding: 6px 0 6px 14px;
  font-size: 13px;
  box-shadow: inset 2px 0 0 var(--c-slate-200);
}

.doc-toc-h3[aria-current] {
  box-shadow: inset 2px 0 0 var(--c-primary);
}

.doc-article {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #334155;
  font-size: 15px;
  line-height: 1.9;
}

.doc-article h2,
.doc-article h3 {
  scroll-margin-top: 16px;
}

/* 規約系の本文（マークアップは各ページの本文のまま。クラスを増やさずここで整える） */
.lg-article section {
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--c-slate-200);
}

.lg-article section:first-child {
  padding-top: 0;
  border-top: 0;
}

.lg-article h2 {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--c-ink);
}

.lg-article h3 {
  padding-top: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.6;
  color: var(--c-ink);
}

.lg-article p {
  margin: 0;
}

.lg-article ul,
.lg-article ol {
  margin: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lg-article ul {
  list-style: disc;
}

.lg-article ol {
  list-style: decimal;
}

.lg-article li ul,
.lg-article li ol {
  margin-top: 8px;
}

.lg-article a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lg-article strong {
  color: var(--c-ink);
}

/* 表は幅が足りないときだけ表の中で横に流す（ページ自体は横に伸ばさない） */
.lg-article table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.7;
}

.lg-article th,
.lg-article td {
  min-width: 140px;
  padding: 10px 12px;
  border: 1px solid var(--c-slate-200);
  text-align: left;
  vertical-align: top;
}

.lg-article th {
  background: #f1f5f9;
  color: var(--c-ink);
  font-weight: 700;
}

.lg-article .note {
  padding: 14px 16px;
  border-radius: 10px;
  background: #f1f5f9;
  font-size: 14px;
  line-height: 1.8;
}

.lg-article .legal-footer-divider {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--c-slate-200);
  font-size: 14px;
  color: var(--c-slate-600);
}

/* 使い方ガイドの本文 */
.doc-article .doc-h2 {
  padding-top: 24px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--c-ink);
}

.doc-num {
  font-size: 15px;
  color: var(--c-primary);
}

.doc-article .doc-h3 {
  padding-top: 12px;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--c-ink);
}

.doc-article > * + * {
  margin-top: 16px;
}

.doc-article > .doc-h2:not(:first-child) {
  margin-top: 0;
}

.doc-rule {
  height: 1px;
  margin: 24px 0 0;
  border: 0;
  background: var(--c-slate-200);
}

.doc-note {
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  border-radius: 10px;
  background: #f1f5f9;
  font-size: 14px;
  line-height: 1.8;
}

.doc-note::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--c-amber);
}

.doc-article a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc-list {
  padding-left: 24px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doc-split {
  margin-left: 0;
  margin-right: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--c-slate-200);
  border-bottom: 1px solid var(--c-slate-200);
}

.doc-split > div {
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.doc-split > div + div {
  border-top: 1px solid var(--c-slate-200);
}

.doc-split dt {
  font-size: 15px;
  font-weight: 900;
  color: var(--c-ink);
}

.doc-split dd {
  margin: 0;
  font-size: 14px;
  color: var(--c-slate-600);
}

.doc-shots {
  padding: 8px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.g-phone {
  width: 180px;
  height: 372px;
  margin: 0;
  padding: 8px;
  flex-shrink: 0;
  border-radius: 31px;
  background: var(--c-ink);
}

.g-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 23px;
  background: var(--c-slate-300);
  overflow: hidden;
}

.g-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.doc-aside {
  display: none;
}

@media (min-width: 640px) {
  .doc-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doc-split > div {
    padding: 16px 16px 16px 0;
  }

  .doc-split > div + div {
    padding: 16px 0 16px 16px;
    border-top: 0;
    border-left: 1px solid var(--c-slate-200);
  }
}

@media (min-width: 1024px) {
  .doc-hero {
    padding: 48px var(--pad) 40px;
    gap: 24px;
  }

  .doc-title {
    font-size: 40px;
  }

  .doc-grid {
    padding-top: 56px;
    padding-bottom: 104px;
    grid-template-columns: 240px minmax(0, 760px);
    gap: 56px;
    align-items: start;
  }

  .doc-toc {
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }

  .doc-toc summary {
    height: auto;
    padding: 0 0 8px;
    box-shadow: none;
    font-size: 12px;
    color: var(--c-slate-600);
    pointer-events: none;
  }

  .doc-toc summary::after {
    display: none;
  }

  .doc-toc-list {
    padding-top: 0;
  }

  .doc-article {
    font-size: 16px;
    line-height: 2;
  }

  .lg-article section {
    padding: 32px 0;
  }

  .lg-article h2 {
    font-size: 22px;
  }

  .lg-article table {
    display: table;
    width: 100%;
    font-size: 14px;
  }
}

@media (min-width: 1280px) {
  .doc-hero {
    padding: 56px var(--pad) 48px;
  }

  .doc-title {
    font-size: 48px;
  }

  .doc-title-row .doc-title {
    flex-grow: 1;
  }

  .lg-tabs a {
    height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }

  .lg-grid {
    grid-template-columns: 300px minmax(0, 760px);
    gap: 80px;
  }

  .doc-grid--guide {
    grid-template-columns: 240px minmax(0, 720px) minmax(160px, 1fr);
    gap: 56px;
  }

  .doc-aside {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .doc-aside-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--c-slate-600);
  }

  .doc-aside a {
    color: var(--c-slate-600);
  }

  .doc-aside a:first-of-type {
    font-weight: 700;
    color: var(--c-primary);
  }
}

/* ダウンロードのページ（PC 向け・配布一時停止）。目次のない 1 カラムの文書 */
.pc-download-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pc-download-qr__box {
  padding: 16px;
  background: var(--c-white);
  border: 1px solid var(--c-slate-200);
  border-radius: 16px;
}

.pc-download-qr__box svg,
.pc-download-qr__box img,
.pc-download-qr__box canvas {
  display: block;
  width: 220px;
  height: 220px;
}

.pc-download-qr__caption {
  font-size: 14px;
  color: var(--c-slate-600);
  text-align: center;
}

@media (min-width: 1024px) {
  .doc-grid--single {
    grid-template-columns: minmax(0, 760px);
  }
}
