/* ============================================
   株式会社Repair（アールペア）
   White-based, practical, trust-focused design
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --color-primary: #FF6B00;
  --color-primary-dark: #E55D00;
  --color-primary-light: #FF8533;
  --color-primary-bg: #FFF7F0;
  --color-line: #06C755;
  --color-line-dark: #05B04C;
  --color-text: #2D3748;
  --color-text-light: #4A5568;
  --color-text-muted: #718096;
  --color-heading: #1A202C;
  --color-white: #FFFFFF;
  --color-bg: #FFFFFF;
  --color-bg-gray: #F7F8FA;
  --color-border: #E2E8F0;
  --color-border-light: #EDF2F7;

  /* Typography */
  --font-body: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --font-heading: 'Noto Sans JP', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --header-height: 80px;
  --container-max: 1100px;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

strong {
  font-weight: 700;
  color: var(--color-primary);
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Utility --- */
.text-center { text-align: center; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header--dark {
  background: #1A202C;
  box-shadow: none;
}
.header--dark .header__nav-link {
  color: rgba(255, 255, 255, 0.85);
}
.header--dark .header__nav-link:hover,
.header--dark .header__nav-link--active {
  color: #fff;
}
.header--dark.header--scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Transparent header (top page over video) */
.header--transparent {
  background: transparent;
  box-shadow: none;
  transition: background var(--transition), box-shadow var(--transition);
}
.header--transparent.header--scrolled {
  background: rgba(0, 0, 0, 0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Hero transparent: mobile only */
@media (max-width: 767px) {
  /* Before scroll: transparent, hide logo & CTA, show only burger */
  .header--hero-transparent {
    background: transparent;
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }
  .header--hero-transparent .header__logo {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .header--hero-transparent .header__cta-btn {
    display: none;
  }
  .header--hero-transparent .header__burger span {
    background: #fff;
  }

  /* After scroll: white bg, black logo + black burger */
  .header--hero-transparent.header--scrolled {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
    background: var(--color-white);
    box-shadow: var(--shadow-md);
  }
  .header--hero-transparent.header--scrolled .header__logo {
    opacity: 1;
    pointer-events: auto;
  }
  .header--hero-transparent.header--scrolled .header__logo-img {
    filter: none;
  }
  .header--hero-transparent.header--scrolled .header__cta-btn {
    display: inline-flex;
  }
  .header--hero-transparent.header--scrolled .header__burger span {
    background: var(--color-text);
  }
}
.header__nav-link--white {
  color: rgba(255, 255, 255, 0.85);
}
.header__nav-link--white:hover {
  color: #fff;
}
.header__cta-btn--estimate-white {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.4em 1em;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition);
}
.header__cta-btn--estimate-white:hover {
  background: rgba(255, 255, 255, 0.25);
}
.header__burger--white span {
  background: #fff;
}

.header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo-img {
  height: 40px;
  width: auto;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
}

.header__phone svg {
  color: var(--color-primary);
}

.header__phone-label {
  display: block;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  line-height: 1;
}

.header__phone-number {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.header__phone-number:hover {
  color: var(--color-primary);
}

.header__cta-btn {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all var(--transition);
}

.header__cta-btn--estimate {
  background: var(--color-primary);
  color: var(--color-white);
}

.header__cta-btn--estimate:hover {
  background: var(--color-primary-dark);
}

.header__cta-btn--line {
  background: var(--color-line);
  color: var(--color-white);
}

.header__cta-btn--line:hover {
  background: var(--color-line-dark);
}

.header__nav {
  display: none;
}

.header__nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.25rem 0;
  position: relative;
  white-space: nowrap;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

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

.header__nav-link:hover {
  color: var(--color-primary);
}

/* Hamburger */
.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1100;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-heading);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.header__burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

.header__burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MOBILE NAV
   ============================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-white);
  z-index: 1050;
  transition: right 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav__inner {
  padding: calc(var(--header-height) + 1rem) 1.5rem 2rem;
}

.mobile-nav__link {
  display: block;
  padding: 0.9rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-heading);
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav__link:hover {
  color: var(--color-primary);
}

.mobile-nav__cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  padding: 0.75rem 0;
}

.mobile-nav__phone svg {
  color: var(--color-primary);
}

.mobile-nav__btn {
  display: block;
  text-align: center;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
}

.mobile-nav__btn--estimate {
  background: var(--color-primary);
}

.mobile-nav__btn--line {
  background: var(--color-line);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(4px);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-start;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.75) 40%,
    rgba(255, 255, 255, 0.1) 70%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) var(--space-lg);
  max-width: 600px;
}


.hero__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.5;
  color: var(--color-heading);
  margin-bottom: var(--space-md);
  letter-spacing: 0.04em;
}

.hero__title-line {
  display: inline;
}

.hero__title-accent {
  position: relative;
  color: var(--color-primary);
  display: inline-block;
}

.hero__title-accent::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0.08em;
  height: 0.3em;
  background: rgba(255, 107, 0, 0.15);
  border-radius: 2px;
  z-index: -1;
}

.hero__sub {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.1em;
}

.hero__ba {
  display: flex;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
  align-items: center;
}

.hero__ba-arrow {
  color: var(--color-primary);
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.hero__ba-item {
  position: relative;
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.hero__ba-label {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--color-white);
}

.hero__ba-label--before {
  background: var(--color-primary);
}

.hero__ba-label--after {
  background: var(--color-line);
}

.hero__ba-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.hero__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1rem 3rem;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 700;
  transition: all var(--transition);
  width: 100%;
  justify-content: center;
}

