@charset "UTF-8";

/* =========================================================
   ミツモア巡回点検 LP

   設計方針（company.meetsmore.com の実測に合わせる）
   - 影を使わない。面の区切りは1pxのヘアラインと余白で作る
   - 装飾目的のグラデーションを使わない（写真の上のスクリムだけ例外）
   - 白と極薄グレーが基調。色はブランドグリーン #2BB028 を要所だけ
   - 角丸はカード10px / ボタンはピル。英数字は Lexend

   1. トークン / ベース
   2. 共通パーツ
   3. ヘッダー / ナビ
   4. 各セクション
   5. フッター / 追従CTA
   6. レスポンシブ
   ========================================================= */

/* ---------- 1. トークン / ベース ---------- */
:root {
  --green: #2bb028;
  --green-dark: #1f9420;
  --green-tint: #eaf7e9;
  --blue: #2391ed;


  --ink: #0d0d0e;
  --body: #454749;
  --muted: #707070;

  --bg: #fff;
  --bg-soft: #f3f4f6;
  --bg-faint: #fafafa;
  --bg-dark: #0d0d0e;

  --line: #e5e7eb;
  --line-strong: #d3d6db;

  /* 画面に固定してコンテンツの上に浮くレイヤー（ヘッダー・追従CTA）の影。
     1px の境界線だと平面に見えて、特にスマホでは線が硬く出る。影にすると層の重なりが伝わる。
     -up は下端に固定するバー用で、影を上向きに出す */
  --shadow-bar: 0 1px 2px rgba(13, 13, 14, .04), 0 6px 16px rgba(13, 13, 14, .06);
  --shadow-bar-up: 0 -1px 2px rgba(13, 13, 14, .04), 0 -6px 16px rgba(13, 13, 14, .07);

  --radius: 10px;
  --radius-sm: 8px;
  --pill: 100px;

  --container: min(90vw, 1120px);
  --header-h: 68px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--body);
  background: var(--bg);
  font-family: "Noto Sans JP", ui-sans-serif, system-ui, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.45; letter-spacing: -.01em; }

/* 英数字・数値は Lexend。日本語は Noto Sans JP のまま
   （個別指定しているセレクタもあるため、ここは共通のものだけ） */
