/*
 * IRODORI Theme: rental-mgmt — 賃貸管理会社
 * Property-Trust: Navy #1E3A52 × Steel #4A7B9A × Gold CTA #C8923A
 * Preloader: L33 鍵SVGパスドロー → 解錠
 * Hero: DD Split — 左=マンション写真 / 右=管理実績4数値
 */

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --rm-navy: #1E3A52;
  --rm-navy-deep: #152B3E;
  --rm-navy-pale: #D8E4EC;
  --rm-steel: #4A7B9A;
  --rm-steel-light: #6B9AB8;
  --rm-steel-pale: #E4EEF4;
  --rm-gold: #C8923A;
  --rm-gold-deep: #A87020;
  --rm-gold-pale: #F2E4C8;
  --rm-cream: #F5F2ED;
  --rm-cream-dark: #EAE6DF;
  --rm-ivory: #FAF8F4;
  --rm-charcoal: #2A3240;
  --rm-charcoal-light: #4A5568;
  --rm-silver: #8FA5B8;
  --rm-silver-light: #BDD0DC;
  --rm-white: #FFFFFF;
  --rm-border: #D0DCE8;
  --rm-shadow: rgba(30, 58, 82, 0.12);
  --rm-shadow-deep: rgba(30, 58, 82, 0.24);

  --rm-font-primary: "Noto Sans JP", "DM Sans", sans-serif;
  --rm-font-display: "DM Sans", "Noto Sans JP", sans-serif;

  --rm-radius: 8px;
  --rm-radius-lg: 16px;
  --rm-radius-xl: 24px;
  --rm-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --rm-transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--rm-font-primary);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--rm-charcoal);
  background-color: var(--rm-ivory);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ============================================================
   Typography
   ============================================================ */
.rm-heading-xl {
  font-family: var(--rm-font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--rm-navy);
}

.rm-heading-lg {
  font-family: var(--rm-font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--rm-navy);
}

.rm-heading-md {
  font-family: var(--rm-font-display);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--rm-navy);
}

.rm-eyebrow {
  font-family: var(--rm-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rm-gold);
}

.rm-section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.rm-section-subtitle {
  text-align: center;
  color: var(--rm-charcoal-light);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 3rem;
}

/* ============================================================
   L33 Preloader — 鍵SVGパスドロー + 解錠
   ============================================================ */
.rm-preloader {
  position: fixed;
  inset: 0;
  background: var(--rm-navy);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.rm-preloader.rm-preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.rm-preloader-svg-wrap {
  width: 120px;
  height: 120px;
  position: relative;
}

.rm-preloader-key {
  width: 120px;
  height: 120px;
  overflow: visible;
}

.rm-preloader-key-path {
  fill: none;
  stroke: var(--rm-gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: rm-key-draw 1.4s ease forwards 0.3s;
}

.rm-preloader-keyhole {
  fill: none;
  stroke: var(--rm-steel-light);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: rm-keyhole-draw 0.8s ease forwards 1.8s;
}

.rm-preloader-check {
  fill: none;
  stroke: var(--rm-gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: rm-check-draw 0.4s ease forwards 2.7s;
  opacity: 0;
}

.rm-preloader-check { animation-fill-mode: both; }

@keyframes rm-key-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes rm-keyhole-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes rm-check-draw {
  0% { stroke-dashoffset: 60; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

.rm-preloader-brand {
  font-family: var(--rm-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rm-white);
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(8px);
  animation: rm-brand-fade 0.5s ease forwards 2.5s;
}

.rm-preloader-brand span {
  color: var(--rm-gold);
}

@keyframes rm-brand-fade {
  to { opacity: 1; transform: translateY(0); }
}

.rm-preloader-bar {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: rm-bar-appear 0.1s ease forwards 0.3s;
}

.rm-preloader-bar-fill {
  height: 100%;
  background: var(--rm-gold);
  border-radius: 2px;
  width: 0;
  animation: rm-bar-fill 2.4s ease forwards 0.4s;
}

@keyframes rm-bar-appear {
  to { opacity: 1; }
}

@keyframes rm-bar-fill {
  0% { width: 0; }
  60% { width: 70%; }
  80% { width: 88%; }
  100% { width: 100%; }
}

/* ============================================================
   Header
   ============================================================ */
.rm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--rm-transition), box-shadow var(--rm-transition);
  height: 72px;
}

.rm-header.is-scrolled {
  background: var(--rm-navy);
  box-shadow: 0 2px 20px var(--rm-shadow-deep);
}

.rm-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.rm-logo {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  text-decoration: none;
}

.rm-logo-name {
  font-family: var(--rm-font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--rm-white);
  letter-spacing: 0.02em;
  line-height: 1;
}

.rm-logo-tagline {
  font-size: 0.65rem;
  color: var(--rm-gold);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.rm-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.rm-nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.rm-nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.03em;
  transition: color var(--rm-transition);
  position: relative;
}

.rm-nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rm-gold);
  transition: width var(--rm-transition);
}

.rm-nav-link:hover {
  color: var(--rm-white);
}

.rm-nav-link:hover::after {
  width: 100%;
}

.rm-header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rm-header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.rm-header-tel-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
}