.hero__more:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--color-primary);
  padding: var(--space-lg) 0;
}

.stats-bar__inner {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stats-bar__item {
  text-align: center;
  color: var(--color-white);
  min-width: 120px;
}

.stats-bar__number {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stats-bar__unit {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 0.1rem;
}

.stats-bar__unit-inline {
  font-size: 0.9rem;
  font-weight: 500;
}

.stats-bar__label {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 0.25rem;
}

/* ============================================
   LINE CTA BANNER
   ============================================ */
.line-banner {
  padding: var(--space-lg) 0;
  background: #EAFFF2;
}

.line-banner__inner {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-line);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: 0 4px 20px rgba(6, 199, 85, 0.12);
}

.line-banner__main {
  background: linear-gradient(135deg, #06C755 0%, #05A847 100%);
  color: var(--color-white);
  padding: 1.5rem;
  text-align: center;
}

.line-banner__badge {
  display: inline-block;
  background: #FFD700;
  color: #333;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.line-banner__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.line-banner__sub {
  font-size: 0.9rem;
  font-weight: 500;
}

.line-banner__highlight {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 900;
  font-size: 1.1rem;
}

.line-banner__info {
  padding: 1.5rem;
  text-align: center;
}

.line-banner__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.line-banner__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.line-banner__step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-line);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line-banner__step p {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-heading);
  white-space: nowrap;
}

.line-banner__step-arrow {
  color: var(--color-line);
  margin-bottom: 1rem;
}

.line-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-line);
  color: var(--color-white);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
  max-width: 320px;
  margin: 0 auto;
}

.line-banner__btn:hover {
  background: var(--color-line-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

.line-banner__note {
  font-size: 0.75rem;
  color: var(--color-line);
  font-weight: 700;
  margin-top: 0.5rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--space-xl) 0;
}

.section--gray {
  background: var(--color-bg-gray);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-heading);
  letter-spacing: 0.02em;
}

.section-title__bar {
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: var(--space-sm);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   ABOUT REPAIR
   ============================================ */
.about-repair {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-repair__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-repair__ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.about-repair__ba-item {
  position: relative;
  overflow: hidden;
}

.about-repair__ba-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.about-repair__ba-label {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--color-white);
}

.about-repair__ba-label--before {
  background: var(--color-text-muted);
}

.about-repair__ba-label--after {
  background: var(--color-primary);
}

.placeholder-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.placeholder-image--about {
  background: linear-gradient(135deg, #e8d5c4 0%, #c9b8a8 100%);
}

.placeholder-image span {
  background: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
}

.about-repair__heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  padding-left: 1rem;
  border-left: 3px solid var(--color-primary);
}

.about-repair__text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.about-repair__text:last-child {
  margin-bottom: 0;
}

/* ============================================
   SERVICE BANNERS
   ============================================ */
.service-banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-banner {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 220px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-banner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.service-banner:hover .service-banner__bg {
  transform: scale(1.05);
}

/* Service banner backgrounds - real photos with fallback colors */
.service-banner__bg--floor {
  background-color: #8B6914;
  background-size: cover;
  background-position: center;
}

.service-banner__bg--sash {
  background-color: #607D8B;
  background-size: cover;
  background-position: center;
}

.service-banner__bg--kitchen {
  background-color: #5D4037;
  background-size: cover;
  background-position: center;
}

.service-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.service-banner__content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 220px;
  color: var(--color-white);
}

.service-banner__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.service-banner__desc {
  font-size: 0.8rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.service-banner__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary-light);
}

/* ============================================
   MERIT GRID
   ============================================ */
.merit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.merit-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.merit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.merit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary-bg);
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.merit-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.merit-card__text {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* ============================================
   BEFORE / AFTER SLIDER
   ============================================ */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.ba-grid__item {
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.ba-grid__label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  box-shadow: var(--shadow-md);
}

.ba-slider__before,
.ba-slider__after {
  position: absolute;
  inset: 0;
}

.ba-slider__after {
  clip-path: inset(0 0 0 50%);
}

.ba-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-slider__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.ba-slider__placeholder span {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.ba-slider__placeholder small {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

.ba-slider__placeholder--before {
  background: linear-gradient(135deg, #a0816c 0%, #8B7355 100%);
}

.ba-slider__placeholder--after {
  background: linear-gradient(135deg, #c4a882 0%, #B89B72 100%);
}

.ba-slider__tag {
  position: absolute;
  top: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.ba-slider__tag--before {
  left: 0.75rem;
  background: rgba(0, 0, 0, 0.5);
}

.ba-slider__tag--after {
  right: 0.75rem;
  background: var(--color-primary);
}

/* Handle */
.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.ba-slider__handle-line {
  flex: 1;
  width: 2px;
  background: var(--color-white);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.ba-slider__handle-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--transition);
}

.btn--outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ============================================
   FLOW STEPS
   ============================================ */
.flow-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.flow-step {
  text-align: center;
  padding: 1.5rem;
  max-width: 320px;
  width: 100%;
}

.flow-step__body {
  flex: 1;
}

.flow-step__number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.flow-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  margin: 0 auto 0.75rem;
}

.flow-step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.4rem;
}

.flow-step__text {
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

.flow-step__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transform: rotate(90deg);
  padding: 0.25rem 0;
}

/* ============================================
   AREA SECTION
   ============================================ */
.area-content {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.area-group {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-light);
}

.area-group__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.area-group__badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-white);
  white-space: nowrap;
}

.area-group__badge--main {
  background: var(--color-primary);
}

.area-group__badge--ext {
  background: var(--color-text-muted);
}

.area-group__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-heading);
}