.eyebrow { font-family: "Lexend", "Noto Sans JP", sans-serif; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 18px; border-radius: 0 0 var(--radius) var(--radius);
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- 2. 共通パーツ ---------- */
.container { width: var(--container); margin: 0 auto; }
.container--narrow { width: min(90vw, 820px); }

.section { padding: clamp(56px, 6.4vw, 92px) 0; background: var(--bg); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-heading { margin-bottom: clamp(30px, 3.2vw, 46px); }
.section-heading--center { text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(26px, 3.1vw, 40px); font-weight: 700; letter-spacing: -.02em; }
.section-heading > p:last-child { max-width: 640px; margin: 14px auto 0; font-size: 15px; }

.eyebrow {
  margin: 0 0 14px; color: var(--green);
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
}
/* 暗い背景（section--dark）専用。明るい背景に載せるとコントラストが 1.6:1 まで落ちて沈む */
.eyebrow--light { color: #7fd97c; }
.eyebrow--alt { color: var(--blue); }

.caption { margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* 見出しの改行はスマホだけで効かせる */
.mobile-break { display: none; }

.button {
  min-height: 56px; padding: 0 30px;
  border: 1px solid var(--green); border-radius: var(--pill);
  background: var(--green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 16px; font-weight: 700; line-height: 1.3; text-align: center;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover { background: var(--green-dark); border-color: var(--green-dark); }
.button--block { width: 100%; margin-top: 24px; }
.button--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.button--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* スクロール表示。JSが有効なときだけ隠す */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.line-icon {
  width: 44px; height: 44px; flex: 0 0 auto;
  display: grid; place-items: center;
  color: var(--green); background: var(--green-tint); border-radius: var(--radius);
}
.line-icon svg {
  width: 24px; height: 24px; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 3. ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-bar);
  backdrop-filter: blur(10px);
}
/* 追従CTAが出るタイミングでヘッダーは引っ込む */
.site-header { transition: transform .3s ease; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  width: min(94vw, 1360px); height: 100%; margin: auto;
  display: flex; align-items: center; gap: 18px;
}
/* ロゴは正式アセットを加工せずそのまま置く */
.logo, .footer-main-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo-mark { width: auto; height: 24px; }

.header-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.header-nav a { color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap; }
.header-nav a:hover { color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.button--header { min-height: 40px; padding-inline: 20px; font-size: 13px; white-space: nowrap; }

.menu-toggle, .mobile-menu { display: none; }

/* ---------- 4-1. ヒーロー（全面写真のスライドショー＋文字オーバーレイ） ---------- */
.hero { position: relative; min-height: min(78vh, 660px); display: flex; flex-direction: column; background: var(--ink); }

.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 1.1s ease;
  /* 3枚とも曇天でフラットなため、素の明るさが 120〜146 しかない。
     ヒーローの明るさはスクリムではなく写真側で稼ぐ（右45%平均 105.7 → 115.0） */
  filter: brightness(1.1) contrast(1.05) saturate(1.08);
}
.hero-slide.is-active { opacity: 1; }
/* 文字を読ませるためのスクリム。装飾ではなく可読性のための処理。
   直線で切ると落ちが目に見えるため、文字まわりを中心にした楕円で自然に減衰させる。
   中心を左に寄せて、左上の角までスクリムを届かせる */
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(63% 106% at 13% 50%, rgba(13, 13, 14, .88) 0%, rgba(13, 13, 14, .60) 45%, rgba(13, 13, 14, .14) 78%, rgba(13, 13, 14, 0) 100%);
}

.hero-inner {
  position: relative; z-index: 2; flex: 1;
  display: flex; align-items: center;
  width: var(--container); margin: 0 auto; padding: clamp(60px, 6.6vw, 92px) 0;
}
.hero-copy { width: min(100%, 620px); }
/* 写真を明るくした分の保険。WCAG のコントラスト比には加算されないので主役はスクリム側。
   オフセットを持たせて小さくぼかすと「落ち影のフチ」として見えてしまうため、
   オフセット 0 の単層で、グリフ直外の濃さを抑えて広く薄く置く */
.hero-copy .hero-eyebrow,
.hero-copy h1,
.hero-copy .hero-description { text-shadow: 0 0 12px rgba(0, 0, 0, .38); }
.hero-eyebrow {
  display: inline-block; margin: 0 0 22px; padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, .32); border-radius: var(--pill);
  color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .06em; line-height: 1.4;
}
.hero h1 {
  margin: 0; color: #fff;
  font-size: clamp(30px, 3.6vw, 52px); font-weight: 700; line-height: 1.4; letter-spacing: -.025em;
}
.hero h1 > span { display: block; }
.hero-accent { color: #7fd97c; }
.hero-description {
  max-width: 540px; margin: 22px 0 0;
  color: rgba(255, 255, 255, .88); font-size: 16px; line-height: 1.95;
}
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta { min-height: 64px; padding-inline: 32px; font-size: 17px; }
.hero-cta em {
  padding: 4px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .22);
  font-size: 12px; font-style: normal; font-weight: 500; line-height: 1.5;
}
.button--ghost { min-height: 64px; }

/* 帯の上に置くため、絶対配置ではなくフローに乗せて右端に寄せる */
.hero-dots {
  position: relative; z-index: 3;
  width: var(--container); margin: 0 auto 20px;
  display: flex; justify-content: flex-end; gap: 10px;
}
.hero-dot {
  width: 34px; height: 3px; padding: 0; border: 0; border-radius: var(--pill);
  background: rgba(255, 255, 255, .38); cursor: pointer;
  transition: background .2s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, .7); }
.hero-dot.is-active { background: #fff; }

/* ---------- 4-2. 実績帯（ヒーロー下端） ----------
   独立したコンテンツにはせず、ヒーローの土台として数字だけを薄く敷く */
/* 全幅にフラットで敷くため、下端の明るさをそのまま引き下げる（.42 で約 -30ポイント）。
   薄くする代わりに、中の小さい文字は白寄りへ上げて可読性を戻す */
.hero-stats {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .18);
  background: rgba(13, 13, 14, .36);
}
.hero-stats__inner { width: var(--container); margin: 0 auto; padding: 20px 0 16px; }
.hero-stats__grid { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-stat { padding: 0 clamp(12px, 2vw, 28px); text-align: center; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255, 255, 255, .18); }
.hero-stat__label { margin: 0; color: rgba(255, 255, 255, .95); font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.hero-stat__value {
  margin: 7px 0 0; display: flex; align-items: baseline; justify-content: center; gap: 3px;
  color: #fff; line-height: 1; white-space: nowrap;
}
.hero-stat__value strong {
  font-family: "Lexend", "Noto Sans JP", sans-serif;
  font-size: clamp(26px, 2.9vw, 36px); font-weight: 600; letter-spacing: -.04em;
}
.hero-stat__unit { font-size: 13px; font-weight: 700; }
.hero-stats__source { margin: 14px 0 0; color: rgba(255, 255, 255, .8); font-size: 10px; line-height: 1.7; text-align: center; }

/* ---------- 4-3. 特徴（課題 → 3本柱） ----------
   課題は「読ませる」より「思い当たらせる」ため、1行ずつの小さなアイコン付きに留める */
.issues {
  padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.6vw, 38px);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-faint);
}
.issues__label { margin: 0 0 16px; text-align: center; font-size: 15px; font-weight: 700; }
.issues__label::after {
  content: ""; display: block; width: 26px; height: 2px; margin: 10px auto 0;
  border-radius: var(--pill); background: var(--green);
}
.issues__list {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px clamp(18px, 2.4vw, 34px);
}
/* 1項目1行で読み流せるようにする。文中の部分boldは視線が散るので使わない */
.issues__list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 9px; align-items: center; }
.issues__list svg {
  width: 20px; height: 20px;
  fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.issues__list span { color: var(--ink); font-size: 13.5px; font-weight: 500; line-height: 1.7; }

/* 課題から提供価値への転換。ボタンに見えないよう、面を持たせず矢印と文字だけで送る */
.issues__bridge {
  margin: clamp(22px, 2.6vw, 32px) 0 0; text-align: center;
  color: var(--ink); font-size: clamp(15px, 1.7vw, 19px); font-weight: 700; line-height: 1.6;
}
.issues__bridge::before {
  content: ""; display: block; width: 11px; height: 11px; margin: 0 auto clamp(14px, 1.6vw, 20px);
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
}

/* 課題の並びと3本柱の間で色を切り替えて、話が変わったことを示す */
.pillars__label {
  margin: clamp(30px, 3.4vw, 44px) 0 clamp(16px, 1.8vw, 24px);
  display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.4vw, 18px);
  color: var(--green); font-size: clamp(17px, 1.9vw, 21px); font-weight: 700; letter-spacing: -.01em;
}
.pillars__label::before, .pillars__label::after {
  content: ""; width: clamp(20px, 3vw, 40px); height: 2px; border-radius: var(--pill);
  background: var(--green); opacity: .35;
}
/* 文字列は span でひとつの flex item にまとめる。
   直に置くと text / em / text が別々の item になり、gap が文字間に入ってしまう */