.rm-header-tel-number {
  font-family: var(--rm-font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--rm-white);
  letter-spacing: 0.04em;
}

.rm-btn-header {
  background: var(--rm-gold);
  color: var(--rm-white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: var(--rm-radius);
  letter-spacing: 0.04em;
  transition: background var(--rm-transition), transform var(--rm-transition);
  white-space: nowrap;
}

.rm-btn-header:hover {
  background: var(--rm-gold-deep);
  transform: translateY(-1px);
}

.rm-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  background: none;
  border: none;
}

.rm-hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--rm-white);
  border-radius: 2px;
  transition: var(--rm-transition);
}

/* ============================================================
   Drawer
   ============================================================ */
.rm-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 90vw);
  height: 100%;
  background: var(--rm-navy-deep);
  z-index: 1100;
  transition: right var(--rm-transition-slow);
  display: flex;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  overflow-y: auto;
}

.rm-drawer.is-open {
  right: 0;
}

.rm-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--rm-transition-slow);
}

.rm-drawer-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.rm-drawer-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--rm-white);
  font-size: 1.25rem;
  transition: background var(--rm-transition);
}

.rm-drawer-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.rm-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rm-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color var(--rm-transition);
}

.rm-drawer-link:hover {
  color: var(--rm-gold);
}

.rm-drawer-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rm-drawer-tel-block {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--rm-radius);
}

.rm-drawer-tel-number {
  font-family: var(--rm-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--rm-white);
}

/* ============================================================
   Hero DD — Split Layout
   ============================================================ */
.rm-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.rm-hero-photo-side {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.rm-hero-photo-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: rm-hero-zoom 8s ease-out forwards;
}

@keyframes rm-hero-zoom {
  to { transform: scale(1); }
}

.rm-hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30, 58, 82, 0.3), transparent 60%);
}

.rm-hero-data-side {
  background: var(--rm-navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 4rem 5rem;
  position: relative;
}

.rm-hero-data-side::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--rm-gold), var(--rm-steel));
}

.rm-hero-eyebrow {
  font-family: var(--rm-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rm-gold);
  margin-bottom: 1rem;
  opacity: 0;
  animation: rm-fade-up 0.6s ease forwards 0.4s;
}

.rm-hero-title {
  font-family: var(--rm-font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--rm-white);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: rm-fade-up 0.6s ease forwards 0.6s;
}

.rm-hero-title-accent {
  color: var(--rm-gold);
}

.rm-hero-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: rm-fade-up 0.6s ease forwards 0.8s;
}

.rm-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: rm-fade-up 0.6s ease forwards 1s;
}

.rm-hero-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--rm-radius);
  padding: 1.125rem 1rem;
  position: relative;
  overflow: hidden;
  transition: background var(--rm-transition), border-color var(--rm-transition);
}

.rm-hero-stat:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(200, 146, 58, 0.4);
}

.rm-hero-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--rm-gold);
  opacity: 0.7;
}

.rm-hero-stat-value {
  font-family: var(--rm-font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--rm-white);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.rm-hero-stat-unit {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rm-gold);
  margin-left: 0.2rem;
}

.rm-hero-stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.rm-hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: rm-fade-up 0.6s ease forwards 1.2s;
}

@keyframes rm-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Buttons
   ============================================================ */
.rm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--rm-font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--rm-radius);
  transition: all var(--rm-transition);
  cursor: pointer;
  white-space: nowrap;
}

.rm-btn-primary {
  background: var(--rm-gold);
  color: var(--rm-white);
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  box-shadow: 0 4px 16px rgba(200, 146, 58, 0.35);
}

.rm-btn-primary:hover {
  background: var(--rm-gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 146, 58, 0.45);
}