.area-group__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.area-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--color-bg-gray);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.area-tag--main {
  background: var(--color-primary-bg);
  border-color: rgba(255, 107, 0, 0.2);
  color: var(--color-primary-dark);
}

.area-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
}

.area-note--wide {
  font-size: 0.95rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(243, 115, 33, 0.08);
  border-radius: var(--radius-md);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--color-primary);
  padding: var(--space-xl) 0;
  text-align: center;
  color: var(--color-white);
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: var(--space-sm);
}

.cta-section__sub {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.cta-section__phone {
  margin-top: var(--space-md);
}

.cta-section__phone-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cta-section__phone-number svg {
  flex-shrink: 0;
}

.cta-section__phone-number a {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.cta-section__phone-number a:hover {
  opacity: 0.8;
}

.cta-section__phone-hours {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 0.25rem;
  text-align: center;
}

.cta-section__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.5rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
  min-width: 240px;
}

.cta-btn--primary {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  font-weight: 900;
}

.cta-btn--primary:hover {
  background: #FFF7F0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn--line {
  background: var(--color-line);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
}

.cta-btn--line:hover {
  background: var(--color-line-dark);
  transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #3D2E1E;
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-xl) 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-sm);
}

.footer__brand-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.2rem;
}
.footer__brand-sub {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
}
.footer__brand-desc {
  font-size: 0.8rem;
  line-height: 1.8;
  opacity: 0.75;
  margin-bottom: var(--space-sm);
}

.footer__address {
  font-size: 0.75rem;
  line-height: 1.9;
  opacity: 0.6;
}

.footer__address a {
  color: rgba(255, 255, 255, 0.7);
}

.footer__address a:hover {
  color: var(--color-primary);
}

.footer__links-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
}

.footer__heading {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.footer__link {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--color-primary);
}

.footer__bottom {
  padding: 1.25rem 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.7rem;
  opacity: 0.5;
}

/* ============================================
   MOBILE STICKY CTA BAR (repair-tokyo style)
   ============================================ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.mobile-cta-bar__item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-white);
}

.mobile-cta-bar__item--line {
  background: var(--color-line);
}

.mobile-cta-bar__item--estimate {
  background: var(--color-primary);
}

/* ============================================
   FLOATING LINE BANNER (right side, always visible)
   ============================================ */
.floating-line {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
}

.floating-line__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-line);
  color: var(--color-white);
  padding: 1.2rem 0.8rem;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  box-shadow: -4px 4px 25px rgba(6, 199, 85, 0.4);
  transition: all var(--transition);
  text-decoration: none;
  gap: 0.5rem;
  width: 120px;
}

.floating-line__btn:hover {
  background: var(--color-line-dark);
  width: 130px;
  box-shadow: -6px 6px 30px rgba(6, 199, 85, 0.5);
}

.floating-line__badge {
  background: #FFD700;
  color: #333;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  white-space: nowrap;
  line-height: 1;
}

.floating-line__icon svg {
  display: block;
  width: 44px;
  height: 44px;
}