.pillars__label > span { display: inline; }
/* 数字だけ大きく出す。英数字は Lexend を当てる。
   letter-spacing のマイナスは単独の数字だと右側の余白だけを削って左右が非対称になるので効かせない。
   和文は基線より下までインクが伸びるのに Lexend の数字はほぼ基線で止まるため、
   vertical-align でその差だけ下げないと数字が上に浮いて見える */
.pillars__label em {
  margin: 0 .1em;
  font-family: "Lexend", "Noto Sans JP", sans-serif;
  font-size: 1.6em; font-style: normal; font-weight: 600; letter-spacing: normal;
  vertical-align: -.045em;
}
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar {
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .2s ease;
}
.pillar:hover { border-color: var(--green); }
.pillar__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pillar__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pillar__no {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  padding: 7px 16px; border-radius: 0 var(--radius) 0 0;
  background: var(--green); color: #fff;
  font-family: "Lexend", "Noto Sans JP", sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .06em;
}
.pillar__body { padding: clamp(20px, 2vw, 26px) clamp(18px, 2vw, 26px) clamp(24px, 2.4vw, 30px); }
.pillar__body h3 { margin: 0; font-size: 20px; font-weight: 700; }
.pillar__sub { margin: 7px 0 0; color: var(--green); font-size: 12.5px; font-weight: 600; }
.pillar__body > p:last-child { margin: 14px 0 0; font-size: 14px; line-height: 1.9; }

