:root {
  /* =========================================================
     Raw palette
     ========================================================= */
  --ripped-color-ink-950: #111316;
  --ripped-color-ink-800: #272b30;
  --ripped-color-ink-600: #5f666d;
  --ripped-color-ink-400: #8d949a;
  --ripped-color-white: #ffffff;
  --ripped-color-gray-050: #fafafa;
  --ripped-color-gray-100: #f4f5f6;
  --ripped-color-gray-200: #e5e8ea;
  --ripped-color-accent-500: #c8ff4a;
  --ripped-color-accent-600: #afe82f;
  --ripped-color-accent-700: #8fc51f;
  --ripped-color-accent-secondary: #6f46e0;
  --ripped-color-success-500: #2f9e44;
  --ripped-color-warning-500: #f59f00;
  --ripped-color-danger-500: #e03131;
  /* =========================================================
     Semantic colors
     ========================================================= */
  --ripped-color-text: var(--ripped-color-ink-950);
  --ripped-color-text-secondary: var(--ripped-color-ink-600);
  --ripped-color-text-muted: var(--ripped-color-ink-400);
  --ripped-color-background: var(--ripped-color-white);
  --ripped-color-background-soft: var(--ripped-color-gray-100);
  --ripped-color-surface: var(--ripped-color-white);
  --ripped-color-surface-inverse: var(--ripped-color-ink-950);
  --ripped-color-border: var(--ripped-color-gray-200);
  --ripped-color-action: var(--ripped-color-accent-500);
  --ripped-color-action-hover: var(--ripped-color-accent-600);
  --ripped-color-action-active: var(--ripped-color-accent-700);
  --ripped-color-action-text: var(--ripped-color-ink-950);
  --ripped-color-focus: var(--ripped-color-accent-700);
  --ripped-color-success: var(--ripped-color-success-500);
  --ripped-color-warning: var(--ripped-color-warning-500);
  --ripped-color-danger: var(--ripped-color-danger-500);
  /* =========================================================
     Typography
     ========================================================= */
  --ripped-font-family-sans:
      "Noto Sans JP", -apple-system,
      BlinkMacSystemFont,
      "Hiragino Kaku Gothic ProN",
      "Hiragino Sans",
      "Yu Gothic",
      "YuGothic",
      "Meiryo",
      sans-serif;
  --ripped-font-weight-normal: 400;
  --ripped-font-weight-medium: 500;
  --ripped-font-weight-semibold: 600;
  --ripped-font-weight-bold: 700;
  --ripped-font-size-xs: 0.75rem;
  --ripped-font-size-sm: 0.875rem;
  --ripped-font-size-md: 1rem;
  --ripped-font-size-lg: 1.125rem;
  --ripped-font-size-xl: 1.25rem;
  --ripped-font-size-2xl: 1.5rem;
  --ripped-font-size-3xl: 2rem;
  --ripped-font-size-display: clamp(2.25rem, 7vw, 4.5rem);
  --ripped-line-height-tight: 1.25;
  --ripped-line-height-heading: 1.4;
  --ripped-line-height-body: 1.7;
  /* =========================================================
     Spacing
     ========================================================= */
  --ripped-space-1: 0.25rem;
  --ripped-space-2: 0.5rem;
  --ripped-space-3: 0.75rem;
  --ripped-space-4: 1rem;
  --ripped-space-5: 1.5rem;
  --ripped-space-6: 2rem;
  --ripped-space-7: 3rem;
  --ripped-space-8: 4rem;
  --ripped-space-9: 6rem;
  /* =========================================================
     Radius
     ========================================================= */
  --ripped-radius-sm: 0.375rem;
  --ripped-radius-md: 0.625rem;
  --ripped-radius-lg: 1rem;
  --ripped-radius-xl: 1.5rem;
  --ripped-radius-pill: 999rem;
  /* =========================================================
     Shadow
     ========================================================= */
  --ripped-shadow-sm:
      0 1px 2px rgb(17 19 22 / 0.06);
  --ripped-shadow-md:
      0 8px 24px rgb(17 19 22 / 0.08);
  --ripped-shadow-lg:
      0 18px 48px rgb(17 19 22 / 0.12);
  /* =========================================================
     Layout
     ========================================================= */
  --ripped-container-wide: 77.5rem;
  --ripped-container-reading: 47.5rem;
  --ripped-container-gutter: var(--ripped-space-4);
  /* =========================================================
     Motion
     ========================================================= */
  --ripped-transition-fast: 160ms ease;
  --ripped-transition-base: 240ms ease;
}