.rm-btn-outline {
  background: transparent;
  color: var(--rm-white);
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.rm-btn-outline:hover {
  border-color: var(--rm-white);
  background: rgba(255, 255, 255, 0.08);
}

.rm-btn-navy {
  background: var(--rm-navy);
  color: var(--rm-white);
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
}

.rm-btn-navy:hover {
  background: var(--rm-navy-deep);
  transform: translateY(-2px);
}

/* ============================================================
   Section Wrapper
   ============================================================ */
.rm-section {
  padding: 6rem 2rem;
}

.rm-section-cream {
  background: var(--rm-cream);
}

.rm-section-navy {
  background: var(--rm-navy);
  color: var(--rm-white);
}

.rm-section-ivory {
  background: var(--rm-ivory);
}

.rm-container {
  max-width: 1200px;
  margin: 0 auto;
}

.rm-container-sm {
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================================
   Pain Section — オーナー4大課題
   ============================================================ */
.rm-pain-section {
  background: var(--rm-navy);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.rm-pain-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(74, 123, 154, 0.15), transparent 60%);
  pointer-events: none;
}

.rm-pain-eyebrow {
  font-family: var(--rm-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rm-gold);
  text-align: center;
  margin-bottom: 0.75rem;
}

.rm-pain-title {
  font-family: var(--rm-font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--rm-white);
  text-align: center;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.rm-pain-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  margin-bottom: 3rem;
}

.rm-pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.rm-pain-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--rm-radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: background var(--rm-transition), border-color var(--rm-transition), transform var(--rm-transition);
}

.rm-pain-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(200, 146, 58, 0.4);
  transform: translateY(-4px);
}

.rm-pain-number {
  font-family: var(--rm-font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(200, 146, 58, 0.12);
  line-height: 1;
  position: absolute;
  top: 0.75rem;
  right: 1rem;
}

.rm-pain-icon {
  width: 48px;
  height: 48px;
  background: var(--rm-gold-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.rm-pain-icon svg {
  width: 24px;
  height: 24px;
  color: var(--rm-gold);
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rm-pain-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rm-white);
  margin-bottom: 0.625rem;
  line-height: 1.4;
}

.rm-pain-card-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

/* ============================================================
   Service Section — 管理サービス4種
   ============================================================ */
.rm-service-section {
  background: var(--rm-ivory);
  padding: 6rem 2rem;
}

.rm-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.rm-service-card {
  background: var(--rm-white);
  border-radius: var(--rm-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 20px var(--rm-shadow);
  transition: transform var(--rm-transition), box-shadow var(--rm-transition);
  display: grid;
  grid-template-columns: 280px 1fr;
}

.rm-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--rm-shadow-deep);
}

.rm-service-card-img {
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.rm-service-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.rm-service-number {
  font-family: var(--rm-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--rm-gold);
  text-transform: uppercase;
}

.rm-service-card-title {
  font-family: var(--rm-font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--rm-navy);
  line-height: 1.3;
}

.rm-service-card-desc {
  font-size: 0.875rem;
  color: var(--rm-charcoal-light);
  line-height: 1.75;
  flex: 1;
}

.rm-service-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.rm-service-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--rm-charcoal);
  font-weight: 500;
}

.rm-service-list-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rm-gold);
  flex-shrink: 0;
}

/* ============================================================
   Stats Section — 管理実績数値
   ============================================================ */
.rm-stats-section {
  background: var(--rm-cream);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.rm-stats-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--rm-font-display);
  font-size: 15rem;
  font-weight: 900;
  color: rgba(30, 58, 82, 0.035);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.rm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.rm-stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--rm-white);
  border-radius: var(--rm-radius-xl);
  box-shadow: 0 4px 24px var(--rm-shadow);
  border-top: 4px solid var(--rm-navy);
  transition: transform var(--rm-transition), box-shadow var(--rm-transition);
}

.rm-stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px var(--rm-shadow-deep);
}

.rm-stat-item:nth-child(2) { border-top-color: var(--rm-steel); }
.rm-stat-item:nth-child(3) { border-top-color: var(--rm-gold); }
.rm-stat-item:nth-child(4) { border-top-color: var(--rm-navy); }

.rm-stat-value {
  font-family: var(--rm-font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--rm-navy);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.rm-stat-value .rm-stat-suffix {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rm-steel);
}

.rm-stat-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rm-charcoal);
  margin-bottom: 0.375rem;
}

.rm-stat-desc {
  font-size: 0.75rem;
  color: var(--rm-charcoal-light);
}

/* ============================================================
   Simulator Section — 管理費シミュレーター
   ============================================================ */