.floating-line__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.floating-line__action {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.floating-line__desc {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.4;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 0.4rem;
  margin-top: 0.15rem;
}

.floating-line__desc span {
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.floating-line__arrow {
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.9;
  margin-top: 0.2rem;
  white-space: nowrap;
}

/* ============================================
   FREE ESTIMATE PAGE
   ============================================ */

/* Hero Simple */
.hero-simple {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 2rem;
  background: var(--color-bg-gray);
}

.hero-simple--compact {
  padding-bottom: 1.5rem;
}

.hero-simple__breadcrumb {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.hero-simple__breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.hero-simple__breadcrumb a:hover {
  color: var(--color-primary);
}

.hero-simple__title {
  font-weight: 900;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.hero-simple__subtitle {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Estimate Choice Cards */
.estimate-choice {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.estimate-choice__card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  background: var(--color-white);
  text-align: center;
}

.estimate-choice__card--line {
  border-color: var(--color-line);
  background: linear-gradient(135deg, #f0faf4 0%, #e8f8ee 100%);
}

.estimate-choice__card--form {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, #fff8f2 0%, #fff3e8 100%);
}

.estimate-choice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.estimate-choice__card--line .estimate-choice__icon {
  background: var(--color-line);
  color: white;
}

.estimate-choice__card--form .estimate-choice__icon {
  background: var(--color-primary);
  color: white;
}

.estimate-choice__title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-heading);
  margin-bottom: 0.75rem;
}

.estimate-choice__desc {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.estimate-choice__merits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.estimate-choice__merits li {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--color-border-light);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
}

.estimate-choice__merits li::before {
  content: "✓ ";
  font-weight: 700;
}

.estimate-choice__card--line .estimate-choice__merits li::before {
  color: var(--color-line);
}

.estimate-choice__card--form .estimate-choice__merits li::before {
  color: var(--color-primary);
}

.estimate-choice__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: white;
  transition: var(--transition);
}

.estimate-choice__btn--line {
  background: var(--color-line);
  box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
}

.estimate-choice__btn--line:hover {
  background: var(--color-line-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

.estimate-choice__btn--form {
  background: var(--color-primary);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.estimate-choice__btn--form:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

/* Estimate Form */
#estimate-form {
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.estimate-form__section {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.estimate-form__section-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-heading);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.estimate-form__section-title::before {
  content: "";
  width: 4px;
  height: 1.2em;
  background: var(--color-primary);
  border-radius: 2px;
}

.estimate-form__row {
  margin-bottom: 1.25rem;
}

.estimate-form__row:last-child {
  margin-bottom: 0;
}

.estimate-form__row--2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.estimate-form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.estimate-form__required {
  background: #E53E3E;
  color: white;
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  margin-left: 0.3rem;
  font-weight: 700;
  vertical-align: middle;
}

.estimate-form__input,
.estimate-form__textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.estimate-form__input:focus,
.estimate-form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.estimate-form__input::placeholder,
.estimate-form__textarea::placeholder {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.estimate-form__radio-group,
.estimate-form__checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.estimate-form__radio,
.estimate-form__checkbox {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-gray);
  transition: var(--transition);
}

.estimate-form__radio:hover,
.estimate-form__checkbox:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
}

.estimate-form__radio input:checked + span,
.estimate-form__checkbox input:checked + span {
  color: var(--color-primary);
  font-weight: 700;
}

.estimate-form__note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
}

/* Photo Guide */
.photo-guide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.photo-guide__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid;
}

.photo-guide__item:nth-child(1) {
  background: #EBF8FF;
  border-color: #BEE3F8;
}

.photo-guide__item:nth-child(2) {
  background: #F0FFF4;
  border-color: #C6F6D5;
}

.photo-guide__item:nth-child(3) {
  background: #FFFBEB;
  border-color: #FEF3C7;
}

.photo-guide__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-guide__item:nth-child(1) .photo-guide__icon {
  background: #3182CE;
  color: white;
}

.photo-guide__item:nth-child(2) .photo-guide__icon {
  background: #38A169;
  color: white;
}

.photo-guide__item:nth-child(3) .photo-guide__icon {
  background: #D69E2E;
  color: white;
}

.photo-guide__text {
  flex: 1;
  min-width: 0;
}

.photo-guide__title {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--color-heading);
  margin-bottom: 0.25rem;
}

.photo-guide__desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.estimate-form__file-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #FFFFF0;
  border: 1px solid #FEFCBF;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.estimate-form__file-notice svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: #D69E2E;
}

.estimate-form__file-notice a {
  color: var(--color-line);
  font-weight: 700;
}

/* Submit */
.estimate-form__submit {
  text-align: center;
  padding: 1rem 0;
}

.estimate-form__submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 3rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.estimate-form__submit-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.estimate-form__submit-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* Helper classes for estimate page */
.text-center { text-align: center; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-lg { margin-bottom: var(--space-lg); }
.container--narrow { max-width: 780px; margin: 0 auto; }
.section--alt { background: var(--color-bg-gray); }
.section-title--center { text-align: center; }
.section-title--center::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* Tablet+ estimate */
@media (min-width: 768px) {
  .estimate-choice {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .estimate-form__row--2col {
    grid-template-columns: 1fr 1fr;
  }

  .photo-guide {
    grid-template-columns: repeat(3, 1fr);
  }

  .estimate-form__section {
    padding: 2.5rem;
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE: TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
  :root {
    --header-height: 90px;
  }

  .hero {
    min-height: 600px;
  }

  .hero__title {
    font-size: 3rem;
  }

  .hero__ba-img {
    height: 260px;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .line-banner__inner {
    grid-template-columns: 1fr 1fr;
  }

  .line-banner__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
  }

  .line-banner__info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .about-repair {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .service-banners {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-banner {
    min-height: 280px;
  }

  .service-banner__content {
    min-height: 280px;
  }

  .merit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

  .ba-grid__item:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 500px;
    justify-self: center;
  }

  /* Flow: horizontal */
  .flow-steps {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
  }

  .flow-step {
    flex: 0 0 auto;
    width: 160px;
    padding: 1rem 0.5rem;
  }

  .flow-step__arrow {
    transform: rotate(0deg);
    align-self: center;
    margin-top: 1rem;
  }

  .cta-section__buttons {
    flex-direction: row;
    justify-content: center;
  }

  .footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-lg);
  }
}

/* ============================================
   RESPONSIVE: DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  :root {
    --header-height: 80px;
  }

  /* Header - full desktop layout */
  .header__inner {
    gap: 1rem;
  }

  .header__right {
    gap: 1.5rem;
  }

  .header__phone {
    display: flex;
  }

  .header__cta-btn {
    display: inline-flex;
  }

  .header__nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .header__burger {
    display: none;
  }

  .hero {
    min-height: 650px;
  }

  .hero__content {
    padding: var(--space-2xl) var(--space-xl);
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
  }

  .hero__text {
    flex: 1.2;
    min-width: 0;
  }

  .hero__right {
    flex: 1;
    min-width: 0;
  }

  .hero__title {
    font-size: 3.5rem;
  }

  .hero__sub {
    font-size: 1.3rem;
  }

  .hero__ba-img {
    height: 280px;
  }

  .stats-bar__inner {
    gap: 4rem;
  }

  .stats-bar__number {
    font-size: 3rem;
  }

  .merit-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ba-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ba-grid__item:nth-child(3) {
    grid-column: auto;
    max-width: none;
  }

  .flow-step {
    width: 170px;
  }
}

/* ============================================
   RESPONSIVE: MOBILE ONLY (<768px)
   ============================================ */
@media (max-width: 767px) {
  :root {
    --header-height: 56px;
    --space-xl: 2.5rem;
    --space-2xl: 3.5rem;
  }

  body {
    padding-bottom: 0;
    font-size: 14px;
  }

  /* --- Mobile Header: repair-tokyo style top bar --- */
  .header__inner {
    height: var(--header-height);
    padding: 0 0.5rem;
    gap: 0.4rem;
  }

  .header__logo-img {
    height: 28px;
  }

  .header__phone {
    display: none;
  }

  .header__nav {
    display: none;
  }

  /* Show CTA buttons in mobile header */
  .header__cta-btn {
    display: inline-flex;
    padding: 0.35rem 0.6rem;
    font-size: 0.65rem;
    border-radius: var(--radius-sm);
    gap: 0.2rem;
  }

  .header__cta-btn svg {
    width: 12px;
    height: 12px;
  }

  .header__burger {
    width: 24px;
    height: 24px;
    gap: 4px;
    margin-left: 0.25rem;
  }

  /* --- Mobile Hero: Compact --- */
  .hero {
    min-height: auto;
    padding-top: var(--header-height);
  }

  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.75) 50%,
      rgba(255, 255, 255, 0.4) 100%
    );
  }


  .hero__content {
    padding: 1.25rem 1rem 1.5rem;
    max-width: 100%;
    text-align: center;
  }

  .hero__title {
    font-size: 1.8rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    text-align: left;
  }

  .hero__sub {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-align: left;
  }

  .hero__right {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__ba {
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    justify-content: center;
    width: 100%;
    padding: 0 0.5rem;
  }

  .hero__ba-item {
    flex: 1 1 0;
    max-width: 45%;
  }

  .hero__ba-img {
    height: 160px;
  }

  .hero__ba-arrow {
    font-size: 1rem;
  }

  .hero__ba-label {
    font-size: 0.6rem;
    padding: 0.15rem 0.5rem;
    top: 4px;
    left: 4px;
  }

  .hero__more {
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
    width: auto;
    margin: 0 auto;
  }

  /* --- Mobile Stats: Compact horizontal --- */
  .stats-bar {
    padding: 0.75rem 0;
  }

  .stats-bar__inner {
    gap: 0;
    flex-wrap: nowrap;
    justify-content: space-around;
  }

  .stats-bar__item {
    min-width: 0;
    flex: 1;
  }

  .stats-bar__number {
    font-size: 1.6rem;
  }

  .stats-bar__unit {
    font-size: 0.65rem;
  }

  .stats-bar__unit-inline {
    font-size: 0.65rem;
  }

  .stats-bar__label {
    font-size: 0.6rem;
  }

  /* --- Mobile Sections: Tighter --- */
  .section {
    padding: 2rem 0;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .section-title__bar {
    width: 40px;
    height: 2px;
    margin-top: 0.5rem;
  }

  .section-desc {
    font-size: 0.8rem;
    margin-top: 0.75rem;
  }

  .container {
    padding: 0 1rem;
  }

  /* --- Mobile LINE Banner --- */
  .line-banner {
    padding: 1rem 0;
  }

  .line-banner__inner {
    border-radius: var(--radius-md);
  }

  .line-banner__main {
    padding: 1.25rem 1rem;
  }

  .line-banner__badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.5rem;
  }

  .line-banner__title {
    font-size: 1.15rem;
  }

  .line-banner__sub {
    font-size: 0.8rem;
  }

  .line-banner__highlight {
    font-size: 0.95rem;
  }

  .line-banner__info {
    padding: 1rem;
  }

  .line-banner__steps {
    gap: 0.3rem;
    margin-bottom: 1rem;
  }

  .line-banner__step-num {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  .line-banner__step p {
    font-size: 0.6rem;
  }

  .line-banner__btn {
    font-size: 0.85rem;
    padding: 0.75rem 1.5rem;
  }

  .line-banner__note {
    font-size: 0.65rem;
  }

  /* --- Mobile About --- */
  .about-repair {
    gap: 1.25rem;
  }

  .placeholder-image {
    min-height: 180px;
  }

  .about-repair__heading {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    padding-left: 0.75rem;
  }

  .about-repair__text {
    font-size: 0.8rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
  }

  /* --- Mobile Service Banners: Compact --- */
  .service-banners {
    gap: 0.75rem;
  }

  .service-banner {
    min-height: 200px;
    border-radius: var(--radius-md);
    aspect-ratio: 1 / 1;
  }

  .service-banner__content {
    min-height: 200px;
    padding: 1rem;
  }

  .service-banner__title {
    font-size: 1rem;
  }

  .service-banner__desc {
    font-size: 0.7rem;
    line-height: 1.5;
    margin-bottom: 0.3rem;
  }

  .service-banner__link {
    font-size: 0.7rem;
  }

  /* --- Mobile Merit: Compact cards --- */
  .merit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .merit-card {
    padding: 1rem;
    border-radius: var(--radius-md);
  }

  .merit-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.5rem;
  }

  .merit-card__icon svg {
    width: 20px;
    height: 20px;
  }

  .merit-card__title {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }

  .merit-card__text {
    font-size: 0.7rem;
    line-height: 1.6;
  }

  /* --- Mobile BA Slider --- */
  .ba-grid {
    gap: 1.25rem;
  }

  .ba-grid__label {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .ba-slider__handle-circle {
    width: 32px;
    height: 32px;
  }

  .ba-slider__handle-circle svg {
    width: 14px;
    height: 14px;
  }

  /* --- Mobile Flow --- */
  .flow-steps {
    gap: 0;
    background: var(--color-bg-gray);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
  }

  .flow-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    max-width: none;
    text-align: left;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }

  .flow-step__number {
    position: absolute;
    top: -6px;
    left: -4px;
    background: var(--color-primary);
    color: var(--color-white);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    margin-bottom: 0;
  }

  .flow-step__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    margin: 0;
    position: relative;
  }

  .flow-step__icon svg {
    width: 22px;
    height: 22px;
  }

  .flow-step__title {
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
  }

  .flow-step__text {
    font-size: 0.7rem;
    line-height: 1.6;
  }

  .flow-step__arrow {
    padding: 0.15rem 0;
  }

  .flow-step__arrow svg {
    width: 14px;
    height: 14px;
  }

  /* --- Mobile Area --- */
  .area-group {
    padding: 1rem;
  }

  .area-group__title {
    font-size: 0.85rem;
  }

  .area-tag {
    padding: 0.25rem 0.65rem;
    font-size: 0.7rem;
  }

  /* --- Mobile CTA --- */
  .cta-section {
    padding: 2rem 0;
  }

  .cta-section__title {
    font-size: 1.1rem;
  }

  .cta-section__sub {
    font-size: 0.8rem;
  }

  .cta-section__phone-number a {
    font-size: 1.4rem;
  }

  .cta-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
    min-width: 200px;
  }

  /* --- Mobile Footer --- */
  .footer {
    padding-bottom: 1.5rem;
    padding-top: 2rem;
  }

  .footer__inner {
    gap: 1.5rem;
  }

  .footer__brand-desc {
    font-size: 0.75rem;
  }

  /* --- Mobile: hide floating right button --- */
  .floating-line {
    display: none;
  }

  /* --- Mobile Sticky CTA Bar: 2-column (無料見積もり + LINE相談) --- */
  .mobile-cta-bar {
    display: flex;
    height: 56px;
  }

  .mobile-cta-bar__item {
    font-size: 0.85rem;
    gap: 0.4rem;
    padding: 0.5rem;
  }

  .mobile-cta-bar__item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .line-banner__steps {
    gap: 0.5rem;
  }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.lightbox__content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1200px;
  width: 100%;
}