/* ---------- 4-5. 対応事例（作業前後） ---------- */
.report-lead { color: rgba(255, 255, 255, .8) !important; }
.bagrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ba { margin: 0; }
.ba__frame { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); --pos: 50%; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__clip { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; top: 12px; z-index: 2; padding: 5px 12px; border-radius: var(--pill);
  background: rgba(13, 13, 14, .72); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
.ba__tag--before { left: 12px; }
.ba__tag--after { right: 12px; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px; background: #fff; }
.ba__handle::after {
  content: "◀ ▶"; position: absolute; top: 50%; left: 50%;
  width: 52px; height: 30px; display: grid; place-items: center;
  border-radius: var(--pill); background: #fff; color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  transform: translate(-50%, -50%);
}
.ba__range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%;
  margin: 0; padding: 0; opacity: 0; cursor: ew-resize; appearance: none; -webkit-appearance: none;
}
.ba__range:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; border-radius: var(--radius); }
.ba__frame:has(.ba__range:focus-visible) .ba__handle::after { outline: 2px solid var(--green); outline-offset: 2px; }
.ba__caption { margin: 15px 0 0; }
.ba__label {
  display: inline-block; margin-bottom: 9px; padding: 4px 12px; border-radius: var(--pill);
  background: rgba(127, 217, 124, .16); color: #7fd97c;
  font-family: "Lexend", "Noto Sans JP", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .06em;
}
.ba__caption b { display: block; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.6; }
.ba__caption > span:last-child { display: block; margin-top: 9px; color: rgba(255, 255, 255, .72); font-size: 13px; line-height: 1.9; }
/* 出典・断り書きは読ませる文ではないので、ヒーロー帯の注記と同じ大きさに揃える */
.caption--light { color: rgba(255, 255, 255, .5); font-size: 10px; line-height: 1.7; }

.report-flowline { margin-top: clamp(34px, 4vw, 52px); padding-top: clamp(30px, 3.6vw, 42px); border-top: 1px solid rgba(255, 255, 255, .18); }
.report-flowline__label {
  margin: 0 0 16px; color: #7fd97c;
  font-family: "Lexend", "Noto Sans JP", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .14em;
}
.report-points { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.report-points li {
  position: relative; padding: 8px 15px 8px 32px;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--pill);
  color: #fff; font-size: 13px; font-weight: 500; line-height: 1.6;
}
.report-points li::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 8px; height: 4px;
  border-left: 1.5px solid #7fd97c; border-bottom: 1.5px solid #7fd97c;
  transform: translateY(-70%) rotate(-45deg);
}
.report-flowline__note { margin: 18px 0 0; color: rgba(255, 255, 255, .72); font-size: 13px; line-height: 1.9; }

/* ---------- 4-6. 対応メニュー ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s ease; }
.service-card:hover { border-color: var(--green); }
.service-card > .photo-crop { height: 172px; aspect-ratio: auto; }
.photo-crop { width: 100%; height: auto; object-fit: cover; background: var(--bg-soft); }
.service-card__body { padding: 24px; }
.service-no {
  display: inline-block; margin-bottom: 10px; color: var(--green);
  font-family: "Lexend", "Noto Sans JP", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .1em;
}
.service-card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.service-card p { margin: 0; font-size: 14px; line-height: 1.85; }

/* ---------- 4-7. 基本メニューの単価 ---------- */
/* 「6メニュー＝1拠点1回5,000円」をひと目でつなげるため、単価の帯をグリッドの直上に置き、
   帯の下辺をグリッド側へ寄せて同じかたまりに見せる */