@media (min-width: 48rem) {
  :root {
    --ripped-container-gutter: var(--ripped-space-5);
  }
}
:root {
  --ripped-color-editorial-rose-500: #f28ca2;
  --ripped-color-editorial-rose-100: #fdecef;
  --ripped-color-editorial-blush: #fff8f9;
  --ripped-color-editorial-warm: #fdfcfa;
  --ripped-color-editorial-accent: var(--ripped-color-editorial-rose-500);
  --ripped-color-editorial-accent-soft: var(--ripped-color-editorial-rose-100);
  --ripped-color-editorial-background: var(--ripped-color-editorial-warm);
  --ripped-color-editorial-action: #a4435a;
  --ripped-color-editorial-overlay: rgb(255 255 255 / 0.88);
  --ripped-font-family-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --ripped-font-family-latin: "Cormorant Garamond", "Baskerville", serif;
  --ripped-font-family-script: "Allura", "Snell Roundhand", cursive;
  --ripped-editorial-container: 74rem;
  --ripped-editorial-gutter: clamp(1.25rem, 5.2vw, 5rem);
  --ripped-editorial-section-space: clamp(3rem, 5vw, 5rem);
  --ripped-color-focus: var(--ripped-color-editorial-action);
}

.ripped-site-header {
  position: relative;
  z-index: 20;
  max-width: none;
  padding: 0;
  background: var(--ripped-color-surface);
  border-bottom: 1px solid var(--ripped-color-border);
}

.home .ripped-site-header {
  position: absolute;
  inset: auto 0;
  background: transparent;
  border: 0;
}

.ripped-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ripped-space-5);
  padding: 1.4rem var(--ripped-editorial-gutter);
  max-width: 100rem;
  margin-inline: auto;
}

.ripped-site-brand {
  display: flex;
  align-items: center;
  gap: var(--ripped-space-4);
  text-decoration: none;
}

.ripped-site-brand__name {
  font-family: var(--ripped-font-family-latin);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
}

.ripped-site-brand__tagline {
  display: none;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.ripped-site-nav {
  display: none;
}

.ripped-site-nav.is-open {
  display: flex;
  position: absolute;
  top: 100%;
  left: var(--ripped-space-4);
  right: var(--ripped-space-4);
  flex-direction: column;
  align-items: stretch;
  padding: var(--ripped-space-5);
  background: var(--ripped-color-surface);
  box-shadow: var(--ripped-shadow-md);
}

.ripped-site-nav a {
  padding: var(--ripped-space-3) 0;
  font-size: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
}

.ripped-site-header__cta {
  display: none;
  align-items: center;
  gap: var(--ripped-space-2);
  border: 1px solid var(--ripped-color-editorial-accent);
  border-radius: var(--ripped-radius-pill);
  color: var(--ripped-color-editorial-action);
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  text-decoration: none;
  white-space: nowrap;
}

.ripped-nav-toggle {
  border: 0;
  background: transparent;
  padding: 0.6rem;
  font-size: 0.75rem;
  cursor: pointer;
}

.ripped-skip-link {
  position: absolute;
  top: -10rem;
  left: 1rem;
  z-index: 30;
  padding: 1rem;
  background: var(--ripped-color-surface);
}

.ripped-skip-link:focus {
  top: 1rem;
}

@media (min-width: 64rem) {
  .ripped-site-nav {
    display: flex;
    align-items: center;
    gap: var(--ripped-space-5);
    margin-left: auto;
  }
  .ripped-nav-toggle {
    display: none;
  }
  .ripped-site-header__cta {
    display: inline-flex;
  }
}
@media (min-width: 64rem) {
  .ripped-site-brand__tagline {
    display: inline;
  }
}
.ripped-site-footer {
  max-width: none;
  padding: var(--ripped-space-7) var(--ripped-editorial-gutter) var(--ripped-space-5);
  background: var(--ripped-color-surface);
}

.ripped-site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--ripped-space-6);
  max-width: var(--ripped-editorial-container);
  margin: auto;
}

.ripped-site-footer__brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.ripped-site-footer__wordmark {
  font-family: var(--ripped-font-family-latin);
  font-size: 2.25rem;
  line-height: 1.2;
}