.lightbox__item {
  flex: 1;
  position: relative;
}

.lightbox__img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  max-height: 75vh;
  object-fit: contain;
}

.lightbox__label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.lightbox__label--before {
  background: var(--color-primary);
}

.lightbox__label--after {
  background: var(--color-line);
}

.lightbox__arrow {
  color: #fff;
  font-size: 2rem;
  flex-shrink: 0;
}

.lightbox__title {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1rem;
  text-align: center;
}

@media (max-width: 767px) {
  .lightbox__content {
    flex-direction: column;
    gap: 0.75rem;
  }

  .lightbox__arrow {
    transform: rotate(90deg);
    font-size: 1.5rem;
  }

  .lightbox__img {
    max-height: 35vh;
  }

  .lightbox {
    padding: 1rem;
  }
}

/* ============================================
   Business Page (business.html) Styles
   ============================================ */

/* --- Loading Screen --- */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #1A202C;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
.loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}
.loading-screen__inner {
  text-align: center;
  width: 200px;
}
.loading-screen__logo {
  height: 60px;
  width: auto;
  margin: 0 auto var(--space-md);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.loading-screen__logo.active {
  opacity: 1;
  transform: scale(1);
}
.loading-screen__bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}
.loading-screen__bar-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transition: width 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.loading-screen__text {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.loading-screen__text.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Video Hero --- */
.video-hero {
  position: relative;
  height: 100svh; min-height: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.video-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.video-hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.15);
}
.video-hero__content {
  position: relative;
  z-index: 3;
  padding: var(--space-2xl) var(--space-lg);
  max-width: 800px;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.biz-hero__breadcrumb {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
}
.biz-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.biz-hero__breadcrumb a:hover {
  color: white;
}
.biz-hero__en {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: var(--space-xs);
}
.biz-hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: white;
}
.biz-hero__desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-lg);
}
.biz-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: white;
  padding: 0.9em 2em;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.biz-hero__cta:hover {
  background: var(--color-primary-dark);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}