.rm-sim-section {
  background: var(--rm-navy);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.rm-sim-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at 100% 100%, rgba(74, 123, 154, 0.2), transparent 60%);
  pointer-events: none;
}

.rm-sim-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.rm-sim-desc-side .rm-sim-eyebrow {
  font-family: var(--rm-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--rm-gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.rm-sim-desc-side h2 {
  font-family: var(--rm-font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--rm-white);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.rm-sim-desc-side p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.rm-sim-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rm-sim-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.rm-sim-feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rm-gold);
  flex-shrink: 0;
}

.rm-sim-card {
  background: var(--rm-white);
  border-radius: var(--rm-radius-xl);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.rm-sim-card-title {
  font-family: var(--rm-font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--rm-navy);
  margin-bottom: 2rem;
  text-align: center;
}

.rm-sim-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.rm-sim-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.rm-sim-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--rm-navy);
  letter-spacing: 0.03em;
}

.rm-sim-input,
.rm-sim-select {
  height: 46px;
  padding: 0 1rem;
  border: 2px solid var(--rm-border);
  border-radius: var(--rm-radius);
  font-family: var(--rm-font-primary);
  font-size: 0.9375rem;
  color: var(--rm-charcoal);
  background: var(--rm-ivory);
  transition: border-color var(--rm-transition);
  outline: none;
  appearance: none;
}

.rm-sim-input:focus,
.rm-sim-select:focus {
  border-color: var(--rm-navy);
}

.rm-sim-result {
  background: var(--rm-cream);
  border-radius: var(--rm-radius);
  padding: 1.5rem;
  text-align: center;
  border: 2px dashed var(--rm-border);
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--rm-transition);
}

.rm-sim-result.is-active {
  background: var(--rm-navy);
  border-color: var(--rm-navy);
  border-style: solid;
}

.rm-sim-result-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--rm-silver);
  text-transform: uppercase;
}

.rm-sim-result.is-active .rm-sim-result-label {
  color: rgba(255, 255, 255, 0.6);
}

.rm-sim-result-value {
  font-family: var(--rm-font-display);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--rm-navy);
  line-height: 1;
}

.rm-sim-result.is-active .rm-sim-result-value {
  color: var(--rm-gold);
}

.rm-sim-result-note {
  font-size: 0.7rem;
  color: var(--rm-charcoal-light);
}

.rm-sim-result.is-active .rm-sim-result-note {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   Case Section — オーナー事例
   ============================================================ */
.rm-case-section {
  background: var(--rm-ivory);
  padding: 6rem 2rem;
}

.rm-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.rm-case-card {
  background: var(--rm-white);
  border-radius: var(--rm-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 20px var(--rm-shadow);
  transition: transform var(--rm-transition), box-shadow var(--rm-transition);
}

.rm-case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--rm-shadow-deep);
}

.rm-case-card-header {
  background: var(--rm-navy);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.rm-case-tag {
  background: var(--rm-gold);
  color: var(--rm-white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.rm-case-card-title {
  font-family: var(--rm-font-display);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--rm-white);
  line-height: 1.35;
}

.rm-case-card-body {
  padding: 2rem;
}

.rm-case-before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.rm-case-before,
.rm-case-after {
  text-align: center;
}

.rm-case-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  margin-bottom: 0.5rem;
}

.rm-case-before .rm-case-label {
  background: rgba(216, 228, 236, 0.6);
  color: var(--rm-charcoal-light);
}

.rm-case-after .rm-case-label {
  background: var(--rm-gold-pale);
  color: var(--rm-gold-deep);
}

.rm-case-value {
  font-family: var(--rm-font-display);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.rm-case-before .rm-case-value {
  color: var(--rm-charcoal-light);
}

.rm-case-after .rm-case-value {
  color: var(--rm-navy);
}

.rm-case-arrow {
  font-size: 1.5rem;
  color: var(--rm-gold);
  font-weight: 900;
}

.rm-case-desc {
  font-size: 0.875rem;
  color: var(--rm-charcoal-light);
  line-height: 1.75;
}

.rm-case-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rm-navy-pale);
}

.rm-case-owner-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.rm-case-owner-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--rm-navy);
}

.rm-case-owner-info {
  font-size: 0.75rem;
  color: var(--rm-silver);
}

/* ============================================================
   Process Section — 管理委託の流れ
   ============================================================ */
.rm-process-section {
  background: var(--rm-cream);
  padding: 6rem 2rem;
}

