@charset "utf-8";
/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * ---- タイポグラフィの方針 ----
 * PCの最低フォントサイズは 1.4rem（14px）。デザイン元データの 11/12/13px は 14px に引き上げ、
 * それに合わせて 14→15 / 15→16 / 16→17px と1段ずつ繰り上げている（19px以上と clamp は据え置き）。
 * 本文の基準サイズも 15px → 16px（scss-site.scss の $font_size_base）。
 *
 * ---- 基盤・utility 補完 ----
 * .rex-fz-19 / -23 / -26              - fz utility に無いサイズ（19/23/26px）
 * .rex-lh-15 / -17 / -19 / -21 / -22  - lh utility に無い行高（1.5/1.7/1.9/2.1/2.2）
 * .rex-ls-01 / -04 / -06 / -08 / -16  - ls utility に無い字間（.01/.04/.06/.08/.16em）
 * .rex-ls-tightest                    - 負の字間（-.01em）
 * .rex-text-mute / .rex-text-faint    - 補助テキスト色（#767676 / #9A9A9A）
 * .rex-gap-24                         - gap utility に無い 24px
 * .rex-pt-72 / -88 / .rex-pb-72 / -88 - pt/pb utility に無い 72px / 88px
 * .rex-mw-26em〜46em                  - em 基準の最大幅（本文の版面制御）
 * .rex-keep-all                       - word-break: keep-all（和文の文節折返し）
 * .rex-nowrap-pc                      - PCのみ nowrap（SPでは折返す）
 * .rex-br-sp / .rex-br-pc             - SP専用／PC専用の <br>（改行位置の指定）
 * .rex-pretty                         - text-wrap: pretty（元データが指定している箇所のみ）
 * .rex-mt-24 / -48 / -64 / .rex-mb-4〜64 - mt/mb utility に無い刻み（4/12/16/24/48/56/64px）
 * .rex-stack-24 / -32                 - 縦積み grid（gap 24 / 32px）
 * .rex-grid-auto200/240/260/300/320   - auto-fit minmax グリッド（デザインの列落ち再現）
 *
 * ---- 流体タイポ（clamp）----
 * .rex-fz-mv-h1 / -mv-lead            - MVのH1・リード
 * .rex-fz-label                       - セクションラベル見出し（REXとは／特徴）
 * .rex-fz-hero                        - 大見出しコピー（clamp 30-54px）
 * .rex-fz-h2 / -h2sec                 - セクション見出し（clamp 28-42 / 26-38px）
 * .rex-fz-h3 / -h3sm                  - 小見出し（clamp 19-24 / 17-21px）
 * .rex-fz-page-h1 / -legal-h1         - 下層ページのH1／ポリシーページのH1
 * .rex-fz-cta                         - CTA帯の見出し
 *
 * ---- ボタン（btn の modifier）----
 * .btn--rex / -sm / -md / -lg / -block  - 角丸なし・1px罫線・可変幅のボタン
 * .btn--rex-block-sm                    - フッターCTA用の全幅小ボタン
 * .btn--rex-dark / -white               - 黒枠白地 / 白地ブルー文字
 * .rex-mv-btn                           - MVの大ボタン（btn-circle-arrow の寸法差分）
 *
 * ---- ヘッダー／フッター ----
 * .rex-header / __inner / __right      - sticky・1px罫線・可変高ヘッダー
 * .rex-logo                            - ロゴ画像（ヘッダー44px / SP40px）
 * .rex-nav / __ja / __ja--sub          - 中央寄せ・和文1段のPCナビ
 * .rex-spnav / __bottom                - SPナビ（不透明背景）と下部CTA
 * .rex-footer / __body / __inner       - 白フッター（3カラム auto-fit）
 * .rex-footer__logo / __info / __nav   - フッターのロゴ・住所・2列ナビ
 * .rex-footer__cta / __bottom / __copyright
 * .rex-spbar / __link / --sub          - SP画面下の固定CTAバー（資料請求／お問い合わせ）
 *
 * ---- セクション部品 ----
 * .rex-label / __inner                 - 下線付きインライン見出し
 * .marker--rex                         - デザインの蛍光マーカー色（#CFE1F8 / 62%）
 * .rex-bgphoto / --bottom              - 背景写真セクション（cover / center・下端基準）
 * .bg-overlay--rex-fade                - bg-overlay の色差分（白50%で背景写真を薄める）
 * .rex-about__copy                     - margin:0 auto のセンター本文ブロック
 * .rex-panel / --flat / --gray         - 角丸パネル（淡ブルー16px / 6px / 淡グレー）
 * .rex-lead-text / --base              - センター寄せリード文（--base はブルー強調）
 * .rex-mv / __grid / __copy / __visual - MVレイアウト（SPは画像→テキストの順に入れ替え）
 * .rex-flow ほか                       - 「REXとは」のデータ→REX→アウトプット流れ図
 * .rex-flow__rexlogo                   - 流れ図内のロゴ画像
 * .rex-voice ほか                      - お客様の声カード
 * .rex-feat ほか                       - 特徴ブロック（左テキスト＋右リスト／画像）
 * .rex-check / __icon                  - チェック付き枠線ボックス
 * .rex-card / __title / __text         - 白カード（機能概要）
 * .rex-card__link / __arrow            - カード見出しのアンカーリンク＋丸矢印
 * .rex-numitem ほか                    - 番号付き罫線リスト（機能詳細）
 * .rex-fwa / __item                    - Fact / Why / Action の3分割
 * .rex-typecard                        - リスクタイプの青枠カード
 * .rex-photo-ph                        - 支給素材待ちの写真プレースホルダ
 * .rex-ctaband__inner                 - CTA帯の見出し＋ボタン横並び
 * .rex-form-cms                       - CMSフォーム（cms_ajax）の版面＋CMS側CSSの上書き
 * .rex-form ほか                       - 静的フォーム用（現在はCMSフォームに差し替え済み）
 * .rex-legal ほか                      - ポリシー3ページの本文
 * .rex-legal__item--num / __num        - 番号だけの見出しを本文の横に並べる
 *
 * ======================================
 * 共通SCSSに不足していたもの（§12の5分類）
 * ======================================
 *
 * ■ 値の粒度不足
 *   - fz / lh / ls / gap / pt / pb の刻みが、このデザインの実測値（11,19,23,26px /
 *     1.5,1.7,1.9,2.1,2.2 / .01,.04,.06,.08,.16em / 24px / 72,88px）に届かない。
 *   - max-width が px のみ。本文の版面を em（26em〜44em）で切る指定ができない。
 *
 * ■ 構造不足
 *   - clamp() ベースの流体タイポが無い（fz-* は固定rem＋SP用の別クラス）。
 *     本デザインは全見出しが clamp 指定のため、site.css 側で用意した。
 *   - auto-fit minmax() の「幅で列が落ちる」グリッドが無い（grid-N は列数固定＋BP切替）。
 *   - ヘッダーが height 固定（80px→60px）＋ shadow 前提。可変高・1px罫線・sticky の
 *     パターンを表現する modifier が無い。
 *   - footer-body が「左35%＋右60%」または均等3列固定。auto-fit の3カラムが作れない。
 *   - btn が max-width:300px + width:100% 固定。テキスト幅に収まる可変幅ボタンが作れない。
 *   - 「ラベル→矢印→ボックス」を横に連ねる図解（rex-flow）に相当する部品が無い。
 *   - フォームのセグメント切替（ラジオを2分割ボタンで見せる）が無い。
 *
 * ■ 装飾パターン不足
 *   - marker の色・開始位置が変数化されていない（rgba(base,0.3) / 70% 固定）。
 *   - 吹き出しの三角（下向き）を持つ黒バッジが無い。
 *
 * ■ 指定方向不足
 *   - （解消済み）footer-bottom の text-align は共通CSSの center をそのまま使用。
 *
 * ■ 状態不足
 *   - header__nav-item--current の下線が 20px 固定。項目幅いっぱいの下線にできない。
 *
 */

