/* ============================================================
   ECOLEASE LP STYLE.CSS
   最終整理版 目次

   01 ROOT
   02 RESET
   03 COMMON
   04 HEADER
   05 LP SWITCHER
   06 HERO
   07 CONCEPT
   08 PROBLEM
   09 SERVICE
   10 FLOW
   11 CTA
   12 CONTACT
   13 FOOTER
   14 FLOAT CTA
   15 ANIMATION
   16 MOBILE
============================================================ */
/* ============================================================
   ECOLEASE LP v3 — with real product photos
   ============================================================ */
/* ============================================================
   01 ROOT
============================================================ */
:root {
  --dark: #080e1c;
  --dark-2: #0f1829;
  --navy: #162040;
  --green: #00c853;
  --green-dark: #009140;
  --green-glow: #00ff7a;
  --gold: #ffd600;
  --white: #ffffff;
  --off-white: #f0f4fa;
  --gray: #8892a4;
  --gray-light: #cdd5e0;
  --text-dark: #0a0f1e;
  --text-body: #3b4560;
  --red-accent: #ff3d57;

  --font-heading: "Oswald", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.14);
  --shadow-glow: 0 0 30px rgba(0, 200, 83, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
}
.section-label::before {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--green);
}
.section-label.white {
  color: var(--white);
}
.section-label.white::before {
  background: var(--white);
}

/* .section-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 48px;
  line-height: 1.2;
} */
.section-title.white {
  color: var(--white);
}

/* ============================================================ LP SWITCHER */
/* ============================================================
   05 LP SWITCHER
============================================================ */
.lp-switcher {
  background: var(--dark);
  border-bottom: 1px solid rgba(0, 200, 83, 0.2);
  position: sticky;
  top: 0;
  z-index: 200;
}
.lp-switcher-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
  height: 44px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.lp-switcher-inner::-webkit-scrollbar {
  display: none;
}
.lp-switcher-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gray);
  text-transform: uppercase;
  margin-right: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}
.lp-switcher-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  padding: 0 16px;
  height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: var(--transition);
}
.lp-switcher-link:hover {
  color: var(--white);
}
.lp-switcher-link.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ============================================================ STICKY HEADER */
/* ============================================================
   04 HEADER
============================================================ */
.sticky-header {
  position: sticky;
  top: 44px;
  z-index: 190;
  background: rgba(8, 14, 28, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  /* transform: translateY(-100%);
  opacity: 0; */
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}
.sticky-header.visible {
  transform: translateY(0);
  opacity: 1;
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 4px;
}
.logo-text {
  margin-left: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--green);
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
}
.header-cta {
  background: var(--green);
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 30px 10px 24px;
  letter-spacing: 0.05em;
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 50%,
    calc(100% - 10px) 100%,
    0 100%
  );
  transition: var(--transition);
}
.header-cta:hover {
  background: var(--green-glow);
}

/* ============================================================ BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 48px 16px 36px;
  letter-spacing: 0.05em;
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 50%,
    calc(100% - 14px) 100%,
    0 100%
  );
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-primary:hover::before {
  transform: translateX(100%);
}
.btn-primary:hover {
  background: var(--green-glow);
  box-shadow: var(--shadow-glow);
}
.btn-primary.large {
  font-size: 18px;
  padding: 20px 64px 20px 48px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--green);
  color: var(--green);
}

/* MV(HERO) SECTION */
.mv {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ★追加：メインビジュアル背景 */
.mv-main-visual {
  position: absolute;
  inset: 0;
  background-image: url("../images/main-visual.jpg"); /* ダウンロードした画像名に合わせてください */
  background-size: cover;
  background-position: center center;
  z-index: 1;
  opacity: 0.6; /* テキストを読みやすくするため少し暗く設定 */
}

.mv-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 14, 28, 0.8) 0%,
    transparent 50%,
    rgba(8, 14, 28, 0.8) 100%
  );
  z-index: 2;
}

.mv-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 83, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 83, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 3;
}

.mv-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.mv-badge {
  display: inline-flex;
  padding: 4px 12px;
  background: rgba(0, 200, 83, 0.2);
  border: 1px solid var(--green);
  color: var(--green);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

h1.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 11vw, 70px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 8vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.mv-lead {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 40px;
  color: #fff;
}

@media (max-width: 768px) {
  .mv-main-visual {
    background-position: 40% center; /* スマホで見切れないよう位置調整 */
  }

  .mv-content {
    max-width: 100%; /* スマホではテキストを全幅に */
    padding: 0 20px;
    text-align: center;
  }
  h1.section-title {
    text-align: left;
  }
}

/* ============================================================ HERO */
/* ============================================================
   06 HERO
============================================================ */
.hero {
  min-height: 100vh;
  background: var(--dark);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 80% at 70% 50%,
      rgba(0, 145, 64, 0.12) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 60% at 20% 80%,
      rgba(22, 32, 64, 0.8) 0%,
      transparent 60%
    );
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 83, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 83, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse 80% 80% at 60% 50%,
    black 0%,
    transparent 70%
  );
}
.hero-accent-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.4;
}
.hero-accent-line.l1 {
  width: 40%;
  left: 30%;
  top: 35%;
}
.hero-accent-line.l2 {
  width: 25%;
  left: 45%;
  top: 65%;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  z-index: 2;
  max-width: calc(50vw);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 200, 83, 0.12);
  border: 1px solid rgba(0, 200, 83, 0.3);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero-title {
  margin-bottom: 24px;
  color: var(--white);
}
.hero-title-sub {
  display: block;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.hero-title-main {
  display: block;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
}
.hero-title-main em {
  font-style: normal;
  color: var(--green);
  position: relative;
}
.hero-title-main em::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  transform: skewX(-10deg);
}

.hero-desc {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--gray-light);
  margin-bottom: 36px;
  line-height: 1.85;
}
.hero-desc strong {
  color: var(--gold);
  font-weight: 700;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.hero-urgency {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-urgency-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 214, 0, 0.1);
  border: 1px solid rgba(255, 214, 0, 0.3);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
}
.hero-urgency-pill::before {
  content: "⚡";
  font-size: 11px;
}
.hero-note {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 36px;
}
.hero-note strong {
  color: var(--gold);
}

.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
}
.hero-stat {
  flex: 1;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  margin-right: 24px;
}
.hero-stat:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
  white-space: nowrap;
}
.stat-num em {
  font-style: normal;
  font-size: 0.6em;
  color: var(--green);
}
.stat-label {
  display: block;
  font-size: 12px;
  color: var(--gray);
}

/* Hero visual — real photo */
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.hero-img-frame {
  width: 88%;
  max-width: 520px;
  aspect-ratio: 4/3;
  position: relative;
}

.hero-img-frame::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(0, 200, 83, 0.3);
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    20px 100%,
    0 calc(100% - 20px)
  );
}
.hero-img-frame::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 60px;
  height: 3px;
  background: var(--green);
}

.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    20px 100%,
    0 calc(100% - 20px)
  );
  display: block;
}

.factory .hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    20px 100%,
    0 calc(100% - 20px)
  );
  display: block;
}
/* construction hero image - 人物写真のため上部を基準に表示 */
.construction .hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  clip-path: polygon(0px 0px, calc(100% - 20px) 0px, 100% 20px, 100% 100%, 20px 100%, 0px calc(100% - 20px));
  display: block;
}
/* event hero image - ステージ全体を見せるため中央表示 */
.event .hero-img-frame img {
  object-position: center 50%;
}
.hero-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy), var(--dark-2));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gray);
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    20px 100%,
    0 calc(100% - 20px)
  );
}
.hero-img-placeholder p {
  font-size: 14px;
  font-weight: 600;
}
.hero-img-placeholder span {
  font-size: 11px;
}
.hero-corner-badge {
  position: absolute;
  bottom: 40px;
  right: 10%;
  background: var(--green);
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: center;
  padding: 16px 20px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0 100%
  );
}
.hero-corner-badge .cbadge-num {
  display: block;
  font-size: 36px;
  line-height: 1;
}
.hero-corner-badge .cbadge-unit {
  font-size: 14px;
  display: block;
}
.hero-corner-badge .cbadge-label {
  font-size: 11px;
  opacity: 0.8;
  display: block;
  margin-top: 2px;
}

/* ============================================================ PRODUCTS SECTION */
.products {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.products::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 83, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 83, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.products .section-title {
  color: var(--white);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}
.product-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.75) saturate(0.8);
}
.product-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.9) saturate(1);
}
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.product-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.product-card-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
/* Placeholder for missing images */
.product-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-2) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray);
}
.product-placeholder svg {
  opacity: 0.4;
}
.product-placeholder span {
  font-size: 11px;
  text-align: center;
  padding: 0 8px;
}

/* ============================================================ PROBLEM */
/* ============================================================
   08 PROBLEM
============================================================ */
.problem {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.problem::before {
  content: "PROBLEM";
  position: absolute;
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.025);
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.problem-card {
  background: var(--dark);
  color: var(--white);
  padding: 36px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.problem-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.problem-card:hover::before {
  transform: scaleX(1);
}
.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.problem-card::after {
  content: attr(data-num);
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
}
.problem-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}
.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
  line-height: 1.3;
}
.problem-card p {
  font-size: 13px;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.7;
}

