@charset "UTF-8";

/**
 * トップ 202611別案 FV直下の3セクション（TOP_HYBRID 指示書 2026-10-27）
 *
 * - pattern: hirao-ropponmatsu-top-hybrid-intro-202611
 * - 同梱HTMLの <style> 2か所をそのまま移植。以下だけ変更:
 *   - 書体: Jost → サイト既存の英字（--font-latin = Roboto）、Noto Sans JP → --font-ja（自前サブセット）
 *   - 太さ: 500 は配信していないため、英字は 700、和文は 400 に置き換え
 * - 分岐点は 960px（指示書どおり）
 * - 各 section の padding は .v24 > .v24-xxx で指定（top.css の body.top-v3 section { padding-block: 0 } に負けないため）
 */
/* デザインの基本設定（サイト既存の変数があればそちらを優先） */
.v24 {
  --ink: #111317;          /* 黒（暗い背景・本文） */
  --ink-body: #2A2E35;     /* 長い本文 */
  --ink-sub: #4A4F57;      /* 補足 */
  --on-dark: #FFFFFF;      /* 暗い背景上の文字 */
  --on-dark-sub: #C9CDD3;  /* 暗い背景上の補足 */
  --card-dark: #1B1E24;    /* 暗い背景上のカード */
  --cell-dark: #23272E;    /* 比較表のVISION24列 */
  --line-dark: #3A3F47;    /* 暗い背景上の線 */
  --line: #E6E8EB;         /* 明るい背景上の線 */
  --accent: #FEE801;       /* アクセント（黄） */
  --accent2: #23413C;      /* 第2アクセント（ディープグリーン） */
  --label: #6B6100;        /* 明るい背景上の英字ラベル */
  font-family: var(--font-ja, "Noto Sans JP", sans-serif);
  color: var(--ink);
}
.v24 *, .v24 *::before, .v24 *::after { box-sizing: border-box; }
.v24 a { color: inherit; }
.v24 a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* 共通：セクションの内側の幅 */
.v24-inner { max-width: 1120px; margin: 0 auto; position: relative; }

/* 共通：背景の大きな英字（装飾） */
.v24-bgword {
  position: absolute;
  font-family: var(--font-latin, "Roboto", sans-serif);
  font-weight: 700;
  line-height: 0.95;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* 共通：英字ラベル */
.v24-label {
  margin: 0;
  font-family: var(--font-latin, "Roboto", sans-serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
}

/* ---------------------------------------------------------
   1. VISION24とは
   --------------------------------------------------------- */
.v24 > .v24-about {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  padding: 64px 24px;
}
.v24-about .v24-bgword {
  right: -8px; top: 20px;
  font-size: 96px;
  color: rgba(255, 255, 255, 0.05);
}
.v24-about .v24-inner { display: grid; gap: 28px; }
.v24-about .v24-label { color: var(--accent); margin-bottom: 12px; }
.v24-about__title { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.45; }

/* 式：24時間ジム × パーソナル ＝ 質×量 */
.v24-equation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: center;
  gap: 6px 4px;
}
.v24-equation__card {
  padding: 16px 14px;
  border-radius: 6px;
  background: var(--card-dark);
  display: flex; flex-direction: column; gap: 6px;
}
.v24-equation__kind { margin: 0; font-size: 11px; color: var(--on-dark-sub); }
.v24-equation__text { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; }
.v24-equation__value {
  margin: 0;
  font-family: var(--font-latin, "Roboto", sans-serif); font-weight: 700;
  font-size: 13px; letter-spacing: 0.1em;
  color: var(--accent);
}
.v24-equation__op {
  font-family: var(--font-latin, "Roboto", sans-serif); font-weight: 700;
  font-size: 28px; text-align: center; color: var(--accent);
}
.v24-equation__eq { display: none; }  /* スマホでは＝を省き、結果カードを下に置く */
.v24-equation__result {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 20px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--ink);
}
.v24-equation__result-title { margin: 0; font-size: 21px; font-weight: 700; }
.v24-equation__result-text { margin: 6px 0 0; font-size: 13px; line-height: 1.7; font-weight: 400; }

/* 循環：教わる → 復習する → また教わる（順番に意味があるので番号付き） */
.v24-cycle {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
}
.v24-cycle__item {
  padding: 12px 6px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  text-align: center;
}
.v24-cycle__num {
  display: block;
  font-family: var(--font-latin, "Roboto", sans-serif); font-weight: 700;
  font-size: 18px; color: var(--accent);
}
.v24-cycle__name { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; }
.v24-cycle__desc { display: block; margin-top: 2px; font-size: 10px; color: var(--on-dark-sub); }