.menu-price {
  margin: 0 0 22px; padding: clamp(26px, 3.2vw, 38px) clamp(20px, 3vw, 40px);
  border: 1.5px solid var(--green); border-radius: var(--radius);
  background: #fff; text-align: center;
}
.menu-price__badge {
  display: inline-block; margin: 0 0 16px; padding: 4px 16px; border-radius: var(--pill);
  background: var(--green); color: #fff; font-size: 12px; font-weight: 700;
}
.menu-price__amount { margin: 0; display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 8px; color: var(--ink); line-height: 1; }
.menu-price__unit { padding: 5px 13px; border-radius: var(--pill); background: var(--bg-soft); font-size: 13px; font-weight: 700; }
/* 「5,000」と「円（税抜）」は狭幅でも切り離さない */
.menu-price__value { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.menu-price__amount strong { font-family: "Lexend", "Noto Sans JP", sans-serif; font-size: clamp(40px, 5.4vw, 66px); font-weight: 600; letter-spacing: -.04em; }
.menu-price__amount em { font-size: 16px; font-style: normal; font-weight: 700; }
.menu-price__note { margin: 16px 0 0; color: var(--muted); font-size: 14px; font-weight: 500; }

.menu-scope {
  margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.menu-scope > div { padding: clamp(24px, 3vw, 34px); }
.menu-scope > div + div { border-left: 1px solid var(--line); }
.menu-scope__title { margin: 0 0 16px; font-size: 14px; font-weight: 700; }
.pricing__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pricing__list li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.75; }
.pricing__list li::before {
  content: ""; position: absolute; left: 3px; top: .62em; width: 9px; height: 5px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.pricing__list--muted li { color: var(--muted); }
.pricing__list--muted li::before { border-color: var(--line-strong); }

/* ---------- 4-8. 派生工事 ---------- */
.derived-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.derived-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s ease; }
.derived-card:hover { border-color: var(--green); }
.derived-card__image { height: 172px; overflow: hidden; }
.derived-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.derived-card__body { padding: 24px; }
.derived-card h3 { margin: 0; font-size: 17px; font-weight: 700; }
.derived-card__price {
  margin: 6px 0 12px; font-family: "Lexend", "Noto Sans JP", sans-serif;
  color: var(--green-dark); font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3;
}
.derived-card__text { margin: 0; font-size: 14px; line-height: 1.85; }

/* 派生工事の参考価格 */
.quote { margin-top: clamp(44px, 5vw, 68px); }
.quote__title { margin: 0 0 12px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; text-align: center; }
.quote__lead { margin: 0 auto 24px; max-width: 620px; font-size: 14px; text-align: center; }
.compare__hint { display: none; margin: -12px 0 12px; color: var(--muted); font-size: 12px; text-align: center; }
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.quote__table {
  width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
}
.quote__table th, .quote__table td { padding: 15px 18px; text-align: left; font-size: 14px; line-height: 1.7; border-bottom: 1px solid var(--line); }
.quote__table thead th { background: var(--bg-soft); color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; }
.quote__table tbody th { width: 15%; color: var(--ink); font-weight: 700; white-space: nowrap; vertical-align: top; border-right: 1px solid var(--line); }
.quote__table tbody td:last-child {
  color: var(--ink); font-weight: 700; white-space: nowrap;
  font-family: "Lexend", "Noto Sans JP", sans-serif;
}
.quote__table tbody tr:last-child th, .quote__table tbody tr:last-child td { border-bottom: 0; }

/* ---------- 4-8. 対応事例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.case-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.case-card__image { width: 100%; height: 170px; object-fit: cover; }
.case-card__body { padding: 24px; }
.case-card__tag {
  display: inline-block; margin-bottom: 12px; padding: 4px 14px; border-radius: var(--pill);
  background: var(--green-tint); color: var(--green-dark); font-size: 12px; font-weight: 700;
}
.case-card p { margin: 0; font-size: 14px; line-height: 1.85; }

/* ---------- 4-10. 導入の流れ ---------- */
/* 番号を主役にした5ステップ。所要期間はチップで区切りを示す */
/* カード間の矢印が窮屈だったので、間隔を26pxに広げ、
   その分をカード内側の左右paddingから戻している（全体幅は変えない） */
.flow3 {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px;
}
.flow3__step {
  position: relative; padding: clamp(22px, 2.2vw, 30px) clamp(11px, 1.2vw, 16px) clamp(20px, 2vw, 26px);
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
/* 26pxの間隔の中央に置く: 右端から (26/2 + 8/2) = 17px */
.flow3__step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -17px; z-index: 2;
  width: 8px; height: 8px;
  border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong);
  transform: translateY(-50%) rotate(45deg);
}
.flow3__no {
  display: block; margin-bottom: 12px;
  color: var(--green); font-family: "Lexend", "Noto Sans JP", sans-serif;
  font-size: clamp(38px, 4.2vw, 56px); font-weight: 600; letter-spacing: -.05em; line-height: .92;
}
.flow3 h3 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.6; }
.flow3 p { margin: 9px 0 0; color: var(--body); font-size: 13px; line-height: 1.85; }
.flow3__step--mark { border-color: var(--green); }
.flow3__lap {
  position: absolute; top: -11px; left: clamp(13px, 1.4vw, 20px); z-index: 3;
  padding: 3px 11px; border-radius: var(--pill);
  background: var(--green); color: #fff; font-size: 10.5px; font-weight: 700; white-space: nowrap;
}