/* ============================================================ SOLUTION */
.solution {
  padding: 100px 0;
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
}
.solution::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 70% at 80% 50%,
    rgba(0, 145, 64, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.solution-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.solution-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}
.solution-item:last-child {
  border-bottom: none;
}
.solution-item:hover {
  padding-left: 12px;
}
.solution-num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.1em;
  padding-top: 4px;
  white-space: nowrap;
  width: 56px;
  flex-shrink: 0;
}
.solution-body h3 {
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.solution-body h3 strong {
  color: var(--green);
}
.solution-body p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}
.solution-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.solution-badge {
  width: 190px;
  height: 190px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--dark);
  animation: badge-glow 3s ease infinite;
}
@keyframes badge-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 20px rgba(0, 200, 83, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(0, 200, 83, 0.7));
  }
}
.badge-num {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
}
.badge-unit {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
}
.badge-label {
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

/* ============================================================ USE CASES — with real photos */
.usecases {
  padding: 100px 0;
  background: var(--white);
}
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.usecase-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.usecase-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.usecase-card:hover::after {
  transform: scaleX(1);
}
.usecase-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-6px);
}
.usecase-card.featured {
  border-color: var(--green);
}
.usecase-card.featured::after {
  transform: scaleX(1);
}
.usecase-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--dark);
}
.usecase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.usecase-card:hover .usecase-img img {
  transform: scale(1.06);
}
.usecase-placeholder-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--dark-2));
  color: var(--green);
  opacity: 0.6;
}
.usecase-body {
  padding: 22px 24px;
}
.usecase-tag {
  display: inline-block;
  background: rgba(0, 145, 64, 0.1);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.usecase-tag.highlight {
  background: var(--green);
  color: var(--dark);
}
.usecase-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.usecase-body p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ============================================================ WHY */
.why {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 83, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 83, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.why .section-title {
  color: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
}
.why-card {
  background: var(--dark-2);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--green);
  transition: height 0.4s ease;
}
.why-card:hover::before {
  height: 100%;
}
.why-card:hover {
  background: rgba(0, 200, 83, 0.05);
}
.why-icon-wrap {
  color: var(--green);
  margin-bottom: 20px;
  transition: var(--transition);
  display: inline-flex;
}
.why-card:hover .why-icon-wrap {
  transform: scale(1.1);
}
.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.why-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.75;
}

/* ============================================================ FLOW */
/* ============================================================
   10 FLOW
============================================================ */
.flow {
  padding: 100px 0;
  background: var(--off-white);
}
.flow-steps {
  display: flex;
  align-items: flex-start;
  position: relative;
}
.flow-steps::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  z-index: 0;
}
.flow-step {
  flex: 1;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.flow-step-num {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--green);
  margin-bottom: 12px;
}
.flow-step-icon {
  width: 64px;
  height: 64px;
  background: var(--white);
  border: 3px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: var(--transition);
}
.flow-step:hover .flow-step-icon {
  background: var(--green);
  transform: scale(1.1);
}
.flow-step h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.flow-step p {
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.65;
}

/* ============================================================ CTA BAND */
/* ============================================================
   11 CTA
============================================================ */
.cta-band {
  padding: 80px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 145, 64, 0.15) 0%,
    transparent 50%,
    rgba(0, 145, 64, 0.08) 100%
  );
}
.cta-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  top: 0;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}
.cta-band .container {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-band > .container > p {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 36px;
}
.cta-band-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  padding: 18px 30px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.08em;
  transition: var(--transition);
}
.btn-tel:hover {
  border-color: var(--green);
  color: var(--green);
}
.cta-urgent-note {
  font-size: 13px;
  color: var(--gray);
  margin-top: 24px;
}
.cta-urgent-note strong {
  color: var(--gold);
}

/* ============================================================ CONTACT */
/* ============================================================
   12 CONTACT
============================================================ */
.contact {
  padding: 100px 0;
  background: var(--white);
}
.contact-sub {
  font-size: 15px;
  color: var(--text-body);
  margin-top: -32px;
  margin-bottom: 48px;
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  background: rgba(0, 145, 64, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-phone {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.contact-phone:hover {
  color: var(--green-dark);
}
.contact-hours {
  font-size: 12px;
  color: var(--gray);
  margin-top: 4px;
}
.contact-reasons {
  background: var(--dark);
  padding: 24px;
  border-left: 3px solid var(--green);
}
.contact-reasons h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.contact-reasons ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-reasons li {
  font-size: 13px;
  color: var(--gray);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.required {
  background: var(--red-accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.1);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-body);
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.checkbox-label a {
  color: var(--green-dark);
  text-decoration: underline;
}
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--green);
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  padding: 20px 40px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  clip-path: polygon(
    0 0,
    calc(100% - 16px) 0,
    100% 50%,
    calc(100% - 16px) 100%,
    0 100%
  );
}
.btn-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-submit:hover::before {
  transform: translateX(100%);
}
.btn-submit:hover {
  background: var(--green-glow);
  box-shadow: var(--shadow-glow);
}
.form-note {
  font-size: 12px;
  color: var(--gray);
}

/* ============================================================ FOOTER */
/* ============================================================
   13 FOOTER
============================================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 12px;
  color: var(--gray);
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--green);
}
.footer-contact {
  text-align: right;
}
.footer-contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-phone {
  display: block;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  transition: var(--transition);
}
.footer-phone:hover {
  color: var(--green);
}
.footer-hours {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 20px;
}
.footer-cta-btn {
  display: inline-block;
  background: var(--green);
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  transition: var(--transition);
}
.footer-cta-btn:hover {
  background: var(--green-glow);
}
.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--gray);
}

/* ============================================================ FLOAT CTA */
/* ============================================================
   14 FLOAT CTA
============================================================ */
.float-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 300;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}
.float-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.float-tel,
.float-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 20px;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.float-tel {
  background: var(--white);
  color: var(--dark);
  border: 2px solid rgba(0, 0, 0, 0.1);
}
.float-tel:hover {
  border-color: var(--green);
  color: var(--green-dark);
}
.float-form {
  background: var(--green);
  color: var(--dark);
}
.float-form:hover {
  background: var(--green-glow);
}

/* ============================================================ ANIMATIONS */
/* ============================================================
   15 ANIMATION
============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 {
  transition-delay: 0.1s;
}
.fade-up-delay-2 {
  transition-delay: 0.2s;
}
.fade-up-delay-3 {
  transition-delay: 0.3s;
}
.fade-up-delay-4 {
  transition-delay: 0.4s;
}
.fade-up-delay-5 {
  transition-delay: 0.5s;
}

/* ============================================================ RESPONSIVE */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-content {
    padding: 120px 24px 48px;
    max-width: 100%;
  }
  .hero-visual {
    min-height: 320px;
    padding: 40px 24px;
  }
  .hero-img-frame {
    max-width: 400px;
  }
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .solution-content {
    grid-template-columns: 1fr;
  }
  .solution-visual {
    display: none;
  }
}
@media (max-width: 768px) {
  .trust-bar-inner {
    justify-content: flex-start;
  }
  .usecase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .flow-steps {
    flex-direction: column;
    gap: 24px;
  }
  .flow-steps::before {
    display: none;
  }
  .flow-step {
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }
  .flow-step-icon {
    margin: 0;
    flex-shrink: 0;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-contact {
    text-align: left;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .trust-bar-inner {
    padding: 10px 16px;
  }
  .trust-bar-inner span {
    width: 100%;
    justify-content: center;
  }
  .problem-grid,
  .usecase-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-ctas {
    flex-direction: column;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .float-cta {
    bottom: 0;
    right: 0;
    flex-direction: row;
    gap: 0;
    width: 100%;
  }
  .float-tel,
  .float-form {
    width: 50%;
    box-shadow: none;
  }
  .footer {
    margin-bottom: 55px;
  }
  .solution .section-title {
    font-size: 24px;
    text-align: center;
  }
  .solution .section-label {
    display: flex;
    justify-content: center;
  }
}

/* ============================================================ TRUST BAR */
.trust-bar {
  background: linear-gradient(
    90deg,
    rgba(0, 145, 64, 0.14),
    rgba(0, 200, 83, 0.08)
  );
  border-bottom: 1px solid rgba(0, 200, 83, 0.12);
}
.trust-bar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
}
.trust-bar-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.9);
  padding: 7px 12px;
  border: 1px solid rgba(0, 145, 64, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}
.trust-bar-inner span::before {
  content: "\2713";
  color: var(--green);
  font-weight: 900;
}

/* ============================================================ CONTACT BOOST */
.contact-quickbox {
  background: linear-gradient(
    135deg,
    rgba(0, 145, 64, 0.08),
    rgba(0, 200, 83, 0.03)
  );
  border: 1px solid rgba(0, 145, 64, 0.14);
  padding: 22px;
}
.contact-quick-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--green-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-quick-text {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 14px;
}
.contact-quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 20px;
  transition: var(--transition);
}
.contact-quick-btn:hover {
  background: var(--green-dark);
}
.contact-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.contact-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green-dark);
  background: rgba(0, 145, 64, 0.08);
  border: 1px solid rgba(0, 145, 64, 0.12);
  padding: 6px 10px;
}
.contact-assurance span::before {
  content: "\2713";
  color: var(--green);
}
/* ============================================================ scroll down animation */
.scroll_anime-wrapper {
  position: absolute;
  bottom: 60px;
  z-index: 300;
}
.scroll {
  color: #fff;
  margin-inline: auto;
  margin-top: 30px;
  position: relative;
  width: fit-content;
}
/* マウスホイール */
.scroll::before {
  animation: 2s scroll infinite;
  background: #fff;
  border-radius: 3px;
  content: "";
  height: 10px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 2px;
}
/* マウス */
.scroll::after {
  border: 1px solid #fff;
  border-radius: 20px;
  content: "";
  display: block;
  height: 50px;
  margin-inline: auto;
  margin-top: 10px;
  width: 30px;
}
/* アニメーション */
@keyframes scroll {
  0% {
    opacity: 0;
    top: 40%;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    top: 70%;
  }
}