/* ==========================================================================
   0. 基盤（デザイン元データに合わせた土台の調整）
   ========================================================================== */

/* ヘッダーを position:sticky で使うため、body の overflow-x を clip に変える
   （overflow:hidden はスクロールコンテナを作り sticky が効かなくなる） */
body {
  overflow-x: clip;
}

/* デザインのコンテンツ幅は max-width:1200px + padding:0 24px（内容幅1152px） */
.container,
.container-narrow,
.container-wide {
  padding-left: 24px;
  padding-right: 24px;
}

/* text-wrap:pretty はデザイン元データが指定している要素にのみ付ける（.rex-pretty / 各部品側）
   ※ お客様の声の本文には指定が無いため、グローバルには当てない */
.rex-pretty { text-wrap: pretty; }

/* ==========================================================================
   2. 流体タイポ（clamp）
   デザイン元データは全見出しが clamp 指定。共通CSSに相当クラスが無いため用意する。
   ========================================================================== */

.rex-fz-mv-h1 {
  font-size: clamp(26px, 2.9vw, 40px);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.rex-fz-mv-lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.8;
  font-weight: 700;
}
.rex-fz-label {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.rex-fz-hero {
  text-wrap: pretty;
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.rex-fz-h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.5;
  font-weight: 700;
}
.rex-fz-h2sec {
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.5;
  font-weight: 700;
}
.rex-fz-h3 {
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.6;
  font-weight: 700;
}
.rex-fz-h3sm {
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.6;
  font-weight: 700;
}
.rex-fz-page-h1 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.5;
  font-weight: 700;
}
.rex-fz-legal-h1 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.6;
  font-weight: 700;
}
.rex-fz-cta {
  font-size: clamp(16px, 2vw, 26px);
  line-height: 1.7;
  font-weight: 700;
}
@media (max-width: 639px) {
  /* CTA帯はflexの子なので、幅を100%にしないと中央寄せが効かない */
  .rex-fz-cta { width: 100%; text-align: center; }
}

/* ==========================================================================
   3. ボタン（.btn の modifier）
   デザイン元データ：角丸なし・1px罫線・テキスト幅に収まる可変幅・ls .04em
   ========================================================================== */

