/* Challenger GYM バージョンB
   白い背景にオレンジのアクセント。角を丸くし、余白を広くとる。
   スマホを基本に書き、640px・1024px・1440pxで広げる。
   余白は20pxを単位にする(10・20・40・60・80)。 */

:root {
  --bg: #fff;
  --soft: #f4f4f4;
  --beige: #f3e8dc;
  --beige-2: #faf4ed;
  --peach: #fcd8b1;
  --orange: #f08200;
  --orange-2: #ef6a00;
  --orange-ink: #b25800;
  --orange-shadow: #c26300;
  --yellow: #ffd629;
  --line-green: #06c755;
  --line-shadow: #049a41;
  --ink: #222;
  --ink-2: #444;
  --muted: #666;
  --line: #e4d9ce;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --r-s: 5px;
  --r-btn: 10px;
  --r-card: 20px;
  --wrap: 1160px;
  --gutter: 20px;
  --sec-y: 60px;
  --hdr-h: 64px;
  --h1: 26px;
  --h2: 24px;
  --h3: 19px;
  --lead: 17px;
  --body: 16px;
}
@media (min-width: 640px) { :root { --gutter: 30px; } }
@media (min-width: 1024px) {
  :root { --gutter: 40px; --sec-y: 80px; --hdr-h: 76px; --h1: 34px; --h2: 30px; --h3: 21px; --lead: 18px; --body: 17px; }
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 20px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--body); font-weight: 400; line-height: 1.85; letter-spacing: .04em;
  overflow-wrap: break-word; word-break: normal; line-break: strict;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.45; letter-spacing: .06em; word-break: keep-all; overflow-wrap: anywhere; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--orange-ink); text-underline-offset: .2em; }
a:hover { color: var(--orange-2); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; }
small { font-size: .82em; }
address { font-style: normal; }
table { border-collapse: collapse; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.nw { display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 10px; top: -60px; z-index: 100; padding: 10px 20px; background: var(--ink); color: #fff; border-radius: var(--r-btn); }
.skip-link:focus { top: 10px; color: #fff; }
.icon { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hide-lg { display: inline; } .show-lg { display: none; }
@media (min-width: 1024px) { .hide-lg { display: none; } .show-lg { display: inline; } }

/* ---------- ボタンとリンク ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 28px; border: 2px solid transparent; border-radius: var(--r-btn);
  font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: .06em; text-align: center; text-decoration: none;
  cursor: pointer; transition: transform .12s, box-shadow .12s, background-color .15s;
  word-break: keep-all;
}
.btn:active { transform: translateY(3px); box-shadow: none; }
.btn--line { background: var(--line-green); color: var(--ink); box-shadow: 0 4px 0 var(--line-shadow); }
.btn--line:hover { background: #05b84e; color: var(--ink); }
.btn--line::before { content: ""; width: 24px; height: 24px; flex: none; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 5.6 2 10.1c0 4 3.6 7.4 8.4 8 .3.1.8.2.9.5.1.3.1.7 0 1l-.1.9c0 .3-.2 1 .9.5 1.1-.4 5.9-3.5 8-6C21.4 13.6 22 11.9 22 10.1 22 5.6 17.5 2 12 2Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn--red, .btn--primary { background: var(--orange); color: var(--ink); box-shadow: 0 4px 0 var(--orange-shadow); }
.btn--red:hover, .btn--primary:hover { background: #f59110; color: var(--ink); }
.btn--outline-red { background: #fff; color: var(--orange-ink); border-color: var(--orange); box-shadow: 0 4px 0 var(--peach); }
.btn--outline-red:hover { background: var(--beige-2); color: var(--orange-ink); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 4px 0 var(--line); }
.btn--ghost:hover { background: var(--beige-2); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 15px; box-shadow: 0 3px 0 var(--orange-shadow); }
.r-text-link, .link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--orange-ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px;
}
.r-text-link span[aria-hidden] { text-decoration: none; }
.r-fine, .note, .price-note { color: var(--muted); font-size: 14px; line-height: 1.8; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; }
.actions.more { margin-top: 40px; }
.more { margin-top: 30px; }
.icon-dot { color: var(--orange); }

/* ---------- ヘッダー ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.hdr__inner { display: flex; align-items: center; gap: 10px; min-height: var(--hdr-h); }
.hdr__logo { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); text-decoration: none; }
.hdr__logo img { width: 28px; height: auto; }
.hdr__brand { display: flex; flex-direction: column; font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: .04em; white-space: nowrap; }
@media (min-width: 640px) { .hdr__brand { font-size: 15px; letter-spacing: .08em; } }
.hdr__brand small { color: var(--muted); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; }
.hdr__toggle {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 52px; height: 52px; margin-right: -8px; padding: 0; border: 0; border-radius: var(--r-btn); background: transparent; cursor: pointer;
}
.hdr__toggle > span[aria-hidden] { position: relative; display: block; width: 22px; height: 2px; margin: 7px 0 6px; background: var(--ink); border-radius: 2px; box-shadow: 0 -7px 0 var(--ink), 0 7px 0 var(--ink); transition: background .2s, box-shadow .2s; }
.hdr__toggle::after { content: "メニュー"; font-size: 10px; font-weight: 700; letter-spacing: 0; }
.menu-open .hdr__toggle > span[aria-hidden] { background: transparent; box-shadow: none; }
.menu-open .hdr__toggle > span[aria-hidden]::before, .menu-open .hdr__toggle > span[aria-hidden]::after { content: ""; position: absolute; inset: 0; background: var(--ink); border-radius: 2px; transform: rotate(45deg); }
.menu-open .hdr__toggle > span[aria-hidden]::after { transform: rotate(-45deg); }
.menu-open .hdr__toggle::after { content: "閉じる"; }
.hdr__cta { flex: none; }
.hdr__nav {
  position: fixed; inset: var(--hdr-h) 0 0; z-index: 49; overflow-y: auto;
  padding: 20px var(--gutter) 40px; background: #fff;
  visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.menu-open { overflow: hidden; }
.menu-open .hdr__nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
.hdr__nav ul { display: grid; gap: 0; }
.hdr__nav li { border-bottom: 1px solid var(--line); }
.nav-link { display: flex; align-items: center; justify-content: space-between; min-height: 60px; color: var(--ink); font-size: 18px; font-weight: 700; text-decoration: none; }
.nav-link::after { content: "›"; color: var(--orange); font-size: 24px; line-height: 1; }
.nav-link[aria-current="page"] { color: var(--orange-ink); }
.hdr__menu-foot { display: grid; gap: 20px; margin-top: 30px; }
.hdr__menu-foot .btn { width: 100%; }
.hdr__menu-foot p { color: var(--muted); font-size: 14px; }
@media (min-width: 1024px) {
  .hdr__toggle { display: none; }
  .hdr__nav { position: static; visibility: visible; opacity: 1; transform: none; overflow: visible; padding: 0; background: none; margin-left: auto; }
  .hdr__nav ul { display: flex; gap: 2px; }
  .hdr__nav li { border: 0; }
  .nav-link { min-height: 44px; padding: 0 10px; font-size: 14.5px; white-space: nowrap; border-radius: var(--r-btn); }
  .nav-link::after { content: none; }
  .nav-link:hover { background: var(--beige-2); color: var(--ink); }
  .nav-link[aria-current="page"] { background: var(--beige); color: var(--ink); }
  .hdr__menu-foot { display: none; }
  .hdr__logo { margin-right: 0; }
  .hdr__brand { font-size: 17px; }
  .hdr__logo img { width: 32px; }
  .hdr__cta { margin-left: 10px; }
}
.hdr--lp .hdr__logo span { font-weight: 700; letter-spacing: .08em; }

/* ---------- 見出しとセクション ---------- */
.r-section, .sec { padding-block: var(--sec-y); }
.r-section--soft, .sec--alt { background: var(--beige-2); }
.sec--tight { padding-block: 40px; }
.r-heading, .sec-head h2, .article__body h2, .prose h2 { font-size: var(--h2); }
.r-heading-row, .sec-head { display: grid; gap: 10px; margin-bottom: 40px; }
.r-heading-row > div { display: grid; gap: 10px; }
.r-heading::after, .sec-head h2::after { content: ""; display: block; width: 40px; height: 4px; margin-top: 14px; border-radius: 2px; background: var(--orange); }
.r-lead, .lead { color: var(--ink-2); font-size: var(--lead); line-height: 1.85; }
.r-lead { word-break: keep-all; overflow-wrap: anywhere; }
@media (min-width: 1024px) {
  .r-heading-row, .sec-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: end; gap: 40px; }
}
.label { color: var(--orange-ink); font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.r-subheading { font-size: var(--h3); margin: 60px 0 20px; }
.tag { display: inline-block; padding: 2px 10px; border-radius: var(--r-s); background: var(--soft); color: var(--ink-2); font-size: 13px; font-weight: 700; }
.tag--live { background: var(--orange); color: var(--ink); }

/* ---------- パンくず・ページの見出し ---------- */
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--muted); }
.crumb li + li::before { content: "›"; margin-right: 10px; color: var(--line); }
.crumb a { color: var(--muted); }
.page-head, .r-page-hero { padding: 20px 0 40px; background: var(--beige-2); }
/* クラス・キッズの見出しの帯の背景はMagnificの線画の柄(元データは patterns-src/。記録は patterns-src/LICENSE.md) */
.r-page-hero { background: var(--beige-2) url("/assets/img/pattern-class.svg") center top / 640px repeat; }
.r-page-hero--kids { background-image: url("/assets/img/pattern-kids.webp"); background-size: 420px; }
.page-head h1, .r-page-hero h1 { margin-top: 20px; font-size: var(--h1); }
.page-head .lead { margin-top: 10px; max-width: 46em; }
.r-page-hero__layout { display: grid; gap: 30px; margin-top: 20px; }
.r-page-hero__layout h1 { margin-top: 0; }
.r-page-hero__copy { display: grid; gap: 14px; align-content: start; justify-items: start; }
.r-page-hero__copy .btn { margin-top: 10px; }
.r-page-hero__description { color: var(--ink-2); }
.r-page-hero__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-card); }
@media (min-width: 1024px) {
  .page-head, .r-page-hero { padding: 30px 0 60px; }
  .r-page-hero__layout { grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
}
.r-jumpnav { position: sticky; top: var(--hdr-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.r-jumpnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 8px; scrollbar-width: none; }
.r-jumpnav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-btn); background: var(--soft); color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.r-jumpnav a:hover { background: var(--beige); }

/* ---------- よく見られる情報 ---------- */
.quick { padding: 0 0 32px; }
.quick ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 96px; padding: 14px 10px; border: 2px solid var(--line); border-radius: var(--r-card); background: #fff;
  color: var(--ink); font-size: 16px; font-weight: 700; text-decoration: none; text-align: center; box-shadow: 0 4px 0 var(--line);
  transition: transform .12s, box-shadow .12s, border-color .15s;
}
.quick a:hover { border-color: var(--orange); color: var(--ink); }
.quick a:active { transform: translateY(3px); box-shadow: none; }
.quick .icon { width: 32px; height: 32px; color: var(--orange); }
.quick small { color: var(--muted); font-size: 12px; font-weight: 500; }
@media (min-width: 768px) { .quick ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .quick { padding-bottom: 60px; } .quick a { min-height: 120px; font-size: 18px; } }