/* test */
.usecase-body-test {
  padding: 50px 22px 24px;
  position: relative;
}
.usecase-tag-test {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  background: rgba(0, 145, 64, 0.1);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.usecase-tag-test.highlight {
  background: var(--green);
  color: var(--dark);
}
.usecase-body-test h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.usecase-body-test p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.7;
}


/* ===== Imported modern contact/flow styles ===== */
.contact--modern {
  background: var(--paper-2);
  padding: 96px 0;
}
.contact--modern .wrap {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}
.contact--modern .section-title-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.contact--modern .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--leaf);
  text-transform: uppercase;
}
.contact--modern .h-section{
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 64px) !important;
  line-height: 1.08 !important;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
}
.contact--modern .h-section em {
  color: var(--vermillion);
  font-style: italic;
}
.contact--modern .h-section .jp{
  display:block !important;
  margin-top:14px !important;
  font-family: var(--jp) !important;
  font-size: clamp(20px,2.2vw,28px) !important;
  font-weight:700 !important;
  letter-spacing:0.02em !important;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact__info {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact__info p {
  color: #2a3147;
}
.contact__quick {
  background: var(--vermillion);
  color: #fff;
  padding: 24px;
  border-radius: 2px;
}
.contact__quick .lbl {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 6px;
}
.contact__quick h4 {
  font-family: var(--jp);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 6px;
  color: #fff;
}
.contact__quick .tel {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: .04em;
  color: #fff;
  display: inline-block;
  margin-top: 8px;
}
.contact__why {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.contact__why h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
}
.contact__why ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact__why li {
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule);
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact__why li::before {
  content: "✓";
  color: var(--leaf);
  font-weight: 700;
}
.form--modern {
  background: var(--paper);
  padding: 40px;
  border: 1px solid var(--rule);
  box-shadow: 0 18px 50px rgba(10, 15, 30, 0.08);
}
.form__progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.form__progress .step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mute);
}
.form__progress .step .n {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form__progress .step.is-current {
  color: var(--ink);
}
.form__progress .step.is-current .n {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.form__progress .step.is-done .n {
  background: var(--leaf);
  border-color: var(--leaf);
  color: #fff;
}
.form__progress .line {
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.form-field {
  margin-bottom: 18px;
}
.form-field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-field label .req {
  color: var(--vermillion);
  margin-left: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  font-family: var(--jp);
  font-size: 14px;
  color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease);
  border-radius: 0;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #99a0b3;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.form-chip {
  padding: 8px 16px;
  border: 1px solid var(--rule);
  background: var(--paper);
  font-family: var(--jp);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s var(--ease);
  border-radius: 0;
}
.form-chip:hover {
  border-color: var(--ink);
}
.form-chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.form__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.form__note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--mute);
}
.form__submit {
  border: none;
  background: var(--vermillion);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  padding: 18px 32px;
  transition: background .2s var(--ease), transform .2s var(--ease), opacity .2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.form__submit:not(:disabled):hover {
  background: var(--vermillion-dark);
  transform: translateY(-2px);
}
.form__back {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 18px 28px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.form-privacy-modern {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-body, #3b4560);
}
.form-privacy-modern a {
  color: var(--leaf);
  text-decoration: underline;
}
.form__success {
  text-align: center;
  padding: 40px 0;
}
.form__success .check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 40px;
}
.form__success h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  margin-bottom: 12px;
}
.form__success p {
  color: var(--mute);
}
@media (max-width: 900px) {
  .contact--modern .section-title-row,
  .contact__grid,
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .contact__info {
    position: static;
  }
  .form__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .form__submit,
  .form__back {
    justify-content: center;
    width: 100%;
  }
}
@media (max-width: 600px) {
  .contact--modern {
    padding: 72px 0;
  }
  .contact--modern .wrap {
    width: min(100% - 32px, 1140px);
  }
  .form--modern {
    padding: 28px 20px;
  }
  .form__progress {
    font-size: 9px;
    letter-spacing: .08em;
  }
  .contact__quick .tel {
    font-size: 28px;
  }
}


/* ============================================================
Modern Process Flow / TOP synchronized
============================================================ */
.flow--modern {
  background: var(--paper);
  padding: 96px 0;
}
.flow--modern .wrap {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}
.flow--modern .section-title-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.flow--modern .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-transform: uppercase;
}
.flow--modern .kicker::before {
  content: attr(data-num);
}
.flow--modern .kicker {
  font-size: 0;
}
.flow--modern .kicker::before {
  font-size: 12px;
}
.flow--modern .h-section {
  font-family: var(--serif);
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.flow--modern .h-section em {
  color: var(--ink);
  font-style: italic;
}
.flow--modern .h-section .jp {
  display: block;
  margin-top: 10px;
  font-family: var(--jp);
  font-style: normal;
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.flow--modern .flow__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.flow--modern .flow__rail::before {
  content: "";
  position: absolute;
  left: 0 !important;
  right: 0 !important;
  top: 36px;
  height: 1px;
  background: var(--rule);
  z-index: 0;
}
.flow--modern .flow-step {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.flow--modern .flow-step .dot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  position: relative;
  z-index: 2;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.flow--modern .flow-step:hover .dot {
  background: var(--vermillion);
  color: #fff;
  border-color: var(--vermillion);
}
.flow--modern .flow-step .duration {
  display: inline-flex;
  align-items: center;
  align-self: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--vermillion);
  background: rgba(230, 58, 30, .08);
  padding: 3px 8px;
}
.flow--modern .flow-step .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute);
}
.flow--modern .flow-step .t {
  font-family: var(--jp);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
}
.flow--modern .flow-step .d {
  font-size: 13px;
  line-height: 1.8;
  color: #2a3147;
}
@media (max-width: 900px) {
  .flow--modern .section-title-row,
  .flow--modern .flow__rail {
    grid-template-columns: 1fr;
  }
  .flow--modern .flow__rail {
    gap: 28px;
  }
  .flow--modern .flow__rail::before {
    left: 36px;
    right: auto;
    top: 36px;
    bottom: 36px;
    width: 1px;
    height: auto;
  }
  .flow--modern .flow-step {
    align-items: flex-start;
    text-align: left;
    padding-left: 96px;
    min-height: 72px;
  }
  .flow--modern .flow-step .duration {
    align-self: flex-start;
  }
  .flow--modern .flow-step .dot {
    position: absolute;
    left: 0;
    top: 0;
  }
}
@media (max-width: 600px) {
  .flow--modern {
    padding: 72px 0;
  }
  .flow--modern .wrap {
    width: min(100% - 32px, 1140px);
  }
  .flow--modern .h-section {
    font-size: 38px;
  }
  .flow--modern .h-section .jp {
    font-size: 22px;
  }
}


/* ===== EcoLease real logo replacement ===== */
.header-logo,
.footer-logo {
  display: flex;
  align-items: center;
}
.site-logo-img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}
.header-logo .site-logo-img {
  max-width: 150px;
  max-height: 54px;
}
.footer-logo .site-logo-img {
  max-width: 170px;
  max-height: 64px;
}
.header-logo .logo-mark,
.header-logo .logo-text,
.footer-logo .logo-mark,
.footer-logo .logo-text {
  display: none !important;
}
@media (max-width: 768px) {
  .header-logo .site-logo-img {
    max-width: 118px;
    max-height: 42px;
  }
  .footer-logo .site-logo-img {
    max-width: 148px;
    max-height: 56px;
  }
}
@media (max-width: 420px) {
  .header-logo .site-logo-img {
    max-width: 104px;
    max-height: 38px;
  }
}