.btn--rex {
  max-width: none;
  width: auto;
  line-height: 1.9;
  border-width: 1px;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.btn--rex-sm { padding: 11px 21px; font-size: 1.4rem; }
.btn--rex-md { padding: 16px 39px; font-size: 1.5rem; }
.btn--rex-lg { padding: 18px 24px; font-size: 1.6rem; letter-spacing: 0.06em; }
.btn--rex-block { width: 100%; }
/* フッターCTA：全幅・13px・padding 14px（デザイン実測 15px/14px を 1px 罫線込みで合わせる） */
.btn--rex-block-sm { width: 100%; padding: 14px 15px; font-size: 1.4rem; }

/* 黒枠・白地（お問い合わせ側） */
.btn--rex-dark {
  background: #fff;
  color: #000;
  border-color: #000;
}
.btn--rex-dark:hover {
  background: #000;
  color: #fff;
  border-color: #000;
  opacity: 1;
}

/* 白地・ブルー文字（SPナビ等の暗い背景上） */
.btn--rex-white {
  background: #fff;
  color: #0060E6;
  border-color: #fff;
}
.btn--rex-white:hover {
  background: #fff;
  color: #0047AC;
  opacity: 0.9;
}

/* MVの大ボタン（btn-circle-arrow--solid の寸法差分。ラベル→丸矢印の順） */
.rex-mv-btn {
  max-width: none;
  width: auto;
  border-radius: 2px;
  padding: 20px 28px 20px 36px;
  gap: 20px;
  box-shadow: 0 10px 24px rgba(0, 96, 230, 0.22);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.rex-mv-btn .btn__label { padding: 0; }
.rex-mv-btn .btn__circle {
  width: 34px;
  height: 34px;
  font-size: 1.5rem;
}
.rex-mv-btn:hover {
  box-shadow: 0 14px 28px rgba(0, 96, 230, 0.28);
  transform: translateY(-2px);
}

/* ==========================================================================
   4. ヘッダー
   デザイン元データ：position:sticky / 白背景 / 下1px罫線 / 可変高（min-height 72px）
   ========================================================================== */

.rex-header.header-bar {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #E3E3E3;
  box-shadow: none;
}
.rex-header__inner {
  max-width: 1200px;
  height: auto;
  min-height: 72px;
  padding: 14px 24px;
  flex-wrap: wrap;
  gap: 16px 24px;
}

/* ロゴ（画像。共通CSSの .header__logo img は height:40px なのでサイズだけ上書き） */
.rex-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.rex-logo img {
  height: 44px;
  width: auto;
  display: block;
}
a.rex-logo { transition: opacity 0.3s ease; }
a.rex-logo:hover { opacity: 0.7; }

.rex-nav {
  flex: 1 1 auto;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-left: 0;
  margin-right: 0;
}
.rex-nav .header__nav-item a { padding: 6px 0; }
.rex-nav__ja {
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  color: #000;
}
.rex-nav__ja--sub {
  font-size: 1.4rem;
  color: #3C3C3C;
}
/* 現在ページ：項目幅いっぱいの下線（共通CSSは20px固定） */
.rex-nav .header__nav-item--current a::after {
  width: 100%;
  left: 0;
  transform: none;
}
.rex-nav .header__nav-item a:hover::after { width: 100%; left: 0; }

.rex-header__right {
  height: auto;
  gap: 10px;
  flex-wrap: wrap;
}

/* SPナビは白背景（共通CSSはブルーのグラデーション＋白文字なので色を戻す） */
.rex-spnav { background: #fff; }
.rex-spnav .sp-nav__item { border-bottom-color: #E3E3E3; }
.rex-spnav .sp-nav__item:first-child { border-top-color: #E3E3E3; }
.rex-spnav .sp-nav__link { color: #000; }
.rex-spnav .sp-nav__link:hover { background: #F2F7FD; }
.rex-spnav__bottom { display: flex; justify-content: center; }

/* 1200〜1319px：ロゴ・ナビ・CTAを詰めて1行に収める */
@media (min-width: 1200px) and (max-width: 1319px) {
  .rex-header__inner { padding: 12px 16px; gap: 12px 16px; }
  .rex-logo img { height: 38px; }
  .rex-nav { gap: 8px 16px; }
  .rex-header__right { gap: 8px; }
  .rex-header__right .btn--rex-sm { padding: 11px 16px; }
  .rex-header__right .btn__icon { display: none; }
}

/* 1199px以下はハンバーガー（共通CSSの $bp_pc と同じ切替点） */
@media (max-width: 1199px) {
  .rex-header__inner {
    min-height: 60px;
    padding: 10px 16px;
  }
  .rex-logo img { height: 40px; }
}

/* ==========================================================================
   5. フッター
   デザイン元データ：白背景 / 上1px罫線 / auto-fit 3カラム / 左寄せコピーライト
   ========================================================================== */

.rex-footer {
  background: #fff;
  border-top: 1px solid #E3E3E3;
}
.rex-footer__body { padding: 0; }
.rex-footer__inner {
  display: grid;
  /* ナビとCTAは内容幅、残りを左カラムに配分（ナビ項目を折返させない） */
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 70px;
  max-width: 1200px;
  padding: 72px 24px 40px;
}
.rex-footer__logo {
  margin-bottom: 20px;
  line-height: 1;
}
.rex-footer__logo img {
  height: 38px;
  width: auto;
  display: block;
}
.rex-footer__info {
  font-size: 1.4rem;
  line-height: 2;
  color: #3C3C3C;
}
.rex-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 14px 40px;
  align-content: start;
  justify-content: start;   /* auto列が余白を吸って離れるのを防ぐ */
}
.rex-footer__nav .footer-body__nav-item a {
  font-size: 1.4rem;
  color: #000;
  white-space: nowrap;
}
.rex-footer__nav .rex-footer__nav-item--sub a { color: #3C3C3C; }
.rex-footer__cta {
  display: grid;
  gap: 12px;
  align-content: start;
  max-width: 300px;
  width: 300px;
  justify-self: end;   /* 右端に寄せて、左のロゴ側と左右の余白を揃える */
}
.rex-footer__note {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
  /* 文章が下に来て重く見えるため、他カラムより少し上に引き上げる */
  margin-top: -32px;
  padding: 16px;
  border: 1px solid #D6E2F2;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.rex-footer__note:hover {
  border-color: #15BAB8;
  box-shadow: 0 4px 16px rgba(0, 39, 39, 0.08);
}
.rex-footer__note-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.rex-footer__note-logo {
  align-self: flex-end;
  width: 56px;
  height: auto;
  margin-top: auto;
}
.rex-footer__note-avatar {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.rex-footer__note-name {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
  color: #002727;
}
.rex-footer__note-bio {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #3C3C3C;
}
.rex-footer__note:hover .rex-footer__note-name { text-decoration: underline; }

.rex-footer__bottom {
  padding: 0;
  text-align: center;
}
.rex-footer__bottom .container {
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid #D6E2F2;
}
.rex-footer__copyright {
  display: block;
  font-family: Archivo, system-ui, sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: #767676;
}

@media (max-width: 896px) {
  .rex-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .rex-footer__cta { justify-self: start; }
  /* 1カラム時はネガティブマージンで前の要素と重なるため打ち消す */
  .rex-footer__note { margin-top: 0; }
}
@media (max-width: 639px) {
  .rex-footer__inner { gap: 32px; padding: 48px 24px 32px; }
  .rex-footer__nav { gap: 12px 24px; }
}

/* ==========================================================================
   6. 共通セクション部品
   ========================================================================== */

/* 下線付きインライン見出し（REXとは／特徴） */
.rex-label { margin: 0 0 20px; text-align: center; }
.rex-label__inner {
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 2px solid #0060E6;
}

/* 蛍光マーカー（デザイン実測：#CFE1F8 / 62% から） */
.marker--rex {
  background: linear-gradient(transparent 62%, #CFE1F8 62%);
}

/* 角丸パネル */
.rex-panel {
  background: #F2F7FD;
  border-radius: 16px;
  padding: 40px 32px;
}
.rex-panel--flat {
  border-radius: 6px;
  text-align: center;
}
.rex-panel--gray {
  background: #F7F9FB;
  border-radius: 6px;
  padding: 56px;
}

/* センター寄せリード文（下余白は .rex-mb-* で指定する） */
.rex-lead-text {
  text-wrap: pretty;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.6rem;
  line-height: 2;
  color: #3C3C3C;
  text-align: center;
}
@media (max-width: 639px) {
  .rex-lead-text {
    font-size: 1.4rem;
    text-align: center;
  }
}
/* -- modifier: ブルーの強調リード（機能ページのセクション説明） */
.rex-lead-text--base {
  color: #0060E6;
  font-weight: 700;
  line-height: 1.9;
}
@media (max-width: 639px) {
  .rex-lead-text--base { text-align: left; }
}

@media (max-width: 639px) {
  .rex-panel { padding: 28px 20px; }
  .rex-panel--gray { padding: 28px 20px; }
}

/* 背景写真セクション（MV・お客様の声・CTA帯で共用。画像URLはHTML側で指定） */
.rex-bgphoto {
  background-color: #F2F7FD;
  background-size: cover;
  background-position: center;
}
/* -- modifier: 背景写真を下端基準で表示 */
.rex-bgphoto--bottom { background-position: bottom; }

/* 背景写真を白50%で薄める（画像URLはHTMLのインライン指定なので疑似要素で重ねる）
   共通CSSの .bg-overlay（子要素の重なり順まで面倒を見てくれる）に色だけ足す modifier */
.bg-overlay--rex-fade::before { background: rgba(255, 255, 255, 0.5); }

/* センター寄せの本文ブロック（下余白は .rex-mb-* で指定する） */
.rex-about__copy { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   7. メインビュー
   ========================================================================== */
.rex-mv__grid {
  display: grid;
  grid-template-columns: minmax(min(100%, 360px), 0.85fr) minmax(min(100%, 360px), 1.15fr);
  gap: 40px;
  align-items: center;
}
.rex-mv__h1 { margin: 0; }
.rex-mv__lead { margin: 24px 0 0; color: #0060E6; }
.rex-mv__desc {
  margin: 24px 0 0;
  text-wrap: pretty;
  font-size: 1.6rem;
  line-height: 2;
  color: #3C3C3C;
}
@media (max-width: 639px) {
  .rex-mv__desc { font-size: 1.3rem; }
}
/* MVのボタンはPCは左寄せ、SPのみ中央 */
.rex-mv__btn { text-align: left; }
@media (max-width: 639px) {
  .rex-mv__btn { text-align: center; }
}

.rex-mv__visual {
  display: flex;
  justify-content: flex-end;
  margin-right: -40px;
}
.rex-mv__visual img {
  width: calc(112% - 50px);
  max-width: none;
  display: block;
}

/* container が全幅になる 1200px 以下では、右へのはみ出しを止める */
@media (max-width: 1200px) {
  .rex-mv__visual { margin-right: 0; }
  .rex-mv__visual img { width: 100%; }
}

/* 768〜1200px：PCの2カラムレイアウトを維持したまま縮小する（縦積みにしない） */
@media (min-width: 768px) and (max-width: 1200px) {
  .rex-mv__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 24px;
  }
  .rex-mv__h1   { font-size: clamp(22px, 2.6vw, 34px); }
  .rex-mv__lead { font-size: clamp(15px, 1.6vw, 18px); margin-top: 18px; }
  .rex-mv__desc { margin-top: 18px; font-size: 1.4rem; }
  .rex-mv__btn  { margin-top: 24px; }
  .rex-mv-btn {
    padding: 16px 22px 16px 28px;
    gap: 14px;
    font-size: 1.4rem;
  }
  .rex-mv-btn .btn__circle { width: 28px; height: 28px; font-size: 1.2rem; }
}
/* 縦積みになったら「大キャッチ＋青キャッチ → 画像 → 本文 → ボタン」の順に並べ替える。
   .rex-mv__copy を display:contents にして、子要素を直接グリッドの行にする */
@media (max-width: 767px) {
  .rex-mv__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;   /* 間隔は各要素の margin で作る */
  }
  .rex-mv__copy   { display: contents; }
  .rex-mv__h1     { order: 1; }
  .rex-mv__lead   { order: 2; }
  .rex-mv__visual { order: 3; justify-content: center; margin: 32px 0 0; }
  .rex-mv__desc   { order: 4; margin-top: 32px; }
  .rex-mv__btn    { order: 5; }
  /* 全幅1カラムだと画像が大きくなりすぎるので上限を付ける */
  .rex-mv__visual img { max-width: 520px; }
}
@media (max-width: 480px) {
  .rex-mv__h1 { font-size: 26px; }
}

/* ==========================================================================
   8. REXとは（データ → REX → アウトプット の流れ図）
   ========================================================================== */

.rex-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  word-break: keep-all;
}
.rex-flow__col { min-width: 0; }

/* 入力データ列 */
.rex-flow__col--in {
  flex: 4 1 195px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-content: start;
}
.rex-flow__badge {
  position: relative;
  margin-bottom: 12px;
  padding: 18px 20px;
  background: #000;
  color: #fff;
  border-radius: 10px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: normal;
}
.rex-flow__badge::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 10px solid #000;
}
.rex-flow__badge-lg {
  font-size: 1.9rem;
  letter-spacing: 0.02em;
}
.rex-flow__badge-num {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 2.3rem;
  font-weight: 600;
}
.rex-flow__box {
  position: relative;
  min-width: 0;
  border: 1.5px solid #4A5A6A;
  border-radius: 10px;
  padding: 26px 16px 16px;
}
.rex-flow__box-label {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 10px;
  background: #F2F7FD;
  font-size: 1.4rem;
  font-weight: 700;
  white-space: nowrap;
}
.rex-flow__cells {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.rex-flow__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 13px 4px;
  background: #fff;
  border-radius: 6px;
  font-size: 1.3rem;   /* 枠が狭いため floor(1.4rem) の例外 */
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}
.rex-flow__cell--sm { font-size: 1.3rem; }

/* 矢印 */
.rex-flow__arrow {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  color: #000;
  font-size: 2rem;
  line-height: 1;
}

/* REX 本体 */
.rex-flow__col--rex {
  flex: 2 1 140px;
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.rex-flow__rexbox {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 180px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  justify-items: center;
  align-content: center;
  padding: 20px 16px;
  background: #fff;
  border: 1px solid #D6E2F2;
  border-radius: 10px;
  text-align: center;
}
.rex-flow__rexlogo {
  height: 40px;
  width: auto;
  display: block;
}
.rex-flow__rexicon {
  color: #8FB6E8;
  font-size: 2.2rem;
  line-height: 1;
}
.rex-flow__rextxt {
  font-size: 1.3rem;   /* 枠が狭いため floor(1.4rem) の例外（セルと同じ扱い） */
  font-weight: 700;
  line-height: 1.9;
  word-break: keep-all;
}

/* アウトプット（2タイプ） */
.rex-flow__col--out {
  flex: 5 1 215px;
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.rex-flow__outlist {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-content: start;
}
.rex-flow__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #D6E2F2;
  border-radius: 10px;
  justify-items: center;
  text-align: center;
}
.rex-flow__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  word-break: keep-all;
  white-space: nowrap;
}
.rex-flow__card-note {
  color: #3C3C3C;
  font-size: 1.4rem;
}
.rex-flow__figure {
  position: relative;
  width: 100%;
  max-width: 130px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rex-flow__figure::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: #F2F7FD;
}
.rex-flow__figure img {
  position: relative;
  width: 112%;
  max-width: none;
  object-fit: contain;
  display: block;
}

/* 円滑なコミュニケーション */
.rex-flow__col--comm {
  flex: 4 1 210px;
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.rex-flow__commbox {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 320px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  justify-items: center;
  align-content: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #D6E2F2;
  border-radius: 10px;
}
.rex-flow__commtitle {
  max-width: 100%;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: normal;
}
.rex-flow__figure--lg { max-width: 180px; }
.rex-flow__figure--lg::before { inset: 12%; background: #F2F7FD; }
.rex-flow__figure--lg img { width: 118%; }

/* SP：流れ図を縦積みにして矢印を下向きに回す */
@media (max-width: 896px) {
  .rex-flow { flex-direction: column; }
  .rex-flow__col { flex: none; width: 100%; }
  .rex-flow__col--rex,
  .rex-flow__col--out,
  .rex-flow__col--comm { flex-direction: column; }
  .rex-flow__arrow {
    justify-content: center;
    margin: 0 auto;
    transform: rotate(90deg);
    padding: 4px 0;
  }
  .rex-flow__commbox { max-width: none; }
}

/* ==========================================================================
   9. お客様の声
   ========================================================================== */

.rex-voice {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  background: #fff;
  border: 1px solid #E3E3E3;
  border-radius: 20px;
  padding: 36px 32px;
}
.rex-voice__head {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #E3E3E3;
}
.rex-voice__avatar {
  width: 48px;
  height: 48px;
  flex: none;
  background: #F2F7FD;
  border: 1px solid #E3E3E3;
  color: #0060E6;
  font-size: 2rem;
}
.rex-voice__meta {
  font-size: 1.4rem;
  color: #767676;
  line-height: 1.8;
}
.rex-voice__role {
  color: #000;
  font-weight: 700;
}
.rex-voice__text {
  margin: 20px 0 0;
  font-size: 1.6rem;
  line-height: 2.1;
  color: #3C3C3C;
  align-self: start;
}

@media (max-width: 639px) {
  .rex-voice { padding: 28px 22px; }
}

/* ==========================================================================
   10. 特徴（左テキスト＋右リスト／画像）
   ========================================================================== */

.rex-feat {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  background: #F7F9FB;
  border-radius: 6px;
  padding: 56px;
}
.rex-feat__body {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 34em;
}
.rex-feat__num {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 2.3rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #0060E6;
  margin-bottom: 14px;
}
.rex-feat__title { margin: 0 0 24px; text-wrap: pretty; }
.rex-feat__text {
  margin: 0;
  text-wrap: pretty;
  font-size: 1.5rem;
  line-height: 2.1;
  color: #3C3C3C;
}
.rex-feat__side {
  flex: 1 1 280px;
  min-width: 0;
  max-width: 460px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.rex-feat__img {
  flex: 1 1 280px;
  max-width: 460px;
  min-width: 0;
  width: 100%;
  display: block;
  border-radius: 4px;
}

.rex-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  color: #000;
  border: 1px solid #0060E6;
  border-radius: 4px;
  padding: 22px 20px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.7;
}
.rex-check__icon {
  flex: none;
  width: 18px;
  text-align: center;
  margin-top: 4px;
  color: #0060E6;
  font-size: 1.6rem;
}
.rex-check__text { min-width: 0; text-wrap: pretty; }

@media (max-width: 639px) {
  .rex-feat { padding: 32px 20px; gap: 32px; }
}

/* ==========================================================================
   11. 機能ページ
   ========================================================================== */

/* 白カード（機能概要） */
.rex-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #E3E3E3;
  border-radius: 6px;
  padding: 36px 32px;
}
.rex-card__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
/* 見出しを下の詳細セクションへのアンカーにする（丸矢印付き） */
.rex-card__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}
.rex-card__link .rex-card__arrow {
  width: 30px;
  height: 30px;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}
.rex-card__link:hover {
  color: #0060E6;
  opacity: 1;
}
.rex-card__link:hover .rex-card__arrow {
  background: #0047AC;
  transform: translateX(3px);
}
.rex-card__text {
  margin: 0;
  text-wrap: pretty;
  font-size: 1.5rem;
  line-height: 2.1;
  color: #3C3C3C;
}
@media (max-width: 639px) {
  /* パネルの text-align:center を打ち消して左揃えにする */
  .rex-card__text { text-align: left; font-size: 1.4rem; }
}

/* 番号付き罫線リスト */
.rex-numitem {
  border-top: 1px solid #E3E3E3;
  padding: 28px 0;
}
.rex-numitem__head {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 12px;
}
@media (max-width: 639px) {
  /* SPは番号を見出しの上に置く1カラム */
  .rex-numitem__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
.rex-numitem__num {
  flex: none;
  font-family: Archivo, system-ui, sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #0060E6;
}
.rex-numitem__title { margin: 0; text-wrap: pretty; }
.rex-numitem__text {
  margin: 0;
  text-wrap: pretty;
  font-size: 1.5rem;
  line-height: 2.1;
  color: #3C3C3C;
}

/* Fact / Why / Action（1px の隙間を罫線に見せる3分割） */
.rex-fwa {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1px;
  background: #E3E3E3;
  border: 1px solid #E3E3E3;
  margin-bottom: 4px;
}
.rex-fwa__item {
  min-width: 0;
  background: #fff;
  padding: 24px 22px;
}
.rex-fwa__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0060E6;
}
.rex-fwa__text {
  margin: 0;
  text-wrap: pretty;
  font-size: 1.4rem;
  line-height: 2;
  color: #3C3C3C;
}

/* リスクタイプの青枠カード */
.rex-typecard {
  min-width: 0;
  background: #fff;
  border: 1px solid #0060E6;
  border-radius: 4px;
  padding: 24px 22px;
}
.rex-typecard__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.rex-typecard__text {
  margin: 0;
  text-wrap: pretty;
  font-size: 1.4rem;
  line-height: 2;
  color: #3C3C3C;
}

/* 支給素材待ちの写真プレースホルダ */
.rex-photo-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  aspect-ratio: 16 / 10;
  padding: 16px;
  background: #fff;
  border: 1px solid #E3E3E3;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.8;
  color: #9A9A9A;
}

/* CTA帯 */
.rex-ctaband__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.rex-ctaband__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 639px) {
  /* SPは2つ横並び。文字・余白を詰めて2列に収める */
  .rex-ctaband__btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .rex-ctaband__btns .btn {
    width: 100%;
    padding: 13px 4px;
    font-size: 1.4rem;
    letter-spacing: 0;
  }
  .rex-ctaband__btns .btn__icon { margin-right: 0.35em; font-size: 1em; }
}
@media (max-width: 639px) {
  .rex-card { padding: 28px 22px; }
}

/* ==========================================================================
   12. お問い合わせフォーム
   ========================================================================== */

/* CMSフォーム（cms_ajax / form-pattern-1）
   CMS側のCSS（mail-form.css）は body 内に後から挿入されるため、
   同じセレクタに .rex-form-cms を前置して詳細度で上書きする */
.rex-form-cms {
  max-width: 720px;
  margin: 0 auto;
}
.rex-form-cms .form-contents { padding: 0; }

/* dt/dd の2カラムをやめ「ラベル上・入力下」の縦積みにする（デザイン踏襲） */
.rex-form-cms .form-contents form dl { margin-bottom: 0; }
.rex-form-cms .form-contents form dl dt:not(.pattern-exclusion) {
  float: none;
  width: auto;
  padding-top: 0;
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 700;
}
.rex-form-cms .form-contents form dl dd:not(.pattern-exclusion) {
  padding: 0 0 24px;
  margin: 0;
  line-height: 1.9;
}
.rex-form-cms .form-pattern-1 dl dd:not(.pattern-exclusion) { border-bottom: none; }

/* 必須／任意バッジをブルー基調に */
.rex-form-cms .form-pattern-1 dl dt:not(.pattern-exclusion) span::before {
  padding: 1px 7px;
  margin-right: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 0;
  top: -1px;
}
.rex-form-cms .form-pattern-1 dl dt:not(.pattern-exclusion) span.required::before { background: #0060E6; }
.rex-form-cms .form-pattern-1 dl dt:not(.pattern-exclusion) span.optional::before { background: #C9C9C9; }

/* 入力欄：白地・1px #C9C9C9・角丸なし・高さ48px */
.rex-form-cms .form-contents dd:not(.pattern-exclusion) input.textarea { height: 48px; }
.rex-form-cms .form-contents dd:not(.pattern-exclusion) .textarea {
  padding: 0 16px;
  font-size: 1.5rem;
  font-family: inherit;
  color: #000;
}
.rex-form-cms .form-pattern-1 dd:not(.pattern-exclusion) .textarea {
  background: #fff;
  border: 1px solid #C9C9C9;
  border-radius: 0;
}
.rex-form-cms .form-contents dd:not(.pattern-exclusion) textarea.textarea {
  height: 140px;
  padding: 14px 16px;
  line-height: 1.9;
}
.rex-form-cms .form-contents dd:not(.pattern-exclusion) .textarea:focus {
  border-color: #0060E6;
  outline: none;
}

/* ラジオ（お問い合わせ種別） */
.rex-form-cms .form-contents form dl dd:not(.pattern-exclusion) label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 24px;
  font-size: 1.5rem;
  cursor: pointer;
}
.rex-form-cms .form-contents form dl dd:not(.pattern-exclusion) input.radio {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #0060E6;
}

/* 送信ボタン：全幅のブルー */
.rex-form-cms .form-contents .submit-btn {
  width: 100%;
  padding: 18px 24px;
  margin: 8px 0 0;
}
.rex-form-cms .form-contents :not(.pattern-exclusion) button {
  width: 100%;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.9;
  border-radius: 0;
}
.rex-form-cms .form-pattern-1 .submit-btn {
  background: #0060E6;
  border: 1px solid #0060E6;
  color: #fff;
}
.rex-form-cms .form-pattern-1 .submit-btn:hover {
  background: #0047AC;
  border-color: #0047AC;
}
.rex-form-cms .form-contents .submit-btn::before { background-color: #fff; }

/* サンクス／エラー表示もサイトの配色に寄せる */
.rex-form-cms .form-pattern-1 .form-thanks-msg { border-color: #E3E3E3; }
.rex-form-cms .form-pattern-1 .form-thanks-msg .back-home-btn a {
  background: #0060E6;
  border-color: #0060E6;
  border-radius: 0;
}
.rex-form-cms .form-pattern-1 .form-thanks-msg .back-home-btn a:hover { background: #0047AC; }

.rex-form {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.rex-form__label {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.rex-form__req {
  color: #0060E6;
  margin-left: 8px;
  font-size: 1.4rem;
}

/* 種別のセグメント切替（ラジオを2分割ボタンで見せる） */
.rex-form__seg {
  display: flex;
  border: 1px solid #E3E3E3;
}
.rex-form__seg input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.rex-form__seg label {
  flex: 1;
  padding: 14px;
  text-align: center;
  font-size: 1.5rem;
  background: #fff;
  color: #3C3C3C;
  cursor: pointer;
  transition: all 0.3s ease;
}
.rex-form__seg input:checked + label {
  background: #0060E6;
  color: #fff;
  font-weight: 700;
}
.rex-form__seg input:focus-visible + label {
  outline: 2px solid #0047AC;
  outline-offset: -2px;
}

/* 入力欄（デザイン：白地・1px #C9C9C9・角丸なし・高さ48px）
   background ではなく background-color で指定する（form-select の矢印画像を残す） */
.form-input--rex {
  display: block;
  background-color: #fff;
  border: 1px solid #C9C9C9;
  border-radius: 0;
  height: 48px;
  padding: 0 16px;
  font-size: 1.5rem;
}
.form-input--rex:focus { border-color: #0060E6; }
textarea.form-input--rex {
  height: 140px;
  padding: 14px 16px;
  line-height: 1.9;
}
select.form-input--rex {
  cursor: pointer;
  padding-right: 40px;
  background-position: right 14px center;
}

.rex-form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 1.4rem;
  color: #3C3C3C;
}
.rex-form__consent input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  accent-color: #0060E6;
}
.rex-form__consent a:hover { text-decoration: underline; opacity: 1; }

/* ==========================================================================
   13. ポリシー3ページ
   ========================================================================== */

.rex-legal__intro {
  text-wrap: pretty;
  overflow-wrap: anywhere;
  margin: 0 0 48px;
  font-size: 1.5rem;
  line-height: 2.2;
  color: #3C3C3C;
  white-space: pre-line;
}
.rex-legal__item {
  border-top: 1px solid #E3E3E3;
  padding: 32px 0;
}
/* -- modifier: 番号（1.〜9.）を本文の横に置く。番号だけが行を占めないようにする */
.rex-legal__item--num {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.rex-legal__num {
  flex: none;
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rex-legal__h {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 14px;
}
.rex-legal__b {
  text-wrap: pretty;
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 1.5rem;
  line-height: 2.2;
  color: #3C3C3C;
  white-space: pre-line;
}
.rex-legal__foot {
  overflow-wrap: anywhere;
  border-top: 1px solid #E3E3E3;
  margin-top: 8px;
  padding-top: 32px;
  font-size: 1.5rem;
  line-height: 2.2;
  color: #3C3C3C;
  white-space: pre-line;
}

/* ==========================================================================
   13b. SP固定CTAバー（tablet以下で表示。フッターのCTAボタンと入れ替え）
   ========================================================================== */

.rex-spbar {
  gap: 8px;
  padding: 8px 10px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  border-top: 1px solid #E3E3E3;
}
.rex-spbar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 4px;
  background: #0060E6;
  color: #fff;
  border: 1px solid #0060E6;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.rex-spbar__link:hover { background: #0047AC; border-color: #0047AC; color: #fff; }
.rex-spbar__link--sub { background: #fff; color: #000; border-color: #000; }
.rex-spbar__link--sub:hover { background: #000; border-color: #000; color: #fff; }

/* 固定バーが出る幅では、フッターのCTAボタンを消し、下端に高さ分の余白を足す */
@media (max-width: 896px) {
  .rex-footer__cta { display: none; }
  .rex-footer__bottom .container { padding-bottom: 80px; }
  .page-top { bottom: 80px; }
}

/* ==========================================================================
   14. アンカー位置（sticky ヘッダー分のオフセット）
   ========================================================================== */

#contact,
#analysis-org,
#analysis-personal { scroll-margin-top: 80px; }

/* ==========================================================================
   15. utility 補完（値の粒度不足）
   共通CSSと同じ思想で「最後に読み込む」＝コンポーネントの値を上書きできる位置に置く
   ========================================================================== */

.rex-fz-19 { font-size: 1.9rem; }
.rex-fz-23 { font-size: 2.3rem; }
.rex-fz-26 { font-size: 2.6rem; }

.rex-lh-15 { line-height: 1.5; }
.rex-lh-17 { line-height: 1.7; }
.rex-lh-19 { line-height: 1.9; }
.rex-lh-21 { line-height: 2.1; }
.rex-lh-22 { line-height: 2.2; }

.rex-ls-01 { letter-spacing: 0.01em; }
.rex-ls-04 { letter-spacing: 0.04em; }
.rex-ls-06 { letter-spacing: 0.06em; }
.rex-ls-08 { letter-spacing: 0.08em; }
.rex-ls-16 { letter-spacing: 0.16em; }
.rex-ls-tightest { letter-spacing: -0.01em; }

.rex-text-mute  { color: #767676; }
.rex-text-faint { color: #9A9A9A; }

.rex-pt-72 { padding-top: 72px; }
.rex-pb-72 { padding-bottom: 72px; }
.rex-pt-88 { padding-top: 88px; }
.rex-pb-88 { padding-bottom: 88px; }

.rex-mt-24 { margin-top: 24px; }
.rex-mt-48 { margin-top: 48px; }
.rex-mt-64 { margin-top: 64px; }
.rex-mb-4  { margin-bottom: 4px; }
.rex-mb-12 { margin-bottom: 12px; }
.rex-mb-16 { margin-bottom: 16px; }
.rex-mb-24 { margin-bottom: 24px; }
.rex-mb-48 { margin-bottom: 48px; }
.rex-mb-56 { margin-bottom: 56px; }
.rex-mb-64 { margin-bottom: 64px; }

.rex-mw-26em { max-width: 26em; }
.rex-mw-34em { max-width: 34em; }
.rex-mw-38em { max-width: 38em; }
.rex-mw-40em { max-width: 40em; }
.rex-mw-46em { max-width: 46em; }

.rex-keep-all  { word-break: keep-all; }
.rex-nowrap-pc { white-space: nowrap; }
/* SPのみ有効な改行（PCでは無視される） */
.rex-br-sp { display: none; }
/* PCのみ有効な改行（SPでは詰めて表示する） */
.rex-br-pc { display: inline; }
@media (max-width: 639px) {
  .rex-br-sp { display: inline; }
  .rex-br-pc { display: none; }
}
@media (max-width: 639px) {
  /* SPでは折返しを許可する（nowrap のまま横あふれさせない） */
  .rex-nowrap-pc { white-space: normal; }
}

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

/* auto-fit minmax グリッド（幅に応じて列が落ちるデザイン元データの挙動） */
.rex-grid-auto200,
.rex-grid-auto240,
.rex-grid-auto260,
.rex-grid-auto300,
.rex-grid-auto320 { display: grid; }
.rex-grid-auto200 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.rex-grid-auto240 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.rex-grid-auto260 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.rex-grid-auto300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.rex-grid-auto320 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }

/* gap の上書き（grid-auto 系のデフォルト gap より後に置く） */
.rex-gap-24 { gap: 24px; }