.rm-process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.rm-process-steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 2px;
  background: var(--rm-navy-pale);
  z-index: 0;
}

.rm-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.rm-process-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--rm-white);
  border: 3px solid var(--rm-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  transition: background var(--rm-transition), border-color var(--rm-transition);
  flex-shrink: 0;
  box-shadow: 0 4px 16px var(--rm-shadow);
}

.rm-process-step:hover .rm-process-number {
  background: var(--rm-navy);
  border-color: var(--rm-navy);
}

.rm-process-num-text {
  font-family: var(--rm-font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--rm-navy);
  transition: color var(--rm-transition);
}

.rm-process-step:hover .rm-process-num-text {
  color: var(--rm-gold);
}

.rm-process-step-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--rm-navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.rm-process-step-desc {
  font-size: 0.8rem;
  color: var(--rm-charcoal-light);
  line-height: 1.6;
}

/* ============================================================
   Comparison Table Section
   ============================================================ */
.rm-compare-section {
  background: var(--rm-ivory);
  padding: 6rem 2rem;
}

.rm-compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--rm-radius-lg);
  box-shadow: 0 4px 24px var(--rm-shadow);
}

.rm-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--rm-white);
  min-width: 600px;
}

.rm-compare-table thead tr {
  background: var(--rm-navy);
}

.rm-compare-table th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--rm-font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--rm-white);
}

.rm-compare-table th:first-child {
  width: 35%;
}

.rm-compare-table th.rm-compare-highlight {
  background: var(--rm-gold);
  text-align: center;
}

.rm-compare-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--rm-navy-pale);
  font-size: 0.875rem;
  color: var(--rm-charcoal);
}

.rm-compare-table td.rm-compare-center {
  text-align: center;
}

.rm-compare-table td.rm-compare-highlight-cell {
  background: var(--rm-gold-pale);
  text-align: center;
  font-weight: 700;
  color: var(--rm-gold-deep);
}

.rm-compare-table tbody tr:hover {
  background: var(--rm-steel-pale);
}

.rm-compare-check {
  color: var(--rm-steel);
  font-size: 1rem;
}

.rm-compare-check-gold {
  color: var(--rm-gold);
  font-size: 1.125rem;
  font-weight: 900;
}

.rm-compare-x {
  color: var(--rm-silver);
}

/* ============================================================
   Staff Section
   ============================================================ */
.rm-staff-section {
  background: var(--rm-cream);
  padding: 6rem 2rem;
}

.rm-staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.rm-staff-card {
  background: var(--rm-white);
  border-radius: var(--rm-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px var(--rm-shadow);
  transition: transform var(--rm-transition), box-shadow var(--rm-transition);
}

.rm-staff-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--rm-shadow-deep);
}

.rm-staff-photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.rm-staff-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--rm-transition-slow);
}

.rm-staff-card:hover .rm-staff-photo {
  transform: scale(1.05);
}

.rm-staff-photo-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: var(--rm-navy);
  color: var(--rm-white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.rm-staff-body {
  padding: 1.25rem;
}

.rm-staff-role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--rm-gold);
  text-transform: uppercase;
  margin-bottom: 0.375rem;
}

.rm-staff-name {
  font-family: var(--rm-font-display);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--rm-navy);
  margin-bottom: 0.5rem;
}

.rm-staff-name-en {
  font-size: 0.75rem;
  color: var(--rm-silver);
  margin-bottom: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.rm-staff-license {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rm-steel);
  padding: 0.25rem 0.625rem;
  background: var(--rm-steel-pale);
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.rm-staff-desc {
  font-size: 0.8125rem;
  color: var(--rm-charcoal-light);
  line-height: 1.65;
}

/* ============================================================
   FAQ Section
   ============================================================ */
.rm-faq-section {
  background: var(--rm-ivory);
  padding: 6rem 2rem;
}

.rm-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--rm-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 20px var(--rm-shadow);
}

.rm-faq-item {
  background: var(--rm-white);
  border-bottom: 1px solid var(--rm-navy-pale);
}

.rm-faq-item:last-child {
  border-bottom: none;
}

.rm-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  text-align: left;
  cursor: pointer;
  gap: 1.5rem;
  transition: background var(--rm-transition);
}

.rm-faq-question:hover {
  background: var(--rm-cream);
}

.rm-faq-q-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rm-navy);
  color: var(--rm-white);
  font-family: var(--rm-font-display);
  font-size: 0.875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rm-faq-question-text {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--rm-navy);
  flex: 1;
  line-height: 1.4;
}