.ripped-site-footer__tagline {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.ripped-site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ripped-space-4) var(--ripped-space-5);
  align-items: center;
}

.ripped-site-footer__nav a {
  font-size: 0.65rem;
  text-decoration: none;
  color: var(--ripped-color-text-secondary);
}

.ripped-site-footer__bottom {
  text-align: center;
  color: var(--ripped-color-text-secondary);
  font-size: 0.65rem;
  margin: var(--ripped-space-6) 0 0;
}

@media (min-width: 48rem) {
  .ripped-site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.c-card--editorial, .c-card--journal {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.c-card--editorial .c-card__media, .c-card--journal .c-card__media {
  display: block;
  aspect-ratio: 1.75;
  border-radius: 5px;
}
.c-card--editorial .c-card__body, .c-card--journal .c-card__body {
  padding: 0.8rem 0 0;
  gap: 0.6rem;
}
.c-card--editorial .c-card__title, .c-card--journal .c-card__title {
  font-family: var(--ripped-font-family-serif);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.6;
}
.c-card--editorial .c-card__eyebrow, .c-card--journal .c-card__eyebrow {
  font-size: 0.65rem;
}
.c-card--editorial .c-card__meta, .c-card--journal .c-card__meta {
  font-size: 0.75rem;
}
.c-card--editorial .c-card__badges, .c-card--journal .c-card__badges {
  gap: 0.35rem;
}
.c-card--editorial .c-badge, .c-card--journal .c-badge {
  border: 0;
  border-radius: 4px;
  font-size: 0.6rem;
  padding: 0.2rem 0.55rem;
  background: var(--ripped-color-editorial-accent-soft);
  color: var(--ripped-color-text-secondary);
}
.c-card--editorial .c-card--gym__hours, .c-card--editorial .c-card--gym__meta-label, .c-card--editorial .c-card__eyebrow, .c-card--journal .c-card--gym__hours, .c-card--journal .c-card--gym__meta-label, .c-card--journal .c-card__eyebrow {
  display: none;
}
.c-card--editorial .c-card--gym__access, .c-card--journal .c-card--gym__access {
  grid-template-columns: 1fr;
}
.c-card--editorial:hover, .c-card--journal:hover {
  box-shadow: none;
}

.c-card__media-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 0.3rem 0.5rem;
  background: var(--ripped-color-editorial-overlay);
  color: var(--ripped-color-text-secondary);
  font-size: 0.55rem;
  text-align: right;
}

.c-card--journal .c-card__eyebrow {
  display: block;
  color: var(--ripped-color-editorial-action);
  font-size: 0.65rem;
}

.c-card__date {
  color: var(--ripped-color-text-secondary);
  font-size: 0.7rem;
}

.p-front {
  max-width: none;
  padding: 0;
  background: var(--ripped-color-surface);
  font-size: 0.875rem;
}
.p-front h1, .p-front h2 {
  font-family: var(--ripped-font-family-serif);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.65;
}
.p-front h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
}
.p-front a {
  text-decoration: none;
}
.p-front a:focus-visible, .p-front button:focus-visible {
  outline: 2px solid var(--ripped-color-focus);
  outline-offset: 5px;
}
.p-front [id] {
  scroll-margin-top: var(--ripped-space-6);
}

.p-front__container {
  width: calc(100% - var(--ripped-editorial-gutter) * 2);
  max-width: var(--ripped-editorial-container);
  margin-inline: auto;
}

.p-front__section {
  padding-block: var(--ripped-editorial-section-space);
}

.p-front__script {
  font-family: var(--ripped-font-family-sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ripped-color-editorial-accent);
  line-height: 1.4;
  letter-spacing: 0.18em;
  margin: 0 0 0.9rem;
}

.p-front__hero {
  position: relative;
  min-height: 45rem;
  isolation: isolate;
}

.p-front__hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
  z-index: -2;
}

.p-front__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ripped-color-editorial-overlay), transparent 90%);
  z-index: -1;
}

.p-front__hero-inner {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 3rem;
  min-height: inherit;
}

.p-front__hero-script {
  margin: 0 0 1.25rem;
  width: max-content;
}

.p-front__hero-script span {
  padding-left: 0;
}

.p-front__hero h1 {
  font-size: clamp(1.65rem, 8.2vw, 2rem);
  margin: 0 0 1.6rem;
}

