@charset "UTF-8";

/* =========================================================
   huit ホームページ・LP制作LP 2026
   ベース：現行サイト（Noto Sans JP / #26499d）
   ========================================================= */

:root {
  /* 紺が暗く沈むため青みと明度を上げた（2026-08-25） */
  --navy: #17275c;
  --navy-d: #0d1838;
  --blue: #26499d;
  --blue-l: #434da2;
  /* アクセント。CTAと「保守費0円」まわりだけに使う。
     広げるとブランドカラー(#26499d)と世界観が切れるので増やさないこと */
  --orange: #f08033;
  --orange-d: #d9691c;
  --ink: #1c1f26;
  /* 本文が薄くて読みにくいため濃くした（2026-08-26） */
  --gray: #4f5663;
  --line: #e3e6ec;
  --bg: #ffffff;
  --bg-2: #f5f6f9;
  /* 和文は Noto Sans JP。数字・英字ラベルだけ Figtree（2026-08-26 歌織さん指示）。
     Figtree に和文グリフはないため「円」などは Noto Sans JP に自動で落ちる。
     フォールバックの順番を変えないこと */
  --ff-en: "Figtree", "Noto Sans JP", sans-serif;
  --ff-jp: "Noto Sans JP", sans-serif;
  --sec-pad: clamp(96px, 13vw, 176px);
  --gutter: clamp(20px, 5vw, 64px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ff-jp);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

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

/* ---------- 共通パーツ ---------- */
.sec-label {
  font-family: var(--ff-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.sec-label::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.sec-label--light {
  color: rgba(255, 255, 255, 0.72);
}

.sec-title {
  font-size: clamp(26px, 4.2vw, 46px);
  font-weight: 500;
  line-height: 1.62;
  letter-spacing: 0.05em;
}

.sec-title--light {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 244px;
  padding: 21px 36px;
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  border-radius: 2px;
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}

.btn--fill {
  background: var(--orange);
  color: #fff;
}

.btn--fill:hover {
  background: var(--orange-d);
  transform: translateY(-2px);
}

.btn--line {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn--line:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  transform: translateY(-2px);
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition:
    background-color 0.4s ease,
    box-shadow 0.4s ease;
}

.header__inner {
  height: 84px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__logo-mark {
  width: 30px;
  transition: filter 0.4s ease;
}

/* 「株式会社」は huit のベースラインに揃えず、高さの中央に合わせる。
   ベースライン揃えだと小さい方が下に沈んで見えるため（2026-08-26 歌織さん指示）。
   今後のロゴ表記はヘッダー・フッターともこの形で統一する */
.header__logo-text {
  font-family: var(--ff-en);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.16em;
  color: #fff;
  transition: color 0.4s ease;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.header__logo-text--sm {
  font-family: var(--ff-jp);
  font-size: 11px;
  letter-spacing: -0.02em;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
}

.header__cta:hover {
  background: #fff;
  border-color: #fff;
  color: var(--blue);
}

/* スクロールでFVを抜けた状態 */
.header.is-solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header.is-solid .header__logo-mark {
  filter: none;
}

.header.is-solid .header__logo-text {
  color: var(--blue);
}

.header.is-solid .header__cta {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.header.is-solid .header__cta:hover {
  background: var(--orange-d);
  border-color: var(--orange-d);
  color: #fff;
}

/* ロゴ画像はFV上では白版、solid時に青版へ差し替え（JSでsrc切替） */

/* =========================================================
   FV
   ========================================================= */
.fv {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.fv__slides,
.fv__veil {
  position: absolute;
  inset: 0;
}

/* 写真の重なり順（.fv__slide の z-index）をこの中だけで完結させる。
   ここに z-index を置かないと、スライドが紺のベールより上に出て
   キャッチコピーが写真に埋もれる（2026-08-27 の不具合） */
.fv__slides {
  z-index: 0;
}

.fv__veil {
  z-index: 1;
}

/* 切り替わりがカクついて見えたので作り直した（2026-08-27 歌織さん指摘）。
   直した3点：
   1. ズームを animation から transition に変更。
      animation だと is-active が付いた瞬間に scale が 1.06→1.02、
      外れた瞬間に 1.12→1.02 へ飛ぶ。この2回のジャンプが「カクつき」の正体
   2. filter を外した。2400px の背景画像に filter をかけたままフェードすると
      毎フレーム再合成が走る。補正は 2% しかなく、外しても見た目はほぼ同じ
   3. フェードを ease→linear に、1.6s→2.2s に延長。
      クロスフェードは linear のほうが中だるみしない */
.fv__slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 2.2s linear,
    transform 12s linear;
}

/* 新しい面が上に来る。下の面がフェードアウトしきる前に覆うので、
   入れ替わりの中間で暗くならない */
.fv__slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1.12);
}

/* ベールは黒ではなく紺（--navy と同じ 23,39,92）。
   白文字の可読性は落とさずに、黒く沈んだ印象を消すため（2026-08-26） */
.fv__veil {
  background:
    linear-gradient(
      90deg,
      rgba(23, 39, 92, 0.88) 0%,
      rgba(23, 39, 92, 0.72) 30%,
      rgba(23, 39, 92, 0.32) 62%,
      rgba(23, 39, 92, 0.06) 100%
    ),
    linear-gradient(180deg, rgba(23, 39, 92, 0.3) 0%, rgba(23, 39, 92, 0) 26%);
}

.fv__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--gutter);
  color: #fff;
  /* ベールを濃くしすぎず可読性を上げるための保険。
     写真の明るい部分に文字が重なっても読めるようにする */
  text-shadow: 0 1px 14px rgba(9, 18, 45, 0.42);
}

.fv__label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.fv__label-line {
  width: 46px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
}

.fv__catch {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 400;
}

.fv__catch-sm {
  font-size: clamp(16px, 2.4vw, 25px);
  font-weight: 400;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.92);
}

.fv__catch-lg {
  font-family: var(--ff-en);
  font-weight: 300;
  font-size: clamp(60px, 10.2vw, 138px);
  line-height: 1;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 10px 0 6px;
}

.fv__catch-lg em {
  font-style: normal;
  font-weight: 600;
  font-size: 1.14em;
  letter-spacing: -0.02em;
}

.fv__catch-lg i {
  font-family: var(--ff-jp);
  font-style: normal;
  font-weight: 300;
  font-size: 0.54em;
  letter-spacing: 0;
  margin-left: 7px;
}

.fv__catch-md {
  font-size: clamp(22px, 3.4vw, 40px);
  font-weight: 400;
  letter-spacing: 0.14em;
}

.fv__lead {
  margin-top: 32px;
  font-size: clamp(13px, 1.6vw, 16px);
  /* 明るい写真の上に細字を置くと読めないため 300→400（2026-08-26） */
  font-weight: 400;
  line-height: 2.15;
  color: rgba(255, 255, 255, 0.95);
}

/* 保守0円と差し替え無料を前に出すためのバッジ。
   オレンジは「CTA」と「保守費0円まわり」だけに使うルールの範囲内 */
.fv__points {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fv__points li {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding: 11px 18px;
  font-size: clamp(12.5px, 1.5vw, 14px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 2px;
  background: rgba(9, 18, 45, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.fv__points em {
  font-family: var(--ff-en);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(15px, 1.9vw, 18px);
  letter-spacing: 0.02em;
  color: var(--orange);
}

.fv__cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.fv__indicator {
  position: absolute;
  right: var(--gutter);
  bottom: 52px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fv__dot {
  width: 34px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.fv__dot i {
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  transition:
    width 0.4s ease,
    background-color 0.4s ease;
}

.fv__dot.is-active i {
  width: 34px;
  background: #fff;
}

.fv__scroll {
  position: absolute;
  /* gutter の内側に置くとCTAボタンと重なるので、さらに左の余白へ逃がす */
  left: clamp(10px, 1.6vw, 24px);
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.fv__scroll span {
  font-family: var(--ff-en);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  writing-mode: vertical-rl;
}

.fv__scroll i {
  display: block;
  width: 1px;
  height: 68px;
  background: rgba(255, 255, 255, 0.28);
  position: relative;
  overflow: hidden;
}

.fv__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(100%);
  }
}

/* 画面が低いとFVの中身とSCROLL表示がぶつかるので隠す */
@media (max-height: 760px) {
  .fv__scroll {
    display: none;
  }
}

/* =========================================================
   02 悩み
   ========================================================= */
.worry {
  padding: var(--sec-pad) 0;
  overflow: hidden;
  background: var(--bg);
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  padding: 6px 0;
}

.marquee__row {
  display: inline-flex;
  gap: 46px;
  padding-right: 46px;
  will-change: transform;
}

.marquee--left .marquee__row {
  animation: marqueeLeft 46s linear infinite;
}

.marquee--right .marquee__row {
  animation: marqueeRight 52s linear infinite;
}

.marquee__row span {
  font-size: clamp(38px, 6.6vw, 88px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
  /* 中空文字（-webkit-text-stroke）は日本語だと字形が崩れて見えるため、
     薄いベタ塗りに変更（2026-08-26 歌織さん指示） */
  color: rgba(38, 73, 157, 0.16);
}

@keyframes marqueeLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marqueeRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.worry__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(60px, 9vw, 108px) var(--gutter);
  text-align: center;
}

.worry__inner .sec-label {
  justify-content: center;
}

.worry__lead {
  margin-top: 34px;
  font-size: clamp(14px, 1.7vw, 16px);
  font-weight: 400;
  line-height: 2.3;
  color: var(--gray);
}

/* =========================================================
   03 3つの約束
   ========================================================= */
.promise {
  position: relative;
  padding: var(--sec-pad) 0;
  background:
    radial-gradient(
      120% 90% at 15% 0%,
      rgba(38, 73, 157, 0.55) 0%,
      rgba(15, 27, 61, 0) 62%
    ),
    var(--navy);
  color: #fff;
  overflow: hidden;
}

.promise__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.promise__head {
  margin-bottom: clamp(48px, 7vw, 84px);
}

.promise__list {
  display: flex;
  flex-direction: column;
}

.promise__item {
  display: grid;
  grid-template-columns: minmax(150px, 0.3fr) 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(38px, 5vw, 60px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.promise__item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.promise__item.is-in {
  opacity: 1;
  transform: none;
}

.promise__num {
  font-family: var(--ff-en);
  font-weight: 200;
  font-size: clamp(48px, 7.2vw, 92px);
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: -0.01em;
}

.promise__title {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin-bottom: 18px;
}

.promise__text {
  font-size: clamp(13.5px, 1.6vw, 15.5px);
  font-weight: 400;
  line-height: 2.15;
  color: rgba(255, 255, 255, 0.88);
}

.promise__note {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.62);
}

/* =========================================================
   04 ワンストップ
   ========================================================= */
.onestop {
  padding: var(--sec-pad) 0;
  background: var(--bg);
}

.onestop__head {
  max-width: 1120px;
  margin: 0 auto clamp(56px, 8vw, 96px);
  padding: 0 var(--gutter);
}

.onestop__lead {
  margin-top: 32px;
  font-size: clamp(13.5px, 1.6vw, 15.5px);
  font-weight: 400;
  line-height: 2.25;
  color: var(--gray);
}

.onestop__body {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  /* align-items は stretch のまま。
     ここを start にすると .onestop__visual が中身の高さで止まり、
     sticky がステップの途中で切れて画像が画面外に消える */
}

.onestop__visual-inner {
  position: sticky;
  top: 17vh;
  height: 66vh;
  min-height: 400px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-2);
}

/* 明るい写真に差し替えても左下のカウンターが読めるよう、下端に薄い影を敷く（2026-08-26） */
.onestop__visual-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(9, 18, 45, 0) 0%,
    rgba(9, 18, 45, 0.42) 100%
  );
}

.onestop__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 1s ease,
    transform 1.6s ease;
}

.onestop__img.is-active {
  opacity: 1;
  transform: scale(1);
}

.onestop__counter {
  position: absolute;
  left: 26px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--ff-en);
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.onestop__counter em {
  font-style: normal;
  font-weight: 500;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.onestop__counter i {
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.onestop__step {
  padding: clamp(34px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.32;
  transition: opacity 0.6s ease;
}

.onestop__step:first-child {
  padding-top: 0;
}

.onestop__step.is-current {
  opacity: 1;
}

.onestop__step-num {
  display: block;
  font-family: var(--ff-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--blue);
  margin-bottom: 14px;
}

.onestop__step-title {
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin-bottom: 16px;
}

.onestop__step-text {
  font-size: clamp(13.5px, 1.6vw, 15px);
  font-weight: 400;
  line-height: 2.2;
  color: var(--gray);
}

/* =========================================================
   スマホ追従CTA
   ========================================================= */
.spcta {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 90;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.07);
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.spcta.is-show {
  transform: none;
}

.spcta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 52px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.spcta__btn--main {
  flex: 1;
  background: var(--orange);
  color: #fff;
}

.spcta__btn--sub {
  width: 92px;
  border: 1px solid var(--blue);
  color: var(--blue);
}

/* =========================================================
   05 料金
   ========================================================= */
.price {
  padding: var(--sec-pad) 0;
  /* 背景写真（2026-08-27 歌織さん指示）。
     疑似要素に opacity をかける書き方はスクロール中の再合成が重く、
     このページの長さ（16000px超）だと一瞬固まる。promise / contact と同じく
     background を重ねる書き方にしてレイヤーを増やさない。
     白ベールの濃さ＝写真の見え方。薄くするなら 0.78 を上げる */
  background:
    linear-gradient(rgba(245, 246, 249, 0.78), rgba(245, 246, 249, 0.78)),
    url("../img/price_bg.jpg") center / cover no-repeat,
    var(--bg-2);
}

.price__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.price__head {
  margin-bottom: clamp(44px, 6vw, 72px);
}

.price__lead {
  margin-top: 30px;
  font-size: clamp(13.5px, 1.6vw, 15.5px);
  font-weight: 400;
  line-height: 2.25;
  color: var(--gray);
}

.price__main {
  padding: clamp(40px, 5.2vw, 70px) clamp(30px, 4.6vw, 58px);
  background: #fff;
  border-radius: 3px;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.price__main.is-in {
  opacity: 1;
  transform: none;
}

.price__card-label {
  font-size: clamp(13px, 1.5vw, 14.5px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.price__amount {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
  color: var(--ink);
}

.price__amount em {
  font-style: normal;
  font-weight: 600;
  font-size: clamp(46px, 8.4vw, 104px);
  letter-spacing: -0.02em;
}

.price__amount i {
  font-style: normal;
  font-weight: 400;
  font-size: clamp(18px, 2.4vw, 30px);
}

.price__card-note {
  margin-top: clamp(18px, 2.4vw, 26px);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--gray);
}

.price__sub {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3.4vw, 44px);
}

.price__sub-block {
  padding: clamp(26px, 3vw, 36px);
  background: #fff;
  border-radius: 3px;
}

.price__sub-title {
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.price__sub-text {
  font-size: clamp(14px, 1.5vw, 15.5px);
  font-weight: 400;
  line-height: 2.1;
  color: var(--gray);
}

.price__opt-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  font-size: clamp(14px, 1.5vw, 15.5px);
}

.price__opt-row dt {
  font-weight: 400;
  color: var(--gray);
}

.price__opt-row dd {
  font-family: var(--ff-en);
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- 06 見積もりの比べ方 ----------
   他社を名指ししない前提の見せ方。オレンジは「何度でも無料」の1点だけに使う。
   紺背景は promise(03) / contact(12) と同じ組み方に揃えてある */
.compare {
  padding: var(--sec-pad) 0;
  background:
    radial-gradient(
      115% 85% at 78% 0%,
      rgba(38, 73, 157, 0.5) 0%,
      rgba(15, 27, 61, 0) 60%
    ),
    var(--navy);
  color: #fff;
}

.compare__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.compare__head {
  margin-bottom: clamp(40px, 5.4vw, 66px);
}

.compare__lead {
  margin-top: clamp(20px, 2.6vw, 30px);
  max-width: 40em;
  font-size: 14px;
  font-weight: 400;
  line-height: 2.15;
  color: rgba(255, 255, 255, 0.8);
}

.compare__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(28px, 3.6vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 2.1vw, 24px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: clamp(14.5px, 1.6vw, 16.5px);
  line-height: 1.7;
}

.compare__list span {
  color: rgba(255, 255, 255, 0.94);
}

.compare__list em {
  flex-shrink: 0;
  font-style: normal;
  font-size: clamp(13px, 1.4vw, 14px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}

/* 「何度でも無料」だけオレンジ。保守費0円まわりに使う色の範囲内 */
.compare__list li:last-child em {
  color: var(--orange);
}

.compare__plus {
  margin-top: clamp(28px, 3.4vw, 40px);
  font-size: clamp(13.5px, 1.5vw, 15px);
  font-weight: 400;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.86);
}

.compare__plus strong {
  font-weight: 500;
  color: #fff;
}

.compare__note {
  margin-top: clamp(26px, 3vw, 36px);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 2;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- 1ヶ月かける理由（08の頭）---------- */
.flow__why {
  margin-top: clamp(26px, 3.4vw, 40px);
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3vw, 36px);
  background: var(--bg-2);
  border-radius: 3px;
  border-left: 2px solid var(--blue);
}

.flow__why-title {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.flow__why-text {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 2.15;
  color: var(--gray);
}

.flow__why-text strong {
  font-weight: 500;
  color: var(--ink);
}

/* =========================================================
   06 保守費の比較
   ========================================================= */
.cost {
  padding: var(--sec-pad) 0;
  background: var(--bg);
}

.cost__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.cost__head {
  margin-bottom: clamp(38px, 5vw, 58px);
}

.cost__lead {
  margin-top: 28px;
  font-size: clamp(13.5px, 1.6vw, 15.5px);
  font-weight: 400;
  line-height: 2.25;
  color: var(--gray);
}

.cost__lead strong {
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--blue);
  padding-bottom: 1px;
}

.cost__chart {
  padding: clamp(28px, 4vw, 52px);
  border-radius: 3px;
  color: #fff;
  background:
    radial-gradient(
      100% 80% at 90% 0%,
      rgba(38, 73, 157, 0.55) 0%,
      rgba(15, 27, 61, 0) 62%
    ),
    var(--navy);
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.cost__chart.is-in {
  opacity: 1;
  transform: none;
}

.cost__group + .cost__group {
  margin-top: clamp(28px, 3.6vw, 42px);
  padding-top: clamp(28px, 3.6vw, 42px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.cost__group-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 22px;
}

.cost__group-title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.cost__group-price {
  font-family: var(--ff-en);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
}

.cost__group-price--zero {
  font-size: 15px;
  font-weight: 500;
  color: var(--orange);
}

.cost__bar {
  display: grid;
  grid-template-columns: 58px 1fr 118px;
  align-items: center;
  gap: 16px;
  padding: 7px 0;
}

.cost__bar-year {
  font-family: var(--ff-en);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.cost__bar-track {
  position: relative;
  height: 12px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.cost__bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 2px;
  /* 開始色を暗くすると1年後の短い棒が背景に沈むため、明度を上げてある */
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 255, 255, 0.94) 100%
  );
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cost__chart.is-in .cost__bar-fill {
  width: var(--w);
}

.cost__bars li:nth-child(2) .cost__bar-fill {
  transition-delay: 0.18s;
}

.cost__bars li:nth-child(3) .cost__bar-fill {
  transition-delay: 0.36s;
}

.cost__bar-value {
  text-align: right;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.cost__bar-value i {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 400;
  margin-left: 2px;
}

.cost__bar--zero .cost__bar-track {
  background: transparent;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
  height: 1px;
}

.cost__bar-dot {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.cost__bar--zero .cost__bar-value {
  color: var(--orange);
}

.cost__calc {
  font-family: var(--ff-en);
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.62);
}

.cost__result {
  margin-top: clamp(26px, 3.4vw, 40px);
  padding: clamp(30px, 4vw, 46px);
  background: var(--bg-2);
  border-radius: 3px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.cost__result.is-in {
  opacity: 1;
  transform: none;
}

.cost__result-arrow {
  width: 24px;
  height: 38px;
  color: var(--orange);
  opacity: 0.45;
  margin-bottom: 12px;
}

.cost__result-label {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--gray);
}

.cost__result-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin: 12px 0 18px;
  color: var(--orange);
  line-height: 1;
}

.cost__result-amount em {
  font-style: normal;
  font-weight: 600;
  font-size: clamp(40px, 6.2vw, 74px);
  letter-spacing: -0.02em;
}

.cost__result-amount i {
  font-style: normal;
  font-weight: 400;
  font-size: clamp(17px, 2.2vw, 24px);
}

.cost__result-amount span {
  margin-left: 8px;
  font-size: clamp(14px, 1.7vw, 16px);
  font-weight: 400;
  color: var(--ink);
}

.cost__result-text {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 2.1;
  color: var(--gray);
}

.cost__note {
  margin-top: 26px;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 2.05;
  color: var(--gray);
}

/* =========================================================
   07 制作サンプル
   ========================================================= */
.works {
  padding: var(--sec-pad) 0;
  background: var(--bg);
}

.works__head {
  max-width: 1120px;
  margin: 0 auto clamp(46px, 6vw, 76px);
  padding: 0 var(--gutter);
}

.works__lead {
  margin-top: 28px;
  font-size: clamp(13.5px, 1.6vw, 15.5px);
  font-weight: 400;
  line-height: 2.2;
  color: var(--gray);
}

.works__list {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 52px);
}

.works__item {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.works__item.is-in {
  opacity: 1;
  transform: none;
}

.works__link {
  display: block;
}

.works__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* パララックスで中の画像だけ動かすため、上下を14%はみ出させてある。
   JS（data-parallax）に14を超える値を入れると端が切れる */
.works__thumb-img {
  position: absolute;
  left: 0;
  right: 0;
  top: -14%;
  bottom: -14%;
  display: block;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.works__link:hover .works__thumb {
  transform: scale(1.02);
}

.works__meta {
  display: block;
  padding-top: 22px;
}

.works__cat {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 10px;
}

.works__title {
  display: block;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.works__text {
  display: block;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 2.05;
  color: var(--gray);
}

.works__note {
  max-width: 1120px;
  margin: clamp(40px, 5vw, 60px) auto 0;
  padding: 22px var(--gutter) 0;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 2;
  color: var(--gray);
  border-top: 1px solid var(--line);
}

/* =========================================================
   08 制作の流れ
   ========================================================= */
.flow {
  /* 上の padding が 0 なのは works と地続きに見せるため。
     背景写真を入れたので見出しが上端に貼り付かないよう少しだけ空ける */
  padding: clamp(48px, 6vw, 84px) 0 var(--sec-pad);
  /* 背景写真（2026-08-27 歌織さん指示）。書き方は 05 と同じ。
     疑似要素＋opacity にしないこと（スクロールが重くなる）。
     この写真は 05 より暗いのでベールは濃いめ */
  background:
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
    url("../img/flow_bg.jpg") center / cover no-repeat,
    var(--bg);
}

.flow__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.flow__head {
  margin-bottom: clamp(42px, 5.4vw, 66px);
}

.flow__lead {
  margin-top: 26px;
  font-size: clamp(13.5px, 1.6vw, 15.5px);
  font-weight: 400;
  line-height: 2.2;
  color: var(--gray);
}

.flow__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.flow__item {
  padding-top: 26px;
  border-top: 2px solid var(--blue);
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.flow__item.is-in {
  opacity: 1;
  transform: none;
}

.flow__week {
  font-family: var(--ff-en);
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--blue);
  margin-bottom: 14px;
}

.flow__title {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.flow__text {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 2.1;
  color: var(--gray);
}

/* =========================================================
   09 FAQ
   ========================================================= */
.faq {
  padding: var(--sec-pad) 0;
  background: var(--bg-2);
}

.faq__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.faq__head {
  margin-bottom: clamp(36px, 4.6vw, 56px);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item:first-child {
  border-top: 1px solid var(--line);
}

.faq__q {
  position: relative;
  display: block;
  padding: 26px 52px 26px 0;
  font-size: clamp(14.5px, 1.7vw, 16px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.8;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s ease;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  color: var(--blue);
}

.faq__q::before,
.faq__q::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 15px;
  height: 1.5px;
  background: var(--blue);
  transition: transform 0.35s ease;
}

.faq__q::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__q::after {
  transform: rotate(0deg);
}

.faq__a {
  padding: 0 40px 28px 0;
}

.faq__a p {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 2.15;
  color: var(--gray);
}

.faq__a p + p {
  margin-top: 14px;
}

/* =========================================================
   10 会社概要
   ========================================================= */
.company {
  padding: var(--sec-pad) 0;
  background: var(--bg);
}

.company__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.company__head {
  margin-bottom: clamp(40px, 5vw, 62px);
}

.company__lead {
  margin-top: 28px;
  font-size: clamp(13.5px, 1.6vw, 15.5px);
  font-weight: 400;
  line-height: 2.2;
  color: var(--gray);
}

.company__row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.company__row:first-child {
  border-top: 1px solid var(--line);
}

.company__row dt {
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.company__row dd {
  margin: 0;
  font-weight: 400;
  line-height: 2;
}

.company__row dd a {
  border-bottom: 1px solid currentColor;
}

/* =========================================================
   マーキー再登場（02の悩みに対する答え）
   02と同じ中空文字。CTA直前に置いて、答え側の言葉でもう一度流す
   ========================================================= */
.marquee-band {
  padding: clamp(52px, 7.5vw, 92px) 0;
  background: var(--bg);
  overflow: hidden;
}

.marquee-band .marquee {
  padding: 7px 0;
}

/* 02より一段小さく、色は少し濃く。同じものの使い回しに見せない */
.marquee-band .marquee__row span {
  font-size: clamp(30px, 5.2vw, 66px);
  color: rgba(38, 73, 157, 0.21);
}

.marquee-band .marquee--left .marquee__row {
  animation-duration: 38s;
}

.marquee-band .marquee--right .marquee__row {
  animation-duration: 44s;
}

/* =========================================================
   11 CTA
   ========================================================= */
.contact {
  padding: var(--sec-pad) 0;
  background:
    radial-gradient(
      110% 80% at 85% 10%,
      rgba(38, 73, 157, 0.5) 0%,
      rgba(15, 27, 61, 0) 60%
    ),
    var(--navy);
  color: #fff;
}

.contact__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.contact__lead {
  margin-top: 28px;
  font-size: clamp(13.5px, 1.6vw, 15px);
  font-weight: 400;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.88);
}

.contact__direct {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__direct-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 3px;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.contact__direct-link:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.5);
}

/* LINEアイコンは画像自体が角丸の四角。border-radius を画像の角丸に合わせ、
   隣の電話アイコンも同じ形に揃える（2026-08-26） */
.contact__direct-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: contain;
}

.contact__direct-icon--tel {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact__direct-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact__direct-label {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.contact__direct-sub {
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
}

/* ---- フォーム ---- */
.contact__form-wrap {
  background: #fff;
  border-radius: 3px;
  padding: clamp(28px, 3.6vw, 44px);
  color: var(--ink);
}

.cform__item {
  margin-bottom: 20px;
}

.cform__item label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 9px;
}

.cform__req {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--blue);
  padding: 3px 7px;
  border-radius: 2px;
}

.cform__item input,
.cform__item textarea,
.cform__item select {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.cform__item textarea {
  resize: vertical;
  line-height: 1.9;
}

.cform__item input:focus,
.cform__item textarea:focus,
.cform__item select:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
}

/* 端末標準の見た目だと入力欄と高さ・角丸が揃わないので、矢印だけ自前で描く */
.cform__item select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--gray) 50%),
    linear-gradient(135deg, var(--gray) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% + 1px),
    calc(100% - 15px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.cform__submit {
  width: 100%;
  padding: 19px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--orange);
  border-radius: 2px;
  transition:
    background-color 0.35s ease,
    transform 0.35s ease;
}

.cform__submit:hover {
  background: var(--orange-d);
  transform: translateY(-2px);
}

.cform__note {
  margin-top: 16px;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--gray);
  text-align: center;
}

.cform__thanks {
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  text-align: center;
  padding: 30px 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--navy-d);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(48px, 6vw, 72px) 0 clamp(40px, 5vw, 56px);
}

.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 22px;
}

.footer__logo-mark {
  width: 28px;
}

/* ヘッダーと同じ組み方。「株式会社」は huit の高さの中央 */
.footer__logo-text {
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.16em;
  color: #fff;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.footer__logo-text--sm {
  font-size: 11px;
  letter-spacing: -0.02em;
}

.footer__address {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 2.1;
}

.footer__copy {
  margin-top: 26px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   スクロール演出
   JSが body に .js-anim を付けたときだけ効く。
   JSが動かない環境では初期状態のまま普通に見える
   ========================================================= */
.js-anim .sec-label,
.js-anim .sec-title {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-anim .sec-title {
  transition-delay: 0.1s;
}

.js-anim .sec-label.is-in,
.js-anim .sec-title.is-in {
  opacity: 1;
  transform: none;
}

/* 見出し下のリード文も少し遅れて続かせる */
.js-anim .worry__lead,
.js-anim .onestop__lead,
.js-anim .price__lead,
.js-anim .compare__lead,
.js-anim .cost__lead,
.js-anim .works__lead,
.js-anim .flow__lead,
.js-anim .company__lead,
.js-anim .contact__lead {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.9s ease 0.22s,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.22s;
}

.js-anim .worry__lead.is-in,
.js-anim .onestop__lead.is-in,
.js-anim .price__lead.is-in,
.js-anim .compare__lead.is-in,
.js-anim .cost__lead.is-in,
.js-anim .works__lead.is-in,
.js-anim .flow__lead.is-in,
.js-anim .company__lead.is-in,
.js-anim .contact__lead.is-in {
  opacity: 1;
  transform: none;
}

/* 見積もりの比べ方：項目が左上から順に出る。
   2列なので nth-child の順番がそのまま視線の動きになる */
.js-anim .compare__list li,
.js-anim .compare__plus,
.js-anim .compare__note {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-anim .compare__list.is-in li,
.js-anim .compare__plus.is-in,
.js-anim .compare__note.is-in {
  opacity: 1;
  transform: none;
}

.js-anim .compare__list.is-in li:nth-child(1) {
  transition-delay: 0s;
}

.js-anim .compare__list.is-in li:nth-child(2) {
  transition-delay: 0.06s;
}

.js-anim .compare__list.is-in li:nth-child(3) {
  transition-delay: 0.12s;
}

.js-anim .compare__list.is-in li:nth-child(4) {
  transition-delay: 0.18s;
}

.js-anim .compare__list.is-in li:nth-child(5) {
  transition-delay: 0.24s;
}

.js-anim .compare__list.is-in li:nth-child(6) {
  transition-delay: 0.3s;
}

.js-anim .compare__list.is-in li:nth-child(7) {
  transition-delay: 0.36s;
}

.js-anim .compare__list.is-in li:nth-child(8) {
  transition-delay: 0.42s;
}

/* 制作サンプル：画面に入るとサムネがゆっくり寄る */
.js-anim .works__thumb {
  transform: scale(1.07);
}

.js-anim .works__item.is-in .works__thumb {
  transform: scale(1);
  transition: transform 1.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-anim .works__link:hover .works__thumb {
  transform: scale(1.03);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 制作の流れ：上の罫線が左から伸びる */
.flow__item {
  border-top: none;
  position: relative;
}

.flow__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 0;
  background: var(--blue);
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.flow__item.is-in::before {
  width: 100%;
}

.flow__list li:nth-child(2)::before {
  transition-delay: 0.14s;
}

.flow__list li:nth-child(3)::before {
  transition-delay: 0.28s;
}

/* 会社概要：行が順に出る */
.js-anim .company__row {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-anim .company__row.is-in {
  opacity: 1;
  transform: none;
}

/* FAQ：開いたとき中身がふわっと出る */
.faq__item[open] .faq__a {
  animation: faqOpen 0.45s ease both;
}

@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* カウントアップ中に桁数が変わっても幅が動かないよう min-width で固定する。
   書体はFVの18に揃える（2026-08-26）。
   font-variant-numeric: tabular-nums は使わないこと。
   Figtreeは等幅数字にすると「1」の足に横棒が入る別デザインに切り替わり、
   FVの18や01〜05の「1」と形が食い違う（2026-08-26 歌織さん指摘） */
.cost__bar-value em,
.price__amount em,
.cost__result-amount em {
  font-family: var(--ff-en);
  font-style: normal;
  display: inline-block;
  text-align: right;
  min-width: 4.05em;
}

/* 料金はカウントアップをやめたので（2026-08-27 歌織さん指示）、
   桁の増減に備えた min-width は不要。共通ルールの 4.05em を打ち消して中央に置く */
.price__amount em {
  min-width: 0;
  text-align: center;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .onestop__body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .onestop__visual-inner {
    position: relative;
    top: auto;
    height: 46vh;
    min-height: 280px;
  }

  .onestop__step {
    opacity: 1;
  }

  .price__main {
    grid-template-columns: 1fr;
  }

  .price__card {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 26px;
  }

  .price__sub {
    grid-template-columns: 1fr;
  }

  .compare__list {
    grid-template-columns: 1fr;
  }

  .contact__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body {
    line-height: 1.85;
  }

  .header__inner {
    height: 66px;
  }

  .header__cta {
    display: none;
  }

  .fv {
    min-height: 560px;
  }

  /* 横グラデだと縦長画面で文字に背景がかぶる。上下方向で均等に落とす
     色はPCと同じ紺（23,39,92）。2026-08-26 にPCだけ黒→紺に変えていて、
     スマホは黒に近い色（6,12,28）のまま青みがなかった（2026-09-17 歌織さん指摘で修正）。
     紺は黒より明るいので、同じ濃さだと文字が沈む。濃さを .58/.42/.66 → .70/.56/.78 に上げた */
  .fv__veil {
    background: linear-gradient(
      180deg,
      rgba(23, 39, 92, 0.7) 0%,
      rgba(23, 39, 92, 0.56) 46%,
      rgba(23, 39, 92, 0.78) 100%
    );
  }

  /* ラベルが長くなったので、スマホでは2行に折り返させる（2026-08-26） */
  .fv__label {
    font-size: 12px;
    letter-spacing: 0.1em;
    gap: 10px;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .fv__label-line {
    width: 28px;
    flex-shrink: 0;
  }

  .fv__catch-lg {
    margin: 10px 0 6px;
  }

  .fv__lead {
    margin-top: 24px;
  }

  .fv__points {
    margin-top: 20px;
    gap: 8px;
  }

  .fv__points li {
    padding: 10px 14px;
    gap: 7px;
  }

  .fv__cta {
    margin-top: 26px;
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    min-width: 0;
    width: 100%;
    max-width: 320px;
    padding: 17px 24px;
  }

  .fv__indicator {
    bottom: 108px;
  }

  .fv__scroll {
    display: none;
  }

  .promise__item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .promise__num {
    font-size: 44px;
  }

  .spcta {
    display: flex;
  }

  .marquee__row {
    gap: 30px;
    padding-right: 30px;
  }

  .works__list,
  .flow__list {
    grid-template-columns: 1fr;
  }

  .company__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  .faq__q {
    padding: 22px 44px 22px 0;
  }

  .faq__a {
    padding: 0 20px 24px 0;
  }

  .cost__bar {
    grid-template-columns: 44px 1fr 90px;
    gap: 10px;
  }

  .cost__bar-value {
    font-size: 14px;
  }

  .cost__bar-year {
    font-size: 11px;
  }

  /* 追従CTAに隠れないよう、最後のセクションに下余白 */
  .footer {
    padding-bottom: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee--left .marquee__row,
  .marquee--right .marquee__row,
  .fv__scroll i::after {
    animation: none;
  }

  /* FVのズームは animation ではなく transition になったので（2026-08-27）、
     animation: none では止まらない。transform を切って最終状態のまま出す */
  .fv__slide,
  .fv__slide.is-active {
    transform: none;
    transition: opacity 0.4s linear;
  }

  html {
    scroll-behavior: auto;
  }
}

/* =========================================================
   プライバシーポリシー（同ページ内モーダル）
   別ページを作らないのは、広告で呼んだ人をLPの外へ出さないため。
   <dialog> を使っているので ESC・フォーカスの閉じ込め・背景の暗転は
   ブラウザ側が面倒を見てくれる。JSは開閉と本文スクロール止めだけ
   ========================================================= */

.footer__links {
  margin-top: 20px;
}

.footer__privacy {
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  background: none;
  border: 0;
  padding: 4px 2px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s ease;
}

.footer__privacy:hover {
  color: #fff;
}

.cform__privacy-link {
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  color: var(--blue);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pp {
  width: min(760px, calc(100% - 32px));
  max-height: min(84vh, 900px);
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
}

.pp::backdrop {
  background: rgba(13, 24, 56, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.pp__inner {
  display: flex;
  flex-direction: column;
  max-height: inherit;
}

.pp__head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(22px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.pp__title {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.pp__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--gray);
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.pp__close:hover {
  color: var(--ink);
  border-color: var(--gray);
}

.pp__body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(24px, 3.4vw, 34px) clamp(22px, 4vw, 40px) clamp(32px, 4vw, 44px);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 2.05;
  color: var(--gray);
}

.pp__intro {
  padding-bottom: 6px;
}

.pp__body h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.pp__body p + p {
  margin-top: 12px;
}

.pp__body ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
  list-style: none;
}

.pp__body ul li {
  position: relative;
  padding-left: 2px;
}

.pp__body ul li::before {
  content: "";
  position: absolute;
  left: -1em;
  top: 0.92em;
  width: 5px;
  height: 1px;
  background: var(--blue);
}

.pp__body ul + p {
  margin-top: 12px;
}

.pp__dl {
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.pp__dl > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
}

.pp__dl dt {
  flex: 0 0 96px;
  font-weight: 500;
  color: var(--ink);
}

.pp__dl dd {
  flex: 1 1 240px;
}

.pp__dl a,
.pp__jump {
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  color: var(--blue);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pp__date {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .pp {
    width: calc(100% - 20px);
    max-height: 88vh;
  }

  .pp__dl dt {
    flex: 0 0 100%;
    margin-bottom: 2px;
  }
}