.rm-faq-icon {
  width: 24px;
  height: 24px;
  color: var(--rm-steel);
  flex-shrink: 0;
  transition: transform var(--rm-transition);
}

.rm-faq-item.is-open .rm-faq-icon {
  transform: rotate(180deg);
}

.rm-faq-answer {
  display: none;
  padding: 0 2rem 1.5rem 5rem;
}

.rm-faq-item.is-open .rm-faq-answer {
  display: block;
}

.rm-faq-answer-text {
  font-size: 0.875rem;
  color: var(--rm-charcoal-light);
  line-height: 1.8;
}

/* ============================================================
   CTA Banner
   ============================================================ */
.rm-cta-banner {
  background: var(--rm-navy);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.rm-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(74, 123, 154, 0.25), transparent 55%),
              radial-gradient(ellipse at 70% 50%, rgba(200, 146, 58, 0.12), transparent 50%);
  pointer-events: none;
}

.rm-cta-banner-inner {
  position: relative;
  z-index: 1;
}

.rm-cta-banner-eyebrow {
  font-family: var(--rm-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rm-gold);
  margin-bottom: 1rem;
}

.rm-cta-banner-title {
  font-family: var(--rm-font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--rm-white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.rm-cta-banner-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.rm-cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.rm-cta-tel-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.rm-cta-tel-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rm-cta-tel-number {
  font-family: var(--rm-font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--rm-white);
  letter-spacing: 0.04em;
}

.rm-cta-tel-hours {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   Footer
   ============================================================ */
.rm-footer {
  background: var(--rm-charcoal);
  color: var(--rm-white);
  padding: 4rem 2rem 2rem;
}

.rm-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.rm-footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.rm-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rm-footer-brand-name {
  font-family: var(--rm-font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--rm-white);
  margin-bottom: 0.375rem;
}

.rm-footer-brand-tagline {
  font-size: 0.75rem;
  color: var(--rm-gold);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.rm-footer-brand-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.rm-footer-license {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rm-footer-license-item {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
  border-left: 2px solid var(--rm-gold);
  padding-left: 0.625rem;
}

.rm-footer-col-title {
  font-family: var(--rm-font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}

.rm-footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.rm-footer-nav-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--rm-transition);
}

.rm-footer-nav-link:hover {
  color: var(--rm-gold);
}

.rm-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.rm-footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

.rm-footer-legal {
  display: flex;
  gap: 1.5rem;
}

.rm-footer-legal-link {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--rm-transition);
}

.rm-footer-legal-link:hover {
  color: var(--rm-white);
}

/* ============================================================
   Float CTA
   ============================================================ */
.rm-float-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--rm-transition), transform var(--rm-transition);
  pointer-events: none;
}

.rm-float-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.rm-float-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-family: var(--rm-font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform var(--rm-transition), box-shadow var(--rm-transition);
  white-space: nowrap;
}

.rm-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.rm-float-btn-consult {
  background: var(--rm-gold);
  color: var(--rm-white);
}

.rm-float-btn-tel {
  background: var(--rm-navy);
  color: var(--rm-white);
}

/* ============================================================
   Scroll Animations
   ============================================================ */
.rm-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.rm-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rm-reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.rm-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.rm-reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.rm-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.rm-reveal-delay-1 { transition-delay: 0.1s; }
.rm-reveal-delay-2 { transition-delay: 0.2s; }
.rm-reveal-delay-3 { transition-delay: 0.3s; }
.rm-reveal-delay-4 { transition-delay: 0.4s; }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .rm-reveal,
  .rm-reveal-left,
  .rm-reveal-right {
    opacity: 1;
    transform: none;
  }
  .rm-hero-photo-side img {
    transform: scale(1);
    animation: none;
  }
}

/* ============================================================
   Responsive — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .rm-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .rm-hero-photo-side {
    min-height: 55vh;
  }

  .rm-hero-data-side {
    padding: 4rem 2.5rem 3rem;
  }

  .rm-pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rm-service-grid {
    grid-template-columns: 1fr;
  }

  .rm-service-card {
    grid-template-columns: 220px 1fr;
  }

  .rm-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rm-sim-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .rm-process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .rm-process-steps::before {
    display: none;
  }

  .rm-process-step {
    flex-direction: row;
    text-align: left;
    gap: 1.5rem;
  }

  .rm-process-number {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .rm-staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rm-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .rm-nav-list,
  .rm-header-tel {
    display: none;
  }

  .rm-hamburger {
    display: flex;
  }
}

/* ============================================================
   Responsive — Mobile
   ============================================================ */