.p-front__hero-lead {
  font-size: 0.8rem;
  line-height: 2.2;
  letter-spacing: 0.12em;
}

.p-front__finder {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: min(100%, 37.5rem);
  margin-top: var(--ripped-space-6);
  padding: 0.4rem;
  background: var(--ripped-color-surface);
  border-radius: var(--ripped-radius-pill);
  box-shadow: var(--ripped-shadow-md);
}

.p-front__finder .c-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.p-front__finder a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 2.6rem;
  font-size: 0.6rem;
  flex: 1;
  white-space: nowrap;
}

.p-front__finder a + a {
  border-left: 1px solid var(--ripped-color-border);
}

.p-front__finder .p-front__finder-submit {
  flex: 0 0 2.3rem;
  border: 0;
  border-radius: 50%;
  background: var(--ripped-color-editorial-accent);
  color: var(--ripped-color-white);
}

.c-icon {
  flex-shrink: 0;
}

.p-front__hero-aside {
  display: none;
  position: absolute;
  top: 38%;
  right: 0;
  letter-spacing: 0.1em;
  line-height: 2;
}

.p-front__scroll {
  position: absolute;
  bottom: 2.4rem;
  right: 0;
  display: none;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.p-front__scroll::before {
  content: "";
  display: block;
  height: 3rem;
  width: 1px;
  background: currentColor;
  margin: 0 auto 0.7rem;
}

.p-front__purpose {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ripped-space-5) var(--ripped-space-3);
  padding-block: 2rem 0.5rem;
}

.p-front__purpose a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.p-front__purpose small {
  color: var(--ripped-color-text-secondary);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
}

.p-front__feature-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--ripped-color-editorial-accent-soft);
  border-radius: 50%;
  transition: transform 180ms ease;
}

.p-front__feature-icon .c-icon {
  width: 1.8rem;
  height: 1.8rem;
}

.p-front__purpose a:hover .p-front__feature-icon {
  transform: translateY(-2px);
}

.p-front__description {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: 2;
  letter-spacing: 0.09em;
  color: var(--ripped-color-text-secondary);
}

.p-front__regions {
  margin-top: var(--ripped-space-6);
}

.p-front__region-tabs {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.p-front__region-tabs button {
  flex: 1;
  min-width: 5.5rem;
  padding: 0.9rem 0.7rem;
  background: var(--ripped-color-gray-050);
  border: 0;
  border-radius: 3px;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
}

.p-front__region-tabs [aria-selected=true] {
  background: var(--ripped-color-editorial-accent-soft);
  color: var(--ripped-color-editorial-action);
}

.p-front__region-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ripped-space-4) 0;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--ripped-color-border);
  min-height: 4.5rem;
}

.p-front__region-panel[hidden] {
  display: none;
}

.p-front__region-panel a {
  padding: 0 1.3rem;
  border-right: 1px solid var(--ripped-color-border);
  font-size: 0.8rem;
}

.p-front__region-panel a:last-child {
  border: 0;
}

.p-front__section-header {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  gap: var(--ripped-space-5);
  margin-bottom: var(--ripped-space-5);
}

.p-front__more {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  white-space: nowrap;
}

.p-front__more span {
  font-size: 1.7rem;
  color: var(--ripped-color-editorial-accent);
  line-height: 1;
}

.p-front__gyms {
  padding-top: 0;
}

.p-front__carousel {
  position: relative;
}

.p-front__gym-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 0 1rem;
  margin: 0;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: var(--ripped-color-editorial-accent-soft) transparent;
}

.p-front__gym-grid > li {
  min-width: 0;
  scroll-snap-align: start;
}

.p-front__carousel-next {
  position: absolute;
  right: -1rem;
  top: 25%;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ripped-color-surface);
  box-shadow: var(--ripped-shadow-md);
  width: 3rem;
  height: 3rem;
  font-size: 1.3rem;
  cursor: pointer;
}

.p-front__about {
  background: var(--ripped-color-editorial-background) url("../images/editorial/about.jpg") 38% top/auto 18rem no-repeat;
  padding-top: 17rem;
}

.p-front__about-inner {
  display: grid;
  gap: var(--ripped-space-5);
  padding-block: var(--ripped-space-6);
}