/* ===== Final footer logo / company name adjustment ===== */
.footer-logo,
.footer-brand .footer-logo,
.footer-logo--company {
  display: inline-flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
}
.footer-logo .site-logo-img,
.footer-logo .site-logo-img--cutout {
  display: block !important;
  width: 128px !important;
  max-width: 128px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  background: transparent !important;
}
.footer-logo-text {
  display: inline-block !important;
  color: #ffffff !important;
  font-family: var(--font-heading, var(--jp, "Noto Sans JP", sans-serif)) !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.footer-cta-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  border-radius: 2px;
}
.footer-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  margin-top: 14px;
  padding: 13px 24px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-family: var(--font-heading, var(--jp, "Noto Sans JP", sans-serif));
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: var(--transition, all .25s ease);
}
.footer-call-btn::before {
  content: "☎";
  margin-right: 8px;
  font-size: 15px;
}
.footer-call-btn:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.header-logo .site-logo-img,
.brand--logo .brand__logo-img {
  max-width: 132px !important;
  max-height: 54px !important;
  object-fit: contain !important;
  background: transparent !important;
}
@media (max-width: 768px) {
  .footer-logo,
  .footer-brand .footer-logo,
  .footer-logo--company {
    gap: 12px !important;
  }
  .footer-logo .site-logo-img,
  .footer-logo .site-logo-img--cutout {
    width: 104px !important;
    max-width: 104px !important;
  }
  .footer-logo-text {
    font-size: 22px !important;
  }
  .footer-contact {
    align-items: stretch;
    text-align: left;
  }
  .footer-cta-btn,
  .footer-call-btn {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .footer-logo,
  .footer-brand .footer-logo,
  .footer-logo--company {
    gap: 10px !important;
  }
  .footer-logo .site-logo-img,
  .footer-logo .site-logo-img--cutout {
    width: 92px !important;
    max-width: 92px !important;
  }
  .footer-logo-text {
    font-size: 20px !important;
    letter-spacing: .02em !important;
  }
  .header-logo .site-logo-img,
  .brand--logo .brand__logo-img {
    max-width: 104px !important;
    max-height: 42px !important;
  }
}


/* ============================================================
   FINAL LP FIXES — 2026-05-26
   共通フッター / ロゴ / TOPテキスト微調整 / 新フォーム・新フロー
============================================================ */
.mv-content .section-title{
  transform: translateX(22px);
}
@media (max-width: 768px){
  .mv-content .section-title{
    transform: translateX(0);
  }
}
.header-logo{
  display:flex;
  align-items:center;
  gap:10px;
}
.header-logo-img{
  width:64px;
  height:auto;
  display:block;
}
@media (max-width: 768px){
  .header-logo-img{width:52px;}
  .header-logo .logo-text{font-size:14px; white-space:nowrap;}
}
/* ============================================================
   03 COMMON
============================================================ */
.footer--common{
  background:#07101f;
  color:#fff;
  padding:56px 0 28px;
}
.footer--common .footer-inner{
  display:grid;
  grid-template-columns:1fr auto;
  gap:48px;
  align-items:start;
}
.footer-logo--company{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:18px;
}
.footer-logo-img{
  width:108px;
  height:auto;
  display:block;
  flex:0 0 auto;
}
.footer-logo-text{
  color:#fff;
  font-size:24px;
  font-weight:800;
  letter-spacing:.03em;
  line-height:1.3;
  white-space:nowrap;
}
.footer--common .footer-brand p{
  color:rgba(255,255,255,.78);
  font-size:14px;
  line-height:1.9;
  margin:0 0 18px;
}
.footer--common .footer-links{
  display:flex;
  gap:24px;
  align-items:center;
  flex-wrap:wrap;
}
.footer--common .footer-links a{
  color:rgba(255,255,255,.88);
  font-size:14px;
}
.footer--common .footer-contact{
  text-align:center;
  min-width:300px;
}
.footer-contact-label{
  color:rgba(255,255,255,.72);
  font-size:13px;
  margin:0 0 6px;
}
.footer-phone{
  display:block;
  color:#fff;
  font-size:34px;
  font-weight:900;
  letter-spacing:.04em;
  line-height:1.2;
}
.footer-hours{
  color:rgba(255,255,255,.72);
  font-size:13px;
  margin:6px 0 18px;
}
.footer-cta-btn,
.footer-call-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  border-radius:2px;
  font-weight:800;
  text-decoration:none;
}
.footer-cta-btn{
  background:#00cf62;
  color:#06101e;
  margin-bottom:14px;
  padding:0 28px;
}
.footer-cta-btn::after{
  content:'›';
  font-size:28px;
  line-height:1;
  margin-left:18px;
}
.footer-call-btn{
  background:#0d1b31;
  color:#fff;
  border-radius:999px;
  padding:0 28px;
}
.footer-call-btn::before{
  content:'☎';
  margin-right:10px;
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.16);
  margin-top:40px;
  padding-top:22px;
  text-align:center;
  color:rgba(255,255,255,.78);
  font-size:13px;
}
@media (max-width: 768px){
  .footer--common{padding:44px 0 24px;}
  .footer--common .footer-inner{
    grid-template-columns:1fr;
    gap:34px;
  }
  .footer-logo--company{
    gap:12px;
  }
  .footer-logo-img{width:92px;}
  .footer-logo-text{font-size:20px;}
  .footer--common .footer-contact{
    min-width:0;
    text-align:center;
  }
  .footer-phone{font-size:30px;}
  .footer-cta-btn,
  .footer-call-btn{
    width:100%;
  }
}
@media (max-width: 420px){
  .footer-logo-img{width:76px;}
  .footer-logo-text{font-size:18px;}
  .footer-logo--company{align-items:center;}
}
/* TOP ご利用の流れ：PC中央位置調整 */
@media (min-width: 901px) {
  .flow--modern .flow__rail {
    width: 760px;
    max-width: 760px;
    margin: 0 auto;
    transform: none;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;
  }
}

  .flow--modern .flow__rail::before {
    left: 72px;
    right: 72px;
  }

  .flow--modern .flow-step {
    text-align: center;
  }
/* 業種別3ページ：見出し・配色をTOPと統一 */
.contact--modern {
  background: var(--paper-2) !important;
}

.contact--modern .kicker {
  font-family: var(--mono) !important;
  color: var(--leaf) !important;
}

.contact--modern .h-section {
  font-family: var(--serif) !important;
  font-style: normal !important;
  font-size: clamp(34px, 5vw, 64px) !important;
  line-height: 1.08 !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  color: var(--ink) !important;
}

.contact--modern .h-section em {
  color: var(--vermillion) !important;
  font-style: italic !important;
}

.contact--modern .h-section .jp {
  display: block !important;
  margin-top: 14px !important;
  font-family: var(--jp) !important;
  font-style: normal !important;
  font-size: clamp(20px, 2.2vw, 28px) !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  color: var(--ink) !important;
}

.contact--modern .form--modern {
  background: var(--paper) !important;
  border: 1px solid var(--rule) !important;
  box-shadow: 0 18px 50px rgba(10, 15, 30, 0.08) !important;
}

.contact--modern .form__submit {
  background: var(--vermillion) !important;
  color: #fff !important;
}

.contact--modern .form__submit:hover {
  background: var(--vermillion-dark) !important;
}
/* 業種別ページ：TOPと同じ背景色 */
.page-template-page-factory .contact--modern,
.page-template-page-construction .contact--modern,
.page-template-page-event .contact--modern {
    background: var(--paper-2) !important;
}

/* フォームカード部分は白 */
.page-template-page-factory .form--modern,
.page-template-page-construction .form--modern,
.page-template-page-event .form--modern {
    background: var(--paper) !important;
}
/* 業種別ページ CONTACT：TOPと完全一致 */
.page-template-page-factory .contact--modern,
.page-template-page-construction .contact--modern,
.page-template-page-event .contact--modern{
    background: var(--paper-2) !important;
}

/* 左の赤電話BOXを戻す */
.page-template-page-factory .contact__quick,
.page-template-page-construction .contact__quick,
.page-template-page-event .contact__quick{
    display:block !important;
    background: var(--vermillion) !important;
    color:#fff !important;
}

/* 白カード */
.page-template-page-factory .form--modern,
.page-template-page-construction .form--modern,
.page-template-page-event .form--modern{
    background:#fff !important;
    border:1px solid var(--rule) !important;
    box-shadow:0 18px 50px rgba(10,15,30,.08) !important;
}

/* ボタン色 */
.page-template-page-factory .form__submit,
.page-template-page-construction .form__submit,
.page-template-page-event .form__submit{
    background:#eab0a9 !important;
    color:#fff !important;
}
/* 業種別3ページ CONTACT：TOPスクショ配色に統一 */
.contact--modern {
  background: #f4efe6 !important;
}

.contact--modern .contact__quick {
  display: block !important;
  background: #e63a1e !important;
  color: #fff !important;
}

.contact--modern .form--modern {
  background: #fff !important;
  border: 1px solid #d9d4c5 !important;
  box-shadow: none !important;
}

.contact--modern .form__submit {
  background: #efaaa2 !important;
  color: #fff !important;
}

.contact--modern .form__submit:hover {
  background: #e63a1e !important;
}
/* ===== FINAL: 業種別3ページをTOP完全統一 ===== */

/* 背景 */
.contact--modern{
    background:#f3efe6 !important;
}

/* 左赤BOX */
.contact__quick{
    display:block !important;
    background:#e63a1e !important;
    color:#fff !important;
    border-radius:0 !important;
}

/* フォームカード */
.form--modern{
    background:#fff !important;
    border:1px solid rgba(10,15,30,.08) !important;
    box-shadow:0 18px 50px rgba(10,15,30,.08) !important;
}

/* 見出し */
.contact--modern .h-section{
    font-family:var(--serif) !important;
    color:var(--ink) !important;
}

.contact--modern .h-section .jp{
    font-family:var(--jp) !important;
}