.scroll-indicator__text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-indicator__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-primary-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* --- Biz Stats --- */
.biz-stats {
  background: var(--color-primary);
  padding: var(--space-lg) 0;
}
.biz-stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
}
.biz-stats__number {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  line-height: 1.2;
}
.biz-stats__number span {
  font-size: 0.5em;
  font-weight: 400;
}
.biz-stats__label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.3em;
}

/* --- Grid --- */
.grid {
  display: grid;
  gap: var(--space-md);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* --- Section Label --- */
.section-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5em;
}
.section-label--light {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Target Card --- */
.target-card {
  background: white;
  border: 1px solid var(--color-border);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.target-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.target-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all var(--transition);
}
.target-card:hover .target-card__icon {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
}
.target-card__icon svg {
  width: 28px;
  height: 28px;
}
.target-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5em;
  color: var(--color-heading);
}
.target-card__desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- Feature Row --- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}
.feature-row:last-child {
  border-bottom: none;
}
.feature-row--reverse .feature-row__image {
  order: 2;
}
.feature-row__image {
  aspect-ratio: 4/3;
  background: var(--color-bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-md);
}

/* --- Price Compare --- */
.price-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-md);
  align-items: stretch;
}
.price-compare__box {
  padding: var(--space-md);
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.price-compare__box--repair {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
  position: relative;
}
.price-compare__box--repair::before {
  content: "おすすめ";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  font-size: 0.7rem;
  padding: 2px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.1em;
}
.price-compare__label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}
.price-compare__price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-heading);
  line-height: 1.2;
}
.price-compare__price span {
  font-size: 0.5em;
  color: var(--color-text-muted);
  font-weight: 400;
}
.price-compare__box--repair .price-compare__price {
  color: var(--color-primary-dark);
}
.price-compare__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-text-muted);
  font-style: italic;
}
.price-compare__note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.5em;
}