/* ---------- ニュース ---------- */
.r-news { padding-block: var(--sec-y) 0; }
.r-news__layout { display: grid; gap: 20px; }
.r-news__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.r-news__head h2 { font-size: var(--h2); }
.r-news__head h2::after { content: ""; display: block; width: 40px; height: 4px; margin-top: 14px; border-radius: 2px; background: var(--orange); }
.r-news__list { display: grid; gap: 20px; }
.r-news__list a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); color: var(--ink); text-decoration: none; background: #fff; }
.r-news__list a:hover { border-color: var(--orange); }
.r-news__image img { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; }
.r-news__copy { display: grid; gap: 4px; }
.r-news__meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 13px; }
.r-news__category { color: var(--orange-ink); font-weight: 700; }
.r-news__title { font-size: 16px; line-height: 1.6; letter-spacing: .04em; }
.r-news__offer { font-size: 14px; color: var(--ink-2); }
.r-news__copy p { word-break: keep-all; overflow-wrap: anywhere; }
.r-news__period, .r-news__note { font-size: 13px; color: var(--muted); }
.r-news__arrow { display: none; }
@media (min-width: 1024px) {
  .r-news__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .r-news__list a { grid-template-columns: 1fr; align-content: start; height: 100%; }
  .r-news__image img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
}