/* 比較表 */
.v24-compare__title { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
/* グリッドの子が表の幅まで広がらないようにする（広がるとスマホで表が横スクロールせず右端が切れる） */
.v24-compare { min-width: 0; }
.v24-compare__scroll { overflow-x: auto; margin: 0 -24px; padding: 0 24px; }
.v24-compare__table {
  min-width: 520px; width: 100%;
  border-collapse: collapse;
  font-size: 12px; line-height: 1.5;
}
.v24-compare__table th,
.v24-compare__table td {
  padding: 11px 8px;
  border-bottom: 1px solid var(--line-dark);
  text-align: center;
}
.v24-compare__table thead th { font-weight: 700; color: var(--on-dark-sub); }
.v24-compare__table tbody th { text-align: left; font-weight: 400; color: var(--on-dark-sub); width: 84px; }
.v24-compare__table .is-vision { background: var(--cell-dark); font-weight: 700; color: var(--on-dark); }
.v24-compare__table thead .is-vision {
  background: var(--accent); color: var(--ink);
  border-radius: 6px 6px 0 0; border-bottom: 0;
}
.v24-compare__table tbody tr:last-child th,
.v24-compare__table tbody tr:last-child td { border-bottom: 0; }
.v24-note { margin: 10px 0 0; font-size: 11px; color: var(--on-dark-sub); }

/* ---------------------------------------------------------
   2. ひとつずつでも、本格派。
   --------------------------------------------------------- */
.v24 > .v24-reason {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  padding: 56px 16px 64px;
  border-top: 1px solid var(--line-dark);
}
.v24-reason .v24-bgword {
  left: -6px; top: 120px;
  font-size: 84px;
  color: rgba(255, 255, 255, 0.04);
  white-space: normal;
}
.v24-reason .v24-inner { display: grid; gap: 28px; }

/* 中央揃えの見出し（両側に短い線） */
.v24-centertitle {
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.v24-centertitle::before,
.v24-centertitle::after {
  content: ""; width: 28px; height: 2px; background: var(--accent);
}
.v24-centertitle h2 { margin: 0; font-size: 22px; font-weight: 700; text-align: center; }

.v24-group { display: flex; flex-direction: column; gap: 16px; }
.v24-group__tag {
  margin: 0; align-self: center;
  padding: 4px 14px; border-radius: 4px;
  font-size: 12px; font-weight: 700;
}
.v24-group--gym .v24-group__tag { border: 1px solid var(--on-dark); }
.v24-group--personal .v24-group__tag { background: var(--accent2); color: var(--on-dark); }
.v24-group__stat { margin: 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--accent); }
/* 数値の出典（期間・算出方法・件数） */
.v24-group__stat-note { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: var(--on-dark); opacity: .8; }

.v24-circles {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px;
}
.v24-circle {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none; color: var(--on-dark);
}
.v24-circle__icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.v24-circle__icon svg { width: 28px; height: 28px; }
.v24-group--gym .v24-circle__icon { border: 2px solid var(--on-dark); }
.v24-group--personal .v24-circle__icon { border: 2px solid var(--accent2); background: var(--accent2); }
.v24-circle__label { font-size: 10px; font-weight: 700; line-height: 1.45; text-align: center; }

.v24-reason__note { margin: 0; text-align: center; font-size: 11px; color: var(--on-dark-sub); }
.v24-button {
  justify-self: center;
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 22px; border-radius: 4px;
  background: var(--accent); color: var(--ink);
  font-size: 13px; font-weight: 700; text-decoration: none;
}
.v24 .v24-button { color: var(--ink); }

/* ---------------------------------------------------------
   3. 目的別の入口
   --------------------------------------------------------- */
.v24 > .v24-purpose { background: #FFFFFF; padding: 64px 24px; }
.v24-purpose .v24-inner { display: grid; gap: 20px; }
.v24-purpose .v24-label { color: var(--label); margin-bottom: 8px; }
.v24-purpose__title { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.4; }
.v24-purpose__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.v24-purpose__item {
  min-height: 64px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
}
.v24-purpose__text { display: flex; flex-direction: column; gap: 2px; }
.v24-purpose__name { font-size: 15px; font-weight: 700; }
.v24-purpose__style { font-size: 12px; color: var(--ink-sub); }

/* ---------------------------------------------------------
   PC（960px〜）
   --------------------------------------------------------- */
@media (min-width: 960px) {
  .v24-label { font-size: 15px; letter-spacing: 0.22em; }

  /* 1. VISION24とは */
  .v24 > .v24-about { padding: 112px 160px; }
  .v24-about .v24-bgword { right: -80px; top: 40px; font-size: 220px; }
  .v24-about .v24-inner { gap: 48px; }
  .v24-about__title { font-size: 44px; line-height: 1.4; }
  .v24-equation {
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1.4fr);
    align-items: stretch; gap: 0;
  }
  .v24-equation__card { padding: 28px; gap: 8px; }
  .v24-equation__kind { font-size: 13px; }
  .v24-equation__text { font-size: 24px; }
  .v24-equation__value { font-size: 18px; }
  .v24-equation__op { align-self: center; font-size: 44px; }
  .v24-equation__eq { display: block; }
  .v24-equation__result { grid-column: auto; margin-top: 0; padding: 28px; }
  .v24-equation__result-title { font-size: 28px; }
  .v24-equation__result-text { font-size: 14px; line-height: 1.8; }
  .v24-cycle { gap: 16px; }
  .v24-cycle__item {
    padding: 20px 24px; text-align: left;
    display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center;
  }
  .v24-cycle__num { grid-row: span 2; font-size: 32px; }
  .v24-cycle__name { margin-top: 0; font-size: 17px; }
  .v24-cycle__desc { font-size: 13px; }
  .v24-compare__title { font-size: 22px; margin-bottom: 14px; }
  .v24-compare__scroll { margin: 0; padding: 0; }
  .v24-compare__table { font-size: 15px; }
  .v24-compare__table th, .v24-compare__table td { padding: 16px; }
  .v24-compare__table tbody th { width: 180px; }
  .v24-compare__table thead .is-vision { font-size: 17px; }
  .v24-note { font-size: 12px; }

  /* 2. ひとつずつでも、本格派。 */
  .v24 > .v24-reason { padding: 96px 160px 112px; }
  .v24-reason .v24-bgword { left: -80px; top: 150px; font-size: 200px; white-space: nowrap; }
  .v24-reason .v24-inner { gap: 48px; }
  .v24-centertitle h2 { font-size: 34px; }
  .v24-groups {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    gap: 48px;
  }
  .v24-groups__divider { background: var(--line-dark); }
  .v24-group { gap: 24px; }
  .v24-group__tag { padding: 6px 18px; font-size: 14px; }
  .v24-group__stat { font-size: 18px; }
  .v24-group__stat-note { font-size: 12px; }
  .v24-circles { gap: 12px; }
  .v24-circle__icon { width: 100px; height: 100px; }
  .v24-circle__icon svg { width: 40px; height: 40px; }
  .v24-circle__label { font-size: 14px; }
  .v24-reason__note { font-size: 12px; margin-top: -16px; }
  .v24-button { height: 48px; font-size: 15px; }

  /* 3. 目的別の入口 */
  .v24 > .v24-purpose { padding: 112px 160px; }
  .v24-purpose .v24-inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; }
  .v24-purpose__title { font-size: 36px; line-height: 1.45; }
  .v24-purpose__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .v24-purpose__item { min-height: 76px; padding: 14px 0; }
  .v24-purpose__name { font-size: 17px; }
  .v24-purpose__style { font-size: 13px; }
}

