/* =====================================================================
   Revive コンポーネント共通CSS（Figma忠実版）
   header.php の :root（--revive-red 等）を前提とする。
   右上カーブ（Radius 40）は .rv-corner-tr として共通化。
   矢印は絵文字(▶)ではなくCSSで描画（wp-emoji変換を回避）。
   ===================================================================== */

:root {
  --revive-red: #d7000f;
  --revive-red-dark: #a52822;
  --revive-text: #333;
  --rv-corner: 40px;              /* Figma: 右上カーブ Radius 40 */
}

/* ---------- フォント基本（Hiragino Kaku Gothic ProN） ---------- */
body,
.rv-font-base {
  font-family: "Hiragino Kaku Gothic ProN", "\30D2\30E9\30AE\30CE\89D2\30B4 ProN W3",
    "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--revive-text);
}

/* ---------- レイアウト ---------- */
.rv-container { max-width: 1200px; margin: 0 auto; }
.rv-container2 { max-width: 900px; margin: 0 auto; }
.rv-section { padding: 42px 24px; }
.rv-section--white { background: #fff; }
.rv-section--gray  { background: #f7f7f7; }
.rv-section--red   { background: var(--revive-red); }

/* ---------- WordPress デフォルトテンプレ（index / page / single） ---------- */
.rv-wp-list { display: flex; flex-direction: column; gap: 24px; }
.rv-wp-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}
.rv-wp-card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.rv-wp-card__title { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.rv-wp-card__title a { color: var(--revive-text); text-decoration: none; transition: color 0.2s ease; }
.rv-wp-card__title a:hover { color: var(--revive-red); }
.rv-wp-card__date { font-size: 12px; color: #999; margin: 0 0 12px; }
.rv-wp-card__excerpt { font-size: 14px; color: #666; line-height: 1.7; }
.rv-wp-card__more {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--revive-red);
  text-decoration: underline;
}
.rv-wp-card__more:hover { opacity: 0.85; }
.rv-wp-empty { font-size: 14px; color: #999; margin: 0; }
.rv-wp-pagination { margin-top: 40px; }
.rv-wp-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.rv-wp-pagination .page-numbers {
  display: inline-block;
  min-width: 36px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: var(--revive-text);
  text-decoration: none;
  text-align: center;
}
.rv-wp-pagination .page-numbers.current {
  background: var(--revive-red);
  border-color: var(--revive-red);
  color: #fff;
}
.rv-wp-pagination .page-numbers:hover:not(.current) {
  border-color: var(--revive-red);
  color: var(--revive-red);
}
.rv-wp-article {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.rv-wp-article__head {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}
.rv-wp-article__title { font-size: 28px; font-weight: 700; margin: 0 0 8px; color: var(--revive-text); line-height: 1.4; }
.rv-wp-article__date { font-size: 12px; color: #999; margin: 0; }

/* ---------- 共通：右上カーブ（Radius 40） ---------- */
.rv-corner-tr { border-radius: 0 var(--rv-corner) 0 0; }

/* ===== 見出しブロック（赤アンダーライン付き・中央 / 左寄せ） ===== */
.rv-heading { text-align: center; }
.rv-heading--left { text-align: left; }
.rv-heading__label {
  display: block; font-size: 13px; letter-spacing: 0.4em;
  color: var(--revive-red); font-weight: 600; text-transform: uppercase; margin-bottom: 10px;
}
.rv-heading__title {
  display: block; font-size: 32px; font-weight: 700; margin: 0;
  color: var(--revive-red); padding-bottom: 16px; position: relative;
}
.rv-heading__title::after {
  content: ""; position: absolute; bottom: 0; height: 2px; background: var(--revive-red);
  left: 50%; transform: translateX(-50%); width: 100%; max-width: 420px;
}
.rv-heading--left .rv-heading__title::after { left: 0; transform: none; }
.rv-heading__sub {
  display: block; font-size: 16px; font-weight: 700; margin-top: 14px; color: var(--revive-red);
}
/* 旧クラス（既存TOPで使用中のため残す） */
.rv-section-label { font-size: 12px; letter-spacing: 0.2em; color: var(--revive-red); font-weight: 600; text-transform: uppercase; }
.rv-section-title { font-size: 28px; font-weight: 700; margin: 8px 0 12px; }

/* ===== CTAボタン（矢印はCSS描画・絵文字回避） ===== */
.rv-btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--revive-red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 16px 24px 16px 34px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s, color .2s;
  min-width: 200px;
  line-height: 1;
}
.rv-btn-red:hover { background: var(--revive-red-dark); color: #fff; }
.rv-btn-red--outline { background: #fff; color: var(--revive-red); border: 2px solid var(--revive-red); }
.rv-btn-red--outline:hover { background: var(--revive-red); color: #fff; }
.rv-btn-red--lg { font-size: 16px; padding: 16px 18px 16px 32px; min-width: 240px; }
.rv-btn-red--sm { font-size: 13px; padding: 8px 10px 8px 16px; min-width: 160px; }
.rv-btn-red__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 2px; flex: 0 0 auto;
}
.rv-btn-red__arrow::before {
  content: ""; display: block; width: 0; height: 0; border-style: solid;
  border-width: 4px 0 4px 6px; border-color: transparent transparent transparent #fff;
}
.rv-btn-red--outline .rv-btn-red__arrow { border-color: var(--revive-red); }
.rv-btn-red--outline .rv-btn-red__arrow::before { border-left-color: var(--revive-red); }
.rv-btn-red--outline:hover .rv-btn-red__arrow { border-color: #fff; }
.rv-btn-red--outline:hover .rv-btn-red__arrow::before { border-left-color: #fff; }

/* ---------- グリッド ---------- */
.rv-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.rv-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rv-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rv-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* ===== お悩みから症状を探す カード（画像上・テキスト下・中央寄せ） ===== */
.rv-card { display: block; border: 1px solid #eee; border-radius: 0 30px 0 0; overflow: hidden; background: #fff; text-decoration: none; }
/* 施術メニュー等のリンクカード：症状カードと同様のホバードロップシャドウ */
a.rv-card {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
a.rv-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-color: #ddd;
}
.rv-card__thumb { width: 100%; height: 200px; object-fit: cover; display: block; background: #efefef; }
.rv-card__body { padding: 20px 16px; }
.rv-card__title { font-size: 16px; font-weight: 700; color: var(--revive-text); margin: 0 0 6px; }
.rv-card__text  { font-size: 13px; line-height: 1.8; color: #888; margin: 0; }
.rv-card--worry { text-align: center; }
.rv-card--worry .rv-card__thumb { height: 220px; }
.rv-card__title--underline { padding-bottom: 6px; border-bottom: 2px solid var(--revive-red); display: inline-block; }

/* お悩みカード（横長・左テキスト＋赤下線見出し・右写真）Figma準拠 */
.rv-worry-card { display: flex; align-items: stretch; gap: 20px; border: 1px solid #e5e5e5; border-radius: 0 30px 0 0; background: #fff; padding: 24px; text-decoration: none; }
.rv-worry-card__main { flex: 1; min-width: 0; }
.rv-worry-card__title { font-size: 18px; font-weight: 700; color: var(--revive-text); margin: 0 0 10px; padding-bottom: 10px; border-bottom: 2px solid var(--revive-red); }
.rv-worry-card__text { font-size: 14px; line-height: 1.9; color: #666; margin: 0; }
.rv-worry-card__thumb { width: 140px; height: 120px; flex: 0 0 auto; background: #ececec; border-radius: 4px; object-fit: cover; object-position: center; display: block; }
.rv-card__icon { width: 64px; height: 64px; border-radius: 50%; background: #efefef; flex: 0 0 auto; }
.rv-card--horizontal .rv-card__body { display: flex; align-items: center; gap: 16px; }
.rv-card--horizontal .rv-card__main { flex: 1; min-width: 0; }
.rv-card--horizontal .rv-card__thumb { width: 96px; height: 72px; border-radius: 4px; flex: 0 0 auto; }
.rv-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--revive-red); margin-top: 4px; }
/* 健康コラムカード（施術メニュー .rv-card ベース） */
.rv-card--column .rv-card__body { display: flex; flex-direction: column; min-height: 120px; }
.rv-card--column .rv-card__meta { font-size: 12px; color: #888; margin: 0 0 10px; }
.rv-card--column .rv-card__title { margin: 0; flex: 1; font-size: 15px; line-height: 1.6; }
.rv-card--column .rv-card__link { align-self: flex-end; margin-top: 12px; padding-bottom: 3px; border-bottom: 1px solid var(--revive-red); }
/* テキストリンク用の赤三角矢印（枠なし・白背景の場所で使う） */
.rv-link-arrow { display: inline-block; width: 0; height: 0; border-style: solid; border-width: 4px 0 4px 6px; border-color: transparent transparent transparent var(--revive-red); flex: 0 0 auto; }
/* 枠なし白三角（赤背景ボタンで使う） */
.rv-link-arrow--white { border-left-color: #fff; margin-left: 10px; }

/* ===== リバイブメソッド（右上Radius40の白カード・2トーン） ===== */
.rv-method-wrap { background: var(--revive-red); padding: 40px; }
.rv-method-card { background: #fff; border-radius: 0 var(--rv-corner) 0 0; overflow: hidden; max-width: 320px; }
.rv-method-card__visual { background: #efefef; height: 150px; border-radius: 0 var(--rv-corner) 0 0; }
.rv-method-card__body { background: #fff; text-align: center; padding: 18px 16px 22px; }
.rv-method-card__num { display: inline-block; background: var(--revive-red); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 2px; margin-bottom: 10px; }
.rv-method-card__title { color: var(--revive-red); font-size: 18px; font-weight: 700; margin: 0; letter-spacing: 0.08em; }
.rv-method { display: flex; align-items: center; gap: 20px; background: var(--revive-red); }
.rv-method__num { font-size: 14px; color: var(--revive-red); background: #fff; padding: 2px 8px; border-radius: 2px; font-weight: 700; }

/* ===== 実績ブロック（円形・2列/3列） ===== */
.rv-achievement { aspect-ratio: 1 / 1; border-radius: 50%; background: var(--revive-red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.rv-achievement__label { font-size: 13px; }
.rv-achievement__num { font-size: 48px; font-weight: 700; line-height: 1; }
.rv-achievement__unit { font-size: 14px; }
.rv-achievement-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 520px; }
.rv-achievement-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 640px; }
.rv-achievement-grid-2 .rv-achievement__num { font-size: 56px; }

/* ===== 患者様の声カード（2種・右上Radius40・赤枠） ===== */
.rv-voice-card { border: 1px solid var(--revive-red); border-radius: 0 var(--rv-corner) 0 0; padding: 24px; background: #fff; position: relative; overflow: hidden; }
.rv-voice-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--revive-red); font-size: 12px; text-decoration: underline; font-weight: 600; }
.rv-voice-card__more-arrow { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border: 1px solid var(--revive-red); border-radius: 2px; flex: 0 0 auto; }
.rv-voice-card__more-arrow::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 3px 0 3px 5px; border-color: transparent transparent transparent var(--revive-red); }
.rv-voice-card__foot { text-align: right; margin-top: 12px; }
.rv-voice-card__text { font-size: 13px; line-height: 1.9; color: var(--revive-text); margin: 0; }
.rv-voice-card__text .is-red { color: var(--revive-red); }
/* デザイン1（画像あり） */
.rv-voice-card--photo { padding: 0 0 20px; }
.rv-voice-card--photo .rv-voice-card__head { display: flex; align-items: flex-start; justify-content: space-between; margin: 0 0 16px; }
.rv-voice-card__avatar { width: 84px; height: 84px; border-radius: 50%; background: #ececec; flex: 0 0 auto; margin: 24px 0 0 24px; }
.rv-voice-card__badge { background: var(--revive-red); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.5; padding: 16px 24px 16px 44px; text-align: center; align-self: flex-start; border-radius: 0 var(--rv-corner) 0 0; clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%); }
.rv-voice-card--photo .rv-voice-card__body { padding: 0 24px 8px; }
/* デザイン2（画像なし） */
.rv-voice-card__attr { display: block; color: var(--revive-red); font-weight: 700; font-size: 16px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid #ddd; }

/* ===== ニュース一覧のリスト表示 ===== */
.rv-news-list { list-style: none; margin: 0; padding: 0; }
.rv-news-item { display: flex; align-items: center; gap: 24px; padding: 18px 4px; border-bottom: 1px solid #eee; }
.rv-news-item__date { color: #999; font-size: 12px; flex: 0 0 auto; letter-spacing: 0.05em; }
.rv-news-item__text { font-size: 14px; color: var(--revive-text); }

/* ===== 健康コラムカード ===== */
.rv-column-card { display: block; text-decoration: none; }
.rv-column-card__thumb { width: 100%; height: 140px; object-fit: cover; background: #efefef; border-radius: 6px; }
.rv-column-card__date { font-size: 11px; color: #999; margin: 8px 0 4px; }
.rv-column-card__title { font-size: 13px; line-height: 1.6; color: var(--revive-text); margin: 0; }

/* ---------- ヒーロー ---------- */
.rv-hero-inner { display: flex; align-items: center; min-height: 420px; position: relative; }
.rv-hero-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 42%; }
.rv-traffic-cols { display: flex; align-items: center; gap: 40px; }

/* ---------- フォント指定サイズ ---------- */
.rv-font-bignum   { font-size: 48px; font-weight: 700; }
.rv-font-h1       { font-size: 40px; font-weight: 700; }
.rv-font-section  { font-size: 32px; font-weight: 700; }
.rv-font-sub      { font-size: 20px; font-weight: 700; }
.rv-font-body     { font-size: 16px; }
.rv-font-note     { font-size: 12px; color: #999; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 767px) {
  .rv-grid-2, .rv-grid-3 { grid-template-columns: 1fr; }
  .rv-grid-4, .rv-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .rv-grid-4--sp-1col { grid-template-columns: 1fr; }
  .rv-achievement-grid-2, .rv-achievement-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .rv-traffic-cols { flex-direction: column; }
  .rv-hero-photo { display: none; }
  .rv-hero-text { width: 100% !important; }
  .rv-section-title, .rv-heading__title { font-size: 22px; }
  .rv-news-item { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* =====================================================================
   TOPページ セクション別コンポーネント（front-page用）
   ===================================================================== */

/* ---------- ヒーロー（FV） ---------- */
.rv-hero {
  background-color: var(--revive-red);
  background-image: url('../images/top/fv01.webp?v=2');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.rv-hero__inner {
  display: flex;
  align-items: center;
  min-height: 550px;
  position: relative;
  padding: 48px 24px 64px;
}
.rv-hero__text { width: 56%; color: #fff; position: relative; z-index: 2; }
.rv-hero__title { font-size: 38px; font-weight: 700; line-height: 1.5; margin: 0 0 20px; }
.rv-hero__lead { font-size: 18px; line-height: 1.9; margin: 0 0 24px; opacity: .95; font-weight: 700; }
.rv-hero__cta { margin-top: 8px; }

@media (max-width: 767px) {
  .rv-hero {
    background-image: url('../images/top/fv01-sp.webp?v=2');
    background-position: top;
  }
  .rv-hero__title,
  .rv-hero__lead,
  .rv-btn-red.rv-hero__cta { display: none; }
}

/* ---------- WEB予約キャンペーンバー（TOP・画像バナー） ---------- */
.rv-campaign-section { padding: 32px 24px 0; text-align: center; }
.rv-campaign-section__title {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.12em;
  color: #fff;
  line-height: 1.8;
  background: var(--revive-red);
  width: 250px;
  margin: 0 auto 30px;
  padding: 8px 20px;
  border-radius: 26px;
}
.rv-campaign-banner {
  display: block;
  max-width: 600px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 3;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  transition: opacity 0.2s ease;
}
.rv-campaign-banner:hover { opacity: 0.88; }
.rv-campaign-banner.rv-hover-float:hover,
.rv-campaign-banner.rv-hover-float.is-floating { opacity: 1; }
.rv-campaign-banner__img { display: block; width: 100%; height: auto; vertical-align: top; }

/* ---------- 汎用セクション見出し（英字ラベル＋日本語） ---------- */
.rv-sec-head { text-align: center; margin-bottom: 40px; }
.rv-sec-head__en { display: block; font-size: 12px; letter-spacing: .25em; color: var(--revive-red); font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.rv-sec-head__title { font-size: 28px; font-weight: 700; color: var(--revive-red); margin: 0; position: relative; padding-bottom: 14px; display: inline-block; }
.rv-sec-head__title::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 60px; height: 2px; background: var(--revive-red); }
.rv-sec-head__sub { font-size: 15px; color: #666; margin: 14px 0 0; }

/* ---------- コンセプトムービー ---------- */
.rv-concept-movie {
  border-radius: 40px;
  overflow: hidden;
  background: #000;
  max-width: 750px;
  margin: 0 auto;
}
.rv-concept-movie__video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

/* ---------- リバイブメソッド（4枚カードグリッド版・TOP） ---------- */
/* ---------- リバイブメソッド（赤背景・上段に白い逆三角シンボル） ---------- */
.rv-method-hero { position: relative; background: var(--revive-red); }
.rv-method-hero__triangle {
  position: relative;
  background: #fff;
  padding: 48px 24px 48px;
  text-align: center;
}
.rv-method-hero__triangle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 28px 14px 0 14px;
  border-color: #fff transparent transparent transparent;
}
.rv-method-hero__triangle-text { font-size: 24px; font-weight: 700; color: var(--revive-red); line-height: 1.6; margin: 0; }

.rv-method-head { text-align: center; margin-bottom: 40px; }
.rv-method-head__catch { display: block; font-size: 18px; font-weight: 700; color: #fff; letter-spacing: .05em; margin-top: 32px; margin-bottom: 16px; }
.rv-method-head__logo { font-size: 40px; font-weight: 700; color: #fff; letter-spacing: .1em; margin-bottom: 8px; }
.rv-method-head__logo-img {
  height: 40px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
.rv-method-head__label { display: block; font-size: 16px; color: #fff; font-weight: 700; }

/* カード：右上Radius40カーブ・写真＋番号バッジ＋赤タイトル */
.rv-method-item { background: #fff; border-radius: 0 var(--rv-corner) 0 0; overflow: hidden; }
.rv-method-item__visual { height: 130px; border-radius: 0 var(--rv-corner) 0 0; position: relative; z-index: 2; }
.rv-method-item__img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0 var(--rv-corner) 0 0; }
.rv-method-item__num { position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%); background: var(--revive-red); color: #fff; font-size: 14px; font-weight: bold; padding: 12px; border-radius: 2px; z-index: 3; }
.rv-method-item__body { position: relative; z-index: 1; padding: 22px 12px 18px; text-align: center; }
.rv-method-item__title { font-size: 15px; font-weight: 700; margin: 0; color: var(--revive-red); }
/* 旧サブ要素（後方互換・残置） */
.rv-method-item__step { font-size: 12px; font-weight: 700; color: var(--revive-red); letter-spacing: .08em; margin-bottom: 6px; }
.rv-method-item__desc { font-size: 12px; line-height: 1.7; color: #666; margin: 0; }

@media (max-width: 767px) {
  .rv-method-hero .rv-grid-4 { padding: 0 10px; }
}

/* ============================================
   施術メニュー詳細（/menu/{id}/）特徴とアプローチ
   rv-method-item 派生：サムネイル→番号バッジ→タイトル→詳細文
   （components.css 末尾に追記）
   ============================================ */

.rv-feature-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0 var(--rv-corner) 0 0;
  overflow: hidden;
}

/* サムネイル領域（右上カーブ） */
.rv-feature-item__visual {
  position: relative;
  background: #ececec;
  border-radius: 0 var(--rv-corner) 0 0;
  overflow: hidden;
}

.rv-feature-item__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 本文エリア */
.rv-feature-item__body {
  padding: 20px 20px 22px;
  text-align: center;
}

.rv-feature-item__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--revive-red);
  margin: 0 0 12px;
  line-height: 1.5;
}

.rv-feature-item__desc {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  text-align: left;
}

.rv-feature-item__desc p {
  margin: 0 0 0.8em;
}

.rv-feature-item__desc p:last-child {
  margin-bottom: 0;
}

.rv-feature-item__desc ul {
  list-style: disc;
  padding-left: 1.3em;
  margin: 0 0 0.8em;
  text-align: left;
}

.rv-feature-item__desc strong {
  color: var(--revive-red);
}
/* ---------- 医師推薦・メディア（赤帯見出し＋白本文カード・右上カーブ） ---------- */
.rv-info-card { border: 1px solid #e5e5e5; border-radius: 0 20px 0 0; overflow: hidden; background: #fff; height: 100%; }
.rv-info-card__head { background: var(--revive-red); color: #fff; text-align: center; padding: 16px 20px; font-size: 16px; font-weight: 700; line-height: 1.5; border-radius: 0 20px 0 0; }
.rv-info-card__body { padding: 28px 24px; }
/* 医師推薦 */
.rv-recommend__body { display: flex; gap: 20px; align-items: flex-start; }
.rv-recommend__photo { width: 120px; height: 150px; flex-shrink: 0; background: #ececec; object-fit: cover; object-position: center top; display: block; }
.rv-recommend__label { font-size: 12px; font-weight: 700; color: var(--revive-text); margin-bottom: 4px; line-height: 1.5; text-align: left; }
.rv-recommend__role { font-size: 12px; color: var(--revive-text); margin-bottom: 4px; line-height: 1.5; text-align: left; }
.rv-recommend__name { font-size: 18px; font-weight: 700; color: var(--revive-text); margin-bottom: 12px; }
.rv-recommend__text { font-size: 13px; line-height: 1.9; color: #666; margin: 0; }
/* メディア */
.rv-media__body { display: flex; gap: 20px; align-items: flex-start; }
.rv-media__photo {
  width: 120px;
  height: 150px;
  flex-shrink: 0;
  background: #ececec;
  object-fit: cover;
  object-position: center;
  display: block;
}
.rv-media__note { font-size: 13px; line-height: 1.9; color: var(--revive-text); margin: 0 0 12px; text-align: left; }
.rv-media__name { display: inline-block; font-size: 18px; font-weight: 700; color: var(--revive-text); padding-bottom: 8px; border-bottom: 1px solid #333; }

/* ---------- 交通事故バナー（TOP・画像バナー） ---------- */
.rv-traffic-banner {
  display: block;
  max-width: 1120px;
  margin: 0 auto;
  text-decoration: none;
  overflow: hidden;
  transition: opacity 0.2s ease;
}
.rv-traffic-banner:hover { opacity: 0.88; }
.rv-traffic-banner__img { display: block; width: 100%; height: auto; vertical-align: top; }

/* ---------- 交通事故バナー（写真＋赤ブロックのカード・他ページ用） ---------- */
.rv-traffic-card { display: flex; align-items: stretch; max-width: 1120px; margin: 0 auto; overflow: hidden; }
.rv-traffic-card__photo { width: 30%; flex-shrink: 0; background: #ececec; object-fit: cover; }
.rv-traffic-card__main { flex: 1; background: var(--revive-red); display: flex; flex-direction: column; border: solid 3px var(--revive-red); }
.rv-traffic-card__inner { padding: 36px 40px 24px; color: #fff; flex: 1; }
.rv-traffic__title { font-size: 26px; font-weight: 700; margin: 0 0 16px; line-height: 1.5; color: #fff; }
.rv-traffic__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.rv-traffic__badge { display: inline-block; border: 1px solid #fff; color: #fff; font-size: 14px; font-weight: 700; padding: 6px 16px; border-radius: 2px; }
.rv-traffic__lead { font-size: 15px; line-height: 1.9; margin: 0; opacity: .95; color: #fff; }
/* 下部の白帯チェックリスト */
.rv-traffic__features { background: #fff; display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 16px 40px; }
.rv-traffic__feature { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--revive-red); }
.rv-traffic__feature::before { content: "✓"; color: var(--revive-red); font-weight: 700; }
/* 旧クラス（後方互換・残置） */
.rv-traffic__list { list-style: none; margin: 0 0 28px; padding: 0; font-size: 14px; line-height: 2; color: #fff; }
.rv-traffic__photo { width: 40%; height: 240px; flex-shrink: 0; border-radius: 8px; }
.rv-btn-white { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--revive-red); font-size: 14px; font-weight: 600; padding: 12px 16px 12px 28px; border-radius: 4px; text-decoration: none; min-width: 200px; justify-content: space-between; }
.rv-btn-white .rv-btn-red__arrow { border-color: var(--revive-red); }
.rv-btn-white .rv-btn-red__arrow::before { border-left-color: var(--revive-red); }

/* ---------- 店舗物件募集（中央寄せ・赤帯ラベル） ---------- */
.rv-property { max-width: 640px; margin: 0 auto; text-align: center; }
.rv-property__head { margin-bottom: 32px; }
.rv-property__en { display: block; font-size: 12px; letter-spacing: .25em; color: var(--revive-red); font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.rv-property__title { display: inline-block; font-size: 26px; font-weight: 700; color: var(--revive-red); margin: 0; padding: 10px 0; border-top: 2px solid var(--revive-red); border-bottom: 2px solid var(--revive-red); }
.rv-property__lead { font-size: 15px; font-weight: 700; color: var(--revive-text); margin: 0 0 20px; }
.rv-property__list { list-style: none; margin: 0 auto 28px; padding: 0; max-width: 560px; }
.rv-property__row { display: flex; align-items: stretch; gap: 20px; padding: 0; margin-bottom: 12px; border-bottom: 2px solid var(--revive-red); }
.rv-property__label { flex: 0 0 130px; background: var(--revive-red); color: #fff; font-size: 15px; font-weight: 700; padding: 8px 0; border-radius: 0 20px 0 0; text-align: center; letter-spacing: .15em; }
.rv-property__value { flex: 1; display: flex; align-items: center; text-align: left; font-size: 16px; font-weight: 700; color: var(--revive-text); }
.rv-property__note { font-size: 12px; line-height: 1.9; color: #999; margin: 0; }

/* ---------- 採用バナー（2カラム画像） ---------- */
.rv-recruit-banners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.rv-recruit-banners__link { display: block; border-radius: 8px; overflow: hidden; text-decoration: none; transition: opacity 0.2s ease; }
.rv-recruit-banners__link:hover { opacity: 0.88; }
.rv-recruit-banners__link.rv-hover-float:hover,
.rv-recruit-banners__link.rv-hover-float.is-floating { opacity: 1; }
.rv-recruit-banners__img { display: block; width: 100%; height: auto; vertical-align: top; }
@media (max-width: 767px) {
  .rv-recruit-banners { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- ホバー浮遊（大きめバナー） ---------- */
.rv-hover-float {
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.2s ease;
  will-change: transform;
}
.rv-hover-float.is-floating {
  transform: translateY(-8px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}
@media (prefers-reduced-motion: reduce) {
  .rv-hover-float,
  .rv-hover-float.is-floating {
    transition: none;
    transform: none;
    box-shadow: none;
  }
}

/* ---------- ご予約CTA（全幅赤帯＋画像ボタン） ---------- */
.rv-reserve-cta {
  background: var(--revive-red);
  padding: 48px 24px;
  text-align: center;
}
.rv-reserve-cta2 {
  background: #fff;
  padding: 48px 24px;
  text-align: center;
}
.rv-reserve-cta__btn {
  display: block;
  max-width: 480px;
  margin: 0 auto;
  transition: 0.3s ease;
}
.rv-reserve-cta__btn-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}
@media (max-width: 767px) {
  .rv-reserve-cta,
  .rv-reserve-cta2 { padding: 32px 20px; }
  .rv-reserve-cta__btn { max-width: 340px; }
}

/* ---------- 新着情報（TOP・白カードリスト） ---------- */
.rv-top-news-sec { max-width: 960px; margin: 0 auto; }
.rv-top-news-sec__head { margin-bottom: 36px; }
.rv-top-news-sec__head .rv-sec-head__title::after { width: 100px; height: 2px; }
.rv-top-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rv-top-news-list__item { margin: 0; padding: 0; }
.rv-top-news-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #fff;
  padding: 22px 32px;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e8e8e8;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
a.rv-top-news-card:hover {
  border-color: #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.rv-top-news-card--empty { cursor: default; }
.rv-top-news-card__date {
  flex: 0 0 96px;
  font-size: 13px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.rv-top-news-card__title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--revive-text);
  line-height: 1.65;
}
.rv-top-news-card--empty .rv-top-news-card__title { color: #999; }
.rv-top-news-card__arrow {
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--revive-red);
}
.rv-top-news-more {
  margin: 28px 0 0;
  padding: 0;
  text-align: right;
}
.rv-top-news-more a {
  font-size: 14px;
  font-weight: 600;
  color: var(--revive-red);
  text-decoration: none;
}
.rv-top-news-more a:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .rv-top-news-card {
    gap: 16px;
    padding: 18px 20px;
  }
  .rv-top-news-card__date {
    flex: 0 0 88px;
    font-size: 12px;
  }
  .rv-top-news-card__title { font-size: 14px; }
  .rv-top-news-card__arrow {
    border-width: 5px 0 5px 8px;
  }
}

/* ---------- 店舗一覧（TOP・コンパクトカード） ---------- */
.rv-store-card {
  display: block;
  border: 1px solid #eee;
  border-radius: 0 30px 0 0;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
a.rv-store-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-color: #ddd;
}
.rv-store-card__thumb {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
  background: #efefef;
}
.rv-store-card__thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
}
.rv-store-card__body {
  padding: 14px 16px 16px;
}
.rv-store-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--revive-text);
  margin: 0 0 6px;
  line-height: 1.4;
}
.rv-store-card__info {
  font-size: 12px;
  color: var(--revive-text);
  margin: 0 0 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* =====================================================================
   「リバイブの想い」ページ（about）用コンポーネント
   ===================================================================== */

/* ヒーロー（赤背景・左写真＋右テキスト） */
.rv-about-hero { background: var(--revive-red); }
.rv-about-hero__inner { display: flex; align-items: center; gap: 48px; max-width: 1120px; margin: 0 auto; padding: 48px 24px; }
/* height:auto を指定しないと img の height 属性が優先され、aspect-ratio が無視されて縦長にトリミングされる（特にSP） */
.rv-about-hero__photo { width: 44%; height: auto; flex: 0 0 auto; aspect-ratio: 4 / 3; background: #ececec; border-radius: 0 var(--rv-corner) 0 0; object-fit: cover; object-position: center; display: block; }
.rv-about-hero__body { flex: 1; color: #fff; }
.rv-about-hero__en { font-size: 34px; font-weight: 700; letter-spacing: .08em; margin: 0 0 16px; }
.rv-about-hero__title { font-size: 26px; font-weight: 700; line-height: 1.5; margin: 0; }

/* MISSION / VISION / VALUE カード */
.rv-mvv-card { border: 1px solid #e5e5e5; border-radius: 0 var(--rv-corner) 0 0; background: #fff; padding: 28px 24px; }
.rv-mvv-card__en { font-size: 30px; font-weight: 700; color: var(--revive-red); margin: 0 0 4px; letter-spacing: .05em; }
.rv-mvv-card__ja { font-size: 14px; font-weight: 700; color: var(--revive-text); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--revive-red); }
.rv-mvv-card__lead { font-size: 15px; font-weight: 700; line-height: 1.7; color: var(--revive-text); margin: 0 0 12px; }
.rv-mvv-card__text { font-size: 13px; line-height: 1.9; color: #666; margin: 0; }

/* 代表挨拶 */
.rv-greeting { display: flex; gap: 32px; align-items: flex-start; border: 1px solid #e5e5e5; border-radius: 0 var(--rv-corner) 0 0; padding: 32px; background: #fff; }
.rv-greeting__body { flex: 1; }
.rv-greeting__title { font-size: 22px; font-weight: 700; color: var(--revive-red); margin: 0 0 16px; }
.rv-greeting__text { font-size: 15px; line-height: 2; color: #555; margin: 0 0 16px; font-family: serif; }
.rv-greeting__name { font-size: 14px; color: var(--revive-text); text-align: right; margin: 0; }
.rv-greeting__photo { width: 200px; flex: 0 0 auto; aspect-ratio: 3 / 4; background: #ececec; border-radius: 4px; object-fit: cover; object-position: center top; display: block; }

/* 強みカード（4カラム） */
.rv-strength-card { border: 1px solid #e5e5e5; border-radius: 0 var(--rv-corner) 0 0; background: #fff; padding: 20px; text-align: center; }
.rv-strength-card__title { font-size: 16px; font-weight: 700; color: var(--revive-text); padding-bottom: 12px; margin: 0 0 16px; border-bottom: 1px solid #e0e0e0; }
.rv-strength-card__visual { width: 100%; height: 110px; background: #ececec; border-radius: 4px; margin-bottom: 16px; object-fit: cover; object-position: center; display: block; }
.rv-strength-card__text { font-size: 12px; line-height: 1.8; color: #666; margin: 0; text-align: left; }

/* 地域貢献・パートナー */
.rv-partner { text-align: center; }
.rv-partner__visual {
  width: 280px;
  height: 200px;
  border-radius: 8px;
  margin: 0 auto 32px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.rv-partner__text { font-size: 13px; line-height: 2; color: #666; margin: 0 auto; max-width: 760px; }
.rv-partner__lead { font-size: 16px; font-weight: 700; color: var(--revive-text); margin: 0 0 24px; }

/* スポーツチームスポンサー */
.rv-sports-teams__feature {
  max-width: 380px;
  margin: 0 auto 32px;
  padding: 0 24px;
}

@media (max-width: 767px) {
  .rv-about-hero__inner { flex-direction: column; }
  .rv-about-hero__photo { width: 100%; }
  .rv-greeting { flex-direction: column; }
  .rv-greeting__photo { width: 100%; }
}

/* =====================================================================
   お知らせ ページャー・前後記事ナビ
   ===================================================================== */
/* ページャー */
.rv-pager { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.rv-pager__item { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; color: var(--revive-text); text-decoration: none; background: #fff; }
.rv-pager__item:hover { border-color: var(--revive-red); color: var(--revive-red); }
.rv-pager__item--current { background: var(--revive-red); color: #fff; border-color: var(--revive-red); }
.rv-pager__item--current:hover { color: #fff; }
.rv-pager__item--disabled { color: #ccc; border-color: #eee; pointer-events: none; }
.rv-pager__ellipsis { display: inline-flex; align-items: center; padding: 0 4px; color: #999; }

/* 前後記事ナビ */
.rv-post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #eee; }
.rv-post-nav__link { flex: 1; max-width: 48%; text-decoration: none; color: var(--revive-text); font-size: 13px; }
.rv-post-nav__link--next { text-align: right; margin-left: auto; }
.rv-post-nav__dir { display: block; font-size: 12px; color: var(--revive-red); font-weight: 600; margin-bottom: 4px; }
.rv-post-nav__title { display: block; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rv-post-nav__empty { flex: 1; max-width: 48%; }

/* =====================================================================
   健康コラム 一覧・詳細
   ===================================================================== */
/* 一覧カードグリッド */
.rv-column-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rv-column-grid .rv-column-card { background: #fff; border: 1px solid #eee; border-radius: 0 var(--rv-corner) 0 0; overflow: hidden; text-decoration: none; color: inherit; display: block; }
.rv-column-grid .rv-column-card__thumb { width: 100%; height: 180px; object-fit: cover; display: block; }
.rv-column-grid .rv-column-card__body { padding: 16px 18px 20px; }
.rv-column-grid .rv-column-card__meta { font-size: 12px; color: #888; margin: 0 0 8px; }
.rv-column-grid .rv-column-card__cat { display: inline-block; background: var(--revive-red); color: #fff; font-size: 11px; padding: 2px 10px; border-radius: 2px; margin-left: 6px; }
.rv-column-grid .rv-column-card__title { font-size: 15px; font-weight: 700; color: var(--revive-text); margin: 0; line-height: 1.6; }

/* 監修者ボックス */
.rv-supervisor { display: flex; align-items: center; gap: 16px; background: #f7f7f7; border-radius: 8px; padding: 16px 20px; margin: 32px 0; }
.rv-supervisor__photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: #e5e5e5; }
.rv-supervisor__photo--placeholder { display: flex; align-items: center; justify-content: center; font-size: 10px; color: #999; }
.rv-supervisor__label { font-size: 12px; color: #888; margin: 0 0 2px; }
.rv-supervisor__name { font-size: 16px; font-weight: 700; color: var(--revive-text); margin: 0; }

@media (max-width: 991px) {
  .rv-column-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .rv-column-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   記事詳細 ヒーロー画像（横長トリミング）＋ 本文タイポグラフィ
   お知らせ・健康コラム共通（.rv-article-body）
   ===================================================================== */
/* ヒーロー画像：縦型でも横長で切り取り */
.rv-column-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 0 var(--rv-corner) 0 0;
  margin-bottom: 32px;
}

/* ---------- 記事本文タイポグラフィ ---------- */
.rv-article-body {
  color: var(--revive-text);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.rv-article-body > *:first-child { margin-top: 0; }

/* 段落 */
.rv-article-body p { margin: 0 0 1.25em; line-height: 1.9; }

/* 見出し h2：左に赤バー＋下線 */
.rv-article-body h2 {
  position: relative;
  font-size: 22px;
  font-weight: 700;
  color: var(--revive-text);
  line-height: 1.5;
  margin: 2.4em 0 1em;
  padding: 8px 0 10px 16px;
  border-bottom: 1px solid #e5e5e5;
  border-left: 6px solid var(--revive-red);
}
.rv-article-body h2::before { display: none; }

/* 見出し h3：赤い四角マーカー */
.rv-article-body h3 {
  position: relative;
  font-size: 18px;
  font-weight: 700;
  color: var(--revive-text);
  line-height: 1.5;
  margin: 2em 0 0.8em;
  padding-left: 1em;
  border-left: none;
}
.rv-article-body h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.45em;
  height: 0.45em;
  background: var(--revive-red);
  border-radius: 2px;
}

/* 見出し h4：赤文字 */
.rv-article-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--revive-red);
  margin: 1.8em 0 0.6em;
}

/* strong：太字＋薄いハイライト */
.rv-article-body strong,
.rv-article-body b {
  font-weight: 700;
  color: var(--revive-text);
  background: linear-gradient(transparent 65%, rgba(215, 0, 15, 0.12) 65%);
}

/* リンク */
.rv-article-body a {
  color: var(--revive-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rv-article-body a:hover { opacity: 0.75; }

/* リスト（ul）：赤いカスタムマーカー */
.rv-article-body ul {
  list-style: none;
  margin: 0 0 1.6em;
  padding: 0;
}
.rv-article-body ul > li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.6em;
  line-height: 1.8;
}
.rv-article-body ul > li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.65em;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--revive-red);
}

/* リスト（ol）：赤い連番 */
.rv-article-body ol {
  list-style: none;
  counter-reset: rv-ol;
  margin: 0 0 1.6em;
  padding: 0;
}
.rv-article-body ol > li {
  position: relative;
  padding-left: 2.2em;
  margin-bottom: 0.8em;
  line-height: 1.8;
  counter-increment: rv-ol;
}
.rv-article-body ol > li::before {
  content: counter(rv-ol);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.6em;
  height: 1.6em;
  background: var(--revive-red);
  color: #fff;
  font-size: 0.85em;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 定義リスト dl（用語定義／項目＋説明。FAQ文言に「Q.」が含まれるケースにも対応） */
.rv-article-body dl {
  margin: 0 0 1.6em;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.rv-article-body dt {
  font-weight: 700;
  color: var(--revive-text);
  background: #fff2f2;
  padding: 0.85em 1em;
  border-top: 1px solid #e5e5e5;
  line-height: 1.6;
}
.rv-article-body dt:first-child { border-top: none; }
.rv-article-body dd {
  margin: 0;
  padding: 0.9em 1em 1.1em;
  line-height: 1.9;
  color: #555;
  border-top: 1px solid #f0f0f0;
}
.rv-article-body dd + dt { border-top: 1px solid #e5e5e5; }

/* 表 */
.rv-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1.6em;
}
.rv-article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 0 0 1.6em;
}
.rv-table-scroll table { margin-bottom: 0; }
.rv-article-body th,
.rv-article-body td {
  border: 1px solid #e5e5e5;
  padding: 0.7em 0.9em;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.rv-article-body th {
  background: #fff2f2;
  font-weight: 700;
  color: var(--revive-text);
}

/* 引用 blockquote */
.rv-article-body blockquote {
  position: relative;
  margin: 1.8em 0;
  padding: 1em 1.2em;
  background: #f7f7f7;
  border-left: 4px solid var(--revive-red);
  border-radius: 0 8px 8px 0;
  color: #666;
  font-style: normal;
}
.rv-article-body blockquote::before { display: none; }
.rv-article-body blockquote p:last-child { margin-bottom: 0; }

/* 本文中の画像 */
.rv-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.2em 0;
  display: block;
}

/* 区切り線 */
.rv-article-body hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 2.5em 0;
}

/* pre/code */
.rv-article-body pre {
  background: #f3f4f6;
  padding: 16px;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 13px;
  margin: 1.6em 0;
}
.rv-article-body code {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: .9em;
}

/* ---------- 症状詳細：本文セクション ---------- */
.rv-symptom-section { margin-bottom: 40px; }
.rv-symptom-section__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--revive-red);
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--revive-red);
  line-height: 1.4;
}
.rv-symptom-article {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 28px 32px;
  box-sizing: border-box;
}
.rv-symptom-article > *:first-child { margin-top: 0; }

@media (max-width: 767px) {
  .rv-article-body { font-size: 15px; line-height: 1.85; }
  .rv-article-body h2 { font-size: 1.25rem; }
  .rv-article-body h3 { font-size: 1.05rem; }
  .rv-symptom-article { padding: 20px 16px; }
  .rv-article-body table { min-width: 480px; }
}

/* ============================================
   健康コラム詳細 2カラムレイアウト
   （components.css 末尾に追記）
   ============================================ */

/* 全体レイアウト：左＝記事本文 / 右＝サイドバー300px
   見出し（日付＋タイトル）を1行目に配置し、サムネイル以降の本文とサイドバーを
   2行目に並べることで、サイドバーの開始位置を左カラムのサムネイル上端に揃える */
.rv-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  column-gap: 48px;
  row-gap: 0;
  align-items: start;
}

.rv-column-head {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  margin-bottom: 24px;
}

/* サイドバーが無い場合（フォールバック）：従来の1カラム中央寄せ */
.rv-column-layout--single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.rv-column-layout__main {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

.rv-column-sidebar {
  grid-column: 2;
  grid-row: 2;
}

/* ---- サイドバー ---- */
.rv-column-sidebar {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* カテゴリブロック */
.rv-col-side-block {
  background: #fff;
}

/* 見出し：赤い四角 ■ ＋ カテゴリ名 */
.rv-col-side-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--revive-text);
  margin: 0 0 4px;
  padding-bottom: 8px;
}

.rv-col-side-head::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--revive-red);
  flex: 0 0 auto;
}

/* 記事リスト */
.rv-col-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rv-col-side-item {
  border-bottom: 1px solid #e0e0e0;
}

.rv-col-side-item__link {
  display: block;
  padding: 12px 2px;
  text-decoration: none;
  color: #333;
}

/* タイトル：2行で省略 */
.rv-col-side-item__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.7;
  transition: color 0.2s;
}

.rv-col-side-item__link:hover .rv-col-side-item__title {
  color: var(--revive-red);
}

/* ---- 最新記事：サムネイル＋日付＋タイトル ---- */
.rv-col-side-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 2px;
  text-decoration: none;
  color: #333;
}
.rv-col-side-post__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  overflow: hidden;
  border-radius: 4px;
  background: #f0f0f0;
  display: block;
}
.rv-col-side-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rv-col-side-post__body {
  flex: 1;
  min-width: 0;
}
.rv-col-side-post__date {
  display: block;
  font-size: 11px;
  color: #999;
  margin-bottom: 4px;
}
.rv-col-side-post:hover .rv-col-side-item__title {
  color: var(--revive-red);
}

/* ---- カテゴリ一覧 ---- */
.rv-col-side-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 2px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}
.rv-col-side-cat::after {
  content: "›";
  color: var(--revive-red);
  font-size: 16px;
  line-height: 1;
  flex: 0 0 auto;
}
.rv-col-side-cat:hover {
  color: var(--revive-red);
}

/* ---- レスポンシブ：タブレット以下は1カラム（サイドバーは本文の下） ---- */
@media (max-width: 960px) {
  .rv-column-layout {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 48px;
  }
  .rv-column-head,
  .rv-column-layout__main,
  .rv-column-sidebar {
    grid-column: 1;
    grid-row: auto;
  }
  .rv-column-head {
    margin-bottom: 0;
  }
}

/* ============================================
   症状から探す（/symptoms/）部位見出し
   サムネイル＋タイトル（赤下線）
   （components.css 末尾に追記）
   ============================================ */

.rv-symptom-area-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--revive-red);
}

.rv-symptom-area-head__thumb {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  flex: 0 0 auto;
  display: block;
}

.rv-symptom-area-head__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--revive-red);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .rv-symptom-area-head {
    gap: 12px;
  }

  .rv-symptom-area-head__thumb {
    width: 72px;
    height: 48px;
  }

  .rv-symptom-area-head__title {
    font-size: 18px;
  }
}

/* ============================================
   院を探す（/clinics/）店舗一覧カード
   写真＋店舗名＋住所＋予約3ボタン＋店舗HPフッター
   （components.css 末尾に追記）
   ============================================ */

.rv-clinic-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.rv-clinic-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 写真（詳細ページへのリンク） */
.rv-clinic-card__photo-link {
  display: block;
}

.rv-clinic-card__photo {
  width: 100%;
  aspect-ratio: 4 / 2;
  object-fit: cover;
  display: block;
}

.rv-clinic-card__photo--placeholder {
  background: #e9e9e9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
}

/* 本文 */
.rv-clinic-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 24px;
}

.rv-clinic-card__title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 6px;
  line-height: 1.5;
  color: var(--revive-red);
}

.rv-clinic-card__title a {
  color: var(--revive-red);
  text-decoration: none;
  transition: color 0.2s;
}

.rv-clinic-card__title a:hover {
  color: var(--revive-red-dark);
}

.rv-clinic-card__distance {
  font-size: 13px;
  color: var(--revive-red);
  font-weight: 600;
  margin: 0 0 8px;
}

.rv-clinic-card__address {
  font-size: 13px;
  color: #666;
  margin: 0 0 16px;
  line-height: 1.7;
}

/* 予約ボタン行（電話・LINE・WEB） */
.rv-clinic-card__reserve {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.rv-clinic-card__reserve-btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--revive-red);
  background: #fff;
  border: 1px solid var(--revive-red);
  border-radius: 3px;
  padding: 6px 12px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.rv-clinic-card__reserve-btn:hover {
  background: var(--revive-red);
  color: #fff;
}

/* カードフッター：店舗HPはこちら */
.rv-clinic-card__hp-link {
  display: block;
  background: var(--revive-red);
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 16px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.rv-clinic-card__hp-link:hover {
  opacity: 0.85;
}

/* ============================================
   リバイブメソッド（/method/）専用コンポーネント
   ※ 既存の .rv-method-hero / .rv-method-item とは別デザインのため
     衝突しない .rv-method-mv / .rv-method-scale / .rv-method-pillar を新設
   （components.css 末尾に追記）
   ============================================ */

/* ---------- ①メインビジュアル（写真＋見出し＋理念文の2カラム） ---------- */
.rv-method-mv { background: #fff; }
.rv-method-mv__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.rv-method-mv__visual {
  border-radius: 0 var(--rv-corner) 0 0;
  overflow: hidden;
  background: #ececec;
}
.rv-method-mv__img {
  display: block;
  width: 100%;
  /* height:auto を指定しないと img の height 属性が優先され、
     aspect-ratio が無視されて縦長にトリミングされる（特にSP） */
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.rv-method-mv__en {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--revive-red);
  margin: 0 0 16px;
}
.rv-method-mv__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--revive-text);
  margin: 0 0 20px;
}
.rv-method-mv__lead {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin: 0;
}

/* ---------- ②スケール図（-10 → 0 → +10） ---------- */
.rv-method-scale-lead {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--revive-text);
  margin: 0 0 12px;
}
.rv-method-scale-note {
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
  color: #666;
  margin: 0 0 36px;
}
.rv-method-scale {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto;
}
.rv-method-scale__item {
  flex: 1 1 0;
  min-width: 180px;
  border: 1px solid #e0e0e0;
  border-radius: 0 var(--rv-corner) 0 0;
  padding: 24px 16px;
  text-align: center;
  background: #fafafa;
}
.rv-method-scale__item--goal {
  background: var(--revive-red);
  border-color: var(--revive-red);
}
.rv-method-scale__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #888;
  margin: 0 0 8px;
}
.rv-method-scale__item--goal .rv-method-scale__label { color: #fff; }
.rv-method-scale__num {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--revive-text);
  margin: 0 0 10px;
}
.rv-method-scale__item--goal .rv-method-scale__num { color: #fff; }
.rv-method-scale__desc {
  font-size: 12px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}
.rv-method-scale__item--goal .rv-method-scale__desc { color: #fff; }
.rv-method-scale__arrow {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: #ccc;
  flex: 0 0 auto;
}

/* ---------- ③4本柱（写真＋PILLAR番号＋タイトル＋本文の左右交互） ---------- */
.rv-method-pillar-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.rv-method-pillar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid #e0e0e0;
  border-radius: 0 var(--rv-corner) 0 0;
  overflow: hidden;
  background: #fff;
}
/* 偶数は写真を右に（左右交互） */
.rv-method-pillar:nth-child(even) .rv-method-pillar__visual { order: 2; }
.rv-method-pillar:nth-child(even) .rv-method-pillar__body { order: 1; }
.rv-method-pillar__visual {
  background: #ececec;
  min-height: 240px;
}
.rv-method-pillar__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center;
}
.rv-method-pillar__body {
  padding: 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rv-method-pillar__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--revive-red);
  margin: 0 0 10px;
}
.rv-method-pillar__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--revive-text);
  margin: 0 0 14px;
  line-height: 1.5;
}
.rv-method-pillar__text {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin: 0 0 12px;
}
.rv-method-pillar__note {
  font-size: 13px;
  line-height: 1.7;
  color: #888;
  margin: 0;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 767px) {
  .rv-method-mv__inner { grid-template-columns: 1fr; gap: 28px; }
  .rv-method-mv__title { font-size: 22px; }
  .rv-method-scale__arrow { transform: rotate(90deg); }
  .rv-method-scale { flex-direction: column; }
  .rv-method-pillar { grid-template-columns: 1fr; }
  .rv-method-pillar:nth-child(even) .rv-method-pillar__visual { order: 1; }
  .rv-method-pillar:nth-child(even) .rv-method-pillar__body { order: 2; }
  .rv-method-pillar__visual { min-height: 200px; }
  .rv-method-pillar__body { padding: 24px 20px; }
}

/* ============================================
   会社概要（/company/）
   ============================================ */
.rv-company-page ul { list-style: none; margin: 0; padding: 0; }
.rv-company-page { box-sizing: border-box; }
.rv-company-container { max-width: 1080px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* パンくず */
.rv-company-breadcrumb-section { padding: 16px 0; background: #fff; border-bottom: 1px solid #eee; }
.rv-company-breadcrumb { font-size: 12px; color: #888; }
.rv-company-breadcrumb a { color: #888; text-decoration: none; }
.rv-company-breadcrumb a:hover { text-decoration: underline; }
.rv-company-breadcrumb-current { color: #333; }

/* ページヘッダー（グレー背景・英字ラベル＋タイトル） */
.rv-company-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 24px;
  text-align: center;
  background: var(--revive-red);
}
.rv-company-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.rv-company-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(3px);
  transform: scale(1.08);
  transform-origin: center center;
}
.rv-company-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(215, 0, 15, 0.72) 0%,
      rgba(165, 40, 34, 0.78) 100%
    );
}
.rv-company-hero__content {
  position: relative;
  z-index: 2;
}
.rv-company-hero__en { display: block; font-size: 12px; letter-spacing: .25em; color: #fff; font-weight: 600; text-transform: uppercase; margin-bottom: 6px; }
.rv-company-hero__title { font-size: 30px; font-weight: 700; color: #fff; margin: 0; }

/* セクション */
.rv-company-section { padding: 56px 24px; }
.rv-company-section--white { background: #fff; }
.rv-company-sec-head { text-align: center; margin-bottom: 36px; }
.rv-company-sec-head__en { display: block; font-size: 12px; letter-spacing: .2em; color: var(--revive-red); font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.rv-company-sec-head__title { font-size: 24px; font-weight: 700; color: var(--revive-text); margin: 0; position: relative; padding-bottom: 12px; display: inline-block; }
.rv-company-sec-head__title::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 40px; height: 2px; background: var(--revive-red); }

/* 会社概要テーブル（左に赤ライン付き定義リスト） */
.rv-company-table { max-width: 880px; margin: 0 auto; border: 1px solid #e0e0e0; }
.rv-company-table__row { display: flex; border-bottom: 1px solid #e8e8e8; }
.rv-company-table__row:last-child { border-bottom: none; }
.rv-company-table__label {
  flex: 0 0 200px;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--revive-text);
  background: #fafafa;
  border-left: 3px solid var(--revive-red);
  box-sizing: border-box;
}
.rv-company-table__value {
  flex: 1;
  min-width: 0;
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

/* 会社沿革（年＋赤丸＋テキスト、左に縦線） */
.rv-company-history { max-width: 760px; margin: 0 auto; position: relative; }
.rv-company-history::before {
  content: "";
  position: absolute;
  left: 66px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #e0d3d3;
}
.rv-company-history__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 12px 0;
  position: relative;
}
.rv-company-history__year {
  flex: 0 0 56px;
  font-size: 15px;
  font-weight: 700;
  color: var(--revive-text);
  text-align: right;
  line-height: 1.6;
}
.rv-company-history__dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--revive-red);
  background: #fff;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.rv-company-history__text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  padding-top: 2px;
}

/* アクセス Googleマップ（レスポンシブ 16:9） */
.rv-company-map { max-width: 880px; margin: 0 auto; position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid #e0e0e0; overflow: hidden; }
.rv-company-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.rv-company-map-note { max-width: 880px; margin: 14px auto 0; font-size: 13px; color: #888; }

/* レスポンシブ */
@media (max-width: 767px) {
  .rv-company-hero__title { font-size: 24px; }
  .rv-company-sec-head__title { font-size: 20px; }
  .rv-company-table__row { flex-direction: column; }
  .rv-company-table__label { flex: none; width: 100%; }
  .rv-company-history::before { left: 60px; }
}

/* ============================================
   法的ページ共通（プライバシーポリシー等 /privacy-policy/）
   ============================================ */
.rv-legal-page { box-sizing: border-box; }
.rv-legal-page ul,
.rv-legal-page ol { margin: 0; padding: 0; }
.rv-legal-container { max-width: 880px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* パンくず */
.rv-legal-breadcrumb-section { padding: 16px 0; background: #fff; border-bottom: 1px solid #eee; }
.rv-legal-breadcrumb { font-size: 12px; color: #888; }
.rv-legal-breadcrumb a { color: #888; text-decoration: none; }
.rv-legal-breadcrumb a:hover { text-decoration: underline; }
.rv-legal-breadcrumb-current { color: #333; }

/* ページヘッダー（グレー背景・英字ラベル＋タイトル） */
.rv-legal-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 24px;
  text-align: center;
  background: var(--revive-red);
}
.rv-legal-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.rv-legal-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(3px);
  transform: scale(1.08);
  transform-origin: center center;
}
.rv-legal-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(215, 0, 15, 0.72) 0%,
      rgba(165, 40, 34, 0.78) 100%
    );
}
.rv-legal-hero__content {
  position: relative;
  z-index: 2;
}
.rv-legal-hero__en { display: block; font-size: 12px; letter-spacing: .25em; color: #fff; font-weight: 600; text-transform: uppercase; margin-bottom: 6px; }
.rv-legal-hero__title { font-size: 30px; font-weight: 700; color: #fff; margin: 0; }

/* 本文セクション */
.rv-legal-section { padding: 56px 24px; background: #fff; }
.rv-legal-intro { font-size: 15px; line-height: 2; color: #444; margin: 0 0 40px; }

/* 見出しブロック */
.rv-legal-block { margin: 0 0 36px; }
.rv-legal-block:last-child { margin-bottom: 0; }
.rv-legal-block__title {
  position: relative;
  font-size: 18px;
  font-weight: 700;
  color: var(--revive-text);
  line-height: 1.5;
  margin: 0 0 16px;
  padding-left: 14px;
}
.rv-legal-block__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--revive-red);
  border-radius: 2px;
}

/* 段落 */
.rv-legal-text { font-size: 14px; line-height: 1.9; color: #555; margin: 0 0 14px; }
.rv-legal-text:last-child { margin-bottom: 0; }

/* リスト */
.rv-legal-list { list-style: disc; padding-left: 1.4em; margin: 0 0 14px; }
.rv-legal-list--ol { list-style: decimal; }
.rv-legal-list li { font-size: 14px; line-height: 1.9; color: #555; margin: 0 0 6px; }
.rv-legal-list li:last-child { margin-bottom: 0; }

/* ネスト（告知事項など・マーカーなしで字下げ） */
.rv-legal-sublist { list-style: none; padding-left: 1.2em; margin: 6px 0 0; }
.rv-legal-sublist li { position: relative; font-size: 13px; color: #666; padding-left: 14px; margin: 0 0 4px; }
.rv-legal-sublist li::before { content: "－"; position: absolute; left: 0; color: #aaa; }

/* お問い合わせ窓口ボックス */
.rv-legal-contact { border: 1px solid #e0e0e0; border-left: 3px solid var(--revive-red); background: #fafafa; padding: 20px 22px; margin-top: 16px; }
.rv-legal-contact__row { display: flex; gap: 16px; font-size: 14px; line-height: 1.8; color: #555; margin: 0 0 8px; }
.rv-legal-contact__row:last-child { margin-bottom: 0; }
.rv-legal-contact__label { flex: 0 0 88px; font-weight: 700; color: var(--revive-text); }
.rv-legal-contact__value { flex: 1; min-width: 0; }

/* 制定日・改定日 */
.rv-legal-meta { margin-top: 40px; text-align: right; font-size: 13px; color: #888; }
.rv-legal-meta p { margin: 0 0 4px; }

/* レスポンシブ */
@media (max-width: 767px) {
  .rv-legal-hero__title { font-size: 24px; }
  .rv-legal-section { padding: 40px 20px; }
  .rv-legal-contact__row { flex-direction: column; gap: 2px; }
  .rv-legal-contact__label { flex: none; }
}

/* ============================================
   共通アコーディオン（Q&A） .rv-acc
   交通事故Q&A・施術メニュー詳細のFAQを統合。
   開閉は assets/js/accordion.js（高さアニメーション）。
   ============================================ */
.rv-acc-section { padding: 56px 16px; background: #fff; }
.rv-acc-section--gray { background: #f9f9f9; }
.rv-acc-title { font-size: 24px; font-weight: 700; text-align: center; margin: 0 0 28px; }
.rv-acc-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.rv-acc-item { border: 1px solid #e0e0e0; background: #fff; }

.rv-acc-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: none;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.rv-acc-q__text { flex: 1; min-width: 0; }

/* トグル：赤いシェブロン（開くと回転） */
.rv-acc-toggle {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border-right: 2px solid var(--revive-red);
  border-bottom: 2px solid var(--revive-red);
  transform: rotate(45deg);
  transition: transform 0.3s ease, margin-top 0.3s ease;
}
.rv-acc-q[aria-expanded="true"] .rv-acc-toggle {
  transform: rotate(-135deg);
  margin-top: 2px;
}

/* 回答：高さアニメーション（JSで height を制御） */
.rv-acc-a {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}
.rv-acc-a__inner {
  padding: 4px 18px 16px;
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  border-top: 1px solid #f0f0f0;
}

@media (max-width: 767px) {
  .rv-acc-section { padding: 48px 16px; }
  .rv-acc-title { font-size: 20px; }
  .rv-acc-q { align-items: flex-start; }
}

/* ============================================
   物件募集（/property-wanted/）
   ============================================ */
.rv-property-page { box-sizing: border-box; }
.rv-property-page ul { list-style: none; margin: 0; padding: 0; }

/* ヒーロー（グレー背景・中央寄せ） */
.rv-property-hero {
  background: #f3f3f3;
  padding: 56px 24px;
  text-align: center;
}
.rv-property-hero__en {
  display: block;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.rv-property-hero__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--revive-text);
  margin: 0 0 20px;
}
.rv-property-hero__lead {
  font-size: 15px;
  line-height: 2;
  color: #555;
  max-width: 720px;
  margin: 0 auto;
}

/* イントロ */
.rv-property-intro {
  padding: 56px 24px;
  background: #fff;
  text-align: center;
}
.rv-property-intro__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--revive-text);
  margin: 0 0 20px;
  line-height: 1.6;
}
.rv-property-intro__text {
  font-size: 14px;
  line-height: 2;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* 募集要項バナー */
.rv-property-req-banner {
  background: var(--revive-red);
  color: #fff;
  text-align: center;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.rv-property-req-banner__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
}
.rv-property-req-banner__en {
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.9;
  margin: 0;
}

/* 募集要項テーブル */
.rv-property-table-wrap { max-width: 880px; margin: 0 auto; }
.rv-property-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e0e0e0;
}
.rv-property-table thead th {
  background: #555;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 20px;
  text-align: left;
}
.rv-property-table thead th:last-child { text-align: center; }
.rv-property-table tbody tr:nth-child(even) { background: #fafafa; }
.rv-property-table tbody th {
  width: 28%;
  background: #f5f5f5;
  font-size: 14px;
  font-weight: 700;
  color: var(--revive-text);
  padding: 16px 20px;
  border-bottom: 1px solid #e8e8e8;
  text-align: left;
  vertical-align: top;
}
.rv-property-table tbody td {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  padding: 16px 20px;
  border-bottom: 1px solid #e8e8e8;
  vertical-align: top;
}

/* ご連絡からの流れ */
.rv-property-flow-section { padding: 56px 24px; background: #fff; }
.rv-property-flow-head {
  text-align: center;
  margin-bottom: 36px;
}
.rv-property-flow-head__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--revive-text);
  margin: 0 0 12px;
}
.rv-property-flow-head__line {
  display: inline-block;
  width: 48px;
  height: 2px;
  background: var(--revive-red);
}
.rv-property-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
  list-style: none;
  padding: 0;
}
.rv-property-flow__item {
  border: 1px solid #e0e0e0;
  background: #fff;
  padding: 24px 20px;
  text-align: center;
  position: relative;
}
.rv-property-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 10px;
  border-color: transparent transparent transparent #ccc;
  z-index: 1;
}
.rv-property-flow__step {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--revive-red);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.rv-property-flow__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--revive-text);
  margin: 0 0 10px;
}
.rv-property-flow__text {
  font-size: 13px;
  line-height: 1.8;
  color: #666;
  margin: 0;
}

/* お問い合わせ */
.rv-property-contact-section {
  padding: 56px 24px 72px;
  background: #f7f7f7;
  text-align: center;
}
.rv-property-contact-head__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--revive-text);
  margin: 0 0 8px;
}
.rv-property-contact-head__sub {
  font-size: 14px;
  color: #666;
  margin: 0 0 32px;
}
.rv-property-contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 420px;
  margin: 0 auto;
}
.rv-property-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  min-height: 140px;
  box-sizing: border-box;
  transition: opacity 0.2s;
}
.rv-property-contact-card:hover { opacity: 0.9; color: #fff; }
.rv-property-contact-card--tel { background: var(--revive-red); }
.rv-property-contact-card--line { background: #06c755; }
.rv-property-contact-card__icon { font-size: 28px; line-height: 1; }
.rv-property-contact-card__label { font-size: 14px; font-weight: 700; }
.rv-property-contact-card__value { font-size: 22px; font-weight: 700; letter-spacing: 0.05em; }
.rv-property-contact-card__note { font-size: 12px; opacity: 0.9; margin: 0; }

@media (max-width: 767px) {
  .rv-property-hero__title { font-size: 26px; }
  .rv-property-intro__title { font-size: 18px; }
  .rv-property-table thead { display: none; }
  .rv-property-table tbody tr { display: block; margin-bottom: 16px; border: 1px solid #e8e8e8; }
  .rv-property-table tbody th,
  .rv-property-table tbody td { display: block; width: 100%; box-sizing: border-box; }
  .rv-property-table tbody th { border-bottom: none; padding-bottom: 8px; }
  .rv-property-flow { grid-template-columns: 1fr; }
  .rv-property-flow__item:not(:last-child)::after { display: none; }
  .rv-property-contact-cards { grid-template-columns: 1fr; }
}

/* ============================================
   お問い合わせ（/contact/）
   ============================================ */
.rv-contact-page { box-sizing: border-box; }
.rv-contact-page ul { list-style: none; margin: 0; padding: 0; }
/* 各セクション側で左右24pxの余白を持っているため、コンテナ側の padding は 0
   （以前は二重に効いてSPで内容が48px内側に寄っていた） */
.rv-contact-container { max-width: 880px; margin: 0 auto; padding: 0; box-sizing: border-box; }

/* ヒーロー（白背景・中央寄せ） */
.rv-contact-hero {
  background: #fff;
  padding: 48px 24px 24px;
  text-align: center;
}
.rv-contact-hero__en {
  display: block;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: #b8945f;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.rv-contact-hero__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--revive-text);
  margin: 0;
  position: relative;
  padding-bottom: 14px;
  display: inline-block;
}
.rv-contact-hero__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--revive-red);
}
.rv-contact-hero__sub {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  max-width: 720px;
  margin: 16px auto 0;
}

/* イントロ文 */
.rv-contact-intro {
  padding: 8px 24px 32px;
  background: #fff;
  text-align: center;
}
.rv-contact-intro__text {
  font-size: 14px;
  line-height: 2;
  color: var(--revive-text);
  margin: 0 0 4px;
}
.rv-contact-intro__text:last-child { margin-bottom: 0; }

/* ご予約・施術相談CTA */
.rv-contact-reserve {
  padding: 0 24px 40px;
  background: #fff;
}
.rv-contact-reserve__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rv-contact-reserve__box {
  display: flex;
  align-items: center;
  border: 3px solid var(--revive-red);
  border-radius: var(--rv-corner);
  padding: 28px 28px 28px 0;
  position: relative;
  overflow: hidden;
}
.rv-contact-reserve__box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}
.rv-contact-reserve__body {
  flex: 1;
  min-width: 0;
  padding-left: 28px;
}
.rv-contact-reserve__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--revive-red);
  margin: 0 0 10px;
  line-height: 1.5;
}
.rv-contact-reserve__text {
  font-size: 13px;
  line-height: 1.9;
  color: var(--revive-text);
  margin: 0;
}
.rv-contact-reserve__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  background: var(--revive-red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 24px 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.rv-contact-reserve__btn:hover {
  background: var(--revive-red-dark);
  color: #fff;
}
.rv-contact-reserve__btn-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
}

/* フォーム見出し */
.rv-contact-form-head {
  padding: 16px 24px 28px;
  background: #fff;
  text-align: center;
}
.rv-contact-form-head__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--revive-text);
  margin: 0;
  position: relative;
  padding-bottom: 14px;
  display: inline-block;
}
.rv-contact-form-head__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--revive-red);
}
.rv-contact-form-head__sub {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin: 16px 0 0;
}

/* 問い合わせ種別カード */
.rv-contact-categories {
  padding: 0 24px 40px;
  background: #fff;
}
.rv-contact-categories__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rv-contact-categories__item { margin: 0; padding: 0; }
.rv-contact-category-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px 20px 20px 24px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.rv-contact-category-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--revive-red);
}
.rv-contact-category-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--revive-text);
  margin: 0 0 8px;
  line-height: 1.5;
}
.rv-contact-category-card__desc {
  font-size: 12px;
  line-height: 1.8;
  color: #666;
  margin: 0;
}

/* フォームセクション */
.rv-contact-form-section {
  padding: 40px 24px 32px;
  background: #fff;
}
.rv-contact-form { max-width: 880px; margin: 0 auto; }

/* ステップ表示（入力 › 確認 › 送信完了） */
.rv-contact-steps {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.rv-contact-steps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 72px;
}
.rv-contact-steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d9d9d9;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.rv-contact-steps__label {
  font-size: 12px;
  font-weight: 600;
  color: #bbb;
  line-height: 1.4;
}
.rv-contact-steps__sep {
  width: 24px;
  height: 40px;
  margin: 0 12px;
  position: relative;
  flex-shrink: 0;
}
.rv-contact-steps__sep::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #d9d9d9;
}
.rv-contact-form:has(.mw_wp_form_input) .rv-contact-steps__item[data-step="input"] .rv-contact-steps__num,
.rv-contact-form:has(.mw_wp_form_confirm) .rv-contact-steps__item[data-step="confirm"] .rv-contact-steps__num,
.rv-contact-form:has(.mw_wp_form_complete) .rv-contact-steps__item[data-step="complete"] .rv-contact-steps__num {
  background: var(--revive-red);
}
.rv-contact-form:has(.mw_wp_form_input) .rv-contact-steps__item[data-step="input"] .rv-contact-steps__label,
.rv-contact-form:has(.mw_wp_form_confirm) .rv-contact-steps__item[data-step="confirm"] .rv-contact-steps__label,
.rv-contact-form:has(.mw_wp_form_complete) .rv-contact-steps__item[data-step="complete"] .rv-contact-steps__label {
  color: var(--revive-text);
}
.rv-contact-form:has(.mw_wp_form_confirm) .rv-contact-steps__item[data-step="input"] .rv-contact-steps__num,
.rv-contact-form:has(.mw_wp_form_complete) .rv-contact-steps__item[data-step="input"] .rv-contact-steps__num,
.rv-contact-form:has(.mw_wp_form_complete) .rv-contact-steps__item[data-step="confirm"] .rv-contact-steps__num {
  background: var(--revive-red);
}
.rv-contact-form:has(.mw_wp_form_confirm) .rv-contact-steps__item[data-step="input"] .rv-contact-steps__label,
.rv-contact-form:has(.mw_wp_form_complete) .rv-contact-steps__item[data-step="input"] .rv-contact-steps__label,
.rv-contact-form:has(.mw_wp_form_complete) .rv-contact-steps__item[data-step="confirm"] .rv-contact-steps__label {
  color: var(--revive-text);
}

/* MW WP Form 共通 */
.rv-contact-form .mw_wp_form { margin: 0; }
.rv-contact-form .mw_wp_form form { margin: 0; }
.rv-contact-form .mw_wp_form dl {
  display: grid;
  grid-template-columns: minmax(200px, 30%) 1fr;
  margin: 0;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.rv-contact-form .mw_wp_form dt {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 20px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--revive-text);
  margin: 0;
  border-right: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  box-sizing: border-box;
}
.rv-contact-form .mw_wp_form dd {
  margin: 0;
  padding: 20px 24px;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  box-sizing: border-box;
}
.rv-contact-form .mw_wp_form dt:last-of-type,
.rv-contact-form .mw_wp_form dd:last-of-type {
  border-bottom: none;
}
.rv-contact-form .mw_wp_form .require,
.rv-contact-form .mw_wp_form .must {
  display: inline-block;
  background: var(--revive-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}
.rv-contact-form .mw_wp_form .optional {
  display: inline-block;
  background: #888;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}
.rv-contact-form .mw_wp_form input[type="text"],
.rv-contact-form .mw_wp_form input[type="email"],
.rv-contact-form .mw_wp_form input[type="tel"],
.rv-contact-form .mw_wp_form input[type="number"],
.rv-contact-form .mw_wp_form input[type="url"],
.rv-contact-form .mw_wp_form select,
.rv-contact-form .mw_wp_form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--revive-text);
  background: #fff;
}
.rv-contact-form .mw_wp_form input::placeholder,
.rv-contact-form .mw_wp_form textarea::placeholder {
  color: #bbb;
}
.rv-contact-form .mw_wp_form textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.7;
}
.rv-contact-form .mw_wp_form input:focus,
.rv-contact-form .mw_wp_form select:focus,
.rv-contact-form .mw_wp_form textarea:focus {
  outline: none;
  border-color: var(--revive-red);
}
.rv-contact-form .mw_wp_form .horizontal-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 24px 0 0;
}
/* MW WP Form 本体の .mw_wp_form .horizontal-item + .horizontal-item { margin-left:10px }
   を打ち消す。プラグインCSSが後読みでテーマCSSと同じ詳細度のため、
   .rv-contact-form を付けて特異度を1段上げている */
.rv-contact-form .mw_wp_form .horizontal-item + .horizontal-item {
  margin-left: 0;
}
.rv-contact-form .mw_wp_form .horizontal-item label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--revive-text);
  cursor: pointer;
}
.rv-contact-form .mw_wp_form .mwform-checkbox-field label,
.rv-contact-form .mw_wp_form .mwform-radio-field label {
  font-size: 14px;
  color: var(--revive-text);
  line-height: 1.7;
}
.rv-contact-form .mw_wp_form .mwform-checkbox-field label a {
  color: var(--revive-red);
  text-decoration: underline;
}
.rv-contact-form .mw_wp_form .error {
  display: block;
  font-size: 12px;
  color: var(--revive-red);
  margin-top: 8px;
}
.rv-contact-form-caution {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--revive-red);
}

/* プライバシーポリシー同意（フォーム下の独立ボックス） */
.rv-contact-form-privacy {
  margin-top: 16px;
  padding: 22px 24px;
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  text-align: center;
}
.rv-contact-form-privacy .mwform-checkbox-field,
.rv-contact-form-privacy .horizontal-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.rv-contact-form-privacy .mwform-checkbox-field label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--revive-text);
  cursor: pointer;
}
.rv-contact-form-privacy .mwform-checkbox-field label a {
  color: var(--revive-red);
  text-decoration: underline;
}
.rv-contact-form-privacy .error {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--revive-red);
}

.rv-contact-form .mw_wp_form .action-buttons,
.rv-contact-form .mw_wp_form .mwform-submit-buttons {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
/* MW WP Form が出力する <br> が flex アイテムになり、
   gap の分だけ送信ボタンが右へずれてしまうため非表示にする */
.rv-contact-form .mw_wp_form .action-buttons br,
.rv-contact-form .mw_wp_form .mwform-submit-buttons br {
  display: none;
}
.rv-contact-form .mw_wp_form input[type="submit"],
.rv-contact-form .mw_wp_form button[type="submit"],
.rv-contact-form .mw_wp_form .mwform-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  background: var(--revive-red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 16px 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.rv-contact-form .mw_wp_form input[type="submit"]:hover,
.rv-contact-form .mw_wp_form button[type="submit"]:hover,
.rv-contact-form .mw_wp_form .mwform-submit-button:hover {
  background: var(--revive-red-dark);
}
.rv-contact-form .mw_wp_form input[type="submit"][name="submitBack"],
.rv-contact-form .mw_wp_form .mwform-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  background: #fff;
  color: var(--revive-text);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 24px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 0;
}
.rv-contact-form .mw_wp_form input[type="submit"][name="submitBack"]:hover,
.rv-contact-form .mw_wp_form .mwform-back-button:hover {
  background: #f5f5f5;
}
.rv-contact-form .mw_wp_form.mw_wp_form_confirm dl,
.rv-contact-form .mw_wp_form.mw_wp_form_complete dl {
  grid-template-columns: minmax(200px, 30%) 1fr;
}
.rv-contact-form .mw_wp_form.mw_wp_form_confirm dd,
.rv-contact-form .mw_wp_form.mw_wp_form_complete dd {
  font-size: 14px;
  line-height: 1.8;
  color: var(--revive-text);
}

/* 注意書き */
.rv-contact-note-section {
  background: #f3f3f3;
  padding: 40px 24px 56px;
  text-align: center;
}
.rv-contact-note {
  font-size: 13px;
  line-height: 2;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .rv-contact-hero__title { font-size: 26px; }
  /* 縦積みになるSPでは左右の余白を揃える（従来は padding-left:0 のため
     ボタンだけが枠線に張り付いて左にずれていた） */
  .rv-contact-reserve__box {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
  }
  .rv-contact-reserve__body {
    padding-left: 0;
    margin-bottom: 20px;
  }
  .rv-contact-reserve__btn {
    justify-content: center;
    padding-left: 24px;
    padding-right: 24px;
  }
  .rv-contact-categories__grid { grid-template-columns: 1fr; }
  .rv-contact-form-section { padding: 32px 16px 24px; }
  .rv-contact-steps { margin-bottom: 24px; }
  .rv-contact-steps__sep { margin: 0 4px; width: 16px; }
  .rv-contact-steps__item { min-width: 56px; }
  .rv-contact-steps__num { width: 34px; height: 34px; font-size: 14px; }
  .rv-contact-form .mw_wp_form dl {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }
  .rv-contact-form .mw_wp_form dt {
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
    padding: 14px 16px;
  }
  .rv-contact-form .mw_wp_form dd { padding: 14px 16px; }
  .rv-contact-form .mw_wp_form .horizontal-item {
    display: flex;
    margin: 0 0 8px;
  }
  .rv-contact-form-privacy { padding: 18px 16px; }
}

/* ---------- スマートフォン用固定フッター（3列） ---------- */
.rv-sp-fixed-footer { display: none; }

@media (max-width: 767px) {
  body { padding-bottom: 64px; }

  .rv-sp-fixed-footer {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    background: transparent;
  }

  .rv-sp-fixed-footer__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border-radius: 0 var(--rv-corner) 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
  }

  .rv-sp-fixed-footer__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 12px 8px;
    text-decoration: none;
    box-sizing: border-box;
  }

  .rv-sp-fixed-footer__content {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .rv-sp-fixed-footer__icon {
    font-size: 20px;
    line-height: 1;
  }

  .rv-sp-fixed-footer__label {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
  }

  /* 通常ページ：店舗一覧（白） / 料金表（濃赤） / 初めての方（赤） */
  .rv-sp-fixed-footer__item--find {
    background: #fff;
    color: var(--revive-red);
    border-top: 1px solid var(--revive-red);
  }
  .rv-sp-fixed-footer__item--find .rv-sp-fixed-footer__icon,
  .rv-sp-fixed-footer__item--find .rv-sp-fixed-footer__label {
    color: var(--revive-red);
  }

  .rv-sp-fixed-footer__item--menu {
    background: var(--revive-red-dark);
    color: #fff;
  }
  .rv-sp-fixed-footer__item--menu .rv-sp-fixed-footer__icon,
  .rv-sp-fixed-footer__item--menu .rv-sp-fixed-footer__label {
    color: #fff;
  }

  .rv-sp-fixed-footer__item--first {
    background: var(--revive-red);
    color: #fff;
  }
  .rv-sp-fixed-footer__item--first .rv-sp-fixed-footer__icon,
  .rv-sp-fixed-footer__item--first .rv-sp-fixed-footer__label {
    color: #fff;
  }

  .rv-sp-fixed-footer__badge { display: none; }

  /* 店舗詳細：リンクがある項目のみ表示し、残りを均等幅で配置 */
  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__inner {
    display: flex;
    border-radius: 0 var(--rv-corner) 0 0;
    overflow: hidden;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
  }

  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__item {
    flex: 1 1 0;
    min-width: 0;
    min-height: 64px;
    padding: 10px 4px;
    border: none;
  }

  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__content {
    flex-direction: column;
    gap: 4px;
  }

  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__icon {
    font-size: 22px;
  }

  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__label {
    font-size: 10px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__item--reserve {
    background: #fff;
    color: var(--revive-red);
    border-top: 1px solid var(--revive-red);
    border-left: 1px solid var(--revive-red);
  }
  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__item--reserve .rv-sp-fixed-footer__icon,
  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__item--reserve .rv-sp-fixed-footer__label {
    color: var(--revive-red);
  }

  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__item--tel {
    background: var(--revive-red);
    color: #fff;
  }
  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__item--tel .rv-sp-fixed-footer__icon,
  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__item--tel .rv-sp-fixed-footer__label {
    color: #fff;
  }

  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__item--line {
    background: #9e000b;
    color: #fff;
  }
  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__item--line .rv-sp-fixed-footer__icon,
  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__item--line .rv-sp-fixed-footer__label {
    color: #fff;
  }

  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__item--access {
    background: var(--revive-red);
    color: #fff;
  }
  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__item--access .rv-sp-fixed-footer__icon,
  .rv-sp-fixed-footer--store .rv-sp-fixed-footer__item--access .rv-sp-fixed-footer__label {
    color: #fff;
  }

  body:has(.rv-sp-fixed-footer--store) {
    padding-bottom: 72px;
  }
}

/* ---------- TOPへ戻る ---------- */
.rv-gotop-sentinel {
  position: absolute;
  top: 300px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
}
.rv-gotop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 960;
  display: block;
  width: 80px;
  height: 80px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.rv-gotop.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.rv-gotop:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.rv-gotop__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 767px) {
  .rv-gotop {
    right: 6px;
    bottom: 90px;
    width: 80px;
    height: 80px;
  }
}

/* ---------- 店舗詳細 (.rv-clinic-detail) ---------- */
.rv-clinic-detail ul { list-style: none; margin: 0; padding: 0; }
  .rv-clinic-detail { scroll-behavior: smooth; }
  .rv-clinic-detail > section { box-sizing: border-box; }
  .rv-clinic-detail .rv-container {
    max-width: 1080px; width: 100%; margin: 0 auto;
    padding-left: 24px; padding-right: 24px; box-sizing: border-box;
  }
  .rv-clinic-detail .rv-section-label { font-size: 12px; letter-spacing: 0.2em; color: var(--revive-red); font-weight: 600; text-transform: uppercase; }
  .rv-clinic-detail .rv-section-title { font-size: 28px; font-weight: 700; margin: 8px 0 12px; }
  .rv-clinic-detail .rv-btn-red { display: inline-block; background: var(--revive-red); color: #fff; font-size: 14px; font-weight: bold; padding: 12px 28px; border-radius: var(--rv-corner); text-decoration: none; }
  .rv-clinic-detail .rv-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .rv-clinic-detail .rv-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .rv-clinic-detail .rv-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .rv-clinic-detail .rv-grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .rv-clinic-detail .rv-clinic-fv {
    position: relative;
    width: 100%;
    background: #fff;
    padding: 48px 0;
    overflow: hidden;
  }
  .rv-clinic-detail .rv-clinic-fv__layout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 24px;
  }
  .rv-clinic-detail .rv-clinic-fv__media {
    width: 100%;
    max-width: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .rv-clinic-detail .rv-clinic-fv__movie.rv-concept-movie {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
  }
  .rv-clinic-detail .rv-clinic-fv__menu {
    position: fixed;
    right: 0;
    top: 40%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    width: 150px;
    border: 1px solid #e8e8e8;
    border-right: none;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: -4px 4px 16px rgba(0, 0, 0, 0.08);
    z-index: 2;
  }
  .rv-clinic-detail .rv-clinic-fv__menu-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 74px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    color: var(--revive-text);
    text-decoration: none;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .rv-clinic-detail .rv-clinic-fv__menu-item:last-child { border-bottom: none; }
  .rv-clinic-detail .rv-clinic-fv__menu-item:hover { background: #fafafa; }
  .rv-clinic-detail .rv-clinic-fv__menu-item--primary {
    background: var(--revive-red);
    color: #fff;
  }
  .rv-clinic-detail .rv-clinic-fv__menu-item--primary:hover {
    background: var(--revive-red-dark);
    color: #fff;
  }
  .rv-clinic-detail .rv-clinic-tel-popup {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
  }
  .rv-clinic-detail .rv-clinic-tel-popup[hidden] { display: none; }
  .rv-clinic-detail .rv-clinic-tel-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
  }
  .rv-clinic-detail .rv-clinic-tel-popup__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 12px;
    padding: 36px 28px 28px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  }
  .rv-clinic-detail .rv-clinic-tel-popup__close {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #666;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
  }
  .rv-clinic-detail .rv-clinic-tel-popup__title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--revive-text);
  }
  .rv-clinic-detail .rv-clinic-tel-popup__number {
    margin: 0 0 24px;
    font-size: 28px;
    font-weight: 700;
    color: var(--revive-red);
    letter-spacing: 0.04em;
    line-height: 1.3;
  }
  .rv-clinic-detail .rv-clinic-tel-popup__call {
    display: inline-block;
    background: var(--revive-red);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
  }
  .rv-clinic-detail .rv-clinic-tel-popup__call:hover { opacity: 0.92; color: #fff; }
  body.rv-clinic-tel-popup-open { overflow: hidden; }
  .rv-clinic-detail #clinic-director,
  .rv-clinic-detail #clinic-access { scroll-margin-top: 80px; }
  .rv-clinic-detail .rv-clinic-breadcrumb-section {
    background: #fff;
    border-bottom: 1px solid #eee;
  }
  .rv-clinic-detail .rv-clinic-breadcrumb {
    padding: 12px;
    font-size: 12px;
    color: #666;
    line-height: 1.6;
  }
  .rv-clinic-detail .rv-clinic-breadcrumb a {
    color: #666;
    text-decoration: none;
  }
  .rv-clinic-detail .rv-clinic-breadcrumb a:hover {
    color: var(--revive-red);
  }
  .rv-clinic-detail .rv-clinic-breadcrumb-current {
    color: #333;
  }
  .rv-clinic-detail .rv-store-info-section {
    padding: 40px 20px 48px;
    background: var(--revive-red);
  }
  .rv-clinic-detail .rv-store-info-title {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 28px;
    line-height: 1.4;
  }
  .rv-clinic-detail .rv-store-info-cols {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    gap: 32px;
    align-items: start;
  }
  .rv-clinic-detail .rv-store-info-photo {
    min-height: 240px;
    border-radius: 6px;
    overflow: hidden;
  }
  .rv-clinic-detail .rv-store-info-photo-img {
    display: block;
    width: 100%;
    min-height: 240px;
    object-fit: cover;
  }
  .rv-clinic-detail .rv-store-info-details {
    color: #fff;
    font-size: 14px;
    line-height: 1.9;
  }
  .rv-clinic-detail .rv-store-info-line {
    margin: 0 0 10px;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .rv-clinic-detail .rv-store-info-line:last-child { margin-bottom: 0; }
  .rv-clinic-detail .rv-store-info-label { font-weight: 600; }
  .rv-clinic-detail .rv-store-info-badges {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
  }
  .rv-clinic-detail .rv-store-info-badge {
    background: #fff;
    border-radius: var(--rv-corner);
    padding: 14px 8px;
    text-align: center;
    font-size: 14px;
    color: var(--revive-red);
    line-height: 1.5;
    font-weight: bold;
  }
  .rv-clinic-detail .rv-cta-reserve { padding: 40px 0; background: #fff; }
  .rv-clinic-detail .rv-cta-reserve-card {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 28px 28px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-top: 4px solid var(--revive-red);
    text-align: center;
  }
  .rv-clinic-detail .rv-cta-reserve-head { margin-bottom: 24px; }
  .rv-clinic-detail .rv-cta-reserve-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--revive-text);
    margin: 0 0 8px;
    line-height: 1.4;
    position: relative;
    padding-bottom: 14px;
  }
  .rv-clinic-detail .rv-cta-reserve-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: var(--revive-red);
    margin: 12px auto 0;
    border-radius: 2px;
  }
  .rv-clinic-detail .rv-cta-reserve-lead {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin: 0 auto;
    max-width: 640px;
  }
  .rv-clinic-detail .rv-cta-reserve-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .rv-clinic-detail .rv-cta-reserve-inner--no-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
    margin-inline: auto;
  }
  .rv-clinic-detail .rv-cta-reserve-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 14px 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--revive-red);
    border-radius: 8px;
    color: var(--revive-red);
    background: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  }
  .rv-clinic-detail .rv-cta-reserve-btn__icon {
    font-size: 18px;
    line-height: 1;
  }
  .rv-clinic-detail .rv-cta-reserve-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(215, 0, 15, 0.16);
    background: #fff5f5;
  }
  .rv-clinic-detail .rv-cta-reserve-btn.rv-cta-reserve-primary {
    background: var(--revive-red);
    color: #fff;
  }
  .rv-clinic-detail .rv-cta-reserve-btn.rv-cta-reserve-primary:hover {
    background: var(--revive-red-dark);
    color: #fff;
  }
  .rv-clinic-detail .rv-cta-reserve-contact {
    text-align: center;
    margin: 20px 0 0;
  }
  .rv-clinic-detail .rv-cta-reserve-contact a {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--revive-red);
    text-decoration: none;
    border-bottom: 1px solid rgba(215, 0, 15, 0.4);
    padding-bottom: 2px;
  }
  .rv-clinic-detail .rv-cta-reserve-contact a:hover {
    border-bottom-color: var(--revive-red);
  }
  .rv-clinic-detail .rv-access-table {
    width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed;
  }
  .rv-clinic-detail .rv-access-table th {
    text-align: left; vertical-align: top;
    width: 120px; white-space: nowrap;
    padding: 12px 16px 12px 0; color: #888; font-weight: 600;
    border-bottom: 1px solid #eee;
  }
  .rv-clinic-detail .rv-access-table td {
    padding: 12px 0; color: #333; line-height: 1.7;
    border-bottom: 1px solid #eee;
    word-break: normal; overflow-wrap: break-word;
  }
  .rv-clinic-detail .rv-feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
  .rv-clinic-detail .rv-feature-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 130px; padding: 20px 12px; border: 1px solid #eee; border-radius: 10px;
    background: #fafafa; text-align: center;
  }
  .rv-clinic-detail .rv-feature-icon-wrap {
    width: 56px; height: 56px; border-radius: 50%; background: #fff;
    border: 2px solid rgba(192,57,43,0.15); display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
  }
  .rv-clinic-detail .rv-feature-icon-wrap .ti { font-size: 28px; color: var(--revive-red); line-height: 1; }
  .rv-clinic-detail .rv-feature-label { font-size: 12px; font-weight: 700; color: #333; line-height: 1.5; }
  .rv-clinic-detail .rv-hours-table { width: 100%; border-collapse: collapse; font-size: 12px; background: #fff; }
  .rv-clinic-detail .rv-hours-table th,
  .rv-clinic-detail .rv-hours-table td { border: 1px solid #eee; padding: 10px 8px; text-align: center; }
  .rv-clinic-detail .rv-hours-table th { background: #fff; color: #888; font-weight: 600; }
  .rv-clinic-detail { padding-bottom: 0; }
  @media (max-width: 767px) {
    .rv-clinic-detail .rv-container {
      max-width: 1080px;
      width: 100%;
      margin: 0 auto;
      padding: 0;
      box-sizing: border-box;
    }
    .rv-clinic-detail .rv-grid-2, .rv-clinic-detail .rv-grid-3 { grid-template-columns: 1fr; }
    .rv-clinic-detail .rv-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .rv-clinic-detail .rv-grid-4--sp-1col { grid-template-columns: 1fr; }
    .rv-clinic-detail .rv-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .rv-clinic-detail .rv-section-title { font-size: 22px; }
    .rv-clinic-detail .rv-clinic-fv { padding: 32px 0 24px; }
    .rv-clinic-detail .rv-clinic-fv__layout { padding: 0 16px; }
    .rv-clinic-detail .rv-clinic-fv__menu {
      position: static;
      transform: none;
      width: calc(100% - 32px);
      margin: 20px auto 0;
      flex-direction: row;
      flex-wrap: wrap;
      border: 1px solid #e8e8e8;
      border-radius: 8px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }
    .rv-clinic-detail .rv-clinic-fv__menu-item {
      flex: 1 1 50%;
      min-height: 56px;
      border-bottom: 1px solid #e8e8e8;
      border-right: 1px solid #e8e8e8;
    }
    .rv-clinic-detail .rv-clinic-fv__menu-item:nth-child(2n) { border-right: none; }
    .rv-clinic-detail .rv-clinic-fv__menu-item:nth-last-child(-n+2) { border-bottom: none; }
    .rv-clinic-detail .rv-access-table th,
    .rv-clinic-detail .rv-access-table td { display: block; width: 100%; box-sizing: border-box; }
    .rv-clinic-detail .rv-access-table th {
      white-space: normal; padding-bottom: 4px; border-bottom: none;
    }
    .rv-clinic-detail .rv-access-table td { padding-top: 0; padding-bottom: 16px; }
    .rv-clinic-detail .rv-cta-reserve { padding: 28px 0; }
    .rv-clinic-detail .rv-cta-reserve-card {
      margin: 0 16px;
      padding: 24px 16px 22px;
    }
    .rv-clinic-detail .rv-cta-reserve-title { font-size: 20px; }
    .rv-clinic-detail .rv-cta-reserve-lead { font-size: 13px; line-height: 1.7; }
    .rv-clinic-detail .rv-cta-reserve-inner { grid-template-columns: 1fr; gap: 10px; }
    .rv-clinic-detail .rv-cta-reserve-btn { min-height: 48px; width: 100%; }
    .rv-clinic-detail .rv-store-info-cols { grid-template-columns: 1fr; }
    .rv-clinic-detail .rv-store-info-photo { min-height: 200px; }
    .rv-clinic-detail .rv-store-info-badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rv-clinic-detail .rv-store-info-badge {
      background: #fff;
      border-radius: var(--rv-corner);
      padding: 8px 6px;
      text-align: center;
      font-size: 10px;
      color: var(--revive-red);
      line-height: 1.5;
      font-weight: bold;
    }
    .rv-clinic-detail .rv-feature-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .rv-clinic-detail .rv-feature-tile { min-height: 110px; padding: 14px 8px; }
    .rv-clinic-detail .rv-feature-icon-wrap { width: 48px; height: 48px; }
    .rv-clinic-detail .rv-feature-icon-wrap .ti { font-size: 24px; }
    .rv-clinic-detail .rv-feature-label { font-size: 11px; }
    .rv-clinic-detail .rv-hours-scroll { overflow-x: auto; }
  }
/* 共通 .rv-hours-table の table-layout:fixed を打ち消し、受付時間列を広く確保する */
  .rv-clinic-detail .rv-hours-cross { table-layout: auto; }
  .rv-clinic-detail .rv-hours-cross th.rv-hours-cross__slot { white-space: nowrap; color: #555; width: 1%; text-align: left; padding-left: 10px; padding-right: 10px; }
  .rv-clinic-detail .rv-hours-cross thead th:not(.rv-hours-cross__slot),
  .rv-clinic-detail .rv-hours-cross tbody td { width: auto; white-space: nowrap; }
  .rv-clinic-detail .rv-hours-cross td.rv-hours-cross__open { color: var(--revive-red); font-weight: 700; font-size: 15px; }
  .rv-clinic-detail .rv-hours-cross td.rv-hours-cross__closed { color: #bbb; font-size: 15px; }
.rv-clinic-detail .rv-director-card {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    border: 1px solid #eee;
    border-radius: 0 20px 0 0;
    padding: 32px;
    background: #fff;
  }
  .rv-clinic-detail .rv-director-card + .rv-director-card { margin-top: 24px; }
  .rv-clinic-detail .rv-director-card__photo {
    width: 200px;
    height: 240px;
    flex-shrink: 0;
    border-radius: 0 20px 0 0;
    object-fit: cover;
    display: block;
  }
  .rv-clinic-detail .rv-director-card__body { flex: 1; min-width: 0; }
  .rv-clinic-detail .rv-director-card__role {
    font-size: 12px; font-weight: 600; color: var(--revive-red);
    letter-spacing: .08em; margin: 0 0 6px;
  }
  .rv-clinic-detail .rv-director-card__name {
    font-size: 26px; font-weight: 700; color: var(--revive-text); margin: 0 0 4px;
  }
  .rv-clinic-detail .rv-director-card__kana { font-size: 13px; color: #999; margin: 0 0 16px; }
  .rv-clinic-detail .rv-director-card__quals {
    font-size: 14px; font-weight: 600; color: #555;
    margin: 0 0 20px; padding-bottom: 14px; border-bottom: 1px solid #eee;
  }
  .rv-clinic-detail .rv-director-detail { margin: 0; }
  .rv-clinic-detail .rv-director-detail__row { margin: 0 0 16px; }
  .rv-clinic-detail .rv-director-detail__row:last-child { margin-bottom: 0; }
  .rv-clinic-detail .rv-director-detail__label {
    display: inline-block; font-size: 14px; font-weight: bold; color: #fff;
    background: var(--revive-red); border-radius: 3px; padding: 6px 10px; margin-bottom: 8px;
  }
  .rv-clinic-detail .rv-director-detail__text {
    font-size: 14px; line-height: 1.9; color: #555; margin: 0;
  }

  /* スタッフカード */
  .rv-clinic-detail .rv-staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding: 0 20px;
  }
  .rv-clinic-detail .rv-staff-card {
    border: 1px solid #eee;
    border-radius: 0 16px 0 0;
    overflow: hidden;
    background: #fff;
    text-align: center;
  }
  .rv-clinic-detail .rv-staff-card__photo {
    width: 100%; height: 200px; object-fit: cover; display: block; background: #efefef;
    border-radius: 0 16px 0 0;
  }
  .rv-clinic-detail .rv-staff-card__body { padding: 16px 14px 20px; }
  .rv-clinic-detail .rv-staff-card__role {
    font-size: 11px; font-weight: 600; color: var(--revive-red); letter-spacing: .06em; margin: 0 0 4px;
  }
  .rv-clinic-detail .rv-staff-card__name { font-size: 16px; font-weight: 700; color: var(--revive-text); margin: 0 0 2px; }
  .rv-clinic-detail .rv-staff-card__kana { font-size: 11px; color: #999; margin: 0 0 10px; }
  .rv-clinic-detail .rv-staff-card__quals { font-size: 12px; color: #666; line-height: 1.6; margin: 0; }

  @media (max-width: 1024px) {
    .rv-clinic-detail .rv-staff-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 767px) {
    .rv-clinic-detail .rv-director-card { flex-direction: column; align-items: center; text-align: center; }
    .rv-clinic-detail .rv-director-card__photo { width: 180px; height: 220px; }
    .rv-clinic-detail .rv-director-card__body { width: 100%; }
    .rv-clinic-detail .rv-director-detail__label { margin-top: 4px; }
    .rv-clinic-detail .rv-staff-grid { grid-template-columns: repeat(2, 1fr); }
  }
.rv-achievements-section {
  padding: 64px 24px;
  background: #f3f3f3;
}
.rv-achievements-grid {
  display: grid;
  justify-items: center;
}
.rv-achievements-grid--primary {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 840px;
  margin: 0 auto 48px;
}
.rv-achievements-grid--secondary {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

/* 円共通：ラベル・数字・単位・補足まで円内に収める */
.rv-achievement-circle {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  padding: 12px;
  box-sizing: border-box;
}

/* 上段：赤塗り・白文字 */
.rv-achievement-item--large .rv-achievement-circle {
  background: var(--revive-red, #c41e3a);
  color: #fff;
  width: 220px;
  max-width: 100%;
}
.rv-achievement-item--large .rv-achievement-icon {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
  margin-bottom: 6px;
}
.rv-achievement-item--large .rv-achievement-label {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.3;
}
.rv-achievement-item--large .rv-achievement-value {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}
.rv-achievement-item--large .rv-achievement-unit {
  font-size: 15px;
  margin-left: 2px;
}
.rv-achievement-item--large .rv-achievement-note {
  color: rgba(255,255,255,0.9);
}

/* 下段：白地・赤枠・赤文字 */
.rv-achievement-item--small .rv-achievement-circle {
  background: #fff;
  border: 2px solid var(--revive-red, #c41e3a);
  color: var(--revive-red, #c41e3a);
  width: 160px;
  max-width: 100%;
}
.rv-achievement-item--small .rv-achievement-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.25;
}
.rv-achievement-item--small .rv-achievement-value {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: #1a1a1a;
}
.rv-achievement-item--small .rv-achievement-unit {
  font-size: 13px;
  margin-left: 2px;
  color: #1a1a1a;
}
.rv-achievement-item--small .rv-achievement-note {
  color: #666;
}

/* 円内の補足テキスト */
.rv-achievement-note {
  font-size: 10px;
  line-height: 1.5;
  margin-top: 6px;
}

@media (max-width: 1024px) {
  .rv-achievements-grid--primary { grid-template-columns: repeat(2, 1fr); }
  .rv-achievements-grid--secondary { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .rv-achievements-grid--primary { grid-template-columns: 1fr; }
  .rv-achievements-grid--secondary { grid-template-columns: repeat(2, 1fr); }
}
.rv-clinic-detail .rv-clinic-back {
  padding: 24px;
  text-align: center;
}
.rv-clinic-detail .rv-clinic-back a {
  font-size: 14px;
  font-weight: 600;
  color: var(--revive-red);
  text-decoration: none;
}