.p-front__about-english {
  display: none;
  font-family: var(--ripped-font-family-latin);
  color: var(--ripped-color-editorial-accent);
  font-size: 3rem;
  line-height: 1;
}

.p-front__about-copy p {
  font-size: 0.75rem;
  line-height: 2.1;
  margin-block: var(--ripped-space-4);
  letter-spacing: 0.04em;
}

.p-front__journal-grid {
  display: grid;
  gap: var(--ripped-space-6);
}

.p-front__closing {
  background: var(--ripped-color-editorial-background) url("../images/editorial/closing.jpg") center/cover no-repeat;
  margin-top: var(--ripped-editorial-section-space);
}

.p-front__closing-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--ripped-space-6);
  min-height: 17rem;
  text-align: center;
  padding-block: var(--ripped-space-6);
}

.p-front__closing-inner > .p-front__script, .p-front__closing-note {
  display: none;
}

.p-front__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: var(--ripped-color-editorial-accent);
  border-radius: var(--ripped-radius-pill);
  padding: 0.85rem 2.7rem;
  margin-top: var(--ripped-space-4);
  color: var(--ripped-color-ink-950);
  font-size: 0.8rem;
}

.p-front__button:hover {
  background: var(--ripped-color-editorial-accent-soft);
}

@media (min-width: 48rem) {
  .p-front__hero h1 {
    font-size: clamp(2rem, 4.35vw, 4rem);
  }
  .p-front__finder .c-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
  .p-front__section-header {
    flex-direction: row;
    align-items: end;
  }
  .p-front__hero {
    min-height: clamp(39rem, 56vw, 50rem);
  }
  .p-front__hero-inner {
    padding-top: 8.5rem;
  }
  .p-front__hero::after {
    display: none;
  }
  .p-front__hero-image {
    object-position: center;
  }
  .p-front__hero-script {
    margin-bottom: 1.4rem;
  }
  .p-front__scroll {
    display: block;
  }
  .p-front__hero-aside {
    right: -1rem;
  }
  .p-front__hero-lead {
    font-size: 0.95rem;
  }
  .p-front__finder a {
    font-size: 0.75rem;
    min-height: 3.5rem;
  }
  .p-front__finder .p-front__finder-submit {
    flex-basis: 3.5rem;
  }
  .p-front__purpose {
    grid-template-columns: repeat(6, 1fr);
    padding-block: 2rem 0.5rem;
  }
  .p-front__gym-grid {
    grid-auto-columns: calc((100% - 3rem) / 3);
  }
  .p-front__about {
    background-size: cover;
    background-position: center;
    padding-top: 0;
  }
  .p-front__about-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 22rem;
  }
  .p-front__about-english {
    display: block;
    padding-left: 2rem;
    align-self: center;
  }
  .p-front__about-copy {
    padding: 1rem 0 1rem 1.5rem;
  }
  .p-front__journal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .p-front__closing-inner {
    justify-content: space-between;
    min-height: 17rem;
  }
  .p-front__closing-inner > .p-front__script {
    display: block;
    transform: none;
    color: var(--ripped-color-editorial-accent);
  }
  .p-front__closing-note {
    display: block;
    font-family: var(--ripped-font-family-latin);
    color: var(--ripped-color-text-secondary);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
  }
}
@media (min-width: 64rem) {
  .p-front__hero-aside {
    display: block;
  }
  .p-front__hero-inner {
    padding-top: 9rem;
  }
}

/* Primary official-site CTA, including opaque affiliate creatives. */
.p-gym-detail .c-outbound-cta--detail > a {
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:.45em;
  min-height:64px; padding:18px 28px; border:2px solid #f28ca2; border-radius:999px;
  background:#f28ca2; color:#242024; font-size:16px; font-weight:700;
  box-shadow:0 7px 20px rgba(164,67,90,.18); text-decoration:none;
  transition:background .2s,box-shadow .2s,transform .2s;
}
.p-gym-detail .c-outbound-cta--detail.c-outbound-cta--affiliate > a::after { content:"公式サイトを見る →"; white-space:nowrap; }
.p-gym-detail .c-outbound-cta--detail > a:hover { background:#f5a3b5; border-color:#f5a3b5; box-shadow:0 9px 25px rgba(164,67,90,.25); transform:translateY(-2px); }
.p-gym-detail .c-outbound-cta--detail > a:focus-visible { outline:3px solid #a4435a; outline-offset:4px; }