@media (max-width: 640px) {
  .rm-section {
    padding: 4rem 1.25rem;
  }

  .rm-pain-section,
  .rm-sim-section,
  .rm-cta-banner {
    padding: 4rem 1.25rem;
  }

  .rm-hero-data-side {
    padding: 3rem 1.25rem 2.5rem;
  }

  .rm-hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .rm-service-card {
    grid-template-columns: 1fr;
  }

  .rm-service-card-img {
    min-height: 200px;
    width: 100%;
  }

  .rm-case-grid {
    grid-template-columns: 1fr;
  }

  .rm-staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rm-compare-table th,
  .rm-compare-table td {
    padding: 0.875rem 1rem;
    font-size: 0.8125rem;
  }

  .rm-footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .rm-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .rm-float-cta {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .rm-cta-tel-number {
    font-size: 1.625rem;
  }

  .rm-btn-header {
    display: none;
  }

  .rm-process-step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .rm-pain-grid {
    grid-template-columns: 1fr;
  }

  .rm-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rm-stat-value {
    font-size: 2.25rem;
  }
}

/* ============================================================
   Subpage specific
   ============================================================ */
.rm-subpage-hero {
  background: var(--rm-navy);
  padding: 7rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.rm-subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(74, 123, 154, 0.2), transparent 60%);
  pointer-events: none;
}

.rm-subpage-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.rm-subpage-hero-eyebrow {
  font-family: var(--rm-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rm-gold);
  margin-bottom: 0.75rem;
}

.rm-subpage-hero-title {
  font-family: var(--rm-font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--rm-white);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.rm-subpage-hero-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.7;
}

.rm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.rm-breadcrumb-item {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.rm-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

.rm-breadcrumb-item.rm-breadcrumb-current {
  color: rgba(255, 255, 255, 0.7);
}

.rm-breadcrumb-link {
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--rm-transition);
}

.rm-breadcrumb-link:hover {
  color: var(--rm-gold);
}

/* content sections for subpages */
.rm-content-section {
  padding: 5rem 2rem;
  background: var(--rm-ivory);
}

.rm-content-section .rm-container {
  display: grid;
  gap: 3rem;
}

.rm-about-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.rm-about-photo {
  border-radius: var(--rm-radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 40px var(--rm-shadow-deep);
}

.rm-about-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.rm-about-detail {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rm-about-table {
  width: 100%;
  border-collapse: collapse;
}

.rm-about-table th,
.rm-about-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--rm-navy-pale);
}

.rm-about-table th {
  font-weight: 700;
  color: var(--rm-navy);
  width: 35%;
  background: var(--rm-cream);
}

.rm-about-table td {
  color: var(--rm-charcoal);
}

/* Form */
.rm-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 640px;
  margin: 0 auto;
}

.rm-form-group,
.rm-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rm-form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rm-navy);
}

.rm-form-label .rm-required {
  color: #C0392B;
  margin-left: 0.25rem;
  font-size: 0.7rem;
  vertical-align: middle;
}

.rm-form-input,
.rm-form-select,
.rm-form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--rm-border);
  border-radius: var(--rm-radius);
  font-family: var(--rm-font-primary);
  font-size: 0.9375rem;
  color: var(--rm-charcoal);
  background: var(--rm-white);
  transition: border-color var(--rm-transition);
  outline: none;
  appearance: none;
}

.rm-form-input:focus,
.rm-form-select:focus,
.rm-form-textarea:focus {
  border-color: var(--rm-navy);
}

.rm-form-textarea {
  min-height: 160px;
  resize: vertical;
}

.rm-form-submit {
  background: var(--rm-gold);
  color: var(--rm-white);
  font-family: var(--rm-font-display);
  font-size: 1rem;
  font-weight: 800;
  padding: 1rem 3rem;
  border-radius: var(--rm-radius);
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background var(--rm-transition), transform var(--rm-transition);
  align-self: center;
}

.rm-form-submit:hover {
  background: var(--rm-gold-deep);
  transform: translateY(-2px);
}

/* News list */
.rm-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rm-border);
}

.rm-news-item {
  display: block;
  border-bottom: 1px solid var(--rm-border);
}

.rm-news-item:hover {
  background: var(--rm-cream);
}

.rm-news-date {
  font-family: var(--rm-font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rm-silver);
  letter-spacing: 0.04em;
}

.rm-news-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  background: var(--rm-navy-pale);
  color: var(--rm-navy);
  text-align: center;
  text-transform: uppercase;
}