/* ---------- 4-9b. お客様の声 ---------- */
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.voice {
  margin: 0; padding: clamp(22px, 2.3vw, 32px);
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.voice__head { display: flex; align-items: center; gap: 14px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.voice__avatar {
  flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; background: var(--green-tint); overflow: hidden;
}
.voice__avatar svg { width: 34px; height: 34px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.voice__meta { min-width: 0; }
.voice__who { margin: 0; font-size: 13.5px; font-weight: 700; line-height: 1.5; }
.voice__who span { display: block; margin-top: 1px; color: var(--muted); font-size: 11.5px; font-weight: 500; }
.voice__topic {
  display: inline-block; margin: 7px 0 0; padding: 3px 10px; border-radius: var(--pill);
  background: var(--bg-soft); color: var(--body);
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
}
.voice__quote { position: relative; margin: 18px 0 0; padding-left: 27px; }
.voice__quote::before {
  content: "\201C"; position: absolute; left: 0; top: 2px;
  color: rgba(43, 176, 40, .38); font-family: Georgia, "Times New Roman", serif; font-size: 42px; line-height: 1;
}
.voice__quote p { margin: 0; font-size: 14.5px; line-height: 2; }
.voice__ba { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line-strong); display: grid; gap: 11px; }
.voice__ba p {
  margin: 0; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; align-items: start;
  color: var(--muted); font-size: 12.5px; line-height: 1.8;
}
.voice__ba p:last-child { color: var(--ink); font-weight: 500; }
.voice__tag {
  padding-top: 3px; color: var(--muted);
  font-family: "Lexend", "Noto Sans JP", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .1em;
}
.voice__tag--after { color: var(--green); }

/* ---------- 4-12. FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-list summary {
  padding: 20px 52px 20px 22px; position: relative; cursor: pointer;
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.65; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { flex: 0 0 auto; color: var(--green); font-size: 15px; font-weight: 700; white-space: nowrap; }
.faq-list summary > i {
  position: absolute; right: 24px; top: 28px;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq-list details[open] summary > i { transform: rotate(-135deg); top: 33px; }
.faq-answer { margin: 0 22px; padding: 18px 0 22px; display: flex; gap: 10px; align-items: flex-start; border-top: 1px solid var(--line); }
.faq-answer > span { flex: 0 0 auto; color: var(--muted); font-size: 15px; font-weight: 700; white-space: nowrap; }
.faq-answer p { margin: 0; font-size: 14px; line-height: 1.95; }

/* ---------- 4-13. お問い合わせ ---------- */
.contact { padding: clamp(64px, 8vw, 104px) 0; background: var(--bg-soft); }
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 4vw, 56px); align-items: start; }
.contact-copy h2 { margin: 0; font-size: clamp(24px, 2.9vw, 38px); font-weight: 700; }
.contact-lead { margin: 22px 0 0; font-size: 15px; }
.contact-points { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.contact-points li { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 13px; line-height: 1.8; }
.contact-points b { display: block; margin-bottom: 3px; color: var(--ink); font-size: 15px; font-weight: 700; }
.contact-note { margin: 22px 0 0; font-size: 13px; }
.contact-note a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.contact-form__inner { padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

/* 自作のお問い合わせフォーム。送信完了をページ内で扱えるようにするため
   Googleフォームの埋め込みをやめている */
.cform__lead { margin: 0 0 20px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.cform__field { margin-bottom: 16px; }
.cform__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.cform label {
  display: flex; align-items: center; gap: 7px; margin-bottom: 7px;
  color: var(--ink); font-size: 13px; font-weight: 700;
}
.cform__req { color: var(--green); font-size: 12px; }
.cform__opt {
  padding: 2px 7px; border-radius: var(--pill); background: var(--bg-soft);
  color: var(--muted); font-size: 10.5px; font-weight: 500;
}
.cform input, .cform select, .cform textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
  font-family: inherit; font-size: 15px; line-height: 1.6;
  transition: border-color .15s ease;
}
.cform input::placeholder, .cform textarea::placeholder { color: #a6a9ad; }
.cform input:focus, .cform select:focus, .cform textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(43, 176, 40, .12);
}
.cform textarea { resize: vertical; min-height: 96px; }
.cform select { appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 49%, var(--muted) 50%), linear-gradient(-45deg, transparent 49%, var(--muted) 50%);
  background-size: 6px 6px; background-position: calc(100% - 20px) 20px, calc(100% - 14px) 20px; background-repeat: no-repeat;
}
.cform__error { margin: 6px 0 0; color: #d3302f; font-size: 12px; line-height: 1.6; }
.cform__error:empty { display: none; }
.cform [aria-invalid="true"] { border-color: #d3302f; }

/* honeypot。display:none だと埋めない bot がいるので、画面外に飛ばして隠す */
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cform__submit { margin-top: 22px; }
.cform__submit[disabled] { opacity: .6; pointer-events: none; }
.cform__status { margin: 14px 0 0; font-size: 13px; line-height: 1.7; }
.cform__status:empty { display: none; }
.cform__status[data-state="error"] { color: #d3302f; }
.cform__privacy { margin: 16px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.7; }
.cform__privacy a { color: var(--green); text-decoration: underline; }

.cform__done { padding: clamp(28px, 3vw, 44px) 4px; text-align: center; }
.cform__done-mark {
  display: block; width: 54px; height: 54px; margin: 0 auto 18px; position: relative;
  border-radius: 50%; background: var(--green-tint);
}
.cform__done-mark::after {
  content: ""; position: absolute; left: 50%; top: 47%;
  width: 19px; height: 10px; margin: -8px 0 0 -10px;
  border-left: 3px solid var(--green); border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}
.cform__done-title { margin: 0 0 10px; color: var(--ink); font-size: 19px; font-weight: 700; }
.cform__done p { margin: 0; font-size: 14px; line-height: 1.9; }
.contact-form iframe { display: block; width: 100%; border: 0; border-radius: var(--radius-sm); }

/* ---------- 5. フッター ---------- */
.site-footer { padding: 60px 0 36px; background: #fff; border-top: 1px solid var(--line); }
.footer-inner { width: min(90vw, 1200px); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 44px; align-items: start; }
/* 右側は以前ずっと空だった。ページ内リンクと相談導線を入れて余白を埋める */
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-nav__col { display: grid; align-content: start; gap: 10px; }
.footer-nav__title { margin: 0 0 4px; color: var(--ink); font-size: 13px; font-weight: 700; }
.footer-nav__col a:not(.button) { color: var(--body); font-size: 12px; line-height: 1.6; }
.footer-nav__col a:not(.button):hover { color: var(--green); }
.footer-nav__note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.footer-nav__col--cta .button { justify-self: start; margin-top: 4px; }
.footer-main-logo .logo-mark { height: 21px; }
.footer-company-links { margin-top: 20px; display: grid; gap: 8px; }
.footer-company-links a { color: var(--body); font-size: 12px; }
.footer-company-links a:hover { color: var(--green); }
.footer-socials { margin-top: 20px; display: flex; gap: 12px; }
.footer-social img { width: 24px; height: 24px; }
.footer-certification { margin-top: 20px; width: 96px; height: auto; }
.footer-legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a { color: var(--muted); font-size: 12px; }
.footer-legal a:hover { color: var(--green); }
.footer-copyright { margin: 18px 0 0; color: var(--muted); font-size: 12px; }

/* ---------- 5-2. 追従CTA（PC・スマホ共通で下から出す） ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); box-shadow: var(--shadow-bar-up);
  transform: translateY(120%); transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta__inner { width: min(94vw, 860px); margin: 0 auto; display: flex; align-items: center; gap: 16px; }
/* CTAが出ているときはフッターが隠れないよう下に余白を作る */
body:has(.sticky-cta.is-visible) { padding-bottom: 84px; }
.sticky-cta__text { margin: 0; flex: 1 1 auto; line-height: 1.45; }
.sticky-cta__text b { display: block; color: var(--ink); font-size: 13px; font-weight: 700; }
.sticky-cta__text span { color: var(--muted); font-size: 11px; font-weight: 400; }
.sticky-cta__button { flex: 0 0 auto; min-height: 48px; padding-inline: 24px; font-size: 15px; }

/* ---------- 6. レスポンシブ ---------- */
@media (max-width: 1180px) {
  .header-nav { gap: 15px; }
  .header-nav a { font-size: 12px; }
}

@media (max-width: 1024px) {
  .issues__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow3__step:not(:last-child)::after { display: none; }
  .flow3__no { font-size: clamp(34px, 5vw, 46px); }
  .hero { min-height: 0; }
  .hero-inner { padding: 72px 0 80px; }
  /* 縦積みでは文字が上〜中央に集まる。上帯の濃さを保ち、S字（smoothstep）で下端まで滑らかに抜く。
     写真を明るくした分だけリード文が基準を割る（4.72 → 3.89）ので、
     ピークを .68 → .73 に持ち上げて戻す（4.56） */
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(13, 13, 14, .73) 0%, rgba(13, 13, 14, .73) 14.3%, rgba(13, 13, 14, .729) 21.4%,
      rgba(13, 13, 14, .714) 28.6%, rgba(13, 13, 14, .672) 35.7%, rgba(13, 13, 14, .6) 42.9%,
      rgba(13, 13, 14, .501) 50%, rgba(13, 13, 14, .387) 57.1%, rgba(13, 13, 14, .271) 64.3%,
      rgba(13, 13, 14, .165) 71.4%, rgba(13, 13, 14, .082) 78.6%, rgba(13, 13, 14, .028) 85.7%,
      rgba(13, 13, 14, .004) 92.9%, rgba(13, 13, 14, 0) 100%);
  }
  /* 縦積みでは帯が相対的に高く、中の文字も 10px / 9px と小さい。
     ここだけは薄くせず据える（薄くするとラベルが 2.90 → 2.46 に落ちる） */
  .hero-stats { background: rgba(13, 13, 14, .42); }
  .hero-copy { width: 100%; }
  .hero-description { max-width: none; }

  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .derived-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .footer-nav__col--cta { grid-column: 1 / -1; }
  .footer-nav__col--cta .button { justify-self: stretch; width: 100%; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }

  .header-nav, .header-actions { display: none; }
  .menu-toggle {
    display: grid; place-content: center; gap: 5px;
    margin-left: auto; width: 44px; height: 44px; padding: 0;
    border: 0; background: transparent; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 22px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .mobile-menu {
    display: block; position: fixed; left: 0; right: 0; top: var(--header-h);
    max-height: 0; overflow: hidden;
    background: #fff; border-bottom: 1px solid var(--line);
    transition: max-height .28s ease;
  }
  .site-header.is-nav-open .mobile-menu { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .mobile-nav { display: grid; padding: 8px 5vw 0; }
  .mobile-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 700; }
  .mobile-actions { padding: 18px 5vw 24px; }
  .mobile-actions .button { width: 100%; min-height: 52px; font-size: 15px; }

  .pillar-grid { grid-template-columns: 1fr; }
  .pillar__media { aspect-ratio: 16 / 9; }
  .bagrid { grid-template-columns: 1fr; }
  .voices { grid-template-columns: 1fr; }
  .menu-scope { grid-template-columns: 1fr; }
  .menu-scope > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .hero-stat { padding: 0 12px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 48px 0; }
  .container, .container--narrow { width: 90vw; }

  .hero-inner { padding: 60px 0 70px; }
  .hero h1 { font-size: clamp(26px, 7.4vw, 34px); }
  .hero-cta, .button--ghost { width: 100%; min-height: 60px; }
  .hero-cta { padding-inline: 22px; font-size: 16px; gap: 10px; }
  .hero-cta em { font-size: 11px; padding: 3px 10px; }
  .hero-dots { justify-content: flex-start; margin-bottom: 14px; }
  .mobile-break { display: inline; }

  /* 帯は縦積みにすると高くなりすぎるので、3列のまま数字だけ縮める */
  .hero-stats__inner { padding: 15px 0 13px; }
  .hero-stat { padding: 0 6px; }
  .hero-stat__label { font-size: 10px; }
  .hero-stat__value { margin-top: 5px; gap: 2px; }
  .hero-stat__value strong { font-size: clamp(17px, 4.6vw, 26px); }
  .hero-stat__unit { font-size: 10px; }
  .hero-stats__source { margin-top: 11px; font-size: 9px; }
  .service-grid { grid-template-columns: 1fr; }
  .derived-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .issues { padding: 22px 18px; }
  .issues__list { grid-template-columns: 1fr; gap: 13px; }
  .flow3 { grid-template-columns: 1fr; }
  .flow3__step { padding: 22px 18px; }
  .flow3__no { font-size: 40px; margin-bottom: 8px; }
  .voice__ba p { grid-template-columns: 1fr; gap: 3px; }
  .voice__tag { padding-top: 0; }
  .compare__hint { display: block; }
  .quote__table { min-width: 560px; }
  .quote__table th, .quote__table td { padding: 13px 14px; font-size: 13px; }
  .faq-list summary { font-size: 15px; padding-right: 46px; }
  /* 埋め込みフォームの内部スクロール（二重スクロール）を避けるため、モバイルでは高さを伸ばす */
  .contact-form iframe { height: 1400px; }
  .contact-form__inner { padding: 20px 16px; }
  .cform__row { grid-template-columns: 1fr; }
  .sticky-cta__text span { display: none; }
}