/* スマホ：2グループを縦に並べる（区切り線は使わない） */
@media (max-width: 959px) {
  .v24-groups { display: grid; gap: 28px; }
  .v24-groups__divider { display: none; }
}

/* 読み上げ専用テキスト（表の左上の空欄用） */
.v24-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =========================================================
   FV（mv-202611）：4バッジをやめた分の下余白をなくす
   ========================================================= */
#mv.vision-hero.vision-hero--with-banner.vision-hero--202611 .vision-hero__bottom { padding-bottom: 0; }
#mv.vision-hero.vision-hero--202611 .vision-hero__banner { display: block; margin-bottom: 0; }

/* =========================================================
   信頼バー（24h.css の .vision-trust--line と同じ細ラインの横スクロール。数字はゴールド）
   ========================================================= */
.v24-trust {
  overflow: hidden;
  background: #111317;
  color: #fff;
  border-block: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--font-ja, "Noto Sans JP", sans-serif);
}
.v24-trust__marquee {
  display: flex;
  width: max-content;
  min-width: 0;
  animation: v24-trust-line 42s linear infinite;
}
.v24-trust:hover .v24-trust__marquee,
.v24-trust:focus-within .v24-trust__marquee { animation-play-state: paused; }
.v24-trust__list {
  display: flex;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.v24-trust__list li {
  display: flex;
  align-items: center;
  padding: 7px 0;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.v24-trust__list a { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.v24-trust__list a:hover { text-decoration: underline; }
.v24-trust__list a:focus-visible { outline: 3px solid #FEE801; outline-offset: 2px; }
/* 項目の区切り（細い斜線） */
.v24-trust__list li::after {
  content: "";
  width: 1px;
  height: 14px;
  margin-inline: 28px;
  background: rgba(255, 255, 255, .28);
  transform: rotate(20deg);
}
.v24-trust__list b {
  margin-right: .55em;
  font-family: var(--font-latin, "Roboto", sans-serif);
  font-size: 1.05rem;
  line-height: 1.2;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes v24-trust-line {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 767px) {
  .v24-trust__marquee { animation-duration: 30s; }
  .v24-trust__list li { padding: 6px 0; font-size: .72rem; }
  .v24-trust__list li::after { margin-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .v24-trust { overflow-x: auto; }
  .v24-trust__marquee { animation: none; }
}

/* =========================================================
   セクションナビ（信頼バーの下。スマホは横スクロール）
   ========================================================= */
/* 固定ヘッダーの直下に貼り付く（固定ヘッダーの z-index 50 より下） */
.v24-secnav {
  position: sticky;
  top: var(--header-h, 72px);
  z-index: 40;
  background: #111317;
  border-bottom: 1px solid #3A3F47;
  font-family: var(--font-ja, "Noto Sans JP", sans-serif);
}
.v24-secnav__list {
  display: flex;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 12px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.v24-secnav__list::-webkit-scrollbar { display: none; }
.v24-secnav__list li { flex: 0 0 auto; }
.v24-secnav__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: #C9CDD3;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.v24-secnav__list a:hover { color: #FEE801; }
.v24-secnav__list a:focus-visible { outline: 3px solid #FEE801; outline-offset: -3px; }
@media (min-width: 960px) {

  .v24-secnav__list { justify-content: center; }
  .v24-secnav__list a { min-height: 52px; padding: 0 16px; font-size: 14px; }
}

/* ページ内リンクの着地位置：固定ヘッダー＋スティッキーナビの分だけ下げる（top.css の body.top-v3 [id] を上書き） */
body.top-v3 [id] { scroll-margin-top: calc(var(--header-h, 72px) + 44px); }
@media (min-width: 960px) {
  body.top-v3 [id] { scroll-margin-top: calc(var(--header-h, 72px) + 52px); }
}

/* =========================================================
   目的別の入口：店舗 × 種類の4リンク
   ========================================================= */
.v24-stores { margin-top: 8px; }
.v24-stores__title { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--ink-sub); }
.v24-stores__list {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
}
.v24-stores__link {
  min-height: 56px; padding: 10px 14px;
  border: 1px solid var(--ink); border-radius: 4px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.v24-stores__link:hover { background: var(--ink); color: #FFFFFF; }
.v24-stores__text { display: flex; flex-direction: column; gap: 2px; }
.v24-stores__store { font-size: 11px; font-weight: 700; color: var(--label); }
.v24-stores__link:hover .v24-stores__store { color: var(--accent); }
.v24-stores__name { font-size: 14px; font-weight: 700; }
.v24-stores__link svg { flex: 0 0 auto; }
@media (min-width: 960px) {
  .v24-stores { grid-column: 2; margin-top: 0; }
  .v24-stores__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .v24-stores__link { min-height: 64px; }
  .v24-stores__name { font-size: 15px; }
}

/* スマホで語のまとまりの途中で折り返さない（見出し・短い文言。pattern で区切りごとに囲む） */
.vision-nowrap { display: inline-block; }

/* 本文の最後の行が1〜2文字だけにならないようにする（対応ブラウザのみ効く。未対応でも表示は従来どおり） */
.vision-recommend__q,
.vision-recommend__item p,
.vision-chapter__text,
.vision-chapter__note,
.vision-tr__note,
.v24-note { text-wrap: pretty; }

/* FV の h1（画面に出す。写真の右上に小さく） */
#mv.vision-hero--202611 { position: relative; }
#mv.vision-hero--202611 .vision-hero__h1 {
  position: absolute;
  z-index: 2;
  top: 60px;              /* 固定ヘッダー（SP 60px）の直下 */
  right: 0;
  margin: 0;
  padding: 3px 8px;
  border-radius: 0 0 0 4px;
  background: rgba(17, 19, 23, .55);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
  /* SP は2行にして、写真左の訴求文と顔に重ねない */
  max-width: 170px;
  text-align: right;
}
@media (min-width: 960px) {
  #mv.vision-hero--202611 .vision-hero__h1 { top: 88px; right: 24px; max-width: none; border-radius: 4px; font-size: 13px; } /* PC ヘッダー 72px の下 */
}