/* ---------- スケジュール(scripts/schedule.mjs が作る) ---------- */
.sch { --c-bg: #fff; --c-bar: var(--line); }
.c-kick { --c-bg: #ffe3cf; --c-bar: #ef6a00; }
.c-muscle { --c-bg: #fff4c2; --c-bar: #d9a400; }
.c-physical { --c-bg: var(--beige); --c-bar: #b4875a; }
.c-family { --c-bg: #d9f2f4; --c-bar: #2a9aa5; }
.c-women { --c-bg: #fde2ec; --c-bar: #d65288; }
.c-kids { --c-bg: #dcf2e3; --c-bar: #17a166; }
.c-dance { --c-bg: #efe2f8; --c-bar: #9a52c4; }
.c-fighter { --c-bg: #ececec; --c-bar: #777; }
.c-saturday { --c-bg: var(--peach); --c-bar: var(--orange); }
.c-personal { --c-bg: #fff; --c-bar: #c9c1b8; }
.sch__versions, .sch__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.sch__filters { margin-bottom: 30px; }
.sch__chip {
  min-height: 44px; padding: 6px 16px; border: 2px solid var(--line); border-radius: var(--r-btn); background: #fff;
  font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color .15s, border-color .15s;
}
.sch__chip:hover { border-color: var(--orange); }
.sch__chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.sch__tabs { position: sticky; top: var(--hdr-h); z-index: 5; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; padding: 10px 0; margin-bottom: 10px; background: #fff; }
.sch__tab {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 56px; padding: 4px 0; border: 2px solid var(--line); border-radius: var(--r-btn); background: #fff; cursor: pointer;
}
.sch__tab-day { font-size: 18px; font-weight: 700; line-height: 1.2; }
.sch__tab-today { display: none; font-size: 11px; font-weight: 700; color: var(--orange-ink); line-height: 1.3; }
.sch__tab.is-today .sch__tab-today { display: block; }
.sch__tab[data-day="sat"] .sch__tab-day { color: #2557b8; }
.sch__tab[data-day="sun"] .sch__tab-day { color: #c62a3a; }
.sch__tab[aria-selected="true"] { background: var(--orange); border-color: var(--orange); }
.sch__tab[aria-selected="true"] .sch__tab-day, .sch__tab[aria-selected="true"] .sch__tab-today { color: var(--ink); }
.sch__week { display: grid; gap: 30px; }
.sch__day[hidden] { display: none; }
.sch__dayname { margin-bottom: 10px; font-size: 20px; }
.sch.is-tabs .sch__dayname { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sch__list { display: flex; flex-direction: column; gap: 10px; }
.sch__item { list-style: none; }
.sch__item.is-out { display: none; }
.sch__lesson, .sch__item--break {
  display: grid; grid-template-columns: 4.8em minmax(0, 1fr); gap: 14px; align-items: center;
  min-height: 64px; padding: 12px 16px 12px 14px; border-radius: 14px;
  border: 1px solid rgba(34, 34, 34, .06); background: var(--c-bg); color: var(--ink); text-decoration: none;
}
.sch__lesson { transition: transform .12s; }
.sch__lesson:hover { color: var(--ink); outline: 2px solid var(--c-bar); outline-offset: -2px; }
.sch__lesson:active { transform: scale(.99); }
.sch__item--personal .sch__lesson { border: 1px dashed #bfb5aa; min-height: 52px; }
.sch__item--personal .sch__name { font-weight: 500; color: var(--ink-2); }
.sch__item--break { min-height: 0; padding-block: 8px; background: var(--soft); color: var(--muted); }
.sch__time { display: grid; font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.sch__end { font-size: 12px; font-weight: 500; color: var(--muted); }
.sch__item--break .sch__time { font-size: 14px; }
.sch__body { display: grid; gap: 2px; }
.sch__name { font-size: 17px; font-weight: 700; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }
.sch__name small { display: inline-block; margin-left: 8px; font-size: 14px; font-weight: 700; }
.sch-dialog__title small { display: inline-block; }
.sch__item--break .sch__name { font-size: 14px; font-weight: 500; }
.sch__info { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--ink-2); }
.sch__tag { padding: 0 8px; border-radius: var(--r-s); background: #fff; color: var(--ink); font-weight: 700; }
.sch__empty { padding: 20px; border-radius: 14px; background: var(--soft); color: var(--muted); text-align: center; }
.sch__axis { display: none; }
/* PCでは週の表にする(full のみ) */
@media (min-width: 1024px) {
  .sch--full .sch__tabs { display: none; }
  .sch--full .sch__week { grid-template-columns: 52px repeat(7, minmax(0, 1fr)); gap: 0 6px; }
  .sch--full .sch__day[hidden] { display: grid; }
  .sch--full .sch__day, .sch--full .sch__axis { display: grid; grid-template-rows: 48px repeat(168, 8px); }
  .sch--full .sch__axis span { grid-row-end: span 12; transform: translateY(-.7em); color: var(--muted); font-size: 13px; font-weight: 500; text-align: right; padding-right: 8px; }
  .sch--full .sch__day { position: relative; background: repeating-linear-gradient(to bottom, transparent 0 47px, var(--line) 47px 48px, transparent 48px 96px) 0 48px / 100% calc(100% - 48px) no-repeat; }
  .sch--full .sch__dayname, .sch.is-tabs.sch--full .sch__dayname { position: static; width: auto; height: auto; overflow: visible; clip: auto; grid-row: 1; display: grid; place-items: center; margin: 0 0 6px; border-radius: var(--r-btn); background: var(--soft); font-size: 16px; }
  .sch--full .sch__day.is-today .sch__dayname { background: var(--orange); }
  .sch--full .sch__day[data-day="sat"] .sch__dayname { color: #2557b8; }
  .sch--full .sch__day[data-day="sun"] .sch__dayname { color: #c62a3a; }
  .sch--full .sch__day.is-today .sch__dayname { color: var(--ink); }
  .sch--full .sch__list { display: contents; }
  .sch--full .sch__item { grid-column: 1; }
  .sch--full .sch__item { display: grid; padding: 2px 0; }
  .sch--full .sch__item.is-out { display: grid; opacity: .22; }
  .sch--full .sch__lesson, .sch--full .sch__item--break { grid-template-columns: 1fr; align-content: start; gap: 0; min-height: 0; padding: 6px 8px; border-radius: 8px; overflow: hidden; }
  .sch--full .sch__time { display: flex; gap: 2px; font-size: 13px; }
  .sch--full .sch__end, .sch--full .sch__tag { display: none; }
  .sch--full .sch__item--personal .sch__end { display: inline; font-size: 11px; }
  .sch--full .sch__name { font-size: 13.5px; line-height: 1.35; letter-spacing: .02em; }
  .sch--full .sch__name small { display: block; margin: 0; font-size: 12px; }
  .sch--full .sch__info { font-size: 11.5px; gap: 2px 6px; }
  .sch--full .sch__tag { padding: 0 4px; }
  .sch--full .sch__item--personal .sch__lesson { min-height: 0; justify-content: center; text-align: center; place-content: center; }
  .sch--full .sch__item--personal .sch__time { justify-content: center; }
  .sch--full .sch__item--break { place-content: center; text-align: center; }
  .sch--full .sch__item--break .sch__time { display: none; }
  .sch--full .sch__empty { display: none; }
}
@media (min-width: 1024px) and (max-width: 1439px) { .sch--full .sch__coach { display: none; } }
@media (min-width: 1280px) { .nav-link { padding: 0 14px; font-size: 15px; } .hdr__nav ul { gap: 4px; } }
@media (min-width: 1440px) { .sch--full .sch__name { font-size: 14.5px; } }
@media (min-width: 1024px) {
  .sch--compact .sch__tabs { max-width: 560px; }
  .sch--compact .sch__list { display: block; columns: 2; column-gap: 20px; }
  .sch--compact .sch__item { break-inside: avoid; margin-bottom: 10px; }
}
.sch-legend { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; font-size: 14px; color: var(--ink-2); }
.sch-legend span { display: inline-flex; align-items: center; gap: 8px; }
.sch-legend span::before { content: ""; width: 18px; height: 18px; border-radius: 4px; background: var(--c-bg); border: 1px solid rgba(34, 34, 34, .12); }
.sch-notes { display: grid; gap: 10px; margin-top: 30px; padding: 20px; border-radius: var(--r-card); background: var(--beige-2); }
.sch-notes p { font-size: 15px; }
.sch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; }
.sch-dialog {
  width: min(560px, calc(100% - 20px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: var(--r-card);
  color: var(--ink); background: #fff;
}
.sch-dialog::backdrop { background: rgba(34, 34, 34, .5); }
.sch-dialog__inner { display: grid; gap: 20px; padding: 20px 20px 30px; }
.sch-dialog__close { justify-self: end; min-height: 44px; padding: 0 16px; border: 2px solid var(--line); border-radius: var(--r-btn); background: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.sch-dialog__head { display: grid; gap: 6px; padding: 20px; border-radius: 14px; background: var(--c-bg); }
.sch-dialog__title { font-size: 22px; }
.sch-dialog__title small { margin-left: 10px; font-size: 16px; }
.sch-dialog__when { font-size: 18px; font-weight: 700; }
.sch-dialog__coach { font-size: 15px; color: var(--ink-2); }
.sch-dialog__coach:empty { display: none; }
/* 担当のトレーナーの名前は、押すと詳細が出る */
.sch__coach-name { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; cursor: pointer; }
.sch__coach-name:hover { color: var(--orange-ink); text-decoration-style: solid; }
.sch-dialog__coach a { color: var(--orange-ink); font-weight: 700; text-underline-offset: 3px; }
.sch-dialog__actions { display: grid; gap: 14px; }
.sch-dialog__actions .btn { width: 100%; }
@media (min-width: 640px) { .sch-dialog__inner { padding: 30px 40px 40px; } }

/* ---------- クラス(トップ・クラスページ) ---------- */
.r-course-grid { display: grid; gap: 20px; }
.r-course { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.r-course figure img, .r-course-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.r-course__body { display: grid; gap: 12px; align-content: start; padding: 20px; }
.r-course__body h3 { font-size: var(--h3); }
.r-course__days { display: flex; flex-wrap: wrap; gap: 4px 10px; font-weight: 700; }
.r-course__days span { padding: 0 10px; border-radius: var(--r-s); background: var(--beige); font-size: 14px; }
@media (min-width: 640px) { .r-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .r-course__body { padding: 30px; } }
.r-inline-details summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--orange-ink); font-weight: 700; text-decoration: underline; cursor: pointer; }
.r-inline-details[open] > div { display: grid; gap: 14px; margin-top: 10px; padding: 20px; border-radius: 14px; background: var(--beige-2); }
.r-course-options { margin-top: 20px; }
.r-course-detail { border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.r-course-detail + .r-course-detail { margin-top: 10px; }
.r-course-detail summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px 14px; min-height: 72px; padding: 14px 20px; cursor: pointer; list-style: none; }
.r-course-detail summary::-webkit-details-marker { display: none; }
.r-course-detail summary > span:first-child { display: grid; }
.r-course-detail__title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.r-course-detail__title .icon { width: 28px; height: 28px; color: var(--orange); }
.r-course-detail__hint { color: var(--muted); font-size: 14px; }
.r-course-detail__days { padding: 0 10px; border-radius: var(--r-s); background: var(--beige); font-size: 14px; font-weight: 700; white-space: nowrap; }
.r-course-detail__toggle { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--beige-2); color: var(--orange-ink); font-weight: 700; transition: transform .2s; }
.r-course-detail[open] .r-course-detail__toggle { transform: rotate(45deg); }
.r-course-detail__body { display: grid; gap: 20px; padding: 0 20px 20px; }
.r-course-detail__body img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.r-course-detail__body h3 { font-size: var(--h3); margin-bottom: 10px; }
@media (max-width: 639px) { .r-course-detail summary { grid-template-columns: minmax(0, 1fr) auto; } .r-course-detail__days { grid-column: 1; grid-row: 2; justify-self: start; } .r-course-detail__toggle { grid-row: 1 / span 2; grid-column: 2; } }
@media (min-width: 768px) { .r-course-detail__body { grid-template-columns: 2fr 3fr; align-items: start; } }
.r-kids-invite { padding-block: 40px; }
.r-kids-invite .wrap { display: grid; gap: 20px; align-items: center; }
.r-kids-invite > .wrap { padding-block: 20px; }
.r-kids-invite img { width: 100%; max-width: 360px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.r-kids-invite h2 { font-size: var(--h3); margin-bottom: 6px; }
@media (min-width: 768px) { .r-kids-invite .wrap { grid-template-columns: 240px minmax(0, 1fr) auto; gap: 30px; } }
.r-schedule__links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 30px 0 14px; }

/* ---------- 料金 ---------- */
.r-price-layout { display: grid; gap: 30px; }
.r-price-intro { display: grid; gap: 10px; align-content: start; }
@media (min-width: 1024px) { .r-price-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 60px; } }
.ptable { width: 100%; overflow: hidden; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); }
.ptable th, .ptable td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.ptable tbody tr:last-child > * { border-bottom: 0; }
.ptable thead th { background: var(--beige); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ptable tbody th { font-size: 16px; }
.ptable__count { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.ptable__num { text-align: right !important; font-size: 21px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.ptable__num small { margin-left: 2px; font-size: 13px; }
.ptable thead .ptable__num { font-size: 13px; }
.ptable td[data-label="女性"], .ptable thead th:last-child { background: #fff6e8; }
.ptable thead th:last-child { background: var(--peach); color: var(--ink); }
.ptable__both { text-align: center !important; }
.ptable__tag { margin-left: 8px; padding: 0 6px; border-radius: var(--r-s); background: var(--soft); font-size: 12px; font-weight: 700; vertical-align: middle; }
@media (min-width: 640px) { .ptable th, .ptable td { padding: 16px 20px; } .ptable__num { font-size: 24px; } }
/* スマホでは、1行目にプランと回数、2行目に男性・女性の料金を並べる */
@media (max-width: 639px) {
  .ptable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ptable, .ptable tbody { display: block; }
  .ptable tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .ptable tbody tr:last-child { border-bottom: 0; }
  .ptable tbody th, .ptable tbody td { padding: 0; border: 0; background: none !important; }
  .ptable tbody th { font-size: 17px; }
  .ptable__count { align-self: center; text-align: right; }
  .ptable__num { display: block; padding: 8px 12px !important; border-radius: 10px; background: var(--soft) !important; text-align: left !important; }
  .ptable__num[data-label="女性"] { background: #fff6e8 !important; }
  .ptable__num::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
  .ptable__both { grid-column: 1 / -1; }
  .ptable__both .ptable__tag { display: none; }
}
.price-note { margin-top: 14px; }
.price-note + .price-note { margin-top: 4px; }
.price-extra { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.price-extra > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 60px; padding: 10px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.price-extra > summary::-webkit-details-marker { display: none; }
.price-extra > summary::after { content: "＋"; color: var(--orange-ink); }
.price-extra[open] > summary::after { content: "－"; }
.price-more { display: grid; gap: 30px; padding: 0 20px 20px; }
@media (min-width: 768px) { .price-more { grid-template-columns: 1fr 1fr; } }
.price-more__title { margin-bottom: 10px; font-size: 17px; }
.fees > div, .examples > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
/* 料金は、項目名(と下の補足)を左、金額を右にそろえる。項目名が長いときは項目名の中で折り返し、金額は下に落とさない */
.fees > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; }
.examples > div { display: grid; gap: 2px; }
.fees dt { font-size: 15px; word-break: keep-all; overflow-wrap: anywhere; }
.fees dd { font-weight: 700; font-size: 18px; white-space: nowrap; }
.fees dd small { margin-left: 2px; font-size: 13px; }
.fees__sub { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.examples dt { font-size: 14px; color: var(--muted); }
.examples dd { font-weight: 700; }
.price-more .note { margin-top: 10px; }
.r-price-link { margin-top: 10px; }
.price-panel { padding: 30px 20px; border-radius: var(--r-card); background: var(--beige-2); }
@media (min-width: 1024px) { .price-panel { padding: 60px; } }

/* ---------- 無料体験 ---------- */
.r-trial { background: var(--beige-2); padding-block: var(--sec-y) !important; }
.r-trial__layout { display: grid; gap: 30px; }
.r-trial__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-card); }
.r-trial__photo figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }
.r-trial__body { display: grid; gap: 20px; align-content: start; justify-items: start; }
.r-steps { display: grid; gap: 10px; counter-reset: step; width: 100%; }
.r-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border-radius: var(--r-card); background: #fff; counter-increment: step; }
.r-steps .icon { width: 48px; height: 48px; padding: 10px; border-radius: 14px; background: var(--beige); color: var(--orange-ink); }
.r-steps h3 { font-size: 17px; }
.r-steps h3::before { content: counter(step) ". "; color: var(--orange-ink); }
.r-steps p { color: var(--ink-2); font-size: 15px; }
.r-trial__kit { padding: 14px 20px; border-radius: 14px; background: #fff; font-size: 15px; }
@media (min-width: 640px) { .r-trial__body > .btn { min-width: 320px; } }
@media (min-width: 1024px) { .r-trial__layout { grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; } .r-trial__photo { position: sticky; top: calc(var(--hdr-h) + 20px); } }

/* ---------- トレーナー ---------- */
.r-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.r-team a { display: grid; gap: 4px; color: var(--ink); text-decoration: none; }
.r-team img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-card); margin-bottom: 8px; }
.r-team h3 { font-size: 17px; }
.r-team p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.r-team a:hover h3 { color: var(--orange-ink); }
@media (min-width: 768px) { .r-team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .r-team { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.r-team-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 30px; color: var(--ink-2); font-size: 15px; }
.r-photo-help { margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.tgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
.tgrid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tcard a { display: grid; gap: 4px; color: var(--ink); text-decoration: none; }
.tcard img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-card); margin-bottom: 10px; }
.tcard__role { color: var(--orange-ink); font-size: 13px; font-weight: 700; }
.tcard__name { font-size: 19px; font-weight: 700; letter-spacing: .06em; }
.tcard__roman { color: var(--muted); font-size: 13px; }
.tcard__bio { color: var(--ink-2); font-size: 14px; line-height: 1.75; }
.tcard a:hover .tcard__name { color: var(--orange-ink); }
@media (min-width: 768px) { .tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tgrid--row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .tgrid--row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.page-head--profile { padding-bottom: 60px; }
.profile { display: grid; gap: 30px; margin-top: 20px; }
.profile__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.profile__body { display: grid; gap: 14px; align-content: start; }
.profile__body h1 { margin: 0; }
.profile__roman { color: var(--muted); font-size: 14px; margin-top: -10px; }
.profile__intro { color: var(--ink-2); }
.tquote { margin: 10px 0; padding: 20px; border-radius: var(--r-card); background: #fff; }
.tsub { margin-top: 10px; font-size: 18px; }
.rlist { display: grid; gap: 8px; }
.rlist li { position: relative; padding-left: 18px; }
.rlist li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
@media (min-width: 1024px) { .profile { grid-template-columns: 5fr 6fr; gap: 60px; align-items: start; } .profile__media { position: sticky; top: calc(var(--hdr-h) + 20px); } }

/* ---------- 会員の声 ---------- */
.r-voices { background: var(--beige-2); padding-top: var(--sec-y) !important; }
.r-quotes-source { font-weight: 700; }
.r-quotes-source span { color: var(--orange); }
.r-quotes {
  --quote-visible: 1;
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px;
}
.r-quotes::-webkit-scrollbar { display: none; }
.r-quotes .voice { scroll-snap-align: start; }
@media (min-width: 640px) { .r-quotes { --quote-visible: 2; grid-auto-columns: calc((100% - 20px) / 2); } }
@media (min-width: 1024px) { .r-quotes { --quote-visible: 3; grid-auto-columns: calc((100% - 40px) / 3); } }
.voice { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: var(--r-card); background: #fff; }
.stars { color: var(--orange); letter-spacing: .1em; }
.voice blockquote p { font-size: 15px; line-height: 1.85; }
.voice figcaption { color: var(--muted); font-size: 14px; }
.voices { display: grid; gap: 20px; }
@media (min-width: 768px) { .voices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.more-voices { margin-top: 20px; }
.more-voices > summary { list-style: none; }
.more-voices > summary::-webkit-details-marker { display: none; }
.more-voices[open] > summary { display: none; }
.r-quotes-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.r-quotes-controls:not([hidden]) { display: flex; align-items: center; gap: 10px; }
.r-quotes-controls button { width: 48px; height: 48px; border: 2px solid var(--line); border-radius: var(--r-btn); background: #fff; font-size: 18px; cursor: pointer; }
.r-quotes-controls button:disabled { opacity: .4; cursor: default; }
.r-quotes-status { min-width: 4em; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- よくある質問 ---------- */
.r-faq-layout { display: grid; gap: 30px; }
@media (min-width: 1024px) { .r-faq-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 60px; } }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.faq summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 64px; padding: 12px 20px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--orange); font-weight: 700; font-size: 18px; }
.faq summary::after { content: "＋"; color: var(--orange-ink); font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__q { font-weight: 700; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.faq details > p, .faq details > div { padding: 0 20px 20px 48px; color: var(--ink-2); }
.faq details > div p + p { margin-top: 10px; }

/* ---------- アクセス ---------- */
.r-access__layout { display: grid; gap: 30px; }
.r-access__layout > div:last-child { display: grid; gap: 20px; align-content: start; justify-items: start; }
.r-access__photos { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; align-items: end; }
.r-access__photos figure img, .r-access__entrance { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.r-access__photos figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.r-access__info { display: grid; gap: 0; width: 100%; border-top: 1px solid var(--line); }
.r-access__info > div { display: grid; grid-template-columns: 4em minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.r-access__info dt { font-weight: 700; color: var(--orange-ink); }
@media (min-width: 1024px) { .r-access__layout { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; } }
/* 1カラムの幅では、道順のボタンをほかのボタンと同じく横いっぱいにする */
@media (max-width: 1023px) { .r-access__route { justify-self: stretch; } }

/* ---------- 最後の案内 ---------- */
.r-final { padding-block: var(--sec-y); }
.r-final__inner { display: grid; gap: 30px; padding-block: 40px !important; border-radius: var(--r-card); background: var(--orange); }
.r-final { --final-pad: 20px; }
.r-final .wrap.r-final__inner { width: calc(100% - var(--gutter) * 2); padding-inline: 20px; }
.r-final h2 { font-size: var(--h2); }
.r-final p { margin-top: 10px; }
.r-final a:not(.btn) { color: var(--ink); }
.r-final__actions { display: grid; gap: 14px; justify-items: start; }
.r-final__actions .btn { width: 100%; background: #fff; box-shadow: 0 4px 0 var(--orange-shadow); }
.r-final__actions .btn--line::before { color: var(--line-green); }
.r-final .r-heading::after { background: var(--ink); }
@media (min-width: 768px) { .r-final .wrap.r-final__inner { padding-inline: 40px; } .r-final__actions .btn { width: auto; } }
@media (min-width: 1024px) { .r-final__inner { grid-template-columns: 1fr auto; align-items: center; padding: 60px !important; } .r-final__actions { justify-items: end; } }

/* ---------- フッター ---------- */
.ftr { padding: 60px 0 40px; background: var(--beige); font-size: 15px; }
.ftr__grid { display: grid; gap: 30px; }
.ftr__brand address { margin-top: 14px; color: var(--ink-2); font-size: 14px; }
.ftr__col ul { display: grid; gap: 0; }
.ftr__col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; word-break: keep-all; }
.ftr__col a:hover { color: var(--orange-ink); text-decoration: underline; }
.ftr__copy { margin-top: 40px; color: var(--muted); }
/* リンクの列は中身の幅に合わせ、「お知らせ・キャンペーン」などを語の途中で折り返さない */
@media (min-width: 768px) { .ftr__grid { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 48px; } }
.has-sticky .ftr { padding-bottom: 120px; }
@media (min-width: 1024px) { .has-sticky .ftr { padding-bottom: 40px; } }

/* スマホ下部の固定ボタン */
.sticky { position: fixed; inset: auto 0 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
.sticky .btn { width: 100%; }
.sticky[hidden] { display: none; }
@media (min-width: 1024px) { .sticky { display: none !important; } }

/* ---------- キッズ ---------- */
.r-kids-wordmark { display: inline-block; margin-left: 10px; color: var(--orange-ink); }
.r-kids-facts { display: grid; gap: 10px; margin-top: 30px; }
.r-kids-facts > div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 10px; padding: 14px 20px; border-radius: 14px; background: #fff; }
.r-kids-facts dt { font-weight: 700; color: var(--orange-ink); }
@media (min-width: 768px) { .r-kids-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .r-kids-facts > div { grid-template-columns: 1fr; gap: 0; } }
.r-kids-lessons { display: grid; gap: 30px; }
.r-kids-lessons article { display: grid; gap: 14px; align-content: start; }
.r-kids-lessons img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.r-kids-lessons h3 { font-size: var(--h3); }
@media (min-width: 768px) { .r-kids-lessons { grid-template-columns: 1fr 1fr; } }
.r-kids-schedule, .r-kids-price, .r-kids-coaches { display: grid; gap: 30px; }
.r-kids-schedule > div:first-child, .r-kids-price > div:first-child, .r-kids-coaches > div:first-child { display: grid; gap: 10px; align-content: start; justify-items: start; }
@media (min-width: 1024px) { .r-kids-schedule, .r-kids-price, .r-kids-coaches { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 60px; } }
.r-age-table { width: 100%; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); }
.r-age-table th, .r-age-table td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; }
.r-age-table thead th { background: var(--beige); font-size: 14px; }
.r-age-table tbody tr:last-child > * { border-bottom: 0; }
.r-age-table td { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-kids-price__amount { display: grid; gap: 6px; padding: 30px; border-radius: var(--r-card); background: var(--beige-2); }
.r-kids-price__value { display: flex; align-items: baseline; gap: 6px; }
.r-kids-price__value b { font-size: 44px; line-height: 1.2; letter-spacing: .02em; }
.r-kids-price__sibling { font-weight: 700; color: var(--orange-ink); }
.r-kids-coaches__text { color: var(--ink-2); }
.r-team--kids { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .r-team--kids { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.r-sg-message { padding: 16px 20px; border-radius: var(--r-card); background: #fff; }

/* ---------- ニュース一覧・記事 ---------- */
.ngrid { display: grid; gap: 30px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .ngrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ncard { display: grid; gap: 8px; color: var(--ink); text-decoration: none; }
.ncard img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-card); border: 1px solid var(--line); }
.ncard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--muted); font-size: 13px; }
.ncard__title { font-weight: 700; line-height: 1.6; }
.ncard:hover .ncard__title { color: var(--orange-ink); }
.article { padding: 20px 0 var(--sec-y); }
.article__wrap { max-width: calc(760px + var(--gutter) * 2); }
.article__meta { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--muted); font-size: 14px; }
.article h1 { margin-top: 10px; font-size: var(--h1); }
.article .lead { margin-top: 20px; }
.article__thumb { margin: 30px 0; }
.article__thumb img { width: 100%; max-width: 480px; margin-inline: auto; border-radius: var(--r-card); }
.article__body, .prose { display: grid; gap: 16px; }
.article__body h2, .prose h2 { margin-top: 30px; padding-left: 14px; border-left: 5px solid var(--orange); font-size: 22px; }
.article__body h3 { margin-top: 10px; font-size: 18px; }
.prose ul { display: grid; gap: 6px; padding-left: 1.2em; list-style: disc; }
.perks { display: grid; gap: 10px; margin: 20px 0; }
.perks li { display: grid; padding: 16px 20px; border-radius: 14px; background: var(--beige-2); font-size: 18px; font-weight: 700; }
.perks small { color: var(--muted); font-size: 14px; font-weight: 500; }
.checklist { display: grid; gap: 8px; padding: 20px; border-radius: 14px; background: var(--soft); }
.checklist li { position: relative; padding-left: 18px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
.table-wrap { overflow-x: auto; }
.simple-table { width: 100%; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; border-collapse: separate; border-spacing: 0; }
.simple-table th, .simple-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; }
.simple-table tr:last-child > * { border-bottom: 0; }
.simple-table thead th { background: var(--beige); font-size: 14px; word-break: keep-all; }
.simple-table tbody th { background: var(--beige-2); word-break: keep-all; }
/* スマホでも横にスクロールさせず、画面の幅に収める */
.simple-table small { word-break: normal; }
@media (max-width: 639px) {
  .simple-table th, .simple-table td { padding: 10px; font-size: 14px; }
  .simple-table tbody th { width: 34%; }
  /* 列の多い表は、行ごとに縦に並べる(見出しの行は読み上げ用に残す) */
  .simple-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .simple-table--stack tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .simple-table--stack tbody tr:last-child { border-bottom: 0; }
  .simple-table--stack tbody th, .simple-table--stack td { width: auto; padding: 0; border: 0; background: none; }
  .simple-table--stack tbody th { flex-basis: 100%; font-size: 15px; }
  .simple-table--stack td:last-child { flex-basis: 100%; color: var(--ink-2); }
}
.simple-table .num { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.steps { display: grid; gap: 10px; counter-reset: step; }
.step { padding: 16px 20px; border-radius: 14px; background: var(--beige-2); counter-increment: step; }
.step h3 { margin: 0 0 4px; font-size: 17px; }
.step h3::before { content: counter(step) ". "; color: var(--orange-ink); }
.notice { padding: 16px 20px; border-radius: 14px; background: #fff6e8; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 2px 12px; border-radius: var(--r-s); background: var(--beige); font-size: 14px; font-weight: 700; }
.pager { display: grid; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.pager a { display: grid; gap: 2px; color: var(--muted); font-size: 13px; text-decoration: none; }
.pager a span { color: var(--ink); font-size: 15px; font-weight: 700; }
.pager a:hover span { color: var(--orange-ink); }

/* ---------- LP ---------- */
.hero { display: grid; background: var(--beige-2); }
.hero__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero__body { display: grid; gap: 14px; justify-items: start; padding: 30px var(--gutter) 40px; }
.hero__body h1 { font-size: var(--h1); }
.hero__lead { color: var(--ink-2); font-size: var(--lead); }
.hero__fine { color: var(--muted); font-size: 14px; }
.hero .actions { margin-top: 10px; }
@media (min-width: 1024px) { .hero { grid-template-columns: 1fr 1fr; align-items: center; } .hero__media img { height: 100%; aspect-ratio: auto; min-height: 520px; } .hero__body { padding: 60px; } }
.cards3 { display: grid; gap: 20px; }
@media (min-width: 1024px) { .cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: grid; gap: 10px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.card__title { font-size: 18px; }
.card__text { color: var(--ink-2); font-size: 15px; }
.path-illustration { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 14px; background: var(--beige-2); }

/* ---------- 404 ---------- */
.notfound { padding-block: 80px; text-align: center; }
.notfound__num { color: var(--peach); font-size: 72px; font-weight: 700; line-height: 1; }
.notfound h1 { margin-top: 20px; font-size: var(--h1); }
.notfound .lead { margin-top: 10px; }
.notfound .actions { justify-content: center; }

/* ---------- 詳細のダイアログ(トレーナー・パーソナル) ---------- */
.detail-open { overflow: hidden; }
.media-trigger { position: relative; display: block; cursor: zoom-in; }
.media-zoom { position: relative; display: block; }
.media-zoom__hint { position: absolute; right: 10px; bottom: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--orange-ink); font-weight: 700; }
.details-dialog { width: min(880px, calc(100% - 20px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: var(--r-card); color: var(--ink); }
.details-dialog::backdrop { background: rgba(34, 34, 34, .5); }
.details-dialog__toolbar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: flex-end; padding: 10px; background: #fff; }
.details-dialog__close { min-height: 44px; padding: 0 16px; border: 2px solid var(--line); border-radius: var(--r-btn); background: #fff; font-weight: 700; cursor: pointer; }
.details-dialog__content { padding: 0 20px 30px; }
.details-dialog__layout { display: grid; gap: 20px; }
.details-dialog__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.details-dialog__body { display: grid; gap: 14px; align-content: start; }
.details-dialog__body h2 { font-size: var(--h2); }
.details-dialog__actions, .details-dialog__body .actions { margin-top: 10px; }
@media (min-width: 768px) { .details-dialog__content { padding: 0 40px 40px; } .details-dialog__layout { grid-template-columns: 2fr 3fr; gap: 30px; } }

/* ---------- 動き ---------- */
[data-reveal-pending] { opacity: 0; transform: translateY(16px); }
[data-inview] { opacity: 1; transform: none; transition: opacity .6s ease var(--reveal-delay, 0ms), transform .6s ease var(--reveal-delay, 0ms); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-reveal-pending] { opacity: 1; transform: none; }
}
.sch__tab.is-none:not([aria-selected="true"]) { opacity: .45; }
.sch-dialog__content { display: grid; gap: 20px; }
.hdr--lp .hdr__logo { margin-right: auto; }
.sch__tabs[hidden], .sch__filters[hidden], .sch__versions[hidden], .sch__version[hidden], .sch__empty[hidden] { display: none; }
.btn--line.btn--sm { box-shadow: 0 3px 0 var(--line-shadow); }
.r-jumpnav ~ section .sch__tabs { top: calc(var(--hdr-h) + 60px); }

/* ---------- トップの最初の画面(版B改) ----------
   写真3枚(女性・男性・キッズ)を、オレンジの面の上に重ねる。読み込み時に一度だけ動き、
   写真はJSで5秒ごとに切り替える。H1と1枚目の写真は最初から見える。 */
/* 背景はボクシング用品の線画の柄(Magnific。元データは patterns-src/、作り方は scripts/make-pattern.mjs) */
.hero-zone { background: var(--beige-2) url("/assets/img/pattern-boxing.svg") center top / 560px repeat; }
.hero2 { position: relative; overflow: hidden; padding: 20px 0 40px; }
.hero2__wordmark {
  position: absolute; top: 4px; left: 0; right: 0; margin: 0; overflow: hidden;
  color: #fff; font-size: clamp(56px, 17vw, 232px); font-weight: 700; line-height: 1; letter-spacing: .01em; white-space: nowrap;
  pointer-events: none; user-select: none; text-align: center;
}
.hero2__inner { position: relative; display: grid; gap: 30px; }
.hero2__copy { position: relative; display: grid; gap: 20px; justify-items: start; padding-top: 28px; }
.hero2 h1 { display: grid; gap: 4px; }
.hero2__place { color: var(--orange-ink); font-size: 18px; letter-spacing: .08em; }
.hero2__line { font-size: clamp(30px, 8vw, 50px); line-height: 1.3; letter-spacing: .04em; }
.hero2__lead { color: var(--ink-2); font-size: var(--lead); }
.hero2__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.hero2__points li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; border-radius: 14px; background: #fff; font-size: 14px; font-weight: 700; line-height: 1.5; text-align: center; word-break: keep-all; }
.hero2__points .icon { width: 28px; height: 28px; color: var(--orange); }
.hero2__actions { display: grid; gap: 16px; width: 100%; }
.hero2__actions .btn { width: 100%; }
.hero2__visual { position: relative; display: grid; gap: 16px; }
.hero2__photos { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 1 / .78; }
.hero2__photos::before { content: ""; position: absolute; inset: 14% -24px -16px 26%; z-index: 0; border-radius: 28px; background: var(--orange); }
.hero2__photo { position: relative; z-index: 1; overflow: hidden; border-radius: 20px; background: var(--beige); }
.hero2__photo--a { grid-row: 1 / span 2; }
.hero2__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.hero2__photo img.is-on { opacity: 1; }
.hero2__photo--a img { object-position: 52% 40%; }
/* 今日のクラス(schedule today) */
.today { position: relative; z-index: 2; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.today__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-weight: 700; }
.today__head a { display: inline-flex; align-items: center; min-height: 32px; font-size: 13px; }
.today__list { display: grid; gap: 4px; }
.today__list li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); align-items: center; gap: 8px; padding: 4px 8px; border-radius: 6px; background: var(--c-bg); font-size: 14px; line-height: 1.5; }
.today__list li[hidden] { display: none; }
.today__list time { font-weight: 700; font-variant-numeric: tabular-nums; }
.today__list li.is-next { outline: 2px solid var(--c-bar); outline-offset: -2px; }
.today__list li.is-next span[data-state]::after { content: attr(data-state); margin-left: 8px; padding: 0 6px; border-radius: 4px; background: #fff; font-size: 11px; font-weight: 700; }
.today__fallback { font-size: 14px; color: var(--ink-2); }
.today.is-ready .today__fallback { display: none; }
@media (min-width: 640px) {
  .hero2__actions { grid-auto-flow: column; justify-content: start; width: auto; }
  .hero2__actions .btn { width: auto; }
  .hero2__points { display: flex; flex-wrap: wrap; width: auto; }
  .hero2__points li { flex-direction: row; gap: 8px; padding: 8px 14px; font-size: 15px; }
  .hero2__points .icon { width: 22px; height: 22px; }
      }
@media (min-width: 1024px) {
  .hero2 { padding: 40px 0 60px; }
  .hero2__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: 60px; min-height: 560px; }
  .hero2__copy { padding-top: 60px; }
  .hero2__visual { margin-right: 10px; }
  .hero2__photos { aspect-ratio: 1 / .7; }
  .hero2__photos::before { inset: 10% -40px -28px 30%; }
  .hero2__visual > .today { margin-top: 20px; }
  .today__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
/* 読み込み時の動き(一度だけ) */
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hero-lift { from { transform: translateY(12px); } to { transform: none; } }
@keyframes hero-open { from { clip-path: inset(0 0 100% 0 round 20px); } to { clip-path: inset(0 round 20px); } }
@keyframes hero-slab { from { transform: scale(.6, .2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: none; } }
@keyframes hero-slide { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero2__wordmark { animation: hero-slide 1.2s cubic-bezier(.2, .7, .2, 1) both; }
  .hero2__line { display: block; animation: hero-lift .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero2__lead, .hero2__points, .hero2__actions { animation: hero-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero2__lead { animation-delay: .08s; } .hero2__points { animation-delay: .16s; } .hero2__actions { animation-delay: .24s; }
  .hero2__photos::before { transform-origin: 70% 80%; animation: hero-slab .9s cubic-bezier(.2, .7, .2, 1) .1s both; }
  .hero2__photo--a img.is-on { animation: hero-zoom 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  .hero2__photo--b { animation: hero-open .8s cubic-bezier(.2, .7, .2, 1) .25s both; }
  .hero2__photo--c { animation: hero-open .8s cubic-bezier(.2, .7, .2, 1) .4s both; }
  .hero2__visual > .today { animation: hero-rise .7s cubic-bezier(.2, .7, .2, 1) .6s both; }
  }
.when-sep { margin: 0 6px; color: var(--line); }

/* ---------- 女性の方へ・男性の方へ ---------- */
.audience__grid { display: grid; gap: 20px; }
.audience__panel { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--line); background: #fff; }
.audience__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.audience__panel--men .audience__photo img { object-position: 50% 40%; }
.audience__body { display: grid; gap: 16px; align-content: start; padding: 24px 20px; border-top: 6px solid var(--c-bar); }
.audience__panel--women .audience__body { --c-bar: #d65288; --c-bg: #fde2ec; }
.audience__panel--men .audience__body { --c-bar: var(--ink); --c-bg: var(--soft); }
.audience__body h3 { font-size: var(--h3); }
.audience__lead { color: var(--ink-2); }
.audience__list { display: grid; gap: 8px; }
.audience__list > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--c-bg); }
.audience__list dt { font-weight: 700; }
.audience__list dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.audience__note { color: var(--ink-2); font-size: 14px; font-weight: 400 !important; }
.audience__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.audience__price span { width: 100%; color: var(--muted); font-size: 14px; }
.audience__price b { font-size: 32px; line-height: 1.2; letter-spacing: .02em; }
.audience__price small { color: var(--muted); }
.audience__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.audience__kids { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 16px 20px; border-radius: var(--r-card); background: var(--beige-2); }
.audience__kids .icon { color: var(--orange); }
@media (min-width: 1024px) { .audience__grid { grid-template-columns: 1fr 1fr; gap: 30px; } .audience__body { padding: 30px; } }

/* ---------- ジムの特徴 ---------- */
.features__list { display: grid; gap: 14px; }
.features__list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; padding: 20px; border-radius: var(--r-card); background: #fff; }
.features__list .icon { grid-row: 1 / span 2; width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--beige); color: var(--orange-ink); }
.features__list h3 { font-size: 18px; }
.features__list p { color: var(--ink-2); font-size: 15px; }
.features__photos { display: grid; gap: 14px; margin-top: 30px; }
.features__photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-card); }
.features__photos figcaption { margin-top: 8px; font-size: 14px; font-weight: 700; }
@media (min-width: 768px) { .features__list { grid-template-columns: 1fr 1fr; } .features__photos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .features__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .features__list li { grid-template-columns: 1fr; } .features__list .icon { grid-row: auto; margin-bottom: 8px; } }
.today__list[hidden] { display: none; }
.quick li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 768px) { .quick ul { grid-template-columns: repeat(6, minmax(0, 1fr)); } .quick li, .quick li:last-child:nth-child(odd) { grid-column: span 2; } .quick li:nth-child(n+4), .quick li:nth-child(n+4):last-child:nth-child(odd) { grid-column: span 3; } }
@media (min-width: 1024px) { .quick ul { grid-template-columns: repeat(5, minmax(0, 1fr)); } .quick li, .quick li:nth-child(n+4), .quick li:last-child:nth-child(odd), .quick li:nth-child(n+4):last-child:nth-child(odd) { grid-column: auto; } }
.audience__body { display: flex; flex-direction: column; }
.audience__price { margin-top: auto; padding-top: 8px; }
/* スマホ・タブレットでは、見出し→写真→予約ボタン→説明 の順に並べ、最初の画面に写真を入れる */
@media (max-width: 1023px) {
  /* Safari は display: contents の子の最小幅で列を広げるため、列を画面幅に固定する */
  .hero2__inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero2__copy, .hero2__visual { display: contents; }
  .hero2 h1 { order: 1; padding-top: 28px; }
  .hero2__photos { order: 2; margin-top: 20px; aspect-ratio: 1 / .66; }
  .hero2__actions { order: 3; margin-top: 30px; }
  .hero2__lead { order: 4; margin-top: 20px; }
  .hero2__points { order: 5; margin-top: 16px; }
  .hero2__visual > .today { order: 6; margin-top: 20px; }
  }
.hero2__place { color: var(--ink); }
.r-goals { margin-top: 40px; }
.r-goals .r-subheading { margin-top: 0; }
.r-goals__list { display: grid; gap: 10px; }
.r-goals__list > div { display: grid; gap: 4px; padding: 16px 20px; border-radius: 14px; background: var(--beige-2); }
.r-goals__list dt { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--orange-ink); }
.r-goals__list dt .icon { width: 32px; height: 32px; color: var(--orange); }
/* 3列で幅が狭いあいだは、アイコンを見出しの上に置いて語の途中で折り返さないようにする */
@media (min-width: 768px) and (max-width: 1023px) { .r-goals__list dt { flex-direction: column; align-items: flex-start; gap: 8px; } }
.r-goals__list dd { color: var(--ink-2); font-size: 15px; }
@media (min-width: 768px) { .r-goals__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.insta__layout { display: grid; gap: 30px; align-items: center; }
.insta__copy { display: grid; gap: 16px; justify-items: start; }
.insta__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.insta__photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); }
@media (min-width: 1024px) { .insta__layout { grid-template-columns: 1fr 1.2fr; gap: 60px; } }
.r-access__photos { grid-template-rows: auto auto; }
.r-access__photos > figure:first-child { grid-row: 1 / span 2; }
.r-access__parking img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.r-access__parking figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); }
/* 外観の写真を右の2枚と同じ高さにそろえ、上端と下端をそろえる */
.r-access__photos { align-items: stretch; }
.r-access__photos > figure:first-child { display: flex; flex-direction: column; }
.r-access__photos > figure:first-child img { flex: 1 1 auto; height: 0; min-height: 0; aspect-ratio: auto; }
@media (max-width: 399px) { .r-access__photos figcaption, .r-access__parking figcaption { font-size: 12px; letter-spacing: 0; } }
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero2__line { font-size: 42px; }
  .hdr__brand { font-size: 14px; letter-spacing: .04em; }
  .hdr__brand small { display: none; }
  .hdr__inner { gap: 6px; }
  .nav-link { padding: 0 8px; font-size: 14px; }
}
@media (min-width: 640px) { .hero2__actions { display: flex; flex-wrap: wrap; gap: 16px; } }
.today__list span[data-state]::after { display: inline-block; white-space: nowrap; }
.btn { flex-wrap: wrap; row-gap: 0; } .btn .nw { white-space: nowrap; }

/* ---------- クラス(ジャンル別) ---------- */
.genres { display: grid; gap: 20px; }
.genre { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.genre__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
#genre-dance .genre__photo img { object-position: 50% 30%; }
.genre__body { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.genre__body h3 { font-size: var(--h3); }
.genre__body > p:first-of-type { color: var(--ink-2); font-size: 15px; }
.genre__can { display: grid; gap: 6px; }
.genre__can li { position: relative; padding-left: 16px; font-size: 15px; font-weight: 500; line-height: 1.6; }
.genre__can li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--orange); }
.genre__days { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: auto; padding-top: 4px; font-weight: 700; font-variant-numeric: tabular-nums; }
.genre__days span { padding: 0 10px; border-radius: var(--r-s); background: var(--beige); font-size: 13px; }
.genres__note { margin-top: 20px; color: var(--muted); font-size: 14px; }
@media (min-width: 640px) { .genres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .genres { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } .genre__body { padding: 24px; } }