.rm-news-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rm-charcoal);
  transition: color var(--rm-transition);
}

.rm-news-item:hover .rm-news-title {
  color: var(--rm-navy);
}

/* Article */
.rm-article-body {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.9;
  color: var(--rm-charcoal);
}

.rm-article-body h2 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--rm-navy);
  margin: 2.5rem 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--rm-gold);
}

.rm-article-body p {
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.rm-article-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.rm-article-body ul li {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

/* Recruit */
.rm-recruit-job {
  background: var(--rm-white);
  border-radius: var(--rm-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px var(--rm-shadow);
  margin-bottom: 1.75rem;
}

.rm-recruit-job-header {
  background: var(--rm-navy);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rm-recruit-job-title {
  font-family: var(--rm-font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--rm-white);
}

.rm-recruit-tag {
  background: var(--rm-gold);
  color: var(--rm-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
}

.rm-recruit-table {
  width: 100%;
  border-collapse: collapse;
}

.rm-recruit-table th {
  width: 30%;
  padding: 0.875rem 1.5rem;
  background: var(--rm-cream);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rm-navy);
  border-bottom: 1px solid var(--rm-navy-pale);
  text-align: left;
}

.rm-recruit-table td {
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  color: var(--rm-charcoal);
  border-bottom: 1px solid var(--rm-navy-pale);
}

/* Access */
.rm-map-wrap {
  border-radius: var(--rm-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px var(--rm-shadow);
  aspect-ratio: 16/7;
  background: var(--rm-navy-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rm-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.rm-access-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.rm-access-card {
  background: var(--rm-white);
  border-radius: var(--rm-radius);
  padding: 1.5rem;
  box-shadow: 0 2px 12px var(--rm-shadow);
  text-align: center;
}

.rm-access-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.rm-access-card-title {
  font-family: var(--rm-font-display);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--rm-navy);
  margin-bottom: 0.5rem;
}

.rm-access-card-text {
  font-size: 0.8125rem;
  color: var(--rm-charcoal-light);
  line-height: 1.6;
}

/* Privacy / Terms */
.rm-legal-body {
  max-width: 800px;
  margin: 0 auto;
}

.rm-legal-body h2 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--rm-navy);
  margin: 2rem 0 0.75rem;
}

.rm-legal-body p,
.rm-legal-body li {
  font-size: 0.875rem;
  color: var(--rm-charcoal-light);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.rm-legal-body ul {
  padding-left: 1.5rem;
  list-style: disc;
}

/* FAQ subpage */
.rm-faq-section-content {
  background: var(--rm-ivory);
  padding: 4rem 2rem;
}

/* Count-up animation targets */
.rm-count {
  display: inline-block;
  font-family: var(--rm-font-display);
  font-weight: 900;
  color: var(--rm-navy);
  line-height: 1;
}

.rm-count-decimal {
  font-size: 0.65em;
  font-weight: 700;
  opacity: 0.85;
}

/* News tag filter */
.rm-tag-filter {
  display: inline-block;
  padding: 0.375rem 1rem;
  border: 1.5px solid var(--rm-steel);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rm-steel);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.rm-tag-filter:hover,
.rm-tag-filter--active {
  background: var(--rm-navy);
  border-color: var(--rm-navy);
  color: var(--rm-white);
}

/* News list links */
.rm-news-link {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.rm-news-link > div:last-child {
  flex: 1;
  min-width: 0;
}

.rm-news-link:hover {
  color: var(--rm-steel);
}

/* News article body */
.rm-news-article {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--rm-charcoal-light);
}

.rm-news-article h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--rm-navy);
  margin: 2.5rem 0 1rem;
}

.rm-news-article p {
  margin-bottom: 1.25rem;
}

.rm-news-article ul,
.rm-news-article ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.rm-news-article li {
  margin-bottom: 0.5rem;
}

/* Staff info block */
.rm-staff-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rm-staff-info dt {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rm-steel);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rm-staff-info dd {
  font-size: 0.875rem;
  color: var(--rm-charcoal-light);
  margin: 0 0 0.5rem;
}

/* Access page map */
.rm-access-map {
  width: 100%;
  border-radius: var(--rm-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--rm-shadow);
  aspect-ratio: 16 / 7;
  background: var(--rm-ivory);
}

.rm-access-map iframe,
.rm-access-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

/* Contact form layout */
.rm-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .rm-contact-layout {
    grid-template-columns: 1fr;
  }
}