/* --- Mid CTA --- */
.mid-cta {
  background: var(--color-primary);
  padding: var(--space-lg) 0;
}
.mid-cta__text {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-sm);
}
.mid-cta__btn {
  display: inline-block;
  background: white;
  color: var(--color-primary);
  font-weight: 700;
  padding: 0.8em 2em;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition);
}
.mid-cta__btn:hover {
  background: var(--color-primary-bg);
  transform: translateY(-2px);
}

/* --- Testimonial --- */
.testimonial {
  background: white;
  padding: var(--space-md);
  border-left: 3px solid var(--color-primary);
  margin-bottom: var(--space-md);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.testimonial__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-heading);
  margin-bottom: var(--space-sm);
}
.testimonial__text::before {
  content: "\201C";
  font-size: 2rem;
  color: var(--color-primary);
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 0.1em;
}
.testimonial__author {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.testimonial__author strong {
  color: var(--color-heading);
}

/* --- Workflow --- */
.workflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
}
.workflow__step {
  text-align: center;
  padding: var(--space-md) var(--space-sm);
  position: relative;
  counter-increment: step;
}
.workflow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -10%;
  width: 20%;
  height: 1px;
  background: var(--color-primary);
  opacity: 0.3;
}
.workflow__step-number {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 0.5em;
}
.workflow__step-number::before {
  content: "STEP " counter(step);
}
.workflow__step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-sm);
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.workflow__step-icon svg {
  width: 24px;
  height: 24px;
}
.workflow__step-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.3em;
  color: var(--color-heading);
}
.workflow__step-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-heading);
  cursor: pointer;
  gap: var(--space-sm);
  width: 100%;
  text-align: left;
  background: none;
  border: none;
}
.faq-item__question::before {
  content: "Q.";
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-item__toggle {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
}
.faq-item__toggle::before,
.faq-item__toggle::after {
  content: "";
  position: absolute;
  background: var(--color-primary);
  transition: transform var(--transition);
}
.faq-item__toggle::before {
  width: 12px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item__toggle::after {
  width: 1.5px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item.active .faq-item__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
}
.faq-item.active .faq-item__answer {
  max-height: 300px;
  padding-bottom: var(--space-sm);
}
.faq-item__answer-inner {
  padding: 0 0 var(--space-sm) 2em;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* --- Section Warm --- */
.section--warm {
  background: var(--color-primary-bg);
}

/* --- Button Gold --- */
.btn--gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: white;
  font-weight: 700;
  padding: 0.8em 2em;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition);
}
.btn--gold:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* --- Utility --- */
.mb-md { margin-bottom: var(--space-md); }
.sp-only { display: none; }
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }

/* --- Business Page Responsive --- */
@media (max-width: 768px) {
  .biz-hero__title {
    font-size: 1.6rem;
  }
  .biz-stats__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .feature-row {
    grid-template-columns: 1fr;
  }
  .feature-row--reverse .feature-row__image {
    order: 0;
  }
  .price-compare {
    grid-template-columns: 1fr;
  }
  .price-compare__vs {
    padding: var(--space-xs) 0;
  }
  .workflow {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  .workflow__step:not(:last-child)::after {
    display: none;
  }
  .sp-only { display: inline; }
  .video-hero { min-height: 80vh; }
  .video-hero__content { padding: var(--space-xl) var(--space-sm); }
}

/* ============================================
   TOP PAGE — Split Hero & Sections
   ============================================ */

/* --- Hero Animate (loading screen entrance) --- */
.hero-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-animate.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Split Hero --- */
.split-hero {
  position: relative;
  display: flex;
  height: 100svh; min-height: 0;
  overflow: hidden;
}

.split-hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.split-hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-hero__video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

.split-hero__panel {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-lg);
  color: #fff;
  text-decoration: none;
  transition: background 0.5s ease;
}
.split-hero__panel--b2b {
  background: none;
}
.split-hero__panel--b2c {
  background: none;
}
@media (hover: hover) {
  .split-hero__panel:hover {
    background: rgba(255, 107, 0, 0.2);
  }
}

.split-hero__content {
  max-width: 400px;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.4);
}

.split-hero__label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.split-hero__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.split-hero__desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.split-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75em 2em;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  transition: all var(--transition);
}
.split-hero__btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}
.split-hero__panel:hover .split-hero__btn {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.split-hero__panel:hover .split-hero__btn svg {
  transform: translateX(4px);
}

.split-hero__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 3;
}

.split-hero__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-lg) 0;
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
}
.stats-bar__number {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
}
.stats-bar__number span {
  font-size: 0.5em;
  font-weight: 400;
}
.stats-bar__label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.3rem;
}
.accent-font {
  font-size: 0.85em;
}

/* --- Grid 3-col --- */
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* --- Service Card --- */
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg-gray);
}
.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card__image img {
  transform: scale(1.05);
}
.service-card__title {
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 1rem 0.25rem;
  color: var(--color-heading);
}
.service-card__desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: 0 1rem 1rem;
  line-height: 1.7;
}