/* ボタン */
.form__submit{
    background:#efaaa2 !important;
    color:#fff !important;
}

.form__submit:hover{
    background:#e63a1e !important;
}
/* CONTACT フォーム区切り線（TOPと統一） */
.contact--modern .form-field{
    padding: 24px 0;
    border-top: 1px solid #e5e2db;
}

.contact--modern .form-field:first-child{
    padding-top: 0;
    border-top: none;
}

.contact--modern .form-field:last-child{
    border-bottom: 1px solid #e5e2db;
    padding-bottom: 28px;
}

/* ラベル余白 */
.contact--modern .form-field label{
    display:block;
    margin-bottom:16px;
    font-size:14px;
    font-weight:700;
    color:#162040;
}

/* 必須文字 */
.contact--modern .req{
    color:#e75a4d;
    font-size:12px;
    margin-left:6px;
}
/* CONTACT：フォーム内チップ境界線をTOPと同じに戻す */
.contact--modern .form-chip {
  border: 1px solid var(--rule) !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
  padding: 8px 16px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.contact--modern .form-chip:hover {
  border-color: var(--ink) !important;
}

.contact--modern .form-chip.is-active,
.contact--modern .form-chip.active {
  background: var(--ink) !important;
  color: #fff !important;
  border-color: var(--ink) !important;
}

/* 項目ブロックの区切り線 */
.contact--modern .form-field {
  padding: 20px 0 !important;
  border-top: 1px solid var(--rule) !important;
}

.contact--modern .form-field:first-of-type {
  padding-top: 0 !important;
}
/* ===== フォームボタン境界線を強制復活 ===== */

.contact--modern .form-chips .form-chip{
    border:1px solid #d9d4c5 !important;
    background:#fff !important;
    color:#0a1733 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    appearance:none !important;
    -webkit-appearance:none !important;
}

/* hover */
.contact--modern .form-chips .form-chip:hover{
    border-color:#0a1733 !important;
}

/* 選択時 */
.contact--modern .form-chips .form-chip.is-active,
.contact--modern .form-chips .form-chip.active{
    background:#0a1733 !important;
    color:#fff !important;
    border-color:#0a1733 !important;
}

/* 項目区切り線 */
.contact--modern .form-field{
    border-top:1px solid #d9d4c5 !important;
    padding:24px 0 !important;
}

.contact--modern .form-field:first-child{
    border-top:none !important;
    padding-top:0 !important;
}
/* ===== TOPと完全同一フォント ===== */

/* 英字 */
.contact--modern .kicker{
    font-family: "Oswald","Noto Sans JP",sans-serif !important;
    letter-spacing: .18em !important;
}

/* メイン見出し */
.contact--modern .h-section{
    font-family: "Noto Serif JP","Noto Sans JP",serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.05 !important;
    color:#0a1733 !important;
}

/* 即日 */
.contact--modern .h-section em{
    color:#e63a1e !important;
    font-style: italic !important;
}

/* 日本語サブ */
.contact--modern .h-section .jp{
    font-family:"Noto Sans JP",sans-serif !important;
    font-weight:900 !important;
    letter-spacing:0 !important;
    color:#0a1733 !important;
}
/* 業種別ページ FLOW：TOPと同じ見た目に調整 */
.flow--modern .h-section{
  font-family: "Noto Serif JP","Noto Sans JP",serif !important;
  font-style: italic !important;
  font-weight: 500 !important;
  letter-spacing: -0.04em !important;
}

.flow--modern .h-section .jp{
  font-family: "Noto Sans JP",sans-serif !important;
  font-style: normal !important;
  font-weight: 900 !important;
}

.flow--modern .flow__rail{
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
}

.flow--modern .flow__rail::before{
  content: "" !important;
  position: absolute !important;
  left: 70px !important;
  right: 70px !important;
  top: 42px !important;
  height: 1px !important;
  background: var(--rule) !important;
}

.flow--modern .flow-step{
  position: relative !important;
  text-align: center !important;
  z-index: 1 !important;
}

.flow--modern .flow-step .dot{
  width: 64px !important;
  height: 64px !important;
  border: 2px solid var(--ink) !important;
  border-radius: 50% !important;
  background: var(--paper) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 18px !important;
  font-family: "Noto Serif JP", serif !important;
  font-style: italic !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: va
r(--ink) !important;
}
/* FLOW：TOP完全寄せ 最終調整 */
.flow--modern .wrap{
  width:min(1280px, calc(100% - 120px)) !important;
}

.flow--modern .flow__rail{
  margin-top:60px !important;
  align-items:start !important;
}

.flow--modern .flow__rail::before{
  top:32px !important;
  left:120px !important;
  right:120px !important;
  height:1px !important;
  background:#d9d4c5 !important;
}

.flow--modern .flow-step .dot{
  width:72px !important;
  height:72px !important;
  margin:0 auto 22px !important;
  font-size:34px !important;
  border:1.5px solid #0a1733 !important;
  background:#f3efe6 !important;
}

.flow--modern .flow-step{
  padding:0 24px !important;
}

.flow--modern .flow-step .t{
  margin-top:10px !important;
  font-size:18px !important;
  font-weight:900 !important;
}

.flow--modern .flow-step .d{
  margin-top:14px !important;
  line-height:2 !important;
  color:#3b4560 !important;
}
/* FLOW：TOPスクショ最終一致 */
.flow--modern {
  padding: 86px 0 88px !important;
  background: #fff !important;
}

.flow--modern .section-title-row {
  padding-top: 0 !important;
  padding-bottom: 42px !important;
  margin-bottom: 0 !important;
  grid-template-columns: 260px 1fr !important;
}

.flow--modern .flow__rail {
  width: min(1120px, 100%) !important;
  margin: 20px auto 0 !important;
  grid-template-columns: repeat(3, 1fr) !important;
}

.flow--modern .flow__rail::before {
  top: 36px !important;
  left: 80px !important;
  right: 80px !important;
  background: #d9d4c5 !important;
}

.flow--modern .flow-step .dot {
  width: 72px !important;
  height: 72px !important;
  margin-bottom: 22px !important;
  background: #fff !important;
  border: 1.5px solid #0a1733 !important;
  font-size: 34px !important;
}

.flow--modern .flow-step .duration {
  margin-bottom: 22px !important;
}

.flow--modern .flow-step .lbl {
  margin-bottom: 10px !important;
}

.flow--modern .flow-step .t {
  font-size: 18px !important;
  margin-bottom: 16px !important;
}

.flow--modern .flow-step .d {
  max-width: 260px !important;
  margin: 0 auto !important;
  font-size: 13px !important;
  line-height: 1.9 !important;
}
/* FLOW 横ライン長さ：最終上書き */
.flow--modern .flow__rail::before {
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
}
/* ===== CONTACT 最終調整：TOP合わせ ===== */

/* ③ backgroundカラー修正 */
.contact.contact--modern {
  background: #f4efe6 !important;
}

/* ① 電話番号フォント統一 */
.contact.contact--modern .contact__quick .tel {
  font-family: "Archivo", "Noto Sans JP", sans-serif !important;
  font-size: 32px !important;
  font-weight: 500 !important;
  letter-spacing: .04em !important;
  line-height: 1.1 !important;
  color: #fff !important;
}

/* ② フォーム進行 ①② を復活 */
.contact.contact--modern .form__progress {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.contact.contact--modern .form__progress .step {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.contact.contact--modern .form__progress .step .n {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  border-radius: 50% !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  background: #f4efe6 !important;
  border: 1px solid #d9d4c5 !important;
  color: #6a6f7f !important;
}

.contact.contact--modern .form__progress .step.is-current .n {
  background: #0a1733 !important;
  border-color: #0a1733 !important;
  color: #fff !important;
}

.contact.contact--modern .form__progress .line {
  display: block !important;
  flex: 1 !important;
  height: 1px !important;
  background: #d9d4c5 !important;
}
/* ===== CONTACT STEP2：TOPフォームに統一 ===== */

/* ① 背景色 */
.contact.contact--modern{
  background:#f4efe6 !important;
}

/* STEP2のフォーム項目をTOPと同じカード入力にする */
.contact.contact--modern .form-row-2{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:18px !important;
}

.contact.contact--modern .form-field input,
.contact.contact--modern .form-field textarea{
  width:100% !important;
  background:#f4efe6 !important;
  border:1px solid #d9d4c5 !important;
  padding:14px 16px !important;
  font-family:"Noto Sans JP", sans-serif !important;
  font-size:14px !important;
  color:#0a1733 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

/* ラベル */
.contact.contact--modern .form-field label{
  display:block !important;
  margin-bottom:8px !important;
  font-family:"JetBrains Mono","Noto Sans JP",monospace !important;
  font-size:11px !important;
  letter-spacing:.12em !important;
  color:#0a1733 !important;
}

/* 各入力ブロックの区切り線 */
.contact.contact--modern .form-row-2 .form-field,
.contact.contact--modern .form__step[data-step-panel="2"] > .form-field{
  border-top:none !important;
  padding-top:0 !important;
}

/* ご相談内容 textarea */
.contact.contact--modern textarea{
  min-height:120px !important;
  resize:vertical !important;
}

/* プライバシー同意の上線 */
.contact.contact--modern .form-privacy-modern{
  border-top:1px solid #d9d4c5 !important;
  padding-top:18px !important;
  margin-top:20px !important;
}

/* ボタン上のライン */
.contact.contact--modern .form__actions{
  border-top:1px solid #d9d4c5 !important;
  padding-top:24px !important;
}
/* ===== CONTACT 左側リスト：TOPと統一 ===== */

/* 「こんな方がご相談されています」の上線 */
.contact__why {
    border-top: 1px solid #d9d4c5 !important;
    padding-top: 22px !important;
    margin-top: 22px !important;
}

/* リスト全体 */
.contact__why ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 各行の点線 */
.contact__why li {
    border-bottom: 1px dashed #d9d4c5 !important;
    padding: 12px 0 !important;
}

/* 最終行もTOPに合わせる */
.contact__why li:last-child {
    border-bottom: 1px dashed #d9d4c5 !important;
}

/* チェックマーク */
.contact__why li::before {
    content: "✓";
    color: #1d6b3a;
    font-weight: 700;
    margin-right: 8px;
}
/* ===== CONTACT STEP2：最終版 TOPと同じ整列 ===== */

.contact.contact--modern .form__step[data-step-panel="2"] {
  display: block !important;
}

.contact.contact--modern .form__step[data-step-panel="2"] .form-row-2 {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 18px !important;
}

.contact.contact--modern .form__step[data-step-panel="2"] > .form-field {
  width: 100% !important;
  display: block !important;
  margin-bottom: 18px !important;
}

.contact.contact--modern .form__step[data-step-panel="2"] .form-field {
  padding: 0 !important;
  border-top: none !important;
}

.contact.contact--modern .form__step[data-step-panel="2"] input,
.contact.contact--modern .form__step[data-step-panel="2"] textarea {
  width: 100% !important;
  min-height: 52px !important;
  background: #f4efe6 !important;
  border: 1px solid #d9d4c5 !important;
  padding: 14px 16px !important;
  box-sizing: border-box !important;
}

.contact.contact--modern .form__step[data-step-panel="2"] textarea {
  min-height: 120px !important;
}

.contact.contact--modern .req,
.contact.contact--modern .form-field label .req {
  color: #e63a1e !important;
}
/* STEP切り替え：hiddenを最優先 */
.contact.contact--modern .form__step[hidden] {
  display: none !important;
}

/* チェックボックス位置をTOPに合わせる */
.contact.contact--modern .form-privacy-modern label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.contact.contact--modern .form-privacy-modern input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  flex: 0 0 16px !important;
  appearance: checkbox !important;
  -webkit-appearance: checkbox !important;
}
/* CONTACT見出し：TOPと横位置を合わせる */
.contact--modern .section-title-row {
  grid-template-columns: 260px 1fr !important;
  gap: 48px !important;
  align-items: end !important;
}
/* CONTACT見出し：TOPと同じく明朝イタリックに統一 */
/* CONTACT見出し：TOPと同じく明朝イタリックに統一 */
.contact.contact--modern .h-section {
  font-family: "Noto Serif JP", "Noto Sans JP", serif !important;
  font-style: italic !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

.contact.contact--modern .h-section em {
  font-style: italic !important;
}
/* 業種別 FLOW：ⅠⅡⅢ hover 最終版 */
.flow--modern .flow-step .dot {
  opacity: 1 !important;
  visibility: visible !important;
  background: #fff !important;
  color: #0a1733 !important;
  border: 1.5px solid #0a1733 !important;
  transition: all .3s ease !important;
}

.flow--modern .flow-step:hover .dot {
  opacity: 1 !important;
  visibility: visible !important;
  background: #e63a1e !important;
  color: #ffffff !important;
  border-color: #e63a1e !important;
}

.flow--modern .flow-step:hover .dot * {
  color: #ffffff !important;
}
/* ===== SP最終調整：CONTACT / FLOW / CTA ===== */
@media (max-width: 768px) {

  .wrap,
  .contact--modern .wrap,
  .flow--modern .wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .contact--modern {
    padding: 64px 0 !important;
  }

  .contact--modern .section-title-row,
  .flow--modern .section-title-row {
    display: block !important;
    padding: 0 0 32px !important;
    margin-bottom: 0 !important;
  }

  .contact--modern .h-section,
  .flow--modern .h-section {
    font-size: clamp(32px, 11vw, 46px) !important;
    line-height: 1.12 !important;
  }

  .contact--modern .h-section .jp,
  .flow--modern .h-section .jp {
    font-size: 18px !important;
    line-height: 1.5 !important;
  }

  .contact__grid {
    display: block !important;
  }

  .contact__info {
    position: static !important;
    margin-bottom: 32px !important;
  }

  .contact__quick .tel {
    font-size: 30px !important;
    word-break: keep-all !important;
  }

  .form--modern {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 18px !important;
  }

  .form__progress {
    gap: 8px !important;
    font-size: 9px !important;
    letter-spacing: .08em !important;
  }

  .form__progress .step {
    gap: 6px !important;
    white-space: nowrap !important;
  }

  .form__progress .step .n {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
  }

  .form-chips {
    gap: 8px !important;
  }

  .form-chip {
    width: 100% !important;
    text-align: center !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
  }

  .form-row-2 {
    display: block !important;
  }

  .form-row-2 .form-field {
    margin-bottom: 18px !important;
  }

  .form__actions {
    display: block !important;
  }

  .form__actions .form__note {
    display: block !important;
    margin-bottom: 12px !important;
  }

  .form__submit,
  .form__back {
    width: 100% !important;
    justify-content: center !important;
    margin-top: 10px !important;
  }

  .form-privacy-modern label {
    align-items: flex-start !important;
    line-height: 1.6 !important;
  }

  .flow--modern {
    padding: 64px 0 !important;
  }

  .flow--modern .flow__rail {
    display: block !important;
    width: 100% !important;
    margin-top: 24px !important;
  }

  .flow--modern .flow__rail::before {
    display: none !important;
  }

  .flow--modern .flow-step {
    padding: 0 0 36px !important;
    margin-bottom: 28px !important;
    border-bottom: 1px solid #d9d4c5 !important;
  }

  .flow--modern .flow-step:last-child {
    border-bottom: none !important;
  }
}
@media (max-width:768px){

  .flow-step{
    text-align:center;
    padding:40px 0;
  }

  .flow-step .dot{
    position:relative;
    margin:0 auto 20px;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .flow-step .lbl{
    display:block;
    margin-top:10px;
  }

  .flow-step .duration{
    display:block;
    margin-top:8px;
  }

}
/* ===== SP FLOW 最終調整：見出し改行・STEP重なり修正 ===== */
@media (max-width:768px){

  .flow--modern .h-section{
    font-size: clamp(42px, 12vw, 54px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.05em !important;
  }

  .flow--modern .h-section em{
    display: block !important;
  }

  .flow--modern .flow__rail{
    display: block !important;
    margin-top: 48px !important;
  }

  .flow--modern .flow__rail::before{
    display: none !important;
  }

  .flow--modern .flow-step{
    display: block !important;
    text-align: center !important;
    padding: 0 0 56px !important;
    margin: 0 0 48px !important;
    border-bottom: 1px solid #d9d4c5 !important;
  }

  .flow--modern .flow-step .dot{
    position: static !important;
    width: 72px !important;
    height: 72px !important;
    margin: 0 auto 14px !important;
  }

  .flow--modern .flow-step .duration{
    display: inline-flex !important;
    margin: 0 auto 12px !important;
  }

  .flow--modern .flow-step .lbl{
    display: block !important;
    margin: 0 0 12px !important;
  }

  .flow--modern .flow-step .t{
    margin: 0 0 16px !important;
    text-align: center !important;
  }

  .flow--modern .flow-step .d{
    max-width: 320px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

}
/* ===== SP FLOW 見出しのみ調整 ===== */
@media (max-width: 600px) {
  .flow--modern .h-section {
    font-size: 34px !important;
    line-height: 1.18 !important;
    letter-spacing: -0.05em !important;
  }

  .flow--modern .h-section em {
    display: inline !important;
  }

  .flow--modern .h-section .jp {
    font-size: 20px !important;
    line-height: 1.35 !important;
    letter-spacing: -0.03em !important;
  }
}
/* ===== SP FLOW 見出し：最終改行調整 ===== */
@media (max-width:600px){

  .flow--modern .h-section{
    font-size: 31px !important;
    line-height: 1.18 !important;
    letter-spacing: -0.04em !important;
    white-space: normal !important;
  }

  .flow--modern .h-section em{
    display: inline !important;
    white-space: nowrap !important;
  }

  .flow--modern .h-section .jp{
    font-size: 19px !important;
    line-height: 1.35 !important;
  }

}
/* ===== SP FLOW サブ見出し最終調整 ===== */
@media (max-width:600px){

  .flow--modern .h-section .jp{
    font-size: 17px !important;
    line-height: 1.35 !important;
    letter-spacing: -0.04em !important;
    white-space: normal !important;
  }

}
@media (max-width:600px){

  .flow--modern .h-section{
    font-size:30px !important;
    letter-spacing:-0.06em !important;
  }

}
/* CONTACT見出し SP最適化 */
@media (max-width:600px){

  .contact--modern .h-section{
    font-size: 30px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.05em !important;
  }

  .contact--modern .h-section em{
    white-space: nowrap !important;
  }

  .contact--modern .h-section .jp{
    font-size: 18px !important;
    line-height: 1.3 !important;
  }

}

/* スマホのみ見出し改行 */
@media (max-width: 768px){

}
/* CONTACT見出し：スマホ最終調整 */
@media (max-width: 768px){

  .contact--modern .h-section{
    max-width: none !important;
    font-size: 32px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.04em !important;
  }

  .contact--modern .h-section em{
    white-space: nowrap !important;
  }

  .contact--modern .h-section .jp{
    font-size: 22px !important;
    line-height: 1.35 !important;
    letter-spacing: -0.02em !important;
  }

}
/* ============================================================
   SP CONTACT見出し 最終統一
   TOP / factory / construction / event 共通
============================================================ */
@media (max-width: 768px){

  .contact.contact--modern .section-title-row{
    display:block !important;
  }

  .contact.contact--modern .h-section{
    max-width: 100% !important;
    width: 100% !important;
    font-family: "Noto Serif JP","Noto Sans JP",serif !important;
    font-style: italic !important;
    font-weight: 500 !important;
    font-size: 34px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.06em !important;
    white-space: normal !important;
  }

  .contact.contact--modern .h-section em{
    display:inline !important;
    white-space: nowrap !important;
    color:#e63a1e !important;
    font-style: italic !important;
  }

  .contact.contact--modern .h-section .jp{
    display:block !important;
    margin-top: 10px !important;
    font-family:"Noto Sans JP",sans-serif !important;
    font-style: normal !important;
    font-size: 22px !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    font-weight: 900 !important;
  }
}
/* TOP CONTACT見出し：スマホだけfactoryに合わせる */
@media (max-width: 768px){

  body.home .contact .h-section,
  body.front-page .contact .h-section,
  #ecolease-root .contact .h-section {
    font-size: 30px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.05em !important;
  }

  body.home .contact .h-section .jp,
  body.front-page .contact .h-section .jp,
  #ecolease-root .contact .h-section .jp {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }

}
/* ============================================================
   16 MOBILE
============================================================ */
@media (max-width: 900px) {
}

@media (max-width: 768px) {
}

@media (max-width: 600px) {
}
/* ============================================================
   SP FLOW 最終統一
============================================================ */
@media (max-width:768px){

  .flow--modern{
    padding:64px 0 !important;
  }

  .flow--modern .wrap{
    width:100% !important;
    max-width:100% !important;
    padding-left:20px !important;
    padding-right:20px !important;
  }

  .flow--modern .section-title-row{
    display:block !important;
    max-width:100% !important;
    width:100% !important;
    padding:0 0 40px !important;
    margin-bottom:0 !important;
  }

  .flow--modern .section-title-row > div:last-child{
    width:100% !important;
    min-width:0 !important;
  }

  .flow--modern .h-section{
    font-size:36px !important;
    line-height:1.1 !important;
    letter-spacing:-0.04em !important;
    width:100% !important;
    max-width:100% !important;
    white-space:normal !important;
  }

  .flow--modern .h-section em{
    display:inline !important;
    white-space:nowrap !important;
  }

  .flow--modern .h-section .jp{
    font-size:24px !important;
    line-height:1.3 !important;
  }

  .flow--modern .flow__rail{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:64px !important;
    width:100% !important;
    margin-top:24px !important;
  }

  .flow--modern .flow__rail::before{
    display:none !important;
  }

  .flow--modern .flow-step{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
    padding:0 0 36px !important;
    margin:0 !important;
    border-bottom:1px solid #d9d4c5 !important;
  }

  .flow--modern .flow-step:last-child{
    border-bottom:none !important;
  }

  .flow--modern .flow-step .dot{
    position:relative !important;
    left:auto !important;
    top:auto !important;
    width:72px !important;
    height:72px !important;
    margin:0 auto 14px !important;
  }

  .flow--modern .flow-step:hover .dot,
  .flow--modern .flow-step:active .dot,
  .flow--modern .flow-step:focus-within .dot{
    background:var(--vermillion) !important;
    color:#fff !important;
    border-color:var(--vermillion) !important;
  }

}
@media (max-width:768px){

  .flow--modern .section-title-row{
    display:block !important;
  }

  .flow--modern .h-section{
    font-size:32px !important;
  }

}
/* TOP含む全ページ：SP FLOWを中央縦並びに統一 */
@media (max-width:768px){

  .flow--modern .flow__rail{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:64px !important;
    width:100% !important;
    margin-top:24px !important;
  }

  .flow--modern .flow__rail::before{
    display:none !important;
  }

  .flow--modern .flow-step{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
    padding:0 0 36px !important;
    margin:0 !important;
    border-bottom:1px solid #d9d4c5 !important;
  }

  .flow--modern .flow-step .dot{
    position:relative !important;
    left:auto !important;
    top:auto !important;
    margin:0 auto 14px !important;
  }

}
/* ============================================================
   TOP FLOWをfactoryスマホ表示に統一
============================================================ */
@media (max-width:768px){

  body.home .flow--modern .flow__rail{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:64px !important;
    width:100% !important;
    margin-top:24px !important;
  }

  body.home .flow--modern .flow__rail::before{
    display:none !important;
  }

  body.home .flow--modern .flow-step{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
    padding:0 0 36px !important;
    margin:0 !important;
    border-bottom:1px solid #d9d4c5 !important;
  }

  body.home .flow--modern .flow-step .dot{
    position:relative !important;
    left:auto !important;
    top:auto !important;
    width:72px !important;
    height:72px !important;
    margin:0 auto 14px !important;
  }

}
/* SP調整 */
@media (max-width:960px){

  .flow{
    text-align:center !important;
  }

  .flow .section-title-row{
    justify-items:center !important;
    text-align:center !important;
  }

  .flow .h-section{
    text-align:center !important;
  }

  .flow .jp{
    text-align:center !important;
  }

  .flow-step{
    text-align:center !important;
  }

  .flow-step .d{
    text-align:center !important;
  }

}
/* ============================================================
   SP FLOW 中央寄せ・右切れ修正
============================================================ */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden !important;
  }

  #ecolease-root,
  .flow,
  .flow--modern {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .flow__rail,
  .flow--modern .flow__rail {
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px auto 0 !important;
    display: block !important;
  }

  .flow__rail::before,
  .flow--modern .flow__rail::before {
    display: none !important;
  }

  .flow-step,
  .flow--modern .flow-step {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0 36px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .flow-step .dot,
  .flow--modern .flow-step .dot {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    margin: 0 auto 18px !important;
  }

  .flow-step .duration,
  .flow-step .lbl,
  .flow-step .t,
  .flow-step .d,
  .flow--modern .flow-step .duration,
  .flow--modern .flow-step .lbl,
  .flow--modern .flow-step .t,
  .flow--modern .flow-step .d {
    text-align: center !important;
    align-self: center !important;
  }
}
/* ============================================================
   SP HERO 見出し中央寄せ
============================================================ */
@media (max-width: 768px){

  .mv-content{
    text-align: center !important;
  }

  .mv-content .section-title,
  h1.section-title{
    text-align: center !important;
    transform: none !important;
  }

  .mv-lead{
    text-align: center !important;
  }
}
/* ============================================================
   SP FLOW タップ時：ⅠⅡⅢ 赤色反応
============================================================ */
@media (max-width: 768px){

  .flow--modern .flow-step:hover .dot,
  .flow--modern .flow-step:active .dot,
  .flow--modern .flow-step:focus-within .dot{
    background: #e63a1e !important;
    color: #fff !important;
    border-color: #e63a1e !important;
  }

}
/* ============================================================
   SP FLOW タップ時：業種別ページでもⅠⅡⅢを赤くする
============================================================ */
@media (max-width: 768px){

  .flow--modern .flow-step:active .dot,
  .flow--modern .flow-step:hover .dot,
  .flow--modern .flow-step:focus .dot,
  .flow--modern .flow-step:focus-within .dot{
    background: #e63a1e !important;
    color: #fff !important;
    border-color: #e63a1e !important;
  }

  .flow--modern .flow-step:has(.dot:active) .dot{
    background: #e63a1e !important;
    color: #fff !important;
    border-color: #e63a1e !important;
  }

  .flow--modern .dot:active{
    background: #e63a1e !important;
    color: #fff !important;
    border-color: #e63a1e !important;
  }

}
/* ============================================================
   SP HERO 見出し：業種別ページの「る。」改行防止
============================================================ */
@media (max-width: 768px){

  .page-template-page-factory .mv-content .section-title,
  .page-template-page-construction .mv-content .section-title,
  .page-template-page-event .mv-content .section-title{
    font-size: clamp(42px, 10.5vw, 58px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.06em !important;
    text-align: center !important;
    transform: none !important;
  }

}
/* =========================
   ECOLEASE LOGO
========================= */

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand__logo{
  height:56px;
  width:auto;
  display:block;
  flex-shrink:0;
}
/* =========================
   ECOLEASE LOGO
========================= */

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand__logo{
  height:47px;
  width:auto;
  display:block;
  flex-shrink:0;
}
/* =========================
   ECOLEASE HEADER LOGO
========================= */

.nav .brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.nav .brand__logo{
  height:56px;
  width:auto;
  display:block;
  flex-shrink:0;
}

.nav .brand__co{
  font-size:12px;
  line-height:1.4;
}
/* =========================
   HEADER 社名表示調整
========================= */

.nav .brand__co{
  display:inline-block !important;
  color:#111 !important;
  font-size:12px !important;
  font-weight:600 !important;
  line-height:1.3 !important;
  letter-spacing:.04em !important;
  white-space:nowrap !important;
}

@media (max-width:768px){

  .nav .brand{
    gap:10px !important;
  }

  .nav .brand__logo{
    height:46px !important;
  }

  .nav .brand__co{
    display:inline-block !important;
    color:#111 !important;
    font-size:11px !important;
    font-weight:600 !important;
  }

}
/* ============================================================
   PC HERO：赤枠コンテンツ全体を中央表示
============================================================ */
@media (min-width: 961px){

  .hero{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
  }

  .hero__grid{
    width:100% !important;
    max-width:1180px !important;
    margin:0 auto !important;
    display:flex !important;
    justify-content:center !important;
  }

  .hero__left{
    width:520px !important;
    max-width:520px !important;
    margin:0 auto !important;
  }
}
/* ============================================================
   PC HERO：中央表示＋背景写真あり＋縦線削除
============================================================ */
@media (min-width: 961px){

  .hero{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    position:relative !important;
    background:var(--dark) !important;
  }

  .hero__grid{
    width:100% !important;
    max-width:1180px !important;
    margin:0 auto !important;
    display:flex !important;
    justify-content:center !important;
    position:relative !important;
  }

  .hero__left{
    width:520px !important;
    max-width:520px !important;
    margin:0 auto !important;
    position:relative !important;
    z-index:2 !important;
  }

  .hero__right{
    display:block !important;
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    z-index:1 !important;
    opacity:.35 !important;
    pointer-events:none !important;
  }

  .hero__right .hero-slider,
  .hero__right img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

  .hero__edge{
    display:none !important;
  }

}
/* ============================================================
   SP 業種別HERO：緑アンダーライン位置調整
============================================================ */
@media (max-width: 768px){

  .page-template-page-factory .hero-title-main em::after,
  .page-template-page-construction .hero-title-main em::after,
  .page-template-page-event .hero-title-main em::after{
    bottom: -4px !important;
    height: 5px !important;
  }

}
/* =========================
   PC HEADER：白いロゴバーを固定表示
========================= */
@media (min-width: 769px){

  .nav{
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
  }

}
/* =========================
   FOOTER ロゴリンク
========================= */

.foot__brand-link{
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  margin-bottom:16px;
}

.foot__logo{
  height:72px;
  width:auto;
  display:block;
}

.foot__company{
  color:#fff;
  font-size:24px;
  font-weight:800;
  letter-spacing:.02em;
  white-space:nowrap;
}
/* FOOTER ロゴクリック範囲修正 */
.foot__brand-link{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  width:max-content !important;
  max-width:100% !important;
  text-decoration:none !important;
  position:relative !important;
  z-index:10 !important;
  pointer-events:auto !important;
}

.foot__brand-link img,
.foot__brand-link span{
  pointer-events:none !important;
}
/* =========================
   FOOTER ロゴクリック有効化
========================= */

.foot__brand{
  position: relative !important;
  z-index: 50 !important;
}

.foot__brand-link{
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  position: relative !important;
  z-index: 999 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.foot__brand-link *{
  pointer-events: none !important;
}

/* フッター上にかぶる装飾要素対策 */
.foot::before,
.foot::after,
.foot__grid::before,
.foot__grid::after{
  pointer-events: none !important;
}
/* ============================================================
   PC 実績数値：3項目用 中央均等配置
============================================================ */
@media (min-width: 961px){

  .hero__stats{
    justify-content: center !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 28px auto 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
  }

  .hero__stat{
    margin: 0 !important;
    padding: 0 24px !important;
    text-align: center !important;
  }

  .hero__stat:last-child{
    padding-right: 24px !important;
  }

  .trust__inner{
    max-width: 760px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    align-items: center !important;
    justify-content: center !important;
   padding-left: 150px !important;
  }

  .trust__item{
    text-align: center !important;
  }
}
/* ============================================================
   SP 実績数値：スマホ崩れ防止
============================================================ */
@media (max-width: 768px){

  .hero__stats{
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    width: 100% !important;
    gap: 0 !important;
  }

  .hero__stat{
    text-align: center !important;
    padding: 0 8px !important;
    margin: 0 !important;
  }

  .trust__inner{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    text-align: center !important;
  }
}
@media (max-width:768px){

  .contact .h-section .h-main{
    display:block !important;
    white-space:nowrap !important;
    font-size:33px !important;
    line-height:1.15 !important;
    letter-spacing:-0.06em !important;
  }

}
/* ============================================================
   TOP CONTACT 見出しカラー統一
============================================================ */

.home .contact .h-section em{
  color: var(--vermillion) !important;
}
/* ============================================================
   PC TOP CONTACT 見出しカラー統一
============================================================ */
@media (min-width: 769px){

  body.home .contact .h-section em,
  body.front-page .contact .h-section em,
  #ecolease-root .contact .h-section em{
    color: #e63a1e !important;
  }

}


/* ============================================================
   FLOW サブ見出し（factory / construction / event 共通）
   PC・SP共通：「ーご利用の流れー」＋「最短3日～稼働開始」2行・中央揃え
============================================================ */
/* jp--pc が残っていた場合の保険（全サイズ非表示） */
.flow--modern .h-section .jp--pc{
  display: none !important;
}

/* PC・SP共通：ブロック表示＋中央揃え */
.flow--modern .h-section .jp--sp{
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  white-space: normal !important;
}

/* PCのみ：左カラム（260px＋gap40px）分を打ち消してページ中央に配置 */
@media (min-width: 769px){

  .flow--modern .h-section .jp--sp{
    margin-left: calc(-260px - 40px) !important;
    width: calc(100% + 300px) !important;
  }

}

/* SPのみ：字間調整 */
@media (max-width: 768px){

  .flow--modern .h-section .jp--sp{
    letter-spacing: 0 !important;
  }

}

/* ============================================================
   SP 改行修正（factory / construction / event 共通）
   ①CTA帯「まず、無料で相談してみませんか？」→ PCと同じ1行表示
   ②MVリード文 → PCと同じ2行表示（<br>位置のみで改行）
============================================================ */
@media (max-width: 768px){

  .cta-band h2{
    font-size: clamp(14px, 5.2vw, 22px) !important;
    white-space: nowrap !important;
    letter-spacing: -0.02em !important;
  }

  .mv-lead{
    font-size: clamp(9px, 3.1vw, 16px) !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
    line-height: 1.9 !important;
  }

}

/* ============================================================
   SP CTA帯サブ文：改行位置調整
   「〜最適なプランを」＋「ご提案します。」で改行
   （sp-brはPCでは無効＝PC1行のまま）
============================================================ */
.cta-band .sp-br{
  display: none;
}

@media (max-width: 768px){

  .cta-band .sp-br{
    display: inline;
  }

  .cta-band > .container > p{
    font-size: clamp(11px, 4.1vw, 16px) !important;
    white-space: nowrap !important;
  }

}

/* ============================================================
   TOP CTAバンド見出し：SP改行調整
   「か。」だけが3行目に落ちないようフォントを画面幅連動に
   （PCは.ctaband__title本来のclampが優先されるサイズのまま）
============================================================ */
@media (max-width: 768px){

  .ctaband__title{
    font-size: clamp(25px, 8vw, 38px) !important;
    font-weight: 600 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.15 !important;
  }

}

/* ============================================================
   TOP ヒーローTELボタン：SP調整
   ・番号を「TEL」側に寄せてまとめて中央配置
   ・「TEL」を番号と同じ18pxに拡大
============================================================ */
@media (max-width: 768px){

  .hero__ctas .btn--tel{
    justify-content: center !important;
  }

  .btn--tel .lbl{
    font-size: 18px !important;
    opacity: 1 !important;
    letter-spacing: .1em !important;
  }

}

/* ============================================================
   TOP WHAT WE DO サブ見出し：SP1行表示
   「設備レンタルという、新しい現場の標準。」の「準。」落ち防止
============================================================ */
@media (max-width: 768px){

  .concept .h-section .jp{
    font-size: clamp(13px, 4.6vw, 20px) !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

}

/* ============================================================
   TOP EQUIPMENT 補足文：SP1行表示
   「空調・給排水・電気・消防の4分野、8カテゴリーの〜」
============================================================ */
@media (max-width: 768px){

  .products .section-title-row p{
    max-width: none !important;
    font-size: clamp(8px, 2.6vw, 12px) !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
  }

}

/* ============================================================
   TOP WHY US サブ見出し：SP1行表示
   「設備調達の常識を変える、4つの違い。」の「い。」落ち防止
============================================================ */
@media (max-width: 768px){

  .problem .h-section .jp{
    font-size: clamp(13px, 4.9vw, 20px) !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

}