/* --- Company Table (about page) --- */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.8;
}
.company-table tr {
  border-top: 1px solid var(--color-border);
}
.company-table tr:last-child {
  border-bottom: 1px solid var(--color-border);
}
.company-table th {
  text-align: left;
  font-weight: 700;
  color: var(--color-heading);
  padding: 1.2rem 2rem 1.2rem 0;
  vertical-align: top;
  white-space: nowrap;
  width: 140px;
}
.company-table td {
  padding: 1.2rem 0;
  color: var(--color-text);
  vertical-align: top;
}
.company-table a {
  color: var(--color-text);
  text-decoration: none;
}
.company-table a:hover {
  color: var(--color-primary);
}

/* --- About Table --- */
.about-info {
  margin-top: var(--space-md);
}
.about-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.about-table th {
  text-align: left;
  font-weight: 600;
  color: var(--color-heading);
  padding: 0.6rem 1rem 0.6rem 0;
  border-bottom: 1px solid var(--color-border-light);
  white-space: nowrap;
  vertical-align: top;
  width: 100px;
}
.about-table td {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text);
  line-height: 1.6;
}
.about-table a {
  color: var(--color-primary);
  font-weight: 500;
}
.about-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* --- Case Card (BA grid) --- */
.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.case-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.case-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.case-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-card__badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2em 0.6em;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}
.case-card__badge--after {
  background: var(--color-primary);
}
.case-card__info {
  padding: 1rem;
}
.case-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.3em;
}
.case-card__desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- Section Dark --- */
.section--dark {
  background: #1A202C;
  color: #fff;
}
.section-title--light {
  color: #fff;
}
.section-title--light::after {
  background: var(--color-primary);
}

/* --- Strength Item --- */
.strength-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.strength-item:last-child {
  border-bottom: none;
}
.strength-item__number {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1;
  padding-top: 0.2em;
}
.strength-item__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5em;
  color: #fff;
}
.strength-item__desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

/* Light theme variants (for warm bg) */
.strength-item--light {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
.strength-item__title--dark {
  color: var(--color-heading);
}
.strength-item__desc--dark {
  color: var(--color-text-light);
}

/* --- Coverage Area --- */
.coverage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.coverage__map {
  background: var(--color-primary);
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}
.coverage__map-content {
  text-align: center;
}
.coverage__map-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.coverage__map-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 1rem;
}
.coverage__map-dot {
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.7;
}
.coverage__list {
  padding: var(--space-xl);
  background: #fff;
}
.coverage__area {
  margin-bottom: var(--space-md);
}
.coverage__area-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.coverage__area-names {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.8;
}

/* --- Scroll Indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}
.scroll-indicator__text {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-indicator__line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}
.scroll-indicator__line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* --- Top Page Responsive --- */
@media (max-width: 768px) {
  .split-hero {
    flex-direction: column;
    height: 100svh; min-height: 0;
  }
  .split-hero__panel {
    padding: 1.5rem var(--space-md) 3.5rem;
    min-height: auto;
    align-items: center;
  }
  .split-hero__panel--b2c {
    padding-top: 3.5rem;
  }
  .split-hero .scroll-indicator {
    left: 1.5rem;
    transform: none;
  }
  .split-hero__title {
    font-size: 1.5rem;
  }
  .split-hero__panel--b2b {
    order: 1;
  }
  .split-hero__divider {
    order: 2;
    position: static;
    width: 85%;
    max-width: 320px;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
    margin: 0 auto;
    margin-bottom: -1.25rem;
    z-index: 5;
  }
  .split-hero__center {
    order: 3;
    position: static;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
    justify-content: center;
    margin: -1rem 0;
    z-index: 6;
  }
  .split-hero__center img {
    height: 45px !important;
  }
  .split-hero__panel--b2c {
    order: 4;
  }
  .stats-bar__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-bar__number {
    font-size: 1.8rem;
  }
  .grid--3 {
    grid-template-columns: 1fr;
  }
  .coverage {
    grid-template-columns: 1fr;
  }
  .coverage__map {
    padding: var(--space-lg);
  }
  .coverage__list {
    padding: var(--space-lg);
  }
  .strength-item {
    gap: var(--space-sm);
  }
  .header__cta-btn--estimate-white {
    display: none;
  }

  .mb-sm { margin-bottom: var(--space-sm); }
}

/* スマホ: 法人・個人ボタン着色 */
@media (max-width: 768px) {
  .split-hero__panel:hover .split-hero__btn {
    background: inherit;
    border-color: inherit;
  }
  .split-hero__panel--b2b:hover .split-hero__btn {
    background: rgba(255, 140, 50, 0.65);
    border-color: rgba(255, 160, 80, 0.6);
  }
  .split-hero__panel--b2c:hover .split-hero__btn {
    background: rgba(70, 130, 240, 0.65);
    border-color: rgba(100, 160, 255, 0.6);
  }
  .split-hero__panel--b2b .split-hero__btn {
    background: rgba(255, 140, 50, 0.55);
    border: 1px solid rgba(255, 160, 80, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-weight: 600;
    padding: 0.9em 2.5em;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: #fff;
  }
  .split-hero__panel--b2c .split-hero__btn {
    background: rgba(70, 130, 240, 0.55);
    border: 1px solid rgba(100, 160, 255, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-weight: 600;
    padding: 0.9em 2.5em;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: #fff;
  }
}